Fixes a fatal error in Hideout Furniture that causes crashes & prevents the buying of furniture.
If you play with the Hideout Furniture mod, you may have experienced an error like this:
FATAL ERROR
[error]Expression : <no expression>
[error]Function : CScriptEngine::lua_pcall_failed
[error]File : ..\xrServerEntities\script_engine.cpp
[error]Line : 206
[error]Description : fatal error
[error]Arguments : LUA error: ...files/info\gamedata\scripts\placeable_items_trade.script:6: attempt to call field 'get_real_community' (a nil value)
which crashed the game and stopped traders from selling furniture. This mod fixes that by replacing
trader_autoinject.get_real_community(npc, "stalker")
with
npc:character_community() or "stalker"
thus allowing you to buy furniture and interact with traders without the game crashing.
HIDEOUT FURNITURE IS REQUIRED! THIS DOES NOTHING ON IT'S OWN
Not an actual issue with HF - you have an outdated version of trader_autoinject.script (by a couple years at least) in your modlist that's overriding the one provided by HF (assuming you ticked the dependencies in the FOMOD installer).
Well, plenty of people are having the same issue, and this fixed it for me, so I released it.
After making a new modpack with only MCM & HF, it seems you're right, but that's not particularly obvious to most players, and many wouldn't know how to fix it themselves.
But this isn't a "fix". You still have an outdated trader_autoinject.script overriding the one provided by HF... The problem is not solved, you just quieted one of the symptoms.
This is just a load order issue that you're trying to solve with script hacks... It's kinda weird.
Well the crash doesn't happen anymore and there are no other symptoms, and if "script hacks" solve the issue, what's the problem?
pepega addon
le classic, people uploading "fixes" to issues they created with their janky out of date installs
It fixed the issue for me, and plenty of people are having the same problem, so I thought I might as well release it.
update, problem solved
thanks for this, don't mind the clueless morons above
goddd
thank you habibi