Jump to content
JustTubbs

Types.xml - Gardenplot

Recommended Posts

How come disabling type, GardenPlot does not do anything? You can still make plots as normal  

<!-- <type name="GardenPlot">
        <nominal>0</nominal>
        <lifetime>1</lifetime>
        <restock>0</restock>
        <min>0</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="1" deloot="0"/>
        <category name="tools"/>
    </type> -->

Share this post


Link to post
Share on other sites
6 hours ago, JustTubbs said:

How come disabling type, GardenPlot does not do anything? You can still make plots as normal  

<!-- <type name="GardenPlot">
        <nominal>0</nominal>
        <lifetime>1</lifetime>
        <restock>0</restock>
        <min>0</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="1" deloot="0"/>
        <category name="tools"/>
    </type> -->

The problem is not only in the types.xml, the trouble is the Server's database. Any GardenPlot that was created by the player would be saved inside the database in dynamic_xxx.bin, and no way to remove item from there. So tye way how you can remove it:

Don't comment item in types.xml - in that case would be assigned the default values to the item based on defaults of database and might use the unknown lifetime value; instead of this - you shall remove the comment section (save the item in types.xml) and set lifetime to 0; (I consider that you will done it while your server is down) and then remove the file types.bin from server's database folder (that will cause the server regenerate types table and sync it with current version of types.xml); after you'll done that item would be removed from database (simply you had been disabled the saving of that class) and from the game (at least items spawn system) when player leaves the area of that item (get away from it for about 2 or 3 km).

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

×