alesan124 0 Posted November 23, 2014 Share Posted November 23, 2014 (edited) Hi. I wanted to improve my lua skills, so I thought I could create a useful software, something that I would use, and I'm here to post it if someone wants it too. A friend asked me if I could add a sql option, so I added it. Since it's not a "thing from another world", just run the *.bat file with your item_proto_dump.xml on the same folder. Then wait until the process is finished, and go to output folder and take what you wanted. Download: MEGA. Source: Pastebin. Changelog: 07.07.14 - 21:01 - Source posted. 25.06.14 - 17:33 - Bugfixes (such as big values when they are supposed to be negative); - v1.4. 25.06.14 - 12:29 - Can convert item_proto.xml from Tim's Archiver as well as the one created with Nexus (by Mr. Lucifer); - Convert it to *.sql or to *.txt depending on what you want; - v1.3 (v1.2 had only the first update). 24.06.14 - 15:31 - Bugfixes; - v1.1. 24.06.14 - 02:05 - v1.0 Released (only in another board); Hope it's useful to anyone. I have this problem///Help me please.. My skype lk1nderl 1136 - Column count doesn't match value count at row 1 mysql> Edited August 18, 2022 by Metin2 Dev Core X - External 2 Internal Link to comment Share on other sites More sharing options...
giovy010102 32 Posted December 1, 2014 Share Posted December 1, 2014 When i try to convert in .txt that crash and doesen't work.. In SQL Format work propely. Link to comment Share on other sites More sharing options...
giovy010102 32 Posted December 1, 2014 Share Posted December 1, 2014 Sorry , forgot to add in .lua WOLF_CLAW ..ty Link to comment Share on other sites More sharing options...
Premium AndreiYildirim 5 Posted December 2, 2014 Premium Share Posted December 2, 2014 item_proto_dump.xml -> item_proto.txt is not working as it should. The script only generates item_names.txt, as for item_proto.txt, the script only outputs 2/3 lines from ~2.5k lines. Can you convert this proto for me?(xml -> txt) Thank you! My proto: https://mega.co.nz/#!zlwHRLTa!4PFDBpRQloDZ2qhcdkUBkvlzdGJVQYoba864nmXq6iw Link to comment Share on other sites More sharing options...
Akiel 3 Posted December 2, 2014 Share Posted December 2, 2014 .Does anyone else have this tool for mob_proto? ; p // Sorry for my bad english. Link to comment Share on other sites More sharing options...
Agility 20 Posted December 6, 2014 Share Posted December 6, 2014 item_proto_dump.xml -> item_proto.txt is not working as it should. The script only generates item_names.txt, as for item_proto.txt, the script only outputs 2/3 lines from ~2.5k lines. Can you convert this proto for me?(xml -> txt) Thank you! My proto: https://mega.co.nz/#!zlwHRLTa!4PFDBpRQloDZ2qhcdkUBkvlzdGJVQYoba864nmXq6iw item_proto.txt+item_names.txt: https://mega.co.nz/#!S9JW2BRK!ezsV_1Gonw1dw8Y7wjFOC9Z5uYu2yGSuTg3mWOzu9-Y P.s: In order to get it work you should modify the source that he released, there's a bunch of stuff that needs to be updated. Link to comment Share on other sites More sharing options...
ZiuZitsu 5 Posted December 6, 2014 Share Posted December 6, 2014 It converts and greek item_proto? Link to comment Share on other sites More sharing options...
ZiuZitsu 5 Posted December 8, 2014 Share Posted December 8, 2014 It doesn't converts item_proto greek Link to comment Share on other sites More sharing options...
Agility 20 Posted December 10, 2014 Share Posted December 10, 2014 item_proto_dump.xml -> item_proto.txt is not working as it should. The script only generates item_names.txt, as for item_proto.txt, the script only outputs 2/3 lines from ~2.5k lines. Can you convert this proto for me?(xml -> txt) Thank you! My proto: https://mega.co.nz/#!zlwHRLTa!4PFDBpRQloDZ2qhcdkUBkvlzdGJVQYoba864nmXq6iw I made a mistake on the previous link that I gave to you, I uploaded another version of the item_proto, here's the one that you posted: https://mega.co.nz/#!KhhygB7A!ryZY3gmtLoQlp4IHLCTqPTPBnpihv2fKbmonZ_koxks Link to comment Share on other sites More sharing options...
giovy010102 32 Posted December 11, 2014 Share Posted December 11, 2014 sorry how i can add WEAPON_CLAW subtype? Link to comment Share on other sites More sharing options...
Akiel 3 Posted December 12, 2014 Share Posted December 12, 2014 sorry how i can add WEAPON_CLAW subtype? ["subtype"] = { [1] = {"WEAPON_SWORD", "WEAPON_DAGGER", "WEAPON_BOW", "WEAPON_TWO_HANDED", "WEAPON_BELL", "WEAPON_FAN", "WEAPON_ARROW", "WEAPON_MOUNT_SPEAR", "WEAPON_CLAW"}, [...] Link to comment Share on other sites More sharing options...
giovy010102 32 Posted December 12, 2014 Share Posted December 12, 2014 i have added but they don't convert in txt Attempt to convert 6355 lines. This may take a few seconds. Please wait... lua52: ?:0: attempt to concatenate field '?' (a nil value) stack traceback: ?: in function 'getf' ?: in main chunk [C]: in ? Link to comment Share on other sites More sharing options...
giovy010102 32 Posted December 12, 2014 Share Posted December 12, 2014 up Link to comment Share on other sites More sharing options...
Developer PACI 922 Posted December 13, 2014 Author Developer Share Posted December 13, 2014 I made some updates to the tool, check the first post for further information. 1 when you return 0 and server doesn't boot: Link to comment Share on other sites More sharing options...
giovy010102 32 Posted December 13, 2014 Share Posted December 13, 2014 you're my hero Link to comment Share on other sites More sharing options...
giovy010102 32 Posted December 13, 2014 Share Posted December 13, 2014 @paci BUG : i do not know if it's an oversight or not, but when you convert anything that has negative value, you bug proto item. For example an armor has -2% speed that -2% The transformed into 4294967291 . And then you have to fix manually. Other bug I found none 1 Link to comment Share on other sites More sharing options...
Developer PACI 922 Posted December 13, 2014 Author Developer Share Posted December 13, 2014 Okay, that's now fixed again, I guess. Thank you. New download at the first post. 2 when you return 0 and server doesn't boot: Link to comment Share on other sites More sharing options...
.Meyvis# 44 Posted December 13, 2014 Share Posted December 13, 2014 €: Works fine now.. Link to comment Share on other sites More sharing options...
Agility 20 Posted December 14, 2014 Share Posted December 14, 2014 Okay, that's now fixed again, I guess. Thank you. New download at the first post. I gave an eye to the itemdata.lua. and I think there's an error on the position that you set for the new applytypes: The applytype 94 is APPLY_ATTBONUS_WOLFMAN =strong against Lycans. The stone against Lycans+4 has applytype0="94" and applyvalue0="25", so, it is Strong against Lycans +25% and not claw defense +25% ( http://wiki.metin2.co.uk/index.php/Stone_against_Lycans). 1 Link to comment Share on other sites More sharing options...
Developer PACI 922 Posted December 14, 2014 Author Developer Share Posted December 14, 2014 Yeah, good point. I forgot to take a look to those stones. I've just seen a shield with applytype 95, which is APPLY_RESIST_WOLFMAN, and I didn't think about the spirit stones. Okay, new download at the first post. Thanks Agility. 1 when you return 0 and server doesn't boot: Link to comment Share on other sites More sharing options...
Former Staff Shisui 491 Posted December 24, 2014 Former Staff Share Posted December 24, 2014 where to put in server? Link to comment Share on other sites More sharing options...
Aurora 46 Posted December 25, 2014 Share Posted December 25, 2014 where to put in server? When you convert you put then in (usr/home/game/????/db) Some files have orther folders so you need to search for the db folder there you replace the item_names.txt and item_proto.txt with the ones you made. 1 Link to comment Share on other sites More sharing options...
galag123 1 Posted December 25, 2014 Share Posted December 25, 2014 Thanks ! Link to comment Share on other sites More sharing options...
Former Staff Shisui 491 Posted December 29, 2014 Former Staff Share Posted December 29, 2014 where to put in server? When you convert you put then in (usr/home/game/????/db) Some files have orther folders so you need to search for the db folder there you replace the item_names.txt and item_proto.txt with the ones you made. Thank you. Link to comment Share on other sites More sharing options...
Giovanni Emanuele Cannavo 3 Posted December 29, 2014 Share Posted December 29, 2014 you have for mob ? Link to comment Share on other sites More sharing options...
Recommended Posts