
Print("decreased: ".v." - ".oldv." - ".About This Game SpellForce 3 - The perfect blend between RTS and RPG! To return to the "Marica" player, click "F9".
#Spellforce 3 reforced cheat engine upgrade#
Sample Click "F8" to follow and upgrade the "Pan" player.
#Spellforce 3 reforced cheat engine code#
The code below focuses on the player you want to follow and upgrade. You can also give a follow-up and print the changes. I just saw the solution code assigned to the topic and provided by have arranged for more than one player.įor example, you can assign the same code to the "Button Click" event for 3 players. from your code, do I repeat all the codes above for player 2 after the end function? Local mr = AddressList.getMemoryRecordByDescription(Name1) -'My Experience' Local oldv1 = AddressList.getMemoryRecordByDescription(Name1) If not mrcute then t.destroy() return end If not mrmain then t.destroy() return end Local mrcute= AddressList.getMemoryRecordByDescription'cute chick xp x5' Local mrmain = AddressList.getMemoryRecordByDescription'main char x5 exp' Local mr = AddressList.getMemoryRecordByDescription'Brooklyn Luckfield x5 exp'

Local oldvcute = tonumber(AddressList.getMemoryRecordByDescription'cute chick xp x5'.Value) Local oldvmain = tonumber(AddressList.getMemoryRecordByDescription'main char x5 exp'.Value) Local oldv = tonumber(AddressList.getMemoryRecordByDescription'Brooklyn Luckfield x5 exp'.Value) it looks dumb since I'm just making it up by tripling everything base on your code Right now my code looks something like this. I don't have any coding experience so plz be specific with the instruction if you can. if there is a better way, would you lay down the foundation so I can plug in the numbers?.

I try messing around with the code and just create "My Experience2", "My Experience3" for my other characters but sometimes it would work for 2 of them, most of the time only 1 is getting the multiplied exp. 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
