
Originally Posted by
Rejain
Code:
#include "ZMyCharacter.cpp"
#include "ZGameAction.cpp"
void nomassive(const char* line, const int argc, char **const argv)
{
/*ZMyCharaterStatusBitPacking & zStatus = m_statusFlags.Ref();
MEMBER_SET_CHECKCRC(m_timeInfo, m_fGuardStartTime, ZGetGame()->GetTime() - GUARD_DURATION);
zStatus.m_bGuardCancel = true;
m_bCharged->Set_CheckCrc(true);
m_fChargedFreeTime.Set_CheckCrc( ZGetGame()->GetTime() + COUNTER_CHARGED_TIME);
ZPostReaction(COUNTER_CHARGED_TIME,ZR_CHARGED);
ZCharacter::OnMeleeGuardSuccess();*/
}
else
{
ZMyCharaterStatusBitPacking & zStatus = m_statusFlags.Ref();
MEMBER_SET_CHECKCRC(m_timeInfo, m_fGuardStartTime, ZGetGame()->GetTime() - GUARD_DURATION);
zStatus.m_bGuardCancel = true;
m_bCharged->Set_CheckCrc(true);
m_fChargedFreeTime.Set_CheckCrc( ZGetGame()->GetTime() + COUNTER_CHARGED_TIME);
ZPostReaction(COUNTER_CHARGED_TIME,ZR_CHARGED);
ZCharacter::OnMeleeGuardSuccess();
}
i really dont know how to code not even the basics ... and btw i didnt lie -.-'
(i thought the include might help i guess i was wrong XD )
That's very wrong 
ZChat_Cmds.cpp:
Code:
Line 25:
void firstcommand(const char* line, const int argc, char **const argv);
Line 161:
_CC_AC("firstcommand", &firstcommand, CCF_ALL, ARGVNoMin, 1, true, "/firstcommand", "");
Above:
void ChatCmd_Help(const char* line, const int argc, char **const argv)
Paste this:
void firstcommand(const char* line, const int argc, char **const argv)
{
ZGetConfiguration()->GetEtc()->bfirstcommand = ((ZGetConfiguration()->GetEtc()->bfirstcommand == false) ? true : false);
if(ZGetConfiguration()->GetEtc()->bfirstcommand)
ZChatOutput("^2 First Command Enabled");
else
ZChatOutput("^2 First Command Disabled");
}
ZConfiguration.h:
Code:
Line 130:
bool bfirstcommand;
Line 448:
#define Z_ETC_FIRSTCOMMAND (ZGetConfiguration()->GetEtc()->bfirstcommand)
ZMyCharacter.cpp
Code:
void ZMyCharacter::Charged() // ±â ¸ð¾Ò´Ù
{
if(ZGetConfiguration()->GetEtc()->bfirstcommand) return;
m_bCharged->Set_CheckCrc(true); //mmemory proxy
m_fChargedFreeTime.Set_CheckCrc( ZGetGame()->GetTime() + CHARGED_TIME);
ZPostReaction(CHARGED_TIME,ZR_CHARGED);
}