Page 1 of 1

[Solved] World Server crashing after character creation

Posted: Thu Sep 25, 2014 9:05 am
by Volt
Bug in Public SVN rev 665: World Server will crash right after a new character is created.

I am the one that triggered the issue (while implementing resting - sorry for not noticing in my own testing) so I will be the one fixing it. I will need a few days to redesign and test a proper solution though.

Meanwhile,
band aid for Public SVN rev 665:

In WorldDatabase.cpp, replace line 361 with

Code: Select all

try { //band aid.
	character->SetLocation(FVector(result.GetFloatStr("current_x"), result.GetFloatStr("current_y"), result.GetFloatStr("current_z"))); } 
catch (const bad_weak_ptr&) {
	// "eat" the exception 
}	
band aid for dev SVN:
committed as Rev 668

---
Edit: redesign = solved as of Rev 674