SA-MP Forums Archive
NPC wont connect in RC-5? - 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: NPC wont connect in RC-5? (/showthread.php?tid=97205)



NPC wont connect in RC-5? - International - 13.09.2009

Worked fine but the second i put RC-5 on it all stopped working, the cmd just says Incoming connection but the NPC just wont connect


Re: NPC wont connect in RC-5? - V1ceC1ty - 13.09.2009

says incomming connection on mine but it looks like they work still 0/2 players


Re: NPC wont connect in RC-5? - Kalcor - 13.09.2009

There is a new 'maxnpc' server.cfg variable. It defaults to 0 so NPCs can't connect. You need to set this to the number of NPCs allowed to connect to your server.


Re: NPC wont connect in RC-5? - V1ceC1ty - 13.09.2009

#define maxnpc 500


Re: NPC wont connect in RC-5? - ev0lution - 13.09.2009

Quote:
Originally Posted by V1ceC1ty
#define maxnpc 500
No, simply 'maxnpc 0-500' in server.cfg.


Re: NPC wont connect in RC-5? - Sergei - 13.09.2009

Quote:
Originally Posted by V1ceC1ty
#define maxnpc 500
it's server.cfg variable not define ...


Re: NPC wont connect in RC-5? - V1ceC1ty - 13.09.2009

some are joining some are not

with maxnpc 500 in .cfg

still get this
Код:
Incoming connection: 127.0.0.1:4609
[npc:join] Taxi1 has joined the server (0:127.0.0.1)
Incoming connection: 127.0.0.1:4610
[npc:join] Taxi2 has joined the server (1:127.0.0.1)
Incoming connection: 127.0.0.1:4611
[npc:join] Taxi3 has joined the server (2:127.0.0.1)
Incoming connection: 127.0.0.1:4612
[npc:join] Taxi4 has joined the server (3:127.0.0.1)
Incoming connection: 127.0.0.1:4616
[npc:join] Pilot has joined the server (7:127.0.0.1)
Incoming connection: 127.0.0.1:4613
[npc:join] PoliceMan has joined the server (4:127.0.0.1)
Incoming connection: 127.0.0.1:4614
Incoming connection: 127.0.0.1:4615
[npc:join] Sweeper has joined the server (5:127.0.0.1)
[npc:join] PoliceBiker has joined the server (6:127.0.0.1)
Incoming connection: 127.0.0.1:4622
[npc:join] Elegy has joined the server (13:127.0.0.1)
Incoming connection: 127.0.0.1:4621
[npc:join] Dodo has joined the server (12:127.0.0.1)
Incoming connection: 127.0.0.1:4617
[npc:join] Limo1 has joined the server (8:127.0.0.1)
Incoming connection: 127.0.0.1:4618
[npc:join] Limo2 has joined the server (9:127.0.0.1)
Incoming connection: 127.0.0.1:4619
[npc:join] Tug has joined the server (10:127.0.0.1)
Incoming connection: 127.0.0.1:4620
[npc:join] LVTaxi has joined the server (11:127.0.0.1)



Re: NPC wont connect in RC-5? - Jay_ - 13.09.2009

That show they're connecting fine.