Valhalla Legends Forums Archive | Battle.net Bot Development | HeXinG vertybyte

AuthorMessageTime
](iller
i have an really old bot which i want to use, and i am wondering how do i hex the vertybyte with the hex tools? thx...
July 3, 2005, 2:02 AM
Kp
It'd be faster if you'd just recompile it with the right version data.  You did keep a working build of the source tree around, right?
July 3, 2005, 2:32 AM
](iller
no all i have is the .exe ...
July 3, 2005, 2:34 AM
R.a.B.B.i.T
Figure out the version byte it uses, search for that in the binary, and then replace it with the current version byte.
July 3, 2005, 2:36 AM
Kp
[quote author=](iller link=topic=12053.msg118593#msg118593 date=1120358097]no all i have is the .exe ...[/quote]

Well, that was rather short-sighted of you.  You don't even have a copy of the source on a backup?
July 3, 2005, 3:14 AM
KkBlazekK
Why don't you just get the creator of the bot to release a new version?  The bot can't be all too good if you can't reset the version bytes..
July 3, 2005, 3:41 AM
Quarantine
Well since he posted in Bot DEVELOPMENT it's safe to assume he wrote the bot, no?
July 3, 2005, 5:09 AM
Kp
[quote author=Warrior link=topic=12053.msg118614#msg118614 date=1120367362]Well since he posted in Bot DEVELOPMENT it's safe to assume he wrote the bot, no?[/quote]

Or at least that he is now a developer of said bot. :)  Barring rare individuals who enjoy doing post-compilation binary patches, developers have the source to the projects on which they are working.
July 3, 2005, 5:43 AM
Archangel
Download a hex editor like Hex Workshop.

Now open the exe using the workshop.

Search for the old version byte that would be 0xCB you will need to find "CB".

Once you found the character verbyte change it for "CD".

File > Save.

The just update hashes and open up the exe and we are finish.
July 3, 2005, 2:36 PM
](iller
ok all i can find is this Packet0x50 when i look for 0x, cuz it didnt find cb
July 3, 2005, 6:40 PM
Explicit[nK]
[quote author=](iller link=topic=12053.msg118659#msg118659 date=1120416006]
ok all i can find is this Packet0x50 when i look for 0x, cuz it didnt find cb
[/quote]

Exactly what bot is it that you are trying to hex? Also, search for just CB, if that's the VerByte of the bot. The 0x** part is unnecessary.
July 3, 2005, 10:25 PM
](iller
fiction account maker
July 4, 2005, 12:55 AM
Networks
[quote author=](iller link=topic=12053.msg118708#msg118708 date=1120438555]
fiction account maker
[/quote]

....? That's even open source for god sake... www.zeroforce.net has the source, set the verbyte and compile, hell even code in a way to change it for future patches if you must.
July 4, 2005, 1:08 AM
Archangel
lol, doesn't it have an option to update version byte? lol
July 4, 2005, 2:02 AM
](iller
[quote author=Networks link=topic=12053.msg118709#msg118709 date=1120439329]
[quote author=](iller link=topic=12053.msg118708#msg118708 date=1120438555]
fiction account maker
[/quote]

....? That's even open source for god sake... www.zeroforce.net has the source, set the verbyte and compile, hell even code in a way to change it for future patches if you must.
[/quote]

whereis the the fiction maker sourcE?
July 4, 2005, 4:58 PM
KkBlazekK
http://www.zeroforce.net/pafiledb/pafiledb.php?action=file&id=98

Now go away.
July 4, 2005, 5:08 PM
Archangel
[quote author=](iller link=topic=12053.msg118833#msg118833 date=1120496298]
[quote author=Networks link=topic=12053.msg118709#msg118709 date=1120439329]
[quote author=](iller link=topic=12053.msg118708#msg118708 date=1120438555]
fiction account maker
[/quote]

....? That's even open source for god sake... www.zeroforce.net has the source, set the verbyte and compile, hell even code in a way to change it for future patches if you must.
[/quote]

whereis the the fiction maker sourcE?
[/quote]

omg Networks already gave you the link..
July 4, 2005, 5:40 PM
](iller
how do i compile ...... i got visual basic already
July 4, 2005, 10:11 PM
Kp
[quote author=](iller link=topic=12053.msg118884#msg118884 date=1120515104]how do i compile ...... i got visual basic already[/quote]

[pre]rm -rf Microsoft\ Visual\ Basic\ 6
rpm -i gcc-3.3.6.rpm
gcc program.c
./a.out &[/pre]
July 4, 2005, 11:24 PM
Networks
file -> compile?
July 4, 2005, 11:27 PM
](iller
[quote author=Kp link=topic=12053.msg118895#msg118895 date=1120519458]
[quote author=](iller link=topic=12053.msg118884#msg118884 date=1120515104]how do i compile ...... i got visual basic already[/quote]

[pre]rm -rf Microsoft\ Visual\ Basic\ 6
rpm -i gcc-3.3.6.rpm
gcc program.c
./a.out &[/pre]
[/quote]

uhhhh ok......?
July 4, 2005, 11:58 PM
](iller
what exactly do i do?? tell me in steps plz
July 5, 2005, 12:15 AM
Kp
[quote author=](iller link=topic=12053.msg118908#msg118908 date=1120522521]what exactly do i do?? tell me in steps plz[/quote]

I did!  I gave you four steps to execute at the shell prompt, and you couldn't even do that?!  Why should we continue to help you, if you won't help yourself?  God's not the only one who demands a little effort...
July 5, 2005, 12:22 AM
](iller
forget it , iM duNno anything about programing and shit and that look way confusing to me, and shell prompt? i dunno wth is that
July 5, 2005, 12:42 AM
R.a.B.B.i.T
shell is a command prompt.  If you really can't figure out how to compile, you should try...uhh...wait...what's that site called?  I forget because nobody ever uses it.................O YEAH!!! GOOGLE!!!
July 5, 2005, 1:03 AM
Kp
That construct known as "command prompt" is a pathetic excuse for a shell, worse even than traditional /bin/sh.  For a true shell, consider bash or tcsh.
July 5, 2005, 2:46 AM
Archangel
[code]duNno anything about programing[/code]

dude, you are posting in a Bot Development forum and you don't know anything about programming...
July 5, 2005, 3:33 AM
R.a.B.B.i.T
[quote author=Kp link=topic=12053.msg118923#msg118923 date=1120531570]
That construct known as "command prompt" is a pathetic excuse for a shell, worse even than traditional /bin/sh.  For a true shell, consider bash or tcsh.
[/quote]shells are prompts for commands, I did not mean the Windows command prompt, which is a hunk of shit :\
July 5, 2005, 4:23 AM
Quarantine
LOL Kp!

July 5, 2005, 4:26 AM
LoRd
You guys must be extremely lonely.
July 5, 2005, 2:25 PM
Myndfyr
omg you guys, I seiously can't see the bashing of the Windows shell.  You obviously just don't know how to use it to its fullest potential of you aren't getting what you want out of it.

The Windows command prompt is far superior to the old DOS command prompt, which was good then, too.  :)
July 5, 2005, 3:26 PM
Kp
[quote author=MyndFyre link=topic=12053.msg118978#msg118978 date=1120577201]
omg you guys, I seiously can't see the bashing of the Windows shell.  You obviously just don't know how to use it to its fullest potential of you aren't getting what you want out of it.

The Windows command prompt is far superior to the old DOS command prompt, which was good then, too.  :)
[/quote]

No question that Windows cmd.exe outperforms the old DOS shell, but I haven't managed to get cmd.exe to do quite a lot of things that are native in tcsh.  For instance:

[list][li]Fine-grained history substitution:[pre]> echo Foo
> ^Foo^real^
> strings -a `where !:0` | grep !:1[/pre] should produce:[pre]Foo
real
realloc[/pre]by way of echoing Foo, then performing an in-place substitute to re-execute the echo with "real" as an argument, and finally performing an invocation of strings against echo, wherever where happens to find it, and grepping the result for real (which finds realloc, since echo apparently imports that).  This example also demonstrates using the output of one command to supply arguments to another command.[/li]
[li]Job control.  How do I suspend a running console process, and resume it later?  In tcsh, it's as simple as hitting ^Z to send a SIGTSTP.[/li]
[li]Job chaining.  How to execute a sequence of commands, possibly conditional upon the success/failure of prior commands, even if some of the commands consume input?  Typing ahead won't work if the early commands consume text.  In tcsh, I'd just do:[pre]sleep 5; echo Foo; /bin/false || echo Bleh; /bin/true && echo Neat[/pre]which would sleep 5 seconds, then echo Foo, then echo Bleh, then echo Neat.  /bin/false always "fails", so the || causes the shell to run the second command.  /bin/true always "succeeds", so the shell proceeds onward.  If I'd written /bin/false && echo Secret, it wouldn't print anything since false failed, and thus the conditional was immediately false without evaluating the echo.[/li]
[li]Background execution.  I could do svn up >& update.log & to turn loose a Subversion update job in the background, saving all its output to a file, and leaving my command shell free for other commands.  Windows could support this via the DETACHED_PROCESS / CREATE_NO_WINDOW options to CreateProcess(), but I don't think cmd.exe provides any way to use those.[/li]
[li]History memory.  How to repeat a command I'd typed just before I logged out and rebooted?[/li]
[li]Automatic events.  How to cause the command window's title to automatically change as I move around directories?  tcsh can do this by embedding a control string in the $prompt variable[/li]
[li]Completion.  When I execute a completion operation in cmd.exe, it kills everything on the line to the right of my cursor.  tcsh doesn't damage any arguments which occur elsewhere on the line.[/li]
[li]Custom completions.  In tcsh, I can write a rule which directs the shell to offer me hostnames to ssh, instead of files, for which ssh would have no use.  A similar rule would apply to telnet if I actually used any unsecured servers.  Can cmd.exe take custom rules, or is it doomed only to offer filenames?[/li]
[li]Listing: seek user assistance.  tcsh can be set to prompt me for more input when I ask for a completion on an ambiguous substring (for instance, type b when both [u]blah[/u] and [u]bleh[/u] are in the directory: it'll fill in the l, then ask for guidance on which I want, including optionally printing the candidates that it wants me to choose from).[/li]
[li]Completion exclusions: define file extensions (or, via custom completions, much more elaborate rules) for which file patterns not to offer.  For instance, a rule that directs the shell not to offer .obj files when performing filename completions for starting a text editor.[/li]
[li]Spelling correction.  The shell can identify when I misspelled a command and prompt me to fix the name without needing to retype it (or re-execute it with history substitutions)[/li]
[li]Decent command line editing.  By binding a key to tcsh's backward-delete-word option, I can kill out one logical word without damaging the rest of the command line.  I've never seen cmd.exe do anything less than kill a full command line (which tcsh can also do via kill-line, of course).  I can also direct it to re-insert recently used text, such as the last word of the prior line or the most recent word of this line.[/li]
[li]Extensive globbing support: use [] to denote a set of alternatives, for instance deleting anything matching bl<vowel>h (not using [] notation here so forum doesn't act strangely).[/li]
[li]In-place early expansion.  I can request that the shell immediately evaluate and expand an environment variable or file glob, so that I can review its effect before executing the command (useful if you're about to turn loose something destructive and want to make absolutely certain you haven't named anything you want to save).[/li][li]Aliasing.  I can do alias foo 'bar -x \!*' to create a rule which runs bar with the -x option, and any arguments I supplied, when I type foo.  For instance: type [u]foo beh[/u], get [u]bar -x beh[/u].[/li][li]True scripting support, via constructs such as if/then, while, switch.  Emulating this in Windows batch jobs is a huge mess, when it can be done at all.[/li]
[li]Redirect stderr.[/li]
[li]Query and print the exit code of sub-processes.[/li]
[li]Per-user initialization via .files in each user's home directory.  These files allow users to customize their shell behavior using all of the abovementioned features.[/li][/list]

There are some other nice features, but this covers the highlights of which I make regular use. :)
July 6, 2005, 3:34 AM
Networks
[quote author=LoRd[nK] link=topic=12053.msg118969#msg118969 date=1120573519]
You guys must be extremely lonely.
[/quote]

Good god Kp, it's just a command prompt!
July 6, 2005, 5:03 PM
Kp
[quote author=Networks link=topic=12053.msg119265#msg119265 date=1120669384]Good god Kp, it's just a command prompt![/quote]

So?  Given a tcsh, I can manage content faster and more reliably than someone using Windows Explorer or similar clones.  Good tools make the difference between spending your time working and spending it fighting the system for compliance.
July 6, 2005, 11:29 PM
JoeTheOdd
This is classic. Oh, and Eric Evans, I'm loving BBBBv2.
July 7, 2005, 6:09 AM

Search