UWAGA
W związku z upgrade'em Forum Wiaderko do vB 4.x ewentualne błędy i nieprawidłowości proszę zgłaszać w tym temacie
Serwery Counter Strike 1.6 wiaderko.com

HashJama [TP] 193.33.176.148:27015 status serwera HashJama [TP] połącz

HashJama [FFA] 193.33.176.188:27015status serwera HashJama [FFA] połącz

HashJama [DM] 193.33.176.53:27015status serwera HashJama [DM] połącz

HashJama [Aim Hs] 193.33.176.15:27015status serwera HashJama [Aim Hs] połącz

HashJama [Flags] 193.33.176.111:27015status serwera HashJama  [Flags] połącz

HashJama [AWP/HG DM] 193.33.176.50:27015status serwera HashJama [AWP/HG DM] 193.33.176.50:27015 połącz

HashJama [TP #2] 193.33.176.54:27015status serwera HashJama [TP #2] 193.33.176.54:27015 połącz

wiaderko.com [Ventrilo] v1.svoice.pl:6416status serwera wiaderko.com [Ventrilo]

SPONSOR:
pukawka.pl

Wątek: problem z amx_screen automatyczne bany

Pokaż wyniki od 1 do 5 z 5
  1. #1 problem z amx_screen automatyczne bany 
    Spamer Awatar Kr0LuUU
    Dołączył
    Dec 2009
    Posty
    167
    tak jak w temacie, wgrywałem na serwer Admin_Screen3v15 , robi screeny graczą ale nie daje automatycznego bana jak ktoś ma następujące flagi: bcdefijmu
    jak mam wszystkie to dobrze działa plugin

    tak samo plugin amxbans_ssban.amxx robi screeny ale nie daje automatycznie bana z takimi flagami jak wyżej


    nie wiem czy to nie jest wina amxbansa?

    jeszcze mam cały czas takie eroory w logach:

    L 02/10/2012 - 22:12:02: String formatted incorrectly - parameter 7 (total 6)
    L 02/10/2012 - 22:12:02: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx")
    L 02/10/2012 - 22:12:02: [AMXX] Run time error 25: parameter error
    L 02/10/2012 - 22:12:02: [AMXX] [0] check_player.inl::prebanned_check_ (line 67)
    Reaktywacja siec www.cs-4u.PL
    Odpowiedz z cytatem  
     

  2. #2 Odp: problem z amx_screen automatyczne bany 
    Adminus pospolitus
    Dołączył
    Jan 2008
    Wiek
    20
    Posty
    9,226
    Kod.
    .
    Najlepszy hosting www tutaj
    Konfiguracja amxx, instalacja pluginów, pisanie pluginów AMXX. Więcej info na www.naven.com.pl
    Jebać steama.
    Odpowiedz z cytatem  
     

  3. #3 Odp: problem z amx_screen automatyczne bany 
    Spamer Awatar Kr0LuUU
    Dołączył
    Dec 2009
    Posty
    167
    admin screen 3v15
    Kod:
    /* AMX Mod X script. 
    * 
    * Admin Screen 3 v1.5 black by caxixi
    * 
    * Based on Admin Screen by Rav & Admin Screen 2 v1.0 by uTg | bigpapajiggs 
    * 
    * amx_screen <authid/nick/userid> <number of screens> 
    *
    *
    *
    *
    *            cvary dopisz do amxx.cfg z wlasnym adresem forum
    *
    *                              cvary
    * amx_screen_forum "www.rzeznia.eu" // adres forum
    * amx_screen_ban 1 // 0 - kill 1 -perm obsluga amx_bans, minibans 2- perm bez amxbans
    * amx_screen_adminss 1 // 0 - fotki tylko u gracza  1- fotki u gracza i admina
    */ 
    
    #include <amxmodx> 
    #include <amxmisc> 
    
    new koniec
    new player
    new forum
    new adres[51]
    new ban_typ
    new ban
    new fota
    new fota_dla_admina
    
    //PCVAR 
    new maxss, ssinterval, timestamptype
    
    public plugin_init() 
    { 
    register_plugin("Admin Screen 3", "1.5", "caxixi") 
    register_concmd("amx_screen", "concmd_screen", ADMIN_LEVEL_A, "<authid, nick or #userid> <screens>")
     
    maxss = register_cvar("amx_maxscreens", "10") 
    ssinterval = register_cvar("amx_ssinterval", "2.0") 
    timestamptype = register_cvar("amx_timestamptype", "3")  
    forum = register_cvar("amx_screen_forum", "www.rzeznia.eu") 
    ban = register_cvar("amx_screen_ban", "1")
    fota = register_cvar("amx_screen_adminss", "1") 
    } 
    
    // zielony napis
    fnGreenChat( plr, const message[], {Float,Sql,Result,_}:... ) 
    { 
        static max_players, svc_saytext; 
        if( !max_players ) 
            max_players = get_maxplayers( ); 
        if( !svc_saytext ) 
            svc_saytext = get_user_msgid( "SayText" ); 
        
        static msg[192]; 
        msg[0] = 0x04; 
        
        vformat( msg[1], sizeof msg - 2, message, 3 ); 
        
        if( plr > 0 && plr <= max_players ) 
        { 
            message_begin( MSG_ONE, svc_saytext, { 0, 0, 0 }, plr ); 
            write_byte( plr ); 
            write_string( msg ); 
            message_end( ); 
        } 
        else if( plr == 0 ) 
        { 
            for( new i = 1 ; i <= max_players ; i++ ) 
            { 
                if( is_user_connected( i ) ) 
                { 
                    message_begin( MSG_ONE, svc_saytext, { 0, 0, 0 }, i ); 
                    write_byte( i ); 
                    write_string( msg ); 
                    message_end( ); 
                } 
            } 
        } 
        
        return 1; 
    }
    
    
    
    public concmd_screen(id, level, cid) 
    { 
    //Is the amx_screen'er an admin? 
    if(!cmd_access(id, level, cid, 3)) 
    { 
    return PLUGIN_HANDLED 
    } 
    
    //Read the arguements 
    new arg1[24], arg2[4] 
    read_argv(1, arg1, 23) 
    read_argv(2, arg2, 3) 
    
    
    new screens = str_to_num(arg2) 
    new maxscreens = get_pcvar_num(maxss) 
    
    //Let us make sure that there aren't too many screenshots taken 
    if(screens > maxscreens) 
    { 
    console_print(id, "[AMXX] You cannot take that many screenshots!") 
    
    return PLUGIN_HANDLED 
    } 
    
    //Does the target exist? 
    player = cmd_target(id, arg1, 1) 
    if (!player) 
    { 
    return PLUGIN_HANDLED 
    } 
    
    //How many screenshots? 
    new Float:interval = get_pcvar_float(ssinterval) 
    new array[2] 
    array[0] = id 
    array[1] = player 
    koniec = screens
    // pobranie adresu forum i typu bana
    get_pcvar_string(forum,adres,50)
    ban_typ = get_pcvar_num(ban)
    fota_dla_admina = get_pcvar_num(fota)
    set_task(interval, "takeScreen", 0, array,2, "a", screens) 
    
    return PLUGIN_HANDLED 
    } 
    
    public takeScreen(array[2]) 
    { 
    new player = array[1] 
    new id = array[0] 
    new ip[16] 
    new SteamID[33]
    
    koniec = koniec - 1
    
    //Get time, admin name, and target name 
    new timestamp[32], timestampmsg[128], name[32], adminname[32] 
    get_time("%m/%d/%Y - %H:%M:%S", timestamp, 31) 
    get_user_name(player, name, 31) 
    get_user_ip(player, ip, 15, 1) 
    get_user_authid(player , SteamID , 32)
    get_user_name(id, adminname, 31) 
    
    //No timestamp 
    if(get_pcvar_num(timestamptype) == 0) 
    { 
     
    fnGreenChat(player, "** wstaw foty na  %s   player ^"%s^" admin ^"%s^" **",adres, name, adminname)
    fnGreenChat(player, "** moje IP: ^"%s^" | SteamID: ^"%s^" **", ip, SteamID, timestamp)
     
    //Take the screenshot 
    client_cmd(player, "net_graph 3")
    client_cmd(player, "r_norefresh 1") //zatrzymanie odswierzania.
    client_cmd(player, "fps_max 1")
    client_cmd(player, "snapshot") 
    client_cmd(player, "r_norefresh 0") //odblokowanie odswierzania.
    log_to_file("screenlog.txt"," name: ^"%s^" | IP: ^"%s^" | STEAMID: %s | admin: ^"%s^" ^n",name,ip, SteamID, adminname) 
    console_print(id, "[AMXX] FOTY ZOSTALY ZROBIONE POPRAWNIE DLA ^"%s^" | IP: ^"%s^" | STEAMID: ^"%s^" ** ", name, ip, SteamID )
    fnGreenChat(id, "** [AMXX] FOTY ZOSTALY ZROBIONE POPRAWNIE DLA  ^"%s^" | IP: ^"%s^" | STEAMID: ^"%s^" ** ", name, ip, SteamID ) 
    } 
    //Client Print only 
    else if(get_pcvar_num(timestamptype) == 1) 
    { 
    //info o fotce u gracza
    fnGreenChat(player, "** wstaw foty na  %s  | player ^"%s^" | admin ^"%s^" | (%s) **", adres, name, adminname, timestamp)
    fnGreenChat(player, "** moje IP: ^"%s^" | SteamID: ^"%s^" **", ip, SteamID, timestamp)
    //ustawienie net graph 3
    client_cmd(player, "net_graph 3")
    if(fota_dla_admina == 1)
    {
    client_cmd(id, "net_graph 3")
    }
    // obnizenie fps
    client_cmd(player, "fps_max 1")
    if(fota_dla_admina == 1)
    {
    client_cmd(id, "fps_max 1")
    }
    //zrobienie fotki
    client_cmd(player, "snapshot") 
    if(fota_dla_admina == 1)
    {
     client_cmd(id, "snapshot") 
    }
    // info o fotce u admina
    fnGreenChat(id, "** [AMXX] FOTY ZOSTALY ZROBIONE DLA  ^"%s^" | IP: ^"%s^" | STEAMID: ^"%s^" ** ", name, ip, SteamID )
    console_print(id, "[AMXX] FOTY ZOSTALY ZROBIONE DLA ^"%s^" | IP: ^"%s^" | STEAMID: ^"%s^" ** ", name, ip, SteamID )
    // dodanie wpisu w logach
    log_to_file("screenlog.txt"," name: ^"%s^" | IP: ^"%s^" | STEAMID: %s | admin: ^"%s^" ^n",name,ip, SteamID, adminname)  
    }  
    
    
    //HUD Message only 
    else if(get_pcvar_num(timestamptype) == 2) 
    { 
    //info o fotce u gracza
    fnGreenChat(player, "** wstaw foty na  %s  | player ^"%s^" | admin ^"%s^" | (%s) **", adres, name, adminname, timestamp)
    fnGreenChat(player, "** moje IP: ^"%s^" | SteamID: ^"%s^" **", ip, SteamID, timestamp)
    
    //HUD Timestamp Message 
    set_hudmessage(player, 255, 0, -1.0, 0.3, 0, 0.25, 1.0, 0.0, 0.0, 4) 
    format(timestampmsg, 127, "** TIMESTAMP - %s **", timestamp) 
    show_hudmessage(player, timestampmsg) 
    
    
    //ustawienie net graph 3
    client_cmd(player, "net_graph 3")
    if(fota_dla_admina == 1)
    {
    client_cmd(id, "net_graph 3")
    }
    // obnizenie fps
    client_cmd(player, "fps_max 1")
    if(fota_dla_admina == 1)
    {
    client_cmd(id, "fps_max 1")
    }
    //zrobienie fotki
    client_cmd(player, "snapshot") 
    if(fota_dla_admina == 1)
    {
    client_cmd(id, "snapshot") 
    }
    // info o fotce u admina
    fnGreenChat(id, "** [AMXX] FOTY ZOSTALY ZROBIONE DLA  ^"%s^" | IP: ^"%s^" | STEAMID: ^"%s^" ** ", name, ip, SteamID )
    console_print(id, "[AMXX] FOTY ZOSTALY ZROBIONE DLA ^"%s^" | IP: ^"%s^" | STEAMID: ^"%s^" ** ", name, ip, SteamID )
    // dodanie wpisu w logach
    log_to_file("screenlog.txt"," name: ^"%s^" | IP: ^"%s^" | STEAMID: %s | admin: ^"%s^" ^n",name,ip, SteamID, adminname)  
    }
    
    
    
    
    
    //Both 
    else if(get_pcvar_num(timestamptype) == 3) 
    { 
    
    //HUD Timestamp Message 
    set_hudmessage(player, 255, 0, -1.0, 0.3, 0, 0.25, 1.0, 0.0, 0.0, 4) 
    format(timestampmsg, 127, "** TIMESTAMP - %s **", timestamp) 
    show_hudmessage(player, timestampmsg) 
    
    //info o fotce u gracza
    fnGreenChat(player, "** wstaw foty na  %s  | player ^"%s^" | admin ^"%s^" | (%s) **", adres, name, adminname, timestamp)
    fnGreenChat(player, "** moje IP: ^"%s^" | SteamID: ^"%s^" **", ip, SteamID, timestamp)
    
    
    //ustawienie net graph 3
    client_cmd(player, "net_graph 3")
    if(fota_dla_admina == 1)
    {
    client_cmd(id, "net_graph 3")
    }
    
    // obnizenie fps
    client_cmd(player, "fps_max 1")
    if(fota_dla_admina == 1)
    {
    client_cmd(id, "fps_max 1")
    }
    
    //zrobienie fotki
    client_cmd(player, "snapshot") 
    if(fota_dla_admina == 1)
    {
    client_cmd(id, "snapshot") 
    }
    
    // info o fotce u admina
    fnGreenChat(id, "** [AMXX] FOTY ZOSTALY ZROBIONE DLA  ^"%s^" | IP: ^"%s^" | STEAMID: ^"%s^" ** ", name, ip, SteamID )
    console_print(id, "[AMXX] FOTY ZOSTALY ZROBIONE DLA ^"%s^" | IP: ^"%s^" | STEAMID: ^"%s^" ** ", name, ip, SteamID )
    
    // dodanie wpisu w logach
    log_to_file("screenlog.txt"," name: ^"%s^" | IP: ^"%s^" | STEAMID: %s | admin: ^"%s^" ^n",name,ip, SteamID, adminname)  
    } 
    
    	
    	
    
    if(koniec == 0)
    {
              
    // fps na 101
    client_cmd(player, "fps_max 101")
    if(fota_dla_admina == 1)
    {
    client_cmd(id, "fps_max 101")
    }
    
    
    // info w konsoli gracza
    console_print(player, "********************************************************")
    console_print(player, "** Admin ^"%s^" z powodu podejrzen o oszustwo zrobil Ci screeny **",adminname)
    console_print(player, "** Screeny znajdziesz w katalogi cstrike/cstrike_polish                     **")
    console_print(player, "** W celu odbanowania koniecznie wrzuc je na %s                 **", adres)
    console_print(player, "********************************************************")
    
    // co ma robic
    if(ban_typ == 0)
    {
    client_cmd(player, "kill")
    }
    
    else if(ban_typ == 1)
    {
    client_cmd(id, "amx_ban 0 ^"%s^" ^"wstaw foty na %s ^" ", name, adres)
    }
    
    else if(ban_typ == 2)
    {
    client_cmd(id, "amx_banip ^"%s^" 0 ^"wstaw foty na %s ^" ", name, adres)
    }
    
    }
    
    return PLUGIN_CONTINUE 
    }
    Reaktywacja siec www.cs-4u.PL
    Odpowiedz z cytatem  
     

  4. #4 Odp: problem z amx_screen automatyczne bany 
    Adminus pospolitus
    Dołączył
    Jan 2008
    Wiek
    20
    Posty
    9,226
    L 02/10/2012 - 22:12:02: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx")
    Najlepszy hosting www tutaj
    Konfiguracja amxx, instalacja pluginów, pisanie pluginów AMXX. Więcej info na www.naven.com.pl
    Jebać steama.
    Odpowiedz z cytatem  
     

  5. #5 Odp: problem z amx_screen automatyczne bany 
    Spamer Awatar Kr0LuUU
    Dołączył
    Dec 2009
    Posty
    167
    mam dopisane w plugin ini debug do amxbans_main.amxx

    Kod:
    ; AMX Mod X plugins
    
    ; Admin Base - Always one has to be activated
    amxbans_core.amxx
    amxbans_main.amxx debug
    ;admin.amxx		; admin base (required for any admin-related)
    ;admin_sql.amxx		; admin base - SQL version (comment admin.amxx)
    ważniejsze dla mnie jest to automatyczne dawanie bana przez amx_screen
    Reaktywacja siec www.cs-4u.PL
    Odpowiedz z cytatem  
     

Podobne wątki

  1. [Non Steam] Automatyczne bindy
    By karfol in forum Problemy z CS 1.6
    Odpowiedzi: 1
    Ostatni post / autor: 13-08-2011, 22:01
  2. Automatyczne ustawianie rate
    By 5599 in forum HLDS2 czyli serwer dla CS Source
    Odpowiedzi: 3
    Ostatni post / autor: 09-02-2010, 16:28
  3. Metin2 - bot automatyczne expienie
    By worner in forum Archiwum forum
    Odpowiedzi: 0
    Ostatni post / autor: 14-12-2009, 11:17
  4. Automatyczne ściąganie z FTP Map,Mp3 itd
    By ptakuu in forum HLDS2 czyli serwer dla CS Source
    Odpowiedzi: 5
    Ostatni post / autor: 13-10-2009, 15:29
  5. Automatyczne say /COŚ po wejściu na serwer
    By Kemsan in forum Problemy z CS 1.6
    Odpowiedzi: 2
    Ostatni post / autor: 02-02-2009, 18:20
  6. Automatyczne ustawienia grafiki w CS:S
    By Waco PP in forum Instalacja CS:S Steam i Non Steam
    Odpowiedzi: 0
    Ostatni post / autor: 27-09-2008, 17:03
  7. bany problem
    By kamilex1616 in forum Problemy i konfiguracja AMXX
    Odpowiedzi: 1
    Ostatni post / autor: 17-09-2008, 23:46
  8. Automatyczne wyłaczanie?
    By optical in forum Problemy z CS 1.6
    Odpowiedzi: 8
    Ostatni post / autor: 24-08-2008, 22:01
  9. Automatyczne pobieranie Sxe z servera!
    By Classic in forum Amx Mod X
    Odpowiedzi: 3
    Ostatni post / autor: 25-03-2008, 02:02

Odwiedzający znaleźli tę stronę szukając:

admin screen 3v15

amx_screen plugin

amx_screen amxx

amx_screen 3v15

steam id 0.0.0.0 o co chodzi

amx: screeny

admin screen 3v15 nie banuje

cs 1.6 amx_screen

amxbans screens nie banuje

screenshoty playera amx

admin_screen3v15 jak robic screny

cs 1.6 amx_screen nie banuje

amx_screen counter strike source

Uprawnienia umieszczania postów
  • Nie możesz zakładać nowych tematów
  • Nie możesz pisać wiadomości
  • Nie możesz dodawać załączników
  • Nie możesz edytować swoich postów
  •