Jump to content

usafmaverick

Members
  • Posts

    16
  • Joined

Posts posted by usafmaverick

  1. 33 minutes ago, khzmusik said:

     

    So it looks like item mods should never be stackable, and not just for the weird "can't drag" reason.

     

    If you put more than one copy of a mod into an item (like, 3 red dyes into a single clothing slot) then the "stack size" immediately becomes 1. You lose 2 dyes and can't get them back.

     

    Since the whole idea of stacking item modifiers is severely bugged, I'm going to remove that entire feature from my modlet. It's a shame, but there really isn't another option. Perhaps someone can do it, but it would require a lot of C# code (making it both incompatible with EAC, and require client and server installs). That can't go into the QoL modlet, and it's not a feature that is important enough for me to spend lots of time on.

     

    Thanks to @Haidrgna for pointing this out to me on Guppy's Discord.

    Sorry to bring to light a flaw in TFP's coding, hate to see you take down a mod that you put so much time into. I think its fair to leave it up and just put that disclaimer out there for people. I know I plan to leave it implemented on my server. Also now that you pointed it out, I did have one player comment that he did the same thing (stack multiple dyes in armor and lost some). Lessons learned but there are certainly plenty of other mods out there that come with disclaimers due to limitations of TFP coding. Theres only so much you can do when they lock down certain things behind DLL's.

  2. 32 minutes ago, khzmusik said:

     

    The two slashes at the start of the XPath are on purpose - that tells XPath to search for any descendants of the current node (in this case, the root node, so the whole XML document) for matching elements.

     

    I just tested it, and I see the issue too, without any other modlets installed. It's very strange. If you shift-click to move the dyes into or out of containers, they stack in that case too. It's only when you try to drag the dye with your mouse.

     

    I'll see if I can figure out what's going on. Once I can, I'll fix it, and announce it here.

    Thanks for looking into it. I tried to copy your work to do the same thing for gun/vehicle/equipment mods and they wouldnt stack at all, so I dont know if the stack count is a property that they wont accept or if I did something wrong. I planned to play with them more today too.

  3. khmusik,

     

    Having a little trouble with your QoL mod for stackable dyes. It isnt allowing players to manually stack the dyes, but if you use the sort container button it will stack the dyes. Tried looking through your XML and the only flaw I found is in your items_modifiers.xml file you have an extra / on the start of the xpath append. Corrected that and seems to have no impact. Any other ideas?

     

    I do have one other mod that also appends the items_modifiers.xml modDye content, but it is adding a property name "Group" to make the dyes craftable at work benches and chem stations so I didnt think that would affect yours? Its Ratberts Quality of Life mod if that helps.

  4. 22 hours ago, ktrain said:

    Try this mod, it is much simpler: https://github.com/XelaNull/7DTD-SanitysEdgeRules

    Ktrain,

     

    Thanks for the mod recommendation. Actually really like it, had it reconfigured on my local game file and it worked beautifully. Ive since moved it to my linux game server and I have found that it wont work while I have the origin UI mod installed. Any guidance on how to make the two compatible? Can I append the windows.xml code into the windows.xml code of the Origin UI?

     

    Edit: Disregard, figured it out. OriginUI already removes the xpath for InGameMenu, so by commenting that line out it allowed the line on the Server Rules mod to function. Thanks again for the mod reference!

  5. Does anyone have an A20 working version of this that is either formatted better or more simplified? Ive tried working through the examples other users have provided and Im having a hard time understanding what to keep and what to ditch. The short version is I was hoping to simply have some text with basic commands and updates that I can post for my clients. I dont need the graphic header or 8 buttons. Any help would be appreciated, thanks!

  6. Hoping someone can help me out here. Ive followed BigC90210's methods for embedding this map into a web page using an iframe and it works great. Hes also posted a tutorial for how to remove the overlays (left menu, minimap, etc). However, I still want to make that functionality available to me as the administrator.

     

    My question is this. Is there an easy way to start the server map with the left menu collapsed? I have tried scouring the files myself to find it and unfortunately theres a lot of code to dig through and no obvious way that Im seeing. Thanks for any help you can offer!

×
×
  • Create New...