- Katılım
- 24 May 2018
- Konular
- 35
- Mesajlar
- 64
- Online süresi
- 16g 47073s
- Reaksiyon Skoru
- 89
- Altın Konu
- 0
- Başarım Puanı
- 92
- Yaş
- 34
- TM Yaşı
- 7 Yıl 11 Ay 2 Gün
- MmoLira
- 8,443
- DevLira
- 75
Metin2 EP, Valorant VP dahil tüm oyun ürünlerini en uygun fiyatlarla bulabilir, Item ve Karakterlerinizi hızlıca satabilirsiniz. HEMEN TIKLA!
Proof
Kod:
cmd.cpp
ACMD(do_grzyb_ovh);
{ "muchomorantyexp", do_grzyb_ovh, 0, POS_DEAD, GM_PLAYER },
cmd_general.cpp
Version 1 - With PulseManager:
ACMD(do_grzyb_ovh)
{
if (!ch)
return;
if (ch->IsDead() || ch->IsObserverMode())
return;
if (!PulseManager::Instance().IncreaseClock(ch->GetPlayerID(), ePulse::Alchemia, std::chrono::milliseconds(10000)))
{
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Musisz odczekac: %.2f sekund."), PULSEMANAGER_CLOCK_TO_SEC2(ch->GetPlayerID(), ePulse::Alchemia));
return;
}
if (ch->GetQuestFlag("muchomor.antyexp") == 0)
{
ch->SetQuestFlag("muchomor.antyexp", 1);
ch->ChatPacket(CHAT_TYPE_INFO, "|cffffc700AntyExp - Został Włączony.|r");
}
else
{
ch->SetQuestFlag("muchomor.antyexp", 0);
ch->ChatPacket(CHAT_TYPE_INFO, "AntyExp - Został Wyłączony.");
}
}
Version 2 with normal cooldown with questflag:
ACMD(do_grzyb_ovh)
{
if (!ch)
return;
if (ch->IsDead() || ch->IsObserverMode())
return;
int cooltime = ch->GetQuestFlag("muchomor.cooltime");
if (cooltime > get_global_time())
{
ch->ChatPacket(CHAT_TYPE_INFO, LC_TEXT("Odczekaj 5 sekund."));
return;
}
if (ch->GetQuestFlag("muchomor.antyexp") == 0)
{
ch->SetQuestFlag("muchomor.antyexp", 1);
ch->ChatPacket(CHAT_TYPE_INFO, "|cffffc700AntyExp - Został Włączony.|r");
}
else
{
ch->SetQuestFlag("muchomor.antyexp", 0);
ch->ChatPacket(CHAT_TYPE_INFO, "AntyExp - Został Wyłączony.");
}
ch->SetQuestFlag("muchomor.cooltime", get_global_time() + 5);
}
char_battle.cpp
Find:
to->PointChange(POINT_EXP, iExp, true);
from->CreateFly(FLY_EXP, to);
and change:
if (to->GetQuestFlag("muchomor.antyexp") == 0)
{
to->PointChange(POINT_EXP, iExp, true);
from->CreateFly(FLY_EXP, to);
}
Ok! How to use in client?
Just use net
import net
def YourDef(self):
net.SendChatPacket("/muchomorantyexp")
Done!
You can easily edit this code for an assumed item or anything else, the code is simple, takes little code, no new packets, no bugs with guild or other problems, full fixed
Moderatör tarafında düzenlendi:
- Katılım
- 29 Kas 2020
- Konular
- 215
- Mesajlar
- 2,162
- Online süresi
- 5ay 76979s
- Reaksiyon Skoru
- 2,411
- Altın Konu
- 35
- Başarım Puanı
- 226
- Yaş
- 29
- TM Yaşı
- 5 Yıl 4 Ay 22 Gün
- MmoLira
- 19,641
- DevLira
- 51
Paylaşım için teşekkürler.
- Katılım
- 16 Mar 2014
- Konular
- 137
- Mesajlar
- 1,382
- Online süresi
- 2ay 8g
- Reaksiyon Skoru
- 871
- Altın Konu
- 40
- Başarım Puanı
- 246
- Yaş
- 28
- TM Yaşı
- 12 Yıl 1 Ay 7 Gün
- MmoLira
- 31,553
- DevLira
- 15
TR: Çalıştığına dair görsel/video paylaşabilir misiniz ?
EN : Can you include a visual of proof that the codes are working?
EN : Can you include a visual of proof that the codes are working?
- Katılım
- 24 May 2018
- Konular
- 35
- Mesajlar
- 64
- Online süresi
- 16g 47073s
- Reaksiyon Skoru
- 89
- Altın Konu
- 0
- Başarım Puanı
- 92
- Yaş
- 34
- TM Yaşı
- 7 Yıl 11 Ay 2 Gün
- MmoLira
- 8,443
- DevLira
- 75
TR: Çalıştığına dair görsel/video paylaşabilir misiniz ?
EN : Can you include a visual of proof that the codes are working?
its the same thing just a rewritten code for items.
No bug party, no bug guild.
Şu an konuyu görüntüleyenler (Toplam : 1, Üye: 0, Misafir: 1)
Benzer konular
- Cevaplar
- 9
- Görüntüleme
- 522
- Cevaplar
- 2
- Görüntüleme
- 114
- Cevaplar
- 0
- Görüntüleme
- 139
- Cevaplar
- 10
- Görüntüleme
- 539
- Cevaplar
- 2
- Görüntüleme
- 337









