Search found 96 matches
- Mon Mar 31, 2014 11:35
- Forum: WIP Mods
- Topic: [I need a help] how to create GUI
- Replies: 6
- Views: 1544
- Sun Mar 30, 2014 02:22
- Forum: WIP Mods
- Topic: [Mod] Ranks and Kits [V0.3] [ranks_n_kits]
- Replies: 19
- Views: 4514
Are you sure you have the kits folder. That is the only cause of that error I can figure out. If anyone else knows of another possibility please pipe up. :) Your ranks_n_kits mod folder should have init.lua, the kits folder, and a README.md(this one isn't necessary per say but I would prefer you kee...
- Sat Mar 29, 2014 22:20
- Forum: WIP Mods
- Topic: [Mod] ComputerTest
- Replies: 23
- Views: 13949
- Sat Mar 29, 2014 22:03
- Forum: WIP Mods
- Topic: [Mod] Ranks and Kits [V0.3] [ranks_n_kits]
- Replies: 19
- Views: 4514
That is not enough information I need around 10 lines. It should look like this: 17:45:46: ERROR[main]: ========== ERROR FROM LUA =========== 17:45:46: ERROR[main]: Failed to load and run script from 17:45:46: ERROR[main]: /home/domtron/games/minetest/bin/../games/minetest_game/mods/default/init.lua...
- Sat Mar 29, 2014 21:25
- Forum: WIP Mods
- Topic: [Mod] Ranks and Kits [V0.3] [ranks_n_kits]
- Replies: 19
- Views: 4514
Ranks are currently non-persistent. This means if the server is reset or the game is quit all players loose their ranks. Perhaps ranks ought to be managed by a diffrent mod. They might be useful for other purposes. I was thinking something similar, but I don't know of any mods that implement ranks ...
- Fri Mar 28, 2014 22:30
- Forum: WIP Mods
- Topic: [Mod] Ranks and Kits [V0.3] [ranks_n_kits]
- Replies: 19
- Views: 4514
[Mod] Ranks and Kits [V0.3] [ranks_n_kits]
Hi, This is my first mod. I saw mcfan request a simple mod here so I obliged. The mod is attached as both a zip and a tar.gz. This mod adds kits, a set of items, to minetest. Each kit is related to one rank. When a player has a rank and sends the chat command /givekit he will receive all items that ...
- Fri Mar 28, 2014 19:03
- Forum: WIP Mods
- Topic: lua: list files in a directory
- Replies: 5
- Views: 4883
- Fri Mar 28, 2014 12:29
- Forum: WIP Mods
- Topic: lua: list files in a directory
- Replies: 5
- Views: 4883
lua: list files in a directory
Is there a way to list the file names in a directory? I tried to use the function in the second answer at http://stackoverflow.com/questions/5303174/get-list-of-directory-in-a-lua but popen function is not supported. Also, that particular function only works with systems that have 'ls' installed. I ...
A global table is where you set a global variable to {} which allows you to store key/value pairs. local kits = {} --this is NOT a global table kits = {} --this IS a global table Are you looking for a mod were you make calls to it from another mod to add ranks and kits or do you want it to have a fi...
- Sat Mar 22, 2014 16:01
- Forum: Mod Releases
- Topic: [Mod] Smart Formspecs - OO builder + binding [1.1][smartfs]
- Replies: 31
- Views: 12686
I have been very busy with RL but just got some time to write up a list element. It is mostly functional but I'm sure it could use some improving. I just expanded on the example code I wrote earlier to develop/test it. I have an error i don't understand when running close() on the form in the double...
- Tue Mar 04, 2014 15:47
- Forum: Mod Releases
- Topic: [Mod] Smart Formspecs - OO builder + binding [1.1][smartfs]
- Replies: 31
- Views: 12686
Simple fix
I had assumed that later forms with the same name as previous forms would just overwrite the previous forms. I edited my previous post so as to not lead others astray.
Code: Select all
line 6 local form = smartfs.create("test@"..player:get_player_name(),
- Fri Feb 28, 2014 20:15
- Forum: Mod Releases
- Topic: [Mod] Smart Formspecs - OO builder + binding [1.1][smartfs]
- Replies: 31
- Views: 12686
And since I took the time to figure that out here are the docs on it. I put them after showing forms: ## Modifying Elements Elements have functions of the form element:function(args) where you need to have access to the element object. You can get the element object by assigning a variable to its cr...
- Fri Feb 28, 2014 19:56
- Forum: Mod Releases
- Topic: [Mod] Smart Formspecs - OO builder + binding [1.1][smartfs]
- Replies: 31
- Views: 12686
- Thu Feb 27, 2014 21:44
- Forum: Mod Releases
- Topic: [Mod] Smart Formspecs - OO builder + binding [1.1][smartfs]
- Replies: 31
- Views: 12686
Hi, I did some documentation for you. Use it, lose it, or shred it. It is yours to do with as you please. I'll write up a section on creating new elements once I get around to trying it out. ;) I'm not 100% sure how accurate it is. If you don't use it I would like to point out that some of your func...
- Wed Feb 26, 2014 03:21
- Forum: WIP Mods
- Topic: question about a mod
- Replies: 5
- Views: 1437
- Tue Feb 25, 2014 17:32
- Forum: WIP Mods
- Topic: new mods request! "Gas mod" and "Cook mod"Further "Universal electry"
- Replies: 5
- Views: 2385
- Tue Feb 25, 2014 13:01
- Forum: WIP Mods
- Topic: new mods request! "Gas mod" and "Cook mod"Further "Universal electry"
- Replies: 5
- Views: 2385
I like the gas idea, though I'd be surprised if no one else has implemented one. You could prevent grefers by packing poison gas between your walls or make trap rooms that fill with gas if a wrong combination is used. Gas in viles could be broken on a tile to generate a gas cloud around it which wil...
- Fri Feb 21, 2014 19:27
- Forum: Mod Releases
- Topic: [Mod] Smart Formspecs - OO builder + binding [1.1][smartfs]
- Replies: 31
- Views: 12686
Fixed. Always a nice thing to hear. You have tried making the same form twice. Yep, I understood since your error is quite clear. I was just referring to the throw vs. error thing. As for button heights, it should work. Then I have no clue what I'm doing wrong. :/ I'm interested in eventually using...
- Thu Feb 20, 2014 22:42
- Forum: Mod Releases
- Topic: [Mod] Smart Formspecs - OO builder + binding [1.1][smartfs]
- Replies: 31
- Views: 12686
Great Mod! I am going to try and use it for my mod. I do have a question though. It seems like the height value has no effect on the button. Is this a problem with smartfs or is it an engine limitation(I was trying to make a square button)? EDIT: I'm using the smartfs.lua as a library. I got the fol...
- Thu Feb 20, 2014 21:11
- Forum: WIP Mods
- Topic: Future of Mods!
- Replies: 7
- Views: 1462
http://skynet.im/thetoon wrote:Let's call it 'skynet'.Krock wrote:I wish a mod, which creates other mods.