Raeghel
-
Posts
12 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Raeghel
-
-
Problem still remain. Someone else can give me some hints?
-
22 minutes ago, Syreldar said:
Give effect:
__EffectContainer_AttachEffect(EFFECT);
Remove effect:
__EffectContainer_DetachEffect(EFFECT);
Can i use this function in char_item.cpp?
-
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.
-
-
Problem with ClientManager.h
in Community Support - Questions & Answers
Posted
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
I really appreciate your help.