Jump to content

Swiftpaw

Members
  • Posts

    302
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Swiftpaw

  1. Confirmed: releasing tomorrow ALL ABOARD THE HYPE TRAAAAAAAAAAIN CHOOCHOOOO
  2. One time I got a hangnail, but then I killed it, because it was a zombie hangnail. So is A20 almost here? 🐺πŸ₯’πŸΎπŸ’¦πŸ’¦πŸ’¦πŸ’¦πŸ’¦
  3. On Linux, A18 using Vulkan ROCKS! I'm getting an over 70% FPS improvement!!! OpenGL: vsync on: 40 FPS vsync off: 50 FPS Vulkan: vsync on: 60 FPS (monitor max Hz) vsync off: 85 FPS Anyone else have FPS benches to share? That's a crazy big difference!
  4. Thank you!! Will give these a try and hopefully if we see the issue again we'll be able to troubleshoot the issue more deeply to help with finding the bug.
  5. Correct, referring to the Unity3D binary. Would you please provide the command for additional network debugging (or a page or help menu to see the options)? I don't remember trying --help or -h or -? or whatnot but I thought those didn't work. Thanks
  6. Someone looking at a thread for the first time apparently lol. I might as well ask this here: is there a way to enable additional verbosity/debugging? I have output directed to the console and am running server/headless mode and getting a freeze during 7 day hordes. The output doesn't give me anything useful. While I'm going to wait until A18 to see if this issue still exists and really dig in troubleshooting it (after I release a new A18 compatible version of my mod ) I was wanting to be prepared to diagnose it further in case it is still happening.
  7. Page one. I guess the port numbers changed since 2014?
  8. Port 25000-25002? It's TCP port 26900 and UDP port 26900-26902 that need to be forwarded for 7DtD, unless someone changed those port settings.
  9. How do I know if I have the new 2.02 version or not? The client and server download links in your OP don't have the version number in them, nor do any files inside them that I can find. We were seeing a weird possible bug with not being able to unlock steel stuff, says I have to level up my laboror skill first, but it's 2/2 so can't be leveled up anymore, so I figured maybe the 2.02 version would fix that. Also, I'm confused as to why there are separate server and client versions. Does the server version just lack some of the client files, like the UI overhaul stuff? That's the only reason I can think of to have separate downloads for client and server. Cool mod btw ^n.n^
  10. Use exportcurrentconfigs in the console to export how all the xml files look after they've been modified by your xpath. Can help to debug! Can you post the before and after of what code you're trying to modify, from what to what?
  11. "Append" works for multiple nodes, like this works: <append xpath="/entity_classes/entity_class[starts-with(@name, 'zombie')]"> So it seems to be at just, or at least, the "remove" command that doesn't work with multiple nodes.
  12. Yep, same thing, it's correctly matching it, just only removing the first instance it encounters before stopping. <!--Element removed by: "Friendly Animals"--> <property name="AITask-2" value="BreakBlock" /> <property name="AITask-3" value="Territorial" /> <property name="AITask-4" value="ApproachAndAttackTarget" param1="EntityAnimalStag,40,EntityPlayer,15,EntityZombie,30" /> <property name="AITask-5" value="ApproachSpot" /> <property name="AITask-6" value="Look" /> <property name="AITask-7" value="Wander" /> <property name="AITask-8" value="" /> <property name="AITarget-1" value="SetAsTargetIfHurt" /> <property name="AITarget-2" value="BlockingTargetTask" /> <property name="AITarget-3" value="SetNearestEntityAsTarget" param1="EntityPlayer,8,EntityAnimalStag,0,EntityZombie,0" /> <property name="AITarget-4" value="" /> Searched around on the net but couldn't find a solution for manipulating multiple nodes using a single xpath command. Oh well, for now I'll just have to have multiple entries!
  13. Is there a way to remove/set/insertafter/etc ALL matching lines? For example, if I wanted to remove all of the AITasks and AITargets from say the animalWolf entity_class, I tried: <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[starts-with(@name, 'AITa')]"/> However, this is failing to remove all the entries. I also played a bit with it and found this didn't work either: <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[@name='AITask-*']"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[@name='AITarget-*']"/> When I specify every single line, it works fine: <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[@name='AITask-2']"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[@name='AITask-3']"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[@name='AITask-4']"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[@name='AITask-5']"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[@name='AITask-6']"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[@name='AITask-7']"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[@name='AITask-8']"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[@name='AITarget-1']"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[@name='AITarget-2']"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[@name='AITarget-3']"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[@name='AITarget-4']"/> I assume the issue is only one of the entries is being removed, so I'd have to do the following to do the same thing with starts-with: <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[starts-with(@name, 'AITa')]"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[starts-with(@name, 'AITa')]"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[starts-with(@name, 'AITa')]"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[starts-with(@name, 'AITa')]"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[starts-with(@name, 'AITa')]"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[starts-with(@name, 'AITa')]"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[starts-with(@name, 'AITa')]"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[starts-with(@name, 'AITa')]"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[starts-with(@name, 'AITa')]"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[starts-with(@name, 'AITa')]"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[starts-with(@name, 'AITa')]"/> <remove xpath="/entity_classes/entity_class[@name='animalWolf']/property[starts-with(@name, 'AITa')]"/> Any way to prevent such repetition? I searched this thread and didn't find any examples of manipulating multiple instances with a single xpath line. Thanks in advance! - - - Updated - - - Oh it gives you the final modified xml file, that is indeed useful! Should you edit your original 1st post to add that suggestion? Either way thanks for the explanation! :3
  14. What does that do, does it output a more verbose log of the parsing of the xpath entries? 7 Days To Die/7DaysToDie_Data contains output logs at least which are more verbose for general logging, but don't seem to be more verbose for xpath issues specifically in comparison to what the console already tells you.
  15. Thanks shpereii, that worked! I should have realized that there was a reason more than readability that templates appeared before the entities using them!
  16. Do you need to do something special before you try to utilize something that you append with xpath? I'm adding a new entity template here, and then trying to utilize it, but I get the following error. This is for my Friendly Animal mod. 2018-11-28T22:39:27 12.539 ERR XML loader: Loading and parsing 'entityclasses.xml' failed 2018-11-28T22:39:27 12.539 EXC Did not find 'extends' entity 'animalTemplateFriendly' Exception: Did not find 'extends' entity 'animalTemplateFriendly' at EntityClassesFromXml.LoadEntityClasses (.XmlFile _xmlFile) [0x00000] in <filename unknown>:0 at WorldStaticData+<loadSingleXml>c__Iterator1.MoveNext () [0x00000] in <filename unknown>:0 That error happens when I do: <configs> <append xpath="/entity_classes"> <entity_class name="animalTemplateFriendly"> <property name="Tags" value="animal"/> <!-- snip --> <property name="MapIcon" value="ui_game_symbol_bullet_point"/> </entity_class> </append> <!-- animalBear --> <set xpath="/entity_classes/entity_class[@name='animalBear']/@extends">animalTemplateFriendly</set> </configs> The moment I try to call the entity_class animalTemplateFriendly that I just added like there with animalBear, it bombs out with the above error. Anyone have any idea why? Thanks!
Γ—
Γ—
  • Create New...