Page 1 of 2 12 LastLast
Results 1 to 25 of 36

Thread: SRL To Do Thread

  1. #1
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Lightbulb SRL To Do Thread

    Hi guys so I was talking to someone on IRC/Skype yesterday (can't remember who :P) and we were saying that we could develop a lot more (useful) functions for SRL if we had the ideas and people told us what they wanted.

    So here we are.
    If you have any bugs or new function ideas/requests post them here and I or someone else will create them

    -Boom

  2. #2
    Join Date
    Dec 2011
    Location
    The Netherlands
    Posts
    1,631
    Mentioned
    47 Post(s)
    Quoted
    254 Post(s)

    Default

    Perhaps
    Quote Originally Posted by J J View Post
    Hey Chris,

    I did some research and it is possible I have never seen someone using it though but it does work.

    Example:
    Simba Code:
    program Test;
    {$i srl/srl.simba}


    function DTMToString(DTM: Integer): String;
    begin
      Result := GetDTM(DTM).ToString;
      writeln('Result: ' + Result);
    end;

    procedure DTMTest;
    var
      DTM: Integer;
      Test: TMDTM;

    begin
      DTM := DTMFromString('mWAAAAHicY2FgYOhgZGDIBOKzQDwFiI8Cxb4C8T8gfg3E////R8HogBENgwAAsaUR9g==');
      DTMToString(DTM);
      FreeDTM(DTM);
    end;

    begin
      SetupSRL;
      DTMTest;
    end.

    After running:
    SRL Compiled in 16 msec
    Result: mWAAAAHicY2GAgIf///93BdI8UL4BEFsCsRoQA6VQMDpgRMMgAACE7xC7
    Successfully executed.

    You convert the DTM to a TMDTM. That is a type like a DTM but you can do some fun stuff with it such as converting it to a String.

    EDIT: We might have overlooked something in the documents, but I don't think this existed yet. Might be nice to add to SRL.

    Script source code available here: Github

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

    Default

    more customizable LogPlayerIn function would be great


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

  4. #4
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    Quote Originally Posted by DannyRS View Post
    more customizable LogPlayerIn function would be great
    What kind of customisations would you like?

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

    Default

    Quote Originally Posted by Dynamite View Post
    What kind of customisations would you like?
    A more user friendly way for sixhour fix stuff and world selecting maybe?

    world selecting and sixhourfix is breaking constantly for me atm, might just be me


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

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

    Default

    Srl6

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

    Default

    Quote Originally Posted by Ollybest View Post
    Srl6
    *Requests new syntax tutorial for all PascalScript Simba functions For Lape


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

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

    Default

    Why does everyone think SRL6 with lape is going to be like going from pascal to java... you will hardly notice a difference.

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

    Default

    Quote Originally Posted by Ollybest View Post
    you will hardly notice a difference.
    hardly means i need to know at least something


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

  10. #10
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Quote Originally Posted by DannyRS View Post
    hardly means i need to know at least something
    Unless you're using pointers and stuff, you won't need to.

    Also comes with operators IIRC?

  11. #11
    Join Date
    Jan 2012
    Posts
    1,104
    Mentioned
    18 Post(s)
    Quoted
    211 Post(s)

    Default

    Quote Originally Posted by DannyRS View Post
    A more user friendly way for sixhour fix stuff and world selecting maybe?
    world selecting and sixhourfix is breaking constantly for me atm, might just be me
    What is the problem with the current sixhourfix?

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

    Default

    Quote Originally Posted by Shatterhand View Post
    What is the problem with the current sixhourfix?
    Cant ever seem to get it to reload client when sessions expired

    what do you need to do with it besides

    Code:
    SRL_SIXHOURFIX := TRUE;


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

  13. #13
    Join Date
    Jan 2012
    Posts
    1,104
    Mentioned
    18 Post(s)
    Quoted
    211 Post(s)

    Default

    Quote Originally Posted by DannyRS View Post
    Cant ever seem to get it to reload client when sessions expired

    what do you need to do with it besides

    Code:
    SRL_SIXHOURFIX := TRUE;
    Do you have login checker failsafes? It will restart smart only if it gets the error message when trying to log back in the game. So its built into the LoginPlayer function.

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

    Default

    Quote Originally Posted by Shatterhand View Post
    Do you have login checker failsafes? It will restart smart only if it gets the error message when trying to log back in the game. So its built into the LoginPlayer function.
    So this should work?

    checker failsafes as in?:

    Code:
    If Not LoggedIn Then
    Begin
       LoginPlayer;
    End;


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

  15. #15
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    You don't need the begin or end because it's only one line after the then

    And yes, what you posted does work
    I put it at the beginning of every procedure.

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

    Default

    Quote Originally Posted by BMWxi View Post
    You don't need the begin or end because it's only one line after the then
    I have a load of other checks in there, just shortened for that post
    but thanks for the tip


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

  17. #17
    Join Date
    Dec 2011
    Location
    Hyrule
    Posts
    8,662
    Mentioned
    179 Post(s)
    Quoted
    1870 Post(s)

  18. #18
    Join Date
    Jan 2012
    Posts
    1,104
    Mentioned
    18 Post(s)
    Quoted
    211 Post(s)

    Default

    And you might want to add some other resets after LoginPlayer, like exiting sof, setting camera position...

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

    Default

    have all in what I'm doing atm, but guess i wont know if it works till 3-6 hours time


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

  20. #20
    Join Date
    Aug 2007
    Location
    Colorado
    Posts
    7,421
    Mentioned
    268 Post(s)
    Quoted
    1442 Post(s)

    Default

    Quote Originally Posted by DannyRS View Post
    more customizable LogPlayerIn function would be great
    I've worked on a much more secure way to log the player into RS that will render any and all keyloggers powerless. It's still not fully operational and still being discussed in the higher up boards, but should I (we) get it working correctly it would be an ideal option way to login for the high security-wise user.

    Quote Originally Posted by Ollybest View Post
    Srl6
    Actively in development, I assure you.

    Quote Originally Posted by Ollybest View Post
    Why does everyone think SRL6 with lape is going to be like going from pascal to java... you will hardly notice a difference.
    The Lape aspect won't be a big change for the normal users & scripters. If anything it will give us many more options in our coding patterns and generally make some things easier to do. I really don't know so much about Lape but there's a couple threads already explaining some of its advantages. Anywho, when SRL-6 rolls out we'll have a better explanation of how scripters can take advantage of the new Lape system. It will indeed make our lives easier.

    Current projects:
    [ AeroGuardians (GotR minigame), Motherlode Miner, Blast furnace ]

    "I won't fall in your gravity. Open your eyes,
    you're the Earth and I'm the sky..."


  21. #21
    Join Date
    Jun 2012
    Posts
    4,867
    Mentioned
    74 Post(s)
    Quoted
    1663 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    I've worked on a much more secure way to log the player into RS that will render any and all keyloggers powerless. It's still not fully operational and still being discussed in the higher up boards, but should I (we) get it working correctly it would be an ideal option way to login for the high security-wise user.
    Login with Facebook? (Fake acc of course )

  22. #22
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    Quote Originally Posted by Flight View Post
    I've worked on a much more secure way to log the player into RS that will render any and all keyloggers powerless. It's still not fully operational and still being discussed in the higher up boards, but should I (we) get it working correctly it would be an ideal option way to login for the high security-wise user.

    I'd definitely like to try my hand at breaking this. I don't think anything script-wise can be keylogger proof. As long as it transfers data or has to decrypt data at some point on the user's system, it can be stolen.

    Unless of course it's some other method? :S Can't think of any lol. Would be certainly cool if your implementation does come to life though.
    I am Ggzz..
    Hackintosher

  23. #23
    Join Date
    May 2007
    Location
    UK
    Posts
    4,007
    Mentioned
    1 Post(s)
    Quoted
    12 Post(s)

    Default

    Anyone got any suggestions?

    -Boom

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

    Default

    Quote Originally Posted by Dynamite View Post
    Anyone got any suggestions?
    I dont know if it exists, but a function to find overlapping ATPA Boxes in two ATPA's, of some kind, and return the box of the intersecting parts as ATPA, i cant think of a "fast" enough way to do it

    Maybe one of you more experienced guys can get the logic for it


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

  25. #25
    Join Date
    Jan 2012
    Posts
    1,104
    Mentioned
    18 Post(s)
    Quoted
    211 Post(s)

    Default

    Quote Originally Posted by DannyRS View Post
    I dont know if it exists, but a function to find overlapping ATPA Boxes in two ATPA's, of some kind, and return the box of the intersecting parts as ATPA, i cant think of a "fast" enough way to do it

    Maybe one of you more experienced guys can get the logic for it
    Im interested in this too. Making TPAs from the boxes' lines then looking for point matches is slow..

Page 1 of 2 12 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
  •