[HELP]Editing in-game shops - XML/TXT

Results 1 to 9 of 9
  1. #1
    Apprentice Alex Ciubotariu is offline
    MemberRank
    Aug 2014 Join Date
    10Posts

    [HELP]Editing in-game shops - XML/TXT

    Hello,

    I am using MuEMU S12 files and i want to edit most (probably all) of the in-game shops.

    I found a small tool that can do that but it requires a .txt file. It also exports the work to a .txt.

    The problem is that the server files are using .xml for most of the things and it would be a complete pain to edit them one by one and it would take too long.

    Does anyone know of a XML>TXT>XML converter that can work?

    Here's a look at how the layout of the XML file is made:

    Spoiler:
    <Shop> <Item Cat="0" Index="13" Level="3" Durability="0" Skill="1" Luck="1" Option="1" Exc="0" SetItem="0" SocketCount="0" Elemental="0" Serial="0" /> <!-- Double Blade --> <Item Cat="3" Index="13" Level="3" Durability="0" Skill="1" Luck="1" Option="1" Exc="0" SetItem="0" SocketCount="0" Elemental="0" Serial="0" /> <!-- Lapid Lance --> <Item Cat="4" Index="4" Level="3" Durability="0" Skill="1" Luck="1" Option="1" Exc="0" SetItem="0" SocketCount="0" Elemental="0" Serial="0" /> <!-- Tiger Bow --> <Item Cat="2" Index="8" Level="3" Durability="0" Skill="1" Luck="1" Option="1" Exc="0" SetItem="0" SocketCount="0" Elemental="0" Serial="0" /> <!-- Battle Scepter --> <Item Cat="5" Index="6" Level="3" Durability="0" Skill="1" Luck="1" Option="1" Exc="0" SetItem="0" SocketCount="0" Elemental="0" Serial="0" /> <!-- Staff of Resurection --> <Item Cat="0" Index="32" Level="3" Durability="0" Skill="1" Luck="1" Option="1" Exc="0" SetItem="0" SocketCount="0" Elemental="0" Serial="0" /> <!-- Sacred Glove --> <Item Cat="5" Index="17" Level="3" Durability="0" Skill="1" Luck="1" Option="1" Exc="0" SetItem="0" SocketCount="0" Elemental="0" Serial="0" /> <!-- Ancient Stick --> <Item Cat="5" Index="21" Level="3" Durability="0" Skill="1" Luck="1" Option="1" Exc="0" SetItem="0" SocketCount="0" Elemental="0" Serial="0" /> <!-- Book of Shamut --> <Item Cat="14" Index="3" Level="0" Durability="255" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="0" Serial="0" /> <!-- HP pot --> <Item Cat="14" Index="6" Level="0" Durability="255" Skill="0" Luck="0" Option="0" Exc="-1" SetItem="0" SocketCount="0" Elemental="0" Serial="0" /> <!-- MP pot --></Shop>


    And here is how the output from the editor looks like:

    Spoiler:
    ///////////////////////////////////////////////////////////////////////////////Shop Editor /////////////////////////////Shop: beta///////////////////////////////////////////////////////////////////////////////Group Index Level Dur Skill Luck Opt ExeOpt Info///////////////////////////////////////////////////////////////////////////////0 13 3 0 1 1 1 32 //Double Blade5 6 3 0 1 1 1 32 //Staff of Resurrectionend


    There are some discrepancies between the input and the output considering the Editor was not made for the files that i am using - Hopefully you might be able to provide me with another editor that would work.
    If that's not possible, i would need a way to transform the xml into txt and then to xml again, while being able to retain the same formats.

    Thank you!
    Last edited by allexander; 24-07-18 at 09:25 AM. Reason: linking to other MMORPG is not allowed/Refrain from moving / bringing topics off the board.


  2. #2
    Gamma DragonSeth is offline
    MemberRank
    Aug 2011 Join Date
    2,996Posts

    Re: [HELP]Editing in-game shops - XML/TXT

    Since MUEMU S12 is just IGCN s9 files with glow lancer and etc... added to them. You can just use the shop editor made for IGCN files. Just simply take the ItemList from your server files and replace it with the one in the shop editor data folder and enjoy :D

    Download Link: https://www.sendspace.com/file/bt9ppf

  3. #3
    Apprentice Alex Ciubotariu is offline
    MemberRank
    Aug 2014 Join Date
    10Posts

    Re: [HELP]Editing in-game shops - XML/TXT

    You're AWESOME!
    There does seem to be a small issue regarding creating excellent items but that's not a big problem since i can manually adjust them later, if needed.

    Thank you very, very much!

    If you have more of these tools that can help me edit the server quicker, i would really appreciate it.
    I will still need to remap the drop system so that the mobs will drop either zen, exc items based on the monster lvl or some other items (again based on monster lvl). I haven't even taken a look at the files yet since i am busy with the shops for now.

  4. #4
    Gamma DragonSeth is offline
    MemberRank
    Aug 2011 Join Date
    2,996Posts

    Re: [HELP]Editing in-game shops - XML/TXT

    Here you go brother these are all the tools i have for s12 and some i grabbed from my s9 files that should work with them: https://www.sendspace.com/file/nn70pv

  5. #5
    Apprentice Alex Ciubotariu is offline
    MemberRank
    Aug 2014 Join Date
    10Posts

    Re: [HELP]Editing in-game shops - XML/TXT

    THANK YOU VERY MUCH! I owe you a beer and a bbq.

  6. #6
    Apprentice Gacon is offline
    MemberRank
    Jul 2018 Join Date
    12Posts

    Re: [HELP]Editing in-game shops - XML/TXT

    i use shop editor to make FO items but with exc="63" in code nothing change in game :(
    https://imgur.com/a/Qx041Gx

  7. #7
    Apprentice Alex Ciubotariu is offline
    MemberRank
    Aug 2014 Join Date
    10Posts

    Re: [HELP]Editing in-game shops - XML/TXT

    -1: No exc option// X;X;X;X;X;X;X;X;X: Defined excellent options, the 'X' is excellent option ID based on IGC_ExcellentOptions.xml, maximum 9 options can be defined


    <Option ID="0" Number="0" Operator="2" Value="10" FormulaID="-1" ItemKindA_1="1" ItemKindA_2="2" ItemKindA_3="14" Rate="5000" Name="Increase Excellent Damage Chance by %d%%" />

    <Option ID="1" Number="1" Operator="3" Value="1" FormulaID="-1" ItemKindA_1="1" ItemKindA_2="2" ItemKindA_3="-1" Rate="5000" Name="%s increases by %d every 20Lv" />

    <Option ID="2" Number="2" Operator="2" Value="2" FormulaID="-1" ItemKindA_1="1" ItemKindA_2="2" ItemKindA_3="-1" Rate="5000" Name="%s increases by %d%%" />

    <Option ID="3" Number="3" Operator="1" Value="7" FormulaID="-1" ItemKindA_1="1" ItemKindA_2="2" ItemKindA_3="14" Rate="5000" Name="Increase %d Attack (Wizardry) speed" />

    <Option ID="4" Number="4" Operator="4" Value="8" FormulaID="-1" ItemKindA_1="1" ItemKindA_2="2" ItemKindA_3="14" Rate="5000" Name="Obtains (Life/%d) when monster is killed" />

    <Option ID="5" Number="5" Operator="5" Value="8" FormulaID="-1" ItemKindA_1="1" ItemKindA_2="2" ItemKindA_3="14" Rate="5000" Name="Obtains (Mana/%d) when monster is killed" />

    <Option ID="6" Number="6" Operator="100" Value="0" FormulaID="0" ItemKindA_1="14" ItemKindA_2="-1" ItemKindA_3="-1" Rate="5000" Name="%s increases by %.1f every 20Lv" />

    <Option ID="7" Number="7" Operator="100" Value="1" FormulaID="1" ItemKindA_1="14" ItemKindA_2="-1" ItemKindA_3="-1" Rate="5000" Name="Increased by %s %d" />

    <Option ID="8" Number="0" Operator="2" Value="4" FormulaID="-1" ItemKindA_1="3" ItemKindA_2="4" ItemKindA_3="-1" Rate="5000" Name="Increase Maximum Life by %d%%" />

    <Option ID="9" Number="1" Operator="2" Value="4" FormulaID="-1" ItemKindA_1="3" ItemKindA_2="4" ItemKindA_3="-1" Rate="5000" Name="Increase Maximum Mana by %d%%" />

    <Option ID="10" Number="2" Operator="2" Value="4" FormulaID="-1" ItemKindA_1="3" ItemKindA_2="4" ItemKindA_3="-1" Rate="5000" Name="Decreases Damage by %d%%" />

    <Option ID="11" Number="3" Operator="2" Value="5" FormulaID="-1" ItemKindA_1="3" ItemKindA_2="4" ItemKindA_3="15" Rate="5000" Name="Reflect Damage increase by %d%%" />

    <Option ID="12" Number="4" Operator="2" Value="10" FormulaID="-1" ItemKindA_1="3" ItemKindA_2="4" ItemKindA_3="15" Rate="5000" Name="Increases Defense Success Rate by %d%%" />

    <Option ID="13" Number="5" Operator="1" Value="30" FormulaID="-1" ItemKindA_1="3" ItemKindA_2="4" ItemKindA_3="-1" Rate="5000" Name="Increases the amount of Zen acquired for hunting monsters by %d%%" />

    <Option ID="14" Number="6" Operator="100" Value="2" FormulaID="2" ItemKindA_1="15" ItemKindA_2="-1" ItemKindA_3="-1" Rate="5000" Name="Increase Maximum Life by %d" />

    <Option ID="15" Number="7" Operator="100" Value="3" FormulaID="3" ItemKindA_1="15" ItemKindA_2="-1" ItemKindA_3="-1" Rate="5000" Name="Increase Maximum Mana by %d" /> <

    Option ID="16" Number="8" Operator="100" Value="4" FormulaID="4" ItemKindA_1="15" ItemKindA_2="-1" ItemKindA_3="-1" Rate="5000" Name="Decreases Damage by %d" />

    <Option ID="17" Number="9" Operator="100" Value="5" FormulaID="5" ItemKindA_1="15" ItemKindA_2="-1" ItemKindA_3="-1" Rate="5000" Name="Increases the amount of Zen acquired for hunting monsters by %d%%" />

    In your case it should look like:

    <Item Cat="6" Index="0" Level="0" Durability="0" Skill="1" Luck="1" Option="1" Exc="0;1;2;3;4;5;6;7;8" SetItem="0" SocketCount="0" Elemental="0" Serial="0" />

    That should work... try it and let me know.

    Also remember that a maximum of 9 excellent options can be used.

  8. #8
    Apprentice Gacon is offline
    MemberRank
    Jul 2018 Join Date
    12Posts

    Re: [HELP]Editing in-game shops - XML/TXT

    You're awesome, thank you very much

  9. #9
    Apprentice Alex Ciubotariu is offline
    MemberRank
    Aug 2014 Join Date
    10Posts

    Re: [HELP]Editing in-game shops - XML/TXT

    I am assuming it worked :)

    You're welcome!



Advertisement