[Mod] Make Beer in Minetest [beer_test]

User avatar
azekill_DIABLO
Member
Posts: 7507
Joined: Wed Oct 29, 2014 20:05
GitHub: azekillDIABLO
In-game: azekill_DIABLO
Location: OMICRON
Contact:

Re: [Mod] Make Beer in Minetest [beer_test]

by azekill_DIABLO » Post

it's wierd!
Gone, but not dead. Contact me on discord: azekill_DIABLO#6565
DMs are always open if you want to get in touch!

Sokomine
Member
Posts: 4290
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [Mod] Make Beer in Minetest [beer_test]

by Sokomine » Post

azekill_DIABLO wrote: it's wierd!
No. You just made too much beer and drank it all. It's better in small quantities :-)
A list of my mods can be found here.

Chibi ghost
Member
Posts: 845
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: [Mod] Make Beer in Minetest [beer_test]

by Chibi ghost » Post

worked out the crop layout but oats seems slow tinkering is needed
Image
Attachments
screenshot_20170617_222251.png
screenshot_20170617_222251.png (635.28 KiB) Viewed 746 times

Sokomine
Member
Posts: 4290
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine
IRC: Sokomine
In-game: Sokomine

Re: [Mod] Make Beer in Minetest [beer_test]

by Sokomine » Post

Chibi wrote: worked out the crop layout but oats seems slow tinkering is needed
The crop layout and the nodes used to support it growing high look very good. Nice mod!
A list of my mods can be found here.

Chibi ghost
Member
Posts: 845
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: [Mod] Make Beer in Minetest [beer_test]

by Chibi ghost » Post

are oats suppose to be slow growing?

Chem871
Member
Posts: 999
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: [Mod] Make Beer in Minetest [beer_test]

by Chem871 » Post

It looks extremely complicated, but at the same time, extremely fun! :D
What is SCP-055?

Chem871
Member
Posts: 999
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: [Mod] Make Beer in Minetest [beer_test]

by Chem871 » Post

This mod needs to be maintained! It's too awesome to slip into obscurity! :(
What is SCP-055?

User avatar
Akahyperion
Member
Posts: 17
Joined: Mon Dec 12, 2016 18:57
IRC: Akahyperion
In-game: Akahyperion
Location: France

Re: [Mod] Make Beer in Minetest [beer_test]

by Akahyperion » Post

Hi everyone,

I'm trying to add this mod to my private local server, but it does not load.
Here is the error :

Code: Select all

2017-12-03 19:05:05: ERROR[Main]: ModError: Failed to load and run script from /home/minetest/.minetest/mods/beer_test/init.lua:
2017-12-03 19:05:05: ERROR[Main]: Mod security: Blocked attempted read from /home/minetest/.minetest/worlds/Stable_Lifebeer_test.conf
2017-12-03 19:05:05: ERROR[Main]: stack traceback:
2017-12-03 19:05:05: ERROR[Main]: 	[C]: in function 'Settings'
2017-12-03 19:05:05: ERROR[Main]: 	...netest/.minetest/mods/beer_test/mod_files/other_mods.lua:5: in main chunk
2017-12-03 19:05:05: ERROR[Main]: 	[C]: in function 'dofile'
2017-12-03 19:05:05: ERROR[Main]: 	/home/minetest/.minetest/mods/beer_test/init.lua:43: in main chunk
As far as I can understand, this mod create a configuration file outside my world folder however Mod security does not allow this, so I disabled Mod security in my "minetest.conf" file and it works.

But I don't know if disabling it is a good way to proceed so I had a look to the "other_mods.lua" file and according to the debug above there is something wrong at line 5:

Code: Select all

#
--load configuration file from world folder
local MODPATH = minetest.get_modpath("beer_test")
local worldpath = minetest.get_worldpath()
local config = Settings(worldpath.."beer_test.conf")
I have tried to edit this line as workaround to set that "beer_test.conf" file should be in my world folder but I don't know lua and nothing works.
Does someone have an idea about how to proceed?
Last edited by Akahyperion on Wed Dec 06, 2017 08:59, edited 2 times in total.

Chibi ghost
Member
Posts: 845
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: [Mod] Make Beer in Minetest [beer_test]

by Chibi ghost » Post

I managed to load both available versions but I had growing problems with oats on each one I'm still not sure if the problems I had were a me problem or a code problem
shame really cause I really liked the nodes and the involved slightly complex crafting system

Chem871
Member
Posts: 999
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: [Mod] Make Beer in Minetest [beer_test]

by Chem871 » Post

I went into farming redo's chili.lua file, and just replaced all "chili" definitions with "oats" ones, and put that code into beer_test's plants.lua file, erased the original oats code, and now oats are now growing on my personal server.
What is SCP-055?

Chibi ghost
Member
Posts: 845
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: [Mod] Make Beer in Minetest [beer_test]

by Chibi ghost » Post

Chem871 wrote:I went into farming redo's chili.lua file, and just replaced all "chili" definitions with "oats" ones, and put that code into beer_test's plants.lua file, erased the original oats code, and now oats are now growing on my personal server.
show off :)

Chem871
Member
Posts: 999
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: [Mod] Make Beer in Minetest [beer_test]

by Chem871 » Post

Did it work for you?
What is SCP-055?

Chibi ghost
Member
Posts: 845
Joined: Fri Jan 08, 2016 21:17
In-game: Ghost

Re: [Mod] Make Beer in Minetest [beer_test]

by Chibi ghost » Post

I'm at my limit for mods and at the time I had room for this mod at the time but now
it's too big for my game but it's good that you found a workaround for other players

Chem871
Member
Posts: 999
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: [Mod] Make Beer in Minetest [beer_test]

by Chem871 » Post

I'll post the code I tweaked for it soon.

*Edit: Unless the author wants to update it, then my tweaks would get in the way
What is SCP-055?

User avatar
Niscobad
Member
Posts: 22
Joined: Sun Aug 27, 2017 00:57
IRC: Niscobad
In-game: Niscobad
Location: France

Re: [Mod] Make Beer in Minetest [beer_test]

by Niscobad » Post

Hi,
I have the same problem as Akahyperion :

Code: Select all

2018-01-19 23:32:12: ERROR[Main]: ModError: Failed to load and run script from /home/nix/.minetest/mods/beer_test/init.lua:
2018-01-19 23:32:12: ERROR[Main]: Mod security: Blocked attempted read from /home/nix/.minetest/worlds/testbeer_test.conf
2018-01-19 23:32:12: ERROR[Main]: stack traceback:
2018-01-19 23:32:12: ERROR[Main]: 	[C]: in function 'Settings'
2018-01-19 23:32:12: ERROR[Main]: 	/home/nix/.minetest/mods/beer_test/mod_files/other_mods.lua:5: in main chunk
2018-01-19 23:32:12: ERROR[Main]: 	[C]: in function 'dofile'
2018-01-19 23:32:12: ERROR[Main]: 	/home/nix/.minetest/mods/beer_test/init.lua:43: in main chunk
One year ago, the mod worked very well (before 4.16 minetest version).
I don't understand lua, does anyone have an idea how to solve this problem?

This mod is really nice and I would like to make it work again...
ywLICeKnswFUipi4Le3lJCNXlSrxVXOp

u18398

Re: [Mod] Make Beer in Minetest [beer_test]

by u18398 » Post

Niscobad wrote:Hi,
I have the same problem as Akahyperion :

One year ago, the mod worked very well (before 4.16 minetest version).
I don't understand lua, does anyone have an idea how to solve this problem?

This mod is really nice and I would like to make it work again...
I love that mod and have it running since the early beginning of my server.
My fork runs on latest stable minetest version, but I never tried on an other
server than mine. But maybe you just try it out.

https://github.com/berengma/beer_test/a ... master.zip

User avatar
Niscobad
Member
Posts: 22
Joined: Sun Aug 27, 2017 00:57
IRC: Niscobad
In-game: Niscobad
Location: France

Re: [Mod] Make Beer in Minetest [beer_test]

by Niscobad » Post

Thanks for your file.
I tried but same error...
ywLICeKnswFUipi4Le3lJCNXlSrxVXOp

u18398

Re: [Mod] Make Beer in Minetest [beer_test]

by u18398 » Post

Niscobad wrote:Thanks for your file.
I tried but same error...
turning off mod security made it work for me.
But this a bit dangerous if you do not know what each mod you
have on your server exactly does :)

like enabling unknown sources on android maybe ?

User avatar
Niscobad
Member
Posts: 22
Joined: Sun Aug 27, 2017 00:57
IRC: Niscobad
In-game: Niscobad
Location: France

Re: [Mod] Make Beer in Minetest [beer_test]

by Niscobad » Post

Gundul wrote: turning off mod security made it work for me.
how do you do that?
Gundul wrote: But this a bit dangerous if you do not know what each mod you have on your server exactly does :)

like enabling unknown sources on android maybe ?
It's not a problem for me, i use this mod in singleplayer, I've got no server...
ywLICeKnswFUipi4Le3lJCNXlSrxVXOp

u18398

Re: [Mod] Make Beer in Minetest [beer_test]

by u18398 » Post

Niscobad wrote:
Gundul wrote: turning off mod security made it work for me.
how do you do that?

open your client, go to the preferences and click on the button
in the lower left corner. (extended preferences or something,my client is not in english)
enter "security" in the search bar and deactivate mod security

User avatar
Niscobad
Member
Posts: 22
Joined: Sun Aug 27, 2017 00:57
IRC: Niscobad
In-game: Niscobad
Location: France

Re: [Mod] Make Beer in Minetest [beer_test]

by Niscobad » Post

yes! thanks!! it worked!
i had a look in minetest.conf files, tried to add some lines...
thanks for the tip Gundul :)
ywLICeKnswFUipi4Le3lJCNXlSrxVXOp

hajo
Member
Posts: 606
Joined: Thu Oct 13, 2016 10:45
Location: DE
Contact:

Re: [Mod] Make Beer in Minetest [beer_test]

by hajo » Post

Akahyperion wrote:As far as I can understand, this mod create a configuration file outside my world folder
however Mod security does not allow this, so I disabled Mod security in my "minetest.conf"
It would be better to use mod-storage instead of that configuration-file.

u18398

Re: [Mod] Make Beer in Minetest [beer_test]

by u18398 » Post

hajo wrote:
Akahyperion wrote:As far as I can understand, this mod create a configuration file outside my world folder
however Mod security does not allow this, so I disabled Mod security in my "minetest.conf"
It would be better to use mod-storage instead of that configuration-file.
Definitely true. But you need to find someone who changes the code :D
The inventor of this mod if probably not caring anymore ?

Chem871
Member
Posts: 999
Joined: Sat Aug 19, 2017 21:49
GitHub: Chemguy99
In-game: Chem Nyx
Location: My Basement's Attic

Re: [Mod] Make Beer in Minetest [beer_test]

by Chem871 » Post

If you're the one who's continuing this mod, here are a few bugs I noticed(with the original mod)
#1-If the player is holding any number of empty mugs, and taps any type of keg to get alcohol, it eats all of the mugs, and gives back one of the filled mugs.
#2-Moonshine, mulledwine, and the other special wine barrel are not only uncraftable, they never run out of juice.
#3-Mugs of the exact same alcohol type aren't stackable, this is a space issue.
#4-All alcohol gives the same satiation, no purpose of letting the kegs ferment.
What is SCP-055?

u18398

Re: [Mod] Make Beer in Minetest [beer_test]

by u18398 » Post

Chem871 wrote:If you're the one who's continuing this mod, here are a few bugs I noticed(with the original mod)
#1-If the player is holding any number of empty mugs, and taps any type of keg to get alcohol, it eats all of the mugs, and gives back one of the filled mugs.
#2-Moonshine, mulledwine, and the other special wine barrel are not only uncraftable, they never run out of juice.
#3-Mugs of the exact same alcohol type aren't stackable, this is a space issue.
#4-All alcohol gives the same satiation, no purpose of letting the kegs ferment.
Nice try :)

Sorry when I should disappoint you, but I am not the one who continues this mod. :)

Nevertheless this mod is running for almost 2years on my server and I did already some bugfixing.
So bug #1, #3 and #4 might be fixed already in my fork which you can find on my github.
(or see link a few posts before this one)
#4 I do not remember I fixed within this mod or by using hbhunger and diet.

there might be other bugfixes or additions of which I do not remember. I did not work in its code
for over a year now. Feel free do download and check, but no garantees it will work outside
Jungle server :)

Post Reply

Who is online

Users browsing this forum: No registered users and 43 guests