Go Back   EQEmulator Home > EQEmulator Forums > Support > Spell Support

Spell Support Broken Spells? Want them Fixed? Request it here.

Reply
 
Thread Tools Display Modes
  #1  
Old 01-16-2015, 07:09 PM
freewind1
Fire Beetle
 
Join Date: Dec 2009
Posts: 6
Exclamation Rof2 Spell ID

I created a new spell called "the returning" id is 33000 and added it to my item but upon my reboot the item does not have a clicky, i tested this by using #iteminfo and found that the spellID is negative (-32536 to be exact). Although the spell seems to work fine when tested in game using the #findspell and #castspell GM commands. I'm at a loss as to why this is happening and hoping for some help, thanks
Reply With Quote
  #2  
Old 01-16-2015, 07:29 PM
rencro
Hill Giant
 
Join Date: Sep 2008
Location: So. California
Posts: 219
Default

Looks like integer roll over if you do the math..Also, Im not sure what the highest supported spell id is per client, theres a list somewhere...

Try using a much lower spell id..
Reply With Quote
  #3  
Old 01-16-2015, 11:14 PM
bufferofnewbies
Hill Giant
 
Join Date: Dec 2005
Location: Lurking in KY
Posts: 239
Default

if spells are using a 16 bit signed format, then the max number for spells is (2^16/2)-1 or 32767.

Not sure why spells would be using + and - numbers, as it would go up to 65535 for just positive numbers.
__________________
I went fishing for answers and caught a WIKI.
Reply With Quote
Reply


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 07:08 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3