rflx said:



But i have some questions :

Is more about the classes ,

An vector3 in your code is just a simple struct of floats ?

The C++: healthmax2ptrclass



And the ultimate question is how does the classes can be used ?



I know that my questions are dump.



Thanks.



Bets regards,

Alin The menu looks super Fallouty .But i have some questions :Is more about the classes ,An vector3 in your code is just a simple struct of floats ?Thecan be renamed ?And the ultimate question is how does the classes can be used ?I know that my questions are dump.Thanks.Bets regards,Alin Click to expand...

C++: Entities[i]->healthmax1ptr->healthmax2ptr->healthmax3ptr->maxhealth;

(This is Creation Engine related):

C++: fabs(Entities[i]->minushealth1ptr->minushealth2ptr->minushealth)

C++: static localplayerClass* localplayer = *(localplayerClass**)((DWORD64)modInfo.lpBaseOfDll +0x59D6FA0);

C++: localplayer->ActorMover2->ActorMover1->stamina = 0.0f;

hi,Yes the vector3 is a struct of floats.You can rename everything to your liking.the signature i posted above for the entitylist will find an ASM instruction which is accessed by all entities Z coordinates. you can hook there and store all entities accessing this line in an array, then accessing them in a loop like (just an example):Or you find an actual list of pointers to each entity, depends on the game.you can actually find the current health of the entity, lets say 500 (its the maxhealthptr actually, you could also name this "current health"). you dont know the max health yet, you just found his health with CE for example. if you hit him, he might go down to, lets say 480.Then there is a second value hidden in the entityclass, which goes into minus for whatever you substracted from his health, so after the hit, its -20 (These are the "minushealthptr's"). what i did for the healthbar and maximum health was: i found the current health address, and i found the address with the -20. with the c++ command fabs you get the absolute value, means you remove the minus, and end up with 20 in this case. likeso what i did was i used the current health PLUS the minus value (with fabs)...and thats the maximum value. so 480 plus -20 (with fabs its 20), i know the max health is 500. thats how i build the healthbar and knew the maximum health. didnt included the healthbar in Fallout tho since its pretty useless. If you want to just check if an entity is alive you can use the deathflag4 on 0x0132.The minushealth address is his "actual" health, if it hits -500 this specific entity will die.If you want to access the player class you could define it to something like this:and then use it like this...to always have full stamina.But the best is you open the Localplayer in Reclass and see in realtime what is accessed and how it connects.If you dont know how to use Reclass - we have some pretty good tutorials for it on GH.