Search found 3 matches

by 50-pesos
Sat Aug 06, 2011 3:27 am
Forum: Helbreath Chat
Topic: MundoHelbreath
Replies: 2
Views: 5391

gtfo zp
by 50-pesos
Sun Jul 31, 2011 10:46 pm
Forum: Source Code Submissions
Topic: Change city command
Replies: 0
Views: 11385

Classic /changecity command but this one also changes your hero items.

HG SRC:
Game.cpp:
Search for:
case '/':

right before that add:
if (memcmp(cp, "/changecity ", 12) == 0) {
PlayerOrder_ChangeCity(iClientH);
return;
}

now at the end of Game.cpp add:
void CGame::PlayerOrder_ChangeCity ...
by 50-pesos
Sun Jul 31, 2011 10:29 pm
Forum: Source Code Submissions
Topic: Last Login
Replies: 0
Views: 5243

The server will show you the last time you entered to the game:
Your last visit in HBArmageddon: 18:21:54 - 31/07/11

Game.cpp:
Search:
m_iTotalClients++;
if (m_iTotalClients > m_iMaxClients) {
m_iMaxClients = m_iTotalClients;
}

right under that add:
//50Cent - Last Login
m_pClientList[i ...