| View previous topic :: View next topic |
| Author |
Message |
pengi How do I cheat?
Reputation: 0
Joined: 14 Jan 2017 Posts: 9
|
Posted: Sun Jan 15, 2017 8:13 pm Post subject: GodMode in Vampire the Masquerade Bloodlines |
|
|
Hi, I'm working on making a GodMode cheat in VtMB. I am new to Cheat Engine and need some help.
I'm playing the Steam version of the game with the unofficial patch 9.6 (final) installed.
So I have found 5 addresses that are related to my health, and 1 of those addresses seems to change the values of all 5. Should I focus on that 1 address? I did some AA scripting targeting that address and got it to stay at 100 (max health) after being hit. Even though all of the address's values stayed at 100, I still died after taking a lot of hits. Is this sort of thing common? What are some tips that might help me conquer this problem?
Is there a way to target all 5 address's assembly instructions with 1 AA script?
Thanks
|
|
| Back to top |
|
 |
Filipe_Br Master Cheater
Reputation: 3
Joined: 07 Jan 2016 Posts: 272 Location: My house
|
Posted: Mon Jan 16, 2017 5:32 am Post subject: Re: GodMode in Vampire the Masquerade Bloodlines |
|
|
You can, but if to find the addresses you have to do an aobscan, then the activation should take a while.
_________________
... |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25818 Location: The netherlands
|
Posted: Mon Jan 16, 2017 7:04 am Post subject: |
|
|
only 1 of the addresses is the correct one.
Change one ,get hit, check the new health, if it's correctly adjusted, that's the one
As for real godmode, I believe this is one of those games where you can just do a code injection at the address that writes health, and check the vtable (first pointer in the structure)
I believe it's unique for the player.
( I played this game a while back)
_________________
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 |
|
 |
pengi How do I cheat?
Reputation: 0
Joined: 14 Jan 2017 Posts: 9
|
Posted: Mon Jan 16, 2017 8:55 pm Post subject: |
|
|
Thanks for the replies.
None of the 5 values will change the way I want them to. I am wondering if the unofficial patch I installed is affecting how the health is handled.
Example: All 5 address's values are 65. Then I change any or all of the values to 100. In-game it looks like my health has been properly set to 100. When I take a hit for 6 damage, my health will go back down to 59. I imagine my "real" health must be stored somewhere that I can't find as easily.
I've tried some code injection to force my health to be 100 every time I am hit.
| Code: |
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem:
originalcode:
mov [esi+00000210],eax
exit:
jmp returnhere
"vampire.dll"+330AB8:
jmp newmem
nop
returnhere:
|
Original code that happens everytime I am hit - eax holds the new HP.
| Code: |
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem:
originalcode:
mov [esi+00000210],64
exit:
jmp returnhere
"vampire.dll"+330AB8:
jmp newmem
nop
returnhere:
|
Slightly changed code to make health 100 every time I am hit.
I thought the code injection worked at first because my health was visibly going to 100 in-game everytime I was hit, and staying at 100 in CE. Then I died out of nowhere.
When I died, there was a new opcode that I feel might be important to obtaining GodMode.
| Code: |
je vampire.aitesthull+14DFA0
mov ecx,eax
call vampire.bodyque+AA
cmp dword ptr [esi+00000210],-63 <<
jnl vampire.aitesthull+14DFAF
mov [esi+00000210],ebx
|
For the record.. Blood (which is VtMB's mana) is completely changeable and doesn't act like the health at all. It acts as one might expect when changed with CE.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25818 Location: The netherlands
|
Posted: Tue Jan 17, 2017 3:25 am Post subject: |
|
|
code injection is useless until you find the correct address
try float or double.
or health is stored as total damage taken
etc...
_________________
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 |
|
 |
pengi How do I cheat?
Reputation: 0
Joined: 14 Jan 2017 Posts: 9
|
Posted: Tue Jan 17, 2017 5:09 am Post subject: |
|
|
Got it! There was a value that counted how much health was missing. Once that was change to the proper value, everything worked.
Thanks for the tip!
|
|
| Back to top |
|
 |
danny96 Newbie cheater
Reputation: 0
Joined: 10 Jul 2020 Posts: 20
|
Posted: Wed Jan 20, 2021 7:19 am Post subject: |
|
|
Yeah as Darkbyte said "health is stored as total damage taken".
I found that too but there is a problem .When I write godmode script using that adress it is not working after some things .For example My character does not gain exp or if I raise any attributes my script doesn't work anymore .Is it about choosing wrong compare or
that shared code ( code that writes total damage taken for everbody in game ) problematic itself ? Any comment ?
_________________
_d_ |
|
| Back to top |
|
 |
|