
#Spellforce 3 cheat engine gold code
I'm using your code and it works, but is there a way to do this for multiple characters?. Local mr = AddressList.getMemoryRecordByDescription'My Experience' Local oldv = tonumber(AddressList.getMemoryRecordByDescription'My Experience'.Value) Using AA to inject code would likely be best (see step 7 "Code Injection" of the CE tutorial), but Lua can do what you're asking. If there's a tutorial out there that will handle what I'm trying to accomplish, I'd be glad to take a look at that as well! I've used Cheat Engine for years now to do simple variable edits, but nothing too much more complicated than finding and editing values like money and experience.

The change appears instant, but I'd have to play further into the game to see bigger experience values before I could really tell a difference. I would imagine this could cause complications if it did increment until the "gained" experience is depleted, especially if the script applies every time the experience value is changed. I am not positive whether or not experience increments until it reaches the new value, or if the change in the variable is instantaneous. Is there a way to compare the previous value with the new one, then multiply the difference, and add that to the new value? In this case, I would like to double the amount of experience gained, so I suppose simply being able to find the difference and adding it to the new value again would do the trick. Experience is stored as a 4 Byte variable.

I'd like to set up a script that will increase the rate of experience gained in a game. I did an hour of googling before coming here so sorry if this has been asked before. Posted: Thu 2:04 pm Post subject: Multiply a value upon increase
