Re: [REL]tfile 3.0 Best file system! -
Terminator3 - 16.07.2012
Quote:
Originally Posted by NeyMar96
If the server shutdown it not save the data
|
Fixed
If still not saves, it not my fault that sa:mp is closing faster than function can end operation
Re: [REL]tfile 3.0 Best file system! -
TheArcher - 16.07.2012
Quote:
Originally Posted by Terminator3
Fixed
If still not saves, it not my fault that sa:mp is closing faster than function can end operation
|
Just set a timer.
Re: [REL]tfile 3.0 Best file system! -
Terminator3 - 16.07.2012
Quote:
Originally Posted by TheArcher
Just set a timer.
|
I don't understand what you mean?
timer for update the file data? then do not say it to me :P
but to me sa:mp should turn off after completing all the functions in OnGameModeExit
Re: [REL]tfile 3.0 Best file system! -
NeyMar96 - 16.07.2012
You know why it not save?
PHP код:
public OnGameModeExit()
{
foreach(Player, i) SaveInfo(i);
return 1;
}
stock SaveInfo(playerid)
{
if(!PlayerInfo[playerid][Logged] && fKeyExist(UserFile(playerid), "Password"))
{
fSaveData(UserFile(playerid),"Level<d>Kills<d>AdminLevel<d>", PlayerInfo[playerid][Level], PlayerInfo[playerid][Kills],PlayerInfo[playerid][AdminLvl]);
}
return 1;
}
Re: [REL]tfile 3.0 Best file system! -
TheArcher - 16.07.2012
Quote:
Originally Posted by Terminator3
I don't understand what you mean?
timer for update the file data? then do not say it to me :P
but to me sa:mp should turn off after completing all the functions in OnGameModeExit
|
I mean setting a timer to save the files before the server closes.
Re: [REL]tfile 3.0 Best file system! -
Terminator3 - 16.07.2012
Код:
fKeyExist(UserFile(playerid), "Password"))
why do you check that?
better not use fuction (stock), paste the code to callback and try to not use UserFile(playerid) twice
Quote:
Originally Posted by TheArcher
I mean setting a timer to save the files before the server closes.
|
The server can be turned off in different ways
What, if hosting turns it off or someone type the command 'rcon exit'
Re: [REL]tfile 3.0 Best file system! -
NeyMar96 - 16.07.2012
To check if have file.
And it still not save..
Re: [REL]tfile 3.0 Best file system! -
Terminator3 - 16.07.2012
Quote:
Originally Posted by NeyMar96
To check if have file.
|
fexist was deleted ? I have not heard
Re: [REL]tfile 3.0 Best file system! -
NeyMar96 - 18.07.2012
Quote:
Originally Posted by Terminator3
fexist was deleted ? I have not heard
|
You can to create for me Registration system please?
Re: [REL]tfile 3.0 Best file system! -
Terminator3 - 18.07.2012
Quote:
Originally Posted by NeyMar96
You can to create for me Registration system please?
|
Maybe, but you must describe me exactly what you want to save in files etc.
and you must also count with that, I will release the system on forum for free
Re: [REL]tfile 3.0 Best file system! -
Prumpuz - 20.07.2012
Sorry for late reply, haven't had much time to test this. But I re-downloaded it and it seems to work fine for me now. This plugin seems very nice. Thank you for sharing Terminator3.
Re: [REL]tfile 3.0 Best file system! -
devil77771 - 24.08.2012
[03:03:37] Loading plugin: tfile.so
[03:03:38] Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by plugins/tfile.so))
Re: [REL]tfile 3.0 Best file system! -
Terminator3 - 24.08.2012
Quote:
Originally Posted by devil77771
[03:03:37] Loading plugin: tfile.so
[03:03:38] Failed (/usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.9' not found (required by plugins/tfile.so))
|
You have VPS or this is some hosting?
wrong version of lib file, you have to update this file or packet or re compile plugin on this lib version
Re: [REL]tfile 3.0 Best file system! -
devil77771 - 25.08.2012
Popular game hosting, not VPS
Re: [REL]tfile 3.0 Best file system! -
Terminator3 - 26.08.2012
Try them support section