View Single Post
  #2  
Old 11-30-2010, 03:34 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I think the last time I used it to compare like that, I used something like:

Code:
if ($class == 'Warrior')
Those are single quotes (like not holding SHIFT while pressing the quote key next to ENTER). I am not really sure why this wouldn't work too though:

Code:
if ($class eq "Warrior")
Also, I notice that the item IDs you are using are in the 200k+ range. I am pretty sure our item loading is hard set to a max ID of 120K currently unless you manually altered the source code yourself to increase that limitation. If you didn't alter the source for that, then even just creating items with that high of an ID and restarting your server will cause items to fail to load completely.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote