Server crash on player re-log

PastaLaHasta
New member
 
Posts: 2
Joined: Fri Jul 19, 2019 22:22

Server crash on player re-log

by PastaLaHasta » Tue Aug 13, 2019 01:36

Any player that tries to re-log into the server crashes the server completely.
Any ideas why?

Code: Select all
2019-08-12 18:01:26: ACTION[Server]: _UwU_ [0:0:0:0:0:ffff:4402:d30c] joins game.
2019-08-12 18:01:26: ACTION[Server]: _UwU_ joins game. List of players: _UwU_
2019-08-12 18:01:26: WARNING[Main]: Client side scripting is disabled by client.
2019-08-12 18:01:26: ACTION[Main]: Server: Shutting down
2019-08-12 18:01:26: ERROR[Main]: Access denied. Reason: This server has experienced an internal error. You will now be disconnected.
2019-08-12 18:01:27: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'player_api' in callback on_joinplayer(): ...t-5.0.1-win64\bin\..\mods\playermodpack\3d_armor/api.lua:277: attempt to index a nil value
2019-08-12 18:01:27: ERROR[Main]: stack traceback:
2019-08-12 18:01:27: ERROR[Main]:    ...t-5.0.1-win64\bin\..\mods\playermodpack\3d_armor/api.lua:277: in function 'set_player_armor' 
2019-08-12 18:01:27: ERROR[Main]:    ...-5.0.1-win64\bin\..\mods\playermodpack\3d_armor\init.lua:420: in function 'modifier_func'
2019-08-12 18:01:27: ERROR[Main]:    ...5.0.1-win64\bin\..\mods\playermodpack\player_api/api.lua:131: in function 'set_skin'
2019-08-12 18:01:27: ERROR[Main]:    ....0.1-win64\bin\..\mods\playermodpack\player_api\init.lua:44: in function <....0.1-win64\bin\..\mods\playermodpack\player_api\init.lua:42>
2019-08-12 18:01:27: ERROR[Main]:    ...op\minetest-5.0.1-win64\bin\..\builtin\game\register.lua:419: in function <...op\minetest-5.0.1-win64\bin\..\builtin\game\register.lua:399>
 

User avatar
duane
Member
 
Posts: 1592
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: Server crash on player re-log

by duane » Tue Aug 13, 2019 05:56

PastaLaHasta wrote:Any player that tries to re-log into the server crashes the server completely.


Line 277 of the api.lua file in the 3d armor mod is not checking for null before it tries to index a variable. If you disable 3d armor, the problem will go away, but you probably don't want to do that, except as a temporary stopgap. Your best bet is to go to the 3d armor post in the mods forums and download the very latest version. Your modpack could very easily be outdated.

If you delete the modpack version and the new version does the same thing, alert the author to the problem. This is a simple coding error to fix. All you do is check that the variable is not nil before accessing it.
Believe in people and you don't need to believe anything else.
 


Return to Problems



Who is online

Users browsing this forum: No registered users and 3 guests