Page 8 of 11 FirstFirst ... 678910 ... LastLast
Results 176 to 200 of 266

Thread: Fishing guild - [ sharks swordfish tuna ]

  1. #176
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    331
    Mentioned
    4 Post(s)
    Quoted
    94 Post(s)

    Default

    Quote Originally Posted by footballjds View Post
    Yes, change that line from: TPAPartitionWrap(fishPoints, 15, 15, fish2d);
    To: fish2d := PartitionWrap(fishPoints, 15, 15);
    Hi i followed the advice change required but unfortunately got this error
    Code:
    Error: Unknown declaration "PartitionWrap" at line 850
    Compiling failed.
    I don't know weather it should be a global variable or something :I sorry if this a noob question

    Simba Code:
    function fishSpots(minWait: integer; searchArea: TBox; out fish2D: T2DPointArray): boolean;
    var
      fishPoints: TPointArray;
      findTime, i, h: integer;
      testintarray: TIntegerArray;
    begin
      fish2D := [];
      if chooseOption.isOpen then chooseOption.close;
      findTime := getSystemTime + randomRange(minWait, round(minWait*1.3));
      repeat
        findFishSpots(searchArea);
        if getSystemTime > findTime then exit;
        wait(randomRange(100, 200));
      until (length(fishing_spots) > 200);
      fishPoints := fishing_spots.copy;
      fish2d := PartitionWrap(fishPoints, 15, 15);
      result := true;
    end;
    Current Rank Supreme Master First Class

  2. #177
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    331
    Mentioned
    4 Post(s)
    Quoted
    94 Post(s)

    Default

    No idea why it posted twice
    Last edited by Note; 10-10-2014 at 02:38 PM. Reason: double posted idk why
    Current Rank Supreme Master First Class

  3. #178
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    @Note,

    update your version of simba to the latest.

  4. #179
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    331
    Mentioned
    4 Post(s)
    Quoted
    94 Post(s)

    Default

    Quote Originally Posted by footballjds View Post
    @Note,

    update your version of simba to the latest.
    I did a clean install of simba updated everything and got the same error :I
    Current Rank Supreme Master First Class

  5. #180
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    lol,

    Excuse my idiotic post...


    change: TPAPartitionWrap(fishPoints, 15, 15, fish2d);
    To: fish2d := PartitionTPA(fishPoints, 15, 15);

    E:
    I see Ashaman updated my script 4 days ago, he must have derped on that line
    Thank him though cause he fixed the other places I used TPA Partitioning. I just updated my script on github so new DL's should work.
    Last edited by footballjds; 10-13-2014 at 03:47 AM.

  6. #181
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    331
    Mentioned
    4 Post(s)
    Quoted
    94 Post(s)

    Default

    Quote Originally Posted by footballjds View Post
    lol,

    Excuse my idiotic post...


    change: TPAPartitionWrap(fishPoints, 15, 15, fish2d);
    To: fish2d := PartitionTPA(fishPoints, 15, 15);

    E:
    I see Ashaman updated my script 4 days ago, he must have derped on that line
    Thank him though cause he fixed the other places I used TPA Partitioning. I just updated my script on github so new DL's should work.

    hehe so changed to adviced code and recived

    Code:
    Compiling failed.
    Error: Unknown declaration "TPAPartitionWrap" at line 1088
    Compiling failed.
    Error: Unknown declaration "TPAPartitionWrap" at line 1108
    Compiling failed.
    Error: Too many parameters found at line 1052
    Compiling failed.
    So then i just highlighted and changed all the lines it poped up with"TPAPartitionWrap" to PartitionTPA

    Then it gave me
    Code:
    Error: Too many parameters found at line 1052
    Compiling failed.
    I feel like this is a easy fix and feel like fuxing moron right now because idk shit about TPAS :s
    Current Rank Supreme Master First Class

  7. #182
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    idk if the script compiles or not. Let me briefly explain the issue so you can fix it.

    TPAPartitionWrap(fishPoints, 15, 15, fish2d); is a procedure and a wrapper. Procedures only do things and do not return a anything.

    PartitionTPA is a function. Functions can(do) return a result.

    Basically, anywhere you see: TPAPartitionWrap(fishPoints, 15, 15, fish2d);

    You take the last variable, in this case fish2d, and you assign the the result of PartitionTPA to that variable like so (and remove that parameter):

    fish2d := PartitionTPA(fishPoints, 15, 15);



    Here's another example...
    Change: TPAPartitionWrap(points, 15, 15, resultOf);
    to: resultOf := PartitionTPA(points, 15, 15);

  8. #183
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    I updated github, just redownload

  9. #184
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    331
    Mentioned
    4 Post(s)
    Quoted
    94 Post(s)

    Default

    Quote Originally Posted by footballjds View Post
    idk if the script compiles or not. Let me briefly explain the issue so you can fix it.

    TPAPartitionWrap(fishPoints, 15, 15, fish2d); is a procedure and a wrapper. Procedures only do things and do not return a anything.

    PartitionTPA is a function. Functions can(do) return a result.

    Basically, anywhere you see: TPAPartitionWrap(fishPoints, 15, 15, fish2d);

    You take the last variable, in this case fish2d, and you assign the the result of PartitionTPA to that variable like so (and remove that parameter):

    fish2d := PartitionTPA(fishPoints, 15, 15);



    Here's another example...
    Change: TPAPartitionWrap(points, 15, 15, resultOf);
    to: resultOf := PartitionTPA(points, 15, 15);
    Thank you for the brief explanation makes some what sense in my head xD <3
    finally works ill make sure to get you some awsome progress reports! Thanks again
    Current Rank Supreme Master First Class

  10. #185
    Join Date
    Aug 2014
    Posts
    278
    Mentioned
    10 Post(s)
    Quoted
    113 Post(s)

    Default

    Banking is still broken? it walks up outside the fishing guild bank.

  11. #186
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    331
    Mentioned
    4 Post(s)
    Quoted
    94 Post(s)

    Default



    has done around 20hours all up no problems at all , dunno why it doesn't count exp and such but idc xD works like a champ got around 5k+ sharks
    Current Rank Supreme Master First Class

  12. #187
    Join Date
    Aug 2014
    Posts
    278
    Mentioned
    10 Post(s)
    Quoted
    113 Post(s)

    Default

    Quote Originally Posted by Note View Post


    has done around 20hours all up no problems at all , dunno why it doesn't count exp and such but idc xD works like a champ got around 5k+ sharks
    how does yours bank fine?.

  13. #188
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    331
    Mentioned
    4 Post(s)
    Quoted
    94 Post(s)

    Default

    Quote Originally Posted by Cyanempire View Post
    how does yours bank fine?.
    I have my banking set via deposit box

    another proggie

    Current Rank Supreme Master First Class

  14. #189
    Join Date
    Aug 2014
    Posts
    278
    Mentioned
    10 Post(s)
    Quoted
    113 Post(s)

    Default

    Quote Originally Posted by Note View Post
    I have my banking set via deposit box

    another proggie

    Tried It with True/False with the deposit box
    it still walks outside of the bank after a full inventory.

  15. #190
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    331
    Mentioned
    4 Post(s)
    Quoted
    94 Post(s)

    Default

    Quote Originally Posted by Cyanempire View Post
    Tried It with True/False with the deposit box
    it still walks outside of the bank after a full inventory.
    all i can suggest is uninstall simba , complete clean install
    update srl /sps/ plugins ect

    download the script from the github for the latest version then
    extract and run script ;o

    if still not then post debug ?

    edit : make sure you runescape is set up to simba needs eg brightness , and the oldschool layout ect ect
    Current Rank Supreme Master First Class

  16. #191
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    Quote Originally Posted by Note View Post
    all i can suggest is uninstall simba , complete clean install
    update srl /sps/ plugins ect

    download the script from the github for the latest version then
    extract and run script ;o

    if still not then post debug ?

    edit : make sure you runescape is set up to simba needs eg brightness , and the oldschool layout ect ect
    "edit : make sure you runescape is set up to simba needs eg brightness , and the oldschool layout ect ect"

  17. #192
    Join Date
    Jan 2012
    Location
    New Zealand
    Posts
    331
    Mentioned
    4 Post(s)
    Quoted
    94 Post(s)

    Default

    Current Rank Supreme Master First Class

  18. #193
    Join Date
    Jun 2013
    Posts
    48
    Mentioned
    0 Post(s)
    Quoted
    30 Post(s)

    Default

    I had to set everything up for DirectX for it to work.. The setup instructions directed for OpenGL or w/e



    I am just now workin on the problem with banking. I think it should be working so ill get some proggys rollin.
    Last edited by agent007; 10-27-2014 at 05:52 PM.
    I've got these cheese burgers man!

  19. #194
    Join Date
    Oct 2014
    Posts
    5
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Never seems to want to convert. It just spams
    -- .getPlayerPos(): result = {X = 166, Y = 136}, took 31 ms
    -- .getPlayerPos(): result = {X = 166, Y = 136}, took 31 ms
    -- .getPlayerPos(): result = {X = 166, Y = 136}, took 31 ms
    -- .getPlayerPos(): result = {X = 166, Y = 136}, took 32 ms
    -- .getPlayerPos(): result = {X = 166, Y = 136}, took 31 ms
    -- .getPlayerPos(): result = {X = 166, Y = 136}, took 31 ms
    -- .getPlayerPos(): result = {X = 166, Y = 136}, took 31 ms
    -- .getPlayerPos(): result = {X = 166, Y = 136}, took 31 ms
    -- .getPlayerPos(): result = {X = 166, Y = 136}, took 31 ms
    -- .getPlayerPos(): result = {X = 166, Y = 136}, took 31 ms
    -- .getPlayerPos(): result = {X = 166, Y = 136}, took 31 ms
    -- .getPlayerPos(): result = {X = 166, Y = 136}, took 32 ms
    -- .getPlayerPos(): result = {X = 166, Y = 136}, took 16 ms
    Everything beyond that is fine, it just never converts them...

  20. #195
    Join Date
    Oct 2014
    Location
    Pacific Ocean
    Posts
    14
    Mentioned
    4 Post(s)
    Quoted
    9 Post(s)

    Default

    I think I may be botting this wrong cause this line has been spamming Simba script list.

    "-- WARNING: fishGuild.getPlayerPos(): Didn't find enough matches accurately calc your postion
    -- fishGuild.getPlayerPos(): result = {X = -1, Y = -1}, took 78 ms"

    EDIT: Don't know what I did, but it stopped spamming now. Thank you! Will post proggys when I can!

    EDIT2: I'm having the same problem as well, as it looks for the bank to deposit, it stays outside the map and keeps on directing the hero to go outside the Guild.


    Bug Report.png

    This is what it would have on Simba right after the backpack tab is full.

    ---- Waiting while the player is moving...
    -- fishGuild.walkPath(): result = True
    ---- Waiting while the player is moving...
    -- fishGuild.getPlayerPos(): result = {X = 148, Y = 136}, took 93 ms
    ---- Waiting while the player is moving...
    -- fishGuild.walkPath(): result = True
    -- fishGuild.getPlayerPos(): result = {X = 148, Y = 136}, took 94 ms
    -- fishGuild.getPlayerPos(): result = {X = 148, Y = 136}, took 94 ms
    -- fishGuild.getPlayerPos(): result = {X = 148, Y = 136}, took 109 ms
    ---- Waiting while the player is moving...
    -- fishGuild.walkPath(): result = True
    ---- Waiting while the player is moving...
    -- fishGuild.getPlayerPos(): result = {X = 70, Y = 118}, took 109 ms
    ---- Waiting while the player is moving...
    -- fishGuild.walkPath(): result = True
    -- Failed to handle banking
    -- fishGuild.getPlayerPos(): result = {X = 70, Y = 118}, took 94 ms
    -- fishGuild.getPlayerPos(): result = {X = 70, Y = 118}, took 125 ms
    -- fishGuild.getPlayerPos(): result = {X = 70, Y = 118}, took 109 ms
    ---- Waiting while the player is moving...
    -- fishGuild.walkPath(): result = True
    ---- Waiting while the player is moving...
    -- fishGuild.getPlayerPos(): result = {X = 70, Y = 118}, took 94 ms
    Last edited by Nathgunner888; 10-30-2014 at 06:16 PM.

  21. #196
    Join Date
    May 2014
    Posts
    59
    Mentioned
    0 Post(s)
    Quoted
    23 Post(s)

    Default

    I have the exact same issue as Nathgunner888, also tried with DirectX and OpenGL, changed "Use deposit box" as well. I have already done a fresh install, set the interface to Old School and set the brightness all the way up.
    Last edited by Dark_Flame; 11-01-2014 at 07:09 PM.

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

    Default

    Quote Originally Posted by Dark_Flame View Post
    I have the exact same issue as Nathgunner888, also tried with DirectX and OpenGL, changed "Use deposit box" as well. I have already done a fresh install, set the interface to Old School and set the brightness all the way up.
    If the script doesn't work, report it as broken. I plan on re-releasing this soon, though. so stay tuned.
    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

  23. #198
    Join Date
    Aug 2014
    Location
    Michigan, USA
    Posts
    138
    Mentioned
    1 Post(s)
    Quoted
    68 Post(s)

    Default

    Outdated.

    Misclicks bank pos, dock pos, and walks from bank and fishing spot repeatedly.

    Definitely needs an update. :P

  24. #199
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    Moved to outdated
    Working on: Tithe Farmer

  25. #200
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    Quote Originally Posted by masterBB View Post
    Moved to outdated
    Thanks, I'll update it someday, I hope.

Page 8 of 11 FirstFirst ... 678910 ... LastLast

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
  •