[Modpack] Help [1.4.3] [doc]

User avatar
BrunoMine
Member
Posts: 1082
Joined: Thu Apr 25, 2013 17:29
GitHub: BrunoMine
Location: SP-Brasil
Contact:

Re: [Modpack] Help [1.2.2] [doc]

by BrunoMine » Post

Wuzzy. Can you update this repo with portuguese translations? (in your inbox)

bell07
Member
Posts: 604
Joined: Sun Sep 04, 2016 15:15
GitHub: bell07

Re: [Modpack] Help [1.2.2] [doc]

by bell07 » Post

@wuzzy, I wrote an enhancement for craftguide using the new API function. The enhancement uses your reveal system from doc + doc_items mods.

This way the crafting guide show only items crafteable by already revealed items. Both information systems are in sync regarding what the player is allowed to see.

https://github.com/bell07/minetest_craftguide_reveal

Maybe you can add this to your modpack?

User avatar
rubenwardy
Moderator
Posts: 6969
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy
Location: Bristol, United Kingdom
Contact:

Re: [Modpack] Help [1.3.0] [doc]

by rubenwardy » Post

A user has reported that the download is broken - the download link should link to a direct download
Renewed Tab (my browser add-on) | Donate | Mods | Minetest Modding Book

Hello profile reader

User avatar
Wuzzy
Member
Posts: 4778
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: [Modpack] Help [1.3.0] [doc]

by Wuzzy » Post

Sadly, the forum doesn't let me upload big files, so I can't fix it.
It's a modpack, and ContentDB doesn't support that yet.

It seems that for now, users must manually piece together the modpack from the repositories to make it work. :-(

u34

Re: [Modpack] Help [1.3.0] [doc]

by u34 » Post

Wuzzy wrote:
Tue May 26, 2020 16:06
Sadly, the forum doesn't let me upload big files, so I can't fix it.
It's a modpack, and ContentDB doesn't support that yet.

It seems that for now, users must manually piece together the modpack from the repositories to make it work. :-(
Wuzzy, but the source code can be downloaded by a file-hoster?
What is the last entry of the ContentDB?

User avatar
Wuzzy
Member
Posts: 4778
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: [Modpack] Help [1.3.0] [doc]

by Wuzzy » Post

All mods can be found on ContentDB.

Here's the source code (note: read the README).

User avatar
Wuzzy
Member
Posts: 4778
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

New Help versions!

by Wuzzy » Post

Today I have released new versions! Go to ContentDB to find them.

doc 1.3.0:
  • Added French translation by Karamel
  • Minor formspec cleanup stuff
doc_basics 1.2.0:
  • Added French translation by Karamel
  • Change sneak image
  • Update key names for minimap and camera
  • Update Pointing entry (about pointing objects)
doc_encyclopedia 1.3.1:
  • Added French translation by Karamel
doc_identifier 1.3.1:
  • Added Spanish translation by wuniversales
  • Disable tool repairing (for real this time)
doc_items 1.3.0:
  • Added French translation by Karamel
  • Fix original description if tt mod is used
  • Minor clarifications in text and documentation

ronoaldo
Member
Posts: 177
Joined: Mon Dec 07, 2020 01:04
GitHub: ronoaldo
IRC: ronoaldo
In-game: RonoaldoKakashi
Location: São Paulo, Brasil
Contact:

Re: [Modpack] Help [1.4.0] [doc]

by ronoaldo » Post

Hi Wuzzy, this mod is pretty interesting for what I wanted to achieve. I'll take a look at the portuguese translations if they need to be updated so I can contribute.

Do you have a mintest_game help available as well, or are you planning to create one? Is there a way to find other mods with doc support, like a tag on Content DB for instance?

Thanks!
Servers: Mercurio | Tools: ContentDB CLI | Mods: minenews

User avatar
Wuzzy
Member
Posts: 4778
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: [Modpack] Help [1.4.0] [doc]

by Wuzzy » Post

Yes, there are Minetest Game help texts here: viewtopic.php?f=9&t=15224
But this mod is outdated and is no longer being maintained. It might not even work at all.

I don't know how to find mods that depend on doc.

User avatar
joe7575
Member
Posts: 850
Joined: Mon Apr 24, 2017 20:38
GitHub: joe7575
In-game: JoSto wuffi
Location: Germany, in the deep south

Re: [Modpack] Help [1.4.0] [doc]

by joe7575 » Post

deleted :)
Sent from my Commodore 64. Some of my Mods: Tech Age, TechPack, Hyperloop, Tower Crane, Lumberjack, vm16, Minecart, Signs Bot.

ShadMOrdre
Member
Posts: 1118
Joined: Mon Dec 29, 2014 08:07
Location: USA

Re: [Modpack] Help [1.4.0] [doc]

by ShadMOrdre » Post

This mod works on 5.6.0.

Shad

Diablosxm
Member
Posts: 20
Joined: Sat May 07, 2022 16:13
GitHub: Diablosxm
IRC: Diablosxm
In-game: Diablosxm
Contact:

Re: [Modpack] Help [1.4.0] [doc]

by Diablosxm » Post

Hi ,
Nice works with this mod very usefull. but i have a little problem is crashing the server when i click on "sign bots".

2023-03-18 12:13:05: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'doc' in callback on_playerReceiveFields(): ...minetest/minetest/bin/../builtin/common/misc_helpers.lua:480: table index is nil
2023-03-18 12:13:05: ERROR[Main]: stack traceback:
2023-03-18 12:13:05: ERROR[Main]: ...minetest/minetest/bin/../builtin/common/misc_helpers.lua:480: in function 'copy'
2023-03-18 12:13:05: ERROR[Main]: /opt/minetest/minetest/bin/../mods/doc/init.lua:824: in function 'get_sorted_entry_names'
2023-03-18 12:13:05: ERROR[Main]: /opt/minetest/minetest/bin/../mods/doc/init.lua:765: in function 'generate_entry_list'
2023-03-18 12:13:05: ERROR[Main]: /opt/minetest/minetest/bin/../mods/doc/init.lua:880: in function 'formspec_category'
2023-03-18 12:13:05: ERROR[Main]: /opt/minetest/minetest/bin/../mods/doc/init.lua:986: in function 'func'
2023-03-18 12:13:05: ERROR[Main]: ...est/minetest/bin/../builtin/profiler/instrumentation.lua:107: in function <...est/minetest/bin/../builtin/profiler/instrumentation.lua:100>
2023-03-18 12:13:05: ERROR[Main]: /opt/minetest/minetest/bin/../builtin/game/register.lua:446: in function </opt/minetest/minetest/bin/../builtin/game/register.lua:432>

BR

Marc
Attachments
screenshot_20230318_123117.png
screenshot_20230318_123117.png (278.18 KiB) Viewed 2597 times

User avatar
Wuzzy
Member
Posts: 4778
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: [Modpack] Help [1.4.0] [doc]

by Wuzzy » Post

Sign bot? I suggest you report this first to the author of the Sign Bot mod, or whatever that is. I have nothing to do with sign bots.

Diablosxm
Member
Posts: 20
Joined: Sat May 07, 2022 16:13
GitHub: Diablosxm
IRC: Diablosxm
In-game: Diablosxm
Contact:

Re: [Modpack] Help [1.4.0] [doc]

by Diablosxm » Post

Thanck for quickly answer . i follow your advice.

br

Marc

User avatar
Wuzzy
Member
Posts: 4778
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

The Help mods are on Codeberg.org now!

by Wuzzy » Post

This modpack and all of its mods have been migrated from repo.or.cz to Codeberg.org! On the respective code websites, you will also find bugtrackers. I have done this step as part of my effort to migrate all my mods (which is a lot of work). I do this mainly because for usability reasons.

The new code repositories can be found here:
The modpack repository (for developers): https://codeberg.org/Wuzzy/minetest_doc_modpack.git

Moreover, two minor mod releases were made:
  • doc_items 1.3.1: No longer override the name of the "Air" node
  • doc_basics 1.2.1: Update outdated links in the help texts

User avatar
56independent_actual
Member
Posts: 452
Joined: Sun May 23, 2021 16:10
IRC: independent56
In-game: 56independent
Location: Girona Province
Contact:

Re: [Modpack] Help [1.4.1] [doc]

by 56independent_actual » Post

I am having a rather nooby problem.

When i load my mod and play with it, i cannot access the help. Is there anything wrong with my code?

Code: Select all

local S = s("hidden to keep code innovations secret")

doc.add_category("myMod", {
name = S,
description = S,
sorting = "custom",
sorting_data = {"basic"},
build_formspec = doc.entry_builders.formspec
})

doc.add_category("basics", {
name = S,
description = S
})

doc.add_entry("basics", "startup", {
name = S,
data = {
text = S
}})
Why can't i see the documentation?
Warnig: Al my laguage ekscept English is bad, includig Hungarian (magyàränoлиски), Spanish (esпagnyoл), and Russian (рÿсскïанöл).

User avatar
Wuzzy
Member
Posts: 4778
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: [Modpack] Help [1.4.1] [doc]

by Wuzzy » Post

To open the help, use the chat command "/helpform".

Your code would crash tho. The basics category needs a build_formspec function to render the data.

If you need more hints, you need to be more specific.

User avatar
56independent_actual
Member
Posts: 452
Joined: Sun May 23, 2021 16:10
IRC: independent56
In-game: 56independent
Location: Girona Province
Contact:

Re: [Modpack] Help [1.4.1] [doc]

by 56independent_actual » Post

Wuzzy wrote:
Wed Apr 12, 2023 05:08
The basics category needs a build_formspec function to render the data.
We need to tell ChatGPT this. Anyways, my main problem is the fact that my category is absolutely refusing to show up on the category list.

Code: Select all

local S = minetest.get_translator("doc_56i_trains")

doc.add_category("56i-trains", {
    name = "56i-trains",
    description = "Everything you need to know about the 56i-trains mod",
    sorting = "custom",
    sorting_data = {"basics", "interlocking"},
	build_formspec = doc.entry_builders.text_and_gallery,
})
and

Code: Select all

doc.add_category("basics", {
    name = "Basics",
    description = "The simple bits of advtrains to get you started",
	build_formspec = doc.entry_builders.text_and_gallery,
})
and

Code: Select all

doc.add_entry("basics", "startup", {
    name = "Welcome!",
    data = {
        text =
"Welcome to 56i-trains! This mod adds fast, realistic trains to your world, allowing realistic covering of massive distances quickly and plainly." .. "\n" ..
"To start with, take a normal track and place a straight line. Then try building a turn by going two forwards but one to the side." ..  "\n" ..
"You can find more information using /docs advtrains or by pressing the \"help\" button in 56i-trains-related formspecs. You can bring this text back again by using /56itr_startup_text." .. "\n" ..
"If you want to see a practical example of the mod in use, visit 56i-mtserver2."
}})
Should all work in my mental model, but it does not work in Minetest's mental model. I cannot see my "56i-trains" category whatsover despite me copying from the source code. Even removing S still wouldn't let me see my text!
Warnig: Al my laguage ekscept English is bad, includig Hungarian (magyàränoлиски), Spanish (esпagnyoл), and Russian (рÿсскïанöл).

User avatar
Wuzzy
Member
Posts: 4778
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: [Modpack] Help [1.4.1] [doc]

by Wuzzy » Post

When I paste this code into a dummy mod and add a dependency on [doc], it works for me. Both categories as well as the single entry show up.

Minetest 5.7.0.
doc 1.3.0.

User avatar
56independent_actual
Member
Posts: 452
Joined: Sun May 23, 2021 16:10
IRC: independent56
In-game: 56independent
Location: Girona Province
Contact:

Re: [Modpack] Help [1.4.1] [doc]

by 56independent_actual » Post

Wuzzy wrote:
Wed Apr 12, 2023 17:57
When I paste this code into a dummy mod and add a dependency on [doc], it works for me. Both categories as well as the single entry show up.
Dammit, now i just feel incredibly stupid. I was using a file called modpack.conf, which i had obviously copied from elsewhere. I never had realised that the equals should not have whitespace padding, that the stuff has to be in a specific order, and nor did i notice that the mod was DISABLED in the modpack because i usually say "enable all" and then check it works. Minetest's interpretation of my workflow has probably changed.

Thanks for the help!
Warnig: Al my laguage ekscept English is bad, includig Hungarian (magyàränoлиски), Spanish (esпagnyoл), and Russian (рÿсскïанöл).

User avatar
Wuzzy
Member
Posts: 4778
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: [Modpack] Help [1.4.2] [doc]

by Wuzzy » Post

New mod versions released!

doc: 1.3.1
doc_items: 1.3.2
doc_basics: 1.2.2
doc_encyclopedia: 1.3.2
doc_identifier: 1.3.2

These include new Russian translations by xrandr as well as a few bugfixes to existing translations.

User avatar
Wuzzy
Member
Posts: 4778
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy
Contact:

Re: [Modpack] Help [1.4.3] [doc]

by Wuzzy » Post

New mod version released!

doc: 1.3.2

Includes a new Esperanto translation by jadedctrl

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 12 guests