[mod] Pullable carts [1.3][pull_cart]

ShadMOrdre
Member
Posts: 1118
Joined: Mon Dec 29, 2014 08:07
Location: USA

Re: [mod] Pullable carts [1.3][pull_cart]

by ShadMOrdre » Post

I just downloaded this today.

I'm getting an error regarding self.object:get_children.

Code: Select all

2021-06-10 22:16:38: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'pull_cart' in callback luaentity_Activate(): ...er\bin\..\games\gal_lite\mods\lib_new\pull_cart\init.lua:164: attempt to call method 'get_children' (a nil value)
2021-06-10 22:16:38: ERROR[Main]: stack traceback:
2021-06-10 22:16:38: ERROR[Main]: 	...er\bin\..\games\gal_lite\mods\lib_new\pull_cart\init.lua:164: in function '_remove_children'
2021-06-10 22:16:38: ERROR[Main]: 	...er\bin\..\games\gal_lite\mods\lib_new\pull_cart\init.lua:126: in function '_update_cargo'
2021-06-10 22:16:38: ERROR[Main]: 	...er\bin\..\games\gal_lite\mods\lib_new\pull_cart\init.lua:236: in function <...er\bin\..\games\gal_lite\mods\lib_new\pull_cart\init.lua:208>
I just added the mod to my own custom game, since pull_carts has no dependencies. Any ideas what might be going on?

Win10, MT v5.3.0.


Shad

Thomas-S
Member
Posts: 115
Joined: Sun Sep 06, 2015 12:23
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S
Location: Bavaria, Germany

Re: [mod] Pullable carts [1.3][pull_cart]

by Thomas-S » Post

The get_children function is only available starting with Minetest 5.4.0.

User avatar
LRV
Helper
Posts: 378
Joined: Mon Dec 19, 2016 17:29
GitHub: Mooncarguy
In-game: Mooncarman Mooncarguy

Re: [mod] Pullable carts [1.3][pull_cart]

by LRV » Post

Skamiz Kazzarch wrote:
Sun May 07, 2023 09:09
Mods I would like to have moved:
viewtopic.php?f=9&t=26400
Topic fulfills the requirements and was therefore moved to 'Mod Releases'.
This is a cool signature. :)

Post Reply

Who is online

Users browsing this forum: No registered users and 18 guests