Signup Now
Results 1 to 2 of 2

Thread: Error/Crash

  1. #1
    Free User Connor's Avatar
    Join Date
    Jul 2014
    Posts
    455
    Reputation
    22
    Rep Power
    20

    Error/Crash

    While testing the script, an error occurred (with no debug shown in the debug console) and then Windbot crashed and shut down.

    This is the action it was operating on (which it had used previously several times before with no problems)


    --[Ice Fishing]
    while topitem($wpt.x,$wpt.y,$wpt.z).id ~= 7200 and topitem($wpt.x,$wpt.y,$wpt.z).id ~= 7237 and topitem($wpt.x,$wpt.y,$wpt.z).id ~= 7236 and islocation(3) do
    moveitems(topitem($wpt.x,$wpt.y,$wpt.z).id, ground($posx,$posy,$posz), ground($wpt.x,$wpt.y,$wpt.z),100) wait(200,300)
    end
    while topitem($wpt.x,$wpt.y,$wpt.z).id == 7200 and islocation(3) do
    useitemon('pick', 0, ground($wpt.x,$wpt.y,$wpt.z)) wait(200,600)
    end
    while topitem($wpt.x,$wpt.y,$wpt.z).id == 7236 and islocation(1) do
    useitemon('fishing rod', 0, ground($wpt.x,$wpt.y,$wpt.z))wait(400,600)
    end



  2. #2
    Administrator Lucas Terra's Avatar
    Join Date
    Dec 2013
    Location
    Brazil
    Posts
    2,200
    Reputation
    180
    Rep Power
    10
    There is currently a problem with $wpt...

    Just change it to $wptx, $wpty, $wptz, $wptid...

 

 

Posting Permissions

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