#1

Now i open my server and all right,
But the NPC get out...
Server log:
[17:14:47] Incoming connection: 127.0.0.1:59352
[17:14:47] [npc:join] Taxi2 has joined the server (0:127.0.0.1)
[17:14:47] Incoming connection: 127.0.0.1:59353
[17:14:47] [npc:join] Taxi3 has joined the server (1:127.0.0.1)
[17:14:47] Incoming connection: 127.0.0.1:59354
[17:14:47] [npc:join] Taxi1 has joined the server (2:127.0.0.1)
[17:14:47] Incoming connection: 127.0.0.1:59355
[17:14:47] [npc:join] Taxi4 has joined the server (3:127.0.0.1)
[17:14:48] [26/10/2009 17:14:48] Player Taxi2 spawned.


[17:14:48] [26/10/2009 17:14:48] Player Taxi3 spawned.


[17:14:48] [26/10/2009 17:14:48] Player Taxi1 spawned.


[17:14:48] [26/10/2009 17:14:48] Player Taxi4 spawned.


[17:14:49] [npcart] Taxi2 has left the server (0:2)
[17:14:49] [npcart] Taxi3 has left the server (1:2)
[17:14:49] [npcart] Taxi1 has left the server (2:2)
[17:14:49] [npcart] Taxi4 has left the server (3:2)
[17:14:55] Incoming connection: 87.68.236.84:1650
[17:14:55] [join] Michel_Armndo has joined the server (0:87.68.236.84)
[17:14:55] [26/10/2009 17:14:55] Player: Michel_Armndo || ID: 0 || IP: 87.68.236.84 connected.


[17:14:59] Michel_Armndo has logged in.
[17:14:59] [26/10/2009 17:14:59] Player Michel_Armndo spawned.


[17:15:18] AdmCmd: Michel_Armndo has promoted Michel_Armndo to a level 0 admin.
[17:15:21] Incoming connection: 10.0.0.1:59356
[17:15:22] [join] Brian_Vice has joined the server (1:10.0.0.1)
[17:15:22] [26/10/2009 17:15:22] Player: Brian_Vice || ID: 1 || IP: 10.0.0.1 connected.


[17:15:24] [part] Michel_Armndo has left the server (0:2)
[17:15:25] Brian_Vice has logged in.
[17:15:25] [26/10/2009 17:15:25] Player Brian_Vice spawned.


[17:15:32] [26/10/2009 17:15:32] Brian_Vice entered a vehicle. (ID 129)


[17:16:05] [26/10/2009 17:16:05] Brian_Vice entered a vehicle. (ID 129)

Reply
#2

Have you checked the NPC tutorial topic?
Reply
#3

Yes, nothing dont work S:
Reply
#4

Then go read it again.
Quote:
Originally Posted by kc
Common problems

My NPC leaves my server after it joins
Your script is forcing the NPC to login, or you have an anti-cheat / ping kicker that is interfering with your NPC. You can add...
pawn Код:
if(IsPlayerNPC(playerid)) return 1;
... as the first line of any callbacks that bots will use, e.g. OnPlayerRequestClass or OnPlayerRequestSpawn. For an efficient, simple way of excluding NPCs from loops, check out foreach by ******.

My NPC doesn't join my server at all
This is most likely caused by your server being passworded.

I can't get the npc_record filterscript to load
You either don't have the filterscript, or it is already loaded. Try continuing anyway.

My NPC just stands at the spawnpoint
Go back, and re-do the OnPlayerSpawn part of the tutorial.

My NPCs used to connect, but now I have upgraded to >= RC5 they don't.
There is a new maxnpc server.cfg variable that defaults to 0. add...
Код:
maxnpc number_goes_here
...to your server.cfg to fix this issue.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)