Petfilter undeclared

Status
Not open for further replies.
Junior Spellweaver
Joined
Mar 23, 2020
Messages
103
Reaction score
14
close~

**edit**
in case anyone has this problem, my server contains 2 resources folders, one inside the sources folder and another one that is my server and these errors were causing me to only edit one resdata.h the other was without editing.


**


I am implementing a system and is giving error, someone to help me?


Pet Filter System
Link: http://forum.ragezone.com/f457/pet-filter-wakazaki-style-796935/


print erro:


FuncApplet.cpp line 226:
Code:
#ifdef __PETFILTER
    AddAppletFunc( AppMain_WndPetfilter       , APP_PETFILTER                 , _T( "WndPetfilter" )       , _T( "Icon_Applet.dds"    )       , _T( "PetFilter" ),  'U' );
#endif //__PETFILTER

WndManager.ccp line 8126:
Code:
#ifdef __PETFILTER        CWndPetfilter* pWndPetfilter = (CWndPetfilter*)g_WndMng.GetWndBase( APP_PETFILTER );
        if(pWndPetfilter!= NULL)
            pWndPetfilter->SetVisible(FALSE);
#endif //__PETFILTER


WndManager.ccp line 8185:
Code:
#ifdef __PETFILTER        CWndPetfilter* pWndPetfilter = (CWndPetfilter*)g_WndMng.GetWndBase( APP_PETFILTER );
        if(pWndPetfilter!= NULL)
            pWndPetfilter->SetVisible(TRUE);
#endif //_PETFILTER

WndField.cpp line 23:
Code:
#ifdef __PETFILTER
#include "defineFilter.h"
#endif //__PETFILTER

**definerFilter.h is in the resources folder of the server, but inside my source folder there is another resource folder, if I copy this file and paste it in the source / resource folder all the definitions inside it give compilation error.**

AIPet.cpp line 10:
Code:
#ifdef __PETFILTER
#include "defineFilter.h"
#endif //__PETFILTER

WORLDSERVER & Neuz:

Code:
#define        __PETFILTER
 
Last edited:
Status
Not open for further replies.
Back