Valmar Posted August 23, 2015 Author Share Posted August 23, 2015 I honestly don't see how it would be possible for this mod to cause the problem you're describing. I don't even touch the items.xml. All I add to the game is two blocks and some lootgroups, really. Also as my mod is only a XML mod you wouldn't need to do a lot to test and revert. Make a backup copy of your loot.xml and blocks.xml file then add my code. If it doesn't work you can just use the backup copies. That will save you from having to reinstall stuff. It's up to you. I mean, like I said, I don't see how its possible my mod could cause this problem. I don't know anything about Rongo or Navezhattan so I can't comment there. If you still have the problem then by all means send the config folder and I will be happy to look into it and see if I can figure out the problem. If the problem persists you could try removing the only thing my mod has that relates to skill books - the lootgroup. Remove this lootgroup: <lootgroup name="Survival Book" > <item name="crossbowSchematic" count="1" /> <item name="hammerSchematic" count="1" /> <item name="huntingKnifeBook" count="1" /> <item name="pistolBook" count="1" /> <item name="wrenchSchematic" count="1" /> <item name="sawedoffPumpShotgunSchematic" count="1" /> <item name="pumpShotgunSchematic" count="1" /> <item name="huntingRifleSchematic" count="1" /> <item name="ammunitionNationBook" count="1" /> <item name="shotgunShellSchematic" count="1" /> <item name="9mmBulletSchematic" count="1" /> <item name="leatherTanning" count="1" /> <item name="leatherBootsSchematic" count="1" /> <item name="leatherHatSchematic" count="1" /> <item name="leatherJacketSchematic" count="1" /> <item name="leatherPantsSchematic" count="1" /> <item name="leatherGlovesSchematic" count="1" /> </lootgroup> Then find the survival backpack group and remove the item group Survival Book. <lootgroup name="Survival Backpack" count="all"> <item name="painkillers" count="1" /> <item name="firstAidKit" count="1" /> <item name="antibiotics" count="1" /> <item name="bottledWater" count="1" /> <item name="bandage" count="2" /> <item name="stoneAxe" count="0" /> <item name="wornBoots" count="0" /> <item name="flashlight02" count="0" /> <item name="bedRoll01_1" count="0" /> <item group="melee" /> <item group="cannedfood" count="1" /> <item group="Survival Hats" /> <item group="Survival Shirts" /> <item group="Survival Book" /> <item group="Survival Range" /> <item group="Survival Pants" /> <item group="Survival Tools" /> </lootgroup> Doing that would remove literally the only references my mod makes to recipes in anyway. Though again, like I said, this shouldn't be able to cause the problem you're describing since it doesn't actually touch any of the books. Its possible one of your mods changed or remove some of the books and that is causing the problem... but even then, I don't think it'd cause THIS problem. It'd be more like a console error message whenever you try to place the backpack. It shouldn't have anything at all to do with you learning recipes. Anyway without seeing the config folder I can't tell you what the problem is. In fact you don't even need to re-add my mod if its that big of a problem - you could just send your config as-is and I'll add the mod myself and see if I have the problem. Whichever is easier for you. Link to comment Share on other sites More sharing options...
Valmar Posted December 14, 2015 Author Share Posted December 14, 2015 Updated to A13 standards. Didn't take much, just a rename of a schematic and renumbering of block IDs. Link to comment Share on other sites More sharing options...
LHammonds Posted December 22, 2015 Share Posted December 22, 2015 The "blocks.xml" link in your 1st post seems to have incomplete data as if cut-off. There are only 23 lines. Thanks for sharing your mods, LHammonds Link to comment Share on other sites More sharing options...
Valmar Posted December 23, 2015 Author Share Posted December 23, 2015 @LHammonds My mouse probably spazzed when I copied the code. Annoying thing - makes highlighting things annoying sometimes. Thanks for pointing it out. It should be fixed now. Sorry for the error. Link to comment Share on other sites More sharing options...
Rathlon Posted March 27, 2016 Share Posted March 27, 2016 Valmar is it possible to use this mod in Alpha 14? Just wondering cause according to the starting post you made it's geared for 13.7. Link to comment Share on other sites More sharing options...
Valmar Posted March 27, 2016 Author Share Posted March 27, 2016 It didnt work as-is. The basic structure itself I think is still perfectly fine but some items were renamed that I had to adjust and of course the block ID was no longer usable. Since you requested it I went ahead and updated the shared pastebin code. It should work in A14 now. Let me know if it doesn't and I'll take another crack at it. Pretty sure its fine though. Link to comment Share on other sites More sharing options...
Rathlon Posted April 4, 2016 Share Posted April 4, 2016 Another update[A14.4] another xml change. Link to comment Share on other sites More sharing options...
Pacid8989 Posted May 8, 2016 Share Posted May 8, 2016 From what I can tell its working in 14.6 as in the item is in the inventory when the player arrives on the server. They can put the bag on the ground, they can open it and get the items out of it, however after they close the bag, it poofs as if it destroyed itself, but.... the bag is still there. I'm still trying to figure this one out by comparing it to other items that do what this is supposed to do and that is destroy itself after being closed. Link to comment Share on other sites More sharing options...
Valmar Posted May 8, 2016 Author Share Posted May 8, 2016 @Pacid Thank you for mentioning it. I believe I see the problem. It extends from the "locked" backpack which is set to downgrade into the unlocked version. As such it copies the locked versions downgrade event. param1="DowngradeBlock" added to the extends property should fix it, as I have done to the code now. Sorry for the oversight. Link to comment Share on other sites More sharing options...
Highope Posted May 30, 2016 Share Posted May 30, 2016 is their an updated version i added all this to the server and when i hit E it doesnt open the backpack. Link to comment Share on other sites More sharing options...
Valmar Posted May 30, 2016 Author Share Posted May 30, 2016 It is updated. You have to break the backpack first to open it. Like shamway crates. Link to comment Share on other sites More sharing options...
Carlzilla Posted May 30, 2016 Share Posted May 30, 2016 is their an updated version i added all this to the server and when i hit E it doesnt open the backpack. You have to break (attack) the first backpack you place. Link to comment Share on other sites More sharing options...
Highope Posted May 30, 2016 Share Posted May 30, 2016 i broke it wont let me loot tells me too loot press E i click E nothgn happens:\ did i miss something? Link to comment Share on other sites More sharing options...
Valmar Posted May 30, 2016 Author Share Posted May 30, 2016 Recheck the steps and ensure you installed everything correctly. It should work fine. Link to comment Share on other sites More sharing options...
Highope Posted May 30, 2016 Share Posted May 30, 2016 <property name="ItemsOnEnterGame.GameModeSurvivalMP" value="Survivor's Pack (Locked)" /> is this correct? Link to comment Share on other sites More sharing options...
Valmar Posted May 30, 2016 Author Share Posted May 30, 2016 Yes. That your character started with the pack at all shows that you got that step right. The problem sounds like a loot.xml related one. Did you add the loot code at the bottom of the loot.xml, above the </lootcontainers> line? Link to comment Share on other sites More sharing options...
Highope Posted May 30, 2016 Share Posted May 30, 2016 yup i have that line too i can break the backpack when i drop it just cant loot it... weird Link to comment Share on other sites More sharing options...
Highope Posted July 13, 2016 Share Posted July 13, 2016 what's wrong with my code? http://pastebin.com/JSTCDCJE not working Link to comment Share on other sites More sharing options...
Highope Posted July 13, 2016 Share Posted July 13, 2016 works now thx Link to comment Share on other sites More sharing options...
Valmar Posted July 13, 2016 Author Share Posted July 13, 2016 For future reference to others: Your problem was likely due to the fact that you were putting the groups AFTER their calls in containers. A container or other group cannot call on a group that comes after it in the list or it breaks. Order matters. Link to comment Share on other sites More sharing options...
Highope Posted July 18, 2016 Share Posted July 18, 2016 For future reference to others: Your problem was likely due to the fact that you were putting the groups AFTER their calls in containers. A container or other group cannot call on a group that comes after it in the list or it breaks. Order matters. val your right i dotn know what i did but w/e i did screwed up the loot i can break the bag but after that i get the magnifying glass on the bag cant loot it... was working fine screwed something up can u look at this code below that's how i placed the code at the end of loot.xml <lootgroup name="backpackwep" count="all"> <item name="9mmBullet" count="200"/> <item name="gunPistol" /> <item name="gunPistol" /> </lootgroup> <lootgroup name="Survival Backpack" count="all"> <item name="painkillers" /> <item name="firstAidKit" /> <item name="antibiotics" /> <item name="bottledWater" /> <item name="bandage" /> <item name="flashlight02" /> <item name="bedroll" /> <item name="keystoneBlock" /> <item name="cementMixer" /> <item group="cannedfood" count="3" /> <item group="backpackwep" /> </lootgroup> <lootcontainer id="180" count="1" size="8,4" destroy_on_close="true" sound_open="UseActions/open_backpack" sound_close="UseActions/close_backpack" open_time="1.5" loot_quality_template="baseTemplate"> <item group="Survival Backpack" /> </lootcontainer> </lootcontainers> Link to comment Share on other sites More sharing options...
Highope Posted July 18, 2016 Share Posted July 18, 2016 nvm just exhausted everything works fine... just server crashed cause of the amount of coding i keep doing had to restart it all fixed my bad! Back to coding! Link to comment Share on other sites More sharing options...
Highope Posted July 18, 2016 Share Posted July 18, 2016 just something extra if you guys want the quality of the items in the backpack at a certain level just create a template place this code in before this line </lootqualitytemplates> <lootqualitytemplate name="backpacktemplate"> <qualitytemplate level="0,200" default_quality="500,600"> <loot quality="500,600" prob="1"/> </qualitytemplate> </lootqualitytemplate> then also change the loot quality template="backpacktemplate" example below <lootcontainer id="180" count="1" size="8,4" destroy_on_close="true" sound_open="UseActions/open_backpack" sound_close="UseActions/close_backpack" open_time="1.5" loot_quality_template="backpacktemplate"> <item group="Survival Backpack" /> </lootcontainer> thx Link to comment Share on other sites More sharing options...
Valmar Posted July 18, 2016 Author Share Posted July 18, 2016 You dont have to make a quality template for that. You can assign quality directly on the item in the container or group. Example: <item name="huntingKnife" count="1" quality="200,200"/> Link to comment Share on other sites More sharing options...
Highope Posted July 18, 2016 Share Posted July 18, 2016 You dont have to make a quality template for that. You can assign quality directly on the item in the container or group. Example: <item name="huntingKnife" count="1" quality="200,200"/> ahhhhhhhhh nice 1 thx bro Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.