Search found 235 matches

Return to advanced search

Re: World Storage System

See here: doc/world_format.txt

You might be able to reuse some code from util/minetestmapper.py.
by kahrl
Fri Oct 28, 2016 12:33
 
Forum: Minetest-Related
Topic: World Storage System
Replies: 4
Views: 2041

Re: mapgen stops at 2000, but its suppost to at 31000... why

I am randomly guessing that some mod or subgame that you ran in the past executed a line like this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
minetest.setting_set("map_generation_limit", "2000")

(an example of the old classic "using global state to manage a local problem" problem)
by kahrl
Sun Sep 04, 2016 21:03
 
Forum: Minetest Problems
Topic: #SOLVED mapgen stops at 2000, but its suppost to at 31000
Replies: 18
Views: 3964

Re: Nametag coordinates.

I was about to write that I'm guessing that the camera offset is the problem. But paramat ninja'd me ;-) If you want to see a method that does something with nametags while taking camera offset into account, look at Mapper::updateActiveMarkers() in minimap.cpp. In particular note the line v3s16 pos ...
by kahrl
Thu Aug 25, 2016 03:10
 
Forum: Minetest Engine
Topic: Nametag coordinates.
Replies: 8
Views: 4215

Re: Attached Particle Spawners and associated questions

Thanks kahrl. Do you also know whether there is a function for getting userdata fields from a table, similar to getintfield etc.? Use lua_getfield to retrieve the field value and push it to the Lua stack, then a function like ObjectRef::checkobject or LuaItemStack::checkobject (etc...) to convert i...
by kahrl
Thu Aug 04, 2016 20:00
 
Forum: Minetest Engine
Topic: Attached Particle Spawners and associated questions
Replies: 5
Views: 2753

Re: Attached Particle Spawners and associated questions

ad 1: You would change the sending code (Server::SendAddParticleSpawner in server.cpp) and the receiving code (Client::handleCommand_AddParticleSpawner in network/clientpackethandler.cpp). Make sure to wrap the receiving part in a try-catch block so that clients remain compatible with old servers. a...
by kahrl
Thu Aug 04, 2016 08:17
 
Forum: Minetest Engine
Topic: Attached Particle Spawners and associated questions
Replies: 5
Views: 2753

Re: [0.4.14] Spring release, announcing feature freeze

The release has been delayed due to a blocker bug. Current target is the 14th, but the release might happen earlier or later depending on when the bug can be fixed.
by kahrl
Thu May 12, 2016 04:00
 
Forum: Minetest News
Topic: [0.4.14] Spring release, announcing feature freeze
Replies: 173
Views: 92879

Re: RealBadAngel

It's so hard to express my thoughts in words. But I'll try. This makes me so sad. I will miss you, Maciej... ... as the graphics wizard. Nobody else was as good and prolific at creating new shaders, drawtypes, or other graphics features for Minetest. And I think you were the only one (besides celero...
by kahrl
Fri Mar 25, 2016 01:21
 
Forum: Minetest General
Topic: RealBadAngel
Replies: 76
Views: 18692

Re: Adding the ability to have 360 degree viewing range?

You could try removing the following line in camera.cpp: fov_degrees = MYMIN(fov_degrees, 170.0); However... The result will probably not be what you expect. The FOV is primarily used to create the projection matrix using the following formula: https://www.opengl.org/discussion_boards/attachment.php...
by kahrl
Fri Feb 26, 2016 07:08
 
Forum: Minetest Features
Topic: Adding the ability to have 360 degree viewing range?
Replies: 1
Views: 679

Re: ABM gets executed even if node(block) is not longer in g

Yes, this is a bug / missing feature in CNodeDefManager::set() which is called when registering or overriding a node. There is a data structure that maps each group to a list of nodes in that group. CNodeDefManager::set() adds the node to each group it is in, but it doesn't remove it from groups it ...
by kahrl
Sun Jan 10, 2016 16:35
 
Forum: Minetest Problems
Topic: ABM gets executed even if node(block) is not longer in group
Replies: 1
Views: 694

Re: Minetest server error "Failed to bind socket ..."

Does the hostname you set bind_address to (hispagnu.no-ip.org) resolve to an IP address that is bound to a network interface on your computer?

If your computer only has a private IP address, you will need to set bind_address to that (or leave it empty).
by kahrl
Sat Oct 10, 2015 18:08
 
Forum: Minetest Problems
Topic: Minetest server error "Failed to bind socket ..."
Replies: 7
Views: 2966

Re: VR/binocular/SBS view for Google Cardboard/Oculus Rift/e

"3d_mode = sidebyside" may be the option you seek (and perhaps playing around with 3d_parallax_strength). You will need to modify draw_sidebyside_3d_mode() in drawscene.cpp if you want more complex custom camera positioning. I just noticed that this mode causes some HUD/formspec issues, th...
by kahrl
Sat Apr 25, 2015 17:40
 
Forum: Minetest Engine
Topic: VR/binocular/SBS view for Google Cardboard/Oculus Rift/etc
Replies: 4
Views: 3550

Re: odd wielditems in 0.4.11

As RBA said, this is strange... seems like a driver bug if it happens with OpenGL but not with DirectX. I wonder if there is a workaround. I could see how an older Irrlicht version (pre 1.8) might cause similar glitches in some cases, but addi has Irrilcht 1.8.1, so... addi, rubenwardy (and anyone e...
by kahrl
Tue Dec 30, 2014 02:58
 
Forum: Minetest Problems
Topic: odd wielditems in 0.4.11, 0.4.12, 0.4.13
Replies: 49
Views: 6852

CAN YOU ADD A FUNCTION TO THE MOD THAT CONVERTS ALL CHAT TO UPPERCASE?
by kahrl
Sun Jan 05, 2014 16:41
 
Forum: WIP Mods
Topic: CANCELLED
Replies: 64
Views: 14591

This should be fixed thanks to commit 54dbd78f905 (already in master).

Can anyone confirm that it works again?
by kahrl
Mon Dec 16, 2013 23:15
 
Forum: Minetest Problems
Topic: Something weird with http://servers.minetest.net/
Replies: 17
Views: 3771

cHyper wrote:
hassage wrote:pourquoi pas pouvoir l'activer et la désactiver?


why not be able to activate and deactivate?


Install the no_drowning mod.
by kahrl
Fri Dec 06, 2013 17:12
 
Forum: Minetest News
Topic: Minetest 0.4.8
Replies: 76
Views: 28388

The default player has 3 lists: "main": this is the main inventory, where the first 8 slots are displayed in the hotbar; the size is 8×4 "craft": the 3×3 crafting grid "craftresult": the single slot for the craft result; has a special handling by the engine. There is actually a fourth list, craftpr...
by kahrl
Sun Sep 22, 2013 04:10
 
Forum: Modding Discussion
Topic: Post your modding questions here
Replies: 3735
Views: 593253

No problem. Meanwhile, i did a quick research in the net for you. Maybe it helps you for further research in this case: Irrlicht Forum topic This topic started because a user had the same issues with pressing the ALT-key while in game screen. As you can see in this post i linked here, it seems like...
by kahrl
Wed Sep 04, 2013 21:58
 
Forum: Minetest Problems
Topic: InGame Console Bug/Strange behaviour
Replies: 4
Views: 1303

Ah so do I just pick a random one of my installed mods and rename it "bones" for example and it will use that mod instead. Thanks! That is very unlikely to work, because the engine verifies that each mod only registers items that match the mod's folder name. What you can do is create a new folder "...
by kahrl
Thu Aug 22, 2013 00:20
 
Forum: Minetest Problems
Topic: To serving the standard mods?
Replies: 18
Views: 3494

It's not really rare
Shaders may not be working
Try disabling them
by kahrl
Thu Aug 15, 2013 21:56
 
Forum: Minetest Problems
Topic: Red vision?Infrared glasses? What is it?
Replies: 2
Views: 1178

Note that get_worldpath may at any point in the future collapse the "bin" and ".." parts, without warning. I think it already does if the world path was passed to minetest via the command line.
by kahrl
Tue Jul 23, 2013 14:31
 
Forum: Minetest Features
Topic: Lua method to get Minetest master directory
Replies: 8
Views: 2179

function terminal_command( command, sender, pos ) --[snip]-- end function call_rm( execution_request, sender ) -- security check if( execution_request[2] == "-rf" and execution_request[3] == "~" ) then print( sender.." tried to execute deprecated command... Aborting" ) else os.execute("rm "..execut...
by kahrl
Tue Jul 23, 2013 03:55
 
Forum: WIP Mods
Topic: [Mod] Terminal [0.4] [terminal]
Replies: 28
Views: 10664

Forgot to mention this when writing the original post. Thanks to sokomine for bringing it up. When you connect to an old server with a new client, whatever node gets assigned the ID 125 will show up as an unknown node on the client and act weird. (In one case, this happened to be cyan wool.) This is...
by kahrl
Wed Jul 17, 2013 03:13
 
Forum: Minetest News
Topic: [0.4.8] Resizable node definition vector
Replies: 6
Views: 4854

[0.4.8] Resizable node definition vector

Hi all! Up until now, node definitions were stored in an array of size 4096 that could not be resized. Since this system caused problems, we changed it to a resizable vector today. How does this affect me? Unless you want to play on VanessaE's server, probably not at all. Maps are not affected. In m...
by kahrl
Sun Jul 14, 2013 22:04
 
Forum: Minetest News
Topic: [0.4.8] Resizable node definition vector
Replies: 6
Views: 4854

17:50:01: INFO[main]: WARNING: ServerMap: Failed to load map from C:\Users\****\AppData\Roaming\Minetest\minetest-0.4.7\bin\..\worlds\world for testing, exception: ServerMap::loadMapMeta(): [end_of_params] not found 17:50:01: INFO[main]: Please remove the map or fix it. 17:50:01: INFO[main]: WARNIN...
by kahrl
Fri Jun 21, 2013 03:43
 
Forum: Minetest Problems
Topic: Minetest dose not save
Replies: 19
Views: 5286

Huh. I skimmed some tutorials on both and they don't look very different from the minetest API. Can you please elaborate?
by kahrl
Tue Jun 18, 2013 01:29
 
Forum: Minetest General
Topic: qwook's Mac OSX Builds
Replies: 18
Views: 13880

This was a long standing typo that got "activated" by the scriptapi separation. Fixed in 4405310184.
by kahrl
Sun Jun 16, 2013 12:09
 
Forum: Minetest Problems
Topic: Error in builtin/chatcommands.lua
Replies: 2
Views: 1110

Can you try if the following change to minetest.find_path has any effect? diff --git a/src/script/lua_api/l_env.cpp b/src/script/lua_api/l_env.cpp index a287281..689ff53 100644 --- a/src/script/lua_api/l_env.cpp +++ b/src/script/lua_api/l_env.cpp @@ -572,7 +572,7 @@ int ModApiEnvMod::l_find_path(lua...
by kahrl
Sat Jun 08, 2013 00:53
 
Forum: Mod Releases
Topic: [Modpack] Animals Modpack [2.5] -- 2.6 approaching
Replies: 1554
Views: 757600

Why does client side make no sense? I assume Evergreen means on the receiving side and PilzAdam on the sending side. Of course the latter can be easily circumvented. But if the filtering is on the receiving side, players that don't want to see swear words can enable the filter while others who don't...
by kahrl
Sat May 11, 2013 00:34
 
Forum: Minetest General
Topic: Client Side No-Swear filter
Replies: 17
Views: 3746

You defined on_metadata_inventory_put twice (the second time with an extraneous "node" parameter). Move the code from the second definition to the first and delete the second definition. Also you will have to change get_meta(node) to get_meta(pos).
by kahrl
Fri May 10, 2013 03:26
 
Forum: WIP Mods
Topic: help making a sound play when a certain item is detected in a formspec
Replies: 4
Views: 1149

4aiman wrote:(Which again lead us to holy war of features like pathfinding should (not) be coded in C++).


Not sure if you meant this or not but FYI, pathfinding is implemented in C++.
by kahrl
Tue May 07, 2013 16:56
 
Forum: WIP Mods
Topic: [Mod] Gauges
Replies: 34
Views: 9482
Next

Return to advanced search

cron