Question
#1

Why everytime i /rcon login <password> i got banned from the server help please
Reply
#2

R u entering correct rcon password?
Show me your server.cfg file
Reply
#3

echo Executing Server Config...
lanmode 1
rcon_password xtreme
maxplayers 20
port 7920
hostname [ENG | 0.3x] Shadow Gaming RP [Los Santos]
gamemode0 UG-RP 1
filterscripts Tgarage buttons Toll DynamicGateSystem headphones NeonSystem
announce 1
plugins streamer.so sscanf.so audio.so Whirlpool.so mysql_static.so nativechecker.so
query 1
chatlogging 0
weburl Coming Soon!
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 700.0
stream_rate 1500
maxnpc 10
logtimeformat [%H:%M:%S]
bind 192.99.11.136
Reply
#4

You have to type /rcon login xtreme. If this still banning you, show the rcon callback.
Reply
#5

How ? Ill type /rcon callback?
Reply
#6

Show the rcon callback in your .pwn file.
Reply
#7

There is no rcon callback where can i see that
Reply
#8

OnRconLoginAttempt -_-
Reply
#9

Quote:

public OnRconLoginAttempt(ip[], password[], success)
{
if(success)
{
new pip[16];
////foreach(Player,i)
for(new i; i<MAX_PLAYERS; i++)
{
GetPlayerIp(i, pip, sizeof(pip));
if(!strcmp(ip, pip, true))
if(PlayerInfo[i][pAdmin] < 3) Ban(i);
}
}
}

This is the code
Reply
#10

Delete this code.

In your code, if you log in rcon (success) the system checks all players and if they have the same IP as who logged in, he receves a ban.
PHP код:

public OnRconLoginAttempt(ip[], password[], success)
{
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)