[Mod] Mese Portals [meseportals]

User avatar
Piezo_
Member
Posts: 219
Joined: Fri Jul 20, 2018 21:36
GitHub: is proprietary I use NotABug
Location: (x,y,z)

Re: [Mod] Mese Portals [meseportals]

by Piezo_ » Post

SpaghettiToastBook wrote:I suppose you can add something like meseportals.can_connect(from, to) and let mods override it. I can try to write that and send a PR if you'd be interested.
Sure! That'd be great! I'd probably implement something to integrate with that into wardzones as well.
while (true) { suffer(); }

User avatar
Piezo_
Member
Posts: 219
Joined: Fri Jul 20, 2018 21:36
GitHub: is proprietary I use NotABug
Location: (x,y,z)

Re: [Mod] Mese Portals [meseportals]

by Piezo_ » Post

Update

This actually happened a couple of days ago (sorry for the late notice), but I've merged the changes SpaghettiToastBook and I discussed, which adds meseportals.can_connect, and allows other mods to modify it.
while (true) { suffer(); }

User avatar
ulla
Member
Posts: 143
Joined: Wed Feb 04, 2015 09:22
GitHub: IIIullaIII
IRC: ulla
In-game: ulla

Re: [Mod] Mese Portals [meseportals]

by ulla » Post

HI this error crashed my server

Code: Select all

2022-06-16 16:34:36: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'meseportals' in callback environment_Step(): /home/ulla/.minetest/mods/meseportals/node_behaviors.lua:38: bad argument #1 to 'pairs' (table expected, got number)
2022-06-16 16:34:36: ERROR[Main]: stack traceback:
2022-06-16 16:34:36: ERROR[Main]: 	[C]: in function 'pairs'
2022-06-16 16:34:36: ERROR[Main]: 	/home/ulla/.minetest/mods/meseportals/node_behaviors.lua:38: in function 'globalstep'
2022-06-16 16:34:36: ERROR[Main]: 	/home/ulla/.minetest/mods/monitoring/builtin/globalstep.lua:32: in function </home/ulla/.minetest/mods/monitoring/builtin/globalstep.lua:24>
2022-06-16 16:34:36: ERROR[Main]: 	/usr/share/minetest/builtin/game/register.lua:429: in function </usr/share/minetest/builtin/game/register.lua:415>
X4cna2d4UqsiawIzUumDgPoYNx3JLGII

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests