lTheon / iTheon-Auto-Trade-Parts

MIT License
2 stars 1 forks source link

getCraftableItems (a nil value) #3

Open Joaoha opened 8 months ago

Joaoha commented 8 months ago

Hey man, I've been looking for a script like this one for a long time and finally found yours. Unfortunately I'm getting the following error when I try to activate the script (ie: trying to rtade the items in game with a trader.) FATAL ERROR

[error]Expression : [error]Function : CScriptEngine::lua_pcall_failed [error]File : E:\Github\xray-monolith\src\xrServerEntities\script_engine.cpp [error]Line : 257 [error]Description : fatal error [error]Arguments : 1 : [Lua] ...nomaly/bin/..\gamedata\scripts\z_auto_trade_parts.script(64) : handle_parts

LUA error: ...nomaly/bin/..\gamedata\scripts\z_auto_trade_parts.script:64: attempt to call field 'getCraftableItems' (a nil value)

Check log for details

stack trace:

I do have the Crafting tooltip mod installed and running. Can you help? Cheers

lTheon commented 8 months ago

Hey there This thing is now broken because Utjan updates his mod and changed the name of one file Check out this thread on Discord for a very similar thing that's still maintained by another modder and that has more configs https://discord.com/channels/912320241713958912/1136422729747271783

Idk when he's going to publish it on GitHub or ModDB, but when it happens, I'll decomission my mod. That's one less repo for me to maintain 😆

Joaoha commented 8 months ago

Hey, thank you for responding. I found the script. And it works. Cheers