[Plugin] [REL]tfile 3.0 Best file system!
#21

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
Reply
#22

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.
Reply
#23

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
Reply
#24

You know why it not save?

PHP код:
public OnGameModeExit()
{
foreach(
PlayeriSaveInfo(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;

Reply
#25

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.
Reply
#26

Код:
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'
Reply
#27

To check if have file.

And it still not save..
Reply
#28

Quote:
Originally Posted by NeyMar96
Посмотреть сообщение
To check if have file.
fexist was deleted ? I have not heard
Reply
#29

Quote:
Originally Posted by Terminator3
Посмотреть сообщение
fexist was deleted ? I have not heard
You can to create for me Registration system please?
Reply
#30

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
Reply
#31

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.
Reply
#32

[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))
Reply
#33

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
Reply
#34

Popular game hosting, not VPS
Reply
#35

Try them support section
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)