EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Spell Support (https://www.eqemulator.org/forums/forumdisplay.php?f=664)
-   -   Rof2 Spell ID (https://www.eqemulator.org/forums/showthread.php?t=39240)

freewind1 01-16-2015 07:09 PM

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

rencro 01-16-2015 07:29 PM

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..

bufferofnewbies 01-16-2015 11:14 PM

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.


All times are GMT -4. The time now is 01:39 AM.

Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.