Jump to content

TMP4

Contributor
  • Posts

    1112
  • Joined

  • Last visited

  • Days Won

    20
  • Feedback

    100%

Posts posted by TMP4

  1. 37 minutes ago, SussyFlore96 said:

    @ TMP4, perhaps you might have an idea of this behavior?

    0826-184827.jpg

    27994	ÇÇÁřÁÖ	ITEM_RESOURCE	RESOURCE_BLOOD_PEARL	1	NONE	ITEM_STACKABLE	NONE	NONE	24000	24000	0	0	0	LIMIT_NONE	0	LIMIT_NONE	0	APPLY_NONE	0	APPLY_NONE	0	APPLY_NONE	0	0	0	0	0	0	0	0	0	0

    Working fine for me?

    On 8/22/2022 at 11:31 PM, BoyBen said:

    Well, my max HP is 24807. I changed data type to int(11) just to be sure but still the same. I noticed that before entering the game I had 16k HP in player.player table. When I enter the game I have 14807/14807. After a second max hp recalculates to 26k but my real hp is still 14807 and I have to use potions.

    Hp works fine for me. I can only think for a bad design flow, like a quest giving hp bonus after login each time.
    Some ppl using modified bios quest what removes every bonuses at logout and giving every bonus back at login, that's not a good idea to do so.

    0826-185653.jpg

    Screenshot-1.png

  2. 4 hours ago, Darkchrono said:

    i tried edit 01. Svn\Client\GameLib\ItemData.h but i didn't find WEAR_COSTUME_HAIR, in my ItemData.h

    // 1) Search:
                WEAR_COSTUME_HAIR,
    // 2) After this make a new line and paste:
                #ifdef ENABLE_SASH_SYSTEM
                WEAR_COSTUME_SASH,
                #endif

    or Should i ignore that modification?

    Here my ItemData.h and its seem dont have WEAR_COSTUME section

    https://metin2.download/picture/1zymjoD4VZmtUx7r494XCh8O5GmmeUj7/.png

    It would go to EWearPositions but it's unused afaik so ignore it. But make sure you have COSTUME_SASH in ECostumeSubTypes.

    But it's off-topic, if you have further questions abouts systems please ask in their corresponding forum which would be https://metin2.dev/forum/35-questions-answers/

    12 hours ago, BoyBen said:

    Hi, I have a problem. I lose hp and sp when entering the game - they are not full and I have to use potions. Any fixes?

     

    What is your max hp? If it's over 32k, you need to change the player table hp and mp datatype to int(11).
    It's already changed in the source (tables.h) so you only need the database.

    • Metin2 Dev 1
    • Angry 1
    • Good 3
  3. 15 minutes ago, Ator said:

    That's right, ty sir!

    But now... when login I can select character but crashes insta...

    0731 11:43:42619 :: 
    uiInventory.py(line:313) __LoadWindow
    ui.py(line:2704) GetChild

    InventoryWindow.LoadWindow.BindObject - <type 'exceptions.KeyError'>:'Inventory_Tab_03'

    0731 11:43:42619 :: ============================================================================================================
    0731 11:43:42619 :: Abort!!!!


     

    Inventory_Tab_03 missing / forgot to repack from locale's inventorywindow.py.

  4. 9 hours ago, Ator said:

    ¡Hi!

    I've installed the server, change language to spanish and i want to implement 4 inventory wich u added in extensions folder. I did all the steps and the client vanished when I input user and password.

    syserr:

    0730 23:35:10750 :: 
    networkModule.py(line:208) SetSelectCharacterPhase
    system.py(line:130) __pack_import
    system.py(line:110) _process_result
    introSelect.py(line:30) <module>
    system.py(line:130) __pack_import
    system.py(line:110) _process_result
    interfaceModule.py(line:12) <module>
    system.py(line:130) __pack_import

    networkModule.SetSelectCharacterPhase - <type 'exceptions.IndentationError'>:unindent does not match any outer indentation level (uiInventory.py, line 464)

    0730 23:35:10750 :: ============================================================================================================
    0730 23:35:10750 :: Abort!!!!


    uiInventory.py

    Lines 461-462:
        def Close(self):
            self.Hide()

    Lines 464-468:
        def SetInventoryPage(self, page):
            self.inventoryTab[self.inventoryPageIndex].SetUp()
            self.inventoryPageIndex = page
            self.inventoryTab[self.inventoryPageIndex].Down()
            self.RefreshBagSlotWindow()


    Lines 470-473:
        def SetEquipmentPage(self, page):
            self.equipmentPageIndex = page
            self.equipmentTab[1-page].SetUp()
            self.RefreshEquipSlotWindow()

    ¿Anyone can help with this error?

     

    Tabulator error. You can't mess up tabs in Python.

    Either upload uiinventory.py or enable showing tabs in your editor and you probably will see the error.

  5. 24 minutes ago, ShyD said:

    Hi @ TMP4, do u know why sash is at wrong position attached on ur files?

    It is a basic and we can even call official(ish) serverfile from a Ymir-Webzen leak from end of 2013. I only applied some fix for known bugs and exploits (none related to models or 3d). Therefore when a custom system not works, it's either on you or the tutorial.

    This should work: 

    This is the hidden content, please

    • Metin2 Dev 32
    • Eyes 2
    • Dislove 1
    • Scream 1
    • Lmao 1
    • Good 13
    • Love 5
  6. 3 hours ago, soxis94 said:

    Tnx for the reply, i've controlled source file, but in this release ([40250] Reference Serverfile + Client + Src [15 Available Languages] by @ TMP4)

    if i'm not wrong, the file are updated to mysql 8.0 or not ? because in the file game src the password function are not present. 

    Password function is a mysql function, not from the metin2 server.

    This serverfile is not prepared to use mysql 8.0.

    Use 5.5 or 5.6

  7. 4 minutes ago, soxis94 said:

    Hi @ TMP4, i have a problem with the DB, when i start MySQL 8.0 on FreeBSD 13.1 x64:

     

    # service mysql-server start
    Starting mysql.
     # service mysql-server status
    mysql is not running.

     

    in my /var/db/mysql  *.err :

      Reveal hidden contents

    2022-05-13T15:58:26.6NZ mysqld_safe Logging to '/var/db/mysql/AwakenII.err'.
    2022-05-13T15:58:26.6NZ mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
    2022-05-13T15:58:27.503003Z 0 [Warning] [MY-011068] [Server] The syntax 'slave_load_tmpdir' is deprecated and will be removed in a future release. Please use replica_load_tmpdir instead.
    2022-05-13T15:58:27.503113Z 0 [Warning] [MY-011069] [Server] The syntax '--master-info-repository' is deprecated and will be removed in a future release.
    2022-05-13T15:58:27.503182Z 0 [Warning] [MY-011069] [Server] The syntax '--relay-log-info-repository' is deprecated and will be removed in a future release.
    2022-05-13T15:58:27.503322Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
    2022-05-13T15:58:27.503703Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
    2022-05-13T15:58:27.503802Z 0 [Warning] [MY-011068] [Server] The syntax 'slave_load_tmpdir' is deprecated and will be removed in a future release. Please use replica_load_tmpdir instead.
    2022-05-13T15:58:27.503891Z 0 [Warning] [MY-011069] [Server] The syntax '--master-info-repository' is deprecated and will be removed in a future release.
    2022-05-13T15:58:27.503940Z 0 [Warning] [MY-011069] [Server] The syntax '--relay-log-info-repository' is deprecated and will be removed in a future release.
    2022-05-13T15:58:27.504068Z 0 [Warning] [MY-011068] [Server] The syntax 'expire-logs-days' is deprecated and will be removed in a future release. Please use binlog_expire_logs_seconds instead.
    2022-05-13T15:58:27.504387Z 0 [Warning] [MY-011070] [Server] 'Disabling symbolic links using --skip-symbolic-links (or equivalent) is the default. Consider not using this option as it' is deprecated and will be removed in a future release.
    2022-05-13T15:58:27.512483Z 0 [System] [MY-010116] [Server] /usr/local/libexec/mysqld (mysqld 8.0.29) starting as process 28069
    2022-05-13T15:58:27.645031Z 0 [Warning] [MY-000054] [Server] World-writable config file '/var/db/mysql/auto.cnf' is ignored.
    2022-05-13T15:58:27.646034Z 0 [Warning] [MY-010107] [Server] World-writable config file '/var/db/mysql/auto.cnf' has been removed.
    2022-05-13T15:58:27.647228Z 0 [Warning] [MY-010075] [Server] No existing UUID has been found, so we assume that this is the first time that this server has been started. Generating a new UUID: 87008867-d2d5-11ec-92c9-dca632fa7384.
    2022-05-13T15:58:27.673038Z 1 [System] [MY-011012] [Server] Starting upgrade of data directory.
    2022-05-13T15:58:27.673202Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
    2022-05-13T15:58:28.267872Z 1 [ERROR] [MY-012263] [InnoDB] The Auto-extending innodb_system data file '/var/db/mysql/ibdata1' is of a different size 1152 pages (rounded down to MB) than specified in the .cnf file: initial 8192 pages, max 0 (relevant if non-zero) pages!
    2022-05-13T15:58:28.268142Z 1 [ERROR] [MY-012930] [InnoDB] Plugin initialization aborted with error Generic error.
    2022-05-13T15:58:28.271297Z 1 [ERROR] [MY-011013] [Server] Failed to initialize DD Storage Engine.
    2022-05-13T15:58:28.272647Z 0 [ERROR] [MY-010020] [Server] Data Dictionary initialization failed.
    2022-05-13T15:58:28.273443Z 0 [ERROR] [MY-010119] [Server] Aborting
    2022-05-13T15:58:28.287337Z 0 [System] [MY-010910] [Server] /usr/local/libexec/mysqld: Shutdown complete (mysqld 8.0.29)  Source distribution.
    2022-05-13T15:58:28.6NZ mysqld_safe mysqld from pid file /var/db/mysql/AwakenII.pid ended
     

     

    i can change the my.conf configuration for reduce the ibdata1 dimension to 18M but if i change this, return the error "Redo log is compatible for MySQL ver 5.7 bla bla bla..."

    Help me pleasee.
     

    MySQL 8.0 is not supported. You have to do several changes to make it usable. For start, I suggest this topic:

    Any questions please open a topic in q&a.

  8. 33 minutes ago, xmosterx said:
      Reveal hidden contents
     [linking]   ../game_r43813_64....
    /usr/bin/ld: error: ../../libthecore/lib/libthecore.a(socket.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../libthecore/lib/libthecore.a(fdwatch.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../libthecore/lib/libthecore.a(buffer.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../libthecore/lib/libthecore.a(signal.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../libthecore/lib/libthecore.a(log.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../libthecore/lib/libthecore.a(utils.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../libthecore/lib/libthecore.a(hangul.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../libthecore/lib/libthecore.a(main.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../libthecore/lib/libthecore.a(memcpy.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../libpoly/libpoly.a(Poly.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../liblua/lib/liblua.a(lapi.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../liblua/lib/liblua.a(ldo.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../liblua/lib/liblua.a(lstate.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../liblua/lib/liblualib.a(lauxlib.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../liblua/lib/liblualib.a(lbaselib.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../liblua/lib/liblualib.a(ldblib.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../liblua/lib/liblualib.a(liolib.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../liblua/lib/liblualib.a(lmathlib.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../liblua/lib/liblualib.a(ltablib.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: ../../liblua/lib/liblualib.a(lstrlib.o) is incompatible with elf_i386_fbsd
    /usr/bin/ld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors)
    clang-10: error: linker command failed with exit code 1 (use -v to see invocation)
    gmake[1]: *** [Makefile:133: ../game_r43813_64] Error 1
    gmake[1]: Leaving directory '/usr/src/Srcs/Server/game/src'
    gmake: *** [Makefile:93: all] Error 2

     

    Hello.

    I have this error when compiling the game/src. The db/src compiles and builds without issue.

    How do I fix library compatibility in this version of FreeBSD.

    I use this version of FreeBSD: 12.0-RELEASE FreeBSD 12.0-RELEASE r341666 GENERIC  amd64

    Use 32bit FreeBSD or make a 32bit jail in your 64bit FreeBSD and compile there.

    Or move your src to the x64 platform if you have the needed skills.

  9. 3 hours ago, p0NDENUSH said:

    Cant be bad bcs they work -drop edits/proto bonuses (after i reset tables) and they are “saved”  but like i said i dont want to reset them almost everytime 

    i want to made custom bonuses of effect items like lolly and “itemshop rings” i know how to change description of items but like i said its all good when i change in item proto but in future if somehow i made a bad edit in smth else and i need to reset navicat tables i lose the progres of what i say and edit in proto..

    Protos are in txts in 40k and will be mirrored in each start to the database.
    (metin2/server/share/conf/item_proto.txt)

  10. 53 minutes ago, p0NDENUSH said:

    @ TMP4whenever i modify something i need to reset tables in navicat (account,common,player) bcs it gives me connection refused in putty, its ok but when i try to modify some items bonus or anything in item/mob proto working until THE NEXT CHANGE when i need to reset again the tables (bcs of connection refused in putty) and i lost all the progress/edits in protos. 

    there is a fix or smth?

     

    Maybe your modifications are bad?

    Show examples.

  11. 11 hours ago, SmyleMDFK said:

    TMP4 You know that server have problem with peer map's  , if you make one account at red and one at blue and take the command /u , you dont see that account.

    /u only works in the same core. Red and Blue maps are in different core in this serverfile for load balancing.
    /w works in the same channel if you want to know the player count in that ch, but that's not showing the names.

    It is how these command worked since the first Rain serverfiles. Not gonna modify it. If you wanna improve it, you can, open source.

    Peer to peer communication working fine, whisper, shout, adding as friend etc works fine with different cores and channels too.

     

    • Good 1
  12. 3 hours ago, chr1sey said:

    @ TMP4i solved the problem with the 4th inventory. However, I modified give_basic_weapon from folder server/quest,but it still gives me the suitcase and It doesn't work. What "give_basic_weapon" have I to modify specificly?

    In 2012 Ymir & Gameforge introduced the Apprentice Chests and they put those in give_basic_weapon_new.quest.
    You can find the quests in use in the locale_list file.

  13. 3 hours ago, Zhyte said:

    HU:

    Szia!
    volna egy kis problémám a 4 leltárral a hiba pedig az lenne, hogy elvileg „tökéletesen működik” csak valamiért nem talál meg egy használatban 
    lévő tárgyakat mit lehet ilyenkor csinálni?

     

    EN:

    Hi! there would be a little problem with the 4 inventory and the mistake would be that in principle it “works perfectly” just for some reason you can’t find it in one use what can be done in such cases?

    Kép a hibáról:

    https://metin2.download/picture/8tdJNnQ7M6dqh9ySX4q3hSTMxxzv1wU9/.png

     

     

    Your serverside have 2 inventory. Maybe you forgot to recompile the game file?

    • dbclean
    • dbcompile
    • gameclean
    • gamecompile
  14. WeedHex is right, for example map 105 is present on core1 and core2 too, and map 301 present on game1 and game99. And I only said that at first glance, if you don't mind I won't check each map one by one. A map must only declared once.

    7 hours ago, Baltazar said:

    Write me private message, the problem is probably in Game to Game packets.

    Why tho? Why the forum can't have your answer public? Never understood why peopel ask people to go private on a forum, unless you want to ask him money for the fix. (And this time it's not even p2p packets issue since his map_allow setup is clearly wrong.)

    • Good 1
    • Love 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.