NPCs not exiting after server
#1

When i start a local server(windows) it loads my own gm witch has all the npc code in it. and normally when i start the all connect and the log shows what they are doing for example
Код:
[23:34:27] Incoming connection: 127.0.0.1:2989
[23:34:27] [npc:join] TrainDriverLV has joined the server (0:127.0.0.1)
[23:34:27] TrainDriverLV joined the server From Private IP
[23:34:27] ( 0 ) TrainDriverLV joined the server ( 127.0.0.1 )
[23:34:27] Incoming connection: 127.0.0.1:2991
[23:34:27] [npc:join] TrainDriverLS has joined the server (1:127.0.0.1)
[23:34:27] TrainDriverLS joined the server From Private IP
[23:34:27] ( 1 ) TrainDriverLS joined the server ( 127.0.0.1 )
[23:34:27] Incoming connection: 127.0.0.1:2990
[23:34:27] [npc:join] TrainDriverSF has joined the server (2:127.0.0.1)
[23:34:27] TrainDriverSF joined the server From Private IP
[23:34:27] ( 2 ) TrainDriverSF joined the server ( 127.0.0.1 )
[23:34:27] Incoming connection: 127.0.0.1:2993
[23:34:27] [npc:join] PilotSF has joined the server (3:127.0.0.1)
[23:34:27] PilotSF joined the server From Private IP
[23:34:27] ( 3 ) PilotSF joined the server ( 127.0.0.1 )
[23:34:27] Incoming connection: 127.0.0.1:2992
[23:34:27] [npc:join] PilotLV has joined the server (4:127.0.0.1)
[23:34:27] PilotLV joined the server From Private IP
[23:34:27] ( 4 ) PilotLV joined the server ( 127.0.0.1 )
[23:34:27] Incoming connection: 127.0.0.1:2994
[23:34:27] [npc:join] PilotLS has joined the server (5:127.0.0.1)
[23:34:27] PilotLS joined the server From Private IP
[23:34:27] ( 5 ) PilotLS joined the server ( 127.0.0.1 )
[23:34:27] Bot TrainDriverLV Has Requested Class
[23:34:27] Bot TrainDriverLS Has Requested Class
[23:34:27] Bot TrainDriverSF Has Requested Class
[23:34:27] Bot PilotSF Has Requested Class
[23:34:27] Bot PilotLV Has Requested Class
[23:34:27] Bot PilotLS Has Requested Class
[23:34:27] Bot TrainDriverSF Has Requested Spawn
[23:34:27] Bot PilotSF Has Requested Spawn
[23:34:27] Bot TrainDriverLV Has Requested Spawn
[23:34:27] Bot TrainDriverLS Has Requested Spawn
[23:34:27] Bot PilotLV Has Requested Spawn
[23:34:27] Bot PilotLS Has Requested Spawn
[23:34:27] Bot TrainDriverLV Has Spawned
[23:34:27] Bot TrainDriverLS Has Spawned
[23:34:27] Bot TrainDriverSF Has Spawned
[23:34:28] Bot PilotSF Has Spawned
[23:34:28] Bot PilotLV Has Spawned
[23:34:28] Bot PilotLS Has Spawned
but now(after RC 6-2) they don't connect to the server at all. and when the server exits none of the samp-npc.exe instances close they just keep running and then when i try and use taskmanager to force exit them windows becomes unresponsive. what do you guys think ?
Reply
#2

yep can confirm this:

Reply
#3

i dont think you need to start samp-npc at all, i dont have this problem. sounds like your pc is the problem not closing it.
Reply
#4

Quote:
Originally Posted by V1ceC1ty
i dont think you need to start samp-npc at all, i dont have this problem. sounds like your pc is the problem not closing it.
What's the point of having an exe if it's not being executed. executable. It just hasn't got a GUI and the system runs it as a process to run NPCs.
Reply
#5

well i dont run it and all my npcs work.
Reply
#6

Quote:
Originally Posted by V1ceC1ty
well i dont run it and all my npcs work.
It auto runs on when you run the server exe
Reply
#7

Quote:
Originally Posted by FUNExtreme
Quote:
Originally Posted by V1ceC1ty
well i dont run it and all my npcs work.
It auto runs on when you run the server exe
I always never run it, it automatically starts i never run the npc exe
Reply
#8

the samp-npc.exe is run when ever your scripts have a bot connect to your server, and it will run the executable with as many instances and there are npcs
Reply
#9

Quote:
Originally Posted by V1ceC1ty
well i dont run it and all my npcs work.
Common sense, read my post. It AUTOSTARTS itself.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)