Compatible with Anomaly 1.5.1. Map tiering stash system, dedicated item tiers tables and reworked loot tables. New game recommended. Update 2.2.0 TB fix for bugged stashes patch, FOMOD install, optional feature disabling loot spawn in unmarked stashes.
This addon spices your gameplay with stashes that are completely reworked and rebalanced.
NEW GAME IS RECOMMENDED. USAGE ON EXISTING SAVES MIGHT CAUSE BUGS, SEE BELOW.
IF USED ON AN EXISTING SAVE YOU ARE EXPOSED TO THESE VARIOUS EFFECTS, before installing to an existing save finish everything that is stash related first or it will bug (not crash though):
- Your own stashes might get random items spawning in them once. - Previously discovered stashes might get replenished (needs testing). - Your existing stashes quest will not be able to be completed because their content will be randomized, and will most likely end up empty. - Stashes indicated on the minimap prior to add-on addition will most likely be empty.
If you are upating from 2.0.2 to 2.0.3 in an existing save:
Everything will work, no problem. Items' conditions will be changed according to the modifications brought by the 2.0.3 patch. However, changes brought to armors tiers will most likely not be reflected in the existing stashes. I tested it with a Skat 9 armor in Swamp, previously tier 3 now tier 5. It should now be impossible to get a Skat 9 armor in the swamp, but since it spawned with 2.0.2 patch, it stayed with 2.0.3. I didn't test that with yet unexplored map. But atleast add-on update doesn't wipe stashes content which is good :)
Simply extract the gamedata folder to your root Anomaly folder. The add-on contains streloccs stash on loot corpse add-on, be sure to not have duplicated script files (it will be fixed in version 2.0.3). You can also use a mod manager (JGSME or Mod Organizer 2).
Compatible with Anomaly 1.5.1. From the base game files, this add–on only modifies scripts/treasure_manager.script.
This add–on includes some of Steelhawk28's Stash Overhaul add–on code as well as streloc's "stash on corpse looting" script. Sources:
- Steelhawk28's Stash Overhaul: Moddb.com
- strelocc Stash on corpse looting (don't install both add-ons): Moddb.com
02/01/2021 ---- 2.0.0 ----
- Completely reworked the whole add–on.
03/01/2021 ---- 2.0.1 ----
- Fixed CTD when receiving Stash Location (on corpse loot or quest completion). Cleaned the script to improve compatibility (cleaner monkey patching).
- Rebalanced items tiers.
03/01/2021 ---- 2.0.2 ----
- Removed monkey patch for the time being as it was the source of many bugs and balance breaking.
- Fixed all known bugs (empty stashes given by corpses, stashes replenishing on game load).
- If you installed version 2.0.1 or 2.0, remove gamedata/scripts/grok_stashes.script first, although the newscript should take priority over the old script.
06/02/2021 ---- 2.0.3 ----
- Improved armor tiers balance.
- Reimplemented items random properties after 1.5.1 changes.
18/02/2021 ---- 2.0.4 ----
- Improved pistols tiers balance.
- Reduced junk artifacts spawn rate to 2% and heavily reduced repair kits spawn rates (40% > 15%).
21/09/2021 ---- 2.1.0 ----
- Balanced loot tables. Less repair kits, more toolboxes, no more artifacts, a bit less loot, less armors... It's now more hardcore.
- Scripts fix for DLTX lags thanks to mezz.
- BaS Patch with new weapons in stashes (still in Beta, use at your own risk).
- BAIN Installer for MO2.
22/09/2021 ---- 2.1.1 ----
- Balanced map tiers to be a bit harder so that you only get tier 1 and tier 2 items on starting south maps.
19/10/2021 ---- 2.2.0 ----
- Added patches for TB fix for bugged stashes (avoid spawn of items in player inventory).
- Added the option to not have any loot in unmarked stashes, courtesy of Kolaris: Moddb.com
- Added FOMOD installation.
29/11/2021 ---- Hotfix ----
- Fixed meadows tiers
Average
9.5123 votes submitted.
Regarding the player starting with a whole bunch of items, i've managed to replicate it repeatedly when using TB's Bugged Stashes Fix v1.4 in addition to this mod.
Add the following stash boxes to the blacklist in gamedata/config/items/settings/grok_treasure_manager.ltx, under [blacklist_stashes_name]
;--TB-Added
;agr_treasure_8 ;it is possible to jump into tree
bar_arena_inventory_box_2 ;impossible to get into this room
kbo_actor_box_1 ;the stash is physically stuck inside the safe object
;mil_q8_n_a ;cannot get into the area, too frictionless (actually you can, you can climb the debris!)
red_forester_radio ;remove because if playing as bandit the door to the room is locked
red_forest_box_4_5 ;confusing side part of the same box as another stash on the top
red_treasure_10 ;cannot get into the tree
red_treasure_9 ;cannot get into the tree
val_q7_n ;above the cross but not obvious it is just about obtainable
val_recover_item_2_spawn ;stuck somewhere underground
zat_b22_medic_inv_box ;inside a locked cabin
(above copied verbatin from TB's mod, the commented out ones can be left out)
Grok's overwrites the treasure_manager.ltx provided by TB's, meaning these bugged stashes don't get added to the blacklist.
How they end up in the player's inventory is that the same mod has a script that, when the game is started or loaded, it removes the stashes and adds their content to the player's inventory. Useful if you've already got a save going, got awarded one of those bugged stashes, and want to get the stuff out. Not so useful when you start a new game with Grok's, as there's a good chance this mod'll add stuff to them, and then TB's adds it to your inventory when clearing those stashes.
Comment out the following section of code in gamedata/scripts/TB_Remove_Bugged_Stashes.script:
for item in string.gmatch(v, '([^,]+)') do
printf("~ Giving player: %s",item)
alife_create_item(item, db.actor)
end
So that the script does not give the player the contents of these bugged stashes. Or remove the script entirely, as it's not needed when starting a fresh game with the bugged stashes already added to the blacklist.
For me, I added the stashes to the blacklist, and removed the script, as I haven't started a meaningfully long save where i'd want to recover those stashes
Thanks. So my addon alone wasn't the issue I see now!
Added your fix to the new updated version.
Grokitach
Is it possible to make all the stashes empty after starting a new game?
and very often I find broken TOZ 106
p.s. s'orry, im use google translate :)
Hi! BaS was updated on 28/11 (11/28) this patch works fine, or we need to wait for an update? Thanks
I used to literally find Basic and Advanced tools within the first hour or two of playing, now I actually have to hit more stashes and try harder to get those!.
Updating to this version of the stash gives me this error:
FATAL ERROR
[error]Expression :
[error]Function : invalid_parameter_handler
[error]File : xrDebugNew.cpp
[error]Line : 1040
[error]Description : invalid parameter
going back to the old one works.
same here, starting a new game with version 2.2.0
looking for 2.1.1
Look at the very top of the mod description, had the same issue ¨IF YOU GET A CRASH ON START, INSTALL TWEAKY BREAKY STASHES FIX BEFORE THIS ADD-ON Moddb.com¨
This comment is currently awaiting admin approval, join now to view.
Need a new game? I install 2.2.0 but you reupload this version with hotfix (29/11/2021)
This mod was absolutely what made me CTD on every regular Load, F9 and change between locations. Even with the patches there's a number of stashes that also CTD when I try to access them. Nearly went ham thinking it's the initial game having corrupt files, Mod Organizer behaving or my Anomaly folders being restricted to readonly.
It's sad, would really like tiered loot to be a thing (and try a Monolith start to loot an early exo for lulz). Oh well.
Hi. Could you fix the CTD?.
Yep.
After a full Anomaly reinstall I went through all the possible logs (via ModOrganizer and whatnot) and it was treasure_manager.ltx refusing to be overwritten that caused the CTDs.
No idea how every first load was successful though, probably because that file was just created and not changed
I tried to disable the Read Only param on the game but doesn't work. I had to use older version of GSO.
i crash on level change, checked all mods and this 2.2.0 was the culprit.
old file did not cause any problems
Does this work with BaS addon?
Not working on my end, getting crashes even with the patch!
same here! it does work with no BAS tho
This addon overwrites the file "configs/items/settings/treasure_manager.ltx" with a completely different version when exiting the game in a way that can't be right. I'm pretty sure that previous versions of this addon did not do this.
Addons should not modify the gamedata directory on their own.
i'm finding a ton of gun toolkits, i think i did half of the stashes in cordon and managed to find 5 of them, is there a way to change this?
Try stashes only for marked ones.
Hallo, had an error, how do I fix? I am running a couple other addons but nothing that modifies the overhaul itself, it only come up whenever I enable the mod, look here Imgur.com
-post reading edit-
solved just had to read very top of description ¨IF YOU GET A CRASH ON START, INSTALL TWEAKY BREAKY STASHES FIX BEFORE THIS ADD-ON Moddb.com¨
Man, your works add a tons of fun and make SA really awesome and enjoyable. This is one of my fav mods, can't play w/o :D :D
This comment is currently awaiting admin approval, join now to view.
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_error
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 191
[error]Description : fatal error
[error]Arguments : LUA error: ....k.e.r. anomaly\gamedata\scripts\treasure_manager.script:773: attempt to call field 'clear_stash' (a nil value)
stack trace:
I get this error everytime I want to take all the loot from a stash, for some reason the game just crashes
How does this interact with Grok's stash overhaul mod?
Currently not functioning with the newest B&S. Complains about missing weapon models no longer included with B&S when loading up a game.
This comment is currently awaiting admin approval, join now to view.
Anyone know if this is compatible with 1.5.2?
it sure is but it can rly screw up your mods too and make it crash just like it did to me for 10+ times when i have got BAS modpack
only if ur using BAS modpack if not it should work perfectly fine thats how it worked for me when i didnt used BAS
compat 1.5.2? have it but does not seem to work?
it doesnt seems to work with bas for me when i didnt used BAS it worked perfectly fine so yes it works but with BAS it doesnt even with patch
Awesome mod! So sad it cant be installed mid game ^^
Thanks !
This comment is currently awaiting admin approval, join now to view.
my bad i forgot to log in
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_pcall_failed
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 204
[error]Description : fatal error
[error]Arguments : LUA error: ....r anomaly blin\gamedata\scripts\treasure_manager.script:116: attempt to call field 'str_explode' (a nil value)
stack trace:
i used this mod before but now with BAS it instantly crashes everytime i try to creat new game this is what it fully says from start up fatal error
- Default community setup: stalker
! [LUA] 0 : [C ] str_explode
! [LUA] 1 : [Lua] ....r anomaly blin\gamedata\scripts\treasure_manager.script(116) : init_settings
! [LUA] 2 : [Lua] ....r anomaly blin\gamedata\scripts\treasure_manager.script(599) : func_or_userdata
! [LUA] 3 : [Lua] ....a.l.k.e.r anomaly blin\gamedata\scripts\axr_main.script(271) : make_callback
! [LUA] 4 : [Lua] ....r/s.t.a.l.k.e.r anomaly blin\gamedata\scripts\_g.script(119) : SendScriptCallback
! [LUA] 5 : [Lua] ....r anomaly blin\gamedata\scripts\bind_stalker_ext.script(61) : actor_on_net_spawn
! [LUA] 6 : [Lua] ....k.e.r anomaly blin\gamedata\scripts\bind_stalker.script(58) :
! [LUA] SCRIPT RUNTIME ERROR
! [LUA] ....r anomaly blin\gamedata\scripts\treasure_manager.script:116: attempt to call field 'str_explode' (a nil value)
! [SCRIPT ERROR]: ....r anomaly blin\gamedata\scripts\treasure_manager.script:116: attempt to call field 'str_explode' (a nil value)
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_pcall_failed
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 204
[error]Description : fatal error
[error]Arguments : LUA error: ....r anomaly blin\gamedata\scripts\treasure_manager.script:116: attempt to call field 'str_explode' (a nil value)
stack trace:
mod organizer also says this:
[2023-03-14 17:57:06.515 W] [fomodinstallerdialog.cpp:378] "The value exists but was not matched."
so this mod isnt plyabel for me anymore whick complety sucks
i use this mod on most of my new runs in story mode and others modes
and problem i tried to fix for 5 days ago not knowing what mod caused problem for damn hell 5 days straight tried over and over now knowing whick was problem rly makes me ****** off man
hopefully it will get fixed soon since other mods dont cause me any trouble just this mod whick is one of my favorite ones
This comment is currently awaiting admin approval, join now to view.
how do i make the stuff spawn with good condition, repairing sucks
Does this mode regenerates loot in stashes after some time ?
Nice mod, but keep in mind that the author, for some unknown reason, put the ammo kit in 1 tier (change it to 3 or 4), I strongly recommend fixing this in the configuration files and setting the chance to find a cache in the game to 15% or less for balance purpose.
Спасибо, исправил. Заметил, что ammokit слишком часто попадался.
Game rewrited my treasure_manager.ltx after instailing the mod :(
Please be aware, if you already have modified version of this file
Unfortunately, this mod doesn't work because the files your modification edits are missing on my end. This is actually strange. The archives for 1.5.1 (and 1.5.2) turned out to be without the necessary scripts, and ChatGPT referred to the absence of scripts initially because the game loads them during gameplay. I assume that this means I have to play the game for some time first and then modify it. Complete nonsense.
Here's an excerpt from the end of the log:
* 7256.5 : [ 2] pfx\pfx_anomaly_88
* 7515.4 : [ 2] glow\glow_fire1
* 8192.1 : [ 1] ui\ui_actor_menu
* 21845.5 : [ 2] fozest\small_fire_looped10x4
* 32768.1 : [ 1] ui\ui_icon_equipment
* 32768.1 : [ 1] ui\ui_icon_equipment_hide
"s:\games\stalker anomaly\bin\anomalydx11avx.exe" -smap2048 -dbg
!Can't create file: 's:/games/stalker anomaly\gamedata\configs\items\settings\treasure_manager.ltx'. Error: 'No such file or directory'.
FATAL ERROR
[error]Expression :
[error]Function : invalid_parameter_handler
[error]File : D:\a\xray-monolith\xray-monolith\src\xrCore\xrDebugNew.cpp
[error]Line : 1057
[error]Description : invalid parameter
stack trace:
Do you plan to update it to version 1.5.2?