Jump to content

Y0PJustME

Membru
  • Posts

    21
  • Joined

  • Last visited

Posts posted by Y0PJustME

  1. Uite aici server log-ul: 

     

    ----------
    Loaded log file: "server_log.txt".
    ----------

    SA-MP Dedicated Server
    ----------------------
    v0.3.7-R2, (C)2005-2015 SA-MP Team

    [14:23:06] 
    [14:23:06] Server Plugins
    [14:23:06] --------------
    [14:23:06]  Loading plugin: mysql.so
    [14:23:06]  >> plugin.mysql: R34 successfully loaded.
    [14:23:06]   Loaded.
    [14:23:06]  Loading plugin: x.so
    [14:23:06]   Failed (plugins/x.so: cannot open shared object file: No such file or directory)
    [14:23:06]  Loading plugin: y.so
    [14:23:06]   Failed (plugins/y.so: cannot open shared object file: No such file or directory)
    [14:23:06]  Loading plugin: z.so
    [14:23:06]   Failed (plugins/z.so: cannot open shared object file: No such file or directory)
    [14:23:06]  Loaded 1 plugins.

    [14:23:06] 
    [14:23:06] Filterscripts
    [14:23:06] ---------------
    [14:23:06]   Loaded 0 filterscripts.

    [14:23:07] Script[gamemodes/wa-rpg.amx]: Run time error 19: "File or function is not found"
    [14:23:07] Number of vehicle models: 0
    [14:24:32] [connection] incoming connection: 86.122.25.43:56094 id: 0
    [14:24:32] [join] Y0PJustME has joined the server (0:86.122.25.43)
    [14:25:42] [part] Y0PJustME has left the server (0:1)
     

  2. La 08.12.2017 la 20:51, Mister a spus:

    Se vede in poza, totusi nu este o reclama acest topic.

    On: posteaza server log e posibil sa ai erori

    De unde? din gamemode sau din host ? Ca daca nu il pun pe host si il bag pe localhost, merge.. Se incarca tot, ma pot conecta, toate.

  3. Acum 3 minute, Th3FuK3R Channel a spus:

    Incearca asa..

    CMD:setadmin(playerid, params[])
    {
        if(IsPlayerConnected(playerid))
        {
            if (PlayerInfo[playerid][pAdmin] >= 6)
            {
                new id,adminlevel,sendername[30],giveplayer[30],string[200];
                if(sscanf(params, "ui",id,adminlevel)) return SendClientMessage(playerid, COLOR_GREY, "Sintaxa: {FFFFFF}/setadmin <playerid/name> <Admin Level>");
                if(IsPlayerConnected(id))
                {
                    if(id != INVALID_PLAYER_ID)
                    {
                        GetPlayerName(id, giveplayer, sizeof(giveplayer));
                        GetPlayerName(playerid, sendername, sizeof(sendername));
                        PlayerInfo[id][pAdmin] = adminlevel;
                        PlayerInfo[id][pChar] = 217;
                        SetPlayerSkinEx(id, 217);
                        printf("AdmCmd: %s has promoted %s to a level %d admin.", sendername, giveplayer, adminlevel);
                        format(string, sizeof(string), "Ai fost promovat la admin %d de %s,", adminlevel, sendername);
                        SendClientMessage(id, COLOR_LIGHTBLUE, string);
                        format(string, sizeof(string), "L-ai promovat pe %s la nivel %d admin.", giveplayer,adminlevel);
                        SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
                        format(string, sizeof(string), "AdmCmd: Admin %s i-a setat lui %s admin %d.", sendername,giveplayer,adminlevel);
                        SendAdminMessage(COLOR_LOGS,string,4);
                         new wakaname[25];
                        GetPlayerName(id,wakaname,25);
                        new str[256];
                        format(str,256,"UPDATE users SET `Admin`='%d',`CChar`='%d' WHERE `ID`='%d'",PlayerInfo[id][pAdmin],PlayerInfo[id][pChar],PlayerInfo[id][pSQLID]);
                        mysql_query(SQL,str);
                    }
                }
                else
                {
                    SendClientMessage(playerid, COLOR_GREY, "Acel player nu este conectat.");
                }
            }
            else
            {
                SendClientMessage(playerid, COLOR_LGREEN, "Nu ai acces la aceasta comanda!");
            }
        }
        return 1;
    }
     

    C:\Users\Gabi\Desktop\GM KOGGED\serversamp\gamemodes\bigzone.pwn(35762) : error 017: undefined symbol "pChar"
    C:\Users\Gabi\Desktop\GM KOGGED\serversamp\gamemodes\bigzone.pwn(35763) : error 017: undefined symbol "SetPlayerSkinEx"
    C:\Users\Gabi\Desktop\GM KOGGED\serversamp\gamemodes\bigzone.pwn(35770) : error 017: undefined symbol "SendAdminMessage"
    C:\Users\Gabi\Desktop\GM KOGGED\serversamp\gamemodes\bigzone.pwn(35771) : warning 217: loose indentation
    C:\Users\Gabi\Desktop\GM KOGGED\serversamp\gamemodes\bigzone.pwn(35772) : warning 217: loose indentation
    C:\Users\Gabi\Desktop\GM KOGGED\serversamp\gamemodes\bigzone.pwn(35774) : error 017: undefined symbol "pChar"
    C:\Users\Gabi\Desktop\GM KOGGED\serversamp\gamemodes\bigzone.pwn(35785) : error 017: undefined symbol "COLOR_LGREEN"
    Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


    5 Errors.
     

     

    Ai skype ?

  4. Acum 4 minute, Th3FuK3R Channel a spus:

    baga asa..

    CMD:setadmin(playerid, params[])
    {
        if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Trebuie sa fii logat pentru a folosi comenzi.");
      // if (PlayerInfo[playerid][pAdmin] >= 6) return SendClientMessage(playerid, COLOR_WHITE,"Nu ai acces");
        if(IsPlayerConnected(playerid))
        {
            if (EstiFondator(playerid))
            {
                new id,adminlevel,sendername[30],giveplayer[30],string[200],escape[200];
                if(sscanf(params, "ui",id,adminlevel)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFFFF}Folosire: {FFFFFF}/setadmin <Name/Playerid> <Admin Level>");
                if(PlayerInfo[id][pAdmin] >= 6 && !EstiFondator(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "Nu poti modifica admin level-ul unui admin 6+!.");
                if(adminlevel > 4 && !EstiFondator(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "Only founders can make admin higher than 4.");
                if(AdmActiv == 0) return SendClientMessage(playerid, COLOR_WHITE, "Nu ai acces la aceasta comanda.");
                if(IsPlayerConnected(id))
                {
                    if(id != INVALID_PLAYER_ID)
                    {
                        GetPlayerName(id, giveplayer, sizeof(giveplayer));
                        GetPlayerName(playerid, sendername, sizeof(sendername));
                        printf("{FF6969}AdmCMD: %s has promoted %s to a level %d admin.", sendername, giveplayer, adminlevel);
                        format(string, sizeof(string), "You've been promoted to level %d admin, by %s.", adminlevel, sendername);
                        SendClientMessage(id, COLOR_LIGHTBLUE, string);
                        format(string, sizeof(string), "You have promoted %s to a level %d admin.", giveplayer,adminlevel);
                        SendClientMessage(playerid, COLOR_WHITE, string);
                        format(string, sizeof(string), "* Admin %s set %s's admin level to %d.", sendername,giveplayer,adminlevel);
                        ABroadCast(COLOR_ADMIN,string,1);
                        HLChat(COLOR_ADMCHAT,string);
                        mysql_real_escape_string(string, escape);
                        PlayerInfo[id][pAdmin] = adminlevel;
                        if(adminlevel == 0)
                        {
                            AdminDuty[id] = 0;
                        }
                        new str[256];
                        mysql_format(SQL,str,sizeof(str),"UPDATE users SET `Admin`='%d' WHERE `name`='%s'",PlayerInfo[id][pAdmin],PlayerInfo[id][pNormalName]);
                        mysql_tquery(SQL,str,"","");
                        mysql_format(SQL,str, sizeof(str), "INSERT INTO staff_logs (`text`) VALUES ('%s')", escape);
                        mysql_tquery(SQL,str,"","");
                    }
                }
                else
                {
                    SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}*Acest player nu este conectat.");
                }
            }
            else
            {
                SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
            }
        }
        return 1;
    }

    Acum imi zice "You are not an admin/helper".

  5. Acum 2 minute, Th3FuK3R Channel a spus:

    BAGA ASA!

    CMD:setadmin(playerid, params[])
    {
        if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Trebuie sa fii logat pentru a folosi comenzi.");
       if (PlayerInfo[playerid][pAdmin] >= 6) return SendClientMessage(playerid, COLOR_WHITE,"Nu ai acces");
        if(IsPlayerConnected(playerid))
        {
            if (EstiFondator(playerid))
            {
                new id,adminlevel,sendername[30],giveplayer[30],string[200],escape[200];
                if(sscanf(params, "ui",id,adminlevel)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFFFF}Folosire: {FFFFFF}/setadmin <Name/Playerid> <Admin Level>");
                if(PlayerInfo[id][pAdmin] >= 6 && !EstiFondator(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "Nu poti modifica admin level-ul unui admin 6+!.");
                if(adminlevel > 4 && !EstiFondator(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "Only founders can make admin higher than 4.");
                if(AdmActiv == 0) return SendClientMessage(playerid, COLOR_WHITE, "Nu ai acces la aceasta comanda.");
                if(IsPlayerConnected(id))
                {
                    if(id != INVALID_PLAYER_ID)
                    {
                        GetPlayerName(id, giveplayer, sizeof(giveplayer));
                        GetPlayerName(playerid, sendername, sizeof(sendername));
                        printf("{FF6969}AdmCMD: %s has promoted %s to a level %d admin.", sendername, giveplayer, adminlevel);
                        format(string, sizeof(string), "You've been promoted to level %d admin, by %s.", adminlevel, sendername);
                        SendClientMessage(id, COLOR_LIGHTBLUE, string);
                        format(string, sizeof(string), "You have promoted %s to a level %d admin.", giveplayer,adminlevel);
                        SendClientMessage(playerid, COLOR_WHITE, string);
                        format(string, sizeof(string), "* Admin %s set %s's admin level to %d.", sendername,giveplayer,adminlevel);
                        ABroadCast(COLOR_ADMIN,string,1);
                        HLChat(COLOR_ADMCHAT,string);
                        mysql_real_escape_string(string, escape);
                        PlayerInfo[id][pAdmin] = adminlevel;
                        if(adminlevel == 0)
                        {
                            AdminDuty[id] = 0;
                        }
                        new str[256];
                        mysql_format(SQL,str,sizeof(str),"UPDATE users SET `Admin`='%d' WHERE `name`='%s'",PlayerInfo[id][pAdmin],PlayerInfo[id][pNormalName]);
                        mysql_tquery(SQL,str,"","");
                        mysql_format(SQL,str, sizeof(str), "INSERT INTO staff_logs (`text`) VALUES ('%s')", escape);
                        mysql_tquery(SQL,str,"","");
                    }
                }
                else
                {
                    SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}*Acest player nu este conectat.");
                }
            }
            else
            {
                SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
            }
        }
        return 1;
    }

    C:\Users\Gabi\Desktop\GM KOGGED\GM KOGGED\Gamemode\gamemodes\gamemode.pwn(35750) : warning 217: loose indentation
    C:\Users\Gabi\Desktop\GM KOGGED\GM KOGGED\Gamemode\gamemodes\gamemode.pwn(35751) : warning 217: loose indentation
    Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


    2 Warnings.

  6. Acum 2 minute, Lord_Korag a spus:

    cauta public EstiFondator(playerid)
    {
        if(IsPlayerConnected(playerid))
        {
            new nume[512];
            GetPlayerName(playerid, nume, sizeof(nume));
            if((strcmp(nume, ”NuMeleTau”, true) == 0) || (strcmp(nume, ”Fondator2!, true) == 0))
            {
                return 1;
            }
        }
        return 0;
    }

     

    cauta asa 

    Spoiler

    public EstiFondator(playerid)
    {
        if(IsPlayerConnected(playerid))
        {
            new nume[512];
            GetPlayerName(playerid, nume, sizeof(nume));
            if((strcmp(nume, FONDATOR/SCRIPTER, true) == 0) || (strcmp(nume, FONDATOR2/SCRIPTER2, true) == 0))
            {
                return 1;
            }
        }
        return 0;
    }

    uite

  7. Acum 2 minute, Th3FuK3R Channel a spus:

    Arata si mie ce ti-a dat..

     

    Spoiler

    C:\Users\Gabi\Desktop\GM KOGGED\serversamp\gamemodes\bigzone.pwn(26914) : error 001: expected token: ")", but found "return"
    C:\Users\Gabi\Desktop\GM KOGGED\serversamp\gamemodes\bigzone.pwn(26932) : error 001: expected token: ")", but found "return"
    C:\Users\Gabi\Desktop\GM KOGGED\serversamp\gamemodes\bigzone.pwn(26949) : error 001: expected token: ")", but found "return"
    C:\Users\Gabi\Desktop\GM KOGGED\serversamp\gamemodes\bigzone.pwn(26967) : error 001: expected token: ")", but found "return"
    C:\Users\Gabi\Desktop\GM KOGGED\serversamp\gamemodes\bigzone.pwn(33349) : error 001: expected token: ")", but found "return"
    C:\Users\Gabi\Desktop\GM KOGGED\serversamp\gamemodes\bigzone.pwn(35750) : error 001: expected token: ")", but found "return"
    C:\Users\Gabi\Desktop\GM KOGGED\serversamp\gamemodes\bigzone.pwn(35847) : error 001: expected token: ")", but found "return"
    C:\Users\Gabi\Desktop\GM KOGGED\serversamp\gamemodes\bigzone.pwn(44652) : error 001: expected token: ")", but found "return"
    Pawn compiler 3.2.3664              Copyright (c) 1997-2006, ITB CompuPhase


    8 Errors.
     

     

  8. Acum 5 minute, Th3FuK3R Channel a spus:

    Si in loc de aia adauga in loc de aia:if (PlayerInfo[playerid][pAdmin] >= 6  return SendClientMessage(playerid, COLOR_RED, "{FF0000}Info:{FFFFFF} Nu ai acces la aceasta comanda!");

    Mi-a dat 8 erori.. cand am dat compilare, dupa ce am inlocuit cu ce mi-ai zis tu.

  9. Spoiler

    CMD:setadmin(playerid, params[])
    {
        if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Trebuie sa fii logat pentru a folosi comenzi.");
        if(OwnActiv == 0) return SendClientMessage(playerid, COLOR_WHITE, "Nu ai acces la aceasta comanda.");
        if(IsPlayerConnected(playerid))
        {
            if (EstiFondator(playerid))
            {
                new id,adminlevel,sendername[30],giveplayer[30],string[200],escape[200];
                if(sscanf(params, "ui",id,adminlevel)) return SendClientMessage(playerid, 0xFFFFFFFF, "{FFFFFF}Folosire: {FFFFFF}/setadmin <Name/Playerid> <Admin Level>");
                if(PlayerInfo[id][pAdmin] >= 6 && !EstiFondator(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "Nu poti modifica admin level-ul unui admin 6+!.");
                if(adminlevel > 4 && !EstiFondator(playerid)) return SendClientMessage(playerid, COLOR_WHITE, "Only founders can make admin higher than 4.");
                if(AdmActiv == 0) return SendClientMessage(playerid, COLOR_WHITE, "Nu ai acces la aceasta comanda.");
                if(IsPlayerConnected(id))
                {
                    if(id != INVALID_PLAYER_ID)
                    {
                        GetPlayerName(id, giveplayer, sizeof(giveplayer));
                        GetPlayerName(playerid, sendername, sizeof(sendername));
                        printf("{FF6969}AdmCMD: %s has promoted %s to a level %d admin.", sendername, giveplayer, adminlevel);
                        format(string, sizeof(string), "You've been promoted to level %d admin, by %s.", adminlevel, sendername);
                        SendClientMessage(id, COLOR_LIGHTBLUE, string);
                        format(string, sizeof(string), "You have promoted %s to a level %d admin.", giveplayer,adminlevel);
                        SendClientMessage(playerid, COLOR_WHITE, string);
                        format(string, sizeof(string), "* Admin %s set %s's admin level to %d.", sendername,giveplayer,adminlevel);
                        ABroadCast(COLOR_ADMIN,string,1);
                        HLChat(COLOR_ADMCHAT,string);
                        mysql_real_escape_string(string, escape);
                        PlayerInfo[id][pAdmin] = adminlevel;
                        if(adminlevel == 0)
                        {
                            AdminDuty[id] = 0;
                        }
                        new str[256];
                        mysql_format(SQL,str,sizeof(str),"UPDATE users SET `Admin`='%d' WHERE `name`='%s'",PlayerInfo[id][pAdmin],PlayerInfo[id][pNormalName]);
                        mysql_tquery(SQL,str,"","");
                        mysql_format(SQL,str, sizeof(str), "INSERT INTO staff_logs (`text`) VALUES ('%s')", escape);
                        mysql_tquery(SQL,str,"","");
                    }
                }
                else
                {
                    SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}*Acest player nu este conectat.");
                }
            }
            else
            {
                SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
            }
        }
        return 1;
    }

    Spoiler

    CMD:banip(playerid, params[])
    {
        if(gPlayerLogged[playerid] == 0) return SendClientMessage(playerid, COLOR_LIGHTRED, "Trebuie sa fii logat pentru a folosi comenzi.");
        if(AdmActiv == 0) return SendClientMessage(playerid, COLOR_WHITE, "Nu ai acces la aceasta comanda.");
        if(IsPlayerConnected(playerid))
         {
            if (PlayerInfo[playerid][pAdmin] >= 1 || EstiFondator(playerid))
            {
                new id,reason[128],string[200],giveplayer[30],sendername[30],days,str[1400],playerip[16],year,month,day,hour,minute,second,time;
                if(sscanf(params, "uds[128]", id,days,reason)) return SCM(playerid,COLOR_WHITE,"{FFFFFF}Folosire: {FFFFFF}/banip <Name/Playerid> <days(0=permanent)> <reason>");
                if(days < 0) return SCM(playerid,COLOR_WHITE,"{FFFFFF}Folosire: {FFFFFF}/banip <Name/Playerid> <days(0=permanent)> <reason>");
                if(IsPlayerConnected(id))
                {
                    if(id != INVALID_PLAYER_ID)
                    {
                        getdate(year, month, day);
                        gettime(hour, minute, second);
                           GetPlayerName(id, giveplayer, sizeof(giveplayer));
                        GetPlayerName(playerid, sendername, sizeof(sendername));
                        GetPlayerIp(id, playerip, sizeof(playerip));
                        if(PlayerInfo[id][pAdmin] >= PlayerInfo[playerid][pAdmin]) return SendClientMessage(playerid, COLOR_GREY, "You can't ban a higher (or equal) level administrator.");
                        if(days == 0)
                        {
                            format(string,sizeof(string),"IP Ban: %s has been permanent banned by %s, reason: %s.",giveplayer,sendername,reason);
                            SendClientMessageToAll(COLOR_LIGHTRED, string);
                            mysql_format(SQL,str,sizeof(str),"INSERT INTO bans (PlayerName, AdminName, Reason, IP, Days, IPBan, Permanent, Active, Time) VALUES('%s', '%s', '%s', '%s', 0, 1, 1, 1, 0)",
                            PlayerInfo[id][pNormalName],PlayerInfo[playerid][pNormalName],reason,playerip);
                            mysql_tquery(SQL,str,"","");
                            new var100[256];
                            mysql_format(SQL, var100, sizeof(var100), "INSERT INTO punishlogs (`playerid`,`giverid`,`actionid`,`actiontime`,`playername`,`givername`) VALUES ('%d','%d','3','0','%s','%s')", PlayerInfo[id][pSQLID],PlayerInfo[playerid][pSQLID],giveplayer,sendername);
                            mysql_tquery(SQL,var100,"","");
                            KickEx(id);
                            CantBan = 1;
                            BanWaitTime = 60;

                            BanTimers = SetTimerEx("NoBanAbuse", 1000, true, "i", playerid);
                        }
                        if(days > 0)
                        {
                            time = gettime() + (days*86400);
                            format(string,sizeof(string),"IP Ban: %s has been banned by %s for %d days, reason: %s.",giveplayer,sendername,days,reason);
                            SendClientMessageToAll(COLOR_LIGHTRED, string);
                            mysql_format(SQL,str,sizeof(str),"INSERT INTO bans (PlayerName, AdminName, Reason, IP, Days, IPBan, Permanent, Active, Time) VALUES('%s', '%s', '%s', '%s', %d, 1, 0, 1, %d)",
                            PlayerInfo[id][pNormalName],PlayerInfo[playerid][pNormalName],reason,playerip,days,time);
                            mysql_tquery(SQL,str,"","");
                            new var100[256];
                            mysql_format(SQL, var100, sizeof(var100), "INSERT INTO punishlogs (`playerid`,`giverid`,`actionid`,`actiontime`,`playername`,`givername`) VALUES ('%d','%d','4','%d','%s','%s')", PlayerInfo[id][pSQLID],PlayerInfo[playerid][pSQLID],days,giveplayer,sendername);
                            mysql_tquery(SQL,var100,"","");
                            KickEx(id);
                            CantBan = 1;
                            BanWaitTime = 60;

                            BanTimers = SetTimerEx("NoBanAbuse", 1000, true, "i", playerid);
                        }
                    }
                }
                else return SendClientMessage(playerid, COLOR_WHITE, "{FFFFCC}*Acest player nu este conectat.");
            }
            else return SendClientMessage(playerid, COLOR_ERROR, AdminOnly);
        }
        return 1;
    }

     

    Uite men, si nu sunt doar astea.. Este ceva cu "estifondator". Poate fi vreo comanda ascunsa, asa as zice eu.

  10. Imi poti spune si mie cum sa fac sa intru in "estifondator"? Adica, cand incerc comenzi gen "/setadmin" , "/sethelper", "/banip", imi zice ca nu am acces la acea comanda, chiar daca imi dau admin 8 din baza de date si chiar daca ma conectez cu rcon. Ma poate ajuta cineva ?

    • Upvote 1
×
×
  • 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.