- 0
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Activity
-
-
26
-
1
-
31
-
1
Quest. Give different items to male and female characters.
Hello. How can i make a quest to give different items to male and female characters? -
70
Metin2 Dev - Changelogs
Marketplace Did you find this review helpful? --> Reset for all reviews There has been abuse of review ratings within the Marketplace They were used for revenge and were not honest (Because it was anonymous (or not, for me))- 1
-
-
0
Where to start metin2 dev?
Hello, I am an individual developer and would consider myself 'decent' in coding. I have been playing metin2 for a long time and recently I wanted to learn metin2dev but I have no clue where to start? Could you please give me a direction so I can start from easy and learn my way through? -
10
-
11
CArea loading optimization
in CArea::__UpdateLoadedObjectInstances u have new func "emplace" and here it is not used value_type if ((*it)->dwType == prt::PROPERTY_TYPE_BUILDING) m_GraphicThingInstanceCRCMap.emplace(TGraphicThingInstanceCRCMap::value_type((*it)->pThingInstance, c_pObjectData->dwCRC)); like this: if ((*it)->dwType == prt::PROPERTY_TYPE_BUILDING) m_GraphicThingInstanceCRCMap.emplace((*it)->pThingInstance, c_pObjectData->dwCRC);
-
Question
DeYaN. 8
Hei everybody. I try to disable the polymorph in PVP.
I make this in char_battle.cpp:
if (IsPolymorphed() == true && IsPC())
RemoveAffect(AFFECT_POLYMORPH);
ChatPacket(CHAT_TYPE_INFO, "Transformarea in modul PVP este interzisa!");
But this is work for all atack :)) (monster/player) So now if i atack a monster/player the polymorph effect are remove :)), i want only to players
Link to comment
Share on other sites
Top Posters For This Question
4
3
Popular Days
Mar 17
6
Mar 18
1
Top Posters For This Question
DeYaN. 4 posts
Tasho 3 posts
Popular Days
Mar 17 2017
6 posts
Mar 18 2017
1 post
Popular Posts
Tasho
if (IsPC() && IsPolymorphed() && pkVictim->IsPC())
Tasho
Because you need to use a block condition. ( { } ) if (IsPC() && IsPolymorphed() && pkVictim->IsPC()) { RemoveAffect(AFFECT_POLYMORPH); ChatPacket(CHAT_TYPE_INFO, "Transformar
Tasho
Is same code. //char_skill.cpp bool CHARACTER::UseSkill(DWORD dwVnum, LPCHARACTER pkVictim, bool bUseGrandMaster) { if (IsPC() && IsPolymorphed() && pkVictim->IsPC()) { Remo
6 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now