⭐🚀 TkyNET | Blacklist ve Profesyonel DDoS Korumalı TeamSpeak 3 Sunucuları 🚀⭐
Sponsor Görsel
⭐ Buraya kendi metin reklamınızı vererek binlerce kişiye ulaşın! ⭐
Sponsor Görsel 2
SponsorSponsor

Rerty Bug Sorunu

Rerty Bug Sorunu
Bundan 2 gün önce konu açtım bbmod için rerty engel plugın istemiştim kene sagolsun attı ama map değişince herkesi t atıyor bugsuz olanı varmı.
RE: Rerty Bug Sorunu
Deneyin Olmassa Dönüş Yapın
 
PHP Kod:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <hamsandwich>

#define PLUGIN "Retry Transfer"
#define VERSION "1.0"
#define AUTHOR "CSA"

#define MAX_IP 25
#define RECONNECT_TIME 60.0
#define ADMIN_FLAG ADMIN_BAN
#define DOKU ADMIN_IMMUNITY

new memory[MAX_IP][32];

public 
plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
}
#if AMXX_VERSION_NUM < 183
public client_disconnect(id){
#else
public client_disconnected(id){
#endif
    if(get_user_flags(id) & DOKU) return;
    new ip[32];
    get_user_ip(id, ip, 31, 1);
    new slot = find_empty_memory_slot();
    formatex(memory[slot],31,"%s",ip);
    set_task(RECONNECT_TIME, "delete_slot",1071 + slot);
}
public 
client_putinserver(id) {
    if(get_user_flags(id) & DOKU) return;
    new ip[32];
    get_user_ip(id, ip, 31, 1)
    for(new i; i<MAX_IP;i++) {
        if(equal(ip, memory[i])) {
            set_task(1.0,"show_message",1881+id)
            
            set_task
(1.0,"transfer",1923+id)
            delete_slot(i);
            
            
break;
        }
    }
}
public 
transfer(id) {
    id -= 1923;
    if(is_user_connected(id)) {
        set_hudmessage(255, 255, 255, 0.05, 0.72, 0, 5.0, 10.0, 2.0, 0.15, 3)
        show_hudmessage(id, "Bu Serverda Retry Cekmek Yasak ! Zombie Takimina Transfer Edildiniz !");
        cs_set_user_team(id, CS_TEAM_T)
        ExecuteHamB(Ham_CS_RoundRespawn,id)
    }
}
public 
show_message(id) {
    
    id 
-= 1881;
    if(is_user_connected(id)) {
        new name[32]
        get_user_name(id,name,31);
        new players[32],inum;
        get_players(players,inum)
        for(new i;i<inum;i++) {
            if(access(players[i],ADMIN_FLAG)) {
                renkli_yazi(id,"!g{ !nZombie Wars !g} !t%s !nAdli Oyuncu Retry Cekti. !gSimdi Zombie Takimina Transfer Ediliyor...",name);            
            
}
        }
    }
}
public 
delete_slot(slotid) {
    slotid -= 1071;
    memory[slotid][0] = 0;
}
find_empty_memory_slot() {
    for(new i; i<MAX_IP;i++) {
        if(!memory[i][0]) return i;
    }
    log_amx("[MEMORY ERROR] Reconnect ip hafiza birimi doldu ! Lutfen MAX_IP degerini yukseltin.");
    return MAX_IP;
}



stock renkli_yazi(const id, const input[], any:...)
{
    new count = 1, players[32];
    static msg[191];
    vformat(msg, 190, input, 3);
    
    replace_all
(msg, 190, "!n", "^x01"); // Default Renk(Sarı)
    replace_all(msg, 190, "!g", "^x04"); // Yeşil Renk
    replace_all(msg, 190, "!t", "^x03"); // Takım Renk( CT mavi , T kırmızı )
    
    
if (id) players[0] = id; else get_players(players, count, "ch"); {
        for (new i = 0; i < count; i++)
        {
            if (is_user_connected(players[i]))
            {
                
                message_begin
(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
                write_byte(players[i]);
                write_string(msg);
                message_end();
            }
            
        
}
    }
} 
ds-standard-14385
RE: Rerty Bug Sorunu
(25-11-2020, 03:24)QExits Adlı Kullanıcıdan Alıntı: Deneyin Olmassa Dönüş Yapın
 
PHP Kod:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <hamsandwich>

#define PLUGIN "Retry Transfer"
#define VERSION "1.0"
#define AUTHOR "CSA"

#define MAX_IP 25
#define RECONNECT_TIME 60.0
#define ADMIN_FLAG ADMIN_BAN
#define DOKU ADMIN_IMMUNITY

new memory[MAX_IP][32];

public 
plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
}
#if AMXX_VERSION_NUM < 183
public client_disconnect(id){
#else
public client_disconnected(id){
#endif
    if(get_user_flags(id) & DOKU) return;
    new ip[32];
    get_user_ip(id, ip, 31, 1);
    new slot = find_empty_memory_slot();
    formatex(memory[slot],31,"%s",ip);
    set_task(RECONNECT_TIME, "delete_slot",1071 + slot);
}
public 
client_putinserver(id) {
    if(get_user_flags(id) & DOKU) return;
    new ip[32];
    get_user_ip(id, ip, 31, 1)
    for(new i; i<MAX_IP;i++) {
        if(equal(ip, memory[i])) {
            set_task(1.0,"show_message",1881+id)
            
            set_task
(1.0,"transfer",1923+id)
            delete_slot(i);
            
            
break;
        }
    }
}
public 
transfer(id) {
    id -= 1923;
    if(is_user_connected(id)) {
        set_hudmessage(255, 255, 255, 0.05, 0.72, 0, 5.0, 10.0, 2.0, 0.15, 3)
        show_hudmessage(id, "Bu Serverda Retry Cekmek Yasak ! Zombie Takimina Transfer Edildiniz !");
        cs_set_user_team(id, CS_TEAM_T)
        ExecuteHamB(Ham_CS_RoundRespawn,id)
    }
}
public 
show_message(id) {
    
    id 
-= 1881;
    if(is_user_connected(id)) {
        new name[32]
        get_user_name(id,name,31);
        new players[32],inum;
        get_players(players,inum)
        for(new i;i<inum;i++) {
            if(access(players[i],ADMIN_FLAG)) {
                renkli_yazi(id,"!g{ !nZombie Wars !g} !t%s !nAdli Oyuncu Retry Cekti. !gSimdi Zombie Takimina Transfer Ediliyor...",name);            
            
}
        }
    }
}
public 
delete_slot(slotid) {
    slotid -= 1071;
    memory[slotid][0] = 0;
}
find_empty_memory_slot() {
    for(new i; i<MAX_IP;i++) {
        if(!memory[i][0]) return i;
    }
    log_amx("[MEMORY ERROR] Reconnect ip hafiza birimi doldu ! Lutfen MAX_IP degerini yukseltin.");
    return MAX_IP;
}



stock renkli_yazi(const id, const input[], any:...)
{
    new count = 1, players[32];
    static msg[191];
    vformat(msg, 190, input, 3);
    
    replace_all
(msg, 190, "!n", "^x01"); // Default Renk(Sarı)
    replace_all(msg, 190, "!g", "^x04"); // Yeşil Renk
    replace_all(msg, 190, "!t", "^x03"); // Takım Renk( CT mavi , T kırmızı )
    
    
if (id) players[0] = id; else get_players(players, count, "ch"); {
        for (new i = 0; i < count; i++)
        {
            if (is_user_connected(players[i]))
            {
                
                message_begin
(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
                write_byte(players[i]);
                write_string(msg);
                message_end();
            }
            
        
}
    }
} 
adamları 2 el t yapar
MawiŞ*
RE: Rerty Bug Sorunu
Şunuda Deneyebilirsin ;
.rarno_retry.rar(Dosya Boyutu: 1,54 KB | İndirme Sayısı: 1)
ds-standard-14385
RE: Rerty Bug Sorunu
(25-11-2020, 03:41)MawiLarq Adlı Kullanıcıdan Alıntı:
(25-11-2020, 03:24)QExits Adlı Kullanıcıdan Alıntı: Deneyin Olmassa Dönüş Yapın
 
PHP Kod:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <hamsandwich>

#define PLUGIN "Retry Transfer"
#define VERSION "1.0"
#define AUTHOR "CSA"

#define MAX_IP 25
#define RECONNECT_TIME 60.0
#define ADMIN_FLAG ADMIN_BAN
#define DOKU ADMIN_IMMUNITY

new memory[MAX_IP][32];

public 
plugin_init() {
    register_plugin(PLUGIN, VERSION, AUTHOR)
}
#if AMXX_VERSION_NUM < 183
public client_disconnect(id){
#else
public client_disconnected(id){
#endif
    if(get_user_flags(id) & DOKU) return;
    new ip[32];
    get_user_ip(id, ip, 31, 1);
    new slot = find_empty_memory_slot();
    formatex(memory[slot],31,"%s",ip);
    set_task(RECONNECT_TIME, "delete_slot",1071 + slot);
}
public 
client_putinserver(id) {
    if(get_user_flags(id) & DOKU) return;
    new ip[32];
    get_user_ip(id, ip, 31, 1)
    for(new i; i<MAX_IP;i++) {
        if(equal(ip, memory[i])) {
            set_task(1.0,"show_message",1881+id)
            
            set_task
(1.0,"transfer",1923+id)
            delete_slot(i);
            
            
break;
        }
    }
}
public 
transfer(id) {
    id -= 1923;
    if(is_user_connected(id)) {
        set_hudmessage(255, 255, 255, 0.05, 0.72, 0, 5.0, 10.0, 2.0, 0.15, 3)
        show_hudmessage(id, "Bu Serverda Retry Cekmek Yasak ! Zombie Takimina Transfer Edildiniz !");
        cs_set_user_team(id, CS_TEAM_T)
        ExecuteHamB(Ham_CS_RoundRespawn,id)
    }
}
public 
show_message(id) {
    
    id 
-= 1881;
    if(is_user_connected(id)) {
        new name[32]
        get_user_name(id,name,31);
        new players[32],inum;
        get_players(players,inum)
        for(new i;i<inum;i++) {
            if(access(players[i],ADMIN_FLAG)) {
                renkli_yazi(id,"!g{ !nZombie Wars !g} !t%s !nAdli Oyuncu Retry Cekti. !gSimdi Zombie Takimina Transfer Ediliyor...",name);            
            
}
        }
    }
}
public 
delete_slot(slotid) {
    slotid -= 1071;
    memory[slotid][0] = 0;
}
find_empty_memory_slot() {
    for(new i; i<MAX_IP;i++) {
        if(!memory[i][0]) return i;
    }
    log_amx("[MEMORY ERROR] Reconnect ip hafiza birimi doldu ! Lutfen MAX_IP degerini yukseltin.");
    return MAX_IP;
}



stock renkli_yazi(const id, const input[], any:...)
{
    new count = 1, players[32];
    static msg[191];
    vformat(msg, 190, input, 3);
    
    replace_all
(msg, 190, "!n", "^x01"); // Default Renk(Sarı)
    replace_all(msg, 190, "!g", "^x04"); // Yeşil Renk
    replace_all(msg, 190, "!t", "^x03"); // Takım Renk( CT mavi , T kırmızı )
    
    
if (id) players[0] = id; else get_players(players, count, "ch"); {
        for (new i = 0; i < count; i++)
        {
            if (is_user_connected(players[i]))
            {
                
                message_begin
(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
                write_byte(players[i]);
                write_string(msg);
                message_end();
            }
            
        
}
    }
} 
adamları 2 el t yapar

Gene aynı map değişince herkes t

(25-11-2020, 03:56)QExits Adlı Kullanıcıdan Alıntı: Şunuda Deneyebilirsin ;
saol oldu
Son Düzenleme: 25-11-2020, 04:48, Düzenleyen: acar47721
RE: Rerty Bug Sorunu
İstek konusu, @QExits adlı kullanıcı tarafından 2 saat içinde çözülmüştür.
İsteği çözdüğü için QExits Adlı kullanıcıya 1 rep puanı ve 1 yardım etme puanı otomatik olarak verilmiştir.
QExits Adlı kullanıcı sizin dışınızda toplam 8 kişiye yardım etmiştir.

Herhangi bir konuda hata olduğunu düşünüyorsanız destek sistemi üzerinden iletişim kurabilirsiniz.

Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da
Konuyu Okuyanlar: 1 Ziyaretçi