What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

How to get Growth Time for saplings?

Status
Not open for further replies.

Will

New Member
Joined
Oct 2, 2014
Messages
86
Reaction score
1
Out,

Im trying to get the left time to harvest some saplings.
How can I get this?

I already check values in: growthTime, tempGrowthTime, dbAlmighty.growthTime, in dbAlmighty.phases (current is 8032 for this example)...

There some info's from dump in attachment.
 

Attachments

I just check to see the skills available on it.

PHP:
                   for (int i = 0; i < skills.Count; i++)
                    {
                      //  Log("Skill Name " + i.ToString() + " : " + skills[i].name);
                      //  Thread.Sleep(timerDelay * 2);
                        if (skills[i].name == "Uproot")
                        {
                            ignoreUproot = true;
                            //Log("Ignoring uproot item.");

                        }                        

                        if (GetGroupStatus("Gather Leaves"))
                            if (skills[i].name == "Gather Leaves")
                                hasLeaves = true;

                        if (GetGroupStatus("Find Fruit"))
                            if (skills[i].name == "Find Fruit")
                                hasFruit = true;

                        if(GetGroupStatus("Lumbering"))
                            if (skills[i].name == "Chop Tree")
                                hasLogging = true;

                        if(GetGroupStatus("Gathering"))
                            if (skills[i].name == "Gather")
                                hasGathering = true;

                        if(GetGroupStatus("Mining"))
                            if (skills[i].name == "Mine Ore" || skills[i].name == "Mine the Fortuna Vein")
                            {
                                hasMining = true;
                                noOreInVicinity = false;
                            }
                            else
                                noOreInVicinity = true;
                    }
 
I ended up doing this way, became less spaghetti code.

tyvm
 
Status
Not open for further replies.
Back
Top