Hello, i want code for change color of player name.
Example: if player have name "Ezezezeze" then he have red color of name.
Please, help!
Thanks :)
It mustn't be TibiaApi!
Printable View
Hello, i want code for change color of player name.
Example: if player have name "Ezezezeze" then he have red color of name.
Please, help!
Thanks :)
It mustn't be TibiaApi!
One would assume there is some value in the creature structure of the battle list that dictates the colour of a players name. Get a friend to stand on screen on low, med, high HP, and browse the memory region of his creature entry in battle list, set it to 1 byte hex or something and see what changes as he heals, will probably find 3 values (R, G, & B) changing up and down as the colour of his name plate changes... After that you just gotta WriteProcessMemory, and possibly hook a method which changes the values to stop it from doing so...
The colours and respective hp% are defined in the draw health bar method, not at battle list, because it would be redundant. No need to server send this information.
@Netrunner, I made this for GM's have blue health bar and name XD
What version do you need this ?
nvm (short)(short)