I'm loving this mod! :)
There's a bug with the sling shot though. Crashes when when I hit some things but not others. Seems to be consistent on what crashes it and what doesn't. Hitting protected blocks seem to crash it consistently. Some mobs seem to crash it too. Not sure how consistently, but one produced this warning which may be helpful. I hit a zombie that was walking away after the first hit (correction - even without the second hit it crashes after the zombie starts walking away. Added more of the log from a single hit below)
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
00:21:58: WARNING: Undeclared global variable "pos" accessed at /usr/share/games/minetest/mods/hook/init.lua:88
2015-12-20 00:21:59: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-12-20 00:21:59: ERROR[main]: Lua: Runtime error from mod '*builtin*' in callback luaentity_Step(): Double fault error from mod '*builtin*' in callback luaentity_Punch(): error in error handling
2015-12-20 00:21:59: ERROR[main]: stack traceback:
2015-12-20 00:21:59: ERROR[main]: [C]: in function 'punch'
2015-12-20 00:21:59: ERROR[main]: /usr/share/games/minetest/mods/cme/creatures/functions.lua:426: in function 'on_step'
2015-12-20 00:21:59: ERROR[main]: /usr/share/games/minetest/mods/cme/creatures/register.lua:208: in function </usr/share/games/minetest/mods/cme/creatures/register.lua:203>
In thread 7f669a8fe780:
/tmp/buildd/minetest-0.4.13+repack/src/server.cpp:511: void Server::step(float): A fatal error occurred: Lua: Runtime error from mod '*builtin*' in callback luaentity_Step(): Double fault error from mod '*builtin*' in callback luaentity_Punch(): error in error handling
stack traceback:
[C]: in function 'punch'
/usr/share/games/minetest/mods/cme/creatures/functions.lua:426: in function 'on_step'
/usr/share/games/minetest/mods/cme/creatures/register.lua:208: in function </usr/share/games/minetest/mods/cme/creatures/register.lua:203>
I haven't looked too hard at this, but here's the output from hitting a protected block I believe. Hopefully it will have more meaning to you then it does to me.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
- Code: Select all
2015-12-19 23:37:40: ACTION[ServerThread]: izzyb uses hook:slingshot, pointing at [nothing]
2015-12-19 23:37:41: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-12-19 23:37:41: ERROR[main]: Runtime error from mod '*builtin*' in callback environment_Step(): Double fault error from mod '*builtin*' in callback luaentity_Punch(): error in error handling
2015-12-19 23:37:41: ERROR[main]: stack traceback:
2015-12-19 23:37:41: ERROR[main]: [C]: in function 'punch'
2015-12-19 23:37:41: ERROR[main]: /usr/share/games/minetest/mods/hook/init.lua:81: in function </usr/share/games/minetest/mods/hook/init.lua:70>
2015-12-19 23:37:41: ERROR[main]: /usr/share/games/minetest/builtin/game/register.lua:355: in function </usr/share/games/minetest/builtin/game/register.lua:335>
In thread 7f6c3d4f0780:
/tmp/buildd/minetest-0.4.13+repack/src/server.cpp:511: void Server::step(float): A fatal error occurred: Runtime error from mod '*builtin*' in callback environment_Step(): Double fault error from mod '*builtin*' in callback luaentity_Punch(): error in error handling
stack traceback:
[C]: in function 'punch'
/usr/share/games/minetest/mods/hook/init.lua:81: in function </usr/share/games/minetest/mods/hook/init.lua:70>
/usr/share/games/minetest/builtin/game/register.lua:355: in function </usr/share/games/minetest/builtin/game/register.lua:335>
Debug stacks:
DEBUG STACK FOR THREAD 7f6c05fec700:
#0 virtual void* UpdateThread::Thread()
DEBUG STACK FOR THREAD 7f6c077fe700:
#0 virtual void* EmergeThread::Thread()
(Leftover data: #1 MapBlock* ServerMap::loadBlock(v3s16))
(Leftover data: #2 void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
(Leftover data: #3 void ItemStack::deSerialize(std::istream&, IItemDefManager*))
DEBUG STACK FOR THREAD 7f6c07fff700:
#0 virtual void* UpdateThread::Thread()
DEBUG STACK FOR THREAD 7f6c25cee700:
#0 virtual void* ServerThread::Thread()
#1 void Server::Receive()
(Leftover data: #2 virtual void ServerEnvironment::step(float))
(Leftover data: #3 void RemoteClient::GetNextBlocks(ServerEnvironment*, EmergeManager*, float, std::vector<PrioritySortedBlockTransfer>&))
(Leftover data: #4 void ItemStack::serialize(std::ostream&) const)
(Leftover data: #5 bool getCraftingResult(Inventory*, ItemStack&, std::vector<ItemStack>&, bool, IGameDef*))
DEBUG STACK FOR THREAD 7f6c3d4f0780:
#0 int main(int, char**)
#1 void Server::step(float)
(Leftover data: #2 virtual void ClientEnvironment::step(float))
(Leftover data: #3 void Client::Receive())
(Leftover data: #4 void Client::ProcessData(NetworkPacket*))
(Leftover data: #5 void ItemStack::deSerialize(std::istream&, IItemDefManager*))
Aborted
Hope it helps.