Log in

View Full Version : Item effects and Memspells over 32,768


NatedogEZ
02-18-2013, 07:41 PM
When using all the RoF spells the spell file goes over 32,768 spells!

While in game you can #cast spells over 32,768 ... but you cannot mem spells over 32,768.

Also, items can not have proceffect / worneffect / clickeffect over 32,768.

Trying to make a live like environment up to level 100 but you can't mem any of the spells or put any of the spells on items.

Would updating the source to allow higher ints for those fields be something that we could see in the future?


quick edit here...

Also Buff slots will not show spellids over 32,768

NPCs can't cast spells over 32,768 as well.




Thanks!

Drajor
02-18-2013, 07:48 PM
Each client has a hard cap on the spell ID. Looks like you discovered the RoF limit :) To the best of my knowledge there is no ID limit set in eqemu source.

NatedogEZ
02-18-2013, 08:20 PM
On live RoF ... you can go over 32,768 spells...

RoF spell list has over 37,000++ spells

The limit is in the source :(

Drajor
02-18-2013, 09:55 PM
I looked deeper into this and my understand is as follows: The server does not limit the spell ID. The number of spells available is equal to the maximum spell ID in the DB + 1.

See zone/net.cpp - GetMaxSpellID() and LoadSPDat()

I am curious though so I will do some tests and see if I can get the RoF client limit.

NatedogEZ
02-18-2013, 10:21 PM
Check this link .. almost everywhere you find a spell_id they have it set to int16

https://code.google.com/p/projecteqemu/source/search?q=%22int16+spell_id%22&origq=%22int16+spell_id%22&btnG=Search+Trunk

NatedogEZ
02-19-2013, 04:12 PM
Well I am stupid... I was using my HoT client... seems to have a 32,768 limit on Memspells

(On RoF I can mem the spells)


Now that I am on my RoF client though... there is still the limit of Proceffect / clickeffect / worneffect on items that have spells IDs over 32,768 --- the spells don't show up on the item.. but for things like proceffect they still work.

Click effects wont allow me to click them they also don't show up.





Edit --


Spells over 45,000 will not show up in my spell book -- maybe thats the limit for RoF oh well

wolfwalkereci
02-19-2013, 04:20 PM
Nate if worse case its not something that can be fixed I would suggest you delete about 2500 of the worthless spells from the stock spell file or you can use perl to handle it.

lerxst2112
02-19-2013, 04:41 PM
Since all the spells/items work on live you shouldn't have to delete anything from the spell file to get the same behavior when using the same client on the emu. Yes, I know the RoF we support is a few patches behind what's live right now, but it hasn't changed that much.

NatedogEZ
02-19-2013, 04:49 PM
Only things RoF can't handle on EMU it seems is....

Items that have click / proc / worns over 32,768 (they dont show up)

PROCS will WORK thought from that item

Click will NOT work -- you cant click the item.

Worn / Focus effecst DO NOT work.


Max spell limit on RoF is 45,000. So anything under 45,000 should work on items as well correct?

I can actually Mem the spells under 45,000 and use them on my casters. however... the command to unmemspells only does the first 32,768 spells.


So the perl command to remove spells would need to be updated to remove higher spell IDs from RoF clients.

demonstar55
02-19-2013, 05:00 PM
This issue has been noted on GitHub https://github.com/EQEmu/Server/issues/7

Zamthos
02-19-2013, 05:16 PM
I would love to see the cap raised as well, whether or not it is a hard-cap, I don't know for sure, but it would surely allow more room for custom development.