Search found 3409 matches

Return to advanced search

Re: How to access the "giveme" pls help

Executing /giveme: (the ugly-but-works way) -- In the node definition of "tutorial:greenbox": on_punch = function(pos, node, puncher, pointed_thing) if node.name == "tutorial:greenbox" then minetest.registered_chatcommands["giveme"].func(puncher:get_player_name(), "...
by Krock
Sat Sep 22, 2018 19:59
 
Forum: Modding Discussion
Topic: How to access the "giveme" pls help
Replies: 2
Views: 53

Re: I need help with local map saving

minetest.conf.example is the documentation of possible minetest.conf settings. Minetest will create a directory in the format of "server_{address}_{port}". To make use of the world locally, you might want to use this "world.mt" file for the newly recorded map: backend = sqlite3 g...
by Krock
Sat Sep 22, 2018 17:31
 
Forum: Problems
Topic: I need help with local map saving
Replies: 2
Views: 72

Re: Respawn after dead in prison

Common ways to escape: Command "/home": Revoke the "home" privileges to make it stop happening. Death respawn in bed: Saved in "[worldname]/beds_player_spawns". Either set the minetest.conf setting "enable_bed_respawn" to "false" or use something lik...
by Krock
Sat Sep 22, 2018 13:20
 
Forum: Problems
Topic: Respawn after dead in prison
Replies: 2
Views: 65

Re: Collect server performance statistics

Yes, but this requires some changes in the C++ code to expose the statistics to Lua. Developers don't have a server to do performance testing, so an API for it was never required -> see F6 statistics. What I've seen from VE's servers is that she logs the I/O activity, number of players online (Lua A...
by Krock
Fri Sep 14, 2018 18:53
 
Forum: Modding Discussion
Topic: Collect server performance statistics
Replies: 1
Views: 63

Re: Collision cart with player damage

You're not the only one who had the idea of colliding with objects or nodes. Latter is not possible (yet): breaks up- and downhill movement due to the 45° angle which goes through the nodes below. However, colliding with objects only should be possible - but will maybe require to disable the automat...
by Krock
Fri Sep 14, 2018 18:46
 
Forum: Modding Discussion
Topic: Collision cart with player damage
Replies: 6
Views: 148

Re: is_ground_content question

What you are looking for is called minetest.get_name_from_content_id(content_id) . It is used when working with the VManip like this: local def = minetest.registered_nodes[minetest.get_name_from_content_id(data[area:index(x,y,z)])] if def and def.is_ground_content then -- check against "def&quo...
by Krock
Fri Sep 14, 2018 18:42
 
Forum: Modding Discussion
Topic: is_ground_content question
Replies: 2
Views: 82

Re: Probleme mit Version 0.4.17.1

diabolusUmarov wrote:Kann mit dem Fehler jemand was anfangen?

Ja. Zuerst pipeworks, dann mesecons aktualisieren wenn's nach ersterem nicht geht. Dieses Problem wurde schon vor gefühlt einem Monat behoben.
by Krock
Fri Sep 14, 2018 18:32
 
Forum: Deutsch
Topic: Probleme mit Version 0.4.17.1
Replies: 11
Views: 175

Re: any large scale protection mods out there ?

areas + markers (only to set up the area)
by Krock
Mon Sep 10, 2018 16:58
 
Forum: Modding Discussion
Topic: any large scale protection mods out there ?
Replies: 4
Views: 134

Re: Problem in Minetest for Android (Moto G5s)

Your device uses a graphics driver which reports wrong capabilities to Irrlicht/OpenGL. This issue is known for a long time already but a fix is yet not available.
by Krock
Sun Sep 09, 2018 16:46
 
Forum: Problems
Topic: Problem in Minetest for Android (Moto G5s)
Replies: 3
Views: 131

Re: Accessing other players' inventories

Similar forum post: viewtopic.php?f=47&t=20733
Reported issue with suggestions to work around this: https://github.com/minetest/minetest/issues/4859
by Krock
Thu Sep 06, 2018 18:24
 
Forum: Modding Discussion
Topic: Accessing other players' inventories
Replies: 3
Views: 110

Re: Server cannot start - EnvArgsEnd not found!

This means that env_meta.txt in your world folder got corrupted. Since it doesn't contain any important information you can simply delete the file and let Minetest re-create it. https://wiki.minetest.net/Troubleshooting#.E2.80.9CServerEnvironment::loadMeta.28.29:_EnvArgsEnd_not_found.E2.80.9D Pleas...
by Krock
Thu Sep 06, 2018 18:21
 
Forum: Problems
Topic: [Solved] Server cannot start - EnvArgsEnd not found!
Replies: 2
Views: 109

Re: Help mod err

You need to left-click (dig action) a "Dirt with Grass" node. If that doesn't work, then it's either not a hoe or not dirt with grass. Simple.
by Krock
Mon Sep 03, 2018 17:01
 
Forum: Old Mods
Topic: Help mod err
Replies: 9
Views: 134

Re: [Mod] D00Med mobs [dmobs]

grecaandreievich wrote:Only the a-z 0-9 characters are permitted.

Rename the mod directory to "dmobs". https://wiki.minetest.net/Installing_Mo ... ling_a_mod
by Krock
Sun Sep 02, 2018 13:20
 
Forum: WIP Mods
Topic: [Mod] D00Med mobs [dmobs]
Replies: 235
Views: 21195

Re: Get camera position

0.4.x: Hardcode it.
5.0.0-dev: https://github.com/minetest/minetest/bl ... .txt#L5442 -> `player:get_properties().eye_height`
by Krock
Sat Sep 01, 2018 18:55
 
Forum: Modding Discussion
Topic: Get camera position
Replies: 2
Views: 92

Re: What is the actual meaning ObjectRef velocity?

A server tick can be a value from the `dedicated_server_step` setting and upwards, depending on the server load. Like in regular physics, the distance (in meters or nodes) is calculated like this: ( code reference ) distance = acceleration * time * time / 2 + velocity * time or with optimized execut...
by Krock
Sat Sep 01, 2018 08:02
 
Forum: Modding Discussion
Topic: What is the actual meaning ObjectRef velocity?
Replies: 2
Views: 115

Re: abm / cactus / damage

5) "on_collide" callback for players and entities I think you forgot the part with "Lua function call performance" and "redundant callback call flood". It's not like this was requested before, or anything like that . (sarcasm) Letting the engine handle this internally ...
by Krock
Fri Aug 31, 2018 16:15
 
Forum: General Discussion
Topic: abm / cactus / damage
Replies: 16
Views: 478

Re: abm / cactus / damage

@Hamlet, @bosapara: Some additions in regard to the best performance, as there are currently four possibilities to do this: 1) ABMs Pro: Is triggered for each cactus node, can damage players using `minetest.get_objects_inside_radius(pos, 1)` Contra: Somewhat slow and triggers on irrelevant nodes. Do...
by Krock
Thu Aug 30, 2018 18:42
 
Forum: General Discussion
Topic: abm / cactus / damage
Replies: 16
Views: 478

Re: How to coordinate player physics modifications from seve

- per-mod modifiers so that they can be registered and removed without side-effects -> controversial PR
by Krock
Thu Aug 30, 2018 18:21
 
Forum: Modding Discussion
Topic: How to coordinate player physics modifications from mods
Replies: 9
Views: 213

Re: perlin noise problem

Took me a while for debugging, but finally found the reason. It's the server env check here which lets the function return `nil` when the server is not ready yet.
To solve this issue, use a callback to run this function (such as minetest.after).
by Krock
Thu Aug 30, 2018 18:14
 
Forum: Modding Discussion
Topic: perlin noise problem
Replies: 3
Views: 83

Re: [Mod] [Beta] Drug Wars [drug_wars]

Interesting concept. How would the cops collect the drugs when they caught a dealer? Hitting them with a machete could (for example) remove a certain amount of drugs from the punched player's inventory.
by Krock
Thu Aug 30, 2018 14:24
 
Forum: WIP Mods
Topic: [Mod] [Beta] Drug Wars [drug_wars]
Replies: 7
Views: 351

Re: Cannot retrieve inventory location using "player:"

LorenzoVulcan wrote:Thanks! Is there a way to delete detached inventories after the formspec has been closed?

No, but you could re-use the inventory on the same player (override the list contents). Removing detached inventories is not implemented yet.
by Krock
Wed Aug 29, 2018 15:03
 
Forum: Modding Discussion
Topic: Cannot retrieve inventory location using "player:"
Replies: 4
Views: 106

Re: Cannot retrieve inventory location using "player:"

You can only show the inventory of the current player because the other inventory contents are not broadcasted to the other players. If this were possible in 0.4.x, then it would mean a huge security issue when it comes to moving stacks from one inventory to another because there are no callbacks to...
by Krock
Wed Aug 29, 2018 14:26
 
Forum: Modding Discussion
Topic: Cannot retrieve inventory location using "player:"
Replies: 4
Views: 106

Re: Obsolete? advspawning, animals, mobf_core, animalmateria

Searched for a while (thanks crappy forum search engine) until I found out that it was you who asked a very similar question which I had in mind: https://forum.minetest.net/viewtopic.php?p=326746#p326746 The situation is still the same; minetest-mods could maybe pick them up, but only a few people a...
by Krock
Wed Aug 29, 2018 09:17
 
Forum: General Discussion
Topic: Obsolete? advspawning, animals, mobf_core, animalmaterials
Replies: 4
Views: 241

Re: [mod] Bike for Minetest [bike]

Works well here.
Image
by Krock
Tue Aug 28, 2018 15:49
 
Forum: Mod Releases
Topic: [mod] Bike for Minetest [1.1.1] [bike]
Replies: 80
Views: 2058

Re: [Mod] LATE [late]

This library looks already very nice - especially the effort for the documentation. I hope it provides everything what a new mod would need, otherwise it's just yet another library. Obligatory xkcd.
by Krock
Tue Aug 28, 2018 08:23
 
Forum: WIP Mods
Topic: [Mod] LATE [late]
Replies: 13
Views: 637
Next

Return to advanced search