Page 2 of 2 FirstFirst 12
Results 26 to 40 of 40

Thread: SRL: March 30th, 2013 ~ Small mouse & Radial walk fixes

  1. #26
    Join Date
    Nov 2008
    Location
    Melbourne, Australia
    Posts
    2,240
    Mentioned
    3 Post(s)
    Quoted
    11 Post(s)

    Default

    Thank you for reversing the change done to Mouse
    Click here to find out how to get full screen without members! | Click here to check out my Ultimate Bitmap Tutorial! Edited to work with Simba! |

  2. #27
    Join Date
    Nov 2012
    Posts
    2,351
    Mentioned
    55 Post(s)
    Quoted
    603 Post(s)

    Default

    Just so we know, are we using +- or just + from here on out? Everything I ever wrote was based on only adding, so everything I have will break because I added the - myself, and ALOT of srl5 stuff relies on it being only + because it uses top left corner and max horizontal/vertical difference,

    Maybe we need two mouse functions? Just different names, but thats complicate things so whatever, IMO only adding is a better way to work with,

    Just wanted to know what the final method will be?


    Programming is like trying keep a wall of shifting sand up, you fix one thing but somewhere else starts crumbling

  3. #28
    Join Date
    Feb 2012
    Location
    Wonderland
    Posts
    1,988
    Mentioned
    41 Post(s)
    Quoted
    272 Post(s)

    Default

    It's reverted and is currently (Hobbit commited the revert) ONLY ADDING.

    It appears that there is more variability in SRL 6, so keep a good eye out.

    Edit: Can I get a verify on this (was told it was still causing errors)
    https://github.com/SRL/SRL-5/pull/166
    Last edited by Le Jingle; 04-02-2013 at 03:54 AM.

  4. #29
    Join Date
    Feb 2013
    Posts
    88
    Mentioned
    0 Post(s)
    Quoted
    37 Post(s)

    Default

    @OllyBest

    I feel that the fact that the mouse change was reverted should be reflected in the OP to prevent further confusion.

  5. #30
    Join Date
    Sep 2007
    Location
    Australia, NSW
    Posts
    934
    Mentioned
    6 Post(s)
    Quoted
    145 Post(s)

    Default

    Quote Originally Posted by core View Post
    Hey, thanks!

    I'm still of the opinion that randomness should be an ellipse with the random modifiers acting as the radii of that ellipse. Is there any way to make this not be directional and have this behavior instead? If I say myPoint.rand(5, 10), I'd fully expect there to be anywhere from myPoint.x - 5 to myPoint.x + 5, and myPoint.y - 10 to myPoint.y + 10 ranges, does that go against everyone else's expected behavior of the idea? (I know this is against the current behavior of SRL5)
    I like this ellipse idea! But I think if and/or when we change it, it should be done in SRL6

    INACTIVE
    How-to: Make S.M.A.R.T. less laggy

    Sell me your Maple Shieldbows (u)! Up to 95gp ea!

    My Scripts:
    Ivy Chopper Ultra [RS3] | Fantastic Fletcher [RS3]
    99 x78 | 99 x10 | 99 x2 | 99 x12


    Use the REPORT tags when posting progress reports to make life easier (:
    [REPORT]Put progress report in here![/REPORT]

    Super Savvy Smither V1.06Cool Classy Cooker V1.02 [EoC]

  6. #31
    Join Date
    Oct 2007
    Location
    #srl
    Posts
    6,102
    Mentioned
    39 Post(s)
    Quoted
    62 Post(s)

    Default

    Quote Originally Posted by core View Post
    Hey, thanks!

    I'm still of the opinion that randomness should be an ellipse with the random modifiers acting as the radii of that ellipse. Is there any way to make this not be directional and have this behavior instead? If I say myPoint.rand(5, 10), I'd fully expect there to be anywhere from myPoint.x - 5 to myPoint.x + 5, and myPoint.y - 10 to myPoint.y + 10 ranges, does that go against everyone else's expected behavior of the idea? (I know this is against the current behavior of SRL5)
    I'm in no way opposed to that, and it's surely easy enough to make a mouse 'wrapper' of sorts that does just that. However, many instances call for randomness in a specific direction, so we clearly can't remove that functionality.

  7. #32
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Quote Originally Posted by core View Post
    Hey, thanks!

    I'm still of the opinion that randomness should be an ellipse with the random modifiers acting as the radii of that ellipse. Is there any way to make this not be directional and have this behavior instead? If I say myPoint.rand(5, 10), I'd fully expect there to be anywhere from myPoint.x - 5 to myPoint.x + 5, and myPoint.y - 10 to myPoint.y + 10 ranges, does that go against everyone else's expected behavior of the idea? (I know this is against the current behavior of SRL5)
    We already have mouseEllipse btw, would be nice to use gaussian in it though.

  8. #33
    Join Date
    Nov 2011
    Posts
    335
    Mentioned
    0 Post(s)
    Quoted
    68 Post(s)

    Default

    Quote Originally Posted by Ollybest View Post
    When I posted this I didn't really think that it could break stuff until I started seeing complaints about closeBank not working, and IMO it is far better as it actually makes sense but people need to be warned that this update happened.
    I think atm, the only thing that is breaking CloseBank is that the area of the cross icon is set wrong. the icon is a square of about 10x10 pixels, but the line that makes the click and sets the coordinates looks like this after the latest update:
    Simba Code:
    MouseBox(484, 30, 493, 50, mouse_left);
    (10x20 box??)

    the combination that works for me is this:
    Simba Code:
    MouseBox(484, 30, 493, 40, mouse_left);
    please change it with the next update

  9. #34
    Join Date
    Nov 2011
    Location
    England
    Posts
    3,072
    Mentioned
    296 Post(s)
    Quoted
    1094 Post(s)

    Default

    Quote Originally Posted by core View Post
    Yep! I meant for SRL6.


    That works for me, I can definitely see the need for directional and non-directional randomness. I'd personally still like it to be done as part of TPoint though, since there may be other uses besides mouse?


    That would be fun.
    var
    gX, gY: Integer;
    // get a gaussian pt in a circle:
    Gauss_Point(MMCX, MMCY, 0, math_2PI, MMX2-MMCX, gX, gY);
    WriteLn(Format("gX, gY -> %d, %d", gX, gY);

    in math.simba.. seems like it would be quite easy.

  10. #35
    Join Date
    Sep 2007
    Location
    Australia, NSW
    Posts
    934
    Mentioned
    6 Post(s)
    Quoted
    145 Post(s)

    Default

    Quote Originally Posted by l6bustank View Post
    I think atm, the only thing that is breaking CloseBank is that the area of the cross icon is set wrong. the icon is a square of about 10x10 pixels, but the line that makes the click and sets the coordinates looks like this after the latest update:
    Simba Code:
    MouseBox(484, 30, 493, 50, mouse_left);
    (10x20 box??)

    the combination that works for me is this:
    Simba Code:
    MouseBox(484, 30, 493, 40, mouse_left);
    please change it with the next update
    It's already been changed - it's just awaiting a pull request on git, and then from there it will be addded to the auto updater.

    INACTIVE
    How-to: Make S.M.A.R.T. less laggy

    Sell me your Maple Shieldbows (u)! Up to 95gp ea!

    My Scripts:
    Ivy Chopper Ultra [RS3] | Fantastic Fletcher [RS3]
    99 x78 | 99 x10 | 99 x2 | 99 x12


    Use the REPORT tags when posting progress reports to make life easier (:
    [REPORT]Put progress report in here![/REPORT]

    Super Savvy Smither V1.06Cool Classy Cooker V1.02 [EoC]

  11. #36
    Join Date
    Nov 2011
    Posts
    335
    Mentioned
    0 Post(s)
    Quoted
    68 Post(s)

    Default

    oh, nice to hear

  12. #37
    Join Date
    Oct 2011
    Location
    Australia, Vic
    Posts
    1,517
    Mentioned
    2 Post(s)
    Quoted
    120 Post(s)

    Default

    Quote Originally Posted by core View Post
    FTFY

    But in all seriousness, thanks! My first mention!
    By the sounds of it you deserve a second

    @core;

Page 2 of 2 FirstFirst 12

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
  •