LeakingCode | LC On Top!
الذهاب إلى القناة على Telegram
On this channel we leak data. The data that was leaked included various types of data ranging from general data to prohibited data and other similar things Channel Created By @Lintar21
إظهار المزيد1 757
المشتركون
لا توجد بيانات24 ساعات
لا توجد بيانات7 أيام
+1730 أيام
أرشيف المشاركات
Repost from Kudeta By LeakGTPS t.me/leakgt
//how to make /setcreator like itskyy but more simple and 100% anti crash/exploitet
//world.h
if (realboy_command == "/setcreator" && pInfo(peer)->tankIDName == clist1) {
gamepacket_t p;
p.Insert("set_default_color|`o\nadd_label_with_icon|big|Set Creator Name|left|12436|\nadd_spacer|small|\nadd_textbox|Creator 1: "+clist1+"|left|\nadd_textbox|Creator 4: " + clist4 + "|left|\nadd_textbox|Creator 5: " + clist5 + "|left|\nadd_textbox|Creator 6: " + clist6 + "|left|\nadd_textbox|Creator 6: " + clist6 + "|left|\nadd_textbox|Creator 7: " + clist7 + "|left|\nadd_textbox|Creator 8: " + clist8 + "|left|\nadd_textbox|Creator 9: " + clist9 + "|left|\nadd_textbox|Creator 10: " + clist10 + "|left|\nadd_textbox|Creator 11:" + clist11 + "|left|\nadd_textbox|Creator 12:" + clist12 + "|left|\nadd_smalltext|Creators Number are 1, 4, 5, 6, 7, 8, 9, 10, 11, 12. if you put another number than that it will failed or invalid|left|\nadd_text_input|nomor|Creator:3|\nadd_spacer|small|\nadd_smalltext|This one is for the creator name|left|\nadd_text_input|Namaewa|Creator Name:||20|\nadd_spacer|small|\nend_dialog|cList|Cancel|Confirm the Change|");
p.CreatePacket(peer):
}
//source.cpp
if (cch.find("action|dialog_return|\ndialog_name|cList") != string::npos) {
if (pInfo(peer)->tankIDName == clist1) {
//string description = explode("\n", explode("desk|", cch)[1])[0];
string creatorname = explode("\n", explode("Namaewa|", cch)[1])[0];
int number = atoi(explode("\n", explode("nomor|", cch)[1])[0].c_str());
if (number == 2 number == 3 number < 1 number > 12) {
Algorithm::send_overlay(peer, "`4INVALID");
break;
}
if (creatorname.length() < 1) {
Algorithm::send_overlay(peer, "`4INVALID");
}
else {
string list = to_string(number);
std::ifstream p("./config/config.json");
json J;
p >> J;
p.close();
J["clist"+list] = creatorname;
std::ofstream out("./config/config.json");
out << std::setw(4) << J;
out.close();
load_configss();
}
}
}
// code credit by ReallBoyy
// #LEAK CPP ELIT
