01-10-2017, 01:37 PM
Who has a way of turning off the "Ingi" during "pvp"?
|
Ingi PvP OFF
|
|
01-10-2017, 01:37 PM
Who has a way of turning off the "Ingi" during "pvp"?
01-10-2017, 03:58 PM
Just have to code it to disable the use of the ignition skill if pvp = on
01-10-2017, 04:07 PM
You can show how to do it?
01-10-2017, 04:11 PM
void do_Skill_UseEP ( CPC* ch, CNetMsg::SP& msg )
dofuncskill.cpp Line 2464 Would be added in there so the skills are not usable during PvP You can see it's already disabled in RvR
01-10-2017, 04:41 PM
I am going to try this out, my code, if it works ill send you the .cpp to disable it for you
![]()
01-10-2017, 04:52 PM
GameServer\doFuncSkill.cpp void do_Skill_UseEP ( CPC* ch, CNetMsg::SP& msg ) { if(ch->m_pArea->m_zone->isRVRZone() || ch->IsSetPlayerState(PLAYER_STATE_PKMODE) || ch->GetMapAttr() & MATT_FREEPKZONE || ch->GetMapAttr() & MATT_WAR) {
01-10-2017, 05:02 PM
GameServer\doFuncSkill.cpp void do_Skill_UseEP ( CPC* ch, CNetMsg::SP& msg ) { if(ch->m_pArea->m_zone->isRVRZone() || ch->IsSetPlayerState(PLAYER_STATE_PKMODE) || ch->GetMapAttr() & MATT_FREEPKZONE || ch->GetMapAttr() & MATT_WAR) { wouldn't it be get player state though?
01-10-2017, 05:40 PM
Code i tried doesn't let you use ign during pvp but also doesn let it work all together hehe
![]()
01-10-2017, 05:49 PM
GetPlayerState is returning `int` of player all state flages, IsSetPlayerState is checking state and returning `bool`. We can do it by this way too: ch->GetPlayerState() & PLAYER_STATE_PKMODEAlso, you should set clearing ignition assist at PVP turning on
01-10-2017, 07:14 PM
And what to do if I already Ingi and enter the zone of pvp? Ingi I still do not disappear? ? ![]() |
|
« Next Oldest | Next Newest »
|