Go Back   EQEmulator Home > EQEmulator Forums > Quests > Quests::Q&A

Quests::Q&A This is the quest support section

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-26-2013, 04:29 PM
Fadedspirit
Sarnak
 
Join Date: Jan 2007
Posts: 48
Default A way to unequip a weapon if your race isn't valid?

Making a server with custom races, and all items are all races allowed due to this. However, I want to make a special set of weapons specific to a certain race, but that isn't really possible given the current system since races are pre-defined (I assume by the client?) since I cannot find where ANY of those race values are used in the entirety of the source itself.

ie: I searched the entire source for 4096, which is iksar, but it isn't being used anywhere to check if an item can be equipped by an iksar using 4096? It only asks (if race = IKSAR) which then just checks the raceid which is 128 for iksar.


But, whether or not an item can physically be moved into a slot is based on the db which uses the aforementioned 4096 values, etc etc.


So, my question: Is there a way to unequip an item using PERL if I do a simple race check and find that they're not the intended race? I remember seeing something like this awhile ago but can't seem to find it now.



Thanks,
Faded
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:49 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3