Jump to content

Alessio

Inactive Member
  • Posts

    45
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Alessio

  1. anyone know something about this error?

    0309 12:09:20662 :: ui:2815: RuntimeWarning: tp_compare didn't return -1 or -2 for exception
    
    0309 12:09:20663 :: 
    uiInventory.py(line:68) __LoadWindow
    ui.py(line:2808) LoadScriptFile
    ui.py(line:2998) LoadChildren
    ui.py(line:2998) LoadChildren
    ui.py(line:2815) LoadChildren
    
    CostumeWindow.LoadWindow.LoadObject - <type 'exceptions.RuntimeError'>:Failed to load image (filename: d:/ymir work/ui/costume_bg.jpg)
    
    0309 12:09:20663 :: ============================================================================================================
    0309 12:09:20663 :: Abort!!!!
    

    i can't find any image inside the downloaded files the source that i'm using is 40250 from tmp4

  2. 1 hour ago, Alessio said:

    can someone help me? 
    for the first 2 errors i tried the fix up here and it doesn't work

    In file included from questlua_horse.cpp:9:
    ./arena.h:59:36: error: use of undeclared identifier 'CHARACTER_MANAGER'
            LPCHARACTER GetPlayerA() { return CHARACTER_MANAGER::instance().FindByPID(m_dwPIDA); }
                                              ^
    ./arena.h:60:36: error: use of undeclared identifier 'CHARACTER_MANAGER'
            LPCHARACTER GetPlayerB() { return CHARACTER_MANAGER::instance().FindByPID(m_dwPIDB); }
                                              ^
    2 errors generated.
    gmake: *** [Makefile:118: OBJDIR/questlua_horse.o] Error 1
    gmake: *** Waiting for unfinished jobs....
    cmd_general.cpp:2180:1: error: function definition is not allowed here
    {
    ^
    cmd_general.cpp:2190:1: error: function definition is not allowed here
    {
    ^
    cmd_general.cpp:2233:1: error: function definition is not allowed here
    {
    ^
    cmd_general.cpp:2238:1: error: function definition is not allowed here
    {
    ^
    cmd_general.cpp:2347:1: error: function definition is not allowed here
    {
    ^
    cmd_general.cpp:2459:1: error: function definition is not allowed here
    {
    ^
    cmd_general.cpp:2488:1: error: function definition is not allowed here
    {
    ^
    cmd_general.cpp:2493:1: error: function definition is not allowed here
    {
    ^
    8 errors generated.
    gmake: *** [Makefile:118: OBJDIR/cmd_general.o] Error 1
    root@metin2:/usr/metin2/src/game/src #

    i fixed this but now when i start the server i get this error with item_proto.txt
     

    SYSERR: Mar  8 17:18:29 :: Set_Proto_Item_Table: ItemProto Reading Failed : Invalid value. (index: 3, col: 3, value: COSTUME_MOUNT)
    SYSERR: Mar  8 17:18:29 :: Set_Proto_Item_Table: 	0 ~ 3 Values: 52001,0,28,

    look like it doesn't recognize "COSTUME_MOUNT"

     

  3. can someone help me? 
    for the first 2 errors i tried the fix up here and it doesn't work

    In file included from questlua_horse.cpp:9:
    ./arena.h:59:36: error: use of undeclared identifier 'CHARACTER_MANAGER'
            LPCHARACTER GetPlayerA() { return CHARACTER_MANAGER::instance().FindByPID(m_dwPIDA); }
                                              ^
    ./arena.h:60:36: error: use of undeclared identifier 'CHARACTER_MANAGER'
            LPCHARACTER GetPlayerB() { return CHARACTER_MANAGER::instance().FindByPID(m_dwPIDB); }
                                              ^
    2 errors generated.
    gmake: *** [Makefile:118: OBJDIR/questlua_horse.o] Error 1
    gmake: *** Waiting for unfinished jobs....
    cmd_general.cpp:2180:1: error: function definition is not allowed here
    {
    ^
    cmd_general.cpp:2190:1: error: function definition is not allowed here
    {
    ^
    cmd_general.cpp:2233:1: error: function definition is not allowed here
    {
    ^
    cmd_general.cpp:2238:1: error: function definition is not allowed here
    {
    ^
    cmd_general.cpp:2347:1: error: function definition is not allowed here
    {
    ^
    cmd_general.cpp:2459:1: error: function definition is not allowed here
    {
    ^
    cmd_general.cpp:2488:1: error: function definition is not allowed here
    {
    ^
    cmd_general.cpp:2493:1: error: function definition is not allowed here
    {
    ^
    8 errors generated.
    gmake: *** [Makefile:118: OBJDIR/cmd_general.o] Error 1
    root@metin2:/usr/metin2/src/game/src #
  4. You should unpack "root.eix" (it's inside "pack" folder) with eter nexus, usually the folder of eter nexus is inside the client, if it's not here is the link to download it 

    This is the hidden content, please
     once you have unpacked root open the folder and then search for serverinfo.py open it with notepad++ https://notepad-plus-plus.org/downloads/ then change server ip = "your server ip"
    to see what's your server ip just write "ifconfig" on the console of freebsd

     

    • Metin2 Dev 2
    • Good 1
    • Love 4
  5.                                                                                        

    This is the hidden content, please
      

    Hi guys i want to share with you something that i made for myself, it isn't really special, i hope it will be helpfull with someone,
    inside these files you're gonna find everything you need to implement new official sets (Only english, i will translate the names for the other lenguages in the future), if something is missing or there is something wrong let me know and i will fix it (for the benefit of the future downloaders)
    Armors : Zodiac, Aurora, Magma, Whalebone, Fallout, Gloom, Kyanite and Serpent
    Weapons : Zodiac, Gloom, Serpent, Kyanite
    Helms : Dragon(lv100) and Gloom Dragon
    Boots : Fire and Oceanic shoes
    Accessories : Tourmaline and Jadite set (Fog,Sun,Dark and smoky)

    Usefull informations 
    inside the item proto and item.txt i have set the values for this items like they are level 1 items, so you can customize them for your needs, i have only edited refine_vnum and specular values so you don't have to do them by yourself ^^
    and inside the .msm files i have set the values at the very bottom "Shapedata 146 - Shapedata 153" and i have set the "ShapeIndex" value over 400k instead of 40k, so it's hard that this value is going to create any conflict if you're going to copy paste other official stuff inside that file with the official shapeindex of that items
    HowTo
    if you don't know how to implement this files give a look to this guide 

     IMPORTANT 
    the base of this files comes from TMP4 files and i have tested them only on that source so idk if you're going to have problems if you implement these inside another source
     

    Thanks

    to @ TMP4 for his source files and @ Deso for the updated .txt files

    • Metin2 Dev 87
    • Eyes 6
    • Good 17
    • Love 5
    • Love 53
  6. Hi i'd like to set max lvl up of items to +5 i tought it was possible by just deleting the items from item_proto, i tried to delete them from the file (locale and server)
    after i do it i get error with connection while connecting to my account if i try to log in with random characters it say that the id and pw are incorrect, so i think that the server is online and the connection error is becouse of the issue that i made into the files, in fact i did the back up of the files that i edited and it works again, am i doing this in the wrong way?
    also i wanted to ask you another thing, if there is a way to do this i'd like to add shiny like +7+8+9 to +3+4+5, is there a guide that talk about this?
    thanks in advice, love you guys 😄
    P.s if it's gonna be too much messy to do ill probably set an easy upgrade from +0 to +4 (with 100% success and easy items) and then ill set the upgrades that i need from +5 to +9 even tho it's not the best :3

  7. On 1/23/2015 at 9:08 PM, Galet said:

    *k is the power of your skill.

     

    Without deep explaination it's :

     

    1. 0.05
    2. 0.06
    3. 0.08
    4. 0.1
    5. 0.12
    6. 0.14
    7. 0.16
    8. 0.18
    9. 0.2
    10. 0.22
    11. 0.24
    12. 0.26
    13. 0.28
    14. 0.3
    15. 0.32
    16. 0.34
    17. 0.36
    18. 0.38
    19. 0.4
    20. 0.5
    21. 0.52
    22. 0.54
    23. 0.56
    24. 0.58
    25. 0.6
    26. 0.63
    27. 0.66
    28. 0.69
    29. 0.72
    30. 0.82
    31. 0.85
    32. 0.88
    33. 0.91
    34. 0.94
    35. 0.98
    36. 1.02
    37. 1.06
    38. 1.1
    39. 1.15
    40. 1.25

    If your skill is level 40 (Perfect Master) then k will be 1.25

     

    Sorry for my bad English

    how can we change this values?

     

  8. this is the math inside skilldesc.txt for threewaycut Total Attack Power %.0f-%.0f (1.1MinATK + (0.1MinATK + 1.5STR)SkillPoint) * 3 (1.1MaxATK + (0.1MaxATK + 1.5STR)SkillPoint) * 3
    and this is from skilltable.txt still fro threewaycut : (1.1atk+(0.5atk+1.5str)k) 40+100*k
    inside skill_proto.sql the value is the same to the one inside skilltable.txt, should i modify only these two if i want to change the strenght of the skills?

  9. 2 hours ago, caanmasu said:

    Looks like someone's a little hot today.

    Maybe this post can help you.
     

     

    I recommend you save time by using ChatGPT.

    Me:
     

    "%.0f-%.0f" means?


    ChatGPT:

    "%.0f-%.0f" is a string format specifier in programming that is often used to format output values in a particular way.
    
    In this case, the format specifier is being used to represent a range of possible values for the "Attack Power" variable. The "%.0f" part of the specifier is used to format a floating-point number (a number with a decimal point) with zero decimal places, which means it will be rounded to the nearest integer.
    
    The "-" between the two format specifiers is simply a separator that indicates the range of values. So, if the values being formatted are 10.5 and 15.2, for example, the output would be "10-15", which represents the range of possible attack power values.
    
    Note that the specific meaning and usage of format specifiers may vary depending on the programming language and context.

     

    Thanks 😄 this will save me a lot of time

    hey one last thing, do you know by any chance what the bonus "faint chance" do in game? what's the effect of this bonus?

  10. 9 minutes ago, Syreldar said:

    I'm afraid I don't understand the question. You need a guide to explain you.. math?

    i was afraid that the question was going to sound dumb, i understand basic math but i don't understand the meaning of this "%.0f-%.0f" is this still a mathematic formula or it's something from a lenguage code?
    i tried to google it but i can't find anything that explain what is it

  11. On 1/14/2020 at 11:38 AM, ezonyo123 said:

     

        POINT_ENERGY                     = 128,
        POINT_ENERGY_END_TIME             = 129,
        POINT_COSTUME_ATTR_BONUS         = 130,
        POINT_MAGIC_ATT_BONUS_PER         = 131,
        POINT_MELEE_MAGIC_ATT_BONUS_PER = 132,
        POINT_RESIST_ICE                 = 133,
        POINT_RESIST_EARTH                 = 134,
        POINT_RESIST_DARK                 = 135,
        POINT_RESIST_CRITICAL             = 136,
        POINT_RESIST_PENETRATE             = 137,

        POINT_MIN_WEP = 200,
        POINT_MAX_WEP,
        POINT_MIN_MAGIC_WEP,
        POINT_MAX_MAGIC_WEP,
        POINT_HIT_RATE,
     

    do you know where i can find the source files with these bonus?
    right now i'm using 40250 files and when i try to change the value applytype0 o by 128 and over i get an error
    https://photos.app.goo.gl/F1tdVHVyc3KQc7yEA

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