[Help] Model Viewer Source

11/04/2020 04:12 TheRealMadara#1
EDIT:- NOW I HAVE THIS PROBLEM

-https://imgur.com/a/eFxekr4








I copied a model view source from other source. but when I tried compiling. it gave me an error.

-Error 1 error C2065: 'TEXT_MODEL_VIEW' : undeclared identifier E:\Flyff\Source\_Interface\FuncApplet.cpp 532 1 Neuz


-
#ifdef __MODEL_VIEW
AddAppletFunc( AppMain_ModelView, APP_MODEL_VIEW, _T( "WndModsManager" ), _T( "Icon_Applet.dds" ), TEXT_MODEL_VIEW, 0, TEXT_MODEL_VIEW );
#endif // __MODEL_VIEW




can anyone help me please? thank you!
11/04/2020 04:57 VirusAtwar#2
Your hint is this part: TEXT_MODEL_VIEW

Check the Resource area, you most likely didn't define it there.
Resdata files should bring the "Oh" moment after investigating them. ;)
11/04/2020 12:30 TheRealMadara#3
Hello! I got to rebuilt the solution with no errors. I also go ingame, double click in wiki. the window pops out, but the characters body is missing, and the models are not loading.. I have no idea why this is. please help me! thanks guys!


[Only registered and activated users can see links. Click Here To Register...]



Also, there are no error logs anywhere to be found. please help!
11/04/2020 16:55 LookAtTheFlower#4
Quote:
Originally Posted by TheRealMadara View Post
Hello! I got to rebuilt the solution with no errors. I also go ingame, double click in wiki. the window pops out, but the characters body is missing, and the models are not loading.. I have no idea why this is. please help me! thanks guys!


[Only registered and activated users can see links. Click Here To Register...]



Also, there are no error logs anywhere to be found. please help!
Your source has _LOOKCHANGE system?
11/04/2020 18:33 TheRealMadara#5
Quote:
Originally Posted by LookAtTheFlower View Post
Your source has _LOOKCHANGE system?
Hello! yes I have _LOOKCHANGE and __LOOKCHANGE_PET

I looked at the system __LOOKCHANGE and I looked at moverequip.cpp, also I cannot find wndmodelview.cpp anywhere!. all i can see is CWndModelView. and theres a lot of them I dont know what to do. honestly I do not know what Im looking for. feels bad not knowing source :(
11/05/2020 07:37 LookAtTheFlower#6
Quote:
Originally Posted by TheRealMadara View Post
Hello! yes I have _LOOKCHANGE and __LOOKCHANGE_PET

I looked at the system __LOOKCHANGE and I looked at moverequip.cpp, also I cannot find wndmodelview.cpp anywhere!. all i can see is CWndModelView. and theres a lot of them I dont know what to do. honestly I do not know what Im looking for. feels bad not knowing source :(
From another forum:

__LOOKCHANGE has to be added to model view that's why the body is missing.

Not my code but you can use this as a guide:
11/05/2020 08:02 TheRealMadara#7
Quote:
Originally Posted by LookAtTheFlower View Post
From another forum:

__LOOKCHANGE has to be added to model view that's why the body is missing.

Not my code but you can use this as a guide:




OK thank you flower, I will update this post if somethings up. I will try my best to understand the hint you gave. wish me luck please. Thanks!!
11/05/2020 10:54 LookAtTheFlower#8
Quote:
Originally Posted by TheRealMadara View Post
OK thank you flower, I will update this post if somethings up. I will try my best to understand the hint you gave. wish me luck please. Thanks!!
The functions can be found in either WndField.cpp or WndModelView.cpp & .h.
Depends on your code.
11/07/2020 10:54 TheRealMadara#9
#include "stdafx.h"
#include "WndModelView.h"
#include "ResData.h"
#include "defineObj.h"
#include "DPClient.h"
extern CDPClient g_DPlay;

where to put this? like literally on top of that //model_view?
thanks. im lost
11/07/2020 11:30 LookAtTheFlower#10
Quote:
Originally Posted by TheRealMadara View Post
#include "stdafx.h"
#include "WndModelView.h"
#include "ResData.h"
#include "defineObj.h"
#include "DPClient.h"
extern CDPClient g_DPlay;

where to put this? like literally on top of that //model_view?
thanks. im lost
As i said:
Quote:
The functions can be found in either WndField.cpp or WndModelView.cpp & .h.
Depends on your code.
I hope you're not planning on copy&paste the code.
11/07/2020 14:52 aqwp#11
You can replace TEXT_MODEL_VIEW with _T("Model Viewer")
11/07/2020 15:58 TheRealMadara#12
Quote:
Originally Posted by LookAtTheFlower View Post
As i said:

I hope you're not planning on copy&paste the code.
Hello yes, I've been trying to figure this out for days now. and still I get errors while compiling :( mine is at WndField.cpp

Quote:
Originally Posted by aqwp View Post
You can replace TEXT_MODEL_VIEW with _T("Model Viewer")
Hello again friend! yes I made Model Viewer work. days ago when I was trying to figure out how to make _MODEL_VIEW work. I think _MODEL_VIEW is better because you can just double click the items in wiki and boom you got to see how it looks :) ..

the problem is. no matter how hard I try. I cant seem to make _model_view work. its making me stressed out.


here is the pic [Only registered and activated users can see links. Click Here To Register...]
11/07/2020 19:15 aqwp#13
Check your CWndModelView::InitMoverModel() , your character is not updating correctly

Compare with other sources
11/07/2020 23:50 IFlyffMc#14
It's All about the __LOOKCHANGE
11/08/2020 05:25 TheRealMadara#15
I wonder which source that is released has this so I can compare it :(

Quote:
Originally Posted by aqwp View Post
Check your CWndModelView::InitMoverModel() , your character is not updating correctly

Compare with other sources
I wonder which source to compare it from? just the wndfield.cpp right?