[Modpack] Display Modpack [1.3] [display_modpack]

Thomas-S
Member
Posts: 115
Joined: Sun Sep 06, 2015 12:23
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S
Location: Bavaria, Germany

Re: [Modpack] Display Modpack [1.2] [display_modpack]

by Thomas-S » Post

As far as I can see, minetest.is_player() utilizes ObjectRef:is_player() internally.

User avatar
Pyrollo
Developer
Posts: 385
Joined: Mon Jan 08, 2018 15:14
GitHub: pyrollo
In-game: Naj
Location: Paris

Re: [Modpack] Display Modpack [1.2] [display_modpack]

by Pyrollo » Post

jas wrote:Is `minetest.is_player' separate from `ObjectRef:is_player'?
I guess so.
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]

Thomas-S
Member
Posts: 115
Joined: Sun Sep 06, 2015 12:23
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S
Location: Bavaria, Germany

Re: [Modpack] Display Modpack [1.2] [display_modpack]

by Thomas-S » Post

According to the ContentDB, this mod contains non-free media. (https://content.minetest.net/packages/P ... y_modpack/)

Is this still true?

As far as I know, the non-free font got replaced with the metro font.

User avatar
Pyrollo
Developer
Posts: 385
Joined: Mon Jan 08, 2018 15:14
GitHub: pyrollo
In-game: Naj
Location: Paris

Re: [Modpack] Display Modpack [1.2] [display_modpack]

by Pyrollo » Post

You are right, non free media have been removed a while ago and replaced by CC licensed ones.
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]

User avatar
BirgitLachner
Member
Posts: 393
Joined: Thu May 05, 2016 10:18
In-game: Bibs

Re: [Modpack] Display Modpack [1.2] [display_modpack]

by BirgitLachner » Post

Thank you for all the attempts to help me. I guess it's another problem. Because I noticed now that when loading the server there is another message, which surely has something to do with it:
ERROR[Main]: The following mods could not be found: "display_lib" "font_lib"
I did not find any reason for that message. At world.mt the mods are activated and I don't see any missing part of the Display-Mod, the file in the Display Modpack Folder are the same.

What is a bit strange ... every time I leave the world, I get the same error message, when trying to change the font.
2019-03-08 18:59:27: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'font_api' in callback on_leaveplayer(): ...st/bin/../mods/display_modpack/font_api/fontform.lua:24: attempt to call field 'is_player' (a nil value)
2019-03-08 18:59:27: ERROR[Main]: stack traceback:
2019-03-08 18:59:27: ERROR[Main]: ...st/bin/../mods/display_modpack/font_api/fontform.lua:24: in function '?'
2019-03-08 18:59:27: ERROR[Main]: /minetest/bin/../builtin/game/register.lua:412: in function </minetest/bin/../builtin/game/register.lua:392>
Birgit

User avatar
Pyrollo
Developer
Posts: 385
Joined: Mon Jan 08, 2018 15:14
GitHub: pyrollo
In-game: Naj
Location: Paris

Re: [Modpack] Display Modpack [1.2] [display_modpack]

by Pyrollo » Post

BirgitLachner wrote:
ERROR[Main]: The following mods could not be found: "display_lib" "font_lib"
display_lib and font_lib are old names of display_api and font_api. I guess you have this message because of remaining lines in your world.mt file that refer to these old names. This is not a problem and you can get rid of this error by removing load_mod_display_lib and load_mod_font_lib lines from the world.mt file.
BirgitLachner wrote:
2019-03-08 18:59:27: ERROR[Main]: ServerError: AsyncErr: ServerThread::run Lua: Runtime error from mod 'font_api' in callback on_leaveplayer(): ...st/bin/../mods/display_modpack/font_api/fontform.lua:24: attempt to call field 'is_player' (a nil value)
2019-03-08 18:59:27: ERROR[Main]: stack traceback:
2019-03-08 18:59:27: ERROR[Main]: ...st/bin/../mods/display_modpack/font_api/fontform.lua:24: in function '?'
2019-03-08 18:59:27: ERROR[Main]: /minetest/bin/../builtin/game/register.lua:412: in function </minetest/bin/../builtin/game/register.lua:392>
You can see here the error is about font_api (and not anymore font_lib). That is the current name of the mod.

I don't know what to say except : be sure to use the last version of display_modpack (did you get it from git or from contentdb ? or other ?) and be sure to use at least 0.4.17.1 version of Minetest (exact vesion number is displayed in the "credits" tab of the main menu).
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]

User avatar
Pyrollo
Developer
Posts: 385
Joined: Mon Jan 08, 2018 15:14
GitHub: pyrollo
In-game: Naj
Location: Paris

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by Pyrollo » Post

Version 1.3 - Upside down and round and round
Display API now takes benefit of the new Minetest 5.0 ObjectRef:set_rotation method :
Now display nodes can be rotated in any possible ways!

Image


Three conditions to make this work :
  • Use Minetest 5
  • Update Display Modpack to version 1.3
  • Disable "display_rotation_restriction" setting (Mods/display_api)
Attachments
screenshot_20190309_221829.png
screenshot_20190309_221829.png (287.93 KiB) Viewed 2156 times
Last edited by Pyrollo on Sun May 26, 2019 14:40, edited 1 time in total.
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]

User avatar
thomasthespacefox
Member
Posts: 100
Joined: Sun Aug 02, 2015 15:00
GitHub: ThomasTheSpaceFox
IRC: ThomasJaguar1212
In-game: thomasthespacefox
Contact:

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by thomasthespacefox » Post

Pyrollo wrote:Version 1.3 - Upside down and round and round
Display API now takes benefit of the new Minetest 5.0 ObjectRef:set_rotation method :
Now display nodes can be rotated in any possible ways!

Image


Three conditions to make this work :
  • Use Minetest 5
  • Update Display Modpack to version 1.3
  • Disable "display_rotation_restriction" setting (Mods/display_api)
Its not on ContentDB yet. newest version there is 1.2

User avatar
Pyrollo
Developer
Posts: 385
Joined: Mon Jan 08, 2018 15:14
GitHub: pyrollo
In-game: Naj
Location: Paris

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by Pyrollo » Post

thomasthespacefox wrote:Its not on ContentDB yet. newest version there is 1.2
New 1.3.1 release added, waiting for approval.
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]

User avatar
uwu
Member
Posts: 43
Joined: Sun Jan 21, 2018 15:01

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by uwu » Post

Pyrollo wrote: IMPORTANT: If you use Minetest version 5.0 or above, disable the setting display_rotate_restriction and enjoy rotation of display nodes in every direction.
I couldn't find this setting, where is it?

User avatar
Pyrollo
Developer
Posts: 385
Joined: Mon Jan 08, 2018 15:14
GitHub: pyrollo
In-game: Naj
Location: Paris

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by Pyrollo » Post

Sorry, this setting is no more required since 1.3.1.

Edit: edited posts accordingly.
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]

User avatar
Yvanhoe
Member
Posts: 140
Joined: Fri Jul 05, 2019 03:18
Location: Japan

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by Yvanhoe » Post

Just a small heads up: the link to the Old Wizard font repository is broken in the first post, it should be: https://github.com/pyrollo/font_oldwizard

User avatar
Pyrollo
Developer
Posts: 385
Joined: Mon Jan 08, 2018 15:14
GitHub: pyrollo
In-game: Naj
Location: Paris

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by Pyrollo » Post

Thanks a lot! Fixed!
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]

bennovb
New member
Posts: 2
Joined: Tue Nov 19, 2019 22:00

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by bennovb » Post

Why do i keep getting this errormessage about init.lua missing?

Code: Select all

2019-11-19 22:55:42: ERROR[Main]: ModError: Failed to load and run script from C:\Minetest\bin\..\mods\display_modpack\display_modpack\init.lua:
2019-11-19 22:55:42: ERROR[Main]: C:\Minetest\bin\..\mods\display_modpack\display_modpack\init.lua: No such file or directory
2019-11-19 22:55:42: ERROR[Main]: Kijk in debug.txt voor details.
2019-11-19 22:55:42: ACTION[Main]: Server: Shutting down
Using on Windows 10
fresh install of;
- minetest-5.1.0-win64
- Display Modpack [1.3]

User avatar
Nathan.S
Member
Posts: 1147
Joined: Wed Sep 24, 2014 17:47
GitHub: NathanSalapat
IRC: NathanS21
In-game: NathanS21
Location: Bigsby Texas
Contact:

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by Nathan.S » Post

Looks like you have your modpack in an extra folder. There should be no display_modpack folder in the display_modpack folder. You might want to download a fresh copy of the mod_pack.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course

bennovb
New member
Posts: 2
Joined: Tue Nov 19, 2019 22:00

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by bennovb » Post

Nathan.S wrote:Looks like you have your modpack in an extra folder. There should be no display_modpack folder in the display_modpack folder. You might want to download a fresh copy of the mod_pack.
Looks like your right!
As a novice user i didn't understand at first, but your advice was very helpful, thanks.

I unpacked (moved) each individual mod to the modsfolder and now it works fine,

User avatar
Pyrollo
Developer
Posts: 385
Joined: Mon Jan 08, 2018 15:14
GitHub: pyrollo
In-game: Naj
Location: Paris

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by Pyrollo » Post

You can do that but the simpliest way is to unpack display_modpack folder into your mod folder.
The problem was having a second display_modpack folder in the display_modpack folder.
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]

User avatar
SevenRichieWhite
New member
Posts: 9
Joined: Fri Jun 05, 2020 00:25
IRC: SevenRichieWhite
In-game: SevenRichieWhite
Location: Germany

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by SevenRichieWhite » Post

I got something strange with the mod. Its not just me seeing this. Other players on my server also have this.
The white text is actually annoying and hard to read sometimes.
Is there a way to fix this?
Spoiler
Image

User avatar
Pyrollo
Developer
Posts: 385
Joined: Mon Jan 08, 2018 15:14
GitHub: pyrollo
In-game: Naj
Location: Paris

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by Pyrollo » Post

Hi,

Something went wrong with multiline text coloring. I fixed it using formspec styling.

Please use last git version to have this problem fixed.
[ Display Modpack ] - [ Digiterms ] - [ Crater MG ] - [ LATE ]

User avatar
SevenRichieWhite
New member
Posts: 9
Joined: Fri Jun 05, 2020 00:25
IRC: SevenRichieWhite
In-game: SevenRichieWhite
Location: Germany

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by SevenRichieWhite » Post

That worked. Thank you very much :)

User avatar
daret
Member
Posts: 136
Joined: Tue Nov 12, 2019 20:36
GitHub: daretmavi
In-game: Daretmavi

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by daret » Post

really cool modpack

Supersuzi
Member
Posts: 21
Joined: Wed Mar 10, 2021 17:46
In-game: Supersuzi

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by Supersuzi » Post

I love this modpack. Thanks for creating it and making it available!

Where can I find the texts I put on the posters and school board?
I would like to put the texts in a text file on my PC with c&p, because c&p does not work in the game. I have searched in the mod folders and also in the "World" folder for my keyword, but I just can't find it

I have numbered the boards. On each board I want to add 3 - 4 lines - which I have already collected in a text file. I would like to insert this with copy&paste directly into the mod file. I have searched in the mod folders and also in the "World" folder for my keyword, but I just can't find it).)

Thanks

User avatar
Linuxdirk
Member
Posts: 3217
Joined: Wed Sep 17, 2014 11:21
In-game: Linuxdirk
Location: Germany
Contact:

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by Linuxdirk » Post

What I noticed: In front of the wooden direction sign there is something that blocks the player, but it is depending on direction of the sign, sometimes it's there, sometimes it's not. Maybe the entity that is used to display the text? Or a weird collision box?

ZAAo
Member
Posts: 47
Joined: Tue Jul 27, 2021 16:15

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by ZAAo » Post

Thanks for creating these amazing mods! I tried to create a new digital clock mod with your display API as used in the ontime_clocks mod, but mine is a smaller, wider digital clock (alarm clock actually) and now the display overlay is too big, and is shown above my clock instead of on the face. How can I make the display digits smaller and get them to overlay lower down?

User avatar
Blockhead
Member
Posts: 1622
Joined: Wed Jul 17, 2019 10:14
GitHub: Montandalar
IRC: Blockhead256
In-game: Blockhead Blockhead256
Location: Land Down Under
Contact:

Re: [Modpack] Display Modpack [1.3] [display_modpack]

by Blockhead » Post

I liked the Epilepsy font better than its replacement Metro. Is there a free font more like Epilepsy that I could use? Or should I install Epilepsy as a font mod if I want it? Other than maybe not liking the non-commercial clause and the revocation clause, there's nothing stopping me from using Epilepsy as far as I understand.
/˳˳_˳˳]_[˳˳_˳˳]_[˳˳_˳˳\ Advtrains enthusiast | My map: Noah's Railyard | My Content on ContentDB ✝️♂

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 22 guests