Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Helping out a newbie explaning some basic stuff about source,res etc

Status
Not open for further replies.
Initiate Mage
Joined
Jan 30, 2022
Messages
26
Reaction score
5
Hey, as a still active flyff enthusiast I recently started to play around with some flyff source files.
Since I got some programming skills I was able to understand how things go here and there and was able to add some new small custom stuff into clean v15 source files with help of the other sources and this forum. But can some experienced guy tell me in detail how the resdata files are interacting and what is even defined in them. I guess I get that in the resdata.h u pretty much define some window stuff which is used from the txt and in the inc u build a structure with them. I still dont get what the ID of the resdata files are standing for e.g. IDS_RESDATA_INC_007100.. They refer to the files in the txt but where are these defined? Does the number even matter? I tryed to add the v16 skilltree to the v15 files but just couldnt figure out what the hell im missing in the resfiles after getting textless errors(¿¡¼- ID Ãæµ) which just crashed the neuz while starting over and over.
 
Inactive
Joined
Jan 20, 2009
Messages
1,017
Reaction score
1,824
resData.h
  • Defines for applets and controls.
resData.inc
  • Is where your applets go.
resData.txt.txt
  • - Is where the applet text goes.
IDS_RESDATA_INC_XXXXXX
  • Is a text string dedicated to an applet and(or) control, it can be anything as long as it's unique in nature and doesn't conflict with other text strings in resData.txt.txt.
  • You can also avoid using these by simply replacing them with "My cool text".
(¿¡¼- ID Ãæµ)
  • Is most likely an issue with your formatting.
  • V15 applets have a different structure then V16.

Here's an example of that...

V15:
Code:
APP_MY_CUSTOM "WndTile00.tga" 1 272 272 0x2410000 26
{
// Title String
IDS_RESDATA_INC_000000
}
{
// Help Key
IDS_RESDATA_INC_000000
}
{
    WTYPE_TEXT WIDC_TEXT1 "WndEditTile00.tga" 1 10 8 250 84 0x20000 0 0 0 0
    {
    // Title String
IDS_RESDATA_INC_000000
    }
    {
    // ToolTip
IDS_RESDATA_INC_000000
    }
}

V16:
Code:
APP_MY_CUSTOM "WndTile00.tga" [B][COLOR="#FF0000"]""[/COLOR][/B] 1 272 272 0x2410000 26
{
// Title String
IDS_RESDATA_INC_000000
}
{
// Help Key
IDS_RESDATA_INC_000000
}
{
    WTYPE_TEXT WIDC_TEXT1 "WndEditTile00.tga" 1 10 8 250 84 0x20000 0 0 0 0 [B][COLOR="#FF0000"]0 0 0[/COLOR][/B]
    {
    // Title String
IDS_RESDATA_INC_000000
    }
    {
    // ToolTip
IDS_RESDATA_INC_000000
    }
}

The changes between V15 and V16 can be seen in the red.

Hope this helps and if you have any more questions feel free to ask.
 
Upvote 0
Status
Not open for further replies.
Back
Top