Page 1 of 3 123 LastLast
Results 1 to 15 of 40

Thread: Working Oven a17 Stable

  1. #1
    Community Moderator SylenThunder's Avatar
    Join Date
    Oct 2014
    Location
    SE Michigan, out in the sticks.
    Posts
    8,050
    Rep Power
    1

    Working Oven a17 Stable

    This is a working oven for players to craft. It's an added block, and does not replace any POI ovens.

    Updated: Change in b233 to blocks changed fridge ID.

    Working Oven and Sinks.zip
    Last edited by SylenThunder; 12-23-2018 at 09:26 PM.

  2. #2
    Survivor
    Join Date
    Feb 2015
    Posts
    71
    Rep Power
    1
    how bout a food spoilage mod?! /nudge nudge =)

  3. #3
    Hunter
    Join Date
    Jul 2015
    Posts
    138
    Rep Power
    0
    Untested but this should get you going.

    Code:
    <property class="Workstation">
            <property name="Modules" value="tools,output,fuel,input"/>
            <property name="Collide" value="melee,bullet,arrow,rocket"/>
            <property name="CraftingAreaRecipes" value="PlayerOven,campfire"/>    <!-- ADD THIS LINE -->
        </property>
    Last edited by DukeW74; 11-30-2018 at 03:30 AM.

  4. #4
    Community Moderator SylenThunder's Avatar
    Join Date
    Oct 2014
    Location
    SE Michigan, out in the sticks.
    Posts
    8,050
    Rep Power
    1
    Quote Originally Posted by DukeW74 View Post
    Untested but this should get you going.

    Code:
    <property class="Workstation">
            <property name="Modules" value="tools,output,fuel,input"/>
            <property name="Collide" value="melee,bullet,arrow,rocket"/>
            <property name="CraftingAreaRecipes" value="PlayerOven,campfire"/>    <!-- ADD THIS LINE -->
        </property>
    Yep, that was it. I knew it had to be something simple I was overlooking, but after a long day at work I just couldn't think anymore. :P

    Download updated in OP.

  5. #5
    Refugee
    Join Date
    Apr 2016
    Posts
    22
    Rep Power
    0
    Quote Originally Posted by SylenThunder View Post
    Yep, that was it. I knew it had to be something simple I was overlooking, but after a long day at work I just couldn't think anymore. :P

    Download updated in OP.
    great now I just need the sink

  6. #6
    Ranger FastBurst's Avatar
    Join Date
    Sep 2018
    Location
    Corpus Christi, TX USA
    Posts
    295
    Rep Power
    0
    Quote Originally Posted by Engendro View Post
    great now I just need the sink
    Working Sinks, Faucets and Fridge for water, Can add more, but I did these on mine and tested with the Fridge for example and Sinks, right click with an empty bottle fills with Murky Water, It can be done to Empty Cans I just didn't code that part yet

    Just add this to your items.xml modlet
    Code:
    <!-- Water from sinks, fridge, faucets -->
    	<append xpath="/items/item[@name='drinkJarEmpty']/property[@class='Action1']">
    		<property name="Focused_blockname_6" value="cntCabinetOldSink" />
    		<property name="Focused_blockname_7" value="cntGraniteSink" />
    		<property name="Focused_blockname_8" value="utilitySink" />
    		<property name="Focused_blockname_9" value="wallHungSink" />
    		<property name="Focused_blockname_10" value="cntFridgeTop" />
    		<property name="Focused_blockname_11" value="faucet02" />
    		<property name="Focused_blockname_12" value="faucet04" />
    	</append>

  7. #7
    Ranger FastBurst's Avatar
    Join Date
    Sep 2018
    Location
    Corpus Christi, TX USA
    Posts
    295
    Rep Power
    0
    Here is the Empty Can one as well

    Code:
    <append xpath="/items/item[@name='drinkCanEmpty']/property[@class='Action1']">
    		<property name="Focused_blockname_6" value="cntCabinetOldSink" />
    		<property name="Focused_blockname_7" value="cntGraniteSink" />
    		<property name="Focused_blockname_8" value="utilitySink" />
    		<property name="Focused_blockname_9" value="wallHungSink" />
    		<property name="Focused_blockname_10" value="cntFridgeTop" />
    		<property name="Focused_blockname_11" value="faucet02" />
    		<property name="Focused_blockname_12" value="faucet04" />
    	</append>

  8. #8
    Refugee
    Join Date
    Apr 2016
    Posts
    22
    Rep Power
    0
    Quote Originally Posted by FastBurst View Post
    Working Sinks, Faucets and Fridge for water, Can add more, but I did these on mine and tested with the Fridge for example and Sinks, right click with an empty bottle fills with Murky Water, It can be done to Empty Cans I just didn't code that part yet

    Just add this to your items.xml modlet
    Code:
    <!-- Water from sinks, fridge, faucets -->
    	<append xpath="/items/item[@name='drinkJarEmpty']/property[@class='Action1']">
    		<property name="Focused_blockname_6" value="cntCabinetOldSink" />
    		<property name="Focused_blockname_7" value="cntGraniteSink" />
    		<property name="Focused_blockname_8" value="utilitySink" />
    		<property name="Focused_blockname_9" value="wallHungSink" />
    		<property name="Focused_blockname_10" value="cntFridgeTop" />
    		<property name="Focused_blockname_11" value="faucet02" />
    		<property name="Focused_blockname_12" value="faucet04" />
    	</append>
    Quote Originally Posted by FastBurst View Post
    Here is the Empty Can one as well

    Code:
    <append xpath="/items/item[@name='drinkCanEmpty']/property[@class='Action1']">
    		<property name="Focused_blockname_6" value="cntCabinetOldSink" />
    		<property name="Focused_blockname_7" value="cntGraniteSink" />
    		<property name="Focused_blockname_8" value="utilitySink" />
    		<property name="Focused_blockname_9" value="wallHungSink" />
    		<property name="Focused_blockname_10" value="cntFridgeTop" />
    		<property name="Focused_blockname_11" value="faucet02" />
    		<property name="Focused_blockname_12" value="faucet04" />
    	</append>
    Great job, I love you

  9. #9
    Community Moderator SylenThunder's Avatar
    Join Date
    Oct 2014
    Location
    SE Michigan, out in the sticks.
    Posts
    8,050
    Rep Power
    1
    Updated modlet to include the sinks.

  10. #10
    Refugee
    Join Date
    Apr 2016
    Posts
    22
    Rep Power
    0
    Quote Originally Posted by SylenThunder View Post
    Updated modlet to include the sinks.
    console error!

    Code:
    2018-11-30T16:00:21 108.977 ERR Failed loading and parsing XML (recipes.xml):
    2018-11-30T16:00:21 108.977 EXC a name did not start with a legal character 45 (-)  Line 10, position 5.
    XmlException: a name did not start with a legal character 45 (-)  Line 10, position 5.
      at Mono.Xml2.XmlTextReader.ReadName (System.String& prefix, System.String& localName) [0x00000] in <filename unknown>:0 
      at Mono.Xml2.XmlTextReader.ReadStartTag () [0x00000] in <filename unknown>:0 
      at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] in <filename unknown>:0 
      at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0 
      at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0 
      at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
      at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
      at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
      at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
      at System.Xml.XmlDocument.ReadNode (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
      at System.Xml.XmlDocument.Load (System.Xml.XmlReader xmlReader) [0x00000] in <filename unknown>:0 
      at System.Xml.XmlDocument.LoadXml (System.String xml) [0x00000] in <filename unknown>:0 
      at XmlFile.toXml (System.String _data, System.String _filename) [0x00000] in <filename unknown>:0 
    UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    UnityEngine.Logger:LogException(Exception, Object)
    UnityEngine.Debug:LogException(Exception)
    Logger:masterLogException(Exception)
    Logger:Exception(Exception)
    Log:Exception(Exception)
    XmlFile:toXml(String, String)
    XmlFile:.ctor(String, String, String)
    XmlPatcher:LoadAndPatchConfig(String)
    <loadSingleXml>c__Iterator1:MoveNext()
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
     
    (Filename:  Line: -1)
    
    2018-11-30T16:00:21 108.978 ERR XML loader: Patching 'recipes.xml' from mod 'Working Ovens' failed
    2018-11-30T16:00:21 108.978 EXC Object reference not set to an instance of an object
    NullReferenceException: Object reference not set to an instance of an object
      at XmlPatcher.PatchXml (.XmlFile _xmlFile, .XmlFile _patchXml, System.String _patchName) [0x00000] in <filename unknown>:0 
      at XmlPatcher.LoadAndPatchConfig (System.String _configName) [0x00000] in <filename unknown>:0 
    UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    UnityEngine.Logger:LogException(Exception, Object)
    UnityEngine.Debug:LogException(Exception)
    Logger:masterLogException(Exception)
    Logger:Exception(Exception)
    Log:Exception(Exception)
    XmlPatcher:LoadAndPatchConfig(String)
    <loadSingleXml>c__Iterator1:MoveNext()
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
     
    (Filename:  Line: -1)

  11. #11
    Community Moderator SylenThunder's Avatar
    Join Date
    Oct 2014
    Location
    SE Michigan, out in the sticks.
    Posts
    8,050
    Rep Power
    1
    Quote Originally Posted by Engendro View Post
    console error!

    Code:
    2018-11-30T16:00:21 108.977 ERR Failed loading and parsing XML (recipes.xml):
    2018-11-30T16:00:21 108.977 EXC a name did not start with a legal character 45 (-)  Line 10, position 5.
    XmlException: a name did not start with a legal character 45 (-)  Line 10, position 5.
      at Mono.Xml2.XmlTextReader.ReadName (System.String& prefix, System.String& localName) [0x00000] in <filename unknown>:0 
      at Mono.Xml2.XmlTextReader.ReadStartTag () [0x00000] in <filename unknown>:0 
      at Mono.Xml2.XmlTextReader.ReadContent () [0x00000] in <filename unknown>:0 
      at Mono.Xml2.XmlTextReader.Read () [0x00000] in <filename unknown>:0 
      at System.Xml.XmlTextReader.Read () [0x00000] in <filename unknown>:0 
      at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
      at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
      at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
      at System.Xml.XmlDocument.ReadNodeCore (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
      at System.Xml.XmlDocument.ReadNode (System.Xml.XmlReader reader) [0x00000] in <filename unknown>:0 
      at System.Xml.XmlDocument.Load (System.Xml.XmlReader xmlReader) [0x00000] in <filename unknown>:0 
      at System.Xml.XmlDocument.LoadXml (System.String xml) [0x00000] in <filename unknown>:0 
      at XmlFile.toXml (System.String _data, System.String _filename) [0x00000] in <filename unknown>:0 
    UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    UnityEngine.Logger:LogException(Exception, Object)
    UnityEngine.Debug:LogException(Exception)
    Logger:masterLogException(Exception)
    Logger:Exception(Exception)
    Log:Exception(Exception)
    XmlFile:toXml(String, String)
    XmlFile:.ctor(String, String, String)
    XmlPatcher:LoadAndPatchConfig(String)
    <loadSingleXml>c__Iterator1:MoveNext()
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
     
    (Filename:  Line: -1)
    
    2018-11-30T16:00:21 108.978 ERR XML loader: Patching 'recipes.xml' from mod 'Working Ovens' failed
    2018-11-30T16:00:21 108.978 EXC Object reference not set to an instance of an object
    NullReferenceException: Object reference not set to an instance of an object
      at XmlPatcher.PatchXml (.XmlFile _xmlFile, .XmlFile _patchXml, System.String _patchName) [0x00000] in <filename unknown>:0 
      at XmlPatcher.LoadAndPatchConfig (System.String _configName) [0x00000] in <filename unknown>:0 
    UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
    UnityEngine.DebugLogHandler:LogException(Exception, Object)
    UnityEngine.Logger:LogException(Exception, Object)
    UnityEngine.Debug:LogException(Exception)
    Logger:masterLogException(Exception)
    Logger:Exception(Exception)
    Log:Exception(Exception)
    XmlPatcher:LoadAndPatchConfig(String)
    <loadSingleXml>c__Iterator1:MoveNext()
    UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
     
    (Filename:  Line: -1)
    Would just figure I pulled the wrong build when I did this at lunch.

    Uploaded new file. It was missing the ! to comment out that line. I just removed it. (Had 6 items in craft, but only 5 show in the default client.)

  12. #12
    Refugee
    Join Date
    Nov 2018
    Posts
    11
    Rep Power
    0
    How do you install this mod?

  13. #13
    Tracker Baobab's Avatar
    Join Date
    Sep 2017
    Location
    Germany
    Posts
    175
    Rep Power
    0
    Full List if you want implement it !!


    Code:
    <configs>
    
            <append xpath="/items/item[@name='drinkCanEmpty']/property[@class='Action1']">
            <property name="Focused_blockname_6" value="cntGraniteSink"/>
            <property name="Focused_blockname_7" value="faucet02"/>
            <property name="Focused_blockname_8" value="faucet04"/>
            <property name="Focused_blockname_9" value="faucetBrass02"/>
            <property name="Focused_blockname_10" value="faucetBrass04"/>
            <property name="Focused_blockname_11" value="cntToilet01"/>
            <property name="Focused_blockname_12" value="fountain"/>
            <property name="Focused_blockname_13" value="cntCabinetOldSink"/>
            <property name="Focused_blockname_14" value="utilitySink" />
            <property name="Focused_blockname_15" value="wallHungSink" />
            <property name="Focused_blockname_16" value="cntFridgeTop" />
        </append>
        
        <append xpath="/items/item[@name='drinkJarEmpty']/property[@class='Action1']">
            <property name="Focused_blockname_6" value="cntGraniteSink"/>
            <property name="Focused_blockname_7" value="faucet02"/>
            <property name="Focused_blockname_8" value="faucet04"/>
            <property name="Focused_blockname_9" value="faucetBrass02"/>
            <property name="Focused_blockname_10" value="faucetBrass04"/>
            <property name="Focused_blockname_11" value="cntToilet01"/>
            <property name="Focused_blockname_12" value="fountain"/>
            <property name="Focused_blockname_13" value="cntCabinetOldSink"/>
            <property name="Focused_blockname_14" value="utilitySink" />
            <property name="Focused_blockname_15" value="wallHungSink" />
            <property name="Focused_blockname_16" value="cntFridgeTop" />
        </append>
        
        <append xpath="/items/item[@name='bucketEmpty']/property[@class='Action1']">
            <property name="Focused_blockname_6" value="cntGraniteSink"/>
        <!--    <property name="Focused_blockname_7" value="faucet02"/>
            <property name="Focused_blockname_8" value="faucet04"/>
            <property name="Focused_blockname_9" value="faucetBrass02"/>
            <property name="Focused_blockname_10" value="faucetBrass04"/> -->
            <property name="Focused_blockname_11" value="cntToilet01"/>
            <property name="Focused_blockname_12" value="fountain"/>
            <property name="Focused_blockname_13" value="cntCabinetOldSink"/>
            <property name="Focused_blockname_14" value="utilitySink" />
            <property name="Focused_blockname_15" value="wallHungSink" />
      <!-- <property name="Focused_blockname_16" value="cntFridgeTop" /> -->
        </append>
    
    
    </configs>

  14. #14
    Refugee
    Join Date
    Nov 2018
    Posts
    11
    Rep Power
    0
    How do you install this?

  15. #15
    Hood Ornament Gamida's Avatar
    Join Date
    May 2015
    Location
    The Rock
    Posts
    4,024
    Rep Power
    1
    Quote Originally Posted by Cashean View Post
    How do you install this?
    What I did was make a folder called Working Oven and Sinks. Then I unzipped the files into that folder. I then put that folder in a Mods Folder I had made in my 7 Days To Die root directory.

    So in your game folder where the 7DayToDie.exe file is you should have a Mods folder. In the Mods folder there should be a folder called Working Oven and Sinks. In the Working Oven and Sinks folder there should be a folder called Config and a file called ModInfo. In folder called Config there should be a folder called XUi and 3 files called blocks, items and recipes. In XUi folder there should be a file called xui.




    That being said, SyleThunder, I have run into one little problem. When I open a campfire or an oven I get double items in them. Not sure if yours and another mod has conflicts or not. If I remove your mod then the player oven disappears (as it should I suppose) and the campfire has the correct number of items. Could it be a problem with the xui file?
    Last edited by Gamida; 12-16-2018 at 04:56 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •