Search found 45 matches

Return to advanced search

To all modders: databases & metadata in Lua - what you need?

Hello modders! I saw that some mods (e.g. portals, node ownership) use quite weird plain text file formats. I'm working on a database interface for Lua. Main idea is that each mod may create a database in its own directory. It would be something like "world/mods_data/<mod_name>/data.sqlite" or sth s...
by jachoo
Sat Mar 03, 2012 11:43
 
Forum: WIP Mods
Topic: To all modders: databases & metadata in Lua - what you need?
Replies: 7
Views: 1876

Sqlite can (in general) modify strings for such things as encoding. There are no other differences between strings and blobs. That's why I used blobs. But they are still just plain strings. Auth and ban data is stored in exactly the same way as it was in files. Lines in files = records in tables. An...
by jachoo
Tue Feb 28, 2012 20:03
 
Forum: Partly official engine development
Topic: Database interface & map,env,player metadata and more
Replies: 16
Views: 5081

I'm still working on upgrading my "clans" fork to 0.4. It has new block borderstone, by which you can own a 16x16x16 terrain block. IMO much better than any gui or chat commands.

Check this thread in a few weeks.
by jachoo
Tue Feb 28, 2012 16:58
 
Forum: Old Mods
Topic: [Mod] Node ownership [node_ownership]
Replies: 84
Views: 29133

Alright... I see that even with my database Lua interface it's quite difficult to implement clans & portals completely in Lua. It would require changes in builtin.lua and some C++ code changes too. Also, client-side clan's territory protection is impossible from Lua. Clan name can't be displayed. Te...
by jachoo
Fri Feb 24, 2012 20:09
 
Forum: Partly official engine development
Topic: My fork - ownership of blocks, clans, teleports
Replies: 112
Views: 31120

I'm now working on this: http://c55.me/minetest/forum/viewtopic.php?id=1047

When finished, I plan to port teleports & clans idea to Lua i Minetest 0.4.

Patience ;)
by jachoo
Wed Feb 22, 2012 11:49
 
Forum: Partly official engine development
Topic: My fork - ownership of blocks, clans, teleports
Replies: 112
Views: 31120

+ important bugfix (env database sometimes did not save)
+ new Lua function: remove_table_data(int table, string key_type, key)

check out github
https://github.com/jachoo/minetest-jachoo2/
by jachoo
Mon Feb 20, 2012 15:58
 
Forum: Partly official engine development
Topic: Database interface & map,env,player metadata and more
Replies: 16
Views: 5081

I've just added Lua interface for creating and accessing custom databases. Who will test it? Explanation in first post. Code -> check github. Example code using new functions: ----------------------------------------------------------- -- Custom database example: -- /send <player> <message> -- /mail...
by jachoo
Mon Feb 20, 2012 00:37
 
Forum: Partly official engine development
Topic: Database interface & map,env,player metadata and more
Replies: 16
Views: 5081

Wow sounds great! +1 You can make a delete feature data from the database if the mod that created them removed? I also foresee a problem with changing the format of the data in different versions of mods, can be sure to write in the base version of the mod and use the data only for this version? It...
by jachoo
Sat Feb 18, 2012 23:16
 
Forum: Partly official engine development
Topic: Database interface & map,env,player metadata and more
Replies: 16
Views: 5081

It's completely server-side. Client is not affected.
by jachoo
Fri Feb 17, 2012 10:59
 
Forum: Partly official engine development
Topic: Database interface & map,env,player metadata and more
Replies: 16
Views: 5081

Database interface & map,env,player metadata and more

I'm working on a completely new database interface. The idea is that all map-, env-, player- (etc.) data should be stored in a database rather than in files. Also, using that databases should be possible from lua. [h]Why it is beneficial:[/h] With such database interface (available in lua too) mods...
by jachoo
Thu Feb 16, 2012 16:43
 
Forum: Partly official engine development
Topic: Database interface & map,env,player metadata and more
Replies: 16
Views: 5081

Blah.

Nowai.

Without client support clans and teleports sucks.

I don't really know what to do now. Shall I implement as much as it is possible now in Lua and leave the rest in code?
by jachoo
Sat Dec 03, 2011 16:04
 
Forum: Partly official engine development
Topic: My fork - ownership of blocks, clans, teleports
Replies: 112
Views: 31120

Of course I'm not pissed off! On the contrary - I'm veeery glad that You continued work with scripting interface! But back to main topic... MapBlock interface is not necessary, but without it - terrain ownership will be a lot slower and more complex to implement. And about metadata. All metadata sho...
by jachoo
Thu Dec 01, 2011 13:14
 
Forum: Partly official engine development
Topic: Modding interface
Replies: 4
Views: 1174

Modding interface

This topic is for discussion about new modding interface. What should be changed, added etc. And for general discussion between mod devs and engine devs. I'm first, so my suggestions are: 1. We really need client mods! For example in my fork: crouching and extended block selecting won't work without...
by jachoo
Wed Nov 30, 2011 16:40
 
Forum: Partly official engine development
Topic: Modding interface
Replies: 4
Views: 1174

IMO, this topic should be in 'development' section.
by jachoo
Wed Nov 30, 2011 15:59
 
Forum: WIP Mods
Topic: Modding tutorial
Replies: 14
Views: 4993

Damn. So much code must go to trash :/
by jachoo
Wed Nov 30, 2011 15:58
 
Forum: Partly official engine development
Topic: My fork - ownership of blocks, clans, teleports
Replies: 112
Views: 31120

I'm going on leave tomorrow, so I won't code for a few days.

I've uploaded what I already have, including some new not well-tested features (improved block selection method and crouching - by 'c' key).

Please test and comment. (Hope it compiles on linux...)

Enjoy!
by jachoo
Tue Nov 22, 2011 17:45
 
Forum: Partly official engine development
Topic: My fork - ownership of blocks, clans, teleports
Replies: 112
Views: 31120

What errors? Please upload them :) What about runtime errorrs? On Windows I got tons of sigsegvs :/// And don't have any idea what's wrong :/ Maybe it's something with Irrlicht or original minetest code... Or concurrent data writes... Debugging gives no help :/ ------- Also there is need to save tel...
by jachoo
Sat Nov 19, 2011 21:43
 
Forum: Partly official engine development
Topic: My fork - ownership of blocks, clans, teleports
Replies: 112
Views: 31120

I hate it. Now?

See that I must buy a new disk and install gcc...
by jachoo
Sat Nov 19, 2011 14:10
 
Forum: Partly official engine development
Topic: My fork - ownership of blocks, clans, teleports
Replies: 112
Views: 31120

Huh... :/ Maybe now?
by jachoo
Sat Nov 19, 2011 04:15
 
Forum: Partly official engine development
Topic: My fork - ownership of blocks, clans, teleports
Replies: 112
Views: 31120

First, alpha version of teleport naming system is done. When I was testing this, I got some weird errors... Please test it and report bugs. Instructions: 1. Download latest source from github & compile 2. Add this lines to minetest.conf teleport_allow_coords = 1 teleport_allow_oneway = 1 3. Run mine...
by jachoo
Mon Nov 14, 2011 06:21
 
Forum: Partly official engine development
Topic: My fork - ownership of blocks, clans, teleports
Replies: 112
Views: 31120

I've started to implement all this propositions (as an option in config file). Last chance to give me other suggestions :)
by jachoo
Sun Nov 13, 2011 11:48
 
Forum: Partly official engine development
Topic: My fork - ownership of blocks, clans, teleports
Replies: 112
Views: 31120

We have to make decision. Possible options are: 1. General teleports . Teleport can aim any coords. When at the destination another teleport exists - it works like portal. + Very easy to use if you don't need portal features + General-purpose system. You can create everything you can imagine ;) + No...
by jachoo
Sat Nov 12, 2011 18:12
 
Forum: Partly official engine development
Topic: My fork - ownership of blocks, clans, teleports
Replies: 112
Views: 31120

cisoun, strange, it should work as you say... Maybe you walked into the teleport from behind it? Setting correct speed and camera orientation is not so trivial, especially that server don't know from where you walked into that teleport (for now, server assumes that you always walk from front of the ...
by jachoo
Fri Nov 11, 2011 16:39
 
Forum: Partly official engine development
Topic: My fork - ownership of blocks, clans, teleports
Replies: 112
Views: 31120

Hello after quite long break ;) I'd merged placki's version and... I've added cool new teleport system (as cisoun suggested - they now work like PORTALS :D) How it works? First, place 2 teleports somewhere. Second, connect them mutually. Third, try them :) The best effect is when you place 2 'flying...
by jachoo
Fri Nov 11, 2011 03:22
 
Forum: Partly official engine development
Topic: My fork - ownership of blocks, clans, teleports
Replies: 112
Views: 31120
Next

Return to advanced search