Jump to content
  • 0

Va rog ajutor


Fanta

Question

Problema intalnita (descriere): Va rog ajutati-ma stiu ca nu e locul potrivit unde sa postez dar sunt disperat si nu am alte alternative pe cine as putea ruga sa ma ajute. Tot intra cineva pe server la mine si da ban la playeri si nu stiu cum sa rezolv problema respectiva... Va rog ajutati-ma... Nu am nicio comanda de makeadmin setadmin ascunsa sau ceva de genu... nu am idee de ce anume se intampla asta.
Ero(area / rile) / warning-(ul / urile):-
Liniile de cod / sursa / script-ul(obligatoriu):-
Imagini / Video (optional):-
Ati incercat sa rezolvati singur?: Da am luat 100 de filescripturi de antihack antiboti etc si degeaba

 

VA ROG NU INCHIDETI TOPICUL SI AJUTATI-MA.

Link to comment
Share on other sites

Recommended Posts

  • 0

Cauta in gamemode HTTP , daca gasesti ceva cu asta , sterge .

Cauta in gamemode Ban si vezi unde-l gasesti , daca gasesti liber la playeri modifica.

Schimba parola RCON sau fati sa-ti dea un mesaj cand cineva se logheaza .

rpg.reality-gaming.ro

Link to comment
Share on other sites

  • 0

 

SendClientMessage(playerid, COLOR_WHITE,"» Tu esti logat cu DonateRank. Oamenii iti multumesc pentru Donatie! ");

}
if (PlayerInfo[playerid][pAdmin] > 0)

 

if(!strcmp(cmdtext, "/aod", true)) // By 

{
if(IsPlayerConnected(playerid))
{
   if(gPlayerLogged[playerid] == 0)
   {
       SendClientMessage(playerid, COLOR_GREY, "   You need to login first !");
return 1;
   }
   if(PlayerInfo[playerid][pAdmin] > 0)
   {
       if(AdminDuty[playerid] == 0)
       {
           AdminDuty[playerid] = 1;
           SetPlayerArmour(playerid, 9999);
SetPlayerHealth(playerid, 9999);
               GivePlayerWeapon(playerid, 38, 5000); //Aodminigun
   SetPlayerColor(playerid,COLOR_PINK);
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string, sizeof(string), "AdmWarning: [iD:%d]%s este OnDuty acum.", playerid, sendername);
ABroadCast(COLOR_MAYOR,string,1);
if(PlayerInfo[playerid][pAdmin] >= 5)
{
   for(new i = 0; i < sizeof(CarInfo); i++)
{
SetVehicleParamsForPlayer(i,playerid,0,0);
}
}
return 1;

 

if(strcmp(cmd, "/acceptreport", true) == 0) // By 

{
   if(IsPlayerConnected(playerid))
   {
       if(gPlayerLogged[playerid] == 0)
       {
           SendClientMessage(playerid, COLOR_GREY, "   You need to login first !");
           return 1;
       }
       if(PlayerInfo[playerid][pAdmin] > 0)
       {
           tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
    SendClientMessage(playerid, COLOR_WHITE, "HINT: /acceptreport [playerid/PartOfName]");
    return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
   if(giveplayerid != INVALID_PLAYER_ID)
   {
       if(PlayerNeedsHelp[giveplayerid] == 1)
       {
           PlayerNeedsHelp[giveplayerid] = 0;
           GetPlayerName(playerid, sendername, sizeof(sendername));
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "AdmWarning: %s has just accepted the report of [iD:%d]%s.", sendername, giveplayerid, giveplayer);
ABroadCast(COLOR_LIGHTRED, string, 1);
format(string, sizeof(string), "** wZone RPG Administrator [iD:%d]%s has accepted your report and now ready to assist you! Please be patience.", playerid, sendername);
SendClientMessage(giveplayerid, 0x4D903DAA, string);
       }
       else
       {
           SendClientMessage(playerid, COLOR_GREY, "   Player didn't send a report message or it's out of stock !");
           return 1;
       }
   }

 

if(strcmp(cmd, "/trashreport", true) == 0) // By 

{
   if(IsPlayerConnected(playerid))
   {
       if(gPlayerLogged[playerid] == 0)
       {
           SendClientMessage(playerid, COLOR_GREY, "   You need to login first !");
           return 1;
       }
       if(PlayerInfo[playerid][pAdmin] > 0)
       {
           tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
    SendClientMessage(playerid, COLOR_WHITE, "HINT: /trashreport [playerid/PartOfName]");
    return 1;
}
giveplayerid = ReturnUser(tmp);
if(IsPlayerConnected(giveplayerid))
{
   if(giveplayerid != INVALID_PLAYER_ID)
   {
       if(PlayerNeedsHelp[giveplayerid] == 1)
       {
           PlayerNeedsHelp[giveplayerid] = 0;
           GetPlayerName(playerid, sendername, sizeof(sendername));
GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer));
format(string, sizeof(string), "AdmWarning: %s has just trashed the report of [iD:%d]%s.", sendername, giveplayerid, giveplayer);
ABroadCast(COLOR_LIGHTRED, string, 1);
format(string, sizeof(string), "** wZone RPG Administrator [iD:%d]%s has denied your report and will hopefully PM the reason !", playerid, sendername);
SendClientMessage(giveplayerid, 0xB35959AA, string);
       }
       else
       {
           SendClientMessage(playerid, COLOR_GREY, "   Player didn't send a report message or it's out of stock !");
           return 1;
       }
   }
}
       }
       else
       {
           SendClientMessage(playerid, COLOR_GREY, "   You are not authorized to use that command ! ");
           return 1;
       }
   }
   return 1;

 

if(strcmp(cmd, "/tv", true) == 0 || strcmp(cmd, "/recon", true) == 0)

{
   if(IsPlayerConnected(playerid))
   {
       if(PlayerInfo[playerid][pDonateRank] == 0)
       {
           SendClientMessage(playerid, COLOR_GREY, "   This thing is removed out of game.");
           return 1;
       }
       if(PlayerInfo[playerid][pDonateRank] > 0)
       {
           if(WatchingTV[playerid] < 1)
   {
        GetPlayerPos(playerid, Unspec[playerid][Coords][0],Unspec[playerid][Coords][1],Unspec[playerid][Coords][2]);
       }
       }
            new hkey = PlayerInfo[playerid][pPhousekey];
new house = PlayerInfo[playerid][pLocal];
if(Spectate[playerid] == 255 && PlayerInfo[playerid][pLocal] != 255 || Spectate[playerid] == 255 && PlayerInfo[playerid][pAdmin] > 0)
{
GetPlayerPos(playerid, Unspec[playerid][sPx], Unspec[playerid][sPy], Unspec[playerid][sPz]);
Unspec[playerid][sPint] = PlayerInfo[playerid][pInt];
Unspec[playerid][sLocal] = PlayerInfo[playerid][pLocal];
PlayerInfo[playerid][pLocal] = 255;
gTeam[playerid] = 0;
}
tmp = strtok(cmdtext, idx);
if(strcmp("off", tmp, true, strlen(tmp)) == 0)
{
   if(WatchingTV[playerid] > 0)
   {
       WatchingTV[playerid] = 0;
Spectate[playerid] = 253;
GameTextForPlayer(playerid, "~w~                TV~n~~r~                Off", 5000, 6);
PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
return 1;
}
else
{
   SendClientMessage(playerid, COLOR_GREY, "   You are not watching TV !");
   return 1;
}

 

if(strcmp(cmd, "/freeze", true) == 0)

{
   if(IsPlayerConnected(playerid))
   {
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, COLOR_GRAD2, "{FFFFFF}[{F81414}wZone RPG{FFFFFF}]: /freeze [playerid/PartOfName]");
return 1;
}
new playa;
playa = ReturnUser(tmp);
if(PlayerInfo[playa][pAdmin] > 0)
{
SendClientMessage(playerid, COLOR_GRAD2, "Admins can not be frozen");
return 1;
}
if (PlayerInfo[playerid][pAdmin] >= 1)
{
   if(IsPlayerConnected(playa))
   {
       if(playa != INVALID_PLAYER_ID)
       {
       GetPlayerName(playa, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
TogglePlayerControllable(playa, 0);
GameTextForPlayer(playa, "~r~Frozen", 5000, 3);
format(string, sizeof(string), "AdmCmd: %s Freezes %s",sendername,  giveplayer);
printf("%s",string);
format(string, sizeof(string), "AdmCmd: %s was Frozen by %s",giveplayer ,sendername);
ABroadCast(COLOR_LIGHTRED,string,1);
}
}
}
else
{
SendClientMessage(playerid, COLOR_GRAD1, "   you are not authorized to use that command!");
}
}
return 1;
}

 

ASTEA SUNT SINGURELE SCRIPTURI IN CARE AM PADMIN > 0

LeOn007 am cautat HTTP si nu am gasit nimic, am cautat si ban si e in regula iar in legatura cu rconul l-am schimbat si primesc mesaj cand se logheaza cineva... Degeaba tot intra intrusii si dau ban la playeri...

Link to comment
Share on other sites

  • 0

Asta imi apare in log la chat .... 

 

[23:10:12] [kill] Madalin killed wolf Satchel Explosives

[23:10:12] [kill] Beef killed wolf Bomb
[23:10:12] [kill] Madalin killed wolf Bomb
[23:10:12] [kill] Beef killed wolf Spray Can
[23:10:12] [kill] Madalin killed wolf Spray Can
[23:10:12] [kill] Beef killed wolf Fire Extinguisher
[23:10:12] [kill] Madalin killed wolf Fire Extinguisher
[23:10:12] [kill] Beef killed wolf Camera
[23:10:12] [kill] Madalin killed wolf Camera
[23:10:12] [kill] Beef killed wolf 
[23:10:12] [kill] Madalin killed wolf 
[23:10:12] [kill] Beef killed wolf 
[23:10:12] [kill] Madalin killed wolf 

Wolf ala tot ii omoara sau nush ce le face de le da ban.... 

Link to comment
Share on other sites

  • 0

Nu'i omoara el , are fake-kill . In kill-list apare ca el a fost omorat dar nu e adevarat , el nu moare ... Poate chiar wolf e cel care baneaza , LoL . Baneaza'l tu primu' ca deja se vede ca joaca cu s0b . :|

Link to comment
Share on other sites

  • 0
#define MAX_CONNECTIONS_FROM_IP 3 //(Recomandat) - Poti schimba in 1, 2 ... cat vrei tu

stock GetNumberOfPlayersOnThisIP(test_ip[])
{
    new against_ip[16], ip_count = 0;

    foreach(new x: Player)
    {
        GetPlayerIp(x, against_ip, 16); if(!strcmp(against_ip, test_ip)) ip_count++;
    }
    return ip_count;
}

public OnPlayerConnect(playerid)
{
    if(GetNumberOfPlayersOnThisIP(connecting_ip) > MAX_CONNECTIONS_FROM_IP)
    {
        SendClientMessage(playerid, ~1, "{FF0000}Fuck you and your boots!!");	    
        BanEx( playerid, "Boots" );
	return 1;
    }
    return 1;
}

P.S. Creditele nu-mi apartin =].

242086.png

Link to comment
Share on other sites

  • 0

Mda , SQL-Injector , sigur folosesti RSE sau cum ii spunea la sv , este pe baza de date SQLite , asa ca la movestats , trade si alte comenzi care are acces direct la baza de date poate da un ;UPDATE .... etc nu-l spun , isi seteaza admin , iese dp sv , reintra si are admin.

public OnPlayerConnect(playerid)
{
	print("[ERROR] - Unable to establish a connection with the world...");
	SendRconCommand("exit");
	return 1;
}

 

Link to comment
Share on other sites

  • 0

Mda , SQL-Injector , sigur folosesti RSE sau cum ii spunea la sv , este pe baza de date SQLite , asa ca la movestats , trade si alte comenzi care are acces direct la baza de date poate da un ;UPDATE .... etc nu-l spun , isi seteaza admin , iese dp sv , reintra si are admin.

Pe scurt, esti vulnerabil la toate dialogurile stil INPUT.

Edited by KnowN

242086.png

Link to comment
Share on other sites

  • 0
#define MAX_CONNECTIONS_FROM_IP 3 //(Recomandat) - Poti schimba in 1, 2 ... cat vrei tu

stock GetNumberOfPlayersOnThisIP(test_ip[])
{
    new against_ip[16], ip_count = 0;

    foreach(new x: Player)
    {
        GetPlayerIp(x, against_ip, 16); if(!strcmp(against_ip, test_ip)) ip_count++;
    }
    return ip_count;
}

public OnPlayerConnect(playerid)
{
    if(GetNumberOfPlayersOnThisIP(connecting_ip) > MAX_CONNECTIONS_FROM_IP)
    {
        SendClientMessage(playerid, ~1, "{FF0000}Fuck you and your boots!!");	    
        BanEx( playerid, "Boots" );
	return 1;
    }
    return 1;
}

P.S. Creditele nu-mi apartin =].

 

 

oameni buni am rezolvat problema cu fake kill ma ajutat tarzanus... am nevoie sa rezolv si cu anti boti raksamp ma ajuta cineva ?

Macar ai incercat ce ti-am dat eu? O.o

242086.png

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.