elitepvpers

elitepvpers (https://www.elitepvpers.com/forum/)
-   Flyff Private Server (https://www.elitepvpers.com/forum/flyff-private-server/)
-   -   __LOOKCHANGE causes crash (https://www.elitepvpers.com/forum/flyff-private-server/4634178-__lookchange-causes-crash.html)

Fatcode 06/22/2019 16:59

__LOOKCHANGE causes crash
 
It's me again, I need some help here again.. I was adding __LOOKCHANGE and it was successful in the source. I have managed to add it correctly and carefully but when neuz is opened it will crash but if I remove the AddMenu(MMI_LOOKCHANGE); in the character.inc the neuz will load successfully. Is there any thoughts? What could be wrong? Can you guys send me your entry from resdata.inc so I can compare mine?

My ResData.inc entry
Spoiler:
Code:

APP_LOOKCHANGE "WndTile00.tga" "" 1 288 256 0x2410000 26
{
// Title String
IDS_RESDATA_INC_009006
}
{
// ToolTip
IDS_RESDATA_INC_009007
}
{
    WTYPE_STATIC WIDC_STATIC1 "LookChange01.bmp" 0 44 44 88 88 0x2220002 0 0 0 0 46 112 169
    {
    // Title String
    IDS_RESDATA_INC_009018
    }
    {
    // ToolTip
    IDS_RESDATA_INC_009019
    }
    WTYPE_STATIC WIDC_STATIC2 "LookChange01.bmp" 0 194 44 238 88 0x2220002 0 0 0 0 46 112 169
    {
    // Title String
    IDS_RESDATA_INC_009020
    }
    {
    // ToolTip
    IDS_RESDATA_INC_009021
    }
    WTYPE_STATIC WIDC_STATIC3 "LookChange01.bmp" 0 118 124 162 168 0x2220002 0 0 0 0 46 112 169
    {
    // Title String
    IDS_RESDATA_INC_009022
    }
    {
    // ToolTip
    IDS_RESDATA_INC_009023
    }
    WTYPE_STATIC WIDC_STATIC4 "" 0 8 20 128 36 0x2220010 0 0 0 0 46 112 169
    {
    // Title String
    IDS_RESDATA_INC_009024
    }
    {
    // ToolTip
    IDS_RESDATA_INC_009025
    }
    WTYPE_STATIC WIDC_STATIC5 "" 0 153 20 273 36 0x2220010 0 0 0 0 46 112 169
    {
    // Title String
    IDS_RESDATA_INC_009026
    }
    {
    // ToolTip
    IDS_RESDATA_INC_009027
    }
    WTYPE_STATIC WIDC_STATIC6 "" 0 79 98 199 114 0x2220010 0 0 0 0 46 112 169
    {
    // Title String
    IDS_RESDATA_INC_009028
    }
    {
    // ToolTip
    IDS_RESDATA_INC_009029
    }
    WTYPE_BUTTON WIDC_BUTTON1 "ButtOk.tga" 0 42 193 112 212 0x220010 0 0 0 0 46 112 169
    {
    // Title String
    IDS_RESDATA_INC_009030
    }
    {
    // ToolTip
    IDS_RESDATA_INC_009031
    }
    WTYPE_BUTTON WIDC_BUTTON2 "ButtCancel.tga" 0 160 192 231 213 0x220010 0 0 0 0 46 112 169
    {
    // Title String
    IDS_RESDATA_INC_009032
    }
    {
    // ToolTip
    IDS_RESDATA_INC_009033
    }
    WTYPE_STATIC WIDC_STATIC7 "LookChangeArrow02.bmp" 0 64 88 116 150 0x2220002 0 0 0 0 46 112 169
    {
    // Title String
    IDS_RESDATA_INC_009034
    }
    {
    // ToolTip
    IDS_RESDATA_INC_009035
    }
    WTYPE_STATIC WIDC_STATIC8 "LookChangeArrow03.bmp" 0 163 88 215 150 0x2220002 0 0 0 0 46 112 169
    {
    // Title String
    IDS_RESDATA_INC_009036
    }
    {
    // ToolTip
    IDS_RESDATA_INC_009037
    }
}


Any ideas and thoughts is a very big help in fixing my problem.

--
UPDATE:
Here is a screenshot where it breaks.
[IMG=expandable: 1]https://cdn.discordapp.com/attachments/560562657829191741/593537808845635594/unknown.png[/IMG]

Nιgнтмαяε 06/22/2019 17:59

Are you using V15 files or V16+ files?

Fatcode 06/23/2019 02:39

I am using Ketchups v17 base files and I got the LOOKCHANGE from the Gama files.

Nιgнтмαяε 06/23/2019 03:36

Make sure MMI_LOOKCHANGE is defined on the server end to. Could be a define problem as the app looks fine.

Fatcode 06/23/2019 10:09

I was thinking about this:

Should the crash caused by the AddMenu( MMI_LOOKCHANGE ); because that MMI_LOOKCHANGE is already in the start menu left side?(Havent checked this yet as am not at home at the moment.)

mobai520 06/23/2019 14:18

Quote:

Originally Posted by Fatcode (Post 37608276)
I was thinking about this:

Should the crash caused by the AddMenu( MMI_LOOKCHANGE ); because that MMI_LOOKCHANGE is already in the start menu left side?(Havent checked this yet as am not at home at the moment.)

It seems that the same error as I transplanted the gama card system code, maybe not far from each other, but I changed the card code and it works fine.

Nιgнтмαяε 06/23/2019 14:53

Quote:

Originally Posted by Fatcode (Post 37608276)
I was thinking about this:

Should the crash caused by the AddMenu( MMI_LOOKCHANGE ); because that MMI_LOOKCHANGE is already in the start menu left side?(Havent checked this yet as am not at home at the moment.)

You should debug your neuz when you launch the client and it should pinpoint where the issue actually is.

Fatcode 06/26/2019 22:08

So I have changed from __LOOKCHANGE to __MODEL_CHANGER and still got the issue with the neuz/world crashing when the MMI_MODEL_CHANGE is inserted to the NPC(Isruel) with the entry of "AddMenu(MMI_MODEL_CHANGE); I have added the MMI_MODEL_CHANGE in the defineNeuz.h and the APP_LOOKCHANGE in the resdata.h am I missing something or?

Post updated, added a screenshot.

Nιgнтмαяε 06/27/2019 00:16

Again, you clearly need to debug lol.


All times are GMT +2. The time now is 13:08.

Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.