Sure! That'd be great! I'd probably implement something to integrate with that into wardzones as well.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.
[Mod] Mese Portals [meseportals]
- 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]
while (true) { suffer(); }
- 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]
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.
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(); }
- ulla
- Member
- Posts: 143
- Joined: Wed Feb 04, 2015 09:22
- GitHub: IIIullaIII
- IRC: ulla
- In-game: ulla
Re: [Mod] Mese Portals [meseportals]
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
Who is online
Users browsing this forum: No registered users and 30 guests