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 projects
Topic: World Storage System
Replies: 4
Views: 435

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:
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: Bugs and Problems
Topic: #SOLVED mapgen stops at 2000, but its suppost to at 31000
Replies: 18
Views: 697

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: Partly official engine development
Topic: Nametag coordinates.
Replies: 8
Views: 612

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: Partly official engine development
Topic: Attached Particle Spawners and associated questions
Replies: 5
Views: 297

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: Partly official engine development
Topic: Attached Particle Spawners and associated questions
Replies: 5
Views: 297

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: News
Topic: [0.4.14] Spring release, announcing feature freeze
Replies: 171
Views: 20532

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: General Discussion
Topic: RealBadAngel
Replies: 76
Views: 8743

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: Feature Discussion
Topic: Adding the ability to have 360 degree viewing range?
Replies: 1
Views: 351

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: Bugs and Problems
Topic: ABM gets executed even if node(block) is not longer in group
Replies: 1
Views: 234

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: Bugs and Problems
Topic: Minetest server error "Failed to bind socket ..."
Replies: 7
Views: 736

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: Partly official engine development
Topic: VR/binocular/SBS view for Google Cardboard/Oculus Rift/etc
Replies: 4
Views: 1212

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: Bugs and Problems
Topic: odd wielditems in 0.4.11, 0.4.12, 0.4.13
Replies: 49
Views: 4468

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: 7360

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: Bugs and Problems
Topic: Something weird with http://servers.minetest.net/
Replies: 17
Views: 2034

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: News
Topic: Minetest 0.4.8
Replies: 76
Views: 19378

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: 4209
Views: 187988

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: Bugs and Problems
Topic: InGame Console Bug/Strange behaviour
Replies: 4
Views: 691

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: Bugs and Problems
Topic: To serving the standard mods?
Replies: 18
Views: 1013

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

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: Feature Discussion
Topic: Lua method to get Minetest master directory
Replies: 8
Views: 1278

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: 8034

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: News
Topic: [0.4.8] Resizable node definition vector
Replies: 6
Views: 3867

[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: News
Topic: [0.4.8] Resizable node definition vector
Replies: 6
Views: 3867

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: Bugs and Problems
Topic: Minetest dose not save
Replies: 19
Views: 4035

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: General Discussion
Topic: qwook's Mac OSX Builds
Replies: 18
Views: 11055
Next

Return to advanced search