Search found 36 matches

by Grossam
Sun Mar 29, 2020 16:13
Forum: WIP Mods
Topic: [Mod] D00Med mobs [dmobs]
Replies: 258
Views: 35895

Re: [Mod] D00Med mobs [dmobs]

All is in the spawn.lua file. You have to twead sime parameters of the mobs:spawn function. You 'll find some details in the mobs_redo API documentation.
by Grossam
Mon Nov 04, 2019 09:52
Forum: Français
Topic: Désaffection serveurs francophones
Replies: 6
Views: 706

Désaffection serveurs francophones

Bonjour, j'ai traîné mes guêtres sur plusieurs serveurs francophones depuis que je joue à Minetest, et j'ai crû remarquer une assez forte baisse de fréquentation des serveurs francophones depuis la version 5 de Minetest. Eurythmia Évolution, par exemple, ne semble pas avoir retenu tous les anciens j...
by Grossam
Mon Aug 05, 2019 08:42
Forum: WIP Mods
Topic: [Mod] D00Med mobs [dmobs]
Replies: 258
Views: 35895

Re: [Mod] D00Med mobs [dmobs]

I made some changes in scifi_nodes too. You may have a look at them here : https://git.fwhost.eu/Grossam/scifi_nodes
by Grossam
Wed Jul 31, 2019 17:47
Forum: WIP Mods
Topic: [Mod] D00Med mobs [dmobs]
Replies: 258
Views: 35895

Re: [Mod] D00Med mobs [dmobs]

OK, so the code was probably trying to perform an inexistant second assignement.

I spotted it while rewritting a part of the loop (to make yet another test). What my eyes couldn't see, my fingers detected !
by Grossam
Wed Jul 31, 2019 13:41
Forum: WIP Mods
Topic: [Mod] D00Med mobs [dmobs]
Replies: 258
Views: 35895

Re: [Mod] D00Med mobs [dmobs]

Thank you taikedz. I'd like to make a pull request later, but as my repo is not on github, I'm not sure how to do it. Edit : finaly I just add to think a bit and I fou,d the way : adding yet another remote ! My piece of advice : test it a lot before accepting the request ;-) New changes are coming, ...
by Grossam
Wed Jul 31, 2019 07:03
Forum: WIP Mods
Topic: [Mod] D00Med mobs [dmobs]
Replies: 258
Views: 35895

Re: [Mod] D00Med mobs [dmobs]

I finally found the arrow bug : for _,arrowtype in pairs( {"ice","lightning","poison"} ) do base_arrow.textures = {"dmobs_"..arrowtype..".png"}, mobs:register_arrow("dmobs:"..arrowtype, dmobs.deepclone(base_arrow) ) end The coma at the end of the base_arrow.texture line seems to mess the loop. I'm a...
by Grossam
Tue Jul 30, 2019 15:08
Forum: WIP Mods
Topic: [Mod] D00Med mobs [dmobs]
Replies: 258
Views: 35895

Re: [Mod] D00Med mobs [dmobs]

I'm made some tests with the spawn() function : I inserted nodes from unloaded mods in nodes and neighbor tables. It didn't raise any error, the unloaded nodes just seem to be ignored. So it seems that testing the presence of the mod isn't event necessary ?
by Grossam
Sun Jul 28, 2019 06:02
Forum: WIP Mods
Topic: [Mod] D00Med mobs [dmobs]
Replies: 258
Views: 35895

Re: [Mod] D00Med mobs [dmobs]

A single call of spawn with a variable for nodes and neighbours. Very simple ! Thank you ! I spend some times correcting several small bugs this morning, but I'm stuck with one : ice and water dragon arrows appear as 'unknown' objects instead of awaited dmobs:ice. Here's the arrow registration routi...
by Grossam
Sun Jul 28, 2019 05:30
Forum: WIP Mods
Topic: [Mod] D00Med mobs [dmobs]
Replies: 258
Views: 35895

Re: [Mod] D00Med mobs [dmobs]

Hi ! I'm trying to modify dmobs. It's the first time I deal with the mobs_redo API, and I've several questions. In dragon_normal.lua, I find this spawning rule : mobs:spawn_specific("dmobs:dragon", {"air"}, {"default:stone"}, 20, 10, 300, 15000, 2, -100, 11000) According to this : https://notabug.or...
by Grossam
Sat Jul 27, 2019 18:37
Forum: Modding Discussion
Topic: [mobs_redo]register_spawn
Replies: 3
Views: 219

Re: [mobs_redo]register_spawn

Thank you TenPlus1, I knew this document, it's very usefull and I intent to print some parts to have ut on my knee while coding ; but I can't find my answer in it. Let's say I use register_spawn twice with the same 'name' argument, will the second call create a second spawning rule or replace the fi...
by Grossam
Fri Jul 26, 2019 18:02
Forum: Modding Discussion
Topic: [mobs_redo]register_spawn
Replies: 3
Views: 219

[mobs_redo]register_spawn

Hi ! I'm trying to understand the code of dmobs, by D00med. For dmobs:dragon and dmobs:dragon2, spawn_register is called then spawn.lua and spawn_specific in dragons/main.lua. What is the difference between this two functions ? Only the list of arguments ? And what happens when calling both with sam...
by Grossam
Wed Jul 24, 2019 05:07
Forum: WIP Mods
Topic: [Mod] D00Med mobs [dmobs]
Replies: 258
Views: 35895

Re: [Mod] D00Med mobs [dmobs]

I browsed the code quickly, and I can't find anything about the specific dragon gem (fire, ice and so on…). Are they a drop or a craft ?
by Grossam
Wed May 08, 2019 17:13
Forum: Français
Topic: [modding]Récupérer les oprions d'un mod
Replies: 1
Views: 857

[modding]Récupérer les oprions d'un mod

Bonjour, je voudrais ajouter une option à un mod sur lequel je bidouille. Voici mon typesettings.txt # Doors can only be opened by mesecon signal scifi_nodes.doors_open_with_mesecon_only (disables right click on doors) bool true [code] Cette option sera doc réglable via le menu qui va bien, ou via l...
by Grossam
Tue May 07, 2019 10:21
Forum: Modding Discussion
Topic: [formspec]Retrieve text-field content
Replies: 1
Views: 126

[formspec]Retrieve text-field content

Hi ! I created this formspec : minetest.show_formspec(current_player, "digicode_formspec", "size[6,3]".. "field[1,1;3,1;code;Code;]".. -- type, position, size, name, label "button_exit[1,2;2,1;change;Change code]".. "button_exit[3,2;2,1;open;Open door]") and now I'm writing the call-back function wh...
by Grossam
Mon May 06, 2019 18:32
Forum: Modding Discussion
Topic: [swap_node]Probable typo…
Replies: 7
Views: 454

Re: [swap_node]Probable typo…

Yep ! I'll try to follow your advice. It should give a cleaner code.
by Grossam
Mon May 06, 2019 17:39
Forum: Français
Topic: [modding]Introduire un délai entre deux appels de swap_node
Replies: 4
Views: 1104

Re: [modding]Introduire un délai entre deux appels de swap_n

Oui, on m'a a parlé sur le forum anglais. J'ai refait avec et ça marche au poil. Sinon il y a un truc plus propre avec les timers (je vais peut-être refaire mon implémentation du coup) : fonction toggle_scanner : scanner_off → scanner_checking → scanner_on → scanner_off… Avec à chaque transition l'i...
by Grossam
Mon May 06, 2019 13:41
Forum: Modding Discussion
Topic: [swap_node]Probable typo…
Replies: 7
Views: 454

Re: [swap_node]Probable typo…

And what if I just set diggable = false ?

Il already use a timer ton go back from "on" node to "off" node.
by Grossam
Sun May 05, 2019 17:09
Forum: Modding Discussion
Topic: [swap_node]Probable typo…
Replies: 7
Views: 454

Re: [swap_node]Probable typo…

You just saved my life : now it works just fine ! Here's my new code : -- on_rightclick -- player is a player object local function check_owner(pos, node, player, itemstack, pointed_thing) local meta = minetest.get_meta(pos) local owner = meta:get_string("owner") local tested_player = player:get_pla...
by Grossam
Sun May 05, 2019 13:33
Forum: Français
Topic: [modding]Introduire un délai entre deux appels de swap_node
Replies: 4
Views: 1104

Re: [modding]Introduire un délai entre deux appels de swap_n

Aucun changement… ça doit être une histoire de threads dans l'implémentation du moteur ?
by Grossam
Sun May 05, 2019 10:39
Forum: Français
Topic: [modding]Introduire un délai entre deux appels de swap_node
Replies: 4
Views: 1104

[modding]Introduire un délai entre deux appels de swap_node

Bonjour, j'ai posé la question sur la partie anglophone du serveur et sur l'IRC destiné au modding, mais je n'y ai pas trouvé d'aide. Dans ce bout de code : https://pastebin.com/p33eVDNd le swap_node de la ligne 43 devrait se produire une seconde et demie après celui de la ligne 37. Mais non, la lig...
by Grossam
Sat May 04, 2019 21:45
Forum: Modding Discussion
Topic: [swap_node]Probable typo…
Replies: 7
Views: 454

Re: [swap_node]Probable typo…

Ok ! I did some tests, commenting line 43, and it's no typo : line 37 is executed, but line 43, the next swap is executed immediatly after. So the palm_scanner_checking node isn't there long enough to be seen. It's strange : the two swaps should be separated by a 1.5 secondes delay (as sound_play() ...
by Grossam
Sat May 04, 2019 06:00
Forum: Modding Discussion
Topic: [swap_node]Probable typo…
Replies: 7
Views: 454

[swap_node]Probable typo…

Hi ! Here's a code I'm working on : https://pastebin.com/p33eVDNd

The minetest swap_node call at lign 37 isn't executed, and I can't figure why.

Maybe a fresh look could help. Thank you ;-)
by Grossam
Sun Feb 17, 2019 09:58
Forum: Servers
Topic: [Server] IFS (IhrFussel's Server)
Replies: 98
Views: 18784

Re: [Server] IFS (IhrFussel's Server)

Hello ! I'd like to know which mod you use to manage player leveling and where the code could be found. Thank you !
by Grossam
Tue Jan 23, 2018 08:05
Forum: Mod Releases
Topic: [Modpack] Maidroid [0.1.0][maidroid]
Replies: 49
Views: 12355

Re: [Modpack] Maidroid [0.1.0]

My farming droid keeps jumping out of my field. Do I have to use a particular kind of fences ?