Posts: 76
Threads: 20
Joined: Jul 2014
Reputation:
0
I have a problem which appear only sometimes after the server stayed online more than 24 hours without an restart:
-GeoIP plugin shows at country, ISP and City everytime "unknown".
-I can't add NPCs (some problem with editing npcmodels i think).
-I can't send rcon commands.
Everybody knows why this happens...and when?
Posts: 277
Threads: 40
Joined: Sep 2012
Reputation:
0
Something going wrong with your server.cfg
Posts: 76
Threads: 20
Joined: Jul 2014
Reputation:
0
These problems are appearing only sometimes and today i saw that the problem appear just after i use SendRconCommand("gmx");
Gmx should cause my problems?
Posts: 879
Threads: 63
Joined: May 2015
Reputation:
0
You should not use gmx, if there some FS ( mapping or function ) . Close the server, and open it again. problem will be fix.
Posts: 76
Threads: 20
Joined: Jul 2014
Reputation:
0
Bump.
I saw that i cant do everything in the scriptfiles folder while this problem appear.
Posts: 76
Threads: 20
Joined: Jul 2014
Reputation:
0
I dont have rcon blockers
I have maxnpc 50 at server.cfg.
I have "samp-npc" file on my linux server in root.
Geoip plugin is last version.
I just looked to my problem, and i saw that my problem is not geoip, samp-npc or server.cfg. My problem is that my gamemode is not allowed to acces scriptfiles folder (in scriptfiles folder are npcmodels and geoip databases). I have a simple stock like "writelog(filename[],string[])" which writes to a log located in scriptfiles folder. Everytime my script say that it cant open the file (because the scriptfiles folder is blocked i think).
This problem appears only sometimes, after...20-24 hours from the server restart. After a server restart, all looks great.
This would appear when my host is out of RAM memory or something like that?