{ Game : Terraria.exe
Version:
Date : 2020-05-16
Author : Okami-x
}
//original - couldn't get this to work for me
//define(address,Terraria.GameContent.UI.ClassicPlayerResourcesDisplaySet::DrawLife+513)
//define(bytes,DB 80 90 03 00 00)
//On Mouse Over HP Bar - alt method but requires to put mouse over HP to get address
//define(address,Terraria.GameContent.UI.CommonResourceBarMethods::DrawLifeMouseOver+34)
//define(bytes,8b 87 90 03 00 00)
//Player.Update - better method all you have to do is move character and it will get the address
define(address,Terraria.Player::Update+F31E)
define(bytes,8B 80 90 03 00 00)
[ENABLE]
assert(address,bytes)
alloc(newmem,$1000)
label(code)
label(return)
label(player_ptr)
registersymbol(player_ptr)
newmem:
code:
// Player.update
mov [player_ptr],eax
mov eax,[eax+00000390]
//MouseOver HP Bar
// mov [player_ptr],edi
// mov eax,[edi+00000390]
//original
// mov [player_ptr],eax
// fild dword ptr [eax+00000390]
jmp return
player_ptr:
dd 0
address:
jmp newmem
nop
return:
[DISABLE]
address:
db bytes
// fild dword ptr [eax+00000390]
dealloc(newmem)
unregistersymbol(player_ptr)
{
To use it just select all and copy it, then open the My Player Pointer Script select all and paste. Worked for me with GoG v1.4 and Steam v1.4.0.2, both on AMD.
I cant get ether one to work for me, i'm on steam 1.4.0.2 and CE7.1. I get the same thing you got for the intel one, i can enable it but nothing works. I am running a 8700k too so i thought it should be fine. I tried yours but it almost looks like your paste got cut off since it ends in a { . I tried it regardless but i can not enable it and CE has this to say [Link] . I Most other things in the table seem to work, its just the player pointer.
How to use this cheat table?
Install Cheat Engine
Double-click the .CT file in order to open it.
Click the PC icon in Cheat Engine in order to select the game process.
Keep the list.
Activate the trainer options by checking boxes or setting values from 0 to 1
I cant get ether one to work for me, i'm on steam 1.4.0.2 and CE7.1. I get the same thing you got for the intel one, i can enable it but nothing works. I am running a 8700k too so i thought it should be fine. I tried yours but it almost looks like your paste got cut off since it ends in a { . I tried it regardless but i can not enable it and CE has this to say . I Most other things in the table seem to work, its just the player pointer.
Whoops, that end { was not suppose to be there that was the start of a block of comments. I edit my post and removed it.
For some reason I also get that error from time to time. What I end up doing is reattaching CE to the terraria.exe process and it usually just starts working. Worst case just close CE then start it again while leaving Terraria running and try it again.
Though I am having a weird issue. I have made 3 new characters now under journey mode and 3 worlds, but after leaving a while and coming back the 3 characters couldn't be loaded. I ended up deleting them. And the worlds I generated were no longer Journey but classic. Not sure what is going on there. so be sure to back up your saves or only use some new throw away ones for now.
Edit: The issue with my saves looks like it's from swtiching between Steam and GoG builds.
It is not rare for the game not to load all symbols properly. I also get the ?? in my player pointer from time to time but if you wait some time, move around, maybe enter the world again it should work fine. I have tested this with CE 7.0 and CE 7.1 as well as my personalized CE. All of them work.
My suggestion is that you attach CE to the game on the Main menu screen before selecting single-player/multiplayer. Then once you are in your world try to enable the scripts. I always do this and i don't get any problems.
If it doesn't work it must be a problem with your version of the game (Assuming you have Intel CPU). The table is for the Steam 1.4.0.2.
I don't have a GOG version of the game to test the scripts, but it is possible for GOG version to be the problem.
I'm thinking of creating a discord server to explain how to do everything in the table and address some common issues.
If you think the discord server is a good idea let me know or send me a private message.
I tried everything in that and still nothing. But I am on a I7 2600 cpu though. But other scripts works just the player pointers.
Would install the tmodloader help?
Found out the reason okami_x's player script doesn't work for me. I use the interface setting of "fancy" for HP and Mana display. Since the code calls from UI.ClassicPlayerResources, it never gets called for the other interface types. So you can get it to work by switching to classic mode for HP and mana bars in the settings of terraria.
Found a pretty big problem with "Infinite Buff Timer". If you get with a nasty debuff, it will also last for 2 days. Got frozen by a monster, debuff says "2d" lol
{ Game : Terraria.exe
Version:
Date : 2020-05-16
Author : Okami-x
}
//original - couldn't get this to work for me
//define(address,Terraria.GameContent.UI.ClassicPlayerResourcesDisplaySet::DrawLife+513)
//define(bytes,DB 80 90 03 00 00)
//On Mouse Over HP Bar - alt method but requires to put mouse over HP to get address
//define(address,Terraria.GameContent.UI.CommonResourceBarMethods::DrawLifeMouseOver+34)
//define(bytes,8b 87 90 03 00 00)
//Player.Update - better method all you have to do is move character and it will get the address
define(address,Terraria.Player::Update+F31E)
define(bytes,8B 80 90 03 00 00)
[ENABLE]
assert(address,bytes)
alloc(newmem,$1000)
label(code)
label(return)
label(player_ptr)
registersymbol(player_ptr)
newmem:
code:
// Player.update
mov [player_ptr],eax
mov eax,[eax+00000390]
//MouseOver HP Bar
// mov [player_ptr],edi
// mov eax,[edi+00000390]
//original
// mov [player_ptr],eax
// fild dword ptr [eax+00000390]
jmp return
player_ptr:
dd 0
address:
jmp newmem
nop
return:
[DISABLE]
address:
db bytes
// fild dword ptr [eax+00000390]
dealloc(newmem)
unregistersymbol(player_ptr)
To use it just select all and copy it, then open the My Player Pointer Script select all and paste. Worked for me with GoG v1.4 and Steam v1.4.0.2, both on AMD.
I tried everything in that and still nothing. But I am on a I7 2600 cpu though. But other scripts works just the player pointers.
Would install the tmodloader help?
Found out the reason okami_x's player script doesn't work for me. I use the interface setting of "fancy" for HP and Mana display. Since the code calls from UI.ClassicPlayerResources, it never gets called for the other interface types. So you can get it to work by switching to classic mode for HP and mana bars in the settings of terraria.
This fixed it for me finally. I tried both the original and the script someone else posted, after changing it to classic it finally worked! Thank you so muchy!
Darkedone02, post: 135672, member: 74 wrote:
this does not work with me, and I have intel.
Yeah the code I wrote is for AMD, but to make sure it's an intel/amd difference, first start Terraria then wait till the main menu is on the screen, then start CE and attach it to Terraria. From there try to run the script again. If you attach earlier than that I have run into issues of CE not finding it. You should be able to enable the script at the main menu. Then verify that it works and getting the data after loading your character.
If that doesn't work then there is probably a difference in the offset. So press memory view on the main CE window, there in the top part with all the code, right click and select go to address. In the box type "Terraria.Player::Update" (without quotes) and that will bring you to the beginning of the function. Now right click and go to address and type in "Terraria.Player::Update+F31E". That alignment will probably be wrong so scroll up till the code updates and kind of refreshes itself. From there scroll up or down to a line that is close to +F31E and find the line that matches the bytes:
Found a pretty big problem with "Infinite Buff Timer". If you get with a nasty debuff, it will also last for 2 days. Got frozen by a monster, debuff says "2d" lol
[/QUOTE]
oh, uh didn't think about that one my bad. just set the timer in the script for 0 on the end lol. I'll check to see if there is anything to do with debuffs in the list.
Make sure you have the Steam 1.4.0.2 version.[/QUOTE]
Thankfully most everything work for me on the GOG version so thanks! Hope my luck holds though. Don't want to end up buying the Steam version just to be able to use this.
Last edited by AseroD on Thu Jan 01, 1970 12:00 am, edited 1 time in total.