Page 4 of 4 FirstFirst ... 234
Results 76 to 84 of 84

Thread: [ARCHIVE] New Randoms System: Beta Release

  1. #76
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by ggzz View Post
    Simply put.. if u don't like it.. in your main procedures do something like:

    If FindNormalRandom then
    Exit;// Or next player then Restart Loop..

    A mainloop should be made in mind so that the script can be started from anywhere within that loop.
    When your next player is introduced, u should always restart the loop anyway..
    Why should I have to change my scripts for a change that isn't even needed? Since when is logging in the job of the include and not simply the scripter?

    And yes I do restart my loops when a logout is detected. It's my scripting style. It's the most efficient and least prone to failing.

    Relogging changes colors and stuff and other information you may have saved. Auto relogging is bad, just don't do it. I see no reason why the scripter shouldn't handle a logout. It's NOT the antirandom's job to handle.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  2. #77
    Join Date
    Jun 2006
    Posts
    306
    Mentioned
    1 Post(s)
    Quoted
    4 Post(s)

    Default

    Its either attempt the relog, or just stay logged out.

    I get exacly where your coming from, its down to the scripter to have better fail safes, but lets be honest, theres a handfull of good scripters who actually understand the fundmentals of control flow on this forum.

    Were just trying to make the less experienced scripters be able to develope better scripts.
    8+ Years:C++, PICBASIC(ASM), Java, PHP, Perl, AHK

    My last hobby (yes i was the dev):Electronic PIC Development And HERE

    SMARTManager 0.91 (Script management/6 Hour limit fix): View thread here

    Like my work? Help me out: http://villavu.com/forum/showthread.php?p=984147#

  3. #78
    Join Date
    Dec 2006
    Location
    Sweden
    Posts
    10,812
    Mentioned
    3 Post(s)
    Quoted
    16 Post(s)

    Default

    Quote Originally Posted by i3egoHan View Post
    Its either attempt the relog, or just stay logged out.
    Stay logged out? Wat? Unless someone has an infinite loop (WHICH RS KICKING THEM OFF FOR BEING IDLE WOULD BREAK OUT OF), this will just relog back in via their script, unless their code is that bad, in which case they shouldn't be running it at all. See how much worse it makes it? It doesn't help inexperienced scripters whatsoever, and it encourages bad scripting practices. Not to mention inexperienced scripters aren't the majority of actively used scripts... This will not help at all.

    The only time LoginPlayer should ever be called is from within a user's script. Period.


    Send SMS messages using Simba
    Please do not send me a PM asking for help; I will not be able to help you! Post in a relevant thread or make your own! And always remember to search first!

  4. #79
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Quote Originally Posted by hunt3rx3 View Post
    My question is: is there a random where no tabs are missing?
    There is, I can't remember which one.

    Quote Originally Posted by Harry View Post
    Why should I have to change my scripts for a change that isn't even needed? Since when is logging in the job of the include and not simply the scripter?
    If this was added, you wouldn't have to change a thing, that's the point.

    Quote Originally Posted by Harry View Post
    Stay logged out? Wat? Unless someone has an infinite loop (WHICH RS KICKING THEM OFF FOR BEING IDLE WOULD BREAK OUT OF), this will just relog back in via their script, unless their code is that bad, in which case they shouldn't be running it at all. See how much worse it makes it? It doesn't help inexperienced scripters whatsoever, and it encourages bad scripting practices. Not to mention inexperienced scripters aren't the majority of actively used scripts... This will not help at all.

    The only time LoginPlayer should ever be called is from within a user's script. Period.
    I see it's hopeless trying to convince you otherwise, so let's agree to disagree. This debate is going nowhere.

  5. #80
    Join Date
    Dec 2009
    Location
    R_GetPlayerLoc;
    Posts
    2,235
    Mentioned
    0 Post(s)
    Quoted
    14 Post(s)

    Default

    I actually have to agree with Harry on this one.
    "Logic never changes, just the syntax" - Kyle Undefined?

    Remember, The Edit Button Is There For A Reason!!!

  6. #81
    Join Date
    Feb 2012
    Posts
    35
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    What am i supposed to write on the "FindBoxOption" ?

  7. #82
    Join Date
    Jan 2011
    Posts
    46
    Mentioned
    0 Post(s)
    Quoted
    2 Post(s)

    Default

    its so embarrassing im the only one who have trouble even detecting the presence of random event, it doesn't respond though i changed my entire srl folder to threadstarter's. it just stand there and execute my mainloop, do i need to add in certain functions to activate it?

    <_<

    Finally works after I execute
    FindNormalRandom

    but logout my character, only

    ***** STR: FOUND RANDOM: 'Drill Demon' *****
    Screenshot of: Found Drill Demon random 2 Minutes and 10 Seconds
    Screenshot of: Found Demon 2 Minutes and 12 Seconds
    Can't find what Damien wants us to do.
    Last edited by Coh3n; 03-05-2012 at 09:11 PM.

  8. #83
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    Please don't double post, that's what the edit button is for. And yes, with the old and new systems you have to call findNormalRandoms, otherwise the script has no idea to look for them.

    And, from that debug, you're using the old solvers. When you replace your SRL folder with the one in the first post, you have to disable the SRL updater, otherwise it will override the folder you replaced.
    ____________________________________

    Please download the latest version. There are a few bug fixes + the Mordaut solver is enabled.

  9. #84
    Join Date
    Apr 2008
    Location
    Marquette, MI
    Posts
    15,252
    Mentioned
    138 Post(s)
    Quoted
    680 Post(s)

    Default

    This has now been officially released here. Please continue discussion on the proper random event thread.

    Thanks.

Page 4 of 4 FirstFirst ... 234

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
  •