Quick Jobchange error (Source)

Results 1 to 10 of 10
  1. #1
    Moderator DriftCity is offline
    ModeratorRank
    Oct 2009 Join Date
    /NapTown/Location
    621Posts

    ! 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!


  2. #2
    Making a come back NickHough is offline
    MemberRank
    Nov 2009 Join Date
    United KingdomLocation
    397Posts

    Re: Quick Jobchange error (Source)

    Okay Drift, lets give this another shot then :)

  3. #3
    Valued Member RynoKabbage is offline
    MemberRank
    Apr 2012 Join Date
    Lakeland, FloriLocation
    140Posts

    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.
    Last edited by RynoKabbage; 17-05-12 at 12:45 AM.

  4. #4
    Making a come back NickHough is offline
    MemberRank
    Nov 2009 Join Date
    United KingdomLocation
    397Posts

    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

  5. #5
    Account Upgraded | Title Enabled! ςωаg is offline
    MemberRank
    Apr 2011 Join Date
    201Posts

    Re: Quick Jobchange error (Source)

    Quote Originally Posted by NickHough View Post
    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 :)

  6. #6
    Making a come back NickHough is offline
    MemberRank
    Nov 2009 Join Date
    United KingdomLocation
    397Posts

    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

  7. #7
    Moderator DriftCity is offline
    ModeratorRank
    Oct 2009 Join Date
    /NapTown/Location
    621Posts

    Re: Quick Jobchange error (Source)

    Currently checking all my source codes again, maby I missed something.

  8. #8
    Enthusiast exoth4595 is offline
    MemberRank
    Apr 2011 Join Date
    PhilippinesLocation
    46Posts

    Re: Quick Jobchange error (Source)

    delete all line with nApply words..

  9. #9
    Enthusiast flyff024 is offline
    MemberRank
    Jul 2011 Join Date
    25Posts

    Re: Quick Jobchange error (Source)

    Quote Originally Posted by DriftCity View Post
    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
    Last edited by flyff024; 23-11-12 at 12:10 PM.

  10. #10
    Proficient Member Jerzkie is offline
    MemberRank
    Jul 2012 Join Date
    System32Location
    178Posts

    Re: Quick Jobchange error (Source)

    i think it will have same results



Advertisement