hsnsercan 24 Posted September 15, 2015 Share Posted September 15, 2015 char_battle.cpp search to->PointChange(POINT_EXP, iExp, true); After make a new line and paste. to->ChatPacket(CHAT_TYPE_INFO, "|cff00ff00|H|hEarned Exp : %d", iExp); 2 3 Link to comment Share on other sites More sharing options...
Premium Galet 514 Posted September 15, 2015 Premium Share Posted September 15, 2015 (edited) An easy but a nice way to use it in "test_server" mode Thanks Edited September 15, 2015 by galet 1 Link to comment Share on other sites More sharing options...
thespeedy 20 Posted September 16, 2015 Share Posted September 16, 2015 (edited) can make a config? in the index? pls z.b. text_exp: 1 Edited September 16, 2015 by thespeedy Link to comment Share on other sites More sharing options...
Kori 170 Posted September 16, 2015 Share Posted September 16, 2015 (edited) can make a config? in the index? pls z.b. text_exp: 1 Open the char_battle.cpp:under: iExp = AdjustExpByLevel(to, iExp); add this: if (show_exp) { to->ChatPacket(CHAT_TYPE_INFO, "|cff00ff00|H|hEarned Exp : %d", iExp); } now open config.h and add this: extern bool show_exp; now open config.cpp and annd under this: bool bXTrapEnabled = false; this: bool show_exp = false; now under this funktion: TOKEN("block_char_creation") { int tmp = 0; str_to_number(tmp, value_string); if (0 == tmp) g_BlockCharCreation = false; else g_BlockCharCreation = true; continue; } add this: TOKEN("show_exp") { int exp = 0; str_to_number(exp, value_string); if (1 == exp) { show_exp = true; fprintf(stderr, "Show EXP: %in", exp); } } done but not testet.... .Kori Edited September 16, 2015 by Kori 1 Link to comment Share on other sites More sharing options...
Recommended Posts