General checksum question

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Post Reply
mumbl
Newcomer
Posts: 5
Joined: January 2nd, 2012, 4:02 pm

General checksum question

Post by mumbl »

Hi Guys, I've been lurking from time to time but now Im ready for my first post :).

I heard that after 1.23 maps can not be corrupted. So my question is why is that? Is it related to the return bug or the way the checksum for the map is generated? If yes what did they change?
User avatar
KangTooJee
Old Wrinkly Member
Posts: 287
Joined: September 15th, 2010, 5:09 am
Title: Legenda

Re: General checksum question

Post by KangTooJee »

not too sure but maybe replaced gamecache with hashtable?
mumbl
Newcomer
Posts: 5
Joined: January 2nd, 2012, 4:02 pm

Re: General checksum question

Post by mumbl »

Hm I dont think so. I rather think its because of the checksum algorithm used or the hashed files changed but I'd like to know from someone whos sure.
User avatar
haxorico
Super Moderator
Posts: 3816
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND
Contact:

Re: General checksum question

Post by haxorico »

I think you are talking about colided maps as I never had trouble corrupting a map regarding any patch. I don't know how. Collision works exactly but it was fixed by blizzard.
Image
Spoiler:
(02:24:09)

Code: Select all

ChatBot: FatherSpace logs into the Chat.
(02:24:28) Lanaya: Gtfo ken.
(02:24:33) ChatBot: FatherSpace logs out of the Chat.
(02:24:40) Lanaya: Thought so. bitch.
(02:24:44) ChatBot: FatherSpace logs into the Chat.
(02:24:48) FatherSpace: Can I come back yet?
(02:24:51) Lanaya: What'd i say earlier.
(02:24:51) Lanaya: No.
(02:24:58) FatherSpace: Let's try this...
(02:25:01) ChatBot: Lanaya has been logged out (Kicked).

Code: Select all


(14:33:51) 2Pac: Do you know what'S so funny?
(14:34:01) Lanaya: No, please show me.
(14:34:07) 2Pac: This.
(14:34:09) ChatBot: Lanaya has been logged out (Kicked).
(14:34:10) 2Pac:


Code: Select all

(14:35:59) haxorico: No one will belive me if I say "I got this song from 2pac on MSN" lolz ^^
(14:36:02) Lanaya: lolz.
(14:36:16) 2Pac: I AIN'T DEAD FFS.
(14:36:26) 2Pac: I'm a living legend, y'now.
(14:37:17) haxorico: why is 2Pac a legend?
(14:37:28) Lanaya: He's the worse rapper evar.

Code: Select all

(15:42:51) Lanaya: can i suck , . . .

Code: Select all

(13:55:21) ChatBot: 2Pac rolls 1d100 and gets 1.
(13:55:21) ChatBot: haxorico rolls 1d2 and gets 2.
(13:55:27) haxorico: owned?

Code: Select all

GeorgeMots: xplain what happens in SP. Why cant you save?
dast.-:i need play with 2 players

Code: Select all

(21:53:08) (673237): plzplzplz, im sorry about before.
(21:53:26) FatherSpace: I'm sorry you were born.
(21:53:31) ChatBot: (673237) has been logged out (Kicked).


Code: Select all

(10:08:02) Bartimaeus: you do know run I youtube channel for my favorite music, right?
mumbl
Newcomer
Posts: 5
Joined: January 2nd, 2012, 4:02 pm

Re: General checksum question

Post by mumbl »

I think you are talking about colided maps as I never had trouble corrupting a map regarding any patch. I don't know how. Collision works exactly but it was fixed by blizzard.


Hm, if colliding means changing stuff without Warcraft noticing that the map changed then Im indeed talking about coliding^^.

Everyone just tells me its not possible anymore but nobody seems to know why actually..
owner123
Super Moderator
Posts: 2394
Joined: February 3rd, 2009, 11:28 pm

Re: General checksum question

Post by owner123 »

Warcraft III checked if you have the map already by comparing the map checksum to all of your maps checksums. If you don't know what a checksum is, read.

http://en.wikipedia.org/wiki/Checksum

Essentially, people were able to make the two checksums the same while making the 2 maps not the same by adding a lot of commented garbage in the war3map.j.

Blizzard patched this and I believe improved how they check the maps. It now does more than just check the checksum, and therefore makes colliding maps impossible.
mumbl
Newcomer
Posts: 5
Joined: January 2nd, 2012, 4:02 pm

Re: General checksum question

Post by mumbl »

Essentially, people were able to make the two checksums the same while making the 2 maps not the same by adding a lot of commented garbage in the war3map.j.

Blizzard patched this and I believe improved how they check the maps. It now does more than just check the checksum, and therefore makes colliding maps impossible.


Thank you, that is the right direction. Any in detail information about this is appreciated!
User avatar
Ken
Spice Pirate
Posts: 949
Joined: January 29th, 2009, 5:35 pm
Title: LHC
Location: Canada

Re: General checksum question

Post by Ken »

WC3 currently uses CRC32 and SHA1 at the same time, so I would imagine collisions are more or less impossible now.
Spoiler:
xkiska wrote:BARTIMEAUS is more understandable then u
Senethior459 wrote:Wow, Dream Theatre reminds me of Dragonforce, but with real skill.
Ozzapoo wrote:We laughed, we cried. Trashed.
FatherSpace: You don't find smart chicks hawt?
GeorgeMots: not anymore, im fed up with that kind of girls
FatherSpace: lol
FatherSpace: What happened?
GeorgeMots: most smart girls find out that i date/do/see other girls....
FatherSpace: ...
FatherSpace: So monogamy is your enemy?
Bartimaeus: Hmm, well, I hope my sister hasn't been kidnapped.
FatherSpace: What happened, Bart?
Bartimaeus: She walked out of the house saying that she was going over to some friends, and it's been like two hours, and my mom is trying to get a hold of her, which she's been unable to.
Bartimaeus: I can also hear three car alarms going off.
GeorgeMots: how old is she?
Bartimaeus: I haven't a clue. Probably 17.
UndeadxAssassin: wut
AbusivePie: You don't know how old your sister is?
Bartimaeus: Nope.
UndeadxAssassin: Epic fail
GeorgeMots: is she cute??
Bartimaeus: So, uh, how about you get into the Christmas spirit and put that avatar on before I do it myself and take away your bloody avatar-changin' rights?
UndeadxAssassin: If I thought of a random one...
UndeadxAssassin: Like....
UndeadxAssassin: I'll get back to you on that
mumbl
Newcomer
Posts: 5
Joined: January 2nd, 2012, 4:02 pm

Re: General checksum question

Post by mumbl »

WC3 currently uses CRC32 and SHA1 at the same time, so I would imagine collisions are more or less impossible now.


Hm interesting, do you know which map files are used for the checksums and whether the checksums are just appended at the end of the .w3x file?

From what owner123 said it is safe to say that the war3map.j file is included but there seem to be other files (like imported models) that either are not included at all or just with their names..

Did Warcraft pre 1.24 not use both algorithms?



Thanks for the answers so far :)
owner123
Super Moderator
Posts: 2394
Joined: February 3rd, 2009, 11:28 pm

Re: General checksum question

Post by owner123 »

Warcraft pre 1.24 I believe only used SHA1 algorithms, and it now uses two which is essentially not able to be collided.

I believe that it uses every file but the terrain file. I could be wrong though.
Post Reply