PenUltima Online

It is currently Fri Sep 05, 2008 3:08 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Mana costs, tithing points ...
PostPosted: Tue Sep 26, 2006 10:00 am 
Offline

Joined: Thu Feb 02, 2006 8:33 am
Posts: 276
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?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 26, 2006 12:24 pm 
Offline

Joined: Thu Feb 02, 2006 1:41 pm
Posts: 1122
Location: Southern Central USA
I believe that is a script (POL) issue rather than client side issue.

_________________
Sincerely,
Yukiko

I know you think you understand what you thought I said but what you heard is not exactly what I meant.

Titus 2:13


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 26, 2006 1:59 pm 
Offline

Joined: Thu Feb 02, 2006 8:33 am
Posts: 276
I wish you were right, but i think you are wrong :wink:


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 26, 2006 7:12 pm 
Offline

Joined: Sat Feb 04, 2006 5:49 pm
Posts: 747
Location: Chicago, IL USA
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 26, 2006 7:22 pm 
Offline
POL Developer
User avatar

Joined: Sun Feb 12, 2006 9:50 pm
Posts: 836
Location: Indiana, USA
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).

_________________
POL Developer - The Penguin Scripter


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subice by phpBBservice.nl