NPC is getting kicked by Server
#1

Okay, I have installed 28 NPCs and only 21 connect. All other are getting kicked by my Server, do anybody know why is this, and how can I fix this?
Reply
#2

tell us more..like;
what do you have in server.cfg
show us some code like whats under onplayerspawn

right now i can only guess;

the ammount of npc in server.cfg is below 28
Reply
#3

Nah, nah I don't need to give you NPC codes because every NPC has been made same way(21 is working other 7 isn't), I have checked everything, this is not my wrong. I have found post by Kalcor that SA-MP kick more than 20 NPCs because of flood, so idk how to increase that or make some pwn code, does anyone know how to repair this?
Reply
#4

Check if they all have the right #define RECORDING_TYPE
Reply
#5

Make sure your max_npcs ammount is above the required.
Reply
#6

i'll presume you have a login system .... you'll need to add a piece of code like "if isplayernpc" . i forgot how that was but you can search for it
Reply
#7

I've found fix for this: http://pastebin.com/kJ90B0gr
They'all connect now and work fine as I made them :P
Thank you anyway
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)