[mod] Minetest Systemd (API) [minetest_systemd]

User avatar
Linuxdirk
Member
 
Posts: 1717
Joined: Wed Sep 17, 2014 11:21
Location: Germany
In-game: Linuxdirk

Re: [mod] Minetest Systemd (API) [minetest_systemd]

by Linuxdirk » Sun Dec 09, 2018 15:11

Mantar wrote:What trolling? Linuxdirk only posted a silly image,

Which is btw. absolutely correct according to one of systemd’s manpages.

This just show the complexity of systemd and that is is not a good idea to copy a system like this for Minetest.

Mantar wrote:I seriously doubt anyone's going to get mad about it.

Except Mr. No Fun Allowed.
 

User avatar
Piezo_
Member
 
Posts: 161
Joined: Fri Jul 20, 2018 21:36
Location: Chaotic Good
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

Re: [mod] Minetest Systemd (API) [minetest_systemd]

by Piezo_ » Sun Dec 09, 2018 20:10

Linuxdirk wrote:Except Mr. No Fun Allowed.


Ok, please, stop. There's a place for fun here, and it's this board.

Any comments not about the API will be ignored by me, and possibly dealt with by the moderators.
while (true) { suffer(); }
 

User avatar
Piezo_
Member
 
Posts: 161
Joined: Fri Jul 20, 2018 21:36
Location: Chaotic Good
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

Re: [mod] Minetest Systemd (API) [minetest_systemd]

by Piezo_ » Fri Dec 21, 2018 09:46

Update
  • minetestd.utils.check_item_match now understands minetest:node, which matches all nodes.
  • Added minetestd.register_on_teleportplayer(function(player, old_pos, new_pos)). If the function returns true (er, technically, non-nil), then the teleport fails.
  • Moved some code around in playerctl.lua. Tell me if I broke something.
Unfortunately, this update does require a full restart.
while (true) { suffer(); }
 

User avatar
Piezo_
Member
 
Posts: 161
Joined: Fri Jul 20, 2018 21:36
Location: Chaotic Good
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

Re: [mod] Minetest Systemd (API) [minetest_systemd]

by Piezo_ » Wed Jan 09, 2019 20:54

Update
  • Added a way for services to list other services as dependencies
  • added minetestd.register_on_killplayer(killer, victim, item)
while (true) { suffer(); }
 

User avatar
Piezo_
Member
 
Posts: 161
Joined: Fri Jul 20, 2018 21:36
Location: Chaotic Good
GitHub: is proprietary I use NotABug
In-game: Piezo_ or TheRealPiezo_

Re: [mod] Minetest Systemd (API) [minetest_systemd]

by Piezo_ » Wed Jan 16, 2019 23:00

Update
  • GravityCTL has become deprecated in favor of PhysicsCTL, which now handles speed, jump, gravity, and more if you desire.
  • Added minetestd.utils.get_light_info(pos), which returns a table with useful info about the light at the current position.
  • Added minetestd.math.roundpos, that rounds position to what node a position is in.
  • Added minetestd.playerctl.register_metatable_change(name, doChange(metatable)), which can be used to queue changes to the player metatable once it's available.
  • Added chat commands to change default gravity, speed and jump server-wide (need privilege: setphysics)
  • Added nearly-complete documentation

A restart is required for this update
while (true) { suffer(); }
 

Previous

Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 3 guests