/rcon login >> Server closed the connection.
#1

I've downloaded CG-RP Script from here and it's all working fine,the only problem is that when i try to /rcon login [PASS] ,i'm loosing the connection "Server closed the connection".

Here is my OnRconLoginAttempt Script,I dont find any wrong over there:

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);
}
}
}

Also i gets "fatal error 100: cannot read from file: "dini"

Solution for both of those errors please!
Reply
#2

Make sure you are set as an administrator first before attempting to log in the RCON. (Level 4 and up)

Also, download Dini from here.
Reply
#3

How to set myself as Administrator?
Also I've downloaded the Dini file and Extracted it to Include file,Still the Error occurs
Reply
#4

You have to find your account in scriptfiles and from there to set your admin level.
Reply
#5

E remove mo lang ok na.
Reply
#6

Just comment or remove the ban line.

Off Topic:
If you don't know how to even make your self admin on using your file, you should not run your server publically. just learn everything about samp before you make your server public..
Reply
#7

if(!success)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)