Valhalla Legends Archive

Programming => Battle.net Bot Development => Topic started by: ChR0NiC on August 21, 2004, 10:29 PM

Title: Trying to join a broken packet
Post by: ChR0NiC on August 21, 2004, 10:29 PM
Well, as some of you may know, I have been trying to do add Bot Net support lately, and when I receive the userlist when I first logon, it's pretty big so it breaks off the packets and continues them, so I am trying to join them.
Title: Re:Trying to join a broken packet
Post by: UserLoser. on August 21, 2004, 10:38 PM

strBuffer = strBuffer & strTemp

Makes no sense.  strBuffer doesn't occupy anything at start of function, it would it if was static.
Title: Re:Trying to join a broken packet
Post by: ChR0NiC on August 21, 2004, 10:49 PM
Quote from: UserLoser. on August 21, 2004, 10:38 PM

strBuffer = strBuffer & strTemp

Makes no sense.  strBuffer doesn't occupy anything at start of function, it would it if was static.

Any other problems ??

Even some pseudo code would do me well, this thing is driving me nuts >:(
Title: Re:Trying to join a broken packet
Post by: Kp on August 21, 2004, 11:24 PM
Quote from: ChR0NiC on August 21, 2004, 10:49 PM
Quote from: UserLoser. on August 21, 2004, 10:38 PMstrBuffer = strBuffer & strTemp
Makes no sense.  strBuffer doesn't occupy anything at start of function, it would it if was static.
Any other problems ??
Even some pseudo code would do me well, this thing is driving me nuts >:(

Why not just use the same procedure you use to reassemble incoming battle.net messages?  I assume you have that working or you wouldn't be pushing your OCX so heavily.
Title: Re:Trying to join a broken packet
Post by: ChR0NiC on August 22, 2004, 12:08 AM
Quote from: Kp on August 21, 2004, 11:24 PM
Why not just use the same procedure you use to reassemble incoming battle.net messages?  I assume you have that working or you wouldn't be pushing your OCX so heavily.

I'll get right on it Kp
PS: Stop banning me from Op [vL], KP :'(

Edit:
Right, download my OCX people, here (http://turbonet.feeblegaming.org/blc/) :P

Edit:
Got it working, thanks Userloser and KP

Edit:
Maybe I'll add BotNet support to the OCX :), maybe in the future though.
Title: Re:Trying to join a broken packet
Post by: MyndFyre on August 22, 2004, 01:50 PM
Quote from: ChR0NiC on August 22, 2004, 12:08 AM
Edit:
Right, download my OCX people, here (http://turbonet.feeblegaming.org/blc/) :P

Make a file called "OCX_me_too!.txt".
Title: Re:Trying to join a broken packet
Post by: ChR0NiC on August 22, 2004, 01:51 PM
Quote from: MyndFyre on August 22, 2004, 01:50 PM
Quote from: ChR0NiC on August 22, 2004, 12:08 AM
Edit:
Right, download my OCX people, here (http://turbonet.feeblegaming.org/blc/) :P

Make a file called "OCX_me_too!.txt".

I don't get it, is that supposed to be a diss of some sort? If yes, please be more clear in the future.
Title: Re:Trying to join a broken packet
Post by: shadypalm88 on August 22, 2004, 05:00 PM
Quote from: ChR0NiC on August 22, 2004, 01:51 PM
Quote from: MyndFyre on August 22, 2004, 01:50 PM
Quote from: ChR0NiC on August 22, 2004, 12:08 AM
Edit:
Right, download my OCX people, here (http://turbonet.feeblegaming.org/blc/) :P

Make a file called "OCX_me_too!.txt".

I don't get it, is that supposed to be a diss of some sort? If yes, please be more clear in the future.
Well in case you care, the readme file for CleanSlateBot was called OCX_me.txt (http://cuphead.valhallalegends.com/ocx_me.txt) (Google cache of CupHead's page (http://64.233.167.104/search?q=cache:fuW9NTO0sewJ:cuphead.valhallalegends.com/+CleanSlatebot&hl=en))

Amazing what little tidbits of crap you remember.
Title: Re:Trying to join a broken packet
Post by: Stealth on August 22, 2004, 06:53 PM
He also had "ocx.htm" which went into much more detail. I never saw it linked anywhere, though.