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, 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
  #2  
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
  #3  
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
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 06:42 AM.


 

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