Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

trade.lua error #64

Open
daretmavi opened this issue Mar 3, 2021 · 0 comments
Open

trade.lua error #64

daretmavi opened this issue Mar 3, 2021 · 0 comments

Comments

@daretmavi
Copy link

Hi ,

I sometimes get this error if I try to trade with some NPC:

2021-03-03 23:39:10: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'advanced_npc' in callback on_playerReceiveFields(): /home/daret/.minetest/mods/advanced_npc/trade/trade.lua:184: attempt to index field 'price' (a nil value)
2021-03-03 23:39:10: ERROR[Main]: stack traceback:
2021-03-03 23:39:10: ERROR[Main]: 	/home/daret/.minetest/mods/advanced_npc/trade/trade.lua:184: in function 'show_trade_offer_formspec'
2021-03-03 23:39:10: ERROR[Main]: 	/home/daret/.minetest/mods/advanced_npc/trade/trade.lua:74: in function 'action'
2021-03-03 23:39:10: ERROR[Main]: 	/home/daret/.minetest/mods/advanced_npc/dialogue.lua:683: in function </home/daret/.minetest/mods/advanced_npc/dialogue.lua:619>
2021-03-03 23:39:10: ERROR[Main]: 	/usr/share/minetest/builtin/game/register.lua:422: in function </usr/share/minetest/builtin/game/register.lua:406>

You have to try it more times, but eventually after I clicker BUY I get this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant