Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
gyrate

Wannabe Scripter

Recommended Posts

Posted (edited)

This is my attempt at introducing myself to the scripting community :)

A few months ago I was looking for a specific script but couldn't find a public/premium version of it. Instead of thinking about asking a premium scripter to make a private version for me, I jumped at the idea of making my own thinking "how hard could it be?". So I started learning java off youtube and I've made the small achievement of not giving up even though I have no computer science background.  

Currently, I'm on video # 36 out of an 87 video tutorial on Java and if I survive the next 49 videos, I'll finally start looking into the Tribot API and making my own simple scripts. Obviously, I'll be googling or looking at the tutorials posted here first for most of my questions but if I bug one or two of you premium scripters, I hope you'll be patient with me. 

I would greatly appreciate any posts about recommended tutorials or links that you guys/girls can think of (or general advice). 

P.S. I hope to one day apply for scripter rank and then premium scripter.

P.P.S. I'm coming for your profits :)

 

Edited by gyrate
  • Like 3

Share this post


Link to post
Share on other sites
19 minutes ago, IceKontroI said:

There are quite a few open source tribot scripts, once you finish your video series and are comfortable in the language, that would probably be a good starting point.

A few other scripters pointed me in that direction as well. I'll alternate between looking at the open source scripts and the API and see how each method and class is utilized 

Share this post


Link to post
Share on other sites
9 hours ago, gyrate said:

I would greatly appreciate any posts about recommended tutorials

Since you've decided to actually learn Java before attempting to write scripts, you've started this journey off the right foot.

Videos are nice, but reading is even better, and it's indispensable if you want fully grasp advanced (or even basic) concepts.

 

Here's a brief introduction to Java, it will give you an idea of what programming is and what role Java plays in the whole scheme. Understanding why you need to learn something can only motivate you to keep at it. https://tribot.org/forums/topic/75158-introduction-to-java/

After you're done, I highly suggest going through the official Oracle tutorials, you can't really explain it better than the guys that are maintaining the language: https://docs.oracle.com/javase/tutorial/

 

Once you're familiar with Java, go ahead and follow some scripting tutorials (there are plenty on the forums), skim through our API, and read open source code from the accepted section of the application subforum. Most of us know what we're doing, and some of us had decent code at the time when we applied. 

Sadly this can't be said about my old repository, as the code makes me shiver every time I read it. I will write some new open source scripts to help out the newcomers, but until then I strongly suggest finding cleaner code somewhere else.

 

9 hours ago, gyrate said:

(or general advice). 

This applies to @ScriptsForMains @Jerminater @Genka @UKF_HHA or any other user that wants or wanted at some point to become a scripter:

  • Learn to work without other people's positive feedback, it won't always be there.
  • Evaluate and criticize your own code, always strive for improvement and never believe that you've already achieved peak performance.
  • Ignore everyone and just shoot for your goals. Do not let others tell you what you can and cannot do, some of them are unbelievably incompetent themselves.

 

Share this post


Link to post
Share on other sites
Posted (edited)
1 hour ago, Einstein said:

Since you've decided to actually learn Java before attempting to write scripts, you've started this journey off the right foot.

Videos are nice, but reading is even better, and it's indispensable if you want fully grasp advanced (or even basic) concepts.

 

Here's a brief introduction to Java, it will give you an idea of what programming is and what role Java plays in the whole scheme. Understanding why you need to learn something can only motivate you to keep at it. https://tribot.org/forums/topic/75158-introduction-to-java/

 

  • Learn to work without other people's positive feedback, it won't always be there.
  • Evaluate and criticize your own code, always strive for improvement and never believe that you've already achieved peak performance.
  • Ignore everyone and just shoot for your goals. Do not let others tell you what you can and cannot do, some of them are unbelievably incompetent themselves.

 

 

I had your intro bookmarked as soon as I started looking into java haha, thanks for taking the time to write it out. The videos are my first step since I'm using them practically and following along with the methods/classes the youtuber makes so I know how things are used together, after that I'll get down to reading yours and other people's written guides while I try to piece together the puzzle that is actual scripting. 

Thanks for the general tips as well, I'll keep a filter up and develop some thicker skin :) 

Edited by gyrate
  • Like 1

Share this post


Link to post
Share on other sites
On 4/26/2019 at 9:42 PM, gyrate said:

I would greatly appreciate any posts about recommended tutorials or links that you guys/girls can think of (or general advice). 

I may not have been around too long, or made any great scripts for the public, but I did learn quite a lot. I actually started to learn how to code by reading a book, and deciphering other people's open source scripts. (more on this later, as there are MUCH better ways)

I was tagged in this post by @Einstein so got an email, and am checking it out. I do not come on here too often anymore due to quite a significant life change. However, I have to give my fair share of advice too after reading this post.

Over the past 8 months or so, I started to develop iOS apps, to begin software development on the side, and create various tools for my company use. One thing I learned: All code is garbage. What I mean by this, is that there is almost always a way to do it better, and when you look at it, it is always hard to interpret. So never look at someones script and believe it to be perfect. Look for ways to improve it.

Another thing: It is way harder to read code than it is to write it. So if you ever feel overwhelmed by looking at something someone else coded, remember that everyone else probably thinks the same. Even the person who wrote the code, if they don't constantly look at it, they are just as confused too. I know this from experience. I have no idea what I was thinking when I look back at some old code, but it works, and works well. Even with comments, I find it hard. This is the nature of code, and why it is constantly evolving and why every company out there is constantly rewriting old code. (Take this with a grain of salt though... there are many algorithms out there that will work just as good 500 years down the line.)

Another another thing: Coding is a very intimate thing. It is just like if you were to tell someone your secrets. How you code is like putting your personality onto a page, and everyone is unique. Just because you do something different does not mean you are wrong. Often times someone will nit pick what you do. Just remember that as long as what you wrote works just as well as the way they wrote it, there is nothing wrong (Unless one method has a higher space/time complexity at least, most times this is insignificant too though). Take what they said and learn from it, maybe even rewrite what you did to use their recommendation. Don't think it is a bad thing though. Just a different thing. Yes there are standards you should follow, but still. Just a different thing that you should do, but don't HAVE to do. Unless you are trying to impress someone looking at your code, all that matters in the end is that it functions as intended. 

On 4/27/2019 at 7:36 AM, Einstein said:

Videos are nice, but reading is even better, and it's indispensable if you want fully grasp advanced (or even basic) concepts.

We should really try to be objective here. Everyone learns in a different way. Some people learn better by looking at examples, some by reading, some by doing, some by watching someone else do.

I for one, love reading, and love videos. In fact, I've found lately that videos, provided I have examples and an good instructor to follow, are much better.

Strongly advise that anyone getting into scripting look here for some great videos. This is an online course in Java that is 78 hours long, and I went through the course a few months ago. I learned far more from this course than I did through any books, and any YouTube tutorials, and looking at anyone's code here.

On 4/27/2019 at 7:36 AM, Einstein said:

You can't really explain it better than the guys that are maintaining the language.

I object! (see above)

On 4/27/2019 at 7:36 AM, Einstein said:
  • Learn to work without other people's positive feedback, it won't always be there.
  • Evaluate and criticize your own code, always strive for improvement and never believe that you've already achieved peak performance.
  • Ignore everyone and just shoot for your goals. Do not let others tell you what you can and cannot do, some of them are unbelievably incompetent themselves  just bullies. Make it your personal goal to show them that you CAN and that you WILL do it, and be all the better from it.

*better

 

Jerm out.

  • Like 1

Share this post


Link to post
Share on other sites
13 minutes ago, Jerminater said:

Another thing: It is way harder to read code than it is to write it. So if you ever feel overwhelmed by looking at something someone else coded, remember that everyone else probably thinks the same. Even the person who wrote the code, if they don't constantly look at it, they are just as confused too. I know this from experience. I have no idea what I was thinking when I look back at some old code, but it works, and works well. Even with comments, I find it hard. This is the nature of code, and why it is constantly evolving and why every company out there is constantly rewriting old code. (Take this with a grain of salt though... there are many algorithms out there that will work just as good 500 years down the line.)

Another another thing: Coding is a very intimate thing. It is just like if you were to tell someone your secrets. How you code is like putting your personality onto a page, and everyone is unique. Just because you do something different does not mean you are wrong. Often times someone will nit pick what you do. Just remember that as long as what you wrote works just as well as the way they wrote it, there is nothing wrong (Unless one method has a higher space/time complexity at least, most times this is insignificant too though). Take what they said and learn from it, maybe even rewrite what you did to use their recommendation. Don't think it is a bad thing though. Just a different thing. Yes there are standards you should follow, but still. Just a different thing that you should do, but don't HAVE to do. Unless you are trying to impress someone looking at your code, all that matters in the end is that it functions as intended. 

8

appreciate the input! I'll try to stay objective and get through it. The first two tips I'm glad you reminded me of because it's easy to forget coding a script can be done in multiple ways, all equally decent, and reading code is pretty difficult, even when you wrote it yourself. 

  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)

So how goes it? For the past couple of weeks I've been following the "java made easy" course pretty intesively, while taking notes. Followed some scripting tutorials on tribot, specifically the powerminer on youtube and trillez's scripting tutorial. However im still pretty lost on how to actually construct my own script and how to implement specific API methods, such as dynamic clicking.  I'm actually very eager to get a hang of this. So maybe we can help each other out somehow.

Edited by cheezeweez456

Share this post


Link to post
Share on other sites
14 hours ago, cheezeweez456 said:

So how goes it? For the past couple of weeks I've been following the "java made easy" course pretty intesively, while taking notes. Followed some scripting tutorials on tribot, specifically the powerminer on youtube and trillez's scripting tutorial. However im still pretty lost on how to actually construct my own script and how to implement specific API methods, such as dynamic clicking.  I'm actually very eager to get a hang of this. So maybe we can help each other out somehow.

It goes slowly, I'm still focused on getting a proper understanding of java so I decided to sign up for a udemy course that Jerminator linked to in his post above. By the end of this month though I'm going to dive in and try making some simple script. I tend to get too caught up in the nitty-gritty details instead of experimenting (which is why I'm still stuck learning java haha). We can definitely try doing this together if you like thought currently I have less knowledge about tribot's api than you. Reach out to me on discord since I'm online there more often. 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Our picks

    • [READ TO THE END FOR A TEASER]

      I've noticed some new TRiBotters have had some troubles finding out sources of how to do certain things, such as using advanced scripts and often get lost in the forums.

      We are still getting posts asking where to start, what to do, recommended scripts, etc. 

      As many of you know, I am new to the team, and had troubles myself learning how to bot, let alone script. 

      So, what our team decided to do was make it easier to learn how to bot, how to script, and just become an overall better botter and scripter faster. 

      As some of you might have seen, I've posted 3 new blogs, you can check it out by clicking on the following picture or here.


      These first 3 blogs are the first of many blogs that will be TRiBot official. They are encouraged to be challenged, improved upon and act as A Best Practices Guide for Botters.

      What information would you like to see in the blogs?

      👇 [TEASER] 👇

      .

      .

      .

      We are going to be hosting a  CONTEST  this  OCTOBER.

      Its scary to think how soon you'll find out.👻

      Stay tuned.


      - RileyZ
      • 7 replies
    • Today marks a big day for TRiBot! To make it easier for users to use TRiBot, we've created installers available for every platform! These installers are all bundled with the latest version of OpenJDK 1.8 (Java 😎, which is LG compatible.

      Using TRiBot is now easy. Simply download the installer for your platform, install TRiBot, and run it. The TRiBot Loader will correctly identify the bundled JDK so there's no need to change the Java selection.

      Windows

      EXE installer: TRiBot-windows-x64-4.0.3.exe


      MSI installer: TRiBot-windows-x64-4.0.3.msi


      Portable version: TRiBot-windows-x64-4.0.3.zip


      Mac OS

      Installer: TRiBot-macos-4.0.3.dmg


      Portable version: TRiBot-macos-4.0.3.tgz


      Unix/Linux

      Installer: TRiBot-unix-4.0.3.sh


      RPM installer (CentOS/Fedora): TRiBot-linux-4.0.3.rpm


      DEB installer (Debian): TRiBot-linux-4.0.3.deb


      Portable version: TRiBot-unix-4.0.3.tar.gz


      Platform Independent

      JAR file: tribot-loader-4.0.3.jar


      Note that this jar file does not include the bundled JDK.



      Windows and Mac OS users may notice a warning message stating that the installer/application is un-recognized or un-trusted. Please ignore this message and proceed with running the installer/application. We need to acquire a code signing certificate so that we can sign the installers letting the operating system know that these files can be trusted. It will take a week or more to acquire one, so please hold tight.

      Other notable changes to the TRiBot Loader:

      Support getting the version from OpenJDK distributions


      Add check for bundled JDK


      Copy OpenJDK tools.jar to the bundled JDK if not present


      Set the current java as the first available list entry


      Ignore Java versions which are symbolic links


      Make the bundled JDK the preferred Java version


      Update icon images


      Reduce the number of HTTP calls
        • Thanks
        • Like
      • 17 replies
    • TRiBot is looking to improve a lot of its customer relationship management, customer on boarding process, customer experience, design elements, community engagement and pretty much everything else you can imagine when it comes to marketing.

      Our goal: To ensure that the marketing done TRULY reflects the experience and does not shine an inaccurate light on what TRiBot is lacking in.

      So I ask, what do you love about TRiBot and what do you hate about TRiBot? What does O S Bot, Rune M8, PowR Bot and Dre amBot do better? (yes I purposely didn't spell it right 😂).

      Love, 

      RileyZ
        • Like
      • 17 replies
    • Hello TRiBot,

      Today we have a significant release that has been in the works for the last month addressing several key issues, features and bugs in the backlog.

      With these changes, we are also including a new TRiBot Loader which will allow you to select any version that is released. This adds the flexibility of allowing you to revert to a previous version should an issue arise, run development only builds, view an accurate change log between versions etc. we are very proud to offer this feature and think it will add a lot more functionality down the road as we continue to release new versions.

      These changes include 80+ commits by our development team, a list of them is summarized below and also available for your viewing pleasure in the new TRiBot Loader.

      In addition, we have taken additional steps to improve as a development team by adding continuous integration and deployment into our workflow to assist in delivering timely releases such as bug fixes as well as new features on a weekly basis depending on our development cycle.
        • Thanks
        • Like
      • 39 replies
    • Over the last three weeks, I've been working on upgrading our server infrastructure. It's finally ready and is now live!

      Why?

      Increased reliability - less server errors


      Increased availability - less downtime


      Increased security - keeping us and you secure


      Increased capacity - ability to serve you better


      Increased speed - less waiting for things to load


      Faster development - server and service updates will come faster


      What are the changes?

      Move from a single AWS EC2 instance to AWS ECS (Elastic Container Service)


      Distributed computing


      Load balancing


      Git management of server files and filesystem


      Redis caching


      How?

      AWS ECS (with 10 EC2 instances)


      AWS ElastiCache (Redis)


      AWS Load Balancing


      AWS EFS (Elastic file system)


      Please bare with us as I continue to tune the server for maximum performance. Slow loading speeds may occur temporarily. I thank everyone for their patience.

      Please post on this thread if you experience any issues other than slow loading times.
        • Like
      • 51 replies
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...