Jump to content


  • Content Count

  • Joined

  • Last visited

  • Yangs

    0 [ Donate ]

Community Reputation

0 Neutral

About Raeghel

  • Rank


  • Gender

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. I don't have any syserr or crash or something else. When i close client windows send me this error.
  2. Sorry guys i have this problem. Can you help me? In file included from NetBase.cpp:4: ClientManager.h:337: error: expected ',' or '...' before '*' token ClientManager.h:337: error: ISO C++ forbids declaration of 'TPacketGDCombatZoneResetRanking' with no type ClientManager.h:338: error: expected ',' or '...' before '*' token ClientManager.h:338: error: ISO C++ forbids declaration of 'TPacketGDCombatZoneSkillsCache' with no type This is my header file: void CCombatZoneManager::OnResetRanking() { TPacketGDCombatZoneResetRanking p; p.bType = COMBAT_ZONE_SUB_HEADER_NONE; db_clientdesc->DBPacketHeader(HEADER_GD_COMBAT_ZONE_RESET_RANKING, 0, sizeof(TPacketGDCombatZoneResetRanking)); db_clientdesc->Packet(&p, sizeof(p)); } and void CCombatZoneManager::AppendSkillCache(LPCHARACTER ch) { // He don't have the skills selected so we dont will store nothing. if (ch->GetSkillGroup() == 0) return; const DWORD * matrixArraySkill = CCombatZoneManager::instance().GetSkillList(ch); TPacketGDCombatZoneSkillsCache p; p.dwPID = ch->GetPlayerID(); p.dwSkillLevel1 = ch->GetSkillLevel(matrixArraySkill[SKILL_VNUM_1]); p.dwSkillLevel2 = ch->GetSkillLevel(matrixArraySkill[SKILL_VNUM_2]); p.dwSkillLevel3 = ch->GetSkillLevel(matrixArraySkill[SKILL_VNUM_3]); p.dwSkillLevel4 = ch->GetSkillLevel(matrixArraySkill[SKILL_VNUM_4]); p.dwSkillLevel5 = ch->GetSkillLevel(matrixArraySkill[SKILL_VNUM_5]); p.dwSkillLevel6 = ch->GetSkillLevel(matrixArraySkill[SKILL_VNUM_6]); db_clientdesc->DBPacketHeader(HEADER_GD_COMBAT_ZONE_SKILLS_CACHE, 0, sizeof(TPacketGDCombatZoneSkillsCache)); db_clientdesc->Packet(&p, sizeof(p)); // Set perfect skills after cached all old skills CCombatZoneManager::instance().SetSkill(ch, COMBAT_ZONE_SET_SKILL_MAX_LEVEL); } And this is ClientManager.cpp void CClientManager::CombatZoneResetRanking(const TPacketGDCombatZoneResetRanking* p) { CDBManager::instance().DirectQuery("UPDATE player.player SET combat_zone_rank = 0 WHERE combat_zone_rank > 0"); std::auto_ptr<SQLMsg> pMsg(CDBManager::instance().DirectQuery("SELECT * FROM player.combat_zone_ranking_weekly ORDER BY memberPoints DESC LIMIT 3")); if (pMsg->Get()->uiNumRows == 3) { MYSQL_ROW row; int memberRank = 1; char szQuery[512 + 1]; while ((row = mysql_fetch_row(pMsg->Get()->pSQLResult))) { sprintf(szQuery, "UPDATE player.player SET combat_zone_rank = '%d' WHERE name = '%s'", memberRank, row[0]); CDBManager::instance().DirectQuery(szQuery); memberRank++; } } else { sys_err("The giving ranking medals not was possible because not was exist 3 players on ranking weekly."); } CDBManager::instance().DirectQuery("TRUNCATE TABLE player.combat_zone_ranking_weekly"); } void CClientManager::UpdateSkillsCache(const TPacketGDCombatZoneSkillsCache* p) { char szQuery[2048 + 1]; sprintf(szQuery, "INSERT INTO player.combat_zone_skills_cache (pid, skillLevel1, skillLevel2, skillLevel3, skillLevel4, skillLevel5, skillLevel6) " "VALUES('%d', '%d', '%d', '%d', '%d', '%d', '%d') " "ON DUPLICATE KEY UPDATE skillLevel1 = '%d', skillLevel2 = '%d', skillLevel3 = '%d', skillLevel4 = '%d', skillLevel5 = '%d', skillLevel6 = '%d'", p->dwPID, p->dwSkillLevel1, p->dwSkillLevel2, p->dwSkillLevel3, p->dwSkillLevel4, p->dwSkillLevel5, p->dwSkillLevel6, p->dwSkillLevel1, p->dwSkillLevel2, p->dwSkillLevel3, p->dwSkillLevel4, p->dwSkillLevel5, p->dwSkillLevel6); CDBManager::instance().DirectQuery(szQuery); } [...] case HEADER_GD_COMBAT_ZONE_RESET_RANKING: CombatZoneResetRanking((TPacketGDCombatZoneResetRanking*)data); break; case HEADER_GD_COMBAT_ZONE_SKILLS_CACHE: UpdateSkillsCache((TPacketGDCombatZoneSkillsCache*)data); break; I really appreciate your help.
  3. Problem still remain. Someone else can give me some hints?
  4. Can i use this function in char_item.cpp?
  5. Hi guys, i need your help. I have create a new effect on item but when i "unequip" this item, effect remain and i want to clear this effect. I put this on my char_item.ccp else if (true == CItemVnumHelper::IsZodiacRune(dwVnum)) { this->EffectPacket(SE_EFFECT_RUNE); } and i try to do like this bool CHARACTER::UnequipItem(LPITEM item) { .... if (item->GetVnum() == 49000) { this->EffectPacket(SE_NONE); } what i need to put in this function to clear effect? Sorry for bad english and thanks for help.
  6. I totally recommend this guy. 100% professional work and fast service. I ordered a complete ingame interface. Perfect work!
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.