Results 1 to 6 of 6

Thread: some error that happens with my alch script

  1. #1
    Join Date
    Feb 2016
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default some error that happens with my alch script

    well i made a custom alch script but it is giving me these errors

    arning! You passed wrong values to a finder function: ys > ye (18399729,29). Swapping the values for now.
    Warning! You passed a wrong ye to a finder function: 18399729. The client has a height of 600, thus the ye is out of bounds. Setting the value to 599 (h-1) for now.

    i think it is because of these piece of code

    typeSend('1', false);
    tabBackpack.mouseSlot(sl, MOUSE_LEFT);

    can someone help me out? i use typesend to the actionbar.

  2. #2
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    That warning means you're using a TBox with impossible boundaries, in this case ones that go outside the client.

    Code:
    The client has a height of 600, thus the ye is out of bounds. Setting the value to 599 (h-1) for now.
    This part means Simba has corrected the values for you, so if the performance of your script isn't affected, you can probably ignore these warnings.

    The code you've provided doesn't look like it uses any impossible TBoxes, so I don't think that's the issue. If you want, you can debug the backpack's TBoxArray (tabBackpack.getSlotBoxes()) to make sure they're not doing anything crazy.
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  3. #3
    Join Date
    Feb 2016
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    Well i just watched the script work and one time the backpack is called first then the typesend.
    how do i debug?

  4. #4
    Join Date
    Dec 2011
    Location
    East Coast, USA
    Posts
    4,231
    Mentioned
    112 Post(s)
    Quoted
    1869 Post(s)

    Default

    Quote Originally Posted by bigdick69 View Post
    Well i just watched the script work and one time the backpack is called first then the typesend.
    how do i debug?
    smartImage.drawBoxes(tabBackpack.getSlotBoxes(), false, clRed);
    GitLab projects | Simba 1.4 | Find me on IRC or Discord | ScapeRune scripts | Come play bot ScapeRune!

    <BenLand100> we're just in the transitional phase where society reclassifies guns as Badâ„¢ before everyone gets laser pistols

  5. #5
    Join Date
    Sep 2012
    Location
    Netherlands
    Posts
    2,752
    Mentioned
    193 Post(s)
    Quoted
    1468 Post(s)

    Default

    Quote Originally Posted by KeepBotting View Post
    That warning means you're using a TBox with impossible boundaries, in this case ones that go outside the client.

    Code:
    The client has a height of 600, thus the ye is out of bounds. Setting the value to 599 (h-1) for now.
    This part means Simba has corrected the values for you, so if the performance of your script isn't affected, you can probably ignore these warnings.

    The code you've provided doesn't look like it uses any impossible TBoxes, so I don't think that's the issue. If you want, you can debug the backpack's TBoxArray (tabBackpack.getSlotBoxes()) to make sure they're not doing anything crazy.
    well ive had these "warnings" before but it would still crash my script for some weird reason. adding a manual check worked fine (it usually happened when the bounds with below 0

  6. #6
    Join Date
    Feb 2016
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    9 Post(s)

    Default

    Quote Originally Posted by hoodz View Post
    well ive had these "warnings" before but it would still crash my script for some weird reason. adding a manual check worked fine (it usually happened when the bounds with below 0
    can you help me with a manual check? i thinked in see if the items i am alcheming don't decrease for 10secs i would make something to return to the right tracks but i really don't know what. thanks for the reply through i really can't find the bug. i will debug now and see something, kinda sad happening this to a newbie in this language you make a nice script and this bugs.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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