FileForums

FileForums (https://fileforums.com/index.php)
-   Game Coders (https://fileforums.com/forumdisplay.php?f=36)
-   -   Same hp dec function for all enemies. Help please! (https://fileforums.com/showthread.php?t=82585)

pikachu5501 14-11-2007 15:02

Same hp dec function for all enemies. Help please!
 
When i search a value (with cheat engine) and after i do a "what write this adress thing", i then do a code cave and all but it seem that all the character in the game share the same function (and adress) that decreasing the hp. My character dont die but enemies also are in god mode. If anyone have any usefull information for what to search instead or another way i can look for the real value.

Thanx in advance.

[Death] 14-11-2007 22:42

havent ever used CE for debugging, but u need to bp on read on ya health addy, make sure u note all addresses it breaks on. then go thru 1 by 1 finding a spot which is only used by yourself (watch the registers etc), if not u have to start tracing back to the origin of the code your in and find a spot :)

DABhand 15-11-2007 08:48

You will need to be careful with the CE debugger without it set properly it will crash the game on read breakpoints :)

pikachu5501 16-11-2007 05:04

A big thank you [Death] and DABhand for you advices. Maybe i could find some plugin that let the CE undetected. Also i will try some new debugger from now to see.

DABhand 16-11-2007 08:36

Try the official CE forums, they have a section about that sort of stuff etc :)

pikachu5501 16-11-2007 14:03

DABhand:
I will look into that. I din't realy think there were a comunauty behind this little but very usefull tools :eek:. thank you :)

[Death]:
what debugger do you use then? :confused:

[Death] 19-11-2007 22:59

softice all the way :)

h4x0r # 28-02-2011 07:37

set a bp in instruction and look registers for compare player whit enemy players.

regards

princerouge 31-03-2011 11:20

i know i might look stupid here but what "bp" means?

Joe Forster/STA 31-03-2011 12:06

Breakpoint. :) (And there's a great difference between unknowing and stupid people.)

OLzenizin 11-06-2013 02:53

1 by 1 finding a spot which is only used by yourself (watch the registers etc), if not u have to start tracing back to the origin of the code your in and find a spot


All times are GMT -7. The time now is 13:58.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com