• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Greedisgood doesn't add Lumber

Status
Not open for further replies.
Level 16
Joined
Mar 25, 2016
Messages
1,327
keysersoze is a cheat code just like greedisgood, but it only adds gold.

I don't have any experience with detecting cheats and I am not sure if this one can be detected. I wouldn't worry about it though, because if people want to cheat, let them cheat. It only ruins their fun.

Why do you want it to only add gold?
 

Dr Super Good

Spell Reviewer
Level 65
Joined
Jan 18, 2005
Messages
27,290
The solution is to use the lumber as a display and not to store the number of kills. The actual kills are stored in an integer, the kill counter, where greedisgood cannot affect them. Every time the kill counter is incremented you set the player lumber to the kill counter value, undoing any changes greedisgood made. If a save/load code is used then you store the kill counter and not lumber.
 
Status
Not open for further replies.
Top