Client error popups on startup

Results 1 to 11 of 11
  1. #1
    Apprentice MrBobo is offline
    MemberRank
    Feb 2023 Join Date
    19Posts

    Client error popups on startup

    I have a question related to the following error popups on client startup:
    https://i.imgur.com/WAQsZo7.png


    From what I have read before these kind of popups are caused by one of the following things:
    - you either didn't define a unique app id in ResData.h, but I did.
    Code:
    #define APP_FASTJOBCHANGE                                                2023
    - Your resData.h in source and resource are not the same (they are)
    - You have an ID missing/wrong in
    resData.inc: https://i.imgur.com/xyMf2C3.png
    resData.txt.txt: https://i.imgur.com/lib3iQP.png

    Am I missing something? I've been looking for what i've done wrong for a few hours now but can't seem to figure it out. Also no error client or server sided is thrown.
    Last edited by MrBobo; 3 Weeks Ago at 08:33 AM.


  2. #2
    Novice Nocolicious is offline
    MemberRank
    Jan 2023 Join Date
    5Posts
    I think you are missing an entry "WTYPE_BUTTON WIDC_BUTTON1"

    Gonna assume it's v15 based on the format you've used. Yes, it has to be the redata, double check with this one.


    Code:
    APP_FASTJOBCHANGE "WndTile00.tga" 1 464 336 0x2410000 26
    {
    // Title String
    IDS_CSTDATA_INC_000000
    }
    {
    // ToolTip
    IDS_RESDATA_INC_000001
    }
    {
        WTYPE_TEXT WIDC_TEXT1 "WndEditTile00.tga" 1 10 100 442 240 0x20020000 0 0 0 0
        {
        // Title String
        IDS_CSTDATA_INC_000001
        }
        {
        // ToolTip
        IDS_RESDATA_INC_000001
        }
        WTYPE_BUTTON WIDC_BUTTON1 "ButtSelectClass.bmp" 0 155 255 289 275 0x220010 0 0 0 0
        {
        // Title String
        IDS_RESDATA_INC_000001
        }
        {
        // ToolTip
        IDS_RESDATA_INC_000001
        }
        WTYPE_BUTTON WIDC_BUTTON2 "ButtRight.bmp" 0 332 255 404 275 0x220010 0 0 0 0
        {
        // Title String
        IDS_RESDATA_INC_000001
        }
        {
        // ToolTip
        IDS_RESDATA_INC_000001
        }
        WTYPE_BUTTON WIDC_BUTTON3 "ButtLeft.bmp" 0 40 255 112 275 0x220010 0 0 0 0
        {
        // Title String
        IDS_RESDATA_INC_000001
        }
        {
        // ToolTip
        IDS_RESDATA_INC_000001
        }
        WTYPE_BUTTON WIDC_BUTTON4 "SlotVan.bmp" 0 188 10 252 74 0x220010 0 0 0 0
        {
        // Title String
        IDS_RESDATA_INC_000001
        }
        {
        // ToolTip
        IDS_RESDATA_INC_000001
        }
        WTYPE_STATIC WIDC_STATIC1 "" 0 130 74 314 93 0x2220050 0 0 0 0
        {
        // Title String
        IDS_RESDATA_INC_000001
        }
        {
        // ToolTip
        IDS_RESDATA_INC_000001
        }
    
    }

  3. #3
    Valued Member c2cube is online now
    MemberRank
    Sep 2021 Join Date
    131Posts
    Wrong restdata.inc i think. Add 3 more "0" at the end of every WTYPE_XXX and ""

    Code:
    WTYPE_TEXT WIDC_TEXT1 "WndEditTile00.tga" 1 8 78 305 153 0x20020000 0 0 0 0 0 0 0
    Code:
    APP_FASTJOBCHANGE "WndTile00.tga" "" 1 320 224 0x2410000 26
    Last edited by c2cube; 3 Weeks Ago at 10:04 AM.

  4. #4
    Apprentice MrBobo is offline
    MemberRank
    Feb 2023 Join Date
    19Posts
    Quote Originally Posted by c2cube View Post
    Wrong restdata.inc i think. Add 3 more "0" at the end of every WTYPE_XXX and ""

    Code:
    WTYPE_TEXT WIDC_TEXT1 "WndEditTile00.tga" 1 8 78 305 153 0x20020000 0 0 0 0 0 0 0
    Code:
    APP_FASTJOBCHANGE "WndTile00.tga" "" 1 320 224 0x2410000 26
    Trying it out now. Sorry for asking but where the heck do you change the experience rate lmao? I've already changed all m_fExpFactor's to 20k. But nothing is changing.

  5. #5
    Valued Member c2cube is online now
    MemberRank
    Sep 2021 Join Date
    131Posts
    Exp rate like drop rate?, If yes. I always change it in Event.lua inside Server\Resource\Lua. Find getexpfactor if im not wrong, im sorry im not in front of pc right now

  6. #6
    Apprentice MrBobo is offline
    MemberRank
    Feb 2023 Join Date
    19Posts
    So currently i'm no longer getting the popups on client startup for the auto jobchange, but when I reach lvl 15, nothing happens. So gotta check the code again.

    Can u also debug stuff in the neuz module? Like WndChangeJobEx.cpp?

    - - - Updated - - -

    Like i've added a line to set the players penya to 500 just to test if it comes there and it doesn't..

    https://i.imgur.com/5g7tbef.png

  7. #7
    Enthusiast Ketchup is offline
    MemberRank
    Jan 2009 Join Date
    25Posts
    Quote Originally Posted by MrBobo View Post
    So currently i'm no longer getting the popups on client startup for the auto jobchange, but when I reach lvl 15, nothing happens. So gotta check the code again.

    Can u also debug stuff in the neuz module? Like WndChangeJobEx.cpp?

    - - - Updated - - -

    Like i've added a line to set the players penya to 500 just to test if it comes there and it doesn't..

    https://i.imgur.com/5g7tbef.png
    Then you need to double check all of your edits lol.

  8. #8
    Apprentice MrBobo is offline
    MemberRank
    Feb 2023 Join Date
    19Posts
    Quote Originally Posted by Ketchup View Post
    Then you need to double check all of your edits lol.
    The thing is, just double checking what I copied isn't what I wanna do. I wanna figure out how I can debug or w.e. to find out why it doesn't come there. I'm new to visual studio as an editor and pretty new to c++ so I need to get the hang of the logic.

    Like for example, let's take DPSsrvr.cpp, there is a method in there:
    Code:
    #ifdef __FASTJOBCHANGEvoid CDPSrvr::OnUpdateJob(CAr& ar, DPID dpidCache, DPID dpidUser, LPBYTE, u_long)
    Is it normal that when I check the call hierarchy, this method has 0 calls to it?
    https://i.imgur.com/NAi4ul9.png

  9. #9
    Enthusiast Ketchup is offline
    MemberRank
    Jan 2009 Join Date
    25Posts
    Quote Originally Posted by MrBobo View Post
    The thing is, just double checking what I copied isn't what I wanna do. I wanna figure out how I can debug or w.e. to find out why it doesn't come there. I'm new to visual studio as an editor and pretty new to c++ so I need to get the hang of the logic.

    Like for example, let's take DPSsrvr.cpp, there is a method in there:
    Code:
    #ifdef __FASTJOBCHANGEvoid CDPSrvr::OnUpdateJob(CAr& ar, DPID dpidCache, DPID dpidUser, LPBYTE, u_long)
    Is it normal that when I check the call hierarchy, this method has 0 calls to it?
    https://i.imgur.com/NAi4ul9.png
    Poor copy / paste leads to these types of problems, this is why I said double check your edits. There is a wonderful tool out there called WinMerge and its 100% free and most people use it when moving systems from one source to the other. https://winmerge.org/downloads/?lang=en

    https://forum.ragezone.com/f457/__fa...hange-1193423/

    Your just trying to reinvent the wheel when double checking would take less then 5 minutes of your time.

  10. #10
    Apprentice MrBobo is offline
    MemberRank
    Feb 2023 Join Date
    19Posts
    Quote Originally Posted by Ketchup View Post
    Poor copy / paste leads to these types of problems, this is why I said double check your edits. There is a wonderful tool out there called WinMerge and its 100% free and most people use it when moving systems from one source to the other. https://winmerge.org/downloads/?lang=en

    https://forum.ragezone.com/f457/__fa...hange-1193423/

    Your just trying to reinvent the wheel when double checking would take less then 5 minutes of your time.
    And I would agree but I already checked everything like 5x xD I'll just start over I guess. Taking a backup before every change anyway.

    - - - Updated - - -

    Quote Originally Posted by Ketchup View Post
    Poor copy / paste leads to these types of problems, this is why I said double check your edits. There is a wonderful tool out there called WinMerge and its 100% free and most people use it when moving systems from one source to the other. https://winmerge.org/downloads/?lang=en

    https://forum.ragezone.com/f457/__fa...hange-1193423/

    Your just trying to reinvent the wheel when double checking would take less then 5 minutes of your time.

    You were right. I think that I was mixing stuff from yours and Xakzi.. Anyway, it's working got no errors but when clicking the job u want, it lights up but it doesn't actually set it. So when u then click on the middle button, it doesn't actually set your job. And if you relog, you get the popup again as you are still vagrant. Any clue? I'll start looking in the code in the meantime.

    - - - Updated - - -

    Update: Nevermind got it fixed :) There was a part that wasn't copied from a file.

  11. #11
    Valued Member c2cube is online now
    MemberRank
    Sep 2021 Join Date
    131Posts
    Im sorry i dont know about that, and im using sir Ketchup fastjobchange



Advertisement