PlantCare

15 - Minor problems with 3 nil values

What steps will reproduce the problem?
1. Open the planting frame
and
2. Open the plant merchant frame

The water/soil purchase buttons reference an apparently undefined variable at lines 880 and 888.
"Attempt to concatenate field 'VERSION' (a nil value)

The PlantCare_Frame OnEvent line 302.
attempt to index local 'title' (a nil value)

User When Change
oeginc Apr 28, 2010 at 18:39 UTC Changed status from Started to Fixed
oeginc Apr 28, 2010 at 15:11 UTC Changed status from New to Started
oeginc Apr 28, 2010 at 14:27 UTC Changed assigned to from lusiux to oeginc
delve202 Apr 28, 2010 at 14:07 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 9 comments
  • Avatar of oeginc oeginc Apr 28, 2010 at 18:25 UTC - 0 likes

    I'm looking into this further, perhaps something in the 3.x upgrade now gives incorrect furniture ID's.. I had one of my pots return 0 today, which again is invalid (according to the code)....

  • Avatar of delve202 delve202 Apr 28, 2010 at 18:20 UTC - 0 likes

    Ah hah! It happens on alts with only 10 house slots as well as my main who has 20 furniture slots, however a long time back I noticed that the cross-account tracking table had started storing bogus values for pot number. I'm not sure why, but I have alts with seeds numbered in the 40s. My main has a 720 :P

    I went into an alt and confirmed existence of the messages. Then I went into the global savevariables.lua and deleted the PlantCare array (the configs are dead simple to recreate, which is great by the way, so no loss). This wipes out all the seed harvest times etc.

    However I was still experiencing the messages. So I loaded up my next alt, confirmed the issue, pulled my pots out of the house, into inventory, and closed the client. Relogged, placed my pots, and it -still- calls them numbers > 10. In the frame title, and the harvest time table. And I still get the messages. So... I'm lost? It seems like the client is providing the wrong furniture ID for some reason. I was hoping that replacing the furniture would fix that, but obviously not. Thoughts? All this on V2.04, incidentally.

    Last edited Apr 28, 2010 by delve202

    Just another world addict with a relapse problem.

  • Avatar of Xadavus Xadavus Apr 28, 2010 at 18:08 UTC - 0 likes

    It is possible that when using Ctrl+Click on seed to plant and care, it adds another plant on the list if you do it again on a pot that is planted, despite that it says it failed.

    I did notice that looking at Info screen (shows plant status on all alts) 0-9 and -1.. hmm thats 11 and not just 10. I still have to do more testing to verify that. However if you wish I can set up the screenshot with 11th plant on the list even though I only have 10.

    Xad

  • Avatar of oeginc oeginc Apr 28, 2010 at 17:15 UTC - 0 likes

    It dawned on me almost immediately after posting that last comment, I bet you have expansion on your house and some of your pots are not in the first 10 furniture slots, am I correct? In v2.05 I'm adding 10 more slots which should help with the problem, as long as you place your furniture in the first 20 slots. The largest expansion can have 100 slots, but I can't see adding that many provisions in the code. It's kind of funky the way it tracks things, perhaps in the future I can look into changing the way that works seeings as your (currently) can never have more than 10 active pots (that I am aware of).

  • Avatar of oeginc oeginc Apr 28, 2010 at 16:50 UTC - 0 likes

    Well... That explains why you were getting an error.. ;) You are only allowed to have 10 pots in your house at any given time, the configuration files are based on that. For some reason you are attempting to access (or PlantCare believes you are attempting to access) Pot 12 (which doesn't exist in the PlantCare templates).

    I need to know more about your configuration, and especially anything you might think would cause PlantCare to believe you have more than 10 pots.

  • Avatar of delve202 delve202 Apr 28, 2010 at 16:41 UTC - 0 likes

    Just tried to plant a seed with v2.04 and started getting a very large number of these messages. It didn't do it with the first seed I planted, just the second and subsequent seeds.

    PlantCare ERROR: Attempt to access PlantCare_CareInfoFrame_Plant12_FertTitle PlantCare ERROR: Attempt to access PlantCare_CareInfoFrame_Plant12_WaterTitle

    I do -not- have the interface error about a nil value for 'title' now though.

  • Avatar of oeginc oeginc Apr 28, 2010 at 15:11 UTC - 0 likes

    I believe these are fixed now, I have added in some debug code for the 'title' problem, if you can report back to me any error messages plantcare generates I'd appreciate it.

  • Avatar of delve202 delve202 Apr 28, 2010 at 14:55 UTC - 0 likes

    Apologies, I just noticed that one of these is already reported in ticket 14 ><

  • Avatar of oeginc oeginc Apr 28, 2010 at 14:27 UTC - 0 likes

    I've fixed the VERSION problem in v2.04 (which will be released later today). I'm not getting a title error, I'll have to try on a different computer and see what happens.

  • 9 comments

Facts

Last updated
Apr 28, 2010
Reported
Apr 28, 2010
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees