Jump to content
Sign in to follow this  
Israeli-Sniper

Validate Xml Files Trader

Recommended Posts

look for misspells stuff in your trader if you upload trader file with type files 

looking for Duplicates in your trader and type files 

will let you know if you have any problem with the structure of your type files and trader

go here to test your files be nice its free

2022-12-18_12-19-28.png2022-12-18_12-20-44.png2022-12-18_12-21-14.png

!st time testing your file i will ask you to test 1 type at the time 

 

 

NOTE : open your file Look in notepad++ to see your encoding  is UTF-8 at the bottom 

2023-01-07_9-42-51.png

if not on top you will have Encoding click it and then hit convert to UTF-8
2023-01-07_9-49-38.png

now its the same for the trader files 

anyproblem come to our discord

Edited by Israeli-Sniper
update info

Share this post


Link to post
Share on other sites

test type file for dup and flags for DAYZ
and test the traders file for price to see if you have low prive to sell price and lood to see its working and dup
and then i test the name you have in the type for the item to the trader to see you have the cap right or low case names of the items
here how its looking 

Problem with Sardines  Count: 2

Problem with ArmyParachute_black_digital  Count: 3

Problem with apokot_hare_pin_copper  Count: 2

Problem with DarkMotoHelmet_YellowScarred  Count: 2
WeaponCleaningKit has a lower buy price than sell price.
Misspellings:
Trader: Longhorn     Type: LongHorn     File: vanillatypes.xml
ERROR - min found before restock!  -  rag_viking_leather_vest, viking_pack.xml
 Error - Name:rag_viking_leather_pants SCAN TEXT: restock ACTUAL LINE:         v=<restock>14400</restock>
crafted = 1  AK_WoodHndgrd_Camo  vanillatypes.xml
count_in_map = 0  Bandage  vanillatypes.xml
count_in_map = 0  Bandage  vanillatypes.xml
count_in_map = 0  Bandage  vanillatypes.xml
usage without category Broom_Birch, vanillatypes.xml
usage without category Cauldron, vanillatypes.xml
usage without category Compass, vanillatypes.xml
usage without category CrookedNose, vanillatypes.xml
crafted = 1  SawedoffB95  vanillatypes.xml
crafted = 1  SawedoffMagnum  vanillatypes.xml
crafted = 1  AK101_Black  vanillatypes.xml
crafted = 1  AK101_Green  vanillatypes.xml
Error with TYPE name line - name: SingularityCannon
Error with TYPE name line - name: Singularity_Ammobox
Error with TYPE name line - name: Banov_XSight
Error with TYPE name line - name: Ammo_BNVSingularityCell

Share this post


Link to post
Share on other sites

i am working the cods as i see what erorr you get so now i see files that get tested with Unicode and i am working to fix the problem 

Share this post


Link to post
Share on other sites

please test your files not with lines like that     <type name="TF_OKP7Optic"><!-- OPTICS --> 

your allow like that 

<!-- OPTICS --> 
<type name="TF_OKP7Optic">

    that allow 2 
<!--     <type name="TF_OKP7Optic">
        <nominal>2</nominal>
        <lifetime>3888000</lifetime>
        <restock>2700</restock>
        <min>1</min>
        <quantmin>-1</quantmin>
        <quantmax>-1</quantmax>
        <cost>100</cost>
        <flags count_in_cargo="0" count_in_hoarder="0" count_in_map="1" count_in_player="0" crafted="0" deloot="0"/>
        <category name="weapons"/>
        <usage name="Military"/>
        <value name="Tier1"/>
        <value name="Tier2"/>
        <value name="Tier3"/>
    </type> --> 

Edited by Israeli-Sniper

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×