minetest-LOTR / Lord-of-the-Test

LOTR-inspired Subgame for Minetest. Rewrite: https://github.com/minetest-LOTR/Third-Age
Other
67 stars 31 forks source link

Failed to load and run script #154

Closed jikamdon closed 4 years ago

jikamdon commented 4 years ago

b.txt

jikamdon commented 4 years ago

2020-04-30 18:55:57: ERROR[Main]: ModError: Failed to load and run script from C:\Users\gajanan\Desktop\minetest-5.2.0-win64\bin..\games\lordofthetest\mods\mobs\init.lua: 2020-04-30 18:55:57: ERROR[Main]: Unknown node: default:obsidianbrick 2020-04-30 18:55:57: ERROR[Main]: stack traceback: 2020-04-30 18:55:57: ERROR[Main]: [C]: in function 'get_content_id' 2020-04-30 18:55:57: ERROR[Main]: ...5.2.0-win64\bin..\games\lordofthetest\mods\mobs/api.lua:2522: in main chunk 2020-04-30 18:55:57: ERROR[Main]: [C]: in function 'dofile' 2020-04-30 18:55:57: ERROR[Main]: ....2.0-win64\bin..\games\lordofthetest\mods\mobs\init.lua:3: in main chunk 2020-04-30 18:55:57: ERROR[Main]: Check debug.txt for details.


Separator

2020-04-30 19:50:12: ERROR[Main]: mod "boats" has unsatisfied dependencies: "wool" 2020-04-30 19:50:12: ERROR[Main]: mod "bones" has unsatisfied dependencies: "lottfarming" 2020-04-30 19:50:12: ERROR[Main]: mod "creative" has unsatisfied dependencies: "lottarmor" 2020-04-30 19:50:12: ERROR[Main]: mod "darkage" has unsatisfied dependencies: "lottmapgen" "stairs" "farming" 2020-04-30 19:50:12: ERROR[Main]: mod "farming" has unsatisfied dependencies: "wool" 2020-04-30 19:50:12: ERROR[Main]: mod "lottarmor" has unsatisfied dependencies: "lottores" 2020-04-30 19:50:12: ERROR[Main]: mod "lottblocks" has unsatisfied dependencies: "stairs" "lottplants" 2020-04-30 19:50:12: ERROR[Main]: mod "lottclothes" has unsatisfied dependencies: "lottarmor" 2020-04-30 19:50:12: ERROR[Main]: mod "lottfarming" has unsatisfied dependencies: "farming" 2020-04-30 19:50:12: ERROR[Main]: mod "lottmapgen" has unsatisfied dependencies: "lottother" "lottplants" "lottfarming" "worldedit" "lottores" 2020-04-30 19:50:12: ERROR[Main]: mod "lottmobs" has unsatisfied dependencies: "lottores" "mobs" "bones" 2020-04-30 19:50:13: ACTION[Main]: World at [C:\Users\gajanan\Desktop\minetest-5.2.0-win64\bin..\worlds\Unnamed54570] 2020-04-30 19:50:13: ACTION[Main]: Server for gameid="lordofthetest" listening on 0.0.0.0:64914. 2020-04-30 19:50:33: ERROR[Main]: generateImage(): Could not load image "default_grass.png" while building texture; Creating a dummy image 2020-04-30 19:50:33: ERROR[Main]: generateImage(): Could not load image "default_grass.png" while building texture; Creating a dummy image 2020-04-30 19:50:33: ERROR[Main]: generateImage(): Could not load image "default_grass_side.png" while building texture; Creating a dummy image 2020-04-30 19:50:34: ACTION[Main]: Installed package to C:\Users\gajanan\Desktop\minetest-5.2.0-win64\games\lordofthetest 2020-04-30 19:50:35: WARNING[Server]: Undeclared global variable "armor" accessed at ...n64\bin..\games\lordofthetest\mods\lottclasses\init.lua:143 2020-04-30 19:50:35: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod '' in callback on_newplayer(): ...n64\bin..\games\lordofthetest\mods\lottclasses\init.lua:143: attempt to index global 'armor' (a nil value) 2020-04-30 19:50:35: ERROR[Main]: stack traceback: 2020-04-30 19:50:35: ERROR[Main]: ...n64\bin..\games\lordofthetest\mods\lottclasses\init.lua:143: in function <...n64\bin..\games\lordofthetest\mods\lottclasses\init.lua:128> 2020-04-30 19:50:35: ERROR[Main]: ...op\minetest-5.2.0-win64\bin..\builtin\game\register.lua:429: in function <...op\minetest-5.2.0-win64\bin..\builtin\game\register.lua:413> 2020-04-30 19:50:36: ACTION[Main]: Server: Shutting down 2020-04-30 19:50:36: ACTION[Server]: singleplayer leaves game. List of players: 2020-04-30 19:51:14: ERROR[Main]: ModError: Failed to load and run script from C:\Users\gajanan\Desktop\minetest-5.2.0-win64\bin..\games\lordofthetest\mods\mobs\init.lua: 2020-04-30 19:51:14: ERROR[Main]: Unknown node: default:obsidianbrick 2020-04-30 19:51:14: ERROR[Main]: stack traceback: 2020-04-30 19:51:14: ERROR[Main]: [C]: in function 'get_content_id' 2020-04-30 19:51:14: ERROR[Main]: ...5.2.0-win64\bin..\games\lordofthetest\mods\mobs/api.lua:2522: in main chunk 2020-04-30 19:51:14: ERROR[Main]: [C]: in function 'dofile' 2020-04-30 19:51:14: ERROR[Main]: ....2.0-win64\bin..\games\lordofthetest\mods\mobs\init.lua:3: in main chunk 2020-04-30 19:51:14: ERROR[Main]: Check debug.txt for details. 2020-04-30 19:51:14: ACTION[Main]: Server: Shutting down 2020-04-30 19:51:37: ERROR[Main]: ModError: Failed to load and run script from C:\Users\gajanan\Desktop\minetest-5.2.0-win64\bin..\games\lordofthetest\mods\mobs\init.lua: 2020-04-30 19:51:37: ERROR[Main]: Unknown node: default:obsidianbrick 2020-04-30 19:51:37: ERROR[Main]: stack traceback: 2020-04-30 19:51:37: ERROR[Main]: [C]: in function 'get_content_id' 2020-04-30 19:51:37: ERROR[Main]: ...5.2.0-win64\bin..\games\lordofthetest\mods\mobs/api.lua:2522: in main chunk 2020-04-30 19:51:37: ERROR[Main]: [C]: in function 'dofile' 2020-04-30 19:51:37: ERROR[Main]: ....2.0-win64\bin..\games\lordofthetest\mods\mobs\init.lua:3: in main chunk 2020-04-30 19:51:37: ERROR[Main]: Check debug.txt for details. 2020-04-30 19:51:37: ACTION[Main]: Server: Shutting down 2020-04-30 19:53:02: ACTION[Main]: Installed package to C:\Users\gajanan\Desktop\minetest-5.2.0-win64\mods\mobs 2020-04-30 19:54:57: ERROR[Main]: ServerError: Supplied invalid gamespec 2020-04-30 19:56:51: ERROR[AsyncWorker-1]: https://content.minetest.net/packages/Amaz/lordofthetest/releases/1841/download/ not found (Transferred a partial file) (response code 200) 2020-04-30 19:56:51: ERROR[AsyncWorker-1]: downloading "https://content.minetest.net/packages/Amaz/lordofthetest/releases/1841/download/" failed 2020-04-30 19:59:59: ACTION[Main]: Installed package to C:\Users\gajanan\Desktop\minetest-5.2.0-win64\games\lordofthetest 2020-04-30 20:01:04: ERROR[Main]: ModError: Failed to load and run script from C:\Users\gajanan\Desktop\minetest-5.2.0-win64\bin..\games\lordofthetest\mods\mobs\init.lua: 2020-04-30 20:01:04: ERROR[Main]: Unknown node: default:obsidianbrick 2020-04-30 20:01:04: ERROR[Main]: stack traceback: 2020-04-30 20:01:04: ERROR[Main]: [C]: in function 'get_content_id' 2020-04-30 20:01:04: ERROR[Main]: ...5.2.0-win64\bin..\games\lordofthetest\mods\mobs/api.lua:2522: in main chunk 2020-04-30 20:01:04: ERROR[Main]: [C]: in function 'dofile' 2020-04-30 20:01:04: ERROR[Main]: ....2.0-win64\bin..\games\lordofthetest\mods\mobs\init.lua:3: in main chunk 2020-04-30 20:01:04: ERROR[Main]: Check debug.txt for details. 2020-04-30 20:01:04: ACTION[Main]: Server: Shutting down

lumidify commented 4 years ago

Hi, Can you try deleting lines 2522 and 2571 from the file mobs/api.lua: local c_brick = minetest.get_content_id("default:obsidianbrick") and and data[vi] ~= c_brick? This seems to be a bug that has only become apparent with the new release of Minetest.

minimul commented 4 years ago

@lumidify

I commented out those lines and I was able to launch into LOTT, however, during play, the game quickly crashed with another error but I can't remember the exact error.

I just decided to build Minetest 5.1.1 along side 5.2 and I am now serving LOTT from 5.1. Working well that way.

lumidify commented 4 years ago

@minimul I'm glad that worked for you. Sorry I haven't fixed this properly yet, but I'm quite busy at the moment, so I really don't know when I'll get around to it.

Amaz1 commented 4 years ago

This should work now. Let us know if it doesn't!