Problem with new menu

Results 1 to 3 of 3
  1. #1
    [R8]ℓσℓ32 caja is offline
    MemberRank
    Oct 2008 Join Date
    Here!Location
    1,502Posts

    Problem with new menu

    I just add a baruna safe upgrade to my server and its working properly, the problem is the text in menu.

    Menu: It says Sorry. You just got out bid.


    Window:


    Textclient
    Code:
    TID_MMI_SMELT_SAFETY_BARUNA		0xffff0000 
    {
    	IDS_TEXTCLIENT_INC_005555
    }
    
    IDS_TEXTCLIENT_INC_005555	Baruna Upgrade
    DefineNeuz
    Code:
    #define MMI_SMELT_SAFETY_BARUNA			240
    DefineText
    Code:
    #define TID_MMI_SMELT_SAFETY_BARUNA	4702
    Character
    Code:
    		AddMenu( MMI_SMELT_SAFETY_BARUNA );
    Maybe I miss something? I've a temp "fix" changing the bugged text, but I would like to know if there is something wrong.


  2. #2
    Flyff Developer ShadowDragon is offline
    MemberRank
    Apr 2009 Join Date
    1,915Posts

    Re: Problem with new menu

    Ok, this took a bit of digging, and you're going to find the answer to be very weird lol

    The text in those menus is based on a relative value, starting from a certain one.
    It starts from TID_MMI_DIALOG, which is number 7000. It adds the number value of the menu (in your case, 240) to that value, and that's the text it displays. 7240 is TID_MMI_GHOUSE_BIDFAILED, which explains the text you ended up with. So, you are going to have to change your TID_... value to something above 7000, and change the MMI_... value to the TID_ value minus 7000.

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

    Re: Problem with new menu

    thanx great info. your always a big help. i learn a lot from reading your posts.
    thanx
    ryno



Advertisement