Jump to content

white

Member
  • Posts

    9
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by white

  1. Hello Metin2Devs, are there any references of the available types and attributes for UIScript files?
    I looked at the Docs but I did not found anything.
    I am not sure if I've been made clear so this is an example of what I am looking for:
     

    window = {
    	"name" : "CubeWindow",
    
    	"x" : 430,
    	"y" : 230,
    
    	"style" : ("movable", "float",),
    
    	"width" : 400,
    	"height" : 300,
    
    	"children" :
    	(
    		{
    			"name" : "board",
    			"type" : "board",
    			"style" : ("attach",),
    
    			"x" : 0,
    			"y" : 0,
    
    			"width" : 400,
    			"height" : 300,
    
    			"children" :
    			(
    				## Title
    				{
    					"name" : "TitleBar",
    					"type" : "titlebar",
    					"style" : ("attach",),
    
    					"x" : 8,
    					"y" : 7,
    
    					"width" : 378,
    					"color" : "yellow",
    
    					"children" :
    					(
    						{ "name":"TitleName", "type":"text", "x":200, "y":3, "text":"synthesis results", "text_horizontal_align":"center"},
    					),
    				},

    Most of them are self explanatory but I would like to know what is it available for any of those types UI Elements.
    Thanks in advance.

  2. I have the .mde and the .mse next to each other however this does not really work..
    I have the correct EFFECT_REFINED + (the number of the enum value) in the playersettingmodule.py
    I applied the effect on InstanceBase.cpp (considering the item's vnum) with no luck..
    Do I miss something?
    Does those files have a prefix path or something?
    Like if I put them on the wrong path (think about the granny texture) will not find them at all?

  3. Instead of hand-coding it use a for loop..
     

    				std::string strSourceSkin;
    				std::string strTargetSkin;
    
    				// LOCAL_PATH_SUPPORT
    				if (TextFileLoader.GetTokenString("local_sourceskin", &strSourceSkin) &&
    					TextFileLoader.GetTokenString("local_targetskin", &strTargetSkin))
    				{
    					AppendShapeSkin(dwShapeIndex, 0, strSourceSkin.c_str(), strTargetSkin.c_str());
    				}
    				// END_OF_LOCAL_PATH_SUPPORT
    
    				if (TextFileLoader.GetTokenString("sourceskin", &strSourceSkin) &&
    					TextFileLoader.GetTokenString("targetskin", &strTargetSkin))
    				{
    					AppendShapeSkin(dwShapeIndex, 0, (strPathName + strSourceSkin).c_str(), (strPathName + strTargetSkin).c_str());
    				}
    				for (UINT index = 2; index < 7; index++) {
    					if(TextFileLoader.GetTokenString(std::format("sourceskin{}", index), &strSourceSkin) &&
    						TextFileLoader.GetTokenString(std::format("targetskin{}", index), &strTargetSkin))
    						AppendShapeSkin(dwShapeIndex, 0, (strPathName + strSourceSkin).c_str(), (strPathName + strTargetSkin).c_str());
    				}
    				TextFileLoader.SetParentNode();
  4. Hello metin2devs, as the title says what is the usage of chrmgr and it's method Register Effect?

    I did not find the class of chrmgr and I would like to know the usage of this line especially:

    chrmgr.RegisterEffect(chrmgr.EFFECT_REFINED+19, "Bip01", "D:/ymir work/pc/common/effect/armor/armor-4-2-1.mse")

    First of all I checked in the corresponding path and the armor-4-2-1.mse is missing however this does not make any error and the effect is applicable I mean since is on the binary.

  5. Hey, I was watching the video of @ TMP4 and he used a server.vdi.
    For the life of me I am stuck at this point because there was no .vdi in the downloaded .zip!
    So I thought that I would have to set up a FreeBSD from "scratch" and compile the sources or am I missing the point here?
    And if that's the case how much space should the virtual hard disk take?
    Any help would be pretty much appreciated, have a wonderful day you all! 😄

    • Metin2 Dev 1
  6. Hello, I managed to install the server with all the steps  as the guide mentioned, however after starting the server i logged in everything was working properly I guess, but after rebooting 
    the state of the CHANNEL 1 all cores needs cleaning same for CHANNEL 99 and for AUTH  and the server doesn't start.

    I checked the syserr_start  and syslog_start for every one and the only error msg I found in all of them was Cannot get public ip address.

    I tried to get some info before posting it without any luck except a post here mentioning that I should edit game file and replace 192.168 with 999.999.

    Something I forgot to mention is that I already compiled everything and If someone has the knowledge and the time to answer I would like some explanation and not only the solution.

    Thank you for your time.

    • Sad 1
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.