Reklam
Aslında arkadaş direkt olarak itemi ekler eklemez yazılmasını istemiş, bahsettiğiniz kod da preview butonuna bastığınızda oranı göstermesini gerektirecek kod.if (bType != UpgradeTypePreview)
UpgradeInsertLog(proto.GetNum(), nReqCoins, (uint8)pUserScroll, bResult, logitemid, logitemcount);
for (int i = 0; i < 1; i++)
{
std::string UpgradeRateString = string_format("Item Orani -> [ %d ]", uint32((GenRate) / 100));
Packet chatpktt(WIZ_CHAT, (uint8)ChatType::KNIGHTS_CHAT);
chatpktt << GetNation() << GetSocketID() << uint8(0) << UpgradeRateString;
this->Send(&chatpktt);
}
}
item upgrede system.cpp ye ekle oranı gösterir
logitemid,logitemcount,GenRate genrateyi nereye eklicez üstad bende yararlanmak isterimif (bType != UpgradeTypePreview)
UpgradeInsertLog(proto.GetNum(), nReqCoins, (uint8)pUserScroll, bResult, logitemid, logitemcount);
for (int i = 0; i < 1; i++)
{
std::string UpgradeRateString = string_format("Item Orani -> [ %d ]", uint32((GenRate) / 100));
Packet chatpktt(WIZ_CHAT, (uint8)ChatType::KNIGHTS_CHAT);
chatpktt << GetNation() << GetSocketID() << uint8(0) << UpgradeRateString;
this->Send(&chatpktt);
}
}
item upgrede system.cpp ye ekle oranı gösterir
dc den yazdımlogitemid,logitemcount,GenRate genrateyi nereye eklicez üstad bende yararlanmak isterimEkli dosyayı görüntüle 4422
discord adresiniz nedir acabalogitemid,logitemcount,GenRate genrateyi nereye eklicez üstad bende yararlanmak isterimEkli dosyayı görüntüle 4422