Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Buy OSRS Gold

Sell OSRS Gold
Laniax

Laniax's Scripter Application

Application  

14 members have voted

You do not have permission to vote in this poll, or see the poll results. Please sign in or register to vote in this poll.

Recommended Posts

1) Snipplets:
- LanAPI. (my personal API) [source]
- Dynamic Signatures. [thread] [source]
 
2) Tutorials: n/a

3) Randoms/updates submitted: n/a

4) Scripts available to the public:

- [LAN] ChaosKiller [thread] [source]
- [LAN] Runecrafter [thread] [source]
- [LAN] ScriptTools [thread] [source]
- [LAN] ChickenKiller [thread] [source]
 
The following isn't really a script but it's bigger then any of the above so i am going to include it anyway:
- AdvancedWalking. (next-gen walking/pathfinding) [thread][source

5) Short biography / Coding Experience: 

I'm Laniax, 22 years old from the Netherlands. Started coding around 10 years ago setting up vanilla world of warcraft servers. Got to learn SQL and through the years i slowly rolled into C++. Ended up as a paid developer for a very large wow vanilla server around. During those years i got my degree in graphic design specializing in 3D Animation. By this time i was doing C# in my free time and started creating websites for myself and eventually many people in the relatively small town i live in, growing into a small business. Two years ago i decided i wanted something more and stopped the business to start as a medior PHP backend developer at a company in the city, at which i'm a senior now.
 
I joined tribot late 2013, mainly because i wanted to brush up on my java skills. I released my first script within a week and it is still updated and running today. Personally i'm not someone who engages into meaningless discussions or the 'drama' of a community, im a no-nonsense kind of guy so i only contribute where is necessary (although i do lurk the forums a lot ;) ). I always try to help anyone who has questions, which is why i started open sourcing my work early on.

6) Reasons why you feel you deserve Scripter: 

I don't feel like i 'deserve' scripter, i'm not entitled to anything. I do hope i have shown the community that i write quality scripts and always try to help where i can while maintaining a mature work attitude. I think everyone wants some form of respect for their work in some way. I think i can bring some fresh ideas to the table, AdvancedWalking is one of them, but i already got drafts for a couple of other things.
 
7) What you plan to provide the community with: 
Of course i will continue to write and update quality scripts. But as noted above i will also work on new ideas, AdvancedWalking will be improved and i will continue to help wherever i can.

8) Do you agree to continue to not only update, but provide more free, open sourced scripts to the community? 

Absolutely.
 
Thank you for the read! if you have any questions i will gladly answer them. 

 

 

Edit:

@xCode Your right, banking#withdraw deserves an if check there. I've updated the code in question and will walk through all my other code/scripts to check them later tonight. I intentionally didn't do it on banking#close, since the script won't break if the banking fails to close, it will simply walk away in the next strategy and that will auto-close the bank interface.

Edited by laniax
  • Like 6

Share this post


Link to post
Share on other sites

Did not check all of your code, but most seemed decent.

One thing I want to point out though:

RSItem[] tiaraOrTalisman;            if ((tiaraOrTalisman = Banking.find(altar.getTiaraID())).length > 0) {                // found a tiara in the bank!                Banking.withdrawItem(tiaraOrTalisman[0], 1);                Timing.waitCondition(Conditions.UntilHasTiaraInInventory(altar), General.random(3000, 4000));                General.sleep(Antiban.getUtil().DELAY_TRACKER.ITEM_INTERACTION.next());                Banking.close();                // Check for talisman            } else if ((tiaraOrTalisman = Banking.find(altar.getTalismanID())).length > 0) {                // found a talisman in the bank!                Banking.withdrawItem(tiaraOrTalisman[0], 1);                Timing.waitCondition(Conditions.UntilHasTalismanInInventory(altar), General.random(3000, 4000));                General.sleep(Antiban.getUtil().DELAY_TRACKER.ITEM_INTERACTION.next());                Banking.close();            } else {                // couldn't find a talisman or tiara in the bank or inventory, stopping script.                General.println("Couldn't find a talisman or tiara in your inventory or bank. Stopping script");                LANRunecrafter.quitting = true;                return;            }

A lot of code is not checking the booleans returned by certain actions, like Banking#withdraw() and Banking#close(). They return true when they succeed and false when they don't. I see a lot of applications where people post code like above and it really bothers me. Just check wether an action succeeded or not and then choose to sleep or w/e.

 

Will check out more of your code when I have some time.

  • Like 1

Share this post


Link to post
Share on other sites

Did not check all of your code, but most seemed decent.

One thing I want to point out though:

RSItem[] tiaraOrTalisman;            if ((tiaraOrTalisman = Banking.find(altar.getTiaraID())).length > 0) {                // found a tiara in the bank!                Banking.withdrawItem(tiaraOrTalisman[0], 1);                Timing.waitCondition(Conditions.UntilHasTiaraInInventory(altar), General.random(3000, 4000));                General.sleep(Antiban.getUtil().DELAY_TRACKER.ITEM_INTERACTION.next());                Banking.close();                // Check for talisman            } else if ((tiaraOrTalisman = Banking.find(altar.getTalismanID())).length > 0) {                // found a talisman in the bank!                Banking.withdrawItem(tiaraOrTalisman[0], 1);                Timing.waitCondition(Conditions.UntilHasTalismanInInventory(altar), General.random(3000, 4000));                General.sleep(Antiban.getUtil().DELAY_TRACKER.ITEM_INTERACTION.next());                Banking.close();            } else {                // couldn't find a talisman or tiara in the bank or inventory, stopping script.                General.println("Couldn't find a talisman or tiara in your inventory or bank. Stopping script");                LANRunecrafter.quitting = true;                return;            }

A lot of code is not checking the booleans returned by certain actions, like Banking#withdraw() and Banking#close(). They return true when they succeed and false when they don't. I see a lot of applications where people post code like above and it really bothers me. Just check wether an action succeeded or not and then choose to sleep or w/e.

 

Will check out more of your code when I have some time.

You don't always need to check that shit.

 

Yes

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.

  • Our picks

    • Hi everyone,

      I'd like to thank everyone for their patience in this transition period. Since last week, we've worked out the remaining bugs with this integration.

      Some users have still been having issues with connecting their forums account to their Auth0 account. To resolve this, we've imported all forums accounts into Auth0.

      Unfortunately, the accounts which were imported today were using an unsupported password hashing algorithm. Hence, random passwords were set during the import.

      What does this mean for me?

      If you've previously linked your forums account to your Auth0 account, you don't have to do anything. Nothing changes for you.


      If you haven't logged in via our new login yet,

      Try logging in with your forums email address and the last password you used


      If you are unable to login, please use the "Forgot password" tool on the login page:
      Follow the instructions to reset your password
       
        • Like
      • 1 reply
    • Hello everyone,

      Last week we tried to roll out Auth0 Login, but we lost that battle. Now it's time to win the war!

      Important changes

      When logging into the client, you'll now have to enter your Auth0 account credentials instead of your forums credentials

      Note: 2FA is still handled through your forums account (for the time being)



      Changes for existing users

      You'll have to link your Auth0 account to your forums account here: https://tribot.org/forums/settings/login/?service=11


      Auth0 accounts have been created for most existing users. Please use your forums email address and password to login.



      Important notes

      Make sure to verify your email address upon creating a new Auth0 account


      When we mention your Auth0 account, we mean your account used for auth.tribot.org as displayed below
      • 71 replies
    • To better support the upcoming changes (TRiBot X, new repository), we're switching our login handler to Auth0. Instead of logging in with the standard form, you'll now be required to login through our Auth0 application.

      All existing accounts which have been used within approximately the past year have been imported into Auth0 using the same email and password combination which has been stored on the forums.

      What does this mean for users?

      Your account credentials are now even more securely stored


      You'll be able to login via Facebook, Google, and others in the future


      Is there anything users have to do differently now?

      Existing users: You'll have to login with the standard login, open your Account Settings, then link your Auth0 account


      New users: You'll be redirected to our Auth0 app (auth.tribot.org) where you'll be able to create an account


      Why was this change made?

      The new apps we are creating (such as the new repository) aren't able to use the forums to handle user logins


      To centralize all user accounts in one area


      To ensure that the client login doesn't go down when the forums are having problems


      To speed up our development


      Other considerations

      There's no documentation or official support for using Invision Community combined with Auth0, so there are still a few kinks we're working out


      We're in the works of creating an account management panel specifically for Auth0 accounts (ETA August)


      It's not possible to change email addresses for the time being (this will be resolved this August)


      Changing passwords is a weird process for the time being. To change your password, you'll have to use the "Don't remember your password" tool on the Auth0 login page
        • Like
      • 11 replies
    • Over the past month, we've been working hard on TRiBot's new repository - a much needed update. This change has been deemed necessary for TRiBot X, and will allow us to really speed up development of all aspects of TRiBot.

      Today we are going to share what we've been working on!


      Now you must be wondering what kind of features the new repository will have.... well, you'll have to be patient for a little while longer. We're still figuring out various technical aspects so we can't provide answers to all possible questions. We're also focusing on development rather than writing about it so that everyone can get access to our latest developments at lightning speed. I will however answer a few users' questions.

      We're planning on a release of this early to mid August, giving users some goodies before TRiBot X's release.

      Thank you all for being patient. I hope everyone is excited as much as I am!
        • Like
      • 17 replies
    • Over the past few months, I’ve been working diligently on a new project - TRiBot X. Everything has been written from the ground up, with all of the best practices of software engineering. Every aspect of TRiBot has been re-imagined to support three main goals: flexibility, useability, and reliability.
        • Like
      • 50 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...