Well i am working on the Deathmatch system. From the Exo source..
All is well and its also playable.
The only thing that bugs me is that when the Deathmatch is over the Deathmatch status window is not refreshing with an empty one.
I will explain it with an picture.
As you can see there is data in it.
What i did next was open up deathmatch.cpp and looked for this code
else if( DM_STATE == DM_END )
In this code
else if( DM_STATE == DM_TELE_FLARIS )
Above the
g_DPCoreClient.SendSystem("The survival ended !");
I have put this in it.
DeleteTender();
In deathmatch.h
I have made an new Void
void DeleteTender()
{
FILE* fp;
char* szString = new char[64];
fp = fopen( "DEATHMATCH_TENDER_DB.txt" , "w" );
if( fp == NULL )
return;
fclose(fp);
};
So what it does now is replacing the .txt file with nothing.
Now when the deathmatch is over it the status of the deathmatch is empty.
But when an player is submitting for deathmatch then all the old players are once again there, Unless i restard the worldserver then its totaly empty.
So i guess some where else its remembering the names for it. But i dont know where and i dont know how to fix it. Tried different things inside the deathmatch.cpp / .h file but everytime an player is submitting for deathmatch the old players are automaticly there.
Does anyone of you have an idea on how to solve it and or where to look for this. So that if the deathmatch is over then all the players need to submit their application again?
I hope i have explained it well enough if not then comment and i will explain it better,
With kind regards






