[Help] add the QuickJobChange In Source

Page 10 of 16 FirstFirst ... 2345678910111213141516 LastLast
Results 136 to 150 of 235
  1. #136
    Apprentice BloodGood is offline
    MemberRank
    Sep 2015 Join Date
    18Posts

    Re: [how to][tutorial] add the QuickJobChange In Source

    Figured out everything works almost perfectly won't load the Job Pictures That's all. If anyone knows how to fix that would be great thanks! =]
    Last edited by BloodGood; 01-10-15 at 09:00 PM.

  2. #137
    Valued Member Jayvee Cruz is offline
    MemberRank
    Nov 2012 Join Date
    111Posts

    Re: [Help] add the QuickJobChange In Source

    How to put Change Button again? Thanks

  3. #138
    Free men in a free world MorpheusZ is offline
    MemberRank
    Jan 2011 Join Date
    224Posts

    Re: [Help] add the QuickJobChange In Source

    So, how to add these hm?
    Add the files into the folder "_Interface".
    Go To Visual Studio (after opening all.sln)
    Click this button right here.

    Mark the 2 new .cpp & .h
    and Click "Open"!
    Now the files should be in the solution :)
    Can't seem to figure out which button it is...since the image stopped working.
    Im just starting to figure out vs 2003 after some bugfixing...horrible on windows 10 xD

  4. #139
    Apprentice cheqita is offline
    MemberRank
    Sep 2016 Join Date
    5Posts

    Re: [Help] add the QuickJobChange In Source

    When you say "click this button right here" in visual studio with a photo.. What button is that? I cant see the photo.

  5. #140
    Proficient Member n0tso1ee7 is offline
    MemberRank
    Nov 2015 Join Date
    180Posts

    Re: [Help] add the QuickJobChange In Source

    I personally have no idea if it's wise to necro an old post but i did give some help to morph on the same subject on page two of the help section, http://forum.ragezone.com/f483/quick...stion-1113079/....
    Personally i can't say if this worked for him and it's been awhile since I've done anything that required this but perhaps it's worth a try?

  6. #141
    Apprentice HowlTheHusky is offline
    MemberRank
    Oct 2016 Join Date
    17Posts

    Re: How to add the QuickJobChange In Source

    I did everything according to this guide and double-checked everything. I'm still getting these errors:

    Code:
    \Users\Howl\Desktop\Flyff Repack (v15) (rev3.1)\Source\SRC\_Interface\WndChangeJobEx.cpp(118) : error C2065: 'nApply' : undeclared identifier
    \Users\Howl\Desktop\Flyff Repack (v15) (rev3.1)\Source\SRC\_Interface\WndChangeJobEx.cpp(118) : error C2227: left of '->EnableWindow' must point to class/struct/union
            type is ''unknown-type''
    and

    Code:
    DPSrvr.cpp
    DPSrvr.cpp(554) : error C2501: 'pfn' : missing storage-class or type specifiers
    DPSrvr.cpp(554) : error C2065: 'OnUpdateJob' : undeclared identifier
    DPSrvr.cpp(554) : error C2143: syntax error : missing ';' before '.'
    DPSrvr.cpp(554) : error C2501: 'm_pfnEntries' : missing storage-class or type specifiers
    How can I solve these?
    Last edited by HowlTheHusky; 01-11-16 at 11:50 PM.

  7. #142
    Proficient Member n0tso1ee7 is offline
    MemberRank
    Nov 2015 Join Date
    180Posts

    Re: How to add the QuickJobChange In Source

    Quote Originally Posted by HowlTheHusky View Post
    I did everything according to this guide and double-checked everything. I'm still getting these errors:

    Code:
    \Users\Howl\Desktop\Flyff Repack (v15) (rev3.1)\Source\SRC\_Interface\WndChangeJobEx.cpp(118) : error C2065: 'nApply' : undeclared identifier
    \Users\Howl\Desktop\Flyff Repack (v15) (rev3.1)\Source\SRC\_Interface\WndChangeJobEx.cpp(118) : error C2227: left of '->EnableWindow' must point to class/struct/union
            type is ''unknown-type''
    and

    Code:
    DPSrvr.cpp
    DPSrvr.cpp(554) : error C2501: 'pfn' : missing storage-class or type specifiers
    DPSrvr.cpp(554) : error C2065: 'OnUpdateJob' : undeclared identifier
    DPSrvr.cpp(554) : error C2143: syntax error : missing ';' before '.'
    DPSrvr.cpp(554) : error C2501: 'm_pfnEntries' : missing storage-class or type specifiers
    How can I solve these?
    First error is due to the nApply in the wndchangejobEx.cpp your error says line 118 delete the whole line to resolve this
    as for the second issue it's in the DPSrvr.h and DPSrvr.cpp Worldserver folder

    be sure the proper lines where added it says your missing the define for OnUpdatejob and you seem to have a broken line/damaged syntax
    so either you didn't add the lines correctly or you didn't add them at all i'd say you added them wrong from the broken syntax error check your work on both files I listed above.

  8. #143
    Apprentice HowlTheHusky is offline
    MemberRank
    Oct 2016 Join Date
    17Posts

    Re: [Help] add the QuickJobChange In Source

    Ok, I found the error and everything compiled correctly. However, when reaching Lv15 or Lv60, I just disconnect.

    Here's my Neuz.exe error log:

    Spoiler:
    2016/11/ 2 08:58:34 g_pPlayer is ready

    2016/11/ 2 08:58:38 CWndTaskBar::SetTaskBarTexture : Howl 2010

    2016/11/ 2 08:58:38 CWndTaskBar::SetTaskBarTexture : Howl 581

    2016/11/ 2 08:58:45 CWndTaskBar::SetTaskBarTexture : Howl 2010

    2016/11/ 2 08:58:45 CWndTaskBar::SetTaskBarTexture : Howl 581

    2016/11/ 2 08:58:50 Nov 1 2016 23:40:04 1 rCnt=1

    Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module Neuz.exe at 0023:004B02FF

    - Registers

    EAX=00000000 EBX=118E54D8 ECX=00000000 EDX=00000005 ESI=00000000
    EDI=0000038B EBP=02781380 ESP=0018BCCC EIP=004B02FF FLG=00210206
    CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B

    0023:004B02FF Neuz.exe


    2016/11/ 2 09:00:51 g_pPlayer is ready

    2016/11/ 2 09:00:52 CWndTaskBar::SetTaskBarTexture : Howl 2010

    2016/11/ 2 09:00:52 CWndTaskBar::SetTaskBarTexture : Howl 581

    2016/11/ 2 09:01:01 CWndTaskBar::SetTaskBarTexture : Howl 2010

    2016/11/ 2 09:01:01 CWndTaskBar::SetTaskBarTexture : Howl 581

    2016/11/ 2 09:03:10 Nov 1 2016 23:40:04 1 rCnt=1

    Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module Neuz.exe at 0023:004B02FF

    - Registers

    EAX=00000000 EBX=0B23DD78 ECX=00000000 EDX=00000005 ESI=00000000
    EDI=0000038B EBP=00BA1380 ESP=0018BCCC EIP=004B02FF FLG=00210206
    CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B

    0023:004B02FF Neuz.exe

  9. #144
    Proficient Member n0tso1ee7 is offline
    MemberRank
    Nov 2015 Join Date
    180Posts

    Re: [Help] add the QuickJobChange In Source

    than I can only assume it's due to the menu that opens from the APP data crashing the neuz, well at least thats what it sounds like, when you added the Resdata.inc you used v15 resdata or the new version, for v15 use the old resdata.inc unless you've upgraded the scanner tokens to read new resdata yourself already.

  10. #145
    Apprentice HowlTheHusky is offline
    MemberRank
    Oct 2016 Join Date
    17Posts

    Re: [Help] add the QuickJobChange In Source

    I tried both the old and new ResData.inc code, getting crashes on both.

    Complete crash log for new (first 2 crashes) and old (last 2 crashes) ResData:

    Spoiler:
    2016/11/ 2 08:58:34 g_pPlayer is ready

    2016/11/ 2 08:58:38 CWndTaskBar::SetTaskBarTexture : Howl 2010

    2016/11/ 2 08:58:38 CWndTaskBar::SetTaskBarTexture : Howl 581

    2016/11/ 2 08:58:45 CWndTaskBar::SetTaskBarTexture : Howl 2010

    2016/11/ 2 08:58:45 CWndTaskBar::SetTaskBarTexture : Howl 581

    2016/11/ 2 08:58:50 Nov 1 2016 23:40:04 1 rCnt=1

    Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module Neuz.exe at 0023:004B02FF

    - Registers

    EAX=00000000 EBX=118E54D8 ECX=00000000 EDX=00000005 ESI=00000000
    EDI=0000038B EBP=02781380 ESP=0018BCCC EIP=004B02FF FLG=00210206
    CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B

    0023:004B02FF Neuz.exe

    2016/11/ 2 09:00:51 g_pPlayer is ready

    2016/11/ 2 09:00:52 CWndTaskBar::SetTaskBarTexture : Howl 2010

    2016/11/ 2 09:00:52 CWndTaskBar::SetTaskBarTexture : Howl 581

    2016/11/ 2 09:01:01 CWndTaskBar::SetTaskBarTexture : Howl 2010

    2016/11/ 2 09:01:01 CWndTaskBar::SetTaskBarTexture : Howl 581

    2016/11/ 2 09:03:10 Nov 1 2016 23:40:04 1 rCnt=1

    Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module Neuz.exe at 0023:004B02FF

    - Registers

    EAX=00000000 EBX=0B23DD78 ECX=00000000 EDX=00000005 ESI=00000000
    EDI=0000038B EBP=00BA1380 ESP=0018BCCC EIP=004B02FF FLG=00210206
    CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B

    0023:004B02FF Neuz.exe

    2016/11/ 2 09:10:05 g_pPlayer is ready

    2016/11/ 2 09:10:06 CWndTaskBar::SetTaskBarTexture : Howl 2010

    2016/11/ 2 09:10:06 CWndTaskBar::SetTaskBarTexture : Howl 581

    2016/11/ 2 09:10:16 CWndTaskBar::SetTaskBarTexture : Howl 2010

    2016/11/ 2 09:10:16 CWndTaskBar::SetTaskBarTexture : Howl 581

    2016/11/ 2 09:10:45 Nov 1 2016 23:40:04 1 rCnt=1

    Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module Neuz.exe at 0023:004B02FF

    - Registers

    EAX=00000000 EBX=0B443088 ECX=00000000 EDX=00000005 ESI=00000000
    EDI=0000038B EBP=02991380 ESP=0018BCCC EIP=004B02FF FLG=00210206
    CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B

    0023:004B02FF Neuz.exe

    2016/11/ 2 09:24:17 g_pPlayer is ready

    2016/11/ 2 09:24:18 CWndTaskBar::SetTaskBarTexture : Howl 2010

    2016/11/ 2 09:24:18 CWndTaskBar::SetTaskBarTexture : Howl 581

    2016/11/ 2 09:24:22 CWndTaskBar::SetTaskBarTexture : Howl 2010

    2016/11/ 2 09:24:22 CWndTaskBar::SetTaskBarTexture : Howl 581

    2016/11/ 2 09:24:28 Nov 1 2016 23:40:04 1 rCnt=1

    Neuz.exe caused an EXCEPTION_ACCESS_VIOLATION in module Neuz.exe at 0023:004B02FF

    - Registers

    EAX=00000000 EBX=1180CD78 ECX=00000000 EDX=00000005 ESI=00000000
    EDI=0000038B EBP=02911380 ESP=0018BCCC EIP=004B02FF FLG=00210206
    CS=0023 DS=002B SS=002B ES=002B FS=0053 GS=002B

    0023:004B02FF Neuz.exe

  11. #146
    Proficient Member n0tso1ee7 is offline
    MemberRank
    Nov 2015 Join Date
    180Posts

    Re: [Help] add the QuickJobChange In Source

    Not to sound stupid but you added the updated resdata to the correct data.res witin the client correct?

  12. #147
    Apprentice HowlTheHusky is offline
    MemberRank
    Oct 2016 Join Date
    17Posts

    Re: [Help] add the QuickJobChange In Source

    Wow, ok. Thanks for that info. I wasn't aware I needed to add those files to the dataSub1.res and just copied them to the Ressource ordner before that. Thanks a bunch, it is working now.
    I feel so stupid ._.

  13. #148
    Proficient Member n0tso1ee7 is offline
    MemberRank
    Nov 2015 Join Date
    180Posts

    Re: [Help] add the QuickJobChange In Source

    Don't feel stupid it's a learning process. Glad I could help and good.

  14. #149
    Apprentice HowlTheHusky is offline
    MemberRank
    Oct 2016 Join Date
    17Posts

    Re: [Help] add the QuickJobChange In Source

    I now have another problem.
    When being Lv120 Master and hitting that 99.99% EXP there is no window confirmation and the character goes back to Lv60 Hero.
    Since I don't plan to not implement 3rd Jobs on my server, I edited the follwing script in my WndChangeJob.cpp to the following:

    Code:
    BOOL CWndJobChangeEx::Initialize( CWndBase* pWndParent, DWORD dwType )
    {
    
        if( g_pPlayer->GetLevel() == 15 || g_pPlayer->GetLevel() == 60 || ( ( g_pPlayer->GetLevel() == 120 || g_pPlayer->GetLevel() == 129 ) && g_pPlayer->GetExpPercent() == 9999 ) )
        {
            if(  g_pPlayer->GetJob() == 0 )
            {
                nJobMin = 1;
                nJobMax = 4;
                nNewLv = 15;
            }
            else if( g_pPlayer->GetJob() < MAX_EXPERT )
            {
                nJobMin = (g_pPlayer->GetJob() + 2) * 2;
                nJobMax = nJobMin + 1;
                nNewLv = 60;
            }
            else if( g_pPlayer->GetJob() < MAX_PROFESSIONAL )
            {
                nJobMin = g_pPlayer->GetJob() + 10;
                nJobMax = nJobMin;
                nNewLv = 60;
            }
            else if( g_pPlayer->GetJob() < MAX_HERO )
            {
                nJobMin = g_pPlayer->GetJob() + 8;
                nJobMax = nJobMin;
                nNewLv = 121;
            }
            nCurJob = nJobMin;
        }else{
            nCurJob = 0;
        }
        return CWndNeuz::InitDialog( g_Neuz.GetSafeHwnd(), APP_FASTJOBCHANGE, 0, CPoint( 0, 0 ), pWndParent );
    }
    Is there anywhere else I have to edit the new Level when becoming Hero?
    Last edited by HowlTheHusky; 02-11-16 at 07:40 PM.

  15. #150
    Proficient Member n0tso1ee7 is offline
    MemberRank
    Nov 2015 Join Date
    180Posts

    Re: [Help] add the QuickJobChange In Source

    Hey, sorry for the late reply as long as you used the correct source edit for non 3rd jobs source and resource I believe everything should have worked fine, I do know when trying to add 3rd jobs to a clean V15 source theres an issue with exp at 99% I personally don't remember the fix but hero and master stuff should work perfectly fine unless you changed something within the source or resource.



Advertisement