Quick Jobchange error (Source)
Hello Flyff Section,
Currently I've trying to add the quick job change source codes, but im having this error:
GetDlgItem : nID=933 not Found.
I know there is a fix posted here:
http://forum.ragezone.com/f724/tutor...source-802519/
But when I compile the neuz it comes with this error after deleting the line:
CWndButton* nApply = (CWndButton*)GetDlgItem( WIDC_BUTTON1 );
The compile errors are:
c:\Users\MICHAEL\Desktop\blessed\Blessed Source\Official Source\Neuz\WndChangeJobEx.cpp(122): error C2065: 'nApply' : undeclared identifier
c:\Users\MICHAEL\Desktop\blessed\Blessed Source\Official Source\Neuz\WndChangeJobEx.cpp(122): error C2227: left of '->EnableWindow' must point to class/struct/union
type is ''unknown-type''
Please help me out with this.
Thanks!
Re: Quick Jobchange error (Source)
Okay Drift, lets give this another shot then :)
Re: Quick Jobchange error (Source)
i had gotten that same error using the WndChangeJobEx.cpp that was in the tutorial, but i downloaded the pack with the other files and just used the WndChangeJobEx.cpp and .h, and i didnt get that error.
Re: Quick Jobchange error (Source)
He is actually using a custom edited version of the WndChangeJobEx.cpp/h i edited for my server, and using my edits, but this is still slightly odd that he has gotten this error, i might have missed something when helping him set it up
Re: Quick Jobchange error (Source)
Quote:
Originally Posted by
NickHough
He is actually using a custom edited version of the WndChangeJobEx.cpp/h i edited for my server, and using my edits, but this is still slightly odd that he has gotten this error, i might have missed something when helping him set it up
true ! you made missed something :)
Re: Quick Jobchange error (Source)
Yeah the original problem was that the middle button (cant remember the text for it) wasn't actually there when we added all correctly, but i know the problem and how to fix it now, so should be simple when hes next online
Re: Quick Jobchange error (Source)
Currently checking all my source codes again, maby I missed something.
Re: Quick Jobchange error (Source)
delete all line with nApply words..
Re: Quick Jobchange error (Source)
Quote:
Originally Posted by
DriftCity
Hello Flyff Section,
Currently I've trying to add the quick job change source codes, but im having this error:
GetDlgItem : nID=933 not Found.
I know there is a fix posted here:
http://forum.ragezone.com/f724/tutor...source-802519/
But when I compile the neuz it comes with this error after deleting the line:
CWndButton* nApply = (CWndButton*)GetDlgItem( WIDC_BUTTON1 );
The compile errors are:
c:\Users\MICHAEL\Desktop\blessed\Blessed Source\Official Source\Neuz\WndChangeJobEx.cpp(122): error C2065: 'nApply' : undeclared identifier
c:\Users\MICHAEL\Desktop\blessed\Blessed Source\Official Source\Neuz\WndChangeJobEx.cpp(122): error C2227: left of '->EnableWindow' must point to class/struct/union
type is ''unknown-type''
Please help me out with this.
Thanks!
copy 2nd job wndchangejobex.cpp in Xakzi's tutorial
and add this after this line
CWndButton* chk1 = (CWndButton*) GetDlgItem( WIDC_BUTTON2 );
CWndButton* nApply = (CWndButton*)GetDlgItem( WIDC_BUTTON1 );
and recompile your source ^_^
Xakzi said that you can delete that line if you are using Virtuos [RoC] Source
Re: Quick Jobchange error (Source)
i think it will have same results