2.24b source bug
crusade code plz :unsure:
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
post the 2.22 hgserver someone.. with the /makegm .. i am in need for it .. otherwise.. i'll be forced to pester klks for the code snippet =)
"<i>One night I was talking to God, but I realized I was talking to <u>myself</u></i>"<br><br><img src='http://img61.imageshack.us/img61/2678/untitled13bf.gif' border='0' alt='user posted image' /><br><br><b><u>Links</u></b><br>
crusade code <_<
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
omg the crusade codeeeeeeeeeeeeeeeeeeeee

QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
Hey zabuza didint you missed the case of Mana Stone???Zabuza wrote: With this my middleland hgserver doesn't crash when entering crusade mode, but i can't enter the game to test it yet. Maybe you'd like to test it.Code: Select all
void CGame::CreateCrusadeStructures() { int i, z, tX, tY, iNamingValue; char cName[6], cNpcName[21], cNpcWayPoint[11]; ZeroMemory(cName, sizeof(cName)); ZeroMemory(cNpcName, sizeof(cNpcName)); ZeroMemory(cNpcWayPoint, sizeof(cNpcWayPoint)); for (i = 0; i < DEF_MAXCRUSADESTRUCTURES; i++) if (m_stCrusadeStructures[i].cType != NULL) { for (z = 0; z < DEF_MAXMAPS; z++) if ((m_pMapList[z] != NULL) && (strcmp(m_pMapList[z]->m_cName, m_stCrusadeStructures[i].cMapName) == 0)) { // À§Ä¡°¡ ÀÏÄ¡ÇÏ´Â ¸Ê¿¡ °ÇÃ๰À» À§Ä¡½ÃŲ´Ù. iNamingValue = m_pMapList[z]->iGetEmptyNamingValue(); if (iNamingValue == -1) { // ´õÀÌ»ó ÀÌ ¸Ê¿¡ NPC¸¦ ¸¸µé¼ö ¾ø´Ù. À̸§À» ÇÒ´çÇÒ ¼ö ¾ø±â ¶§¹®. // ÀÌ·± ÀÏÀÌ? } else { // NPC¸¦ »ý¼ºÇÑ´Ù. wsprintf(cName, "XX%d", iNamingValue); cName[0] = '_'; cName[1] = z+65; switch (m_stCrusadeStructures[i].cType) { case 36: if (strcmp(m_pMapList[z]->m_cName, "aresden") == 0) strcpy(cNpcName, "AGT-Aresden"); else if (strcmp(m_pMapList[z]->m_cName, "elvine") == 0) strcpy(cNpcName, "AGT-Elvine"); break; case 37: if (strcmp(m_pMapList[z]->m_cName, "aresden") == 0) strcpy(cNpcName, "CGT-Aresden"); else if (strcmp(m_pMapList[z]->m_cName, "elvine") == 0) strcpy(cNpcName, "CGT-Elvine"); break; case 40: if (strcmp(m_pMapList[z]->m_cName, "aresden") == 0) strcpy(cNpcName, "ESG-Aresden"); else if (strcmp(m_pMapList[z]->m_cName, "elvine") == 0) strcpy(cNpcName, "ESG-Elvine"); break; case 41: if (strcmp(m_pMapList[z]->m_cName, "aresden") == 0) strcpy(cNpcName, "GMG-Aresden"); else if (strcmp(m_pMapList[z]->m_cName, "elvine") == 0) strcpy(cNpcName, "GMG-Elvine"); break; default: for(int AuxCont=0;AuxCont<DEF_MAXNPCTYPES;AuxCont++) { if((m_pNpcConfigList[AuxCont]!=NULL)&&(m_pNpcConfigList[AuxCont]->m_sType==m_stCrusadeStructures[i].cType)) { strcpy(cNpcName, m_pNpcConfigList[AuxCont]->m_cNpcName); break; } } break; } tX = (int)m_stCrusadeStructures[i].dX; tY = (int)m_stCrusadeStructures[i].dY; if (bCreateNewNpc(cNpcName, cName, m_pMapList[z]->m_cName, 0, 0, DEF_MOVETYPE_RANDOM, &tX, &tY, cNpcWayPoint, NULL, NULL, -1, FALSE) == FALSE) { // ½ÇÆÐÇßÀ¸¹Ç·Î ¿¹¾àµÈ NameValue¸¦ ÇØÁ¦½ÃŲ´Ù. //m_pMapList[ m_pClientList[i]->m_cMapIndex ]->SetNamingValueEmpty(iNamingValue); m_pMapList[z]->SetNamingValueEmpty(iNamingValue); } else { wsprintf(G_cTxt, "(!) Creating Crusade Structure(%s) at %s(%d, %d)", cNpcName, m_stCrusadeStructures[i].cMapName, tX, tY); PutLogList(G_cTxt); } } } } }
shouldnt it be right under case 41 :unsure:case 42:
strcpy(cNpcName, "ManaStone");
break;
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
Code: Select all
default:
for(int AuxCont=0;AuxCont<DEF_MAXNPCTYPES;AuxCont++)
{
if((m_pNpcConfigList[AuxCont]!=NULL)&&(m_pNpcConfigList[AuxCont]->m_sType==m_stCrusadeStructures[i].cType))
{
strcpy(cNpcName, m_pNpcConfigList[AuxCont]->m_cNpcName);
break;
}
}
break;
}
lol i was trying to make my newbie updates and shit

QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>
havent tested it
QUOTE (ADDKiD @ Dec 1 2006, 4:01 PM) <br>You guys make me laugh alot, half the shit I say, is bullshit...<br><br><img src='http://img485.imageshack.us/img485/492/banssig1ng.gif' border='0' alt='user posted image' /><br><br><b>I see no changes at all, wake up in the morning and ask myself...<br>Is life worth living? Should I blast myself?</b><br><br><b><a href='http://2paclegacy.com' target='_blank'>2PacLegacy.com</a></b>