Search found 17 matches

Return to advanced search

Re: Craft recipe checker -– A tool for debugging mods

I guess I would have to look at the code more closely.

Thank you though, I have already been able to debug a bunch of mods.
by AntumDeluge
Tue Sep 06, 2016 16:08
 
Forum: Modding Discussion
Topic: Craft recipe checker -– A tool for debugging mods
Replies: 27
Views: 8370

Re: Craft recipe checker -– A tool for debugging mods

Updated script to check output. And yes, it does take longer to process.

--- Edit ---

FIXME: Script should not process ingredients for output that already failed check.
by AntumDeluge
Tue Sep 06, 2016 14:38
 
Forum: Modding Discussion
Topic: Craft recipe checker -– A tool for debugging mods
Replies: 27
Views: 8370

Re: Craft recipe checker -– A tool for debugging mods

Yes, you are right. I uncommented the doors & the error goes away. I didn't look at the code closely, but I was a little misguided by the error message.
by AntumDeluge
Tue Sep 06, 2016 14:04
 
Forum: Modding Discussion
Topic: Craft recipe checker -– A tool for debugging mods
Replies: 27
Views: 8370

Re: Craft recipe checker -– A tool for debugging mods

Are you sure that's the same code as what you have? The stack traceback says line 25 of unlocked.lua , but there's no craft recipe there, it's half way through one Sorry, I was editing my post. I posted the wrong link. It should have been for "unlocked.lua", but I had linked to "lock...
by AntumDeluge
Tue Sep 06, 2016 13:56
 
Forum: Modding Discussion
Topic: Craft recipe checker -– A tool for debugging mods
Replies: 27
Views: 8370

Re: Craft recipe checker -– A tool for debugging mods

Here is a version that outputs to the debug log: mod_debug.lua
by AntumDeluge
Tue Sep 06, 2016 13:55
 
Forum: Modding Discussion
Topic: Craft recipe checker -– A tool for debugging mods
Replies: 27
Views: 8370

Re: Craft recipe checker -– A tool for debugging mods

Not sure, but I think there might be a bug: Log output: 2016-09-06 06:29:24: ERROR[Server]: RECIPE ERROR: my_old_doors:door1 in recipe for my_old_doors:door1 2016-09-06 06:29:24: [Server]: stack traceback: ...inetest-server-testing/bin/../builtin/game/mod_debug.lua:113: in function 'minetest_registe...
by AntumDeluge
Tue Sep 06, 2016 13:45
 
Forum: Modding Discussion
Topic: Craft recipe checker -– A tool for debugging mods
Replies: 27
Views: 8370

Re: Disallowing Unregistered Items in Craft Recipes

Actually, rubenwardy, looking at what you have done with that, I may be satisfied.

--- Edit ---

I modified the script to ouput to the debug log.
by AntumDeluge
Tue Sep 06, 2016 01:51
 
Forum: Minetest Engine
Topic: Disallowing Unregistered Items in Craft Recipes
Replies: 4
Views: 3142

Re: Disallowing Unregistered Items in Craft Recipes

rubenwardy wrote:Also see: viewtopic.php?id=5831


Why hasn't this been added to the main branch?

--- Edit ---

I created a branch with your 'mod_debug' script. AntumDeluge/minetest/tree/mod_debug
by AntumDeluge
Tue Sep 06, 2016 00:52
 
Forum: Minetest Engine
Topic: Disallowing Unregistered Items in Craft Recipes
Replies: 4
Views: 3142

Re: Disallowing Unregistered Items in Craft Recipes

rubenwardy wrote:A better fix for craft guides would be to not show craft recipes with undefined items


This is what I was trying to say when I said it can be fixed at the mod level. But still I think it would be good to have an option for the main engine to handle it.

I will check out the topic you posted.
by AntumDeluge
Tue Sep 06, 2016 00:47
 
Forum: Minetest Engine
Topic: Disallowing Unregistered Items in Craft Recipes
Replies: 4
Views: 3142

Disallowing Unregistered Items in Craft Recipes

I may be going about this all wrong, but, I have already created some code that disallows craft recipes using ingredients that are not registered items. Unfortunately this breaks compatibility with A LOT of mods because 'register_craft' is declared before 'register_craftitem', 'register_node', &...
by AntumDeluge
Tue Sep 06, 2016 00:16
 
Forum: Minetest Engine
Topic: Disallowing Unregistered Items in Craft Recipes
Replies: 4
Views: 3142

Textures Won't Load After Removing from Client Texture Packs

I apologize if this isn't the right forum to ask for help with this problem. I am having a very frustrating issue on my server with some custom textures that I made for a mod. The mod is called 'antum_overrides' & simply overrides item definitions & craft recipes of other installed mods. The...
by AntumDeluge
Fri Sep 02, 2016 19:37
 
Forum: Minetest Problems
Topic: Textures Won't Load After Removing from Client Texture Packs
Replies: 0
Views: 479

Re: Clients Take Over Server Machine's Keyboard

Oh, yes, I'm sorry. I am running a dedicated server.

Today I have been running it without the interactive terminal (--terminal option) & so far I have not noticed any problems.
by AntumDeluge
Sat Aug 20, 2016 18:31
 
Forum: Minetest Problems
Topic: Clients Take Over Server Machine's Keyboard
Replies: 5
Views: 1056

Re:

Is the client on the same computer? The clients are on separate machines. What operating system? I am sorry that I forgot to post my machine's information. I am running Linux Mint with the Cinnamon desktop: $ uname -srm Linux 4.4.0-34-generic x86_64 Are you running a dedicated server? If I understa...
by AntumDeluge
Thu Aug 18, 2016 05:48
 
Forum: Minetest Problems
Topic: Clients Take Over Server Machine's Keyboard
Replies: 5
Views: 1056

Clients Take Over Server Machine's Keyboard

This is a really strange bug to me, & I don't know if I can explain it well. On my local network I have set up a Minetest 0.4.14 server. Whenever a client from another machine connects to it all keypresses are executed on the server machine. So, for example, if I am browsing the internet on the ...
by AntumDeluge
Mon Aug 15, 2016 21:57
 
Forum: Minetest Problems
Topic: Clients Take Over Server Machine's Keyboard
Replies: 5
Views: 1056

Overriding Server Config Setting

I apologize if this is not a good forum to post this question/issue. I am forking BlockMen 's " Better HUD " and I want to override my server's setting for "hud_item_wheel" from the client's minetest.conf . But I am not sure how to do so. Currently the client uses whatever the se...
by AntumDeluge
Tue Aug 09, 2016 19:52
 
Forum: Modding Discussion
Topic: Overriding Server Config Setting
Replies: 0
Views: 414

Re: [Mod] Campfires [campfire]

Thank you very much. I will use the new version.
by AntumDeluge
Mon Aug 08, 2016 04:42
 
Forum: Old Mods
Topic: [Mod] Campfires [campfire]
Replies: 18
Views: 13697

Re: [Mod] Campfires [campfire]

Not sure if I'm missing something, but I'm not figuring out how to work the campfire. I've built it with the three sticks & placed it. Targeting it shows the message "Put more wood on the fire!", but I'm not sure what to do. Right-clicking doesn't produce a "furnace" dialog. ...
by AntumDeluge
Sun Aug 07, 2016 05:52
 
Forum: Old Mods
Topic: [Mod] Campfires [campfire]
Replies: 18
Views: 13697

Return to advanced search

cron