Posts: 1,498
Threads: 110
Joined: Aug 2013
Basically when i launch a server in localhost the NPC's works perfectly fine as they're supposed to.However in my linux they disconnect i've added a debug message to show me the reason and this shows up
[10:13:31] NPC 21 disconnected (reason: 0).
[10:13:31] [npc
art] Zombie[22] has left the server (21:0)
What's causing this? Reason:0? What does it even mean?
Posts: 1,498
Threads: 110
Joined: Aug 2013
So pretty much after searching for about an hour I've came to some results..
0 means time-out but why? I've just tested it in localhost (windows) and it works but in linux they time out for no reason at all , could the error be with permissions ? Maybe npcmodes needs 777 perms to write? I'm using RNPC by the way.
Posts: 1,498
Threads: 110
Joined: Aug 2013
So with those information provided could anyone help me solve this problem? It's been like hours im trying to solve this but still they disconnect with the same reason..
Posts: 87
Threads: 2
Joined: Sep 2014
Reputation:
0
I'm not sure about this but there is nothing wrong with a try? check out your 'samp.ban' file in your server directory if it has any IP which is related to NPC's IP (maybe a range)
Posts: 1,498
Threads: 110
Joined: Aug 2013
No Tamy the server doesn't ban the NPC's I've already said that they work perfectly fine in windows.
Posts: 1,498
Threads: 110
Joined: Aug 2013
bump... still can't find a solution
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
You just need to face the fact this this is always going to happen with NPCs happens to me happens to everyone. You need to take some measures to reconnect them plain and simple.
Posts: 1,498
Threads: 110
Joined: Aug 2013
Quote:
Originally Posted by Pottus
You just need to face the fact this this is always going to happen with NPCs happens to me happens to everyone. You need to take some measures to reconnect them plain and simple.
|
Yes but as I said I have to fix this issue of them disconnecting after 5 seconds first they work fine in windows...
Posts: 4,759
Threads: 33
Joined: Dec 2013
Reputation:
0
I can help give a solution, but can anyone send me at least a test server? Please include the plugins and includes in the package.