[Mod] Farming Plus [farming_plus]

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

[Mod] Farming Plus [farming_plus]

by PilzAdam » Tue Aug 14, 2012 13:42

Hello everyone!
This mods extents the default farming. This mod is useful when you use the food mod by rubenwardy.
Unfortunately there is currently no way to get the seeds of the new plants (due to the merge of farming to upstream). I need to think of a way to get them.

Depends:
default
farming (the one in minetest_game)

GitHub:
https://github.com/PilzAdam/farming_plus

Download:
https://github.com/PilzAdam/farming_plus/zipball/master
For Minetest 0.4.7 stable: https://github.com/PilzAdam/farming_plus/archive/086599805b642662ba680e1f18c271a4a972c9e3.zip

An alterntive version by Xanthin with translation for intllib:
https://github.com/Xanthin/farming_plus/archive/master.zip

License:
WTFPL, see README.txt for more detailed information.

0.4.6 or previous:
0.4.6 and previous version dont have farming in minetest_game, so you need this: https://github.com/PilzAdam/farming and this version of farming_plus: https://github.com/PilzAdam/farming_plus/tree/90390ec83397e422b583f01a06ed27864f114a67
Last edited by PilzAdam on Tue Apr 15, 2014 18:45, edited 1 time in total.
 

User avatar
RealBadAngel
Member
 
Posts: 556
Joined: Wed Jul 18, 2012 16:30

by RealBadAngel » Tue Aug 14, 2012 13:52

make cotton producing strings not wool directly. wool could be crafted out of strings
string could be usefull also for other stuff
btw i would love to see kinda rubber plant/tree
 

Spots
Member
 
Posts: 124
Joined: Tue Jul 24, 2012 12:12

by Spots » Tue Aug 14, 2012 14:50

just a few things i found while testing it out
1. after hoeing a 40x40 area i got very few seeds
2. when planted the seeds mature very very very slowly
3. and like Angel suggested maybe a rubber tree/plant ,wheat,and a few others
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Tue Aug 14, 2012 15:03

Spots wrote:just a few things i found while testing it out
1. after hoeing a 40x40 area i got very few seeds
2. when planted the seeds mature very very very slowly
3. and like Angel suggested maybe a rubber tree/plant ,wheat,and a few others

1+2 You have to start with a very small farm and with the time it goes bigger and bigger.
3. corn is actually wheat (my dictionary is not good) and i will add rubber in next version

EDIT: I forgott to mention: You also get more seeds with a better hoe.
Last edited by PilzAdam on Tue Aug 14, 2012 15:13, edited 1 time in total.
 

Spots
Member
 
Posts: 124
Joined: Tue Jul 24, 2012 12:12

by Spots » Tue Aug 14, 2012 15:26

ah okay then np all good ,testing everything out now and the farm is getting better but the pumpkins are only giving our 1 seed when you carve then i'm using stone sword does it give more with a better sword?
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Tue Aug 14, 2012 15:38

Spots wrote:does it give more with a better sword?

Not yet. Maybe i will make it in the next version.
 

User avatar
LolManKuba
Member
 
Posts: 939
Joined: Fri Feb 10, 2012 22:36

by LolManKuba » Tue Aug 14, 2012 15:40

New farming mod, nice
 

Spots
Member
 
Posts: 124
Joined: Tue Jul 24, 2012 12:12

by Spots » Tue Aug 14, 2012 15:49

Last edited by Spots on Tue Aug 14, 2012 16:22, edited 1 time in total.
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Tue Aug 14, 2012 16:29

I like it. Added mod support in Misa pack. :)
 

Spots
Member
 
Posts: 124
Joined: Tue Jul 24, 2012 12:12

by Spots » Tue Aug 14, 2012 17:55

hit an error
VERBOSE[main]: error_message = ServerError: LuaError: error: ...-d38b465-win32\bin\..\mods\minetest\farming\init.lua:50: bad argument #1 to 'get_node' (table expected, got nil)
13:50:41: VERBOSE[main]: stack traceback:
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Tue Aug 14, 2012 17:57

Spots wrote:hit an error
VERBOSE[main]: error_message = ServerError: LuaError: error: ...-d38b465-win32\bin\..\mods\minetest\farming\init.lua:50: bad argument #1 to 'get_node' (table expected, got nil)
13:50:41: VERBOSE[main]: stack traceback:

Already fixed in veresion 2 (coming soon)
 

Spots
Member
 
Posts: 124
Joined: Tue Jul 24, 2012 12:12

by Spots » Tue Aug 14, 2012 18:01

you rock !!
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Tue Aug 14, 2012 18:38

Spots wrote:you rock !!

Thank you.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

by sfan5 » Tue Aug 14, 2012 19:19

Really nice!
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

cornernote
Member
 
Posts: 844
Joined: Wed Jul 11, 2012 15:02

by cornernote » Wed Aug 15, 2012 00:39

If you have not already seen it, there is an old farming mod here:
http://minetest.net/forum/viewtopic.php?id=607

Perhaps useful for some textures or crop ideas?
 

leo_rockway
Member
 
Posts: 131
Joined: Tue Jul 31, 2012 20:37

by leo_rockway » Wed Aug 15, 2012 01:10

I'm not sure what I'm doing wrong, so I decided to just ask: how do you harvest? I tried digging the node but the plant disappears and I get nothing...
EDIT: I thought I was mining at full grown, but I was mistaken. After waiting for full grown I can see it's working now.


Also, I just got this:

22:21:24: ERROR[EmergeThread]: ERROR: An unhandled exception occurred: LuaError: error: /home/leo/.minetest/mods/minetest/farming/rubber.lua:136: attempt to perform arithmetic on global 'anz' (a nil value)
22:21:24: ERROR[EmergeThread]: stack traceback:

In thread 7f1ab6ad1700:
/pkgbuilds/minetest-git/src/minetest/src/server.cpp:404: virtual void* EmergeThread::Thread(): Assertion '0' failed.
Debug stacks:
DEBUG STACK FOR THREAD 7f1ab6ad1700:
#0 virtual void* EmergeThread::Thread()
(Leftover data: #1 virtual MapBlock* ServerMap::emergeBlock(v3s16, bool): p=(-22,3,13), allow_generate=0)
(Leftover data: #2 ServerMapSector* ServerMap::createSector(v2s16): p2d=(-24,13))
DEBUG STACK FOR THREAD 7f1acdee4700:
#0 virtual void* MeshUpdateThread::Thread()
DEBUG STACK FOR THREAD 7f1acfff0700:
#0 virtual void* ServerThread::Thread()
#1 void Server::AsyncRunStep()
#2 void Server::SendBlocks(float)
#3 void Server::SendBlockNoLock(irr::u16, MapBlock*, irr::u8)
(Leftover data: #4 void BlockEmergeQueue::addBlock(irr::u16, v3s16, irr::u8))
(Leftover data: #5 void ServerMap::loadBlock(std::string*, v3s16, MapSector*, bool))
DEBUG STACK FOR THREAD 7f1ad8022740:
#0 int main(int, char**)
#1 void ClientMap::renderMap(irr::video::IVideoDriver*, irr::s32)
(Leftover data: #2 virtual void ClientEnvironment::step(float))
(Leftover data: #3 void Client::Receive())
(Leftover data: #4 void Client::ProcessData(irr::u8*, irr::u32, irr::u16))
(Leftover data: #5 void MeshUpdateQueue::addBlock(v3s16, MeshMakeData*, bool, bool))
zsh: segmentation fault minetest
minetest 1768.03s user 323.63s system 125% cpu 27:50.54 total
Last edited by leo_rockway on Wed Aug 15, 2012 01:34, edited 1 time in total.
 

User avatar
Casimir
Member
 
Posts: 1101
Joined: Fri Aug 03, 2012 16:59

by Casimir » Wed Aug 15, 2012 01:33

As I tried to pick up a sapling (as item) with the hoe I got this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
... init.lua:50: bad argument #1 to 'get node' (table expected, got nil)
 

leo_rockway
Member
 
Posts: 131
Joined: Tue Jul 31, 2012 20:37

by leo_rockway » Wed Aug 15, 2012 01:43

Crafting the carved pumpkin seems to have completely repaired my sword. Can that be avoided?
 

Josh
Member
 
Posts: 1146
Joined: Fri Jun 29, 2012 23:11

by Josh » Wed Aug 15, 2012 03:08

Look's good! ill have to try it out.
Last edited by Josh on Wed Aug 15, 2012 03:08, edited 1 time in total.
 

Spots
Member
 
Posts: 124
Joined: Tue Jul 24, 2012 12:12

by Spots » Wed Aug 15, 2012 03:08

okay so i've been playing with your mod for ..oh about the last 2 hours lol i've had no problems yet other then the pumpkins one seed per pumpkin just means that my crops dont get any bigger just the same amount at every harvest
 

Josh
Member
 
Posts: 1146
Joined: Fri Jun 29, 2012 23:11

by Josh » Wed Aug 15, 2012 03:23

It work's! Thanks PilzAdam!
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Aug 15, 2012 09:32

leo_rockway wrote:Also, I just got this:

22:21:24: ERROR[EmergeThread]: ERROR: An unhandled exception occurred: LuaError: error: /home/leo/.minetest/mods/minetest/farming/rubber.lua:136: attempt to perform arithmetic on global 'anz' (a nil value)
22:21:24: ERROR[EmergeThread]: stack traceback:

This is a bug. Ive updated the link of the second version.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Aug 15, 2012 09:32

Casimir wrote:As I tried to pick up a sapling (as item) with the hoe I got this:
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
... init.lua:50: bad argument #1 to 'get node' (table expected, got nil)

You have a old version.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Aug 15, 2012 09:33

leo_rockway wrote:Crafting the carved pumpkin seems to have completely repaired my sword. Can that be avoided?

I change it to hit a placed pumpkin and not to craft it in the next version.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Aug 15, 2012 09:35

Spots wrote:okay so i've been playing with your mod for ..oh about the last 2 hours lol i've had no problems yet other then the pumpkins one seed per pumpkin just means that my crops dont get any bigger just the same amount at every harvest

When I change the pumpkin creation in the next version (see post abvoe) i will make a small chance to get 2 seeds. But I want that pumpkins are very rarely.
 

User avatar
Casimir
Member
 
Posts: 1101
Joined: Fri Aug 03, 2012 16:59

by Casimir » Wed Aug 15, 2012 10:14

PilzAdam wrote:You have a old version.

Ups.

I already made some bread. Like your mod.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Aug 15, 2012 11:21

Version 3:

Image
Dont feed the pumpkin!
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Wed Aug 15, 2012 13:24

The big pumpkin needs its own specific textures. It looks horrible with Misa's pack as you can see. :P
Image

Also, you can place crops on sides of farmland, which is a bug, as shown here:
Image

[EDIT]: it'd be nice if you could use pumpkins/scarecrows as a furnace fuel, too.
 

Spots
Member
 
Posts: 124
Joined: Tue Jul 24, 2012 12:12

by Spots » Wed Aug 15, 2012 15:45

hit another error

11:40:52: ERROR[EmergeThread]: ERROR: An unhandled exception occurred: LuaError: error: ...38b465-win32\bin\..\mods\minetest\farming/rubber.lua:136: attempt to perform arithmetic on global 'anz' (a nil value)
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Wed Aug 15, 2012 15:50

Spots wrote:hit another error

11:40:52: ERROR[EmergeThread]: ERROR: An unhandled exception occurred: LuaError: error: ...38b465-win32\bin\..\mods\minetest\farming/rubber.lua:136: attempt to perform arithmetic on global 'anz' (a nil value)

http://minetest.net/forum/viewtopic.php?pid=37868#p37868
PilzAdam wrote:This is a bug. Ive updated the link of the second version.
 

Next

Return to Mod Releases

Who is online

Users browsing this forum: No registered users and 8 guests

cron