Harvest yield

General discussion about Life is Feudal MMO and Life is Feudal: Your Own, The main section and backbone of the forums.

Ziong18
 
Posts: 107
Joined: 09 Oct 2014, 03:48

Harvest yield

Post by Ziong18 » 08 Nov 2014, 06:47

Normally when I sow flax on unfertilized soil I get back 1-2 flax seeds/stems per tile. Yet today I was collecting 2, 4, 6 seeds/stems per tile and 8 from fertilized soil tiles. I ended up getting back 1200 seeds/stems from sowing 300. :beer:
Is that normal? If it is, what could've been the contributing factors to such high yield?


Valerius
 
Posts: 25
Joined: 04 Oct 2014, 10:22

Re: Harvest yield

Post by Valerius » 08 Nov 2014, 07:53

Weather.


Ziong18
 
Posts: 107
Joined: 09 Oct 2014, 03:48

Re: Harvest yield

Post by Ziong18 » 08 Nov 2014, 08:26

How can I tell what the weather is like when I see no difference day after day (-_- )


Valerius
 
Posts: 25
Joined: 04 Oct 2014, 10:22

Re: Harvest yield

Post by Valerius » 08 Nov 2014, 10:36

You can look at the sky to tell what the weather is. Best not to dwell on it much. Crops take 8 days to grow and you can't predict what the weather will be like in the future. Basically comes down to luck. Some harvests will be good, others not so much.

User avatar
Vamyan
 
Posts: 198
Joined: 23 Oct 2014, 22:29

Re: Harvest yield

Post by Vamyan » 08 Nov 2014, 12:05

Valerius wrote:You can look at the sky to tell what the weather is. Best not to dwell on it much. Crops take 8 days to grow and you can't predict what the weather will be like in the future. Basically comes down to luck. Some harvests will be good, others not so much.


Yeah, until you realize the weather is static per 365-day year... Check out the xml file "Life is Feudal Your Own\server\data\weather\cm_weather1.xml"

The only problem lies in figuring out which server day it is...

User avatar
Tymefor
 
Posts: 270
Joined: 08 Oct 2014, 08:27

Re: Harvest yield

Post by Tymefor » 09 Nov 2014, 22:47

or if its changed by a gm command


Reaganomicon
 
Posts: 30
Joined: 22 Jul 2014, 10:43

Re: Harvest yield

Post by Reaganomicon » 10 Nov 2014, 02:05

Vamyan wrote:The only problem lies in figuring out which server day it is...


Watch the weather for a few days and find that pattern in the file. Now you know what day it is.


JohanH
 
Posts: 11
Joined: 29 Sep 2014, 12:12

Re: Harvest yield

Post by JohanH » 14 Nov 2014, 09:26

Is there any other way to find out what (Server-)day it is? Maybe for us as hosters?

Greetings
Johan


Willbonney
True Believer
 
Posts: 477
Joined: 22 Aug 2014, 21:25

Re: Harvest yield

Post by Willbonney » 14 Nov 2014, 19:33

The way we measure time was created in the Medeival era. First with the creation of the Anno Domini system, sort of the Julian Calendar with the birth of Christ set as the starting point, and then in the later Medeival era the Gregorian calendar, which most of the world still uses today.

Also at this time they were constructing some of the first mechanical clocks (both towers and personal clocks), as before most clocks were unreliable and were powered similar to a watermill.

Thus maybe seen in a later patch?

User avatar
Vamyan
 
Posts: 198
Joined: 23 Oct 2014, 22:29

Re: Harvest yield

Post by Vamyan » 22 Nov 2014, 03:31

A bit of custom Torque script to determine current server-day:

Code: Select all
function sqlStartDateCallback(%sqlObj)
{
   if (%sqlObj.ok())
    {
       %sqlObj.nextRecord();
      $gameDay = %sqlObj.getFieldValue("gameDay");
      echo("Game Day: " @ $gameDay);
   }
    dbi.Remove(%sqlObj);
    %sqlObj.delete();
}

function sqlStartDateQuery()
{
   %gt = getGameTime();
   // 26-08-2017 21:37:25
   %time = nextToken(%gt,"date"," ");
   %date = nextToken(%date,"day","-");
   %date = nextToken(%date,"month","-");
   %date = nextToken(%date,"year","-");
   %sqldate = %year @ "-" @ %month @ "-" @ %day  @ " " @ %time;
    %nullObj= new RecordSet();
    dbi.Select(%nullobj,sqlStartDateCallback,"SELECT MOD(DATEDIFF('" @ %sqldate @ "',`Begin`)+1,365) AS GameDay FROM day_version LIMIT 1");
}


Load the code the same way as Baron's online character script, and just do a "sqlStartDateQuery();" in the server console. You may need to reorder the sql date based on your locale. The above works for en-us.


Ziong18
 
Posts: 107
Joined: 09 Oct 2014, 03:48

Re: Harvest yield

Post by Ziong18 » 22 Nov 2014, 05:46

^can someone please translate that in English for me? :(


Willbonney
True Believer
 
Posts: 477
Joined: 22 Aug 2014, 21:25

Re: Harvest yield

Post by Willbonney » 22 Nov 2014, 07:04

it's a server mod that those that run game servers can use to modify different parts of it. With this one to specifically tell the modder/server controller can run a check program to check the server day.

The game runs a cycle of the same repeating patterns of days/weather. I don't know the number, but I've read it somewhere. In a long loop.

User avatar
Vamyan
 
Posts: 198
Joined: 23 Oct 2014, 22:29

Re: Harvest yield

Post by Vamyan » 22 Nov 2014, 07:10

365. It's a basic non-leap-year Gregorian calendar. I'm pretty sure they tied the weather into northern hemisphere seasons, most likely with more cloudy (bad) weather in autumn/winter, and showers/fair weather in spring/summer

User avatar
Eslake
 
Posts: 73
Joined: 30 Dec 2014, 17:15

Re: Harvest yield

Post by Eslake » 08 Jan 2015, 10:15

console and MG mode..
GetGameTime

Tells you the in-game date and time.

I don't know a way to Set the game time (no, SetGameTime() doesn't work)

But you can get there pretty easily by changing the passage of time..
SetGameTimeScale(#)
Where # is 8 for normal time.
Put in (2000) and watch days fly by.
Put in (2000000) and you can't see the days.

And if you put in (-2000000) you can watch the calender fly backward.

Return to General Discussion