Question about bots
#1

So i followed the bot tut and the bot is there but i have the following problem:

The car moves then disappears and the driver (a chicken dude) ends up standing on the road and then the car reappears drives a bit then it happens again?
Reply
#2

Alright, this happened to me too.

How many NPCs do you have running on your server in total?
Reply
#3

well 7 i guess the 3 pilot 3 train ones i thought were built in cause i did not script them but they are there driving cars and not planes/trains?
Reply
#4

Hosted on a local server?
Reply
#5

just my own PC just testing stuff out
Reply
#6

Quote:
Originally Posted by dkorolenchuk
well 7 i guess the 3 pilot 3 train ones i thought were built in cause i did not script them but they are there driving cars and not planes/trains?
You have messed up the vehicle id's in your mode.
Reply
#7

Alright, your problem occurs because your computer specs (not sure which ones) aren't high enough to support that many NPCs/Bots. Basically, they are lagging terribly and virtually teleporting around the path you set it in the .rec file. If you had a speed warning detection system, you could see that the speeds of the NPCs/Bots are jumping from 5k to 10k.

I recommend you try removing OnNPCConnect in OnGameModeInit or OnFilterScriptInit until you only have 1 NPC/Bot connecting to your server, then see if it works.
Reply
#8

Ok thanks for your help bud.
Reply
#9

No prob, let me know if it worked.
Reply
#10

yes it worked,sorry for the delayed response have been busy.
When i cut out the other 6 generic bots running by taking gl_npcs out of server.cfg
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)