View Single Post
  #77  
Unread 02-08-2005, 10:07 AM
0ctavius's Avatar
0ctavius 0ctavius is offline
A Grizzled Badger
 
Join Date: Jan 2005
Server: Crushbone
Posts: 45
Default

Quote:
Originally Posted by Itanius
Does anyone have or know where to find the scripting hooks for the data at EQ2Players? I'm referring to the stats like Quests completed, Last Killed By, etc. A list of all those hooks would be great, but I can't seem to find them anywhere.

Thanks
Give me another day. I was going to release the database version of my script last night (actually database and NO database in one script, you can turn it off in the config file) but I decided to wait another day to add a few things. One of those things is a file that lists the arrays in their complete form. That way you can see EXACTLY which array key goes to which value. So you want to figure out which key is used to display the zone you were last killed in? My script does in fact parse it, you just need to know the array key.

And beyond that, I am adding an admin interface, to let you manage the entries in the database, and possibly some other settings.

As for the suggestion of adding the ability for a surname. Yes I can do that easily. My first version of this script (long before it was released here) actually had that, but I found that if you are in a guild with a long name, and your name is long, it looks pretty bad on your sig. But I will add the feature anyway, and let you decide whether to use a surname or not

Also a quick tip. For those of you who have asked how I was able to get the guild rank dynamically. I pull the guild roster for your guild id dynamically, and then do an array search for your player name (that matches the name from the array gotten earlier in teh script). The array key that is returned is a number, and the key just before that is where your guild rank will be. So I simply take the key, and subtract 1 from it and then use that new value to grab the key where your guild rank is.
__________________

Last edited by 0ctavius : 02-08-2005 at 10:12 AM.
Reply With Quote