NPC connecting problem on linux server
#1

Hi, yesterday I bought VPS from samp4you and I noticed that NPC cannot connect I don't know why it's happening but on my windows computer it's always working..

This is what I getting on the linux server all the time:

[08/01/2018 21:57:43] [connection] incoming connection: 87.98.244.35:45462 id: 0
[08/01/2018 21:57:43] [connection] incoming connection: 87.98.244.35:38792 id: 1
[08/01/2018 21:57:43] [connection] incoming connection: 87.98.244.35:40343 id: 2
[08/01/2018 21:57:43] [connection] incoming connection: 87.98.244.35:33591 id: 3
[08/01/2018 21:57:43] [connection] incoming connection: 87.98.244.35:54108 id: 4
[08/01/2018 21:57:43] [connection] incoming connection: 87.98.244.35:55459 id: 5
[08/01/2018 21:57:43] [connection] incoming connection: 87.98.244.35:45445 id: 6
[08/01/2018 21:57:43] [connection] incoming connection: 87.98.244.35:57421 id: 7
[08/01/2018 21:57:43] [connection] incoming connection: 87.98.244.35:46751 id: 8
[08/01/2018 21:57:43] [connection] incoming connection: 87.98.244.35:51114 id: 9
[08/01/2018 21:57:43] [connection] incoming connection: 87.98.244.35:48856 id: 10
[08/01/2018 21:57:43] [connection] incoming connection: 87.98.244.35:45319 id: 11
[08/01/2018 21:57:43] [connection] incoming connection: 87.98.244.35:38376 id: 12
[08/01/2018 21:57:45] Server password has been removed.
[08/01/2018 21:57:45] Total bots connected in gamemode: 0


+REP if you help me
Reply
#2

You sure u got the max npc in server.cfg param above 0...?
Reply
#3

Quote:
Originally Posted by RogueDrifter
Посмотреть сообщение
You sure u got the max npc in server.cfg param above 0...?
Yes, it's set to maxnpc 13 but then they crash immediately

from server_log:
[09/01/2018 17:30:44] [connection] incoming connection: 87.98.244.35:33016 id: 0
[09/01/2018 17:30:44] [connection] incoming connection: 87.98.244.35:58408 id: 1
[09/01/2018 17:30:44] [connection] incoming connection: 87.98.244.35:45133 id: 2
[09/01/2018 17:30:44] [connection] incoming connection: 87.98.244.35:55120 id: 3
[09/01/2018 17:30:44] [connection] incoming connection: 87.98.244.35:45892 id: 4
[09/01/2018 17:30:44] [connection] incoming connection: 87.98.244.35:35646 id: 5
[09/01/2018 17:30:44] [connection] incoming connection: 87.98.244.35:45581 id: 6
[09/01/2018 17:30:44] [connection] incoming connection: 87.98.244.35:47963 id: 7
[09/01/2018 17:30:44] [connection] incoming connection: 87.98.244.35:56991 id: 8
[09/01/2018 17:30:44] [connection] incoming connection: 87.98.244.35:53819 id: 9
[09/01/2018 17:30:44] [connection] incoming connection: 87.98.244.35:42578 id: 10
[09/01/2018 17:30:44] [connection] incoming connection: 87.98.244.35:45839 id: 11
[09/01/2018 17:30:44] [connection] incoming connection: 87.98.244.35:35904 id: 12
[09/01/2018 17:30:44] [npc:join] Dragon_Bot has joined the server (0:87.98.244.35)
[09/01/2018 17:30:44] [npc:join] HydraLV_Bot has joined the server (1:87.98.244.35)
[09/01/2018 17:30:44] [npc:join] BusLV_Bot has joined the server (2:87.98.244.35)
[09/01/2018 17:30:44] [npc:join] BusLV_Bot2 has joined the server (3:87.98.244.35)
[09/01/2018 17:30:44] [npc:join] Bank_Bot has joined the server (4:87.98.244.35)
[09/01/2018 17:30:44] [npc:join] HunterLV_Bot has joined the server (5:87.98.244.35)
[09/01/2018 17:30:44] [npc:join] HydraLV_Bot2 has joined the server (6:87.98.244.35)
[09/01/2018 17:30:44] [npc:join] HydraStunt_Bot has joined the server (7:87.98.244.35)
[09/01/2018 17:30:44] [npc:join] Bus_Bot has joined the server (8:87.98.244.35)
[09/01/2018 17:30:44] [npc:join] Train_Bot has joined the server (9:87.98.244.35)
[09/01/2018 17:30:44] [npc:join] Tank_Bot has joined the server (10:87.98.244.35)
[09/01/2018 17:30:44] [npc:join] Train_Bot2 has joined the server (11:87.98.244.35)
[09/01/2018 17:30:44] [npc:join] Fastly_Bot has joined the server (12:87.98.244.35)
[09/01/2018 17:30:45] Server password has been removed.
[09/01/2018 17:30:46] Total bots connected in gamemode: 13.
[09/01/2018 17:30:48] Loading objects.. Please wait.
[09/01/2018 17:30:48] Total objects loaded in gamemode: 13686.
[09/01/2018 17:30:50] Loading vehicles.. Please wait.
[09/01/2018 17:30:50] Total vehicles loaded in gamemode: 817.
[09/01/2018 17:30:54] [npcart] Dragon_Bot has left the server (0:0)
[09/01/2018 17:30:54] [npcart] HydraLV_Bot has left the server (1:0)
[09/01/2018 17:30:54] [npcart] BusLV_Bot has left the server (2:0)
[09/01/2018 17:30:54] [npcart] BusLV_Bot2 has left the server (3:0)
[09/01/2018 17:30:54] [npcart] Bank_Bot has left the server (4:0)
[09/01/2018 17:30:54] [npcart] HunterLV_Bot has left the server (5:0)
[09/01/2018 17:30:54] [npcart] HydraLV_Bot2 has left the server (6:0)
[09/01/2018 17:30:54] [npcart] HydraStunt_Bot has left the server (7:0)
[09/01/2018 17:30:54] [npcart] Bus_Bot has left the server (8:0)
[09/01/2018 17:30:54] [npcart] Train_Bot has left the server (9:0)
[09/01/2018 17:30:54] [npcart] Tank_Bot has left the server (10:0)
[09/01/2018 17:30:54] [npcart] Train_Bot2 has left the server (11:0)
[09/01/2018 17:30:54] [npcart] Fastly_Bot has left the server (12:0)
Reply
#4

Did you upload the npc records? Also are the files announce.exe and samp-npc.exe in the folder?
also connect your npcs?

ConnectNPC("Amenadiel","LARPFishingnpc");
Reply
#5

Quote:
Originally Posted by jasperschellekens
Посмотреть сообщение
Did you upload the npc records? Also are the files announce.exe and samp-npc.exe in the folder?
also connect your npcs?

ConnectNPC("Amenadiel","LARPFishingnpc");
Yea I uploaded all the windows server package 0.3.7-R2 to the FTP (I bought a NEW VPS supporting windows version)

So ALL of my NPCs are timing out when im starting the server idk why this happens because when I starting the same package of my server at my own forwarded wifi port NPCs are not timing out at all


echo Executing
lanmode 0
rcon_password ------Hidden-------
maxplayers 60
port 7797
hostname New SA-MP Server
gamemode0 fastlydm
filterscripts geoip
plugins sscanf streamer1 mapandreas geoip
announce 1
query 1
logtimeformat [%d/%m/%Y %H:%M:%S]
weburl steamcommunity.com/id/PLAYERBEST
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 13
mapname San Andreas
lagcompmode 0
logqueries 0
cookielogging 0
conncookies 0
playertimeout 1000
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)