Crash OnDropItem

07/14/2015 01:49 sebariio#1
Hi
I have a little problem with my server:

[Only registered and activated users can see links. Click Here To Register...]

When i delete with the garbage, item has been deleted and if i click on "Ok" on the seconde windows, my server crash

Anyone know a fix for that?
thanks
07/14/2015 07:05 xTwiLightx#2
Debug your server, this is the best approach a developer can do, as always.
07/14/2015 13:52 sebariio#3
i can't debug
07/14/2015 14:15 xTwiLightx#4
You start your server in your IDE via Debug command, everyone (who should had at least a few minutes of reading the basics of development with Visual C++) can do this.
07/14/2015 14:35 sebariio#5
i know how to start in debug mod but i can't because databaseserver and worldserver need databaseserver.ini and worldserver.ini
07/14/2015 14:39 xTwiLightx#6
That's because this one probably:

Code:
#if defined(__INTERNALSERVER)
	static char g_szINI[] = "databaseserver.ini";
#else
	static char g_szINI[] = "..\\script\\databaseserver.ini";
#endif



#ifdef __IDC
static char  		g_szINI[] = "..\\script\\WorldServer.ini";
#else	
static char  		g_szINI[] = "WorldServer.ini";
#endif

If you are in Debug mode, copy your ini files into your resource folder.
07/14/2015 16:08 Mognakor#7
Or just set the execution path...