and:If GoldToAdd>1000000-CurerntGold then it will bug. Even if it's larger by 1. And I doubt anyone would take time to go "OK, my gold is XXX. 1000000-XXX=YYY. So: greedisgood YYY".
But what if he does: His Gold (let's say 10) + Gold To Add (999999999, or some number whose sum is greater than max) > Max If you subtract 999999999, he has 0 gold instead of 10.
I'm not even sure if you can set a variable to their previous gold before it sets it higher. You would probably have to use a timer and set a variable to their gold and do the math afterward. If you need help with the math, then ask. I'm too lazy to write it out right now. I'm hungry XD
it is inevitable that maps are hacked, especially rpgs of any sort...usually ends up some place like wc3edit.net :/ but there arent many ppl who can hack maps.... so by adding a system that disables cheats in single player, im sure 99 of any 100 ppl that play it will just give up and play it normally >.>If they can deportect the map then why do anything at all?
Hahahaha! Now THAT is ridiculous!Originally Posted by Dr Super Good
if you disable cheats, you simply force people to take your map appart and renable them via 4-5 minutes of trigger editing (protection efforts can not stop that at all)
lol...that is litterally what i was JUST doing....... right before i thought...
"hmm...wonder if anyone has replied yet...."
but i wont defeat then, ill just simply disable the trigger that saves the hero. so they can still cheat and go exploring and shat, BUT are unable to save it.
however...im having trouble figuring out how to set the number of USER players into a variable...anyone got any ideas?
now i get what you mean! np, I'm always glad to help people with any question for WE (no guarantees! there's a LOT I do not know, but there's also a LOT I do know/can figure out, so just ask!)lol what i mean by me JUST DOING THAT is that before i read your post i started doing that and ran into the problem of setting the variable, so i decided to check the posts...and lol...there was yours
zomg thx :] i think ill just do that i would redp you and everyone else here, but im having trouble repping some of you because i already have in previous posts not long ago and nu >.> ill just make everything they do in vein....