SA-MP Forums Archive
Little help, guys ? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Little help, guys ? (/showthread.php?tid=247176)



Little help, guys ? - [CrC]reinixx - 08.04.2011

Hi, guys. I have added a new npc to my server (total, my server now have 2 npc's).. when i turn on my server, both of my npc's connects, but shortly after, second npc disconnects and first npc stays online.. why ? please, help..
pawn Код:
from server.log..
[10:40:35] Incoming connection: 127.0.0.1:2487
[10:40:35] [npc:join] CafeBot has joined the server (0:127.0.0.1)
[10:40:35] Incoming connection: 127.0.0.1:2488
[10:40:35] [npc:join] CafeRandBot has joined the server (1:127.0.0.1)
[10:40:46] [npc:part] CafeRandBot has left the server (1:0)



Re: Little help, guys ? - [DJ]Boki - 08.04.2011

Use 1 npc

Код:
[10:40:35] [npc:join] CafeRandBot has joined the server (1:127.0.0.1)
[10:40:46] [npc:part] CafeRandBot has left the server (1:0)
Maybe he is disconnected because he has high ping.

Go to admin scriptfiles and set high ping to "0"


Re: Little help, guys ? - [CrC]reinixx - 08.04.2011

Quote:
Originally Posted by [DJ]Boki
Посмотреть сообщение
Use 1 npc
no, i need multiple npcs..
EDIT:
Quote:

Maybe he is disconnected because he has high ping.
Go to admin scriptfiles and set high ping to "0"

tried, don't work..


Re: Little help, guys ? - [DJ]Boki - 08.04.2011

sry....


Re: Little help, guys ? - BMUK - 08.04.2011

Check that your recording file is present in ../npcmodes/recordings

Remember recordings get saved in scriptfiles and you need to move them into ../npcmodes/recordings.

Failing that, check recording filenames are correct. NPC will timeout like that after a few seconds if recording files are not present or if spelling is incorrect.