Krunegan / binary_code

Other
0 stars 0 forks source link

server crash when /unbinary TEXT #1

Open nonfreegithub opened 5 months ago

nonfreegithub commented 5 months ago
ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'binary_code' in callback on_chat_message(): ...minetest/bin/../mods/binary_code/init.lua:51: attempt to perform arithmetic on a nil value                                                                                                             
ERROR[Main]: stack traceback:                                                                                                                            
ERROR[Main]:       ...minetest/bin/../mods/binary_code/init.lua:51: in function 'binary_to_text'                                          
ERROR[Main]:       ...minetest/bin/../mods/binary_code/init.lua:77: in function 'func'                                                    
ERROR[Main]:       ...minetest/bin/../builtin/game/chat.lua:79: in function <...minetest/bin/../builtin/game/chat.lua:52>                                                                                                                                                                       
ERROR[Main]:       ...minetest/bin/../builtin/common/register.lua:26: in function <...minetest/bin/../builtin/common/register.lua:12>  
nonfreegithub commented 5 months ago

same error with morse code I think

Krunegan commented 5 months ago

I plan to rework both mods soon (I'll merge them and modify the way they work)