Anti-Bug Isn't letting my bots in server.
#1

These are my server's bots. But it isn't letting them in.

server_log.cfg

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[12:19:39] 
[12:19:39] Server Plugins
[12:19:39] --------------
[12:19:39]  Loading plugin: mysql.so
[12:19:39]   Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
[12:19:39]  Loaded 0 plugins.

[12:19:39] 
[12:19:39] Filterscripts
[12:19:39] ---------------
[12:19:39]   Loading filterscript 'npcs.amx'...
[12:19:39] Incoming connection: 127.0.0.1:48139
[12:19:39] Incoming connection: 127.0.0.1:39061
[12:19:39] Incoming connection: 127.0.0.1:44034
[12:19:39] Incoming connection: 127.0.0.1:54109
[12:19:39] Incoming connection: 127.0.0.1:54362
[12:19:39] Incoming connection: 127.0.0.1:40466
[12:19:39] Incoming connection: 127.0.0.1:36908
[12:19:39] Incoming connection: 127.0.0.1:56675
[12:19:39] Incoming connection: 127.0.0.1:43274
[12:19:39] Incoming connection: 127.0.0.1:42686
[12:19:39] Incoming connection: 127.0.0.1:45295
[12:19:39] Blocking 127.0.0.1 due to a 'server full' attack (1)
[12:19:39] Blocking 127.0.0.1 due to a 'server full' attack (1)
[12:19:39] Blocking 127.0.0.1 due to a 'server full' attack (1)
[12:19:39]   Loaded 1 filterscripts.

[12:19:40] Blocking 127.0.0.1 due to a 'server full' attack (1)
[12:19:40] Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found"
[12:19:40] Number of vehicle models: 0
[12:19:40] [npc:join] [Bot]Robert has joined the server (0:127.0.0.1)
[12:19:40] [npc:join] [Bot]Harry has joined the server (1:127.0.0.1)
[12:19:40] [npc:join] [Bot]Peter has joined the server (3:127.0.0.1)
[12:19:40] [npc:join] [Bot]Jack has joined the server (2:127.0.0.1)
[12:19:40] [npc:join] [Bot]Joshua has joined the server (4:127.0.0.1)
[12:19:40] [npc:join] [Bot]Paul has joined the server (7:127.0.0.1)
[12:19:40] [npc:join] [Bot]Aaron has joined the server (5:127.0.0.1)
[12:19:40] [npc:join] [Bot]Trevor has joined the server (6:127.0.0.1)
[12:19:40] [npc:join] [Bot]Gary has joined the server (8:127.0.0.1)
[12:19:40] [npc:join] [Bot]Virgin has joined the server (10:127.0.0.1)
[12:19:40] [npc:join] [Bot]Qantas has joined the server (9:127.0.0.1)
[12:19:40] Incoming connection: 127.0.0.1:37510
[12:19:40] [npc:join] [Bot]Tom has joined the server (11:127.0.0.1)
[12:19:40] Incoming connection: 127.0.0.1:51033
[12:19:40] Incoming connection: 127.0.0.1:48268
[12:19:40] Incoming connection: 127.0.0.1:52736
[12:19:41] Incoming connection: 127.0.0.1:50234
[12:19:41] [npc:join] [Bot]Rick has joined the server (13:127.0.0.1)
[12:19:41] [npc:join] [Bot]JetStar has joined the server (12:127.0.0.1)
I have the "libmysqlclient_r.so" Already.
How to I Stop/Delete the Anti-Bot?
Reply
#2

First of all, go to your server.cfg file and check if it has the following line:
bind [IP Here]
If it doesn't have this line, add it into the server.cfg.
It should be like so:
bind MYIPHERE

Example:
bind 169.45.252.55
or in this case, it should have:
bind 127.0.0.1

Then you will be able to check if it is a server-based NPC and is designed to be on the server by comparing the IPs.

pawn Код:
//Wherever you have your anti-bot script
new IP[15];
GetPlayerIp(playerid, IP, 15); //Get the NPC's IP.
new serverip[15];
GetServerVasAsString("bind", serverip, 15); //Get the bind/server IP
if(strcmp(IP, serverip, true) == 0) return 1; //If IP's match, this NPC is meant to be in the server.
Or alternatively, you can do IsPlayerNPC checks to make sure it doesn't ban NPCs.

pawn Код:
//At the top of your anti-bot script
if(IsPlayerNPC(playerid)) return 1;
Reply
#3

I entered that BIND IP.

NEW LOG.
Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3x, ©2005-2013 SA-MP Team

[16:43:29] 
[16:43:29] Server Plugins
[16:43:29] --------------
[16:43:29]  Loading plugin: mysql.so
[16:43:29]   Failed (libmysqlclient_r.so.15: cannot open shared object file: No such file or directory)
[16:43:29]  Loaded 0 plugins.

[16:43:30] 
[16:43:30] Filterscripts
[16:43:30] ---------------
[16:43:30]   Loading filterscript 'npcs.amx'...
[16:43:31] Incoming connection: 127.0.0.1:54201
[16:43:31] Incoming connection: 127.0.0.1:50064
[16:43:31] Incoming connection: 127.0.0.1:51150
[16:43:31] Incoming connection: 127.0.0.1:41418
[16:43:31] Incoming connection: 127.0.0.1:49911
[16:43:31] Incoming connection: 127.0.0.1:38314
[16:43:31] Incoming connection: 127.0.0.1:43855
[16:43:31] Incoming connection: 127.0.0.1:54716
[16:43:32] Incoming connection: 127.0.0.1:36924
[16:43:32] Incoming connection: 127.0.0.1:56691
[16:43:32] Incoming connection: 127.0.0.1:58824
[16:43:32] Blocking 127.0.0.1 due to a 'server full' attack (1)
[16:43:32] Blocking 127.0.0.1 due to a 'server full' attack (1)
[16:43:32] Blocking 127.0.0.1 due to a 'server full' attack (1)
[16:43:32]   Loaded 1 filterscripts.

[16:43:32] Blocking 127.0.0.1 due to a 'server full' attack (1)
[16:43:33] Blocking 127.0.0.1 due to a 'server full' attack (1)
[16:43:33] Blocking 127.0.0.1 due to a 'server full' attack (1)
[16:43:33] Blocking 127.0.0.1 due to a 'server full' attack (1)
[16:43:33] Blocking 127.0.0.1 due to a 'server full' attack (1)
[16:43:33] Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found"
[16:43:33] Number of vehicle models: 0
[16:43:34] [npc:join] [Bot]Robert has joined the server (0:127.0.0.1)
[16:43:34] [npc:join] [Bot]Peter has joined the server (1:127.0.0.1)
[16:43:34] Incoming connection: 127.0.0.1:38391
[16:43:34] [npc:join] [Bot]Harry has joined the server (2:127.0.0.1)
[16:43:34] [npc:join] [Bot]Jack has joined the server (3:127.0.0.1)
[16:43:34] [npc:join] [Bot]Aaron has joined the server (5:127.0.0.1)
[16:43:34] [npc:join] [Bot]Trevor has joined the server (6:127.0.0.1)
[16:43:34] [npc:join] [Bot]Gary has joined the server (7:127.0.0.1)
[16:43:34] [npc:join] [Bot]Joshua has joined the server (4:127.0.0.1)
[16:43:34] [npc:join] [Bot]Paul has joined the server (9:127.0.0.1)
[16:43:34] [npc:join] [Bot]Qantas has joined the server (8:127.0.0.1)
[16:43:34] [npc:join] [Bot]JetStar has joined the server (10:127.0.0.1)
[16:43:34] Incoming connection: 127.0.0.1:34618
[16:43:34] Incoming connection: 127.0.0.1:35776
[16:43:34] [npc:join] [Bot]Charlie has joined the server (11:127.0.0.1)
[16:43:34] Incoming connection: 127.0.0.1:41376
[16:43:35] Incoming connection: 127.0.0.1:47313
[16:43:35] [npc:join] [Bot]Tom has joined the server (12:127.0.0.1)
[16:43:35] [npc:join] [Bot]Rick has joined the server (14:127.0.0.1)
My Server.CFG
Код:
echo Executing Server Config...
lanmode 0
rcon_password *******
maxplayers  **
port 7080
hostname ******************
filterscripts npcs
gamemode0 cnr 1
plugins mysql.so
announce 1
query 1
weburl ********
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 14
logtimeformat [%H:%M:%S]
chatlogging 0
rcon 0
bind 127.0.0.1
EDIT: When I type that bind ip thing, server dosen't start. But when it is not there, the server starts with " Unknown Gamemode "
Reply
#4

Let me Explain the problem more specificly.

The Server or GM, runs fine on my windows. I have all the files the the Linux A.K.A Host.
But, the server dosen't load. The server works fine at my PC. Benzo, wanna help me out through TeamViewer?
That would help.
Reply
#5

Somebody Please Help. Benzo Please help me further.
Reply
#6

Код:
Blocking 127.0.0.1 due to a 'server full' attack (1)
That means there is too many bots connecting at one time. Its something new with 3x that is built into the server to help prevent bot attacks. Just connect your npc's with a delay each time or connect a group of npc's, say 10 npc's per 5 seconds, and they should all connect.
Reply
#7

Increase maxnpc to 50 in server.cfg
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)