HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

some questions about wc net protocol

04-06-2008, 08:49 PM#1
trialuser
Hello! I am here beginner.
I want to ask about the encryption algorithm for map name. f.e.: packets with header 0xf7 0x30:
Code:
M.aqs]Eow.omoae]Q.uege_Wa.ss_Aewa.ocee_w1./19e/w3.y.
M.aqs]Gam.e-Y])5)]Uwisuee.Meaeows./w3y.
M.aqs]Eow.omoae]E;ouA_Ammksuass_w.7/51/w3ay.
M.aqs]Sce5oasio]).1)UieEe.auiSiee.q/w3m.
M.aqs]Eow.omoae]S.aiou_Su.ios_UE_i1/7/w3y.
M.aqs]Eow.omoae]E.memeou!.UE!3/7!.Suswiwo.s/w3y.
This little discussed here: http://www.wc3campaigns.net/showthread.php?t=98020
thx
04-06-2008, 09:46 PM#2
Vexorian
What's the question?
04-06-2008, 10:10 PM#3
trialuser
what algorithm for encode the map name :)
I need this for the irc-bot, which will show games in local net :)
(sorry for my language)
04-07-2008, 08:56 PM#4
1337D00D
It's explained briefly here

Code:
|Coded Data ends on 0x000101 over here -------------------------------------------------------->
     |last Zero is not Coded - it used only for detect end of Coded data
     |Decode is simple: all Coded data splited by 8 bytes blocks
     |First byte of each block is first bits of 7 bytes data bit0 always 1
     |Bit1 represents bit0 of byte1, bit2 represents bit0 of byte2 ...
     |Left 7 bytes bit0 set to 1 for coded data
     |Decoded result of our example will be:
     |               M a p s \ ( 5 ) L o s t T e m p l e . w 3 m   F o r . R e s t

I'm sort of stumped on how to go about doing this as well.
04-07-2008, 10:39 PM#5
trialuser
thx!
topic closed
04-07-2008, 11:49 PM#6
1337D00D
No its not...