remove player id 0
#1

hey i heard that sometimes ppl who connect with player id 0 can bug things is it possible to add a function where ppl can only join as player id 1 or higher have no player id 0? for example

john(player id 1 joins)
boe(player id 2 joins)

where no one joins as player id 0
Reply
#2

Create an NPC! When the server starts up, it takes up the first avaliable slot, which is id 0! There are some decent tutorials that can help you create one!

Thanks,

Jack_Rocker
Reply
#3

Basically this, but be prepared that after sudden server restart/crash, players will connect before NPC, going to bugged ID 0, I have experienced this a lot
Also, AFAIK any bugs with ID 0 come from script bugs, it's better to eliminate these than adding bot to block bugged id
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)