Jump to content

Juki

Premium
  • Posts

    46
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Juki

  1. 6 hours ago, SnowFake said:

    Hy boys, i use zeryon serverfiles , i try to change name under the minimap, but i don't find where, i try serverinfo logininfo and all the files from there, i see nothing abour "zeryon" can you advice me from where it can be?

     

    even in "minimap.py" is nothing about that name 

      Reveal hidden contents

    import uiscriptlocale

    ROOT = "d:/ymir work/ui/minimap/"

    window = {
        "name" : "MiniMap",
        "x" : SCREEN_WIDTH - 148,
        "y" : 0,
        "width" : 148,
        "height" : 160,
        "children" :
        (
            {
                "name" : "OpenWindow",
                "type" : "window",
                "x" : 0,
                "y" : 0,
                "width" : 148,
                "height" : 160,
                "children" :
                (
                    {
                        "name" : "OpenWindowBGI",
                        "type" : "image",
                        "x" : 12,
                        "y" : 13,
                        "image" : ROOT + "minimap.sub",
                    },
                    {
                        "name" : "MiniMapWindow",
                        "type" : "window",
                        "x" : 4,
                        "y" : 5 + 13,
                        "width" : 128,
                        "height" : 128,
                    },
                    {
                        "name" : "BUTTON_DUNGEON_INFO",
                        "type" : "button",
                        "x" : 13,
                        "y" : 106,
                        "default_image" : "d:/ymir work/ui/dungeon_minimap_button.png",
                        "over_image" : "d:/ymir work/ui/dungeon_minimap_button_over_in.png",
                        "down_image" :"d:/ymir work/ui/dungeon_minimap_button_over_out.png",
                    },
                    {
                        "name" : "AtlasShowButton",
                        "type" : "button",
                        "x" : 24,
                        "y" : 25,
                        "default_image" : ROOT + "atlas_open_default.sub",
                        "over_image" : ROOT + "atlas_open_over.sub",
                        "down_image" : ROOT + "atlas_open_down.sub",
                    },
                    {
                        "name" : "BUTTON_DAILY",
                        "type" : "button",
                        "x" : 4,
                        "y" : 45,
                        "default_image" : ROOT + "chest.png",
                        "over_image" : ROOT + "chest_over.png",
                        "down_image" : ROOT + "chest_down.png",
                    },
                    {
                        "name" : "BUTTON_BIOLOGO",
                        "type" : "button",
                        "x" : 0,
                        "y" : 72,
                        "default_image" : ROOT + "biologo.png",
                        "over_image" : ROOT + "biologo_over.png",
                        "down_image" : ROOT + "biologo_down.png",
                    },
                    {
                        "name" : "BUTTON_WIKI_WONDER",
                        "type" : "button",
                        "x" : 67,
                        "y" : 138,
                        "default_image" : "d:/ymir work/ui/wiki_btn_01.png",
                        "over_image" : "d:/ymir work/ui/wiki_btn_02.png",
                        "down_image" :"d:/ymir work/ui/wiki_btn_03.png",
                    },
                    {
                        "name" : "ScaleUpButton",
                        "type" : "button",
                        "x" : 113,
                        "y" : 129,
                        "default_image" : ROOT + "minimap_scaleup_default.sub",
                        "over_image" : ROOT + "minimap_scaleup_over.sub",
                        "down_image" : ROOT + "minimap_scaleup_down.sub",
                    },
                    {
                        "name" : "ScaleDownButton",
                        "type" : "button",
                        "x" : 127,
                        "y" : 116,
                        "default_image" : ROOT + "minimap_scaledown_default.sub",
                        "over_image" : ROOT + "minimap_scaledown_over.sub",
                        "down_image" : ROOT + "minimap_scaledown_down.sub",
                    },
                    {
                        "name" : "MiniMapHideButton",
                        "type" : "button",
                        "x" : 123,
                        "y" : 19,
                        "default_image" : ROOT + "minimap_close_default.sub",
                        "over_image" : ROOT + "minimap_close_over.sub",
                        "down_image" : ROOT + "minimap_close_down.sub",
                    },
                    {
                        "name" : "textInfoBar",
                        "type" : "bar",
                        "x" : 8,
                        "y" : 163,
                        "color" : 0x64000000,
                        "width" : 132,
                        "height" : 28,
                        "children" : 
                        (
                            {
                                "name" : "textInfoValue1",
                                "type" : "text",
                                "x" : 0,
                                "y" : 1,
                                "text" : "",
                                "outline" : 1,
                                "horizontal_align" : "center",
                                "text_horizontal_align" : "center"
                            },
                            {
                                "name" : "textInfoValue2",
                                "type" : "text",
                                "x" : 0,
                                "y" : 12,
                                "text" : "",
                                "outline" : 1,
                                "horizontal_align" : "center",
                                "text_horizontal_align" : "center"
                            },
                        ),
                    },
                    {
                        "name" : "textInfoBar2",
                        "type" : "bar",
                        "x" : 8,
                        "y" : 163 + 26,
                        "color" : 0x00000000,
                        "width" : 132,
                        "height" : 28,
                        "children" : 
                        (
                            {
                                "name" : "ServerInfo",
                                "type" : "text",
                                "x" : 0,
                                "y" : 1,
                                "text" : "",
                                "outline" : 1,
                                "horizontal_align" : "center",
                                "text_horizontal_align" : "center"
                            },
                            {
                                "name" : "MiniMapClock",
                                "type" : "text",
                                "x" : 0,
                                "y" : 12,
                                "text" : "",
                                "outline" : 1,
                                "horizontal_align" : "center",
                                "text_horizontal_align" : "center"
                            },
                            {
                                "name" : "TimeInfo",
                                "type" : "text",
                                "x" : 0,
                                "y" : 12,
                                "text" : "",
                                "outline" : 1,
                                "horizontal_align" : "center",
                                "text_horizontal_align" : "center"
                            },
                        ),
                    },
                    {
                        "name" : "ObserverCount",
                        "type" : "text",
                        "text_horizontal_align" : "center",
                        "outline" : 1,
                        "x" : 82,
                        "y" : 213,
                        "text" : "",
                    },
                ),
            },
            {
                "name" : "CloseWindow",
                "type" : "window",
                "x" : 10,
                "y" : 0,
                "width" : 132,
                "height" : 48,
                "children" :
                (
                    {
                        "name" : "MiniMapShowButton",
                        "type" : "button",

                        "x" : 100,
                        "y" : 4,

                        "default_image" : ROOT + "minimap_open_default.sub",
                        "over_image" : ROOT + "minimap_open_default.sub",
                        "down_image" : ROOT + "minimap_open_default.sub",
                    },
                ),
            },
            {
                "name" : "MastWindow",
                "type" : "thinboard",

                "x" : -18,
                "y" : 215,

                "width" : 165,
                "height" : 66,
                "children" :
                (
                    {
                        "name" : "MastText",
                        "type" : "text",

                        "text_horizontal_align" : "center",

                        "x" : 85,
                        "y" : 8,

                        "text" : uiscriptlocale.DEFANCE_WAWE_MAST_TEXT,
                    },
                    {
                        "name" : "MastHp",
                        "type" : "gauge",

                        "x" : 42,
                        "y" : 23,

                        "width" : 85,
                        "color" : "red",
                                
                        "tooltip_text" : uiscriptlocale.DEFANCE_WAWE_GAUGE_TOOLTIP,
                    },
                    {
                        "name" : "ActualMastText",
                        "type" : "text",

                        "text_horizontal_align" : "center",

                        "x" : 84,
                        "y" : 31,

                        "text" : uiscriptlocale.MASK_HP_DEFAULT,
                    },
                    {
                        "name" : "MastTimerText",
                        "type" : "text",

                        "text_horizontal_align" : "center",

                        "x" : 85,
                        "y" : 42,

                        "text" : "-:-",
                    },
                ),
            },
        ),
    }

     

    I answered on discord sorry didn't notice serverinfo.py, localeinfo.py or game.py

  2. 4 hours ago, raihan3 said:

    every thing is fine in this file except some problem i got is some cmd is chinese like example when user dc or logout it don`t show on english like The game will be closed in %d seconds. it show in chinese another problem is locale_list and your loaded quest are not same hope you understand what i mean

    Check your server syserr once you do whatever is causing your chinese letters, you can see there and just add it to your locale_string with translation underneath 

  3. On 4/30/2024 at 9:50 PM, xRoshi said:

    I did as in the guide, the translation worked correctly, but I added reading _proto from sql and suddenly only npc names have the default translation it doesn't read from the conf folder anymore (it's changed to my language), only from the client, but I also have the language there, the names of the monsters are there, but there is no npc ;d

    u have to change mob_proto.txt server side and client side and then dumpo proto (compile proto clientside)

    • Metin2 Dev 1
  4. so i added anti exp system everything is working expect i get this error in python checked the whole tried to google doesn't say anything about this definiton..

    .png    Like as far as i know the /anti_exverr works by typing in chat but not on click.

    0419 17:07:54847 :: Traceback (most recent call last):
    
    0419 17:07:54847 ::   File "ui.py", line 1418, in CallEvent
    
    0419 17:07:54847 ::   File "ui.py", line 87, in __call__
    
    0419 17:07:54848 ::   File "ui.py", line 69, in __call__
    
    0419 17:07:54848 ::   File "interfaceModule.py", line 1036, in ToggleAntiExpDialog
    
    0419 17:07:54848 :: NameError
    0419 17:07:54848 :: : 
    0419 17:07:54848 :: global name 'net' is not defined
    0419 17:07:54848 ::

    could anyone give some heads up what't should i do?

  5. On 4/12/2024 at 12:46 AM, Luffy said:

    When trying to activate a title I take dc and this error occurs
    Process: FDWATCH: peer null in event: ident 21
    in the DB sysser then it doesn't enter the game
    But if you enter the title through navicat it goes normally without any errors in the sysser.

    https://metin2.download/picture/3ncoKkQZ501Ygqmwgg0NS9ow44SRpEFm/.jpg

    spacer.png

    What SF are you using bro? I've tried adding that system doesn't work for me can't even compile the title.cpp

  6. 1 hour ago, Silver said:

    Lycawn i already did that and its still the same problem i tried changing the URL everywhere i found i even typed the WALL_URL on every channel and game file that the files should have nothing changed.. its like the game doesnt wanna change xD

    well did you compile it?

  7. 9 minutes ago, sxulless1 said:

    Hello, so I'm trying to make some visual changes on one metin2 server since it's allowed. I'm trying to replace sash with animated wings, replaced all the files. I can see the wings in game but they're not animated And they're not on the back of the character but on the side of character. Can anyone help me solve this please? 

    why replace sash with wings? you can just add new sash/wings. you have wings on the side prolly coz you're not using right .mse files

  8. 18 minutes ago, Luffy said:

    Support System

    You probably didn't add something correctly then. You should ask the guy who made the system or who you bought it from

  9. 1 hour ago, Luffy said:

    I removed line 8500 and turned on the normal server, I'm even using the system


    61020    shaman    ITEM_QUEST    0    1    ANTI_DROP | ANTI_SELL | ANTI_GIVE | ANTI_STACK | ANTI_MYSHOP | ANTI_PKDROP | ANTI_SAFEBOX    LOG    NONE    NONE    0    0    0    0    0    LIMIT_NONE    0    LIMIT_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    34998    0    86400    0    0    0    0    0    0                        
    61021    shaman    ITEM_QUEST    0    1    ANTI_DROP | ANTI_SELL | ANTI_GIVE | ANTI_STACK | ANTI_MYSHOP | ANTI_PKDROP | ANTI_SAFEBOX    LOG    NONE    NONE    0    0    0    0    0    LIMIT_NONE    0    LIMIT_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    34999    0    86400    0    0    0    0    0    0                        
    61022    shaman    ITEM_QUEST    0    1    ANTI_DROP | ANTI_SELL | ANTI_GIVE | ANTI_STACK | ANTI_MYSHOP | ANTI_PKDROP | ANTI_SAFEBOX    LOG    NONE    NONE    0    0    0    0    0    LIMIT_NONE    0    LIMIT_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    34998    0    0    0    0    0    0    0    0                        
    61023    shaman    ITEM_QUEST    0    1    ANTI_DROP | ANTI_SELL | ANTI_GIVE | ANTI_STACK | ANTI_MYSHOP | ANTI_PKDROP | ANTI_SAFEBOX    LOG    NONE    NONE    0    0    0    0    0    LIMIT_NONE    0    LIMIT_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    APPLY_NONE    0    34999    0    0    0    0    0    0    0    0                        

    What exactly are you trying to add? i see it's something related to item_quest type but what is it? or what system is it?

    • Facepalm 1
  10. 12 hours ago, Luffy said:

    hi... when i add somthing to item_proto allways i get dis error  but i never add soamnthing whit MATERIAL_LEATHER

     

    SYSERR: Apr  1 00:26:09 :: Set_Proto_Item_Table: ItemProto Reading Failed : Invalid value. (index: 2, col: 2, value: MATERIAL_LEATHER)
    SYSERR: Apr  1 00:26:09 :: Set_Proto_Item_Table:     0 ~ 2 Values: 85000,0,

    What are you trying to add bro?

  11. 25 minutes ago, sylwek219awp said:

    Hi guys!

     

    Enyone know how to fix this?

     


    input_main.cpp:3496:11: error: no viable conversion from 'std::unique_ptr<SQLMsg>' (aka 'unique_ptr<_SQLMsg>') to 'SQLMsg *' (aka '_SQLMsg *')
            SQLMsg * msg = DBManager::instance().DirectQuery(szQuery);
                     ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    input_main.cpp:3502:32: error: use of undeclared identifier 'HEADER_GD_FLUSH_CACHE'; did you mean 'HEADER_GD_QUEST_SAVE'?
            db_clientdesc->DBPacketHeader(HEADER_GD_FLUSH_CACHE, 0, sizeof(DWORD));
                                          ^~~~~~~~~~~~~~~~~~~~~
     

     

    Thanks for reply!

    input_main.cpp:3496

    input_main.cpp:3502

    Read those lines in your input_main.cpp you fcked up something and you don't have indentified HEADER_GD_FLUSH_CACHE

     

  12. 59 minutes ago, erubaba said:

    even reading this last few comments makes me so confused on how to make my friends enter my server..

    can anybody give me a hand? i just want a few people in.
    changing the CONFIG of all channels in hamachi ip doesnt work even for me, the server fails to find client ip and then i cant connect either

    i can help you set it up. what you need exactly? Even tho if you follow tmp4 guide everything should be working the guide is perfect and why would you need hamachi?

    • Metin2 Dev 1
    • Good 1
  13. So i added special inventory but whatever i try to put in it it says inventory full.

    https://jumpshare.com/s/8Ww4tPIcJHEQo6d6wKTw

    Im using WORD wCell as datatype file are from Ulthar

    LPITEM CHARACTER::GetSkillBookInventoryItem(WORD wCell) const
    {
    	return GetItem(TItemPos(INVENTORY, wCell));
    }
    LPITEM CHARACTER::GetUpgradeItemsInventoryItem(WORD wCell) const
    {
    	return GetItem(TItemPos(INVENTORY, wCell));
    }
    LPITEM CHARACTER::GetStoneInventoryItem(WORD wCell) const
    {
    	return GetItem(TItemPos(INVENTORY, wCell));
    }
    LPITEM CHARACTER::GetBoxInventoryItem(WORD wCell) const
    {
    	return GetItem(TItemPos(INVENTORY, wCell));
    }
    LPITEM CHARACTER::GetEfsunInventoryItem(WORD wCell) const
    {
    	return GetItem(TItemPos(INVENTORY, wCell));
    }
    LPITEM CHARACTER::GetCicekInventoryItem(WORD wCell) const
    {
    	return GetItem(TItemPos(INVENTORY, wCell));

    If anyone could give me some heads up would be greatful

     

    Kind regards!

×
×
  • 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.