Signup Now
Results 1 to 2 of 2
  1. #1
    Free User Harvey's Avatar
    Join Date
    Dec 2013
    Location
    Philippines
    Posts
    2,407
    Reputation
    15
    Rep Power
    25

    Fish function bugged

    when insterting an ID to fish(), it gets error if inserting an ID

    on this error, I inserted the ID of dead water elem

    fish(9582)
    fishing on water is working though :P

    PHP Code:
    02:28:18 error in Persistent script NewPersistentScript2:
      [
    "for k, v in ipairs(self) do"]:LucasTerra.lua:759 bad argument #1 to 'ipairs' (table expected, got number)
    stack traceback:
      [
    "for k, v in ipairs(self) do"]:LucasTerra.lua:759 in function ["function table:find(value, argument)"]:LucasTerra.lua:758
      
    ["elseif (type(self.id) == 'number' and self.id == cur.id) or ..."]:LucasTerra.lua:2625 in function ["function FISHSPOTS:update(id)"]:LucasTerra.lua:2609
      
    ["FISHSPOTS:update(n)"]:LucasTerra.lua:2686 in function ["function fish(n)"]:LucasTerra.lua:2679
      
    ["fish(9582)"]:NewPersistentScript2:1 in user script 

  2. #2
    Free User
    Join Date
    Dec 2013
    Posts
    23
    Reputation
    10
    Rep Power
    0
    Fishing is not working for me at all...

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •