I simply wanted single player and a cheat pack inserted into this map, there have been previous versions done, but the save code was wiped since 2.10, so I'd appreciate it if someone could re-do it. There might be anti-cheats in the map, so do test it before you post please.
This is a link to the map: http://www.epicwar.com/maps/86632/
And at the least, i want -gold, -lumber, -copy, -kill, and -tele to work.
Thanks!
[Add CP] Dark Invasion 2 v2.10 (wiped save code)
Moderator: Cheaters
-
- Newcomer
- Posts: 19
- Joined: April 8th, 2007, 3:28 pm
-
- Tyrannical Drama Queen
- Posts: 4430
- Joined: November 19th, 2007, 5:05 am
- Been thanked: 2 times
Re: [Add CP] Dark Invasion 2 v2.10 (wiped save code)
Please include what happens when you try to play single player next time you request a map that needs it enabled, (special messages, etc), thanks.
Trying to do this right now. (edit) I can get the cheat pack to work, along with single player save...but when I type -gold 50000, it resets my gold back to what it was.
Trying to do this right now. (edit) I can get the cheat pack to work, along with single player save...but when I type -gold 50000, it resets my gold back to what it was.
-
- Newcomer
- Posts: 19
- Joined: April 8th, 2007, 3:28 pm
Re: [Add CP] Dark Invasion 2 v2.10 (wiped save code)
I don't know why people can't find what's up with it, but I'm pretty sure you guys don't get why I can't get cheatpacks inserted...
Anyways, the gold and lumber are stored in variables. Not sure if they appear the same to you but for me, it's found easily through seeing this trigger (which supposedly is a function to add gold, that's probably called whenever you finish a quest or something):
In case you don't want to read it, o0OooOO[id] is the variable storing gold. You can find the variable storing lumbar similarly, perhaps by performing a search for something like =GetPlayerState(p,PLAYER_STATE_RESOURCE_LUMBER).
Again, if the variables do appear the same for you, then this is the variable for lumber that I found: o0Ooo0O[id]
Thanks again, since I always end up with a problem when trying to insert whole triggers or edit large parts of code(such as an error when trying to host or start the map).
For anyone else trying to do this, the single player can be enabled(I've done this myself before) by searching for bj_isSinglePlayer(there's only two occurrences of this line in the entire code) and changing the second occurrence of this line to be the same. It should look like this:
Anyways, the gold and lumber are stored in variables. Not sure if they appear the same to you but for me, it's found easily through seeing this trigger (which supposedly is a function to add gold, that's probably called whenever you finish a quest or something):
Spoiler:
Again, if the variables do appear the same for you, then this is the variable for lumber that I found: o0Ooo0O[id]
Thanks again, since I always end up with a problem when trying to insert whole triggers or edit large parts of code(such as an error when trying to host or start the map).
For anyone else trying to do this, the single player can be enabled(I've done this myself before) by searching for bj_isSinglePlayer(there's only two occurrences of this line in the entire code) and changing the second occurrence of this line to be the same. It should look like this:
Spoiler:
-
- Tyrannical Drama Queen
- Posts: 4430
- Joined: November 19th, 2007, 5:05 am
- Been thanked: 2 times
Re: [Add CP] Dark Invasion 2 v2.10 (wiped save code)
I already know how to enable single player, I got the cheat pack in succesfully, and I figured that the gold/lumber was stored in variables, and when it's either constantly setting it that much until it gets an okay from another trigger to add gold, and then it sets it to that constantly. Or when it's changed without the okay from another trigger.
Unfortunately, I don't really know JASS, so I am unsure how to force the okay.
Unfortunately, I don't really know JASS, so I am unsure how to force the okay.
-
- Newcomer
- Posts: 19
- Joined: April 8th, 2007, 3:28 pm
Re: [Add CP] Dark Invasion 2 v2.10 (wiped save code)
I'm not sure how it does it, but I am VERY sure that it just checks if the current gold is equal to the gold stored in the variable, and if it isn't, then it changes the current gold to the value in the variable. So all you need to do is change the value in the variable along with the current gold.
-
- Tyrannical Drama Queen
- Posts: 4430
- Joined: November 19th, 2007, 5:05 am
- Been thanked: 2 times
Re: [Add CP] Dark Invasion 2 v2.10 (wiped save code)
The names of the variables/triggers name is even worse than Vexorian's. It all looks the same.
Example: oo0ooO0, OO0OOOoO, OOooOo0O, O0Oo00O are all different variables. It's nearly impossible to remember anything when going from trigger to trigger.
Example: oo0ooO0, OO0OOOoO, OOooOo0O, O0Oo00O are all different variables. It's nearly impossible to remember anything when going from trigger to trigger.
-
- Some Honorary Title
- Posts: 1713
- Joined: June 8th, 2007, 5:08 am
- Title: Angry Bird
Re: [Add CP] Dark Invasion 2 v2.10 (wiped save code)
Fiddle wrote:I don't know why people can't find what's up with it, but I'm pretty sure you guys don't get why I can't get cheatpacks inserted...
not JASS information we need.
We just need you to tell us what happens when you try to save the game in single player.
Eg. : a text appears saying that "you can't save" or such.
As for the anti cheats. It won't be hard since you only want 4 cheats. Disabling an anticheats doesn't really that hard.
Just I can't do it now. My connection stuck in between my country and germans. Even replying to this topic took me 10 mins. (believe it or not!)
Maybe someone else will do it. Or when my connection is fixed. Probably not. :p
-
- Tyrannical Drama Queen
- Posts: 4430
- Joined: November 19th, 2007, 5:05 am
- Been thanked: 2 times
Re: [Add CP] Dark Invasion 2 v2.10 (wiped save code)
We already got past the single player & getting the cheats in the map.initialD wrote:Fiddle wrote:I don't know why people can't find what's up with it, but I'm pretty sure you guys don't get why I can't get cheatpacks inserted...
not JASS information we need.
We just need you to tell us what happens when you try to save the game in single player.
Eg. : a text appears saying that "you can't save" or such.
As for the anti cheats. I won't be hard since you only want 4 cheats. Disabling an anticheats doesn't really that hard.
Just I can't do it now. My connection stuck in between my country and germans. Even replying to this topic took me 10 mins. (believe it or not!)
And the anti cheats are actually pretty good, believe it or not. The second best I've seen. The first was MM&M.
-
- Some Honorary Title
- Posts: 1713
- Joined: June 8th, 2007, 5:08 am
- Title: Angry Bird
Re: [Add CP] Dark Invasion 2 v2.10 (wiped save code)
yeah. I cracked "dark invasion I" before. Can't just remove the anticheats. There was another checking-system , checking if the anticheats is working right. So gotta disable both systems before you can crack it.
Somehow, I don't think it's wise to spend so much time on an anticheats system. People'll crack it anyway.
Somehow, I don't think it's wise to spend so much time on an anticheats system. People'll crack it anyway.
-
- Senior Member
- Posts: 178
- Joined: February 15th, 2009, 9:08 pm
Re: [Add CP] Dark Invasion 2 v2.10 (wiped save code)
If the mapmakers were really devious, they would just make a script to automatically add heavily obfuscated, highly complex anticheat functions.
Put in some dummy functions that appear to do stuff but are really called from triggers that never execute, make every function have side effects that alter global variables, make liberal use of hash functions etc.
If you could automate it, you wouldn't even have to worry about wasting your own time writing the anti-cheats (well more then once anyway. You still have to do it the first time when you make the program itself).
Put in some dummy functions that appear to do stuff but are really called from triggers that never execute, make every function have side effects that alter global variables, make liberal use of hash functions etc.
If you could automate it, you wouldn't even have to worry about wasting your own time writing the anti-cheats (well more then once anyway. You still have to do it the first time when you make the program itself).