World Crash, Spell Mastery data

Old bugs stored here for reference.
Locked
User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

World Crash, Spell Mastery data

Post by John Adams » Thu Jun 19, 2014 3:26 pm

Stack:

Code: Select all

>	EQ2World.exe!SpellProcess::ProcessSpell(ZoneServer * zone, Spell * spell, Entity * caster, Spawn * target, bool harvest_spell, Client * client)  Line 853 + 0xb bytes	C++
 	EQ2World.exe!ZoneServer::ProcessSpell(Spell * spell, Entity * caster, Spawn * target, bool lock, bool harvest_spell)  Line 4713	C++
 	EQ2World.exe!Commands::Process(unsigned int index, EQ2_16BitString * command_parms, Client * client)  Line 1117	C++
 	EQ2World.exe!Client::HandlePacket(EQApplicationPacket * app)  Line 1457	C++
 	EQ2World.exe!ZoneServer::ClientProcess()  Line 2616 + 0x2a bytes	C++
 	EQ2World.exe!ZoneServer::Process()  Line 1206	C++
 	EQ2World.exe!ZoneLoop(void * tmp)  Line 5590 + 0xa bytes	C++
 	EQ2World.exe!_callthreadstart()  Line 293 + 0x6 bytes	C
 	EQ2World.exe!_threadstart(void * ptd)  Line 275 + 0x5 bytes	C
 	kernel32.dll!77e6481f() 	
 	[Frames below may be incorrect and/or missing, no symbols loaded for kernel32.dll]	
Code:

Code: Select all

				if (spell->GetSpellData()->mastery_skill != tradeskill->recipe->GetTechnique()) 
				{
					// send a message to the client, used chat_relationship to match other tradeskill messages, not sure if it is accurate though
==> here				client->Message(CHANNEL_COLOR_CHAT_RELATIONSHIP, "You are not using %s on this recipe.", master_skill_list.GetSkill(spell->GetSpellData()->mastery_skill)->name.data.c_str());

					// Write a spell debug message on why we couldn't cast
					LogWrite(SPELL__DEBUG, 1, "Spell", "%s could not cast tradeskill spell (%s), skills did not match. spell mastery skill = %lu, tradeskill technique = %lu", caster->GetName(), spell->GetName(), spell->GetSpellData()->mastery_skill, tradeskill->recipe->GetTechnique());
Null values:
var.jpg
You do not have the required permissions to view the files attached to this post.

Dello0000
Posts: 175
Joined: Fri May 30, 2014 9:18 am
EQ2Emu Server: MHM Laneth
Characters: Dello - Dellos
Location: Scotland!
Contact:

Re: World Crash, Spell Mastery data

Post by Dello0000 » Wed Jun 25, 2014 4:00 am

Spell mastery data is just gobbledygook to me lol, but im back from a week and a half of lan so ill be back to work now :p

Also, what changed? cant seem to get into the server, old clients need updating?
I cant see it killing the server but it may have an incorrect tooltip. Muhahaha :twisted:

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: World Crash, Spell Mastery data

Post by Jabantiz » Wed Jun 25, 2014 4:16 pm

pic looks like spell is not valid, we must be missing a check or a return in that function
Dello0000 wrote:Also, what changed? cant seem to get into the server, old clients need updating?
DB server seems to be down, I tried to remote connect and restart it but doesn't seem to have worked, John will have to look into it when he gets a chance.

User avatar
thefoof
Retired
Posts: 630
Joined: Wed Nov 07, 2012 7:36 pm
Location: Florida

Re: World Crash, Spell Mastery data

Post by thefoof » Wed Jun 25, 2014 9:04 pm

There is an option to restart the DB project server via the editor in the Admin section.

Jabantiz
Lead Developer
Posts: 2912
Joined: Wed Jul 25, 2007 2:52 pm
Location: California

Re: World Crash, Spell Mastery data

Post by Jabantiz » Wed Jun 25, 2014 9:06 pm

yea, I did it with putty out of force of habit, said everything went fine but the server never seemed to connect to the login server so not sure what is going on.

User avatar
thefoof
Retired
Posts: 630
Joined: Wed Nov 07, 2012 7:36 pm
Location: Florida

Re: World Crash, Spell Mastery data

Post by thefoof » Wed Jun 25, 2014 9:10 pm

Hmm, I'll try and connect in, login could be stuck or something too. Also, I'm pretty sure that crash was actually SpellData being invalid, no clue how that could happen.

EDIT: No clue...I restarted login and db proj from putty and it's still not connected.

Dello0000
Posts: 175
Joined: Fri May 30, 2014 9:18 am
EQ2Emu Server: MHM Laneth
Characters: Dello - Dellos
Location: Scotland!
Contact:

Re: World Crash, Spell Mastery data

Post by Dello0000 » Thu Jun 26, 2014 1:33 am

Yeah, i restarted the world but it didn't seem to do anything, so instead of just powering through the bruiser spells to find that they don't work ill just wait until the server is back up and running before i continue :)
I cant see it killing the server but it may have an incorrect tooltip. Muhahaha :twisted:

User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

Re: World Crash, Spell Mastery data

Post by John Adams » Fri Jun 27, 2014 6:29 pm

I seriously have no idea what's going on with (all) my services, guys. It seems once a month, every single thing goes to total shit. I'll reboot everything.

Locked

Who is online

Users browsing this forum: No registered users and 1 guest