else if (strMessageCopy[0] == '1' && strMessageCopy[1] == 'N') {
//remove the first&second chars
strMessageCopy.erase(0, 2);
// Get the position of the space separating the name and the message
int pos = strMessageCopy.find_first_of('#');
std::n_wstring Guild;
std::n_wstring Kills;
CIFKillCounter* main = g_pCGInterface->m_IRM.GetResObj<CIFKillCounter>(5016, 1);
if (pos != -1)
{
// Split off the name
// We start at 1 to skip the #
Guild = strMessageCopy.substr(0, pos);
Kills = strMessageCopy.substr(pos + 1);
// Split off the message
// We start with pos+1 to skip the space
}
switch (g_Region.r)
{
case 17221:
case 17222:
case 17223:
case 17224:
case 17225:
case 17477:
case 17478:
case 17479:
case 17480:
case 17481:
case 17733:
case 17734:
case 17735:
case 17736:
case 17737:
case 17989:
case 17990:
case 17991:
case 17992:
case 17993:
g_pCGInterface->m_IRM.GetResObj(5016, 1)->ShowGWnd(true);
main->m_custom_label15->SetText(Guild.c_str());
main->m_custom_label7->SetText(Kills.c_str());
break;
default:
g_pCGInterface->m_IRM.GetResObj(5016, 1)->ShowGWnd(false);
break;
}
}
Download:
Form :
This form was inspired from adrenaline as a experiment.
I don't recommend using it as it is a much easier and cleaner method of doing this. You've added control in unnecessary places and the codes are out of order.
I don't recommend using it as it is a much easier and cleaner method of doing this. You've added control in unnecessary places and the codes are out of order.
why are you keep spreading this gif overall the forums? okay we know that you already got a fortresswar kill counter! congrats!, please read the first line, for those who aren't building their own filters
Fortresswar Time schedule 10/12/2011 - SRO Private Server - 2 Replies Hey somebody can explain me how i have to edit the
schedule.cfg for Fortresswar Everyday 6pm ?
because if i try to configure its bugged i cant attack the doors :(