[Help] No items saving after log out
After fixing most db errors I took a long think into why the database does not save the items you pick up nor does it save character time player zombie xp or anything like that I have check logss and it seems the server isnt sending the item pickup info to the database/api Same with time played which is weird because if you goto userdata it has recorded your time played.
If anyone has fixed this it would be amazing if you could give it to me and the community of ragezone I will be happy to help people if they find a brake through to this problem :D
Kind Regards
Beastgameer
Re: [Help] Doom mmo v3 No items saving after log out
I like the same problem I think is the problem in the function :/
Re: [Help] Doom mmo v3 No items saving after log out
http://www.youtube.com/watch?v=dcbM2RLV9kE
Use the ISS API Source
I Fix All Working!
Re: [Help] Doom mmo v3 No items saving after log out
I have the same problem... I also tried both APIs - Doom's and untouched ISS's, but still the same, game progress is not saving.
Re: [Help] Doom mmo v3 No items saving after log out
Quote:
Originally Posted by
jacubb
I have the same problem... I also tried both APIs - Doom's and untouched ISS's, but still the same, game progress is not saving.
All Source IP Check
Re: [Help] No items saving after log out
Tandoh Ok if you give me that api and your database i will give you stuff in return
And you can work with me and my dev team I have a dedi which has 64gb ram 16 cores and 1tb connection route
- - - Updated - - -
@tandoh Ok if you give me that api and your database i will give you stuff in return
And you can work with me and my dev team I have a dedi which has 64gb ram 16 cores and 1tb connection route
Re: [Help] No items saving after log out
Open WarZ_Server.sln
search in AsyncFuncs.cpp:
PHP Code:
int CJobUpdateChar::Exec()
{
float startTime = r3dGetTime();
bool updateCharEnable=false;
change this:
PHP Code:
bool updateCharEnable=true;
save and recompile solution
Re: [Help] No items saving after log out
Quote:
Originally Posted by
AlexRedd
Open
WarZ_Server.sln
search in
AsyncFuncs.cpp:
PHP Code:
int CJobUpdateChar::Exec()
{
float startTime = r3dGetTime();
bool updateCharEnable=false;
change this:
PHP Code:
bool updateCharEnable=true;
save and recompile solution
Thank you so much I hope this works Im on my phone so I can't test this FINGERS CROSSED this will work and I will give you much love if it does work :D
Re: [Help] No items saving after log out
Quote:
Originally Posted by
beastgameer
After fixing most db errors I took a long think into why the database does not save the items you pick up nor does it save character time player zombie xp or anything like that I have check logss and it seems the server isnt sending the item pickup info to the database/api Same with time played which is weird because if you goto userdata it has recorded your time played.
If anyone has fixed this it would be amazing if you could give it to me and the community of ragezone I will be happy to help people if they find a brake through to this problem :D
Kind Regards
Beastgameer
which source you are using?
InfestationTH or src modified by doom ?
Re: [Help] No items saving after log out
WarZ_Se Abertas
olhar para este código e remover
#ifdef DISABLE_GI_ACCESS_ON_PTE_MAP
if (gServerLogic.ginfo_.channel == 6) // server ambiente de teste público, não guardar qualquer informação sobre player, como os mapas pode ter jogo quebrando saque \ mudanças, então vamos não propagá-los para o resto do jogo
updateCharEnable = false;
endif
DISABLE_GI_ACCESS_ON_PTE_STRONGHOLD_MAP #ifdef
if (gServerLogic.ginfo_.channel == 6 && gServerLogic.ginfo_.mapId == GBGameInfo :: MAPID_WZ_Cliffside) // servidor ambiente de teste público, não salvar qualquer informação sobre player, como os mapas pode ter jogo quebrando saque \ mudanças, então não vamos propagar-los para o resto do jogo
updateCharEnable = false;
endif
#ifdef
-lo parecido com este
int CJobUpdateChar :: Exec ()
{
flutuar startTime = r3dGetTime ();
bool updateCharEnable = verdadeiro ;
if (updateCharEnable)
{
const wiCharDataFull & slot = CharData;
Pugi :: xml_document xmlFile;
CUserProfile :: SaveCharData (slot, xmlFile) ;
xml_string_writer xmlBuf;
xmlFile.save (xmlBuf, "", Pugi :: format_raw);
std :: string XmlCharData = xmlBuf.out_;
req CWOBackendReq ("api_SrvCharUpdate.aspx");
req.AddSessionInfo (Cliente, SessionID);
req. AddParam ("skey1", g_ServerApiKey);
req.AddParam ("ChariD", slot.LoadoutID);
// status de personagem
de char strGamePos [256];
sprintf (strGamePos, "% .3f% .3f% .3f% .0f" , slot.GamePos.x, slot.GamePos.y, slot.GamePos.z, slot.GameDir);
req.AddParam ("s1", slot.Alive);
req.AddParam ("s2", strGamePos);
req. AddParam ("s3", (int) slot.Health);
req.AddParam ("S4", (int) slot.Hunger);
req.AddParam ("S5", (int) slot.Thirst);
req.AddParam ( "S6", (int) slot.Toxic);
req.AddParam ("S7", slot.Stats.TimePlayed);
req.AddParam ("S8", slot.Stats.XP);
req.AddParam ("S9", slot.Stats.Reputation);
req.AddParam ("SA", slot.GameFlags);
req.AddParam ("sb", GD_Diff);
req.AddParam ("SC", XmlCharData.c_str ());
req.AddParam ( "R1", ResWood);
req.AddParam ("r2", ResStone);
req.AddParam ("R3", ResMetal);
// r3dOutToLog ("!!! Pos conservadas:% s \ n ", strGamePos);
UpdateChar_SetAttachments (req, slot);
UpdateChar_SetBackpack (req, CharData, OldData);
// estatísticas rastreável
req.AddParam ("ts00", slot.Stats.KilledZombies);
req.AddParam ("ts01", slot.Stats.KilledSurvivors);
req.AddParam ("TS02", slot.Stats.KilledBandits);
req.AddParam ("TS03", 0);
req.AddParam ("ts04", 0);
req .AddParam ("ts05", 0);
if (req.Issue (!))
{
r3dOutToLog ("!!!! UpdateCharThread falhou, código:% d, ans:% s \ n", req.resultCode_, req.bodyStr_ );
retornar req.resultCode_;
}
}
if (Disconnect)
{
flutuar sleepTime = r3dGetTime () - startTime + DISCONNECT_WAIT_TIME;
if (sleepTime> 0)
:: Sleep ((int) (sleepTime * 1000));
}
return 0;
}
Re: [Help] No items saving after log out
Quote:
Originally Posted by
AlexRedd
Open
WarZ_Server.sln
search in
AsyncFuncs.cpp:
PHP Code:
int CJobUpdateChar::Exec()
{
float startTime = r3dGetTime();
bool updateCharEnable=false;
change this:
PHP Code:
bool updateCharEnable=true;
save and recompile solution
thanks for this tut ... worked for me !