Page 1 of 1

Mana costs, tithing points ...

Posted: Tue Sep 26, 2006 10:00 am
by Pierce
Does anybody already discovered where the mana costs, tithing points/costs for necro and pala book are located on the client side files?

I found the parts in the client.exe, where those values are shown e.g. in the status window or on the paladin or necro gumps.
With a hex editor you can see something like "Tithing Cost: %d" or "Mana Cost: %d", but where does the client reads or receives %d from. Any ideas?

Posted: Tue Sep 26, 2006 12:24 pm
by Yukiko
I believe that is a script (POL) issue rather than client side issue.

Posted: Tue Sep 26, 2006 1:59 pm
by Pierce
I wish you were right, but i think you are wrong :wink:

Posted: Tue Sep 26, 2006 7:12 pm
by CWO
From what I can tell you, intrface.def defines how the book gump is drawn but I dont know where the variable info is drawn from.

Posted: Tue Sep 26, 2006 7:22 pm
by MuadDib
Read the packet lists.............

Tithing points is given to the client in the Statbar packet.

Necro and Magery info, is located in their books, and hardcoded unfortunately for what spell takes what reagents in the books. But mana, you can define core-side cuz client doesn't say the mana.

If you want mana to show up on the tooltip for the spell icons, deal with the tooltips (NOT AOS TOOLTIPS, oldschool tooltips, read up the packet list and core-changes.txt for more information).