Valhalla Legends Forums Archive | Battle.net Bot Development | Patching Help

AuthorMessageTime
KoRe
Hey I need to Patch / Hex out the old Verbyte of a program to the new verbyte, so i want to change the current verbyte from 201 aka 0xC9 to 203 aka 0xCB. Now im in hex editor, serched 16 unsigned byte and found one but that once changed to 203 doesnt work. i then found 241. 0xC9 -  201's under the unsigned 8 byte i beelive it was is there anyway to " cancle out  some possibilitys to make it ezer to find which one is the main verbyte? " thanks.
February 17, 2005, 4:04 AM
Spht
nerf rogues.
February 17, 2005, 4:18 AM
Kp
Why not just recompile with the new value?  It's generally unwise to go trying binary patches against old versions if you don't know what you're doing.
February 17, 2005, 4:24 AM
KoRe
im patching a program that isnt mine to make it work so iw ont beable to "complie again"
February 17, 2005, 4:26 AM
Spht
Trial and error is probably the best way to do that, without disassembling.  Note version code is typically stored in DWORD -- so searching as that, instead of a single byte would probably be faster and return less redundant results.

Enjoy.
February 17, 2005, 4:28 AM
Myndfyr
[quote author=Spht link=topic=10595.msg100137#msg100137 date=1108613926]
nerf rogues.
[/quote]

rofl I love the random reference to WoW.  It really has eaten vL.  :P
February 17, 2005, 4:40 AM
Kp
[quote author=KoRe link=topic=10595.msg100144#msg100144 date=1108614387]im patching a program that isnt mine to make it work so iw ont beable to "complie again"[/quote]

I expected that, but was giving you the benefit of the doubt.  As I said originally, you're much better off waiting for it to be fixed if you don't know what you're doing.  That you asked here implies you don't know what you're doing.
February 17, 2005, 10:24 PM
CrAz3D
[quote author=Kp link=topic=10595.msg100246#msg100246 date=1108679040]
[quote author=KoRe link=topic=10595.msg100144#msg100144 date=1108614387]im patching a program that isnt mine to make it work so iw ont beable to "complie again"[/quote]

I expected that, but was giving you the benefit of the doubt.  As I said originally, you're much better off waiting for it to be fixed if you don't know what you're doing.  That you asked here implies you don't know what you're doing.
[/quote]There are some bot's that aren't supported any longer, what do you suggest to do about those?  I guess you COULD write some extensive program that intercepts data & then would send the correct verbyte instead of the old one.  Something along the lines of BGate or w/e?
February 17, 2005, 11:42 PM
LoRd
[quote author=CrAz3D link=topic=10595.msg100261#msg100261 date=1108683764]
[quote author=Kp link=topic=10595.msg100246#msg100246 date=1108679040]
[quote author=KoRe link=topic=10595.msg100144#msg100144 date=1108614387]im patching a program that isnt mine to make it work so iw ont beable to "complie again"[/quote]

I expected that, but was giving you the benefit of the doubt.  As I said originally, you're much better off waiting for it to be fixed if you don't know what you're doing.  That you asked here implies you don't know what you're doing.
[/quote]There are some bot's that aren't supported any longer, what do you suggest to do about those?  I guess you COULD write some extensive program that intercepts data & then would send the correct verbyte instead of the old one.  Something along the lines of BGate or w/e?
[/quote]

If it's only a version byte that needs to be updated, it could be modified realitively easily and it would get rid of the need for a client such as BGate.

Your best bet is to disassemble the program and find out the offset of the value you need to modify.  This saves you the trouble of, as Spht said, trial and error.

If you want, you could send me (RVictim87@gmail.com) the program and I could tell you what you need to modify.
February 17, 2005, 11:51 PM
Kp
[quote author=CrAz3D link=topic=10595.msg100261#msg100261 date=1108683764]There are some bot's that aren't supported any longer, what do you suggest to do about those?[/quote]

Delete them.  If they're unsupported, it's probably for good reason. :)
February 18, 2005, 7:20 AM
R.a.B.B.i.T
ChewBot isn't supported, but it's still a good bot :)
February 18, 2005, 4:21 PM
CrAz3D
[quote author=rabbit link=topic=10595.msg100379#msg100379 date=1108743709]
ChewBot isn't supported, but it's still a good bot :)
[/quote]That's pretty much what I was reffering to. 
February 18, 2005, 4:50 PM
R.a.B.B.i.T
I was pointing out a specific example to LoRd of a bot that isn't supported any longer not because of some "evildoing scheme" that'd been found out, but merely for time management issues.
February 19, 2005, 7:48 PM
LoRd
[quote author=rabbit link=topic=10595.msg100548#msg100548 date=1108842496]
I was pointing out a specific example to LoRd of a bot that isn't supported any longer not because of some "evildoing scheme" that'd been found out, but merely for time management issues.
[/quote]

Kp*
February 19, 2005, 7:53 PM
shadypalm88
See if this bot has already been "hexed" by someone else to change the version byte.  If it has, compare the previously-hexed version to the original (or an older hexed version) to see what was changed.  The point(s) where the files differ should be where the version byte is stored.
February 20, 2005, 4:48 PM
R.a.B.B.i.T
[quote author=LoRd[nK] link=topic=10595.msg100550#msg100550 date=1108842792]
[quote author=rabbit link=topic=10595.msg100548#msg100548 date=1108842496]
I was pointing out a specific example to LoRd of a bot that isn't supported any longer not because of some "evildoing scheme" that'd been found out, but merely for time management issues.
[/quote]

Kp*
[/quote]LoRd, Kp, you're both over my head -.-
February 20, 2005, 6:09 PM
TaGBaN
Chewbot is great, and it is still fine. The creator may not update it, but hes got a hell of a fan base. Besides, it works with War2, who nees SC?
February 22, 2005, 12:09 PM
R.a.B.B.i.T
[quote author=TaGBaN link=topic=10595.msg101009#msg101009 date=1109074161]
Chewbot is great, and it is still fine. The creator may not update it, but hes got a hell of a fan base. Besides, it works with War2, who nees SC?
[/quote]People who don't have War2 keys.
February 23, 2005, 10:31 PM
TaGBaN
ChewBot has already been hexed before to work on SC 1.09. I'm sure someone might do it again?
February 25, 2005, 10:27 PM
Quarantine
No one is going to keep doing it.
February 25, 2005, 10:58 PM
LoRd
Why not just create a small utility that would allow a user to change it themselves, manually, or even better, use BNLS to obtain the new version byte and automatically patch it?

Edit:
IIRC, you don't need to modify Chewbacca Bot to update the version bytes.  You'd just need to modify the configuration file.
February 25, 2005, 11:11 PM
R.a.B.B.i.T
I tried that, doesn't work *at all*.
February 27, 2005, 3:23 AM

Search