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

Multiplayer issue #17

Closed
raistlin opened this issue May 4, 2020 · 4 comments
Closed

Multiplayer issue #17

raistlin opened this issue May 4, 2020 · 4 comments

Comments

@raistlin
Copy link

raistlin commented May 4, 2020

minetest version: 5.2.0
whynot version: latests published on ContentDB

I play with a friend on a server hosted on my PC, when he leaves the game, the game crashes.

@bell07
Copy link
Collaborator

bell07 commented May 4, 2020

Can you provide the crash output from debug.txt for the crash?

@raistlin
Copy link
Author

raistlin commented May 4, 2020

I reproduced it:

2020-05-04 21:46:52: ACTION[Server]: [doc] Wrote player data into /home/user/.minetest/worlds/WhyNot-TestingWorld/doc.mt.
2020-05-04 21:46:52: ACTION[Server]: P2 leaves game. List of players: P1
2020-05-04 21:46:52: ERROR[Main]: ServerError: AsyncErr: environment_Step: Runtime error from mod 'craftguide' in callback environment_Step(): ...minetest/games/whynot_game/mods/libs/craftguide/init.lua:1956: attempt to index local 'data' (a nil value)
2020-05-04 21:46:52: ERROR[Main]: stack traceback:
2020-05-04 21:46:52: ERROR[Main]: 	...minetest/games/whynot_game/mods/libs/craftguide/init.lua:1956: in function <...minetest/games/whynot_game/mods/libs/craftguide/init.lua:1950>
2020-05-04 21:46:52: ERROR[Main]: 	/usr/share/minetest/builtin/game/register.lua:429: in function </usr/share/minetest/builtin/game/register.lua:413>
2020-05-04 21:46:52: ERROR[Main]: stack traceback:
2020-05-04 21:46:52: ACTION[Server]: [doc] Wrote player data into /home/rferriz/.minetest/worlds/WhyNot-SaphiraWorld/doc.mt.
2020-05-04 21:46:52: ACTION[Server]: P1 leaves game. List of players: 
2020-05-04 21:46:52: ACTION[Main]: Server: Shutting down
2020-05-04 21:46:52: ACTION[Main]: [doc] Server shuts down. Player data is about to be saved.
2020-05-04 21:46:52: ACTION[Main]: [doc] Wrote player data into /home/rferriz/.minetest/worlds/WhyNot-TestingWorld/doc.mt.
terminate called after throwing an instance of 'LuaError'
  what():  Runtime error from mod 'craftguide' in callback on_shutdown(): ...minetest/games/whynot_game/mods/libs/craftguide/init.lua:2010: attempt to index local 'meta' (a nil value)
stack traceback:
	...minetest/games/whynot_game/mods/libs/craftguide/init.lua:2010: in function 'save_meta'
	...minetest/games/whynot_game/mods/libs/craftguide/init.lua:2022: in function <...minetest/games/whynot_game/mods/libs/craftguide/init.lua:2019>
	/usr/share/minetest/builtin/game/register.lua:429: in function </usr/share/minetest/builtin/game/register.lua:413>
Aborted (core dumped)

It' seems to be craftguide mod.

EDIT: Missed the SackTrace

@bell07
Copy link
Collaborator

bell07 commented May 5, 2020

Seems you enabled the craftguide_progressive_mode in your minetest.conf.
That's is not supported, because the whynot game uses own doc-mod based progressive mode (craftguide_reveal mod)
Eather you disable the setting or you remove the craftguide_reveal mod.
The benefit of craftguide_reveal is the items reveal status is in sync with revealed documentation.

@raistlin
Copy link
Author

raistlin commented May 5, 2020 via email

@raistlin raistlin closed this as completed May 5, 2020
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

2 participants