TuZaKK 1
TuZaKK
kaptanmikro1 1
kaptanmikro1
farkmt2official 2
farkmt2official
kralhakan2009 1
kralhakan2009
Vahsi Uzman 1
Vahsi Uzman
Bvural41 1
Bvural41
Hikaye Ekle

Configli Mysql Loglarını Kapatma

  • Konuyu başlatan Konuyu başlatan EmreGokceSnsz
  • Başlangıç tarihi Başlangıç tarihi
  • Cevaplar Cevaplar 30
  • Görüntüleme Görüntüleme 4K
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Türkiye'de ilk Mobil & PC Aynı Anda Metin2 Oyna. Triarchonline kalıcı ve uzun ömürlü yapısı ile 24 Temmuz'da açılıyor. | 1-99 Mobil Metin2 Triarch HEMEN TIKLA!

config.cpp açılır

Kod:
int gPlayerMaxLevel = 99;

aratılır ve altına aşagıda tüm kodlar yapıştırılır

Kod:
[B]int Tum_Mysql_Log = 0;[/B]
[B]int ItemLog_Mysql_Log = 0;[/B]
[B]int CharLog_Mysql_Log = 0;[/B]
[B]int LoginLog_Mysql_Log = 0;[/B]
[B]int MoneyLog_Mysql_Log = 0;[/B]
[B]int HackLog_Mysql_Log = 0;[/B]
[B]int HackCRCLog_Mysql_Log = 0;[/B]
[B]int PCBangLoginLog_Mysql_Log = 0;[/B]
[B]int GoldBarLog_Mysql_Log = 0;[/B]
[B]int CubeLog_Mysql_Log = 0;[/B]
[B]int SpeedHackLog_Mysql_Log = 0;[/B]
[B]int ChangeNameLog_Mysql_Log = 0;[/B]
[B]int GMCommandLog_Mysql_Log = 0;[/B]
[B]int RefineLog_Mysql_Log = 0;[/B]
[B]int ShoutLog_Mysql_Log = 0;[/B]
[B]int LevelLog_Mysql_Log = 0;[/B]
[B]int BootLog_Mysql_Log = 0;[/B]
[B]int VCardLog_Mysql_Log = 0;[/B]
[B]int FishLog_Mysql_Log = 0;[/B]
[B]int QuestRewardLog_Mysql_Log = 0;[/B]
[B]int DetailLoginLog_Mysql_Log = 0;[/B]
[B]int DragonSlayLog_Mysql_Log = 0;[/B]
[B]int HackShieldLog_Mysql_Log = 0;[/B]
daha sonra
Kod:
TOKEN("max_level")
aratılır ve kod blogunun altına aşagıdakilerin hepsi eklenir

Kod:
[B]        TOKEN("Tum_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(Tum_Mysql_Log, value_string);[/B]
[B]                sys_log(0, "Tum_Mysql_Log: %d\n", Tum_Mysql_Log);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("ItemLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(ItemLog_Mysql_Log, value_string);[/B]
[B]                sys_log(0, "ItemLog_Mysql_Log: %d\n", ItemLog_Mysql_Log);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("CharLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(CharLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("LoginLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(LoginLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("MoneyLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(MoneyLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("HackLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                sys_log(0, "HackLog_Mysql_Log: %d\n", HackLog_Mysql_Log);[/B]
[B]                str_to_number(HackLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("HackCRCLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(HackCRCLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("PCBangLoginLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(PCBangLoginLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("GoldBarLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(GoldBarLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("CubeLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(CubeLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("SpeedHackLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(SpeedHackLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("ChangeNameLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(ChangeNameLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("GMCommandLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(GMCommandLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("RefineLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(RefineLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("ShoutLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(ShoutLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("LevelLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(LevelLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("BootLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(BootLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("VCardLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(VCardLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }[/B]
[B]        TOKEN("FishLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(FishLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }        [/B]
[B]        TOKEN("QuestRewardLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(QuestRewardLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }        [/B]
[B]        TOKEN("DetailLoginLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(DetailLoginLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }        [/B]
[B]        TOKEN("DragonSlayLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(DragonSlayLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }        [/B]
[B]        TOKEN("HackShieldLog_Mysql_Log")[/B]
[B]            {[/B]
[B]                str_to_number(HackShieldLog_Mysql_Log, value_string);[/B]
[B]                continue;[/B]
[B]            }        [/B]

kaydedip kapatalım config.h açalım

Kod:
extern int gPlayerMaxLevel;

aratalım ve altına aşagıdaki kodları ekliyelim

Kod:
extern int Tum_Mysql_Log;
Kod:
[B]extern int ItemLog_Mysql_Log;[/B]
[B]extern int CharLog_Mysql_Log;[/B]
[B]extern int LoginLog_Mysql_Log;[/B]
[B]extern int MoneyLog_Mysql_Log;[/B]
[B]extern int HackLog_Mysql_Log;[/B]
[B]extern int HackCRCLog_Mysql_Log;[/B]
[B]extern int PCBangLoginLog_Mysql_Log;[/B]
[B]extern int GoldBarLog_Mysql_Log;[/B]
[B]extern int CubeLog_Mysql_Log;[/B]
[B]extern int SpeedHackLog_Mysql_Log;[/B]
[B]extern int ChangeNameLog_Mysql_Log;[/B]
[B]extern int GMCommandLog_Mysql_Log;[/B]
[B]extern int RefineLog_Mysql_Log;[/B]
[B]extern int ShoutLog_Mysql_Log;[/B]
[B]extern int LevelLog_Mysql_Log;[/B]
[B]extern int BootLog_Mysql_Log;[/B]
[B]extern int VCardLog_Mysql_Log;[/B]
[B]extern int FishLog_Mysql_Log;[/B]
[B]extern int QuestRewardLog_Mysql_Log;[/B]
[B]extern int DetailLoginLog_Mysql_Log;[/B]
[B]extern int DragonSlayLog_Mysql_Log;[/B]
[B]extern int HackShieldLog_Mysql_Log;[/B]

daha sonra

Filezilladan filesimizn chlerindeki "CONFIG" açıp bunları en alta ekliyeim gerekli ayarları yapalım
True = 1 & False = 0

0 Log Tutma
1 Log Tut

Kod:
[B]Tum_Mysql_Log = 0[/B]
[B]ItemLog_Mysql_Log = 0[/B]
[B]CharLog_Mysql_Log = 0[/B]
[B]LoginLog_Mysql_Log = 0[/B]
[B]MoneyLog_Mysql_Log = 0[/B]
[B]HackLog_Mysql_Log = 0[/B]
[B]HackCRCLog_Mysql_Log = 0[/B]
[B]PCBangLoginLog_Mysql_Log = 0[/B]
[B]GoldBarLog_Mysql_Log = 0[/B]
[B]CubeLog_Mysql_Log = 0[/B]
[B]SpeedHackLog_Mysql_Log = 0[/B]
[B]ChangeNameLog_Mysql_Log = 0[/B]
[B]GMCommandLog_Mysql_Log = 0[/B]
[B]RefineLog_Mysql_Log = 0[/B]
[B]ShoutLog_Mysql_Log = 0[/B]
[B]LevelLog_Mysql_Log = 0[/B]
[B]BootLog_Mysql_Log = 0[/B]
[B]VCardLog_Mysql_Log = 0[/B]
[B]FishLog_Mysql_Log = 0[/B]
[B]QuestRewardLog_Mysql_Log = 0[/B]
[B]DetailLoginLog_Mysql_Log = 0[/B]
[B]DragonSlayLog_Mysql_Log = 0[/B]
[B]HackShieldLog_Mysql_Log = 0[/B]

log.cpp açınız içindekileri siliniz.



daha sonra build edebilirsiniz İyi Forumlar.

Örnegin Serverinizde GM nize güvenmiyorsanız gm kod log tutmasını açarsınız digerleri pasif kalır.Ama örnegin sadece CubeLog_Mysql_Log
log tutucaksa 1 yapınız birde Tum_Mysql_Log da 1 yapmanız gerekmektedir digerleri 0 kalsın.
@LuaN; yorumu üzerine fark ettim paylaşayım dedim :)

 
Moderatör tarafında düzenlendi:
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...

Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)

Geri
Üst