• Welcome to Valhalla Legends Archive.
 

opening port to receive/send packets

Started by Laff, September 17, 2004, 05:17 PM

Previous topic - Next topic

Skywing

#15
Quote from: UserLoser. on September 20, 2004, 01:42 PM
Quote from: tA-Kane on September 19, 2004, 09:16 PM
APPLICABLE advice: Unless you have knowledge with disassembling programs (if you did, though, then would you be here asking these questions or rather disassembling one of Blizzards games, or even another bot, to answer the questions yourself?), look for CheckRevision on The Disclaimer (Battle.net Bot Development website): http://botdev.valhallalegends.com.

I think somewhere on there might also be CDKeyDecode(). You will be looking for that, too.

Edit: However, now that I think about it, the CDKeyDecode() that would likely be available there would not include code to decode a WarCraft 3 CD key. So, do a search for SRP on these forums, it should have the necessary code you seek (except the checkrevision that is required for version checking, I beleive the one available on the Bot Dev site does work for WarCraft 3).

Since it seems he doesn't want to rely on others, perhaps he should disassemble battle.snp and see how it calls CheckRevision :)

Also, yes, MBB, the CheckRevision function by Yobguls does work for Warcraft III, there are no differences since all products use the same versioning dlls.
Unless you have a fast computer you can expect to take it up to 1 second of full cpu usage to run on war3's datafiles.

tA-Kane

Quote from: Laff on September 19, 2004, 11:54 PMwhere did i mention checkrevision (this is where applicable advice comes in)?

i still fail to see what your post has to do with anything...
You did not mention CheckRevision, but I thought it would be good (read: applicable) to mention it because it is a necessary type of function to be able to get a WarCraft 3 account logged in. You cannot login with WarCraft 3 without passing a version check, and CheckRevision is crucial for that.

If you fail to see what my post has to do with anything, then perhaps either you should look closer or I should stop giving you good ("applicable") advice.

I would like to say more, but I have to leave for work now, so I'll have to wait until I get back... if I even remember what I was going to say.
Macintosh programmer and enthusiast.
Battle.net Bot Programming: http://www.bash.org/?240059
I can write programs. Can you right them?

http://www.clan-mac.com
http://www.eve-online.com