Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Fully working pet filter Wakazaki Style ;)

Inactive
Joined
Jan 20, 2009
Messages
1,015
Reaction score
1,830
Now I've checked everything again and tried to compile. However, the WORLD is flawed. everything else worked without errors.

What have I done wrong?also get no message.

World starts anyway. If I then press "U" the neuz crashes and no error code.

Use this resData and make sure you merge it with client and the .h carries over to.
Code:
APP_PETFILTER "WndTile00.tga" 1 432 240 0x2410040 26
{
// Title String
IDS_RESDATA_INC_008801
}
{
// Help Key
IDS_RESDATA_INC_008802
}
{
    WTYPE_STATIC WIDC_STATIC1 "WndEditTile200.tga" 1 8 8 120 24 0x2220011 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008803
    }
    {
    // ToolTip
IDS_RESDATA_INC_008804
    }
    WTYPE_BUTTON WIDC_BUTTON1 "ButtCharApply.tga" 0 284 150 336 170 0x220010 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008805
    }
    {
    // ToolTip
IDS_RESDATA_INC_008806
    }
    WTYPE_BUTTON WIDC_PF_HPFOOD "ButtCheck.bmp" 0 8 30 104 46 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008807
    }
    {
    // ToolTip
IDS_RESDATA_INC_008808
    }
    WTYPE_BUTTON WIDC_PF_MPFOOD "ButtCheck.bmp" 0 8 50 104 66 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008809
    }
    {
    // ToolTip
IDS_RESDATA_INC_008810
    }
    WTYPE_BUTTON WIDC_PF_FPFOOD "ButtCheck.bmp" 0 8 70 120 86 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008811
    }
    {
    // ToolTip
IDS_RESDATA_INC_008812
    }
    WTYPE_STATIC WIDC_STATIC2 "WndEditTile200.tga" 1 132 8 244 24 0x2220011 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008813
    }
    {
    // ToolTip
IDS_RESDATA_INC_008814
    }
    WTYPE_BUTTON WIDC_PF_NECKLACE "ButtCheck.bmp" 0 140 30 236 46 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008815
    }
    {
    // ToolTip
IDS_RESDATA_INC_008816
    }
    WTYPE_BUTTON WIDC_PF_EARRING "ButtCheck.bmp" 0 140 50 236 66 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008817
    }
    {
    // ToolTip
IDS_RESDATA_INC_008818
    }
    WTYPE_BUTTON WIDC_PF_RING "ButtCheck.bmp" 0 140 70 236 86 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008819
    }
    {
    // ToolTip
IDS_RESDATA_INC_008820
    }
    WTYPE_STATIC WIDC_STATIC3 "WndEditTile200.tga" 1 8 88 120 104 0x2220011 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008821
    }
    {
    // ToolTip
IDS_RESDATA_INC_008822
    }
    WTYPE_BUTTON WIDC_PF_BWEAPON "ButtCheck.bmp" 0 8 110 120 126 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008823
    }
    {
    // ToolTip
IDS_RESDATA_INC_008824
    }
    WTYPE_BUTTON WIDC_PF_GWEAPON "ButtCheck.bmp" 0 8 130 120 146 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008825
    }
    {
    // ToolTip
IDS_RESDATA_INC_008826
    }
    WTYPE_BUTTON WIDC_PF_BSET "ButtCheck.bmp" 0 8 150 120 166 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008827
    }
    {
    // ToolTip
IDS_RESDATA_INC_008828
    }
    WTYPE_BUTTON WIDC_PF_GSET "ButtCheck.bmp" 0 8 168 120 184 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008829
    }
    {
    // ToolTip
IDS_RESDATA_INC_008830
    }
    WTYPE_STATIC WIDC_STATIC4 "WndEditTile200.tga" 1 256 8 368 24 0x2220011 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008831
    }
    {
    // ToolTip
IDS_RESDATA_INC_008832
    }
    WTYPE_BUTTON WIDC_PF_ELECARD "ButtCheck.bmp" 0 258 30 358 46 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008833
    }
    {
    // ToolTip
IDS_RESDATA_INC_008834
    }
    WTYPE_BUTTON WIDC_PF_4PCARD "ButtCheck.bmp" 0 258 50 354 66 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008835
    }
    {
    // ToolTip
IDS_RESDATA_INC_008836
    }
    WTYPE_BUTTON WIDC_PF_7PCARD "ButtCheck.bmp" 0 258 70 354 86 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008837
    }
    {
    // ToolTip
IDS_RESDATA_INC_008838
    }
    WTYPE_BUTTON WIDC_PF_BPIECARD "ButtCheck.bmp" 0 258 90 354 106 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008839
    }
    {
    // ToolTip
IDS_RESDATA_INC_008840
    }
    WTYPE_BUTTON WIDC_PF_APIECARD "ButtCheck.bmp" 0 258 110 354 126 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008841
    }
    {
    // ToolTip
IDS_RESDATA_INC_008842
    }
    WTYPE_STATIC WIDC_STATIC5 "WndEditTile200.tga" 1 132 88 244 104 0x2220011 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008843
    }
    {
    // ToolTip
IDS_RESDATA_INC_008844
    }
    WTYPE_BUTTON WIDC_PF_EGG "ButtCheck.bmp" 0 136 110 232 126 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008845
    }
    {
    // ToolTip
IDS_RESDATA_INC_008846
    }
    WTYPE_BUTTON WIDC_PF_SUNSTONE "ButtCheck.bmp" 0 136 130 232 146 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008847
    }
    {
    // ToolTip
IDS_RESDATA_INC_008848
    }
    WTYPE_BUTTON WIDC_PF_MOONSTONE "ButtCheck.bmp" 0 136 150 232 166 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008849
    }
    {
    // ToolTip
IDS_RESDATA_INC_008850
    }
    WTYPE_BUTTON WIDC_PF_QUESTS "ButtCheck.bmp" 0 136 168 232 184 0x220018 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008851
    }
    {
    // ToolTip
IDS_RESDATA_INC_008852
    }
    WTYPE_STATIC WIDC_STATIC6 "WndEditTile200.tga" 1 8 184 376 200 0x2220011 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_008853
    }
    {
    // ToolTip
IDS_RESDATA_INC_008854
    }

}
 
Newbie Spellweaver
Joined
Jan 31, 2021
Messages
12
Reaction score
2
Okay it works now! I can press U and the window open and i can select all.

But if i select items and press apply, the pet pick it up nevertheless. So it dont worked.
neverthelessneverthelessneverthelessnevertheless
 
Inactive
Joined
Jan 20, 2009
Messages
1,015
Reaction score
1,830
Okay it works now! I can press U and the window open and i can select all.

But if i select items and press apply, the pet pick it up nevertheless. So it dont worked.
neverthelessneverthelessneverthelessnevertheless

Make sure you have defineFilter.h in your server resource and client resData.

You'll need to add it to Resource.txt if you haven't.
 
Newbie Spellweaver
Joined
Jan 31, 2021
Messages
12
Reaction score
2
Where is the Client resData? I dont found it. I only have the defineFilter.h in Resource.

I put it in the Resource.txt.
 
Newbie Spellweaver
Joined
Mar 8, 2021
Messages
10
Reaction score
0
1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27381,20): error C2065: 'FILTER_HPFOOD': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27382,20): error C2065: 'FILTER_MPFOOD': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27383,20): error C2065: 'FILTER_FPFOOD': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27384,20): error C2065: 'FILTER_BWEAPON': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27385,20): error C2065: 'FILTER_GWEAPON': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27386,20): error C2065: 'FILTER_BSET': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27387,20): error C2065: 'FILTER_GSET': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27388,20): error C2065: 'FILTER_NECKLACE': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27389,20): error C2065: 'FILTER_EARRING': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27390,20): error C2065: 'FILTER_RING': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27391,20): error C2065: 'FILTER_EGG': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27392,20): error C2065: 'FILTER_SUNSTONE': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27393,20): error C2065: 'FILTER_MOONSTONE': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27394,20): error C2065: 'FILTER_QUESTITEM': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27395,20): error C2065: 'FILTER_ELECARDS': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27396,20): error C2065: 'FILTER_4PCARD': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27397,20): error C2065: 'FILTER_7PCARD': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27398,20): error C2065: 'FILTER_BPIECARD': undeclared identifier1>D:\Project-F\K18\Source\Source\_Interface\WndField.cpp(27399,20): error C2065: 'FILTER_APIECARD': undeclared identifier

Sorry guys i'm still learning, need some help im stuck with this error.
 
Inactive
Joined
Jan 20, 2009
Messages
1,015
Reaction score
1,830
Looks like you forgot to include defineFilter.h to your Source/Resource folder.
 
Newbie Spellweaver
Joined
Mar 8, 2021
Messages
10
Reaction score
0
You should debug the client. Look at my setup tutorial on how to do that.

Thanks for helping me, its giving me this kind of error.

2021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088012021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088022021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088032021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088042021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088052021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088062021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088072021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088082021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088092021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088102021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088112021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088122021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088132021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088142021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088152021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088162021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088172021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088182021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088192021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088202021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088212021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088222021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088232021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088242021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088252021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088262021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088272021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088282021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088292021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088302021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088312021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088322021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088332021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088342021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088352021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088362021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088372021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088382021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088392021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088402021/ 3/14 00:50:10 string error: IDS_RESDATA_INC_0088412021/ 3/14 00:50:10 string error: IDS_RESDATA_INC_0088422021/ 3/14 00:50:10 string error: IDS_RESDATA_INC_0088432021/ 3/14 00:50:10 string error: IDS_RESDATA_INC_0088442021/ 3/14 00:50:10 string error: IDS_RESDATA_INC_0088452021/ 3/14 00:50:10 string error: IDS_RESDATA_INC_0088462021/ 3/14 00:50:10 string error: IDS_RESDATA_INC_0088472021/ 3/14 00:50:10 string error: IDS_RESDATA_INC_0088482021/ 3/14 00:50:10 string error: IDS_RESDATA_INC_0088492021/ 3/14 00:50:10 string error: IDS_RESDATA_INC_0088502021/ 3/14 00:50:10 string error: IDS_RESDATA_INC_0088512021/ 3/14 00:50:10 string error: IDS_RESDATA_INC_0088522021/ 3/14 00:50:10 string error: IDS_RESDATA_INC_0088532021/ 3/14 00:50:10 string error: IDS_RESDATA_INC_008854
 
Skilled Illusionist
Joined
Apr 21, 2010
Messages
378
Reaction score
96
Thanks for helping me, its giving me this kind of error.

2021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088012021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088022021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088032021/ 3/14 00:50:09 string error: IDS_RESDATA_INC_0088042021/ 3/14 00:50:09 string error:

Look at your Resdata. What did you add?

IDS_RESDATA_INC_00881420

I think you put in a wrong string, or forgot something.
 
Newbie Spellweaver
Joined
May 13, 2021
Messages
6
Reaction score
0
Re: Fully working pet filter Xakzi Style ;)

Thank you for the tutorial,

quick question is this ok?
Xakzi - Fully working pet filter Wakazaki Style ;) - RaGEZONE Forums




Xakzi - Fully working pet filter Wakazaki Style ;) - RaGEZONE Forums
Xakzi - Fully working pet filter Wakazaki Style ;) - RaGEZONE Forums
 
Newbie Spellweaver
Joined
May 13, 2021
Messages
6
Reaction score
0
'CDPSrvr::OnSetPetfilter': non-standardsyntax; use '&' to create a pointer to member

this us under
World Server
DPSrvr.cpp
Line 560



Nevermind I figured it out. Sorry ^_^
'CDPSrvr::OnSetPetfilter': non-standardsyntax; use '&' to create a pointer to member

this us under
World Server
DPSrvr.cpp
Line 560
 
Inactive
Joined
Jan 20, 2009
Messages
1,015
Reaction score
1,830
Since some people are still having issues with this and no posts "the fix" even though they fix it.

On compilers higher then VS03 you'll need to change in DPSrvr.cpp

This:
Code:
#ifdef __PETFILTER
	ON_MSG( PACKETTYPE_PETFILTER, OnSetPetfilter );
#endif //__PETFILTER

To:
Code:
#ifdef __PETFILTER
	ON_MSG( PACKETTYPE_PETFILTER, &CDPSrvr::OnSetPetfilter );
#endif //__PETFILTER
 
Newbie Spellweaver
Joined
May 21, 2021
Messages
6
Reaction score
1
Hi, I got a problem here, where the APP_PETFILTER has a different ID when loaded into memory than defined in the resdata.h. The defined ID is 2024 and the ID when loaded is 4294967295. So I have to change it in resdata.h in order to display the dialog.

All I did in the resdata.h was to alter the ID of APP_PETFILTER to 2024, so it doesn't clash with any other predefined ID. I did the same for the resdata.inc and resdata.txt.txt entries.
Other than that I followed the guide every step till the end.

Does anybody know why the APP_PETFILTER can't be loaded

Edit:
Somehow the "#define APP_PETFILTER" isn't loaded into memory. Though the resdata.h is available at compile- and runtime.
 
Last edited:
Newbie Spellweaver
Joined
Jan 28, 2021
Messages
32
Reaction score
1

Thanks Ket you are the man!



In HwOption.cpp
After~
#if __VER >> 11 // __ADD_ZOOMOPT
m_bZoomLimit = TRUE;
m_dwPetfilter = 0;
#endif


in mine does not have the m_dwPetfilter = 0; if not, it is necessary to add or not?



Shouldn't FuncApplet.cpp have a #include for PetFilter ?
like the following examples:

#include "stdafx.h"
#include "defineText.h"
#include "AppDefine.h"
#include "WndParty.h"
#include "WndNotice.h"
#include "WndMessenger.h"
#include "WndBank.h" // 은행 / 창고
#include "WndRepairItem.h" // 수리창
#include "WndDebugInfo.h" // 디버그 창
#include "WndHelp.h"
#include "WndWebBox.h"
#include "WndVendor.h"
#include "WndCommItem.h"
#include "WndQuest.h"
#include "WndMotion.h"
#include "WndPvp.h"
#include "WndGuildVote.h"
 
Last edited by a moderator:
Junior Spellweaver
Joined
Nov 21, 2015
Messages
180
Reaction score
21
Thanks Ket you are the man!



In HwOption.cpp
After~
#if __VER >> 11 // __ADD_ZOOMOPT
m_bZoomLimit = TRUE;
m_dwPetfilter = 0;
#endif


in mine does not have the m_dwPetfilter = 0; if not, it is necessary to add or not?



Shouldn't FuncApplet.cpp have a #include for PetFilter ?
like the following examples:

#include "stdafx.h"
#include "defineText.h"
#include "AppDefine.h"
#include "WndParty.h"
#include "WndNotice.h"
#include "WndMessenger.h"
#include "WndBank.h" // 은행 / 창고
#include "WndRepairItem.h" // 수리창
#include "WndDebugInfo.h" // 디버그 창
#include "WndHelp.h"
#include "WndWebBox.h"
#include "WndVendor.h"
#include "WndCommItem.h"
#include "WndQuest.h"
#include "WndMotion.h"
#include "WndPvp.h"
#include "WndGuildVote.h"


HwOption.cpp should have it's own ifdef statement just under the ADD_ZOOMOPT
#if __VER >= 11 // __ADD_ZOOMOPT
m_bZoomLimit = TRUE;
#endif
#ifdef __PETFILTER
m_dwPetfilter = 0;
#endif //__PETFILTER

Second about the FuncApplet
if I recall correctly the FuncApplet doesn't require this, I think it only pulls ResData for the petfilter? and stores the values in the config file as a scanner token and the client pulls that information to figure out what you have checked?

Keep in mind I'm not dev not have I touched this stuff in a long time, I'm sure someone else if I am wrong can assist you more.
 
Newbie Spellweaver
Joined
Jan 28, 2021
Messages
32
Reaction score
1
I compiled it gave 0 errors, but when I press U it doesn't open the Pet filter window, sometimes Neuz closes by itself or the following errors appear:
 
Back
Top