• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

Spy Mode Error

Junior Spellweaver
Joined
Oct 9, 2010
Messages
159
Reaction score
8
hichay - Spy Mode Error - RaGEZONE Forums

Any one know how to fix this ?

Code:
inline void ZPostActivateSpyMap(int nMapID, bool bExclude)
{
ZPOSTCMD2(MC_SPY_STAGE_ACTIVATE_MAP, MCmdParamInt(nMapID), MCmdParamBool(bExclude));
}
inline void ZPostRequestSpyBanMapList()
{
ZPOSTCMD0(MC_SPY_STAGE_REQUEST_BAN_MAP_LIST);
}
inline void ZPostSpyStageStart(void* pMapListBlob)
{
ZPOSTCMD1(MC_SPY_STAGE_REQUEST_START, MCmdParamBlob(pMapListBlob, MGetBlobArraySize(pMapListBlob)));
}
#endif

i copy and paste their code to abby source.

Here is end of zpost.h abby source file

#ifdef _QUEST_ITEM
inline void ZPostRequestGetCharQuestItemInfo( const MUID& uid )
{
ZPOSTCMD1( MC_MATCH_REQUEST_CHAR_QUEST_ITEM_LIST, MCmdParamUID(uid) );
}

inline void ZPostRequestBuyQuestItem( const MUID& uid, const unsigned long int nItemID, const int nCount = 1 )
{
ZPOSTCMD3( MC_MATCH_REQUEST_BUY_QUEST_ITEM, MCmdParamUID(uid), MCommandParameterInt(nItemID), MCommandParameterInt(nCount) );
}

inline void ZPostRequestSellQuestItem( const MUID& uid, const unsigned long int nItemID, const int nCount = 1 )
{
ZPOSTCMD3( MC_MATCH_REQUEST_SELL_QUEST_ITEM, MCmdParamUID(uid), MCommandParameterInt(nItemID), MCommandParameterInt(nCount) );
}

inline void ZPostRequestDropSacrificeItem( const MUID& uid, const int nSlotIndex, const unsigned long int nItemID )
{
ZPOSTCMD3( MC_MATCH_REQUEST_DROP_SACRIFICE_ITEM, MCmdParamUID(uid), MCommandParameterInt(nSlotIndex), MCommandParameterInt(nItemID) );
}

inline void ZPostRequestCallbackSacrificeItem( const MUID& uid, const int nSlotIndex, const unsigned long int nItemID )
{
ZPOSTCMD3( MC_MATCH_REQUEST_CALLBACK_SACRIFICE_ITEM, MCmdParamUID(uid), MCommandParameterInt(nSlotIndex), MCommandParameterInt(nItemID) );
}

inline void ZPostRequestQL( const MUID& uid )
{
ZPOSTCMD1( MC_QUEST_REQUEST_QL, MCmdParamUID(uid) );
}




inline void ZPostRequestSacrificeSlotInfo( const MUID& uid )
{
ZPOSTCMD1( MC_MATCH_REQUEST_SLOT_INFO, MCmdParamUID(uid) );
}

inline void ZPostQuestStageMapset(const MUID& uidStage, int nMapsetID)
{
ZPOSTCMD2(MC_QUEST_STAGE_MAPSET, MCommandParameterUID(uidStage), MCommandParameterChar((char)nMapsetID));
}

inline void ZPostRequestMonsterBibleInfo( const MUID& uid )
{
ZPOSTCMD1( MC_MATCH_REQUEST_MONSTER_BIBLE_INFO, MCmdParamUID(uid) );
}

inline void ZPostResponseXTrapSeedKey(unsigned char *szComBuf) // Update sgk 0706
{
void *pBlob = MMakeBlobArray(sizeof(unsigned char), 128);
unsigned char *pCmdBlock = (unsigned char*)MGetBlobArrayElement(pBlob, 0);
CopyMemory(pCmdBlock, szComBuf, 128);

ZPOSTCMD1(MC_RESPONSE_XTRAP_SEEDKEY, MCommandParameterBlob(pBlob, MGetBlobArraySize(pBlob)));

MEraseBlobArray(pBlob);
}

inline void ZPsotResponseGameguardAuht( const DWORD dwIndex, const DWORD dwValue1, const DWORD dwValue2, const DWORD dwValue3 )
{
ZPOSTCMD4( MC_RESPONSE_GAMEGUARD_AUTH, MCmdParamUInt(dwIndex), MCmdParamUInt(dwValue1), MCmdParamUInt(dwValue2), MCmdParamUInt(dwValue3) );
}


inline void ZPostResponseFirstGameguardAuth( const DWORD dwIndex, const DWORD dwValue1, const DWORD dwValue2, const DWORD dwValue3 )
{
ZPOSTCMD4( MC_RESPONSE_FIRST_GAMEGUARD_AUTH, MCmdParamUInt(dwIndex), MCmdParamUInt(dwValue1), MCmdParamUInt(dwValue2), MCmdParamUInt(dwValue3) );
}

inline void ZPostRequestGamble( const MUID& uid)
{
ZPOSTCMD1( MC_MATCH_REQUEST_GAMBLE, MCmdParamUID(uid) );
}

inline void ZPostResponseResourceCRC32( DWORD dwCRC, DWORD dwXOR )
{
if( 0 == dwCRC )
{
_ASSERT( 0 != dwCRC );
return;
}

ZPOSTCMD2( MC_RESPONSE_RESOURCE_CRC32, MCmdParamUInt(dwCRC), MCmdParamUInt(dwXOR) );
}

inline void ZPostRequestUseSpendableNormalItem( const MUID& uid )
{
ZPOSTCMD1( MC_MATCH_REQUEST_USE_SPENDABLE_NORMAL_ITEM, MCmdParamUID(uid) );
}

inline void ZPostRequestUseSpendableBuffItem( const MUID& uid )
{
ZPOSTCMD1( MC_MATCH_REQUEST_USE_SPENDABLE_BUFF_ITEM, MCmdParamUID(uid) );
}

inline void ZPostRequestCaptureFlag(const int nItemUID)
{
ZPOSTCMD1(MC_MATCH_REQUEST_FLAG_CAP, MCommandParameterInt(nItemUID));
}


inline void ZPostRequestSkillFlag(const int nItemUID)
{
ZPOSTCMD1(MC_MATCH_REQUEST_SKILFLAG, MCommandParameterInt(nItemUID));
}
#define ZPostCharSkill(nID, uidTarget, vTargetPos) { \
ZPOSTCMD3(CLOAK_CMD_ID(MC_PEER_CH_SKILL, 56304), MCommandParameterInt(nID), MCommandParameterUID(uidTarget), MCommandParameterPos(vTargetPos.x, vTargetPos.y, vTargetPos.z)); \
}
#endif

// Zombie ///////////////////////////////////////////////////////////////////////////////////
inline void ZPosInfectionRequestZombieRaceAtJoinGame(const MUID& uidChar, int nRaceId)
{
ZPOSTCMD2( MC_MATCH_REQUEST_CHANGE_TO_ZOMBIE, MCmdParamUID(uidChar), MCmdParamInt(nRaceId));
}
inline void ZPosInfectionRequestSkillList()
{
ZPOSTCMD0(MC_MATCH_REQUEST_UPDATE_RACE_SKILL);
}
// WarriorClass ///////////////////////////////////////////////////////////////////////////////////

inline void ZPostRequestWarriorClassList()
{
ZPOSTCMD0(MC_MATCH_REQUEST_GETWARRRIORCLASS);
}
#endif
 
Last edited:
Newbie Spellweaver
Joined
Jul 25, 2016
Messages
16
Reaction score
0
Are you Ducking retarded


Edit: Show us all the code you're trying to steal and we'll be able to help you more. The problem is you're ending an if statement but you're probably never Ducking starting one.
 
Last edited:
Upvote 0
Junior Spellweaver
Joined
Oct 9, 2010
Messages
159
Reaction score
8
Are you Ducking retarded


Edit: Show us all the code you're trying to steal and we'll be able to help you more. The problem is you're ending an if statement but you're probably never Ducking starting one.

Oops. sorry. i will update now
 
Upvote 0
Newbie Spellweaver
Joined
Jul 25, 2016
Messages
16
Reaction score
0
Currently on mobile so this could be a tad incorrect, but as far as I could tell the problem was that you only had 1 #if but were closing w/ #endif twice. I tossed the only #endif you should need where I think it goes(at the end of quest-related functions). But I'm unfamiliar with the Abby source.


Code:
#ifdef _QUEST_ITEM
inline void ZPostRequestGetCharQuestItemInfo(const MUID & uid) {
    ZPOSTCMD1(MC_MATCH_REQUEST_CHAR_QUEST_ITEM_LIST, MCmdParamUID(uid));
}


inline void ZPostRequestBuyQuestItem(const MUID & uid,
    const unsigned long int nItemID,
        const int nCount = 1) {
    ZPOSTCMD3(MC_MATCH_REQUEST_BUY_QUEST_ITEM, MCmdParamUID(uid), MCommandParameterInt(nItemID), MCommandParameterInt(nCount));
}


inline void ZPostRequestSellQuestItem(const MUID & uid,
    const unsigned long int nItemID,
        const int nCount = 1) {
    ZPOSTCMD3(MC_MATCH_REQUEST_SELL_QUEST_ITEM, MCmdParamUID(uid), MCommandParameterInt(nItemID), MCommandParameterInt(nCount));
}


inline void ZPostRequestDropSacrificeItem(const MUID & uid,
    const int nSlotIndex,
        const unsigned long int nItemID) {
    ZPOSTCMD3(MC_MATCH_REQUEST_DROP_SACRIFICE_ITEM, MCmdParamUID(uid), MCommandParameterInt(nSlotIndex), MCommandParameterInt(nItemID));
}


inline void ZPostRequestCallbackSacrificeItem(const MUID & uid,
    const int nSlotIndex,
        const unsigned long int nItemID) {
    ZPOSTCMD3(MC_MATCH_REQUEST_CALLBACK_SACRIFICE_ITEM, MCmdParamUID(uid), MCommandParameterInt(nSlotIndex), MCommandParameterInt(nItemID));
}


inline void ZPostRequestQL(const MUID & uid) {
    ZPOSTCMD1(MC_QUEST_REQUEST_QL, MCmdParamUID(uid));
}








inline void ZPostRequestSacrificeSlotInfo(const MUID & uid) {
    ZPOSTCMD1(MC_MATCH_REQUEST_SLOT_INFO, MCmdParamUID(uid));
}


inline void ZPostQuestStageMapset(const MUID & uidStage, int nMapsetID) {
    ZPOSTCMD2(MC_QUEST_STAGE_MAPSET, MCommandParameterUID(uidStage), MCommandParameterChar((char) nMapsetID));
}


inline void ZPostRequestMonsterBibleInfo(const MUID & uid) {
    ZPOSTCMD1(MC_MATCH_REQUEST_MONSTER_BIBLE_INFO, MCmdParamUID(uid));
}
#endif


inline void ZPostResponseXTrapSeedKey(unsigned char * szComBuf) // Update sgk 0706
    {
        void * pBlob = MMakeBlobArray(sizeof(unsigned char), 128);
        unsigned char * pCmdBlock = (unsigned char * ) MGetBlobArrayElement(pBlob, 0);
        CopyMemory(pCmdBlock, szComBuf, 128);


        ZPOSTCMD1(MC_RESPONSE_XTRAP_SEEDKEY, MCommandParameterBlob(pBlob, MGetBlobArraySize(pBlob)));


        MEraseBlobArray(pBlob);
    }


inline void ZPsotResponseGameguardAuht(const DWORD dwIndex,
    const DWORD dwValue1,
        const DWORD dwValue2,
            const DWORD dwValue3) {
    ZPOSTCMD4(MC_RESPONSE_GAMEGUARD_AUTH, MCmdParamUInt(dwIndex), MCmdParamUInt(dwValue1), MCmdParamUInt(dwValue2), MCmdParamUInt(dwValue3));
}




inline void ZPostResponseFirstGameguardAuth(const DWORD dwIndex,
    const DWORD dwValue1,
        const DWORD dwValue2,
            const DWORD dwValue3) {
    ZPOSTCMD4(MC_RESPONSE_FIRST_GAMEGUARD_AUTH, MCmdParamUInt(dwIndex), MCmdParamUInt(dwValue1), MCmdParamUInt(dwValue2), MCmdParamUInt(dwValue3));
}


inline void ZPostRequestGamble(const MUID & uid) {
    ZPOSTCMD1(MC_MATCH_REQUEST_GAMBLE, MCmdParamUID(uid));
}


inline void ZPostResponseResourceCRC32(DWORD dwCRC, DWORD dwXOR) {
    if (0 == dwCRC) {
        _ASSERT(0 != dwCRC);
        return;
    }


    ZPOSTCMD2(MC_RESPONSE_RESOURCE_CRC32, MCmdParamUInt(dwCRC), MCmdParamUInt(dwXOR));
}


inline void ZPostRequestUseSpendableNormalItem(const MUID & uid) {
    ZPOSTCMD1(MC_MATCH_REQUEST_USE_SPENDABLE_NORMAL_ITEM, MCmdParamUID(uid));
}


inline void ZPostRequestUseSpendableBuffItem(const MUID & uid) {
    ZPOSTCMD1(MC_MATCH_REQUEST_USE_SPENDABLE_BUFF_ITEM, MCmdParamUID(uid));
}


inline void ZPostRequestCaptureFlag(const int nItemUID) {
    ZPOSTCMD1(MC_MATCH_REQUEST_FLAG_CAP, MCommandParameterInt(nItemUID));
}




inline void ZPostRequestSkillFlag(const int nItemUID) {
    ZPOSTCMD1(MC_MATCH_REQUEST_SKILFLAG, MCommandParameterInt(nItemUID));
}
#define ZPostCharSkill(nID, uidTarget, vTargetPos) {\
    ZPOSTCMD3(CLOAK_CMD_ID(MC_PEER_CH_SKILL, 56304), MCommandParameterInt(nID), MCommandParameterUID(uidTarget), MCommandParameterPos(vTargetPos.x, vTargetPos.y, vTargetPos.z));\
}


// Zombie ///////////////////////////////////////////////////////////////////////////////////
inline void ZPosInfectionRequestZombieRaceAtJoinGame(const MUID & uidChar, int nRaceId) {
    ZPOSTCMD2(MC_MATCH_REQUEST_CHANGE_TO_ZOMBIE, MCmdParamUID(uidChar), MCmdParamInt(nRaceId));
}
inline void ZPosInfectionRequestSkillList() {
        ZPOSTCMD0(MC_MATCH_REQUEST_UPDATE_RACE_SKILL);
    }
    // WarriorClass ///////////////////////////////////////////////////////////////////////////////////


inline void ZPostRequestWarriorClassList() {
    ZPOSTCMD0(MC_MATCH_REQUEST_GETWARRRIORCLASS);
}
 
Upvote 0
Junior Spellweaver
Joined
Oct 9, 2010
Messages
159
Reaction score
8
Currently on mobile so this could be a tad incorrect, but as far as I could tell the problem was that you only had 1 #if but were closing w/ #endif twice. I tossed the only #endif you should need where I think it goes(at the end of quest-related functions). But I'm unfamiliar with the Abby source.

this way still get error. it not work.
 
Upvote 0
Back
Top