[Deprotection] I have stumbled upon a problem

General talk about editing, cheating, and deprotecting maps.

Moderator: Cheaters

Dissed
Junior Member
Posts: 44
Joined: August 13th, 2007, 8:52 am

[Deprotection] I have stumbled upon a problem

Post by Dissed »

Hello, definitely glad to see you guys still here. One of the best communities around.

Though I just can't seem to figure out what I am doing wrong, even followed steps from every tutorial I could find yet nothing seems to work. Could it be just that the map's .j is un-recoverable?
I recovered everything except the .w3i which is impossible unless the map didn't have a single line of jass in it. Would appreciate any help on this matter, thank you for taking the time to read.

Attached the map/file in question, I seem to be having issues with the $ trick.

Edit: Added the .j script since that's the only problem.

Edit2: Re-added map file
You do not have the required permissions to view the files attached to this post.
Last edited by Dissed on October 5th, 2015, 9:17 pm, edited 2 times in total.
User avatar
NumberXIII
Forum Spammer
Posts: 943
Joined: March 30th, 2013, 11:05 am
Title: Gamma Ray
Location: Earth

Re: [Deprotection] I have stumbled upon a problem

Post by NumberXIII »

what are you trying to do??
Dissed
Junior Member
Posts: 44
Joined: August 13th, 2007, 8:52 am

Re: [Deprotection] I have stumbled upon a problem

Post by Dissed »

Trying to fix the script and be able to save it, newgen or a custom terrain/data file is required to save it.
Dissed
Junior Member
Posts: 44
Joined: August 13th, 2007, 8:52 am

Re: [Deprotection] I have stumbled upon a problem

Post by Dissed »

Any luck anyone?
User avatar
haxorico
Super Moderator
Posts: 3190
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND

Re: [Deprotection] I have stumbled upon a problem

Post by haxorico »

interesting, this is something i haven't encountered before. But I bet it is just a sort of anti-cheats and SHOULD be ignored.

Anyway, the $ sign converts hex-decimal to decimal, so $A = 10 etc..
Now a problem I saw in the code is "$udg_force01", and I checked, it is a force variable, meaning it has no integer (to my knoledge). Also the syntax itself makes no sense

Code: Select all

set rO=rO+1
exitwhen rO>$udg_force01

rO is clearly an integer (it also stats that in the code), so how can you check if an integer is bigger than a force...
It could either be an anti-cheat OR, it counts all the units in that specific force, lets say you have 5 heroes in that force variable, it will be set to 10, and the $ sign could just be a quick convert. It is interesting, but after trying to test, map didn't work. So I guess it is a simple Anti-Cheat.
Can't test as I don't have the map.

Edit: there is also $ on an integer variable that is always either 0 or 1848651824, and as far as I know, there is no "Player(1848651824)" so it has to be 0. and the $ is there for no reason that I can understand
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?
Dissed
Junior Member
Posts: 44
Joined: August 13th, 2007, 8:52 am

Re: [Deprotection] I have stumbled upon a problem

Post by Dissed »

Yeah there was a bit of confusing stuff in there, thanks for looking at it. I also forgot to re-add the map, my bad.

I used an un-hexing(useful-tools-f69/hex-fixer-v27-lastupdate-14-06-2014-t26236.html) tool and it didn't work apparently so I guess I will have to go through the entire script manually? What do you do with $udg...?
User avatar
haxorico
Super Moderator
Posts: 3190
Joined: February 24th, 2009, 1:31 pm
Location: JEW LAND

Re: [Deprotection] I have stumbled upon a problem

Post by haxorico »

Dissed wrote:Yeah there was a bit of confusing stuff in there, thanks for looking at it. I also forgot to re-add the map, my bad.

I used an un-hexing(useful-tools-f69/hex-fixer-v27-lastupdate-14-06-2014-t26236.html) tool and it didn't work apparently so I guess I will have to go through the entire script manually? What do you do with $udg...?

My advice? I would just replace them with a number I think is right, depending on the code, and see how and if it affects the map.
Unhex tool wont with this problem as the tool doesn't know how to convert udg_integer2 (example..)
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?