Page 1 of 1

World Crash, Spell Mastery data

Posted: Thu Jun 19, 2014 3:26 pm
by John Adams
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

Re: World Crash, Spell Mastery data

Posted: Wed Jun 25, 2014 4:00 am
by Dello0000
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?

Re: World Crash, Spell Mastery data

Posted: Wed Jun 25, 2014 4:16 pm
by Jabantiz
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.

Re: World Crash, Spell Mastery data

Posted: Wed Jun 25, 2014 9:04 pm
by thefoof
There is an option to restart the DB project server via the editor in the Admin section.

Re: World Crash, Spell Mastery data

Posted: Wed Jun 25, 2014 9:06 pm
by Jabantiz
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.

Re: World Crash, Spell Mastery data

Posted: Wed Jun 25, 2014 9:10 pm
by thefoof
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.

Re: World Crash, Spell Mastery data

Posted: Thu Jun 26, 2014 1:33 am
by Dello0000
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 :)

Re: World Crash, Spell Mastery data

Posted: Fri Jun 27, 2014 6:29 pm
by John Adams
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.