![]() ![]() Search for your health value, add it to disassembler and find out what wrights to the address. This or you could do a simple nop on the address/addresses which lower your health. Then place a hook there, save the address, or just write it there See if you can manually 'see' where the structure starts (It usually starts on an address ending with a 0 and the first entry is a pointer to a static address)įind the codes that accesses your health and see if there is a code that is only accessed for your own health (e.g used to render the healthvalue on the screen) It would be useful if you looked at the stack and find out what the caller is (usually located at ebp+4) and find there how esp+10 gets it's value.Īnyhow, an alternative method is just use the memoryview on the address of health and scroll up there. Ild like to say a massive thankyou to Darkbyte and to Geri who helped me aswell you guys both rule Had to do a compare to see if it was doing that while loading and make cheat engine disable the cheat while the game is loading the new area and re enable it when in the new area Some weird reason the original code rights to Ill attach as a photo sorry that it is so massive for some reason paint in windows 7 likes to add a massive white background behind every screenshotĪlso can anyone tell me how do i set up a hook for my code to check against another addresses Since when ever i toggle a breakpoint the game goes so slow it basicly crashes even when you press F9 to tell it to run so i had to use break and trace Its a strange game as i also tried to make unlimited ammo and the code for ammo also works for dogs health which is strangeĭarkbyte i have what is hopefully the stack just needed to find out how to get it ive read that you can either place a breakpoint or break and trace instructions However apon testing this more i found that as soon as you change area the game crashes I also had a look at geris tutorials for data dissector and learnt a bit about it and groups which lead to this Thanks for all the help dark bite your the man and the new cheat engine looks more powerfull than ever I looked at more addresses this time and grouped them in data dissectorĪnd alot of trial and error in the end i have this to share with everyone because hay sharing is caring and have made my first table to get around shared health Ive looked around the forum but for me im slow and nothing really goes into hardout detail for me so i find it really hard to understand When i look back to data dessector i notice the number has changed there since i used the auto script Newmem: //this is allocated memory, you have read,write,execute access So i use the offset 70 and there im 11 and the ai is 8 but if i use this it doesnt workĪlloc(newmem,2048) //2kb should be enough ![]() Im guessing in data dissector that the offset is at the left sideĪnd then i guess that the under mines and the ai address is the value I get the address for my character then alot of others and one that looks like a ai The one that writes to my players health writes to The problem is well there seems to be no offset so thats rather annoying This is the code that comes up when i look what writes to my health Just messing around with postal 2 trying to make a godmode cheat but the health is shared and i still dont get how the data dissector works or how you even make compares work Posted: Sun 5:56 am Post subject: help with shared health for postal 2
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |