|
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
MyMamaThinkIStank How do I cheat? Reputation: 0
Joined: 09 Mar 2021 Posts: 2
|
Posted: Tue Mar 09, 2021 3:03 pm Post subject: Editing a table to give me the amount of currency I want |
|
|
I'm not a coder, I have absolutely no idea what I'm doing, don't know what any of this means, I don't really want to learn, I just want to change how much money a table I downloaded gives me.
Code: | // Minimum Ducats = 50000, Manpower = Maximum and Stability = 10
_MonDucats:
mov dword ptr [aLast],'MDUC'
mov eax,[ecx+1c] // Get Owner ID
cmp eax,[iPlayerID] // Is it the player´s resource?
jne _ExitMD // jump if false
mov [pPlayer],ecx // Save pointer for debugging
// Ducats
cmp dword ptr [iEnableMD],0
je _MonD0 // Jump if feature is disabled
mov eax,#62000000 // Get minimum value (62000)
cmp eax,[ecx+000004f4] // Currrent Ducats >= 62000?
jle _MonD0 // Jump if true
mov [ecx+000004f4],eax // Make Ducats = 62000 |
If anyone explained what and how I need to change something (for the future, so I can "fine tune" gold and maybe other stuff this table [or other, if it applies in them as well], I'd greatly appreciate.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Tue Mar 09, 2021 3:53 pm Post subject: |
|
|
try changing the line that says
Code: |
mov eax,#62000000 // Get minimum value (62000)
|
(before you activate the script)
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
MyMamaThinkIStank How do I cheat? Reputation: 0
Joined: 09 Mar 2021 Posts: 2
|
Posted: Tue Mar 09, 2021 4:24 pm Post subject: |
|
|
Dark Byte wrote: | try changing the line that says
Code: |
mov eax,#62000000 // Get minimum value (62000)
|
(before you activate the script) |
When I do that, I get:
Quote: | <<Error in line 75 (assert;(eu3game.exe+3f303f,8b 89 6c 16 00 00 8b 45 08 89 48 04 8b 48 04 8b 4d f4 89 10)) : The memory at +eu3game.exe+3f303f can not be read>> |
Code: | //=========================================
// Definitions
define(LUDO,eu3game.exe)
//=========================================
[ENABLE]
//=========================================
//LuaCall(CheckVersion())
//=========================================
// Check if script is compatible to this game version
// If false the script will not be loaded
assert(LUDO+3f303f,8b 89 6c 16 00 00 8b 45 08 89 48 04 8b 4d f4 89 10) //_MP ok
assert(LUDO+1aca53,8b 89 f4 04 00 00 8b 45 08 89 08 5d c2 04 00 ?? ??) //_MDu ok
assert(LUDO+2c17c7,8b 46 38 39 46 68 ?? ?? 89 46 68 8b 46 68 29 46 38) //_GM ok
assert(LUDO+2c18a2,89 77 38 5f 5e 8b e5 5d c2 04 00 ?? ?? ?? ?? ?? ??) //_GM1 ok
assert(LUDO+2c18fb,89 4e 3c 5e 8b e5 5d c2 04 00 ?? ?? ?? ?? ?? ?? ??) //_TMor ok
assert(LUDO+4a8ac0,39 81 d8 04 00 00 68 ?? ?? ?? ?? 8d 4d d8 ?? ?? e8) //_MCity ok
assert(LUDO+4b7fd4,8d 4d bc 89 5e 58 e8 ?? ?? ?? ?? 8b 4e 4c 8b 11 8b) //_MSC ok
assert(LUDO+21cc05,e8 ?? ?? ?? ?? 53 8b cf e8 ?? ?? ?? ?? 8b 16 8b 0d) //_MCol ok
assert(LUDO+21d877,e8 ?? ?? ?? ?? 8b 55 f0 52 8b cb e8 ?? ?? ?? ?? 8b) //_MRec ok
assert(LUDO+21e7cb,e8 ?? ?? ?? ?? 8b 4d e0 56 e8 ?? ?? ?? ?? 8b 75 e4) //_MBCon ok
assert(LUDO+215ec8,8b 09 3b 4d 08 ?? ?? 8b 57 38 2b 57 34 8b 4f 24 c1) //_MRTec ok
assert(LUDO+1b2f79,8b 4d 0c 8b 0c 88 56 8b 75 08 56 e8 ?? ?? ?? ?? 8b) //_MSUni ok
assert(LUDO+2d498f,39 b7 cc 00 00 00 ?? ?? 8b 87 08 01 00 00 8b 08 8b) //_MMov ok
assert(LUDO+2d4a6c,39 b7 cc 00 00 00 ?? ?? c7 87 d4 00 00 00 64 00 00) //_MMov1 ok
assert(LUDO+2a4032,e8 ?? ?? ?? ?? 8b 55 fc 8b 4d f8 50 57 52 e8 ?? ??) //_MBat ok
assert(LUDO+164448,89 8f bc 04 00 00 5f 5e 8b e5 5d c2 04 00 ?? ?? ??) //_GM2 ok
assert(LUDO+2c48b9,8b 49 38 8b c4 c7 45 fc 00 00 00 00 89 65 fc 56 89) //_MBat1 ok
//========================================= |
The blank space between the "if false the script..." and first assert is the
75 line
I'm assuming this has something to do with it:
Code: | //=========================================
MyCode:
//========================================= 52b ok
// This code finds out Player ID
_MonPlayer:
mov ecx,[ecx+0000166c] // Get player ID
mov [iPlayerID],ecx // Save it for further use
jmp _BackMP // Back to main code
//========================================= 52b ok |
I apologize if I don't respond quickly, it's quite late in my country.
This is the table in question:
fearlessrevolution(dot)com/viewtopic.php?t=1035
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|