Helliot1
Owner of Empire Online
- Joined
- Jul 26, 2017
- Messages
- 315
- Solutions
- 1
- Reaction score
- 58
Good day, gentlemen. How are you all doing?
I am currently in the process of creating a module to load information about party members such as their name, level, health points, and mana points. However, I am facing some confusion as to how to approach this task. The module is intended to constantly load information about members, both those currently present on the map and those who are away.
I attempted to pass the TFS ID of all party members to the Otclient through the use of opcodes. I attempted to utilize the GetHealthPercent function with the ID obtained, but it did not produce the desired results. It appears that in the Otclient, each creature has a unique ID different from that of TFS and I would need to obtain this ID directly from the Otclient.
Another issue I encountered is that, in the Otclient, it seems that one can only obtain this information if the creature is currently visible on the player's screen. If the player is not on screen, their health will not update in the module. Information such as mana is also not obtainable through the Otclient.
I am uncertain as to which approach would be the best course of action. Should I pass the information through opcodes on a constant basis or should I consider adding this information directly to the Otclient's source code?
I would greatly appreciate any suggestions or advice on how to proceed.
Thank you.
I am currently in the process of creating a module to load information about party members such as their name, level, health points, and mana points. However, I am facing some confusion as to how to approach this task. The module is intended to constantly load information about members, both those currently present on the map and those who are away.
I attempted to pass the TFS ID of all party members to the Otclient through the use of opcodes. I attempted to utilize the GetHealthPercent function with the ID obtained, but it did not produce the desired results. It appears that in the Otclient, each creature has a unique ID different from that of TFS and I would need to obtain this ID directly from the Otclient.
Another issue I encountered is that, in the Otclient, it seems that one can only obtain this information if the creature is currently visible on the player's screen. If the player is not on screen, their health will not update in the module. Information such as mana is also not obtainable through the Otclient.
I am uncertain as to which approach would be the best course of action. Should I pass the information through opcodes on a constant basis or should I consider adding this information directly to the Otclient's source code?
I would greatly appreciate any suggestions or advice on how to proceed.
Thank you.