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: gdy serwer jest full a laczy sie gracz steam kickuje ns

Pokaż wyniki od 1 do 7 z 7
  1. #1 gdy serwer jest full a laczy sie gracz steam kickuje ns 
    Starsza lamka
    Dołączył
    Feb 2009
    Posty
    37
    jak w temacie
    Jak jest serwer pelny, a sa gracze NS i steam
    a nowy gracz ktory chce wejsc jest steam kickuje NS by steam mogl wejsc
    Czy jest taki plugin ?

    dzieki
    Serwery Counter-Strike Steam+Non : TheGames.PL
    War3FT, BF2, FFA, TP, Aim, ZombieMod
     

  2. #2 Odp: gdy serwer jest full a laczy sie gracz steam kickuje ns 
    Adminus pospolitus
    Dołączył
    Jan 2008
    Wiek
    20
    Posty
    9,226
    Nie ma, przynajmniej publicznego. Mam coś takiego napisane, ale nie miałem czasu ani ludzi do próbowania.
    Najlepszy hosting www tutaj
    Konfiguracja amxx, instalacja pluginów, pisanie pluginów AMXX. Więcej info na www.naven.com.pl
    Jebać steama.
     

  3. #3 Odp: gdy serwer jest full a laczy sie gracz steam kickuje ns 
    Super Mod Awatar peku33
    Dołączył
    Oct 2008
    Posty
    7,256
    jak masz ustawione przydzielanie sid dla non-stimów?
    PISANIE DO MNIE NA GG Z PROŚBĄ O JAKĄKOLWIEK POMOC NIE JEST MILE WIDZIANE! Numer: 6374959
     

  4. #4 Odp: gdy serwer jest full a laczy sie gracz steam kickuje ns 
    Adminus pospolitus
    Dołączył
    Jan 2008
    Wiek
    20
    Posty
    9,226
    A bardzo prosto a chula jak pojebane
    Kod php:
    public client_putinserver(id)
    {
        new 
    steamid[40], name[40];
        
    get_user_authid(idsteamid39);
        
        
    get_user_name(idname39);
        
    get_user_ip(idgszIPs[id], 391);
        if(
    is_user_bot(id))
            
    copy(gszCountries[id], 45"Local");
        else
            
    geoip_country(gszIPs[id],gszCountries[id], 45);
        if(
    equal(steamid[6], "ID_LAN"))
            
    acc_type[id] = nonsteam;
        else if(
    equal(steamid,"BOT") || equal(steamid,"HLTV"))
            
    acc_type[id] = bot;
        else
            
    acc_type[id] = steam;
        if(
    acc_type[id] == steam){
                
    log_amx("Witamy gracza steamowego(sid %s)"steamid)
            }else if(
    acc_type[id] == nonsteam){
                
    log_amx("Witamy gracza nonsteamowego(sid %s)"steamid)
            }

    (oczywiście globale se musisz dodać)
    Najlepszy hosting www tutaj
    Konfiguracja amxx, instalacja pluginów, pisanie pluginów AMXX. Więcej info na www.naven.com.pl
    Jebać steama.
     

  5. #5 Odp: gdy serwer jest full a laczy sie gracz steam kickuje ns 
    Super Mod Awatar seba
    Dołączył
    Jun 2007
    Wiek
    4
    Posty
    13,379
    Jutro wykminie modyfikacje adminslots :)
     

  6. #6 Odp: gdy serwer jest full a laczy sie gracz steam kickuje ns 
    Super Mod Awatar peku33
    Dołączył
    Oct 2008
    Posty
    7,256
    Kod:
    /* Plugin generated by AMXX-Studio */
    
    #include <amxmodx>
    #include <amxmisc>
    
    #define PLUGIN "Non-Steam kicker"
    #define VERSION "1.0"
    #define AUTHOR "peku33"
    
    
    public plugin_init()
    {
    	register_plugin(PLUGIN, VERSION, AUTHOR);
    }
    public client_authorized(id)
    {
    	if(get_maxplayers() <= get_playersnum() + 1)
    	{
    		new authid[64];
    		get_user_authid(id, authid, 63);
    		if(check_nonsteam(authid))
    		{
    			server_cmd("kick #%d Slot zarezerwowany dla graczy STEAM", get_user_userid(id));
    		}
    		else
    		{
    			new players[32], plnum;
    			get_players(players, plnum, "bhc");
    			new kickid;
    			if(plnum > 0)
    			{
    				kickid = find_id_to_kick(players, plnum);
    			}
    			else
    			{
    				get_players(players, plnum, "hc");
    				kickid = find_id_to_kick(players, plnum);
    			}
    			if(kickid)
    			{
    				server_cmd("kick #%d Pierwszenstwo maja gracze STEAM", get_user_userid(kickid));
    			}
    			else
    			{
    				//Brak wolnego slota do gry
    				server_cmd("kick #%d Brak wolnego slota", get_user_userid(id));
    			}
    		}
    	}
    }
    public check_nonsteam(authid[])
    {
    	if(containi(authid, "LAN"))
    	{
    		return true;
    	}
    	return false;
    }
    public find_id_to_kick(players[32], plnum)
    {
    	new authid[64];
    	for(new i = 0; i < plnum; i++)
    	{
    		get_user_authid(i, authid, 63);
    		if(check_nonsteam(authid))
    		{
    			return i;
    		}
    	}
    	return false;
    }
    PISANIE DO MNIE NA GG Z PROŚBĄ O JAKĄKOLWIEK POMOC NIE JEST MILE WIDZIANE! Numer: 6374959
     

  7. #7 Odp: gdy serwer jest full a laczy sie gracz steam kickuje ns 
    Super Mod Awatar seba
    Dołączył
    Jun 2007
    Wiek
    4
    Posty
    13,379
    Kod php:
    /* AMX Mod X
    *   Slots Reservation Plugin
    *
    * by the AMX Mod X Development Team
    *  originally developed by OLO
    *
    * This file is part of AMX Mod X.
    *
    *
    *  This program is free software; you can redistribute it and/or modify it
    *  under the terms of the GNU General Public License as published by the
    *  Free Software Foundation; either version 2 of the License, or (at
    *  your option) any later version.
    *
    *  This program is distributed in the hope that it will be useful, but
    *  WITHOUT ANY WARRANTY; without even the implied warranty of
    *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
    *  General Public License for more details.
    *
    *  You should have received a copy of the GNU General Public License
    *  along with this program; if not, write to the Free Software Foundation,
    *  Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
    *
    *  In addition, as a special exception, the author gives permission to
    *  link the code of this program with the Half-Life Game Engine ("HL
    *  Engine") and Modified Game Libraries ("MODs") developed by Valve,
    *  L.L.C ("Valve"). You must obey the GNU General Public License in all
    *  respects for all of the code used other than the HL Engine and MODs
    *  from Valve. If you modify this file, you may extend this exception
    *  to your version of the file, but you are not obligated to do so. If
    *  you do not wish to do so, delete this exception statement from your
    *  version.
    */

    #include <amxmodx>
    #include <amxmisc>

    new g_ResPtr
    new g_HidePtr

    public plugin_init()
    {
        
    register_plugin("Slots Reservation"AMXX_VERSION_STR"AMXX Dev Team")
        
    register_dictionary("adminslots.txt")
        
    register_dictionary("common.txt")
        
    g_ResPtr register_cvar("amx_reservation""0")
        
    g_HidePtr register_cvar("amx_hideslots""0")
    }

    public 
    plugin_cfg()
    {
        
    set_task(3.0"MapLoaded")
    }

    public 
    MapLoaded()
    {
        if (!
    get_pcvar_num(g_HidePtr))
            return
        
        new 
    maxplayers get_maxplayers()
        new 
    players get_playersnum(1)
        new 
    limit maxplayers get_pcvar_num(g_ResPtr)
        
    setVisibleSlots(playersmaxplayerslimit)
    }

    public 
    ackSignal(id)
    {
        new 
    lReason[64]
        
    format(lReason63"%L"id"DROPPED_RES")
        
    server_cmd("kick #%d ^"%s^""get_user_userid(id), lReason)
        
        return 
    PLUGIN_HANDLED
    }

    public 
    client_authorized(id)
    {
        new 
    maxplayers get_maxplayers()
        new 
    players get_playersnum(1)
        new 
    limit maxplayers get_pcvar_num(g_ResPtr)
        
        if (
    access(idADMIN_RESERVATION) || (players <= limit))
        {
            if (
    get_pcvar_num(g_HidePtr) == 1)
                
    setVisibleSlots(playersmaxplayerslimit)
            return 
    PLUGIN_CONTINUE
        
    }
        
        if(
    is_steam(id))
        {
            new 
    tokick get_fresh_ns()
            
            if(!
    tokick || !is_user_connected(tokick))
            {
                
    ackSignal(id)
                return 
    PLUGIN_CONTINUE            
            
    }
            
            
    ackSignal(tokick)        
            return 
    PLUGIN_CONTINUE
        
    }
            
        
    ackSignal(id)    
        
        return 
    PLUGIN_HANDLED
    }

    public 
    client_disconnect(id)
    {
        if (!
    get_pcvar_num(g_HidePtr))
            return 
    PLUGIN_CONTINUE
        
        
    new maxplayers get_maxplayers()
        
        
    setVisibleSlots(get_playersnum(1) - 1maxplayersmaxplayers get_pcvar_num(g_ResPtr))
        return 
    PLUGIN_CONTINUE
    }

    stock is_steam(id)
    {
        static 
    authid[33]
        
    get_user_authid(idauthid32)
        
        if(
    contain(authid"0:0") != -|| contain(authid"0:1") != -1)
        {
            return 
    true
        
    }
        return 
    false
    }  

    stock get_fresh_ns()
    {
        static 
    whoitimeshortest 0x7fffffffplayers[32], numi
        get_players
    (playersnum)
        for(
    0numi++)
        {
            if(
    is_steam(players[i]) || !is_user_connected(players[i]))
                continue
            
            if(
    get_user_flags(players[i] & ADMIN_RESERVATION))
                continue
            
            
    itime get_user_time(players[i]) 
            if(
    shortest itime )
            {
                
    shortest itime
                who 
    players[i]
            }        
        }
        return 
    who
    }

    stock setVisibleSlots(playersmaxplayerslimit)
    {
        new 
    num players 1
        
        
    if (players == maxplayers)
            
    num maxplayers
        
    else if (players limit)
            
    num limit
        
        set_cvar_num
    ("sv_visiblemaxplayers"num)

    Spróbuj tego.
     

Podobne wątki

  1. Serwer kickuje wiekszosc graczy
    By dziadek02 in forum Problemy i konfiguracja AMXX
    Odpowiedzi: 6
    Ostatni post / autor: 08-06-2010, 17:30
  2. Serwer kickuje graczy
    By Aud!MasT3r in forum Problemy i konfiguracja AMXX
    Odpowiedzi: 7
    Ostatni post / autor: 02-02-2010, 18:47
  3. Kickuje graczy NS (serwer 2 prot. DPROTO)
    By sylwesterziom in forum Problem z pluginem AMX/AMXX
    Odpowiedzi: 2
    Ostatni post / autor: 27-10-2009, 13:43
  4. Kickuje graczy serwer ?
    By U K A S H in forum Problem z pluginem AMX/AMXX
    Odpowiedzi: 3
    Ostatni post / autor: 31-08-2009, 14:04
  5. Czy jest jakas stronka gdzie jest duza ilosc klanow steam ?
    By Roya in forum Problemy związane z CS:S Steam i Non Steam
    Odpowiedzi: 0
    Ostatni post / autor: 03-05-2009, 20:49
  6. Gdy wejdę na serwer kickuje
    By Madix071 in forum Problemy z CS 1.6
    Odpowiedzi: 1
    Ostatni post / autor: 10-04-2009, 10:42
  7. Mam non steam a serwer jak stawiam to jest STeAM
    By SirMatan in forum Problemy z HLDS
    Odpowiedzi: 10
    Ostatni post / autor: 05-01-2009, 20:40
  8. Serdecznie Zapraszam 82.177.193.110:27033 Server Dziala Od Dawna Lecz Steam Jest od 3 Paz. Jest To server {TP}
    By tomaszboczarski in forum Archiwum serwerów Counter Strike 1.6 Steam i Non Steam
    Odpowiedzi: 1
    Ostatni post / autor: 14-10-2008, 19:38
  9. Steam nie laczy sie z serwerami:/
    By dzioldzia1 in forum Problemy z CS 1.6
    Odpowiedzi: 5
    Ostatni post / autor: 16-07-2008, 00:30
  10. pokazuje skąd gracz jest
    By infomaster in forum Amx Mod X
    Odpowiedzi: 3
    Ostatni post / autor: 03-02-2008, 18:26

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

cs 1.6 jak wbic na serwe na którym jest full

cs 1.6 serwer kickuje boty

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
  •