Changes to NPCs
#1

Hi!
I want to know what has been done to the NPCs in RC6-1?
Two out of 4 of my NPCs are disconnecting after a while.
Only thing I noticed is that the NPC is connected really and gets spawned (even where it shouldn't be spawned, SetMyPos doesn't work?) but then... ~15 sec and disconnect.
This didn't happen in RC5.
But those other two work fine... for now.
Those 2 bots are actually special, because one of them is driving a bus really fast (unusual speed) and the other one is on foot and gets a skin on spawn.
Reply
#2

I have that too in 6-1.

[13:51:03] Incoming connection: 127.0.0.1:2363
[13:51:03] [npc:join] Bot has joined the server (0:127.0.0.1)
[13:51:03] Incoming connection: 127.0.0.1:2364
[13:51:03] [npc:join] Bot2 has joined the server (2:127.0.0.1)
[13:51:14] [npcart] Bot2 has left the server (2:0)

As you can see, "Bot" stays in the server, and he is doing normal, but "Bot2" leaves the server after 11 seconds.

He's not spawning at the right place too. In 5-1 it did work..

(Sorry for bad English).
Reply
#3

lol you dont need to block 127.0.0.1 noone else can do anything with it besides you
Reply
#4

Quote:
Originally Posted by V1ceC1ty
lol you dont need to block 127.0.0.1 noone else can do anything with it besides you
Oh, i didn't know that.
Reply
#5

it's ok lots of people make mistakes, anyway this doesn't happen on my server so check my NPC scripts and see whats different also make sure you have maxnpc 500 in your server.cfg
Reply
#6

I have just one big difference. Bot is driving a coach, and Bot2 is supposed to be walking.
Reply
#7

The problem is in the recording.
I changed the source file to a NPC which is working and with 2 same recodings...
Dunno what Kye changed, but seems like we will need to re-record NPCs :/
Reply
#8

no you dont your doing something wrong. All my NPC scripts still work.
Reply
#9

That doesn't mean that there could be something wrong with the recording.
And what could I do wrong?
I have 2 lines per script and about 15 lines for all NPCs.
It is a problem with the record, like I said... the recordings for my NPCs are unusual.

If you were right then all my NPCs would be disconnected!
Reply
#10

Quote:
Originally Posted by V1ceC1ty
lol you dont need to block 127.0.0.1 noone else can do anything with it besides you
How do you block that for npcs ? only one of my npcs work..they all worked in 0.5
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)