Welcome, guest! Please login or register.

    * Shoutbox

    RefreshHistory
    • SuperNativeZ: 2009SCAPE - Perfect Realistic Emulation. Play Runescape like it was in 2009. [link]
      February 18, 2020, 01:04:45 PM
    • SuperNativeZ: 2009SCAPE - Perfect Realistic Emulation. Play Runescape like it was in 2009. [link]
      February 18, 2020, 01:04:39 PM
    • SuperNativeZ: 2009SCAPE - Perfect Realistic Emulation. Play Runescape like it was in 2009. [link]
      February 18, 2020, 01:04:35 PM
    • ragnoroker: Join RuneGuild Today! BIG DROP PARTY IN 1 HOUR JOIN NOW - Newish Server 30+ Online all the time - Very Unique - Play now : [link]
      February 15, 2020, 04:16:38 PM
    • ragnoroker: Join RuneGuild Today! BIG DROP PARTY IN 1 HOUR JOIN NOW - Discord : [link]
      February 15, 2020, 04:15:41 PM
    • ragnoroker: Join RuneGuild Today! BIG DROP PARTY IN 1 HOUR JOIN NOW :) - [link]
      February 15, 2020, 04:14:50 PM
    • friendlyhelper: Meet up with old and new friends and explore what Runescape Classic could have been had development continued [link]
      February 15, 2020, 03:55:17 PM
    • friendlyhelper: Meet up with old and new friends and explore what Runescape Classic could have been had development continued [link]
      February 15, 2020, 03:49:34 PM
    • friendlyhelper: After well over 6 years of continuous runtime, RSCR still most actively developed RSC server  [link]
      February 15, 2020, 03:49:29 PM
    • SnowRSPS: Checkout Snowrsps.com - Snow317.org - Snowscape.net Open 24.7 [link] !Do not join Galaxy!
      February 15, 2020, 08:15:39 AM
    • SnowRSPS: Checkout Snowrsps.com - Snow317.org - Snowscape.net Open 24.7 [link] !Do not join Galaxy!
      February 15, 2020, 08:15:32 AM
    • SuperNativeZ: GALAXY #1 UNIQUE CUSTOM RSPS [link][link]
      February 14, 2020, 12:27:16 PM
    • SuperNativeZ: GALAXY #1 UNIQUE CUSTOM RSPS [link][link]
      February 14, 2020, 12:27:11 PM
    • SuperNativeZ: GALAXY #1 UNIQUE CUSTOM RSPS [link][link]
      February 14, 2020, 12:27:00 PM
    • ragnoroker: Looking for a new server? Join RuneGuild : [link] You won't be disappointed.
      February 14, 2020, 07:49:42 AM
    • ragnoroker: Looking for a new server? Join RuneGuild : [link] You won't be disappointed.
      February 14, 2020, 07:49:37 AM
    • ragnoroker: Looking for a new server? Join RuneGuild : [link] You won't be disappointed.
      February 14, 2020, 07:49:33 AM
    • Tonystark2830: https: //discord .gg /AHeVSMQ
      February 13, 2020, 11:35:21 AM
    • Tonystark2830:[link]
      February 13, 2020, 11:35:06 AM
    • Tonystark2830:[link] who ever has the most invites will be given money weekly! whats the catch? you must have over 15 invites for the week!  if you are tied with someone else at the end of the week you will both be awarded the same amount "no it will not be split"
      February 13, 2020, 11:34:42 AM

    Author Topic: [317/PI] Server's Initial Setup Guide  (Read 3957 times)

    0 Members and 1 Guest are viewing this topic.

    Offlineskillforlif3

    • Member
    • **
    • Posts: 8
    • Thanks: +0/-0
      • View Profile
    [317/PI] Server's Initial Setup Guide
    « on: April 06, 2016, 11:54:44 PM »
    Hello Moparscape, This is going to be one of my first contribution to the community since 2010 :P
    I'm more of a RuneServer Guy than Moparscape but i thought why not come back and do something.. So lets begin.

    This guide will explain in depth on how to start a nice programming environment for your server/Client to be worked on and will also get into the basics of programming in JAVA.

    These Sections will be in the following.

    PARTS:

    A: Setting up a nice IDE to start developing your own server!
    B: Basic starter guide to programming
    C: Getting more in-Depth with programming
    D: Running a Successful Server.

    A):

    Part A.1) The advantages of using an IDE Compared to using notepad++/Notepad:

    Using an Integrated Development Environment (IDE) is one of the most useful things you can do to start your own server, The advantages of using a IDE is as the following..:

    • Syntax Highlighting
    • Not needing to compile after every change
    • Shows errors straight away
    • Makes life easier in general.

    If you use notepad or notepad++ you are limited to the stuff above i listed, So basically my point im getting across is USE AN IDE.

    PART A.2) Setting up an IDE to start development of your Server!:

    There are many different IDE's out there for JAVA based programming but in my case im going to teach you how to use 'Eclipse' Since its a well known/used IDE in the RSPS Programming Community.

    First off we will need to download it, Therefore we will goto Eclipse.org and Click the Download Button, We should see alot of different types of eclipse to download.

    Click this one:



    After you have installed Eclipse, Open it.. and you should have a screen like this:



    Next open those two boxes overlapping eachother as it said in the picture i took.

    After that goto File>New project>Java>JavaProject and Click okay

    Now follow the GIF i have put below:



    Untick the box and click browse and select your Server files.. it should open a folder in the navigator..

    ECLIPSE TUTORIAL WILL BE CONTINUED...

    PART B) Initial Java programming:

    Well.. You want to start programming Java, But you know nothing about it? Well Java is a (OBJECT ORIENTATED Language) Which is basically a rip off of C#, Its very stable and reliable and also community driven, Meaning JDOCS will update alot.

    So in this part im basically going to teach you the main components of JAVA which you will use alot within programming in basically any language..

    VARIABLES:

    Declaring Variables is like making a little open box in your RAM For things to be stored while the program is opened, Although i wont go in-depth with this as i am still learning JAVA myself.

    There are many Types of Variables.. I will list them below and show you a what they do/mean

    • INT: An Integer is a numeric value ranging from -2147,000,000 to 2147,000,000 If you go over the number it will return back to 1 or even give you a nullpointerexception etc.. Basically Ints are used to store numeric values.  (NOTE: You can't store decimal Values inside of INTS)
    • String: Strings are used for Alphabetical letters etc, EG: String myString = "This is a String";, You can also store numeric values inside of strings but is highly cringed apon since theres INT to do that.
    • Float: Floats are decimal values, Basically stores numeric values but they can be Decimal.
    • Double: Doubles aren't really used as much these days although they are basically the same as floats
    • Long: Longs are like ints but can hold a higher value.. its some ridicilous amount like 1123123123123123123 to 1231239128412848218 IDK.-.

    IF STATEMENTS:

    If statements are used frequently within java and other programming languages..

    Example is like

    IF>Number 10>Equals True>Send a message

    We would write that out like

    if (number == true) {

    c.SendMessage("It equaled 10");

    }

    But yeah theres the if statement.

    For loop:

    For loops are also commonly used but are hard to remember the syntax .. For loops are used if you need to repeat something many times

    example
    int repeat = 5;

    for(int i = 0; i > repeat; i++) {

    c.SendMessage("I will be repeated 5 times");

    }

    This is the end of java basics, I will update the thread in another few hours completing most of it off..

    Kind Regards,
    Jack

    [/b]
    Runescape Gambling

    OfflineTree

    • Member
    • ****
    • Posts: 2,638
    • Thanks: +0/-0
      • View Profile
    Re: [317/PI] Server's Initial Setup Guide
    « Reply #1 on: April 07, 2016, 12:05:13 AM »
    You need to fix up the formatting and presentation. Wrap code in code tags.
    Secondly, avoid being too opinionated. For example:

    Quote
    Well.. You want to start programming Java, But you know nothing about it? Well Java is a (OBJECT ORIENTATED Language) Which is basically a rip off of C#, Its very stable and reliable and also community driven, Meaning JDOCS will update alot.

    Remove this. It indicates to me that you have very little idea of what you're talking about. Other than that, contribution is always a good thing and I hope you keep at it. :) Glad to see you're learning!
    « Last Edit: April 07, 2016, 08:16:35 AM by Tree »
    Quote
    <_^_> this community has really collapsed
    <_^_> it is like a shitty version of friendster for washed up nerds

    Offlineskillforlif3

    • Member
    • **
    • Posts: 8
    • Thanks: +0/-0
      • View Profile
    Re: [317/PI] Server's Initial Setup Guide
    « Reply #2 on: April 07, 2016, 07:20:59 AM »
    You need to fix up the formatting and presentation. Wrap code in code tags.
    Secondly, avoid being too opinionated. For example:

    Quote
    Well.. You want to start programming Java, But you know nothing about it? Well Java is a (OBJECT ORIENTATED Language) Which is basically a rip off of C#, Its very stable and reliable and also community driven, Meaning JDOCS will update alot.

    Remove this. It indicates to me, that you have very little idea of what you're talking about. Other than that, contribution is always a good thing and I hope you keep at it. :) Glad to see you're learning!

    Appreciate the feedback Tree,

    Like i mentioned. I'm still learning JAVA as i go on.. But im trying to make a in-depth guide for the newcommers that have no idea where to start just like we all were noobs once.

    Offlinefopanss

    • First Time Poster
    • *
    • Posts: 3
    • Thanks: +10/-10
      • View Profile
    Re: [317/PI] Server's Initial Setup Guide
    « Reply #3 on: April 07, 2016, 12:17:36 PM »
    As a beginner it helped me out alot! thanks for the help!

    Offlineskillforlif3

    • Member
    • **
    • Posts: 8
    • Thanks: +0/-0
      • View Profile
    Re: [317/PI] Server's Initial Setup Guide
    « Reply #4 on: April 07, 2016, 05:11:04 PM »
    Lots of incorrect and missed out information.

    Explain? Incorrect Information??

    ..?

    Offlinerunescape sucks

    • Member
    • ****
    • Posts: 2,797
    • Thanks: +0/-0
      • View Profile
    Re: [317/PI] Server's Initial Setup Guide
    « Reply #5 on: April 07, 2016, 10:29:58 PM »
    There are many Types of Variables.. I will list them below and show you a what they do/mean

    • INT: An Integer is a numeric value ranging from -2147,000,000 to 2147,000,000 If you go over the number it will return back to 1 or even give you a nullpointerexception etc.. Basically Ints are used to store numeric values.  (NOTE: You can't store decimal Values inside of INTS)
    • String: Strings are used for Alphabetical letters etc, EG: String myString = "This is a String";, You can also store numeric values inside of strings but is highly cringed apon since theres INT to do that.
    • Float: Floats are decimal values, Basically stores numeric values but they can be Decimal.
    • Double: Doubles aren't really used as much these days although they are basically the same as floats
    • Long: Longs are like ints but can hold a higher value.. its some ridicilous amount like 1123123123123123123 to 1231239128412848218 IDK.-.
    This part is hilarious.

    Looks like an ok guide for people completely new to IDEs, I guess.
    Roy132


    OfflineMinimi Guard

    • Member
    • **
    • Posts: 79
    • Thanks: +0/-0
      • View Profile
    Re: [317/PI] Server's Initial Setup Guide
    « Reply #7 on: August 21, 2016, 03:57:43 PM »
    Still waiting for future updates!
    Proud Owner Of MinimiScape!!
    Join The MinimiScape Forums Today!! (Done! Get on and sign up for a member!!)
    "I Demand A Recount!!"

     

    Copyright © 2017 MoparScape. All rights reserved.
    Powered by SMFPacks SEO Pro Mod |
    SimplePortal 2.3.5 © 2008-2012, SimplePortal