/blueball .. Ball Commands

All Helbreath Server Source Discussion here.
Post Reply
ruberto
Regular
Posts: 64
Joined: Mon May 31, 2004 7:33 pm

Post by ruberto »

Hallo ..

i have one more question :P... i want to change these commands locations but


void CGame::Command_BlueBall(int iClientH, char *pData,DWORD dwMsgSize)

{
char seps[] = "= \t\n";
char cName_Master[10], cName_Slave[10], cNpcName[256], cWaypoint[11], cSA;
int pX, pY, j, iNum, iNamingValue, iNpcID;
register int i, x;
BOOL bMaster;
int iSoxH, iSoX;

if (m_pClientList[iClientH] == NULL) return;
if ((memcmp(m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->m_cName, "aresden", 9) != 0) &&
(memcmp(m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->m_cName, "elvine", 9) != 0) &&
(memcmp(m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->m_cName, "wrhus_1", 9) != 0) &&
(memcmp(m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->m_cName, "wrhus_2", 9) != 0)) return;
...etc.

i changed huntzones to towns and warehouses but still i cant do these commands in these places..

could someone help me because i dont know how this works. i can only copy paste and change stuff :D
Audioslave
noob
Posts: 24
Joined: Sat Dec 25, 2004 2:40 pm

Post by Audioslave »

ruberto wrote: Hallo ..

i have one more question :P... i want to change these commands locations but


void CGame::Command_BlueBall(int iClientH, char *pData,DWORD dwMsgSize)

{
char seps[] = "= \t\n";
char cName_Master[10], cName_Slave[10], cNpcName[256], cWaypoint[11], cSA;
int pX, pY, j, iNum, iNamingValue, iNpcID;
register int i, x;
BOOL bMaster;
int iSoxH, iSoX;

if (m_pClientList[iClientH] == NULL) return;
if ((memcmp(m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->m_cName, "aresden", 9) != 0) &&
(memcmp(m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->m_cName, "elvine", 9) != 0) &&
(memcmp(m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->m_cName, "wrhus_1", 9) != 0) &&
(memcmp(m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->m_cName, "wrhus_2", 9) != 0)) return;
...etc.

i changed huntzones to towns and warehouses but still i cant do these commands in these places..

could someone help me because i dont know how this works. i can only copy paste and change stuff :D

Code: Select all

if ((memcmp(m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->m_cName, "aresden", 7) != 0) &&
  (memcmp(m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->m_cName, "elvine", 6) != 0) &&
  (memcmp(m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->m_cName, "wrhus_1", 7) != 0) &&
  (memcmp(m_pMapList[m_pClientList[iClientH]->m_cMapIndex]->m_cName, "wrhus_2", 7) != 0)) return;
Windy
Member
Posts: 157
Joined: Tue Nov 18, 2003 8:31 am
Location: wishing I was somewhere else

Post by Windy »

/blueball command a slut comes out and gives your character sex to cure the blueball(s) problem
<span style='color:blue'>Coding with Evil Intentions....Evil at its Best....</span>
Post Reply