Jump to content

If i were to start scripting...


Influx
 Share

Recommended Posts

As Chris stated, learn the basics of Java first. That's a necessity.

It's best to have a good understanding of Java before scripting, afterall there's no point in making scripts that someone has already made a better version of. It's like reinventing the wheel, but instead of making it circular it's rectangular and doesn't operate nearly as well. You won't get very far.

If you're doing it for fun, then have it at. Just don't be surprised if you're being banned left and right because you left a ton of bugs in your code that make your script easily detectable.

 

Edited by Thunderwaffe
  • Like 1
Link to comment
Share on other sites

If you have web development knowledge, then scripting should be really easy for you pick up. 

 

Firstly, you want to pick out an IDE; IntelliJ, Eclipse

 

Once you've installed Java JDK 8.0+, open up your IDE and create a new project. For now you should ignore basic scripting and learn to do simple tasks in raw java such as; hello world, printing data types and objects, understanding of methods and their return types, parameters, fields, and constructors, and most importantly, understanding object references in memory. Once you're able to make a basic java application that can successfully use the core basics of Java, only then should you attempt to make a basic script. Understanding object references and their return types is going to save you a lot of headache when you're first starting to script.

 

  1. keywords  
  2. primitive data types
  3. method structure
  4. parameters
  5. fields
  6. constructors

 

That's just to scratch the surface, but you can write a basic script with only knowledge of keywords, primitives, and method structure. The rest is only needed for more complex scripts. 

 

If you're a visual learner, then I suggest watching Bucky's Java tutorial series on YouTube up to at least video 35 for a good grasp on how to make an intermediate script. 

 

Good luck

Edited by Purple
  • Like 1
Link to comment
Share on other sites

If you have web development knowledge, then scripting should be really easy for you pick up. 

 

Firstly, you want to pick out an IDE; IntelliJ, Eclipse

 

Once you've installed Java JDK 8.0+, open up your IDE and create a new project. For now you should ignore basic scripting and learn to do simple tasks in raw java such as; hello world, printing data types and objects, understanding of methods and their return types, parameters, fields, and constructors, and most importantly, understanding object references in memory. Once you're able to make a basic java application that can successfully use the core basics of Java, only then should you attempt to make a basic script. Understanding object references and their return types is going to save you a lot of headache when you're first starting to script.

 

  1. keywords  
  2. primitive data types
  3. method structure
  4. parameters
  5. fields
  6. constructors

 

That's just to scratch the surface, but you can write a basic script with only knowledge of keywords, primitives, and method structure. The rest is only needed for more complex scripts. 

 

If you're a visual learner, then I suggest watching Bucky's Java tutorial series on YouTube up to at least video 35 for a good grasp on how to make an intermediate script. 

 

Good luck

 

Tremendous reply there Purple, i'll check bucky's channel out. I'm excited..whipit.gif

Link to comment
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.

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.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...