Problems with hosting and NPC's - 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: Problems with hosting and NPC's (
/showthread.php?tid=102919)
Problems with hosting and NPC's -
[HLF]Southclaw - 17.10.2009
Hi, I have now signed my server up with serverffs to host it and now it is on there my npcs wont work
I have the default fs gl_npcs.pwn i have the source on the site, and it works perfectly when i run server from home but on host it dont work
also i have noticed this, I have a script for all my mapmods and when i restart server and join i have to log in as rcon and reloadfs mapmods to see the objects, could it be that the filterscript aren't loading instantly on the host? and i tried reloadfs gl_npcs and it says filterscript unloaded then loaded but i still dont see any
thanks for any help!
Re: Problems with hosting and NPC's -
Sew_Sumi - 17.10.2009
Quote:
Originally Posted by [HLF
Southclaw ]
Hi, I have now signed my server up with serverffs to host it and now it is on there my npcs wont work
I have the default fs gl_npcs.pwn i have the source on the site, and it works perfectly when i run server from home but on host it dont work
also i have noticed this, I have a script for all my mapmods and when i restart server and join i have to log in as rcon and reloadfs mapmods to see the objects, could it be that the filterscript aren't loading instantly on the host? and i tried reloadfs gl_npcs and it says filterscript unloaded then loaded but i still dont see any
thanks for any help!
|
It's called read the manual/tutorial, and search before you post... There's been 30 + threads OF THIS EXACT SAME ISSUE...
You need the IsPlayerNPC pieces... For sure... No-one seems to read the tutorial correctly, and skips that piece somehow.
Re: Problems with hosting and NPC's -
[HLF]Southclaw - 18.10.2009
ok thanks
Re: Problems with hosting and NPC's -
[HLF]Southclaw - 18.10.2009
where do i use that? when i host from home the console says
Код:
Incoming connection: 127.0.0.1:58791
[npc:join] TrainDriverLS has joined the server (0:127.0.0.1)
Incoming connection: 127.0.0.1:58790
[npc:join] TrainDriverLV has joined the server (1:127.0.0.1)
Incoming connection: 127.0.0.1:58793
[npc:join] TrainDriverSF has joined the server (2:127.0.0.1)
Incoming connection: 127.0.0.1:58795
[npc:join] chilliadbike has joined the server (3:127.0.0.1)
Incoming connection: 127.0.0.1:58792
[npc:join] lvhelibot has joined the server (4:127.0.0.1)
Incoming connection: 127.0.0.1:58794
[npc:join] helilv2ls has joined the server (5:127.0.0.1)
Incoming connection: 127.0.0.1:58797
[npc:join] bus has joined the server (6:127.0.0.1)
Incoming connection: 127.0.0.1:58798
[npc:join] race3 has joined the server (7:127.0.0.1)
Incoming connection: 127.0.0.1:58796
[npc:join] car has joined the server (8:127.0.0.1)
Incoming connection: 127.0.0.1:58799
[npc:join] race1 has joined the server (9:127.0.0.1)
But on serverffs console it only says
Код:
[09:10:20] Incoming connection: 64.120.14.202:43933
[09:10:20] Incoming connection: 64.120.14.202:57197
[09:10:20] Incoming connection: 64.120.14.202:39543
[09:10:20] Incoming connection: 64.120.14.202:41299
[09:10:20] Incoming connection: 64.120.14.202:36242
[09:10:20] Incoming connection: 64.120.14.202:50044
[09:10:20] Incoming connection: 64.120.14.202:55485
[09:10:20] Incoming connection: 64.120.14.202:37489
[09:10:20] Incoming connection: 64.120.14.202:46459
[09:10:20] Incoming connection: 64.120.14.202:56851
The npcs are connecting but not joining if that makes sense
Re: Problems with hosting and NPC's -
Gergo1352 - 18.10.2009
Change
maxnpc to 10 in your
server.cfg file.
Re: Problems with hosting and NPC's -
[HLF]Southclaw - 18.10.2009
bloody hell I'm stupid! i forgot all about that
annoyingly when you use the configuration feature on serverffs it deletes all the lines except the onse it uses like gamemods and filterscripts cos all the stream_rate and onfootrate stuff is gone, I will have to tell server ffs about that
thanks for reminding me!