Search found 3555 matches

Return to advanced search

Re: A good idea to improve the sub game loading time.

So we need some stats about how long a file opening operation takes (Windows with path hooks, and Linux). An option would be to save them into an sqlite3 database, but there you'll have to deal with the row lookup time. I proposed the same idea a few year ago, but can't find the log entry. However, ...
by Krock
Mon Jun 24, 2019 17:01
 
Forum: Feature Discussion
Topic: A good idea to improve the sub game loading time.
Replies: 9
Views: 194

Re: I can't update Minetest to 5.0.1, need help

So what if you uninstall Minetest 0.4.16 and minetest-data before installing the 5.0.1 package on top of the left over configuration files?
by Krock
Sun Jun 23, 2019 16:50
 
Forum: Problems
Topic: I can't update Minetest to 5.0.1, need help [solved]
Replies: 4
Views: 117

Re: Search Minetest mods!

Somehow the "scarlet" mod imported data from "xocean". All fields except the title were copied over. Thanks for reporting. Please notify me when you find another mod with this issue. EDIT: Apparently the link verification does not work correctly for this particular bitbucket repo...
by Krock
Sun Jun 23, 2019 12:30
 
Forum: Minetest-related projects
Topic: Search Minetest mods!
Replies: 71
Views: 15789

Re: Don't send me back to the index page on login/registrati

This is phpBB (forum software) related. Maybe an update would help, but depending on the custom changes here it might get very time-consuming to do that. > So I ended up using my back button a bazillion times to get back to the topic... You can also press the back button for a long time, so that the...
by Krock
Thu Jun 20, 2019 17:16
 
Forum: General Discussion
Topic: Don't send me back to the index page on login/registration
Replies: 2
Views: 112

Re: I need to have a slime block

Trampolines only have a `bouncy` group set, which does not affect the node physics at all. I doubt you can build a TNT thrower in Minetest yet, unless you want it downwards.
by Krock
Sun Jun 16, 2019 08:10
 
Forum: Modding Discussion
Topic: I need to have a slime block
Replies: 9
Views: 324

Re: A way to change the death form?

You can modify the strings, but in C++. The only Lua solution is to write a CSM similar to https://github.com/minetest/minetest/bl ... rmspec.lua . The catch here is that the server can yet not distribute CSMs to the clients, so each would have to install it manually.
by Krock
Mon Jun 10, 2019 17:33
 
Forum: General Discussion
Topic: A way to change the death form?
Replies: 2
Views: 138

Re: voxel_manip and get_node

Mixing get_node and set_node with VManip functions is not great as you might undo changes by writing the data using VManip. The rotation is defined using the u8 param2 for each node which has a paramtype2 of wallmounted, facedir, degrotate, colorwallmounted and colorfacedir. The latter two are a mix...
by Krock
Mon Jun 10, 2019 06:50
 
Forum: Modding Discussion
Topic: voxel_manip and get_node
Replies: 2
Views: 96

Re: My server isn't getting announced.

Does this change anything?
Code: Select all
bind_address = 127.0.0.1
server_address = <server public IP>

It might take a few minutes until the server is shown in the list, at least I can see that it announces:
2019-06-09 12:10:55: ACTION[Server]: Announcing to servers.minetest.net
by Krock
Sun Jun 09, 2019 18:17
 
Forum: Problems
Topic: [solved] My server isn't getting announced.
Replies: 6
Views: 197

Re: Minetest on Linux Mint 19.1 - Error while starting game

@meise21: That's great to hear. Please adjust the main post title so that it has the [Solved] prefix/tag.
by Krock
Sat Jun 08, 2019 15:01
 
Forum: Problems
Topic: Minetest on Linux Mint 19.1 - Error while starting game
Replies: 4
Views: 241

Re: Minetest on Linux Mint 19.1 - Error while starting game

It's a good sign if Minetest does not respond while creating the server, as this means that it floods the cache with fresh media. Either that or the mods locked up themselves in an infinite loop. Find out more by running Minetest from the terminal, or open ~/.minetest/debug.txt to check out what's h...
by Krock
Fri Jun 07, 2019 18:45
 
Forum: Problems
Topic: Minetest on Linux Mint 19.1 - Error while starting game
Replies: 4
Views: 241

Re: how to update minetest to 0.4.17 in LXDE?

Late to the party. Assuming Lubuntu as distro. FYI LXDE can be installed on any distribution. There's how you'd do it with the stable PPA. Even on Debian you can use them, but it will be a bit tricky. 1) Open a terminal 2) sudo add-apt-repository ppa:minetestdevs/stable 3) sudo apt update If Minetes...
by Krock
Fri Jun 07, 2019 18:38
 
Forum: General Discussion
Topic: how to update minetest to 0.4.17 in LXDE?
Replies: 10
Views: 507

Re: Rotate towards 3d vector

Since the X axis is flipped in Minetest, you need to inverse this axis: yaw = math.atan2(-my_vector.x, my_vector.z) -- radians! And pitch will be probably calculated similar to this: pitch = math.atan2(-my_vector.y, math.sqrt(my_vector.x^2 + my_vector.z^2)) roll = 0 I'm not familiar with the rotatio...
by Krock
Tue Jun 04, 2019 19:35
 
Forum: Modding Discussion
Topic: Rotate towards 3d vector
Replies: 2
Views: 150

Re: Can I use dofile instead of require somehow?

So allowing require allows for code execution not only of other Lua libs but C (and others?) as well? As soon the function `int luaopen_MYLIBRARY(lua_State *L)` is exported to the dynamic library/Lua, it's possible to load it from Lua using `require` and call functions which were added inside that ...
by Krock
Mon Jun 03, 2019 19:30
 
Forum: Modding Discussion
Topic: [Solved] Can I use dofile instead of require somehow?
Replies: 8
Views: 223

Re: Can I use dofile instead of require somehow?

If there was a way, the mod security would be kinda pointless because any mod could just run code from any C library. Note that C code cannot be protected by Minetest, thus `require` has to be guarded in any case. There's no sane workaround for this. I think there are still ways to leak the insecure...
by Krock
Mon Jun 03, 2019 18:29
 
Forum: Modding Discussion
Topic: [Solved] Can I use dofile instead of require somehow?
Replies: 8
Views: 223

Re: Event when node comes into view

The server does not know when players can see through a node. The line-of-sight API function for server-side mods is based on the assumption that it's possible to see though everything until there's a pointable selection box.

In short: No, that's not possible.
by Krock
Sun Jun 02, 2019 11:45
 
Forum: Feature Discussion
Topic: Event when node comes into view
Replies: 2
Views: 156

Re: [Mod] Naval Battle ... lazznav

Haha, this is a great idea! I didn't expect to see somebody to create such a game with formspecs. Tetris already exists, but this is on a whole different level of complexity. Had a quick look at the code, and I wonder: did this work by the first try? Long lines with multiple actions tend to be harde...
by Krock
Sun Jun 02, 2019 11:30
 
Forum: WIP Mods
Topic: [Mod] Naval Battle ... lazznav
Replies: 2
Views: 205

Re: Whats wrong with this code?

rubenwardy gave me this code but he said it was untested, I don’t know enough about this coding language to properly debug it. Thanks. Well then, I guess that's my new identity now. ¯\_(ツ)_/¯ http://irc.minetest.net/minetest/2019-05-30#i_5549623 Indeed, that should be not player: . It's a mistake I...
by Krock
Fri May 31, 2019 08:56
 
Forum: General Discussion
Topic: Whats wrong with this code?
Replies: 17
Views: 405

Re: [question] sfinv modding questions

I only want items with a specific group to be allowed in these slots. And I only want items with the group "ring" to be allowed in the slots First is possible, latter done by the rule given for the first request. Since Minetest 5.0.0 you can use the callback minetest.register_allow_player...
by Krock
Sat May 25, 2019 06:42
 
Forum: Modding Discussion
Topic: [question] sfinv modding questions
Replies: 3
Views: 238

Re: v5's new XYZ entity rotation

- To the devs: Why wasn't this feature more properly announced? Its not even in the changelog. A lot has changed in 5.0.0, so some changes were forgotten in the changelog. - do you know of any more mods using this? Not yet, but check out these videos: https://vimeo.com/320857098 https://forum.minet...
by Krock
Thu May 23, 2019 17:54
 
Forum: Modding Discussion
Topic: v5's new XYZ entity rotation
Replies: 9
Views: 380

Re: Yaw and velocity

To rotate it automatically into the movement direction: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L5683 Smoothen it: https://github.com/minetest/minetest/blob/master/doc/lua_api.txt#L5687 -- entity definition ..... automatic_face_movement_dir = 0, automatic_face_movement_max_r...
by Krock
Wed May 22, 2019 17:25
 
Forum: Modding Discussion
Topic: Yaw and velocity
Replies: 5
Views: 194

Re: Mod for expose items

by Krock
Mon May 20, 2019 17:10
 
Forum: Modding Discussion
Topic: Mod for expose items
Replies: 2
Views: 136

Re: Server can't find certain mods

Does the mod "modname" exist? Yes: If it contains a `mod.conf` file, it must contain the line "name = modname" No: Remove the line "load_mod_modname = true" from your `world.mt` file (world directory) Do you have the same issue with all other mods? Yes: Check what happe...
by Krock
Mon May 20, 2019 16:28
 
Forum: Problems
Topic: Server can't find certain mods
Replies: 2
Views: 203

Re: Not finding diamonds down to -550

Here's the sauce to the newest MTG version . Since (roughly) 5.0.0, diamonds now only generate below -1024m due to the large caves and tunnels created by the mapgen (except mgv6). This means that you can still find diamonds above these limits, but only in mapblocks which were generated before Minet...
by Krock
Sat May 18, 2019 14:28
 
Forum: Problems
Topic: Not finding diamonds down to -550
Replies: 5
Views: 265

Re: tnt not working on hosted server!

1) Close Minetest
2) Open minetest.conf
3) Correct the setting line to `enable_tnt = true` (not tnt_enable)
4) Open Minetest and join the world

https://github.com/minetest/minetest_ga ... es.txt#L37
by Krock
Sun Mar 10, 2019 18:00
 
Forum: Problems
Topic: tnt not working on hosted server!
Replies: 4
Views: 197

Re: Reset world on live server

How about using the `dummy` database backend? You could then just delete the currently active mapblocks.
by Krock
Sun Mar 03, 2019 17:36
 
Forum: Modding Discussion
Topic: Reset world on live server
Replies: 3
Views: 172
Next

Return to advanced search