[Mod] Make Beer in Minetest [beer_test]

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

Sokomine
Member
 
Posts: 3827
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

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

by Sokomine » Sun Jun 18, 2017 21:32

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.
 

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

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

by Chibi ghost » Sun Jun 18, 2017 21:58

worked out the crop layout but oats seems slow tinkering is needed
Image
Attachments
screenshot_20170617_222251.png
(635.28 KiB) Not downloaded yet
 

Sokomine
Member
 
Posts: 3827
Joined: Sun Sep 09, 2012 17:31
GitHub: Sokomine

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

by Sokomine » Sun Jun 18, 2017 22:03

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.
 

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

Chem871
Member
 
Posts: 921
Joined: Sat Aug 19, 2017 21:49
Location: SCP-2935
GitHub: Chemguy99
In-game: Nyx Serris

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

by Chem871 » Thu Nov 30, 2017 20:06

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

Chem871
Member
 
Posts: 921
Joined: Sat Aug 19, 2017 21:49
Location: SCP-2935
GitHub: Chemguy99
In-game: Nyx Serris

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

by Chem871 » Sat Dec 02, 2017 14:43

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

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

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

by Akahyperion » Sun Dec 03, 2017 18:17

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.
 

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

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

by Chibi ghost » Sun Dec 03, 2017 21:11

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: 921
Joined: Sat Aug 19, 2017 21:49
Location: SCP-2935
GitHub: Chemguy99
In-game: Nyx Serris

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

by Chem871 » Mon Dec 04, 2017 01:13

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 again? I forgot.
 

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

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

by Chibi ghost » Mon Dec 04, 2017 11:04

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: 921
Joined: Sat Aug 19, 2017 21:49
Location: SCP-2935
GitHub: Chemguy99
In-game: Nyx Serris

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

by Chem871 » Mon Dec 04, 2017 12:36

Did it work for you?
What is SCP-055 again? I forgot.
 

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

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

by Chibi ghost » Mon Dec 04, 2017 13:08

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: 921
Joined: Sat Aug 19, 2017 21:49
Location: SCP-2935
GitHub: Chemguy99
In-game: Nyx Serris

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

by Chem871 » Mon Dec 04, 2017 13:19

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 again? I forgot.
 

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

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

by Niscobad » Fri Jan 19, 2018 22:44

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
 

Gundul
Member
 
Posts: 497
Joined: Thu Aug 27, 2015 10:55
Location: Europe/Asia
GitHub: berengma
IRC: Gundul

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

by Gundul » Sat Jan 20, 2018 16:47

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/archive/master.zip
My servers: Jungle, Lilly in the valley, ZombieTest
 

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

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

by Niscobad » Sun Jan 21, 2018 14:40

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

Gundul
Member
 
Posts: 497
Joined: Thu Aug 27, 2015 10:55
Location: Europe/Asia
GitHub: berengma
IRC: Gundul

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

by Gundul » Sun Jan 21, 2018 16:40

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 ?
My servers: Jungle, Lilly in the valley, ZombieTest
 

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

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

by Niscobad » Sun Jan 21, 2018 20:09

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
 

Gundul
Member
 
Posts: 497
Joined: Thu Aug 27, 2015 10:55
Location: Europe/Asia
GitHub: berengma
IRC: Gundul

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

by Gundul » Mon Jan 22, 2018 15:49

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
My servers: Jungle, Lilly in the valley, ZombieTest
 

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

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

by Niscobad » Mon Jan 22, 2018 17:23

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: 596
Joined: Thu Oct 13, 2016 10:45
Location: DE

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

by hajo » Wed Jan 24, 2018 14:09

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.
 

Gundul
Member
 
Posts: 497
Joined: Thu Aug 27, 2015 10:55
Location: Europe/Asia
GitHub: berengma
IRC: Gundul

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

by Gundul » Wed Jan 24, 2018 17:06

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 ?
My servers: Jungle, Lilly in the valley, ZombieTest
 

Chem871
Member
 
Posts: 921
Joined: Sat Aug 19, 2017 21:49
Location: SCP-2935
GitHub: Chemguy99
In-game: Nyx Serris

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

by Chem871 » Wed Jan 24, 2018 18:35

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 again? I forgot.
 

Gundul
Member
 
Posts: 497
Joined: Thu Aug 27, 2015 10:55
Location: Europe/Asia
GitHub: berengma
IRC: Gundul

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

by Gundul » Thu Jan 25, 2018 12:10

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 :)
My servers: Jungle, Lilly in the valley, ZombieTest
 

PreviousNext

Return to WIP Mods



Who is online

Users browsing this forum: No registered users and 5 guests