Posts by DanW

    Hi,


    I'm not quite sure why this is happening only when this mod is combined with others, but it's definitely an issue with my code. I should be able to release a new version soon that fixes it.

    Looks like that fixed it, man. Just extracted on factory. I will just avoid Fence.

    Sweet!


    It was actually a bug in the SPT code, so it was quite elusive. There was a function that randomly removes stuff from Fence's inventory to simulate people buying from him, and it got stuck in an infinite loop because this mod wipes out his inventory from the beginning. I think Late to the Party manually (inadvertently) calls the method when it normally doesn't run, so that's why it was the combination of these two mods that caused the problem. Whatever the case, it should be fixed in the next SPT release.


    Thanks for your help with troubleshooting!

    Thanks for digging in, man. Appreciate all the help. Great mods by the way. Excited to have everything up and running properly for the new patch.

    Glad you like them!


    I might have figured out the issue. Can you please try setting traders.disable_fence=false in the Hardcore Rules config to see if that fixes it for you?

    Ah, that makes more sense. That mod does a LOT more behind the scenes, so there's a lot more to go wrong. Fortunately I know the guy who made it ;)


    Let me try using No Bush ESP and see if I can reproduce it.


    Did you change any of the default settings in the config for Late to the Party?


    EDIT: Also, I assume you're using v1.3.0 of Late to the Party?


    EDIT 2: Another thing - can you please reproduce the problem but this time setting debug.enabled=true in the LTTP config and then send me the logs again? Also, if LTTP is the cause, we should probably continue this conversation in the support thread for that mod instead. It would be good to keep troubleshooting content there in case other people have similar issues.


    EDIT 3: Nevermind, I think I'm able to reproduce the issue. Here's what's weird... it only happens when you use Late to the Party and Hardcore Rules together, and it only seems to happen in PMC raids. If you only use one or the other, it seems fine, and even with both together, Scav raids seem fine. I'll have to dig more into it. I attached a picture of the errors I'm seeing in the bepinex console.

    Yes I am using 3.6 and I will try to pull these logs for you once I play again.


    I know off-hand I am using Late to the Party and Waypoints. Those are the other two mods I am using. Everything else is a BepInEx plugin.

    The issue will most likely be caused by a plugin, not a server mod. For what it's worth, I'm also using this mod, Late to the Party, and Waypoints at the same time, so I'm not sure what the difference would be. It looks like your config file has all the default settings too (which is what I tested). Very strange.


    Unfortunately, there isn't much in the log files, so I'm a bit stumped. Sometimes not all of the messages get written to the log if the game doesn't exit normally, so that could be working against us. Did you notice if there were errors in the bepinex console before the game crashed?


    I did see in the recent SPT-AKI 3.6.1 HF1 notes that they fixed an issue that was causing freezing at the end of raids, so maybe it was related to this. Could you please try upgrading to see if it still happens? All three mods are compatible with 3.6.1, so that should make it easy to move files around.


    Thanks.

    Thank you for responding! Yes, it happens every single raid only on extract. Countdown gets to 0 and game crashes. If I die in raid I don't get the death animation, game just crashes. If I remove the mod folder, it fixes the issue.

    I just double-checked, and this isn't happening to me, so there's likely a conflict with another mod.


    Could you please do the following:

    1) Set debug=true in config/config.json

    2) In BepInEx\config\BepInEx.cfg, change line 48 to Enabled = true

    3) Restart the server and reproduce the issue in the game. A new console with bepinex messages will also appear when the game starts.

    4) Note if errors appear in the bepinex console when the game freezes/crashes.

    4) Exit the game and share BepInEx\LogOutput.log before starting the game again.


    In addition to BepInEx\LogOutput.log file generated above, please also share:

    1) Your config/config.json file for this mod

    2) A ZIP of your Logs folder in the root SPT install directory


    Also, I assume you're using SPT-AKI 3.6.0?

    I am getting crashes on extract. Is this a common issue?

    I've never heard of that happening with this mod. This mod isn't doing anything when the raid ends.


    How often is it happening? Have you tried removing this mod to see if it stops?

    Hi, thank you for this mod. Just updated to 3.6. Ive noticed a lot of ammos being out of stock always and I also have issue with end of raid where it freezes, I can wait it out or close everything with no issue, this isnt a problem when removing this mod. A conflict with Trader Mods? Thanks again.

    Some ammo types are designed to sell out quickly, but you can adjust that in the mod config. Which ones are you having issues with? I know there are some issues with Fence's ammo offerings.


    In terms of freezing at the end of a raid, log files would definitely help me to troubleshoot. Could you please do the following:

    1) Set debug.enabled=true in config/config.json

    2) In BepInEx\config\BepInEx.cfg, change line 48 to Enabled = true

    3) Restart the server and reproduce the issue in the game. A new console with bepinex messages will also appear when the game starts.

    4) Note if errors appear in the bepinex console when the game freezes.

    4) Exit the game (normally if possible) and share BepInEx\LogOutput.log before starting the game again.

    DanW added a new version:

    Quote
    • Updated for SPT-AKI 3.6.0
    • Updated server dependencies for SPT-AKI 3.6.0


    Config files from the 1.2.2 release are compatible with this release.

    DanW added a new version:

    Quote
    • Updated for SPT-AKI 3.6.0
    • Added whitelist_only config option (disabled by default) if you want to be REALLY hardcore and only allow traders to sell items that you explicitly whitelist
    • Updated server dependencies for SPT-AKI 3.6.0


    The config.json file from previous versions of this mod is not compatible.

    DanW added a new version:

    Quote
    • Bug fix for some inoperable doors being opened/closed by the mod (i.e. the door between Old Gas and the train tracks on Customs)
    • Bug fix for trader inventory changes not being reflected in their flea-market offers
    • When debug.enabled=true, the ID of doors will be logged in the bepinex console whenever you hover over them to show their context menu


    The config.json file from previous releases is NOT compatible.


    Thanks to Mark1502 for help with bug reports!

    Sorry to hear you're having trouble with the mod. I looked at the log file, and unfortunately I didn't see anything unusual. I've noticed that if I force-kill the game, not all of the console contents gets dumped to the log file, so that might be working against us.


    Which console has the errors? The server console or the bepinex console (which you have to manually enable)?


    One thing you could try is zipping the "Logs" directory in the root game folder after reproducing the problem and uploading that. The "traces" and "errors" files in that directory are the ones I'm most interested in seeing. As a backup plan, do you think you could get a screenshot of the errors if you can get them to stop scrolling?


    EDIT: Setting debug.enabled=true in the config.json file will add more messages to the log files, so that should also help with troubleshooting.

    DanW added a new version:

    Quote
    • Fixed incompatibility with The Blacklist mod
    • Show an error in the server console if it provides invalid data to the client
    • Show a warning in the server console if prices in prices.json and handbook.json are both invalid
    • Prevent items that don't have valid prices in either prices.json or handbook.json from being allowed in Fence's inventory
    • Bug fix for corrupted loot-ranking data causing significant performance issues (Issue #1)
    • Bug fix for the DLL constantly requesting loot-ranking data after it fails to retrieve it the first time (cause of memory leak in Issue #1)
    • Bug fix for many NRE's appearing in the bepinex console when leaving a raid
    • Bug fix for server failing to start when debug.enabled=true and some custom trader mods are used


    Config files from the 1.2.0 release are compatible with this release.


    Thanks to MusicManiac for help with testing!

    "Of course the purist in me has to point out that spawning into a half-completed raid with a map full of loot is just... unnatural! ;)" You are absolutely right here. I never thought about that. In that case I am assuming just change adjust_raid_times.can_reduce_starting_loot=true??

    That's the initial way the mod handled that problem, but I eventually moved to the loot-destroying system because it's still unrealistic to have less loot on the map that has the same range of desirability. It would be like everyone is picking up garbage loot and occasionally maybe some nice stuff.


    If you want the very simple solution, you can leave adjust_raid_times.can_reduce_starting_loot=true. However, my recommendation is leaving destroy_loot_during_raid.enabled=true. Of course, I'm biased because I spent months working on that system. ;)

    Sorry to bother you agian. I got SWAG figured out! Very much looking forward to a GUI in the future. In the meantime, I would still like to use this mod, is it even useable with the config that I had edited or would you recommend starting fresh with a new config?? Thanks again for all of your time!

    Glad to hear that!


    Honestly, I'd probably start with a fresh file. It looks like you deleted some options instead of changing them, and that will make the DLL fall back to default values for them (which I don't have listed anywhere).


    If you're just looking to change Scav spawn times, I'd make the following changes:

    • adjust_raid_times.can_reduce_starting_loot=false
    • destroy_loot_during_raid.enabled=false
    • open_doors_during_raid.enabled=false
    • adjust_bot_spawn_chances.enabled=false
    • adjust_bot_spawn_chances.adjust_bosses=false (this one might be redundant, but better safe than sorry)
    • trader_stock_changes.enabled=false

    Optionally, you can also set:

    • adjust_raid_times.adjust_vex_chance=false
    • adjust_raid_times.adjust_bot_waves=false (if you're using SWAG, probably this should be false)

    I think everything else you can ignore, but of course let me know if you notice anything strange that only happens when you're using my mod.


    Of course the purist in me has to point out that spawning into a half-completed raid with a map full of loot is just... unnatural! ;)

    **Please see EDIT on original support thread post.


    Reply to this post: I do not think that splitting the mod apart is necessary. If you had A GUI that would allow the user to enable/disable what they wanted to do I think that is a really good idea!

    Thanks for the update, and I appreciate you letting me know about the incompatibility update. That'll save me some testing time. :)


    While you were testing, I looked through your config changes for my mod, and without you saying anything, that answered my question. I could feel your frustration just by seeing some of the changes you made, so I think a GUI is something to add to my to-do list. It'll take some time to develop, but considering how much this mod has evolved over the last few months, I think it's necessary now.


    While I can't help you with your SWAG incompatibility, if you have any other issues/questions with this mod, feel free to reach out. It's good to hear from people with other perspectives to avoid getting tunnel vision with developing it.

    posting the config files that you asked about. I am attaching my config from SWAG and also LttP. Thanks a ton for the rapid response on this as well as coming up with a solution rather than just brushing me off. That is much appreciated!!


    Edit: I thought I should also note, I only did testing on Woods, with the goons and Shturman.

    You're welcome! I can't test every combination of mods, so ultimately I have to rely on other people to give me feedback to let me know what doesn't work. I looked at SWAG's code, and in theory it should be totally compatible. I'll see what I can find using your files. Maybe I overlooked something.


    Also regarding your feedback about the over-complication, I can definitely understand where you're coming from. It's easy for me to tweak my dozens of settings because I developed the mod, but it's probably information overload for most people. It's easy for me to get complacent because I know what every setting does.


    Realistically, do you think your feeling of the mod being too complicated would be alleviated if I included a GUI to help you tweak the config and turn systems on/off based on what you want from it? At this time, I'm still not interested in splitting this up into multiple mods (for several reasons), but I'm open to adding a GUI.


    Thanks.

    DanW added a new version:

    DanW added a new version:

    Quote
    • Whitelisted green flares for trader inventory
    • Updated minimum compatible SPT-AKI version to 3.5.7