[Mod] Painting 3 [3.1.0] [painting]

Post Reply
SFENCE
Member
Posts: 280
Joined: Sun Sep 29, 2019 07:13
GitHub: SFENCE
In-game: SFENCE

[Mod] Painting 3 [3.1.0] [painting]

by SFENCE » Post

This mod is based on painting mod from jin_xi and others.

Add in-game painting to Minetest Game which is optimized for Minetest 5.5.0 and above.

Chat commands painting_export, painting_export_tga and painting_import can be used to save paintings into files or import them from files. It requires paintint_export or painting_import privilege.

Should be compatible with older versions of the painting mod (https://github.com/sfence/painting/releases/tag/2.0.0 and https://github.com/sfence/painting/releases/tag/0.9.0). But before updating, I highly recommend making a backup of the world.

Image

Plans:
Add more canvas types.

Download: https://github.com/sfence/painting/archive/3.1.0.zip
Source code: https://github.com/sfence/painting/tree/v3
Optional Dependencies: vector_extras, default, farming, mcl_core, hades_bucket, hades_extrafarming, sculpture, tga_encoder
License: WTFPL for source code and media files.
Last edited by SFENCE on Tue May 17, 2022 20:32, edited 6 times in total.
cdb_3P0AYqjEIn68

User avatar
apercy
Member
Posts: 640
Joined: Wed Mar 25, 2020 16:31
GitHub: APercy
In-game: APercy
Location: Pinheiral - RJ - Brazil

Re: [Mod] Painting 3 [3.0.0] [painting]

by apercy » Post

Wow! I need this on MY world!

User avatar
apercy
Member
Posts: 640
Joined: Wed Mar 25, 2020 16:31
GitHub: APercy
In-game: APercy
Location: Pinheiral - RJ - Brazil

Re: [Mod] Painting 3 [3.0.1] [painting]

by apercy » Post

Something strange occurs on my server when two players are painting at the same time (different canvas, but at the same time)

"2022-03-31 21:50:48: ERROR[Server]: An unhandled exception occurred: String too long for serializeString16
2022-03-31 21:50:48: ERROR[Server]: In thread 7f9038ed4700:
2022-03-31 21:50:48: ERROR[Server]: /home/oem/minetest/src/server.cpp:86: virtual void* ServerThread::run(): A fatal error occurred: String too long for serializeString16"

SFENCE
Member
Posts: 280
Joined: Sun Sep 29, 2019 07:13
GitHub: SFENCE
In-game: SFENCE

Re: [Mod] Painting 3 [3.0.2] [painting]

by SFENCE » Post

Painting mod has been updated to version 3.0.2.
  • Remove uncolored brush from not_in_creative_inventory group.
  • Add group not_in_creative_inventory group for colored back-compatibility brushes.
cdb_3P0AYqjEIn68

SFENCE
Member
Posts: 280
Joined: Sun Sep 29, 2019 07:13
GitHub: SFENCE
In-game: SFENCE

Re: [Mod] Painting 3 [3.0.2] [painting]

by SFENCE » Post

apercy wrote:
Fri Apr 01, 2022 09:59
Something strange occurs on my server when two players are painting at the same time (different canvas, but at the same time)

"2022-03-31 21:50:48: ERROR[Server]: An unhandled exception occurred: String too long for serializeString16
2022-03-31 21:50:48: ERROR[Server]: In thread 7f9038ed4700:
2022-03-31 21:50:48: ERROR[Server]: /home/oem/minetest/src/server.cpp:86: virtual void* ServerThread::run(): A fatal error occurred: String too long for serializeString16"
Does it happen for canvas 64x64 with some complex painting?
cdb_3P0AYqjEIn68

wsor4035
Member
Posts: 182
Joined: Sun Aug 11, 2019 21:23
GitHub: wsor4035
IRC: wsor
In-game: wsor

Re: [Mod] Painting 3 [3.0.2] [painting]

by wsor4035 » Post

see https://github.com/minetest/minetest/pull/11511 and https://github.com/minetest/minetest/issues/11850 your trying to store to much data, and apercy should update the server to 5.5
j5uBLfc6NxgersvVj5D5dIsiKDkoQb0o

User avatar
apercy
Member
Posts: 640
Joined: Wed Mar 25, 2020 16:31
GitHub: APercy
In-game: APercy
Location: Pinheiral - RJ - Brazil

Re: [Mod] Painting 3 [3.0.2] [painting]

by apercy » Post

wsor4035 wrote:
Fri Apr 01, 2022 19:04
see https://github.com/minetest/minetest/pull/11511 and https://github.com/minetest/minetest/issues/11850 your trying to store to much data, and apercy should update the server to 5.5
the server is 5.5

SFENCE
Member
Posts: 280
Joined: Sun Sep 29, 2019 07:13
GitHub: SFENCE
In-game: SFENCE

Re: [Mod] Painting 3 [3.0.3] [painting]

by SFENCE » Post

Painting mod has been updated to version 3.0.3.
  • Support for more complex painting 64x64.
cdb_3P0AYqjEIn68

SFENCE
Member
Posts: 280
Joined: Sun Sep 29, 2019 07:13
GitHub: SFENCE
In-game: SFENCE

Re: [Mod] Painting 3 [3.0.1] [painting]

by SFENCE » Post

apercy wrote:
Fri Apr 01, 2022 09:59
Something strange occurs on my server when two players are painting at the same time (different canvas, but at the same time)

"2022-03-31 21:50:48: ERROR[Server]: An unhandled exception occurred: String too long for serializeString16
2022-03-31 21:50:48: ERROR[Server]: In thread 7f9038ed4700:
2022-03-31 21:50:48: ERROR[Server]: /home/oem/minetest/src/server.cpp:86: virtual void* ServerThread::run(): A fatal error occurred: String too long for serializeString16"
From version 3.0.3 it should be more complicated to get this error.
I the future I will try to add some kind of more sophisticated prevention.
cdb_3P0AYqjEIn68

SFENCE
Member
Posts: 280
Joined: Sun Sep 29, 2019 07:13
GitHub: SFENCE
In-game: SFENCE

Re: [Mod] Painting 3 [3.1.0] [painting]

by SFENCE » Post

Painting mod has been updated to version 3.1.0.
  • Added chat commands for import/export paintings.
cdb_3P0AYqjEIn68

Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests