FarmIt

4 - Bug with FarmIt

What steps will reproduce the problem?
1. Delete the FarmIt.lua
2. Run WoW.
3. Log out of WoW, log back in.
4. Error below

Do you have an error log of what happened?

Date: 2009-01-31 12:35:51
ID: 1
Error occured in: Global
Count: 80
Message: ..\AddOns\FarmIt\FarmIt.lua line 452:
   attempt to index a nil value
Debug:
   [C]: ?
   FarmIt\FarmIt.lua:452 FI_Update()
   FarmIt\FarmIt.lua:618 FI_SetObjective()
   FarmIt\FarmIt.lua:402 FI_SetSlot()
   FarmIt\FarmIt.lua:350 FI_CreateBar()
   FarmIt\FarmIt.lua:200 FI_Loader()
   FarmIt\FarmIt.lua:163 FI_OnEvent()
   [string "*:OnEvent"]:1:
      [string "*:OnEvent"]:1
AddOns:
  Swatter, v5.2.4013 (DingoII)
  WowheadLooter, v30018
  AckisRecipeList, v1.0 RC1 1436
  Altoholic, v3.0.004b
  Atlas, v1.13.0
  AtlasBattlegrounds, v1.13.0
  AtlasDungeonLocs, v1.13.0
  AtlasOutdoorRaids, v1.13.0
  AtlasTransportation, v1.13.0
  AtlasLoot, v5.02.02
  Attrition, v2.4.3-1.4
  AuldLangSyne, v2.0
  Babylonian, v5.1.DEV.130
  BadKitty, v
  BankItems, v30002
  Bartender4, v4.2.3
  BeanCounter, v5.2.4013 (DingoII)
  BossTalk, v3.5130
  BrokeroRA2Targets, v0.1.016
  BrokerRecount, v1.0
  ButtonFacade, v3.0.205
  ButtonFacadeFrozen, v3.0.2
  ButtonFacadeGears, v3.0.2
  ButtonFacadeOnyx, v3.0.2
  ButtonFacadeRothar, v0.4
  ButtonFacadeSerenity, v3.0.2
  ButtonFacadeSleek, v1.0
  ButtonFacadeTrinity, v30000.1
  Chatter, v1.0
  ClearFont2, v2.4
  Clique, vwowi:revision
  Configator, v5.1.DEV.160
  CowTip, v
  DayTrader, v3.0.1.1
  DBMBurningCrusade, v
  DBMCore, v
  DBMLDB, v
  DebugLib, v5.1.DEV.130
  DoTimer, v4.2.4
  FarmIt, v
  FuBar, v
  oRA2, v2.0.$Revision: 628 $
  Recount, v
  SharedMedia, v3.0
  SharedMediaLib, v1.0
  SlideBar, v5.2.4013 (DingoII)
  Stubby, v5.2.4013 (DingoII)
  (ck=456)

User When Change
CHiLLZ Dec 14, 2010 at 05:02 UTC Changed status from New to Fixed
Ruana Jan 31, 2009 at 17:37 UTC Create

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

  • 4 comments
  • Avatar of CHiLLZ CHiLLZ Dec 14, 2010 at 05:02 UTC - 0 likes

    FarmIt2 is a complete rewrite, therefore all existing tickets will be closed. Consequently, user feedback on the 2.0 beta release will be greatly appreciated. Thank you.

  • Avatar of Gorcyber Gorcyber Jan 21, 2010 at 21:35 UTC - 0 likes

    Thank you Cheezel for your comment. I made the edit and now FarmIt loads correctly, even when I was able to insert items into the save variable manually that weren't originally in my bag. Now I can keep the tracking numbers after logging out and even set items to be tracked manually.

  • Avatar of Cheezel Cheezel Oct 11, 2009 at 05:36 UTC - 0 likes

    I have managed to correct the problem where FarmIt does not display when you logon. To fix it you will need to edit the file called FarmIt.lua, go to line 452.

    Now replace that line (and only that line) which currently reads:

                getglobal(slot.."_Count"):SetText(itemCount);
    

    with the following lines.

                local item = getglobal(slot.."_Count");
                if (item) then
                    item:SetText(itemCount);
                end
    

    For those of you reading this who are technical the problem is that the getglobal(slot.."_Count") call is returning a nil.

  • Avatar of cdweller0 cdweller0 Mar 14, 2009 at 05:24 UTC - 0 likes

    Ruana's comment on the addon download page is exactly my situation:

    "I figured out why I am getting the constant errors. If I log out and I have chosen to track a specific number of an item (like 20 Glacial Salmon), and I haven't cleared it once I've reached that goal, when I next log in, FarmIt throws errors and will not work until I've reset it to defaults or deleted the preferences."

  • 4 comments

Facts

Last updated
Mar 30, 2012
Reported
Jan 31, 2009
Status
Fixed - Developer made requested changes. QA should verify.
Type
Defect - A shortcoming, fault, or imperfection
Priority
Medium - Normal priority.
Votes
3

Reported by

Possible assignees