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 11-19-2010, 10:35 PM
cylynex2
Sarnak
 
Join Date: Jul 2010
Posts: 36
Default Spells that vanish after a relog?

Custom spells seem to be vanishing after relogging. It is still memmed, but does not seem to be in the spellbook anywhere. Ideas? Not even sure which log to look at for this one.
Reply With Quote
  #2  
Old 11-19-2010, 11:42 PM
cylynex2
Sarnak
 
Join Date: Jul 2010
Posts: 36
Default

Sorry, not just after a relog, but anytime you die it disappears.
Reply With Quote
  #3  
Old 11-20-2010, 07:15 PM
cylynex2
Sarnak
 
Join Date: Jul 2010
Posts: 36
Default

Found the solution with some help from Trevius - custom spells were 21086-21098. Apparently there's some problem with scribable spells having IDs that high. I moved the spells to lower IDs and regenerated the spells_us.txt file and it's working fine now.
Reply With Quote
  #4  
Old 11-29-2010, 05:36 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

I think I figured out the reason why this happens and it doesn't look to be a client issue after-all. The problem seems to be from the code here:

client_packet.cpp line 8700:
Code:
	for(uint32 spellInt= 0; spellInt < MAX_PP_SPELLBOOK; spellInt++)
	{
		if (m_pp.spell_book[spellInt] < 3 || m_pp.spell_book[spellInt] > 20000)
			m_pp.spell_book[spellInt] = 0xFFFFFFFF;
	}
I think we just need to change the 20000 there to something more like 30000.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #5  
Old 11-29-2010, 11:57 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

but is there is a hard client cap on max spell id?
Like Titanium only allows 9999 spells?
Reply With Quote
  #6  
Old 11-30-2010, 03:12 AM
trevius's Avatar
trevius
Developer
 
Join Date: Aug 2006
Location: USA
Posts: 5,946
Default

Quote:
Originally Posted by ChaosSlayerZ View Post
but is there is a hard client cap on max spell id?
Like Titanium only allows 9999 spells?
There may be, but I have seen no proof of one yet. I thought this issue was originally proof of a limitation (like maybe 19999), but now I am pretty sure that is not the case.
__________________
Trevazar/Trevius Owner of: Storm Haven
Everquest Emulator FAQ (Frequently Asked Questions) - Read It!
Reply With Quote
  #7  
Old 11-30-2010, 11:52 AM
ChaosSlayerZ's Avatar
ChaosSlayerZ
Demi-God
 
Join Date: Mar 2009
Location: Umm
Posts: 1,492
Default

does this mean that we can actually use spell IDs above 9999 for T client?
Reply With Quote
  #8  
Old 11-30-2010, 12:43 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,450
Default

Quote:
Originally Posted by ChaosSlayerZ View Post
does this mean that we can actually use spell IDs above 9999 for T client?
You can't use IDs above 9999 on titanium due to how it reads the spellfile and how SOE put the buffer size at a fixed rate to only support 10k spells. There's a function within the EQ client that has the actual number in all the clients, in Titanium it is 10000, SoD has 23000, etc.

They appear as unknown spells for the client limitation. If you are able to #cast them and have the effect show up though that's not a client limitation.
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 02:53 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