Staredit Network > Forums > SC1 UMS Mapmaking Assistance > Topic: anti hack map causes replay corruption
anti hack map causes replay corruption
May 9 2009, 1:42 am
By: rich.  

May 9 2009, 1:42 am rich. Post #1



Hello, I have this map: http://www.megaupload.com/?d=4F0E5C5O
It randomizes for BGH 2v2 and 3v3 teams automatically (also lets players 1v1). Players that lift become observers. And theres anti hack feature that drops hackers. And it's great for playing bgh with friends.
However you can't save any replays because of what I believe may be the antihack (corrupt). I don't know if that is it or not. On python AH maps the replays work fine. But I'd like to be able to save replays. If that means removing the antihack that's completely fine because none of my friends hack anyway.
Anyone know what this is, or how to fix it?



None.

May 9 2009, 1:48 am Falkoner Post #2



You'll have to find a variable in memory that doesn't return true during a replay, but does in-game, and add that condition in with the map hack condition. It looks like that anti-hack is true to normal SC during a replay but not during the game, so you need a second condition to make sure it's not a replay.



None.

May 9 2009, 2:20 am rich. Post #3



how do i do that?



None.

May 9 2009, 2:31 am Falkoner Post #4



Using a memory editor, such as Cheat Engine, find a constant value when playing, that doesn't change, but that changes to something else during a replay, and then use that address for your EUD.



None.

May 9 2009, 4:15 am rich. Post #5



is there an easy way to do this? i dont know what an EUD is. if the easy way consists of deleting the AH how would i go about doign this?



None.

May 9 2009, 4:18 am Falkoner Post #6



Oh, if you just want to delete the anti hack, look for a trigger that has a really weird death condition, like an insanely weird unit ID, or player number, and delete that trigger



None.

May 9 2009, 4:25 am rich. Post #7



ok theres two things though that kill your buldings. 1 is AH, other is OBS mode. heres an example of one of the triggers:
Trigger("Player 1","Player 2","Player 3","Player 4","Player 5","Player 6","Player 7"){
Conditions:
Bring("Current Player", "Any unit", " \x006C \x004O \x006N \x004G \x006R \x004A \x006T \x004U \x006L \x004A \x006T \x004I \x006O \x004N\x006!!!\x012", At least, 1);

Actions:
Kill Unit At Location("Player 8", "Any unit", All, " \x006C \x004O \x006N \x004G \x006R \x004A \x006T \x004U \x006L \x004A \x006T \x004I \x006O \x004N\x006!!!\x012");
}
is that the AH?



None.

May 9 2009, 4:29 am Falkoner Post #8



No, one of the conditions will be a Deaths condition in it, and it will have funny numbers.



None.

May 9 2009, 4:35 am rich. Post #9



i didnt find anything that fits that descript. however i have heard a little about a condition (something about 49 minerals) that meets the following criterion:
Trigger("Player 1","Player 2","Player 3","Player 4","Player 5","Player 6","Player 7"){
Conditions:
Switch("Switch16", not set);
Accumulate("Current Player", At most, 49, ore);
Accumulate("Current Player", At least, 1, ore);

Actions:
Set Score("Current Player", Set To, 3, Custom);
Set Switch("Switch35", set);
Wait(7000);
Set Switch("Switch16", set);
}


Is this the AH?



None.

May 9 2009, 4:37 am Falkoner Post #10



Any triggers with Death conditions at all?



None.

May 9 2009, 4:47 am rich. Post #11



doesnt look like it



None.

May 9 2009, 4:48 am Falkoner Post #12



You're quite certain there's an Anti-hack in this map?



None.

May 9 2009, 6:53 am rich. Post #13



yes. you can look at the map yourself. i honestly dont have a clue what im doing.

EDIT:
maybe i overlooked it but i surely dont see it.

Post has been edited 1 time(s), last time on May 9 2009, 10:03 pm by NudeRaider. Reason: merged posts



None.

May 9 2009, 12:20 pm rockz Post #14

ᴄʜᴇᴇsᴇ ɪᴛ!

There's no EUD. As far as I can tell there's no anti-maphack, unless you can somehow create independent command centers and jump gates. Those are deleted via triggers, but I can't find them on the map, and afaik "player 8" only has 1 unit.



"Parliamentary inquiry, Mr. Chairman - do we have to call the Gentleman a gentleman if he's not one?"

May 9 2009, 1:30 pm rich. Post #15



yes. you can look at the map yourself. i honestly dont have a clue what im doing.

EDIT:
the map dropped them, not the program. the program just confirmed that he did in fact hack.

Post has been edited 1 time(s), last time on May 9 2009, 10:04 pm by NudeRaider. Reason: merged posts



None.

May 9 2009, 4:08 pm Ahli Post #16

I do stuff and thingies... Try widening and reducing the number of small nooks and crannies to correct the problem.

unprotected map has no EUD triggers. Unprotected map has no unusual units/sprites.
This map shouldn't drop any hacker.
The drop should be caused by battle net itself (blame old battle net).

anyway, some triggers just seem to be there to display a text message.
I guess p5 will see the lose message ("did you learn something in this game?"), if he starts as Zerg and his Overlord is in the location.

In singleplayer I can see the replay. I don't know why it should be corrupted.




May 9 2009, 4:50 pm Falkoner Post #17



Does the map have upgrades past 3? Those cause replays to mess up.



None.

May 9 2009, 8:40 pm rich. Post #18



no it plays the exact same as melee. it JUST chooses teams/obs mode, and drops hackers. thats all it does. if you host the game on battlenet you can see the forces where the comp is called "antihack" or something along those lines.

EDIT:
i posted this question at broodwarmaps.net and some guy said this:

"One problem I've seen in AH maps before with replays involved triggers which dropped players based on a trigger which either added or removed a mineral, or didn't, and dropped whichever trigger the hacker would cause. Then, this problem would be duplicated in the replay, and players would start out with 51 or 49 minerals etc and thus it would be corrupt.
With the Brisa) AH maps, I believe for whatever reason you had to skip past the AH checks in the beginning at real-time speed, ie not 2x or 4x etc, but then you could speed up after then, usually after 2-3 minutes or something. You should try that I guess. Mostly it depends on what triggers you used. You best understand the AH triggers, so you should best be able to figure out which trigger causes the problems."

i already c/p'd a trigger that has something about 49 minerals and getting 1. could the trigger that i posted be the antihack?

Post has been edited 1 time(s), last time on May 9 2009, 9:05 pm by NudeRaider. Reason: merged posts



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:00 am]
l)ark_ssj9kevin -- hi jamal
[12:18 am]
Heinermann -- memes
[2026-4-28. : 10:08 pm]
NudeRaider -- skeet-skeet, motherfucker
[2026-4-28. : 4:24 pm]
Vrael -- NudeRaider
NudeRaider shouted: Vrael boy, if you're not careful I'll moderate your sorry ass too!
gotta catch me first! skeet skeet skeet
[2026-4-26. : 1:58 pm]
lil-Inferno -- ya
[2026-4-25. : 11:50 pm]
JamaL -- Glad to see SEN will never die. Kudos to whoever is paying the hosting fees these days!
[2026-4-25. : 3:37 pm]
NudeRaider -- (-.-,)
[2026-4-25. : 3:35 pm]
Zoan -- ;o I thought that was a monkey emote
[2026-4-25. : 3:34 pm]
Zoan -- :mods:
[2026-4-25. : 3:34 pm]
Zoan -- :mods"
Please log in to shout.


Members Online: JamaL