[Help] add the QuickJobChange In Source

Page 15 of 16 FirstFirst ... 578910111213141516 LastLast
Results 211 to 225 of 235
  1. #211
    Member TSquirrel is offline
    MemberRank
    Dec 2015 Join Date
    56Posts

    Re: [Help] add the QuickJobChange In Source

    I did!
    I right clicked on _Interface in the all.sln and added the two files, which was also places in the _interface folder. I remember either in this thread or another that since the picture was not available someone said this was how you add it to the solution. (Is there another way to include it in there or verify that it was included?)

    PM sent!

  2. #212
    ‎‎‎‎ Ketchup is offline
    ModeratorRank
    Jan 2009 Join Date
    New YorkLocation
    2,847Posts

    Re: [Help] add the QuickJobChange In Source


  3. #213
    Member TSquirrel is offline
    MemberRank
    Dec 2015 Join Date
    56Posts

    Re: [Help] add the QuickJobChange In Source

    Fixed my issue! Both files of the quick job change now work!

    Quote Originally Posted by Ketchup View Post
    Am Currently using!

  4. #214
    Novice johansete is offline
    MemberRank
    Feb 2013 Join Date
    ChileLocation
    2Posts

    Re: How to add the QuickJobChange In Source

    Hi @Xakzi sorry for the stupid cuestion, im new in this sources edits, and i dont know if i need edit mover.cpp whit both 3rd job and 2nd job or only selecet one...

    PD: Thanks for all! and sorry my bad english

  5. #215
    One word! Im Fawkin Pro! Xakzi is offline
    MemberRank
    Jul 2010 Join Date
    SwedenLocation
    1,356Posts

    Re: How to add the QuickJobChange In Source

    Quote Originally Posted by johansete View Post
    Hi @Xakzi sorry for the stupid cuestion, im new in this sources edits, and i dont know if i need edit mover.cpp whit both 3rd job and 2nd job or only selecet one...

    PD: Thanks for all! and sorry my bad english


    It's alright,

    both codes are the same, but on "2nd Job Only~" I have simply commented out a few lines that only works if you have 3rd job in your game/code already,

    You can see the comments /* */, for example;

    Code:
    /*		else if( nJob ==  JOB_LORDTEMPLER_HERO || nJob ==  JOB_STORMBLADE_HERO )
    			nPoint += 120;
    		else if( nJob ==  JOB_WINDLURKER_HERO || nJob ==  JOB_CRACKSHOOTER_HERO )
    			nPoint += 150;
    		else if( nJob ==  JOB_FLORIST_HERO )
    			nPoint += 160;
    		else if( nJob ==  JOB_FORCEMASTER_HERO || nJob ==  JOB_MENTALIST_HERO )
    			nPoint += 180;
    		else if( nJob ==  JOB_ELEMENTORLORD_HERO )
    			nPoint += 390;*/
    So if you are unsure if your source has 3rd job, use "2nd job only".
    and if you find out that you have 3rd job later on, you can just remove the "/* */" comments (check the whole method because there are more than one part)

  6. #216
    Novice jomzben122 is offline
    MemberRank
    Mar 2022 Join Date
    1Posts

    Re: [Help] add the QuickJobChange In Source

    Nevermind. Found it myself. Thank you
    Last edited by jomzben122; 15-03-22 at 11:29 PM.

  7. #217
    Apprentice Forcedz is offline
    MemberRank
    Sep 2021 Join Date
    MéxicoLocation
    7Posts

    Re: [Help] add the QuickJobChange In Source

    I have this problem, when I get level -15/60/120- my game crashes. Sorry my bad english

    I found that when I use this code from DPClient.cpp the game closes when I select a character and if I remove it I can enter the world but the first problem happens again.

    Code:
    #ifdef __FASTJOBCHANGE
    if
    (
    (g_pPlayer->GetLevel() == 15 && g_pPlayer->GetJob() == JOB_VAGRANT) ||
    (g_pPlayer->GetLevel() == 60 && g_pPlayer->GetJob() >= JOB_MERCENARY && g_pPlayer->GetJob() <= JOB_MAGICIAN) ||
    (g_pPlayer->GetLevel() == 120 && g_pPlayer->GetJob() >= JOB_KNIGHT && g_pPlayer->GetJob() <= JOB_ELEMENTOR && g_pPlayer->GetExpPercent() == 9999) ||
    (g_pPlayer->GetLevel() == 120 && g_pPlayer->GetJob() >= JOB_KNIGHT_MASTER && g_pPlayer->GetJob() <= JOB_ELEMENTOR_MASTER && g_pPlayer->GetExpPercent() == 9999) ||
    (g_pPlayer->GetLevel() == 130 && g_pPlayer->GetJob() >= JOB_KNIGHT_HERO && g_pPlayer->GetJob() <= JOB_ELEMENTOR_HERO)
    )
    {
    SAFE_DELETE( g_WndMng.m_pJobChangeEx );
    g_WndMng.m_pJobChangeEx = new CWndJobChangeEx;
    g_WndMng.m_pJobChangeEx->Initialize();
    }

  8. #218
    ‎‎‎‎ Ketchup is offline
    ModeratorRank
    Jan 2009 Join Date
    New YorkLocation
    2,847Posts

    Re: [Help] add the QuickJobChange In Source

    Quote Originally Posted by Forcedz View Post
    I have this problem, when I get level -15/60/120- my game crashes. Sorry my bad english

    I found that when I use this code from DPClient.cpp the game closes when I select a character and if I remove it I can enter the world but the first problem happens again.

    Code:
    #ifdef __FASTJOBCHANGE
    if
    (
    (g_pPlayer->GetLevel() == 15 && g_pPlayer->GetJob() == JOB_VAGRANT) ||
    (g_pPlayer->GetLevel() == 60 && g_pPlayer->GetJob() >= JOB_MERCENARY && g_pPlayer->GetJob() <= JOB_MAGICIAN) ||
    (g_pPlayer->GetLevel() == 120 && g_pPlayer->GetJob() >= JOB_KNIGHT && g_pPlayer->GetJob() <= JOB_ELEMENTOR && g_pPlayer->GetExpPercent() == 9999) ||
    (g_pPlayer->GetLevel() == 120 && g_pPlayer->GetJob() >= JOB_KNIGHT_MASTER && g_pPlayer->GetJob() <= JOB_ELEMENTOR_MASTER && g_pPlayer->GetExpPercent() == 9999) ||
    (g_pPlayer->GetLevel() == 130 && g_pPlayer->GetJob() >= JOB_KNIGHT_HERO && g_pPlayer->GetJob() <= JOB_ELEMENTOR_HERO)
    )
    {
    SAFE_DELETE( g_WndMng.m_pJobChangeEx );
    g_WndMng.m_pJobChangeEx = new CWndJobChangeEx;
    g_WndMng.m_pJobChangeEx->Initialize();
    }
    Try using -> http://forum.ragezone.com/f457/__fastjobchange-1193423/ and compare it with something like WinMerge.

  9. #219
    Apprentice Forcedz is offline
    MemberRank
    Sep 2021 Join Date
    MéxicoLocation
    7Posts

    Re: [Help] add the QuickJobChange In Source

    I already checked all the files, all the comparisons are fine, I compile again, it doesn't send me any error or warning, and when I select a character and accept the game crashes.

    On Mover.cpp i only used the same Tutorial code?

  10. #220
    ‎‎‎‎ Ketchup is offline
    ModeratorRank
    Jan 2009 Join Date
    New YorkLocation
    2,847Posts

    Re: [Help] add the QuickJobChange In Source

    Quote Originally Posted by Forcedz View Post
    I already checked all the files, all the comparisons are fine, I compile again, it doesn't send me any error or warning, and when I select a character and accept the game crashes.

    On Mover.cpp i only used the same Tutorial code?
    Make sure you have added to your resdata.inc and have copied the resdata.h to the server.

    Use merge to make new res files from ResClient and copy them to your client.

  11. #221
    Apprentice Forcedz is offline
    MemberRank
    Sep 2021 Join Date
    MéxicoLocation
    7Posts

    Re: [Help] add the QuickJobChange In Source

    Quote Originally Posted by Ketchup View Post
    Make sure you have added to your resdata.inc and have copied the resdata.h to the server.

    Use merge to make new res files from ResClient and copy them to your client.

    I do that, but now when i open Game show a Popup Error
    https://ibb.co/P4tWrgW
    Last edited by Forcedz; 24-04-22 at 09:00 PM.

  12. #222
    One word! Im Fawkin Pro! Xakzi is offline
    MemberRank
    Jul 2010 Join Date
    SwedenLocation
    1,356Posts

    Re: [Help] add the QuickJobChange In Source

    Quote Originally Posted by Forcedz View Post
    I do that, but now when i open Game show a Popup Error
    https://ibb.co/P4tWrgW
    you are using the wrong resdata.inc format :) double check it
    Last edited by Xakzi; 25-04-22 at 12:39 AM.

  13. #223
    Apprentice Forcedz is offline
    MemberRank
    Sep 2021 Join Date
    MéxicoLocation
    7Posts

    Re: [Help] add the QuickJobChange In Source

    Quote Originally Posted by Xakzi View Post
    you are using the wrong resdata.inc format :) double check it
    Its Work!, no more crashes but... the photo to which class and the button don't show
    https://ibb.co/H2wVttD

  14. #224
    ‎‎‎‎ Ketchup is offline
    ModeratorRank
    Jan 2009 Join Date
    New YorkLocation
    2,847Posts

    Re: [Help] add the QuickJobChange In Source

    Quote Originally Posted by Forcedz View Post
    Its Work!, no more crashes but... the photo to which class and the button don't show
    https://ibb.co/H2wVttD
    Add the missing images to your theme folder.

  15. #225
    Apprentice Forcedz is offline
    MemberRank
    Sep 2021 Join Date
    MéxicoLocation
    7Posts

    Re: [Help] add the QuickJobChange In Source

    Quote Originally Posted by Ketchup View Post
    Add the missing images to your theme folder.

    All Works! Thx so much for the Help :D



Advertisement