[mod-pack] water critters (for mobs_redo) [mobs_water]

blert2112
Member
 
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: [mod-pack] water critters (for mobs_redo) [mobs_water]

by blert2112 » Tue Sep 29, 2015 19:28

Updated
Added mobs_redo 1.17 new reach option.
 

zzantozz
Member
 
Posts: 31
Joined: Sun Sep 06, 2015 23:54

Re: [mod-pack] water critters (for mobs_redo) [mobs_water]

by zzantozz » Sat Oct 24, 2015 18:44

I'm getting a crash that seems turtle-related. Someone was messing with a turtle that was on the beach--are they supposed to be out of the water?--and this happened:
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-10-24 13:42:33: ERROR[main]: UNRECOVERABLE error occurred. Stopping server. Please fix the following error:
2015-10-24 13:42:33: ERROR[main]: Lua: Runtime error from mod 'mobs_turtles' in callback luaentity_Rightclick(): ...server-2/.minetest/mods/mobs_water/mobs_turtles/init.lua:54: attempt to call field 'set_velocity' (a nil value
2015-10-24 13:42:33: ERROR[main]: stack traceback:
2015-10-24 13:42:33: ERROR[main]:       ...server-2/.minetest/mods/mobs_water/mobs_turtles/init.lua:54: in function <...server-2/.minetest/mods/mobs_water/mobs_turtles/init.lua:52>

In thread 7f6b5276a7c0:
/build/minetest-xOOHPg/minetest-0.4.13/src/server.cpp:511: void Server::step(float): A fatal error occurred: Lua: Runtime error from mod 'mobs_turtles' in callback luaentity_Rightclick(): ...server-2/.minetest/mods/mobs_water/
stack traceback:
        ...server-2/.minetest/mods/mobs_water/mobs_turtles/init.lua:54: in function <...server-2/.minetest/mods/mobs_water/mobs_turtles/init.lua:52>
Debug stacks:
DEBUG STACK FOR THREAD 7f6b3f7fe700:
#0  virtual void* EmergeThread::Thread()
(Leftover data: #1  MapBlock* ServerMap::loadBlock(v3s16))
(Leftover data: #2  void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
DEBUG STACK FOR THREAD 7f6b3ffff700:
#0  virtual void* ServerThread::Thread()
#1  void Server::Receive()
(Leftover data: #2  void Server::SendBlocks(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 7f6b5276a7c0:
#0  int main(int, char**)
#1  Dedicated server branch
#2  void dedicated_server_loop(Server&, bool&)
#3  void Server::step(float)
 

User avatar
duane
Member
 
Posts: 776
Joined: Wed Aug 19, 2015 19:11
GitHub: duane-r

Re: [mod-pack] water critters (for mobs_redo) [mobs_water]

by duane » Sat Oct 24, 2015 20:42

zzantozz wrote:2015-10-24 13:42:33: ERROR[main]: Lua: Runtime error from mod 'mobs_turtles' in callback luaentity_Rightclick(): ...server-2/.minetest/mods/mobs_water/mobs_turtles/init.lua:54: attempt to call field 'set_velocity' (a nil value


Tenplus1 made some changes to Mobs Redo recently. The set_velocity function is no longer a method of each object, which I suspect is causing your error here. The function, by the same name, is global now, so you can fix it by removing the "[mob_name]." from in front of the function call. This was an issue in two of my mods.

If there were actual releases, you could just go to github and get an older version of the api. Failing that, you could use "git reset --hard <commit-hash>" to reset to an earlier version, but it's probably easier to fix the critters code.
 

blert2112
Member
 
Posts: 244
Joined: Sat Apr 25, 2015 04:05
GitHub: blert2112

Re: [mod-pack] water critters (for mobs_redo) [mobs_water]

by blert2112 » Sun Oct 25, 2015 01:34

Updated
zzantozz wrote:I'm getting a crash that seems turtle-related. Someone was messing with a turtle that was on the beach--are they supposed to be out of the water?--and this happened: ...

Should be fixed now. Sorry about that. I am a bit behind as I have been hard at work building another reef aquarium.
The mobs_turtle mod contains two turtles, a large one and a small one. The large one is a sea turtle and, no, it should not be on land. The small one is a land turtle. Since you got this error the player was messing with a land turtle as only it has the function that was borked.
 

User avatar
mahmutelmas06
Member
 
Posts: 355
Joined: Mon Mar 02, 2015 13:10
GitHub: mahmutelmas06
IRC: mahmutelmas06
In-game: masum

Re: [mod-pack] water critters (for mobs_redo) [mobs_water]

by mahmutelmas06 » Tue Jan 26, 2016 22:52

Sharks can swim on sand if you place its egg :D
My Mods:

Beverage
 

User avatar
SaKeL
Member
 
Posts: 193
Joined: Tue Apr 14, 2015 18:39
GitHub: JurajVajda
IRC: SaKeL
In-game: SaKeL

Re: [mod-pack] water critters (for mobs_redo) [mobs_water]

by SaKeL » Fri Jan 29, 2016 17:04

This mod looks very nice, the models and animations are well done! I'm still getting flying mobs after i punch them, they fly in to the sky like a balloons. Hope the bugs can get fixed so it's more rady for production ;)
Follow my Collection for more Minetest creations found on my server or join the Community for the latest Server updates and news.

SaKeL
 

amadin
Member
 
Posts: 471
Joined: Tue Jun 16, 2015 16:23
GitHub: Amadin

Re: [mod-pack] water critters (for mobs_redo) [mobs_water]

by amadin » Fri Feb 19, 2016 12:07

SaKeL wrote:This mod looks very nice, the models and animations are well done! I'm still getting flying mobs after i punch them, they fly in to the sky like a balloons. Hope the bugs can get fixed so it's more rady for production ;)

Write here about this https://github.com/blert2112/mobs_water/issues/3
 

JingoJagget
Member
 
Posts: 25
Joined: Tue Mar 01, 2016 02:42

Re: [mod-pack] water critters (for mobs_redo) [mobs_water]

by JingoJagget » Sat Mar 05, 2016 03:33

Can any of these be tamed? A cute pet turtle would be great. :3
I'm usually not-so-grump. :3
 

Previous

Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 9 guests

cron