All NPC can't connect
#1

hello guyz, why npc in my server can't connect to server ?

just this :
Код:
[npc:join] Zombie has joined the server (499:255.255.255.255)
and then, nothing happen..
Reply
#2

Make Sure they are connect to the right IP you set them inside the script and Check the server.txt File to make sure they are loading up
Reply
#3

If you have more than 1 NPC connecting simultaneously it won't work!!.

Set a timer for about 1 second each and connect an NPC.

SetTimer("ConnectNPC1",1000,0);
The next NPC must be
SetTimer("ConnectNPC1",2000,0);
Then the next
SetTimer("ConnectNPC1",3000,0);

You can't keep ConnectNPCs one after other.

This code works because there is a gap between incoming connections.Server cannot connect all the players at once.

Quote:
Originally Posted by Bhxblu
Посмотреть сообщение
Make Sure they are connect to the right IP you set them inside the script and Check the server.txt File to make sure they are loading up
There is nothing sort of IP giving to the NPC while connecting.And its "server_log.txt" and it gives the same information what the console gives nothing extra.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)