• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

True Survival

I've tested both vanilla and several other mods now and it appears that the loot timer bug (Press E, and quickly exit out to skip the timer) only occurs on this mod. I've poked around in the files to compare and can't seem to find what would be causing it.

 
Hi, first playing this mod. Thank you for all your work.

Question please: Tried a SP and started with an Engineer. I had all the recipes shown in the crafting list. When i tried a new game (Law Enforcer), now no recipe is shown. i can type stoneaxe and then it shows up for crafting. Do you know, what i can do, so the recipes are listed again, like my first try?

Thank you.

 
Last edited by a moderator:
Hey Spider, I am trying to merge your buffs (Z-virus/Bioinfection/wound system, sleeping bags/beds give warmth, and the stuffed buffs) in with Valmod but am having some setbacks. Are you using a custom .dll to allow the use of more advanced buffs? After adding them and fixing up any error I could find, I am now getting the error:

"ERR Loading and parsing 'buffs.xml' (Unrecognized xml element buff)"

http://pastebin.com/WpMqLkee

 
Last edited by a moderator:
Hey Spider, I am trying to merge your buffs (Z-virus/Bioinfection/wound system, sleeping bags/beds give warmth, and the stuffed buffs) in with Valmod but am having some setbacks. Are you using a custom .dll to allow the use of more advanced buffs? After adding them and fixing up any error I could find, I am now getting the error:
"ERR Loading and parsing 'buffs.xml' (Unrecognized xml element buff)"

http://pastebin.com/WpMqLkee

Visit XML Validator, and copy and paste your entire buffs.xml in there. Looks like it may be a bad copy and paste, and that site should help you identify where.

 
I use Notepad++ XML syntax checker and no error were found (same with that site).

Valmar mentioned that Spider might be using a custom .dll file for his buffs to work.

 
No my buffs dont need any custom .dll edits. But I have found that the buff file is the most complex .xml file and can be the most game changing. If you could post your buff file i could take a look for you.

Ya and I have poked around to see what I changed to make the open container bug but I cant seem to figure it out. If any one does let me know and I'll fix it in the download

 
hmm nothing is jumping out at me. If you cant find it work the problem backwards. Start near the top and insert a known bug. Like call a buff that does not exist. Then start it up check the log and make sure you are getting the new known bug you added. Then slowly move the known bug down the file starting it each time and making sure you are still getting you know bug. At some point you will pass the real bug you are looking for and when you check the log you will see the bug you have now. Use all this information to narrow in on where the problem is in the file. You should be able to narrow it down to what line of buff code has the error.

 
I tried adding "<buff id="testBuff" duration="0" actions="buff(test)" />" to the top but am still getting the same error, no mention of the missing buff.

""ERR Loading and parsing 'buffs.xml' (Unrecognized xml element buff)""

Edit; I think I might be better off just starting from scratch at this point lol

 
Last edited by a moderator:
I'm no xml expert but I think this section is your problem.

<buff id="stunned" mutex="stunCooldown" duration="4" actions="increment(@wellness, -0.5, 0, 0, 1)" onexpired="stunCooldown" type="speedmodifier" icon="ui_game_symbol_stunned" name_key="stunned" description_key="stunnedDesc" tooltip_key="stunnedTooltip">

<modify id="0" stat="speedmodifier" mulValue="0.1"/>

Looks like a closing tag is missing, and this section is just above where your error is thrown.

 
Thanks xyth, that seemed to be the problem. However i'm now having an issue where only some of the buffs seem to be working. The limp, car alarm, and partially the Z-virus. The bite/wound system doesn't seem to be working as intended. I can't sustain any of the injuries such as bruises, wounds, gashes etc. and if i'm grabbed by a zombie and bitten it skips straight to stage 1 of the Z-virus, no chance to bandage, cauterize or anything. I'm stumped because I'm not getting any errors in the console or anything

Are they maybe dependent on something that I haven't included? (Although you'd think if that were the case I'd be getting errors in the console)

Here is the current config:

https://www.dropbox.com/sh/qgp4vtwg8evsjrk/AAA3K2Gv7hYRrOgHMcj6NNnPa?dl=0

 
Last edited by a moderator:
Post the games error log, maybe something there. Also, the order things are listed in each XML file matters. If you cut and pasted things in the bottom of a file that are referenced by things above it, then it won't work properly. Those are tricky to find but generally are whats happening when all the obvious errors are fixed.

I suggest you start commenting out sections of functionality in each xml, like comment out everything related to wounds, and get to a point where everything left is working, then one by one edit back in a feature and test. You bit off too much at one go.

 
Last edited by a moderator:
I've kept it as close as possible to the original format so I don't believe that is the issue.

The problem with that is almost all of the buffs reference one another, so if I were to comment out part of them, none of it will work.

Edit; Where can I find the error log?

 
Last edited by a moderator:
Alright so I've decided to start from scratch and go slowly this time. I made it up until adding the bite buff, and once again no errors but the buff does not work in game. Getting "bit" skips straight to stage 1 of infection.

Infection code:

Code:
<buff id="infection" name_key="Z Virus Stage 1" type="sickness" mutex="cured,infection1,infection2,infection3,infection4" onexpired="infection1" duration="7200t" description_key="You’ve been infected with the Z-Virus. Find some Anti-Viral Meds soon or you will die and turn" tooltip_key="You've been infected with the Z virus" icon="ZVirus" cures="antibiotics"></buff>

<buff id="infection1" name_key="Z Virus Stage 2" type="sickness" onexpired="infection2" duration="7200t" description_key="The Z-Virus is spreading. Find some Anti-Viral Meds soon or you will die and turn" tooltip_key="The Z-Virus has progressed to Stage 2" icon="ui_game_symbol_infection" cures="antibiotics">
<modify id="0" stat="stamina" amount="-0.3" rate="1" />
</buff>

<buff id="infection2" name_key="Z Virus Stage 3" type="sickness" duration="7200t" actions="damage(25,2100t,0,3);increment(@wellness, -0.25, 100t, 0, 0)" onexpired="infection3" description_key="You now have progressed to Stage 3 of the Z-Virus, find some Anti-Viral soon time is running out.(Wellness loss 0.25 every game hour/lose 25hp every 21 game hours max of 3 times)" tooltip_key="The Z-Virus has progressed to Stage 3" icon="ZVirus" cures="antibiotics">
<modify id="0" stat="stamina" amount="-1" rate="1" />
</buff>

<buff id="infection3" name_key="Z Virus Stage 4" type="sickness" duration="2400t" actions="damage(25,800t,0,3);increment(@wellness, -0.25, 100t, 0, 0)" onexpired="infection4" description_key="The Z-Virus is spreading through your body fast, if not treated with Anti-Virials soon you will die and turn.(Wellness loss 0.25 every game hour/lose 25hp every 8 game hours max of 3 times)" tooltip_key="The Z-Virus has progressed to Stage 4" icon="ZVirus" cures="antibiotics">
<modify id="0" stat="stamina" amount="-2" rate="1" />
<modify id="1" stat="health" amount="-1" rate="3" />
</buff>

<buff id="infection4" name_key="Z Virus Stage 5" actions="kill" description_key="infection4Desc" tooltip_key="infection4Tooltip" icon="ZVirus" />
Bite code:

Code:
<!--JZMOD ZOMBIE BITES-->

<buff id="bite" castsound="Buffs/critical_blunt" duration="2400t" name_key="Bite" type="bleeding" requires="stunned" actions="increment(@wellness, -0.4, 200t, 0, 0);buff(bleeding)" mutex="bite" onexpired="infection" description_key="You were biten. You must cauterize the bite soon or you will catch the Z virus." tooltip_key="You have been bitten" icon="ui_game_symbol_zombie" cures="redHotPipe">
<modify id="0" stat="stamina" amount="-1" rate="5" />
<modify id="1" stat="health" amount="-1" rate="30" />
<modify id="2" stat="coretemp" modifyValue="10" />
</buff>

<buff id="cauterize" castsound="Player_Female/player2death" duration="1" actions="buff(biteWound);debuff(bite)" />

<buff id="biteWound" duration="600t" onexpired="infection" ondebuff="tendingbite" name_key="Bite Wound" tooltip_key="Care for your bite wound or catch the Z virus" description_key="You’ve held off the Z virus for now but if you don’t care for this bite wound you still could catch it. Treat it with a bandage and be sure to change it when it gets dirty" cures="bandage,firstAidBandage,disinfectantBandage,firstAidKit,largeFirstAidKit" icon="bite" />

<buff id="tendingbite" duration="600t" onexpired="dirtyBiteBandage1" name_key="Bandaged Bite" tooltip_key="Your bite is bandaged up" description_key="You’ve held off the Z virus for now but if you don’t care for this bite wound you still could catch it. Treat it with a bandage and be sure to change it when it gets dirty" icon="bandaged"/>

<buff id="dirtyBiteBandage1" smell="smallSmell" duration="600t" onexpired="dirtyBite" ondebuff="tendingbite2" name_key="Dirty Bite" tooltip_key="Your bite wound is getting dirty" description_key="Your bite wound is dirty and starting to smell. Change it with another Bandage soon or your wound could get worst and you could catch the z virus" cures="bandage,firstAidBandage,disinfectantBandage,firstAidKit,Large1stAidKit" icon="bite"/>

<buff id="dirtyBite" duration="1" actions="buff(infection);increment(scratch, 10, 0, 0, 1)"/>

<buff id="tendingbite2" duration="600t" onexpired="healBiteWound" name_key="Bandaged Bite" tooltip_key="Your bite is bandaged up" description_key="You’ve done it your bite wound is healing nicely and you are clear of the z virus. You may still have a wound or some bruises left that may need tending to." icon="bandaged"/>

<buff id="healBiteWound" duration="1" actions="increment(scratch, 5, 0, 0, 1)"/>

<!-- JZMOD WOUND SYSTEM TEST-->

<buff id="scratch" duration="1" actions="increment(scratch, 1, 0, 0, 1)" />

<buff id="ScratchesHealing" buffif="scratch gequal 1" debuffif="scratch gequal 6" actions="increment(scratch, -1, 800t, 0, 0);min(scratch, 0)" />
I even tried merging valmods buffs into TS and vice versa but no luck either way. Surely they are relying on something other than what's in the Buffs.xml

edit; to stop any further clutter in this thread I've got this one up: https://7daystodie.com/forums/showthread.php?59728-Combining-mod-help

Thanks again for the help guys

 
Last edited by a moderator:
I don't know if my game is bugged or something but I literally can't kill a single zombie with a weapon before it breaks, I had to repair my club twice to kill ONE lumberjack at the start with all headshots? The bone knife also breaks before I can harvest a single corpse making it entirely useless. I know this mod is supposed to be xhardcorex or whatever but that is just poor design if intentional.

 
Back
Top