Thread: Version #317 made from 'Almost scratch' Latest Update's = 21:01 11/07/10-Ground items

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 38
  1. #1 Version#317 'Almost from scratch' - Latest update 20:24 12/07/2010. 
    Registered Member Blue Market's Avatar
    Join Date
    Apr 2010
    Posts
    118
    Thanks given
    19
    Thanks received
    14
    Rep Power
    61
    Well, This server Has login only and i'm attempting to code this server and no im not an ammature i have been codeing for almost 2 year's. I started Runescape private server's at the year 2007 November.
    Then i moved to mopar.
    any way screw my life story of rsps.
    NOTE I STARTED THIS 2 WEEKS AGO I JUST DIDN'T BOTHER POSTING
    Scroll Down to see my progression

    Quote Originally Posted by Gnarly View Post

    Rules for a Good server.
    Made by Gnarly, all images used in this tutorial are protected under a Creative Commons licenses

    [Only registered and activated users can see links. ]

    Alright so, first thing's first. Creating and maintaining a respected good server! You may think it's not hard to make a server and through random crap into it and call it a server, well because it's not but see that's not a good server who want's to play a server that is just the same as the last 10 server's they played, if you know what i mean. So i'm going to go over the main thing's that will get you and your server past success.

    No one want's to play on a laggy, down-most-of-the-time server do they? No and to do this you don't need a dedicated server, nope. Just a well designed server, and a little bit of a computer. What i mean by that is, not your moms old Windows 98 beater. You going to need a somewhat decent PC. I'll make a list of the low requirements for a "decent" PC.

    • Atleast 1.50GB of RAM/Memory
    • IntelŪ PentiumŪ dual-core processor or a AMD Athlon 64 Processor
    • Some type of firewall. I would say ZoneAlarm.


    Alright now let's break down that list and explain why each one is important for running a server.

    We need a decent amount of RAM because when running a server it's using the Java Virtual Machine (JVM) and that will use a lot of your RAM, and the more the computer can process that the faster and smoother it will run the JVM for the server. Therefore RAM is greatly important.

    Having a Good processor is the most important thing you can have in hosting a server because if you have a old processor than the JVM will use all the CPU up and make your computer lag, when that happens if you try doing anything on the computer while your hosting a server, you will lag the server horribly. It's still not wise to do anything on the computer while hosting a server even if you do have a duel-core processor (a fast good processor) because it will still leave a tink of lag for the server to deal with.

    Your going to need a firewall when having a open port for the public to access, with that open port hackers can plant virus and what not so easy. So to stay safe use a firewall i would perfer ZoneAlarm.

    So, say you have this amazing fast computer right? 4GB of ram, Duel-Core processor, All that good stuff. But with bad internet connection that good computer is now trash when it come's to hosting a server. I bet you never would have thought about your internet provider having anything to do with hosting a a server, well sorry bud but it's very important.

    Q: How do i know if my internet is is good?
    A: Test your internet speed on [Only registered and activated users can see links. ]

    So now that you have tested your internet on the speedtest, it's time to tell if your results are good or bad. First we're going to take a look at the upload speed you got. If you got a upload speed around 100, sorry but it not going to do you any good in hosting a server, around 300 your going to have a stable server but it can be better, around 600 you will have a pretty fast server, anything higher than that is perfect. Okay now for download speed, with great upload comes better download, your download speed will never be lower than your upload speed. But when it comes to hosting a server download is not that important, because you're Hosting the server therefore your uploading it to the internet your not downloading it to the internet, see where i'm getting with this? So upload speed is more important with hosting a server.


    So well, you have a bandwidth on your internet and hosting a server will cause that bandwidth to be used up, and rather quickly. Although i never seen a person complain about their bandwidth be ran up from hosting a runescape private server. So i would not worry too much about this, i'm just telling you it's possible if you have a fairly large server.


    Alright you guessed it, direct connect with a ethernet cable is better than using a wireless receiver, because the signal is not always full so in random times the server will lag terribly. Pretty basic stuff, ethernet is better than wireless. If you can, use a ethernet cord. If you cannot get access to using a ethernet cord than i guess you better find a way or try to make your signal for your wireless internet secure and in range. When i say secure i mean put a WEP password on it so other people by you cannot use your internet and run up the bandwidth on your internet. When i say in range i mean, close near your computer with the wireless receiver so that you get a some-what good connection.


    Okay, now if we have a good computer and fast internet, there is still another thing that will cause lag and a unreliable server. The server's framework is a big part of hosting a reliable server. Say for example you have tons of junk being processed in the server's cycle (process boolean/void) will cause all kinds of lag. Say you have saveGame(); being called i the cycle. Are you joking me!? Go take a look at the saveGame() void and look at how huge it is, and it's being called every 500ms that's every half a second. You try to do the same thing every half a second for atleast 10 seconds. It's impossible. So you know how hard the JVM is working for that simple thing in the cycle. Keep your process clean, there are different ways than the process to do things. Try looking into Grahams event manager tutorial.

    Multi-Login
    Having a stable server is easy, block multi-login. Your like wow, thanks for telling me but HOW!? Well hold on i was getting to that, Those of you who think putting a little script in the run() void in client.java is the right way. Well sorry to burst your bubble but all that does is make it worse. Why? Because your kicking the null/SYI whatever you want to call it, so once it's kicked it can login again and you may think, "Well it can usually change it's name" true, but if it's already been logged in once it has a character file and if it logs in for a second time it will load that file and cause more lag that it would if it couldn't login again. Get what i'm saying? So the fix would be to check for multi-login before the socket for that connection is made. This would take place in the run() void in server.java. A good idea is to check for banned IP's/Names and multi-login in the run void in server.java because it's before the socket is made and it cause less lag.

    Thread-Per-Client
    In all winterlove based server's (that's 90% of all servers) there is thread-per-client and it's horrible. Let me explain what it is, thread-per-client is when every time a player connects a new thread on the JVM is made, so what if you have 200 players online at once, than you have 200 threads running. Each thread run's up ram and CPU not much but when you have a lot of them running it makes a noticeable amount. So we need to remove it. The best thing to do is limit the number of threads to run, or just flat out remove it. Graham has made a great tutorial for removing thread-per-client and it's great i personally love it.

    The economy in a server has to be the most important thing you can possibly think of. If you can train to fast or get items to easy or make money to fast/easy than your economy will soon fall and people will get board of playing your server and quit. So you need a well thought of economy, not too hard like real runescape but not easy, try to make rare items RARE, no object training because you will get massive clicking making lag and that's noob to have object training NPC training is the best way. When trying to make a good economy you need money and prices on items to buy, try to use real runescape prices but even if you do that, you need a good way for people to earn money but not to fast.

    Let's get into more detail about the training, and earning items. If you were to train fast say get a 99 skill in less than a week, it would be way to easy. Getting a 99 skill and earning a skillcape should be more rewarding and how would it be rewarding if it can be done in only 7 days? See what i mean? Now same goes for getting items, if you can make the money for a party hat in 4 days, that's extremely easy and the economy is horrible. party hats should take weeks, months to earn. The party hat is only one example this should go for all items.


    Commands should only be used for moderation and moderation only. Not for public use! When you have a command that teleports you, the new players might not know about it and people might forget about it, ect. And it makes the server too easy, they have feet they can walk. When you have a command that gives you a item, than you can just quit hosting a server, because your economy will fall don't matter what that command gives you. Because there should only be these commands in a server (only for staff);

    • ::ipban {victim}
    • ::ban {victim}
    • ::unban {victim}
    • ::mute {victim}
    • ::unmute {victim}
    • ::teleport {xcoord} {ycoord}
    • ::xteletome {victim}
    • ::xteleto {victim}
    • ::yell {message}


    Use the teleport command to teleport to a set x and y coord on the map grid.
    Use the xteletome command to teleport a person to you.
    Use the xteleto command to teleport to a person.
    Use the yell command to yell out a message to all players to announce somthing.
    The other commands are self explain.

    When i see them servers that say "First one in gets mod" i think of them as a noob server. When picking staff you need to take time on it, and chose wisely. It should take a long time for someone to earn staff, they need to show that they are trustworthy for the job and they are active to moderate the server. Never let someone be a admin unless they are part in development in the website and or server.
    Things to look for when you chose a moderator.

    • Follows all rules
    • Tells other to follow rules
    • Uses the report abuse when it's needed
    • Helps out others when they need help
    • Good grammar and english
    • Active player so they can moderate actively

    Them are the things i would look for in picking staff, and i'm sure it's what jagex would do also.

    Every server needs a website for a forum atleast and sometimes a webclient, ect. Not one of them smfforfree sites, because they are just plain out noob. I'm talking about your own domain. The main point of having a website is for forums, so the players of your server can talk about the server rant, post suggestions, show off their character, report bugs, reportplayers, complement, ect. You need to have people discuss about the server. Else you will not know what the people want or whats wrong.

    Without advertising your not going to get a big server, so that's thy you need to advertise your server all over, so than people will know about it and play it. That don't mean you should go off and spam forums and websites with your URL, because that will get you enemies and people that want to crash your server and or website. So advertise safely! Some ideas for safe advertising.

    • Post your server in all the serverstatus pages you know
    • Post your server in all the forums that allow advertising
    • Post your server on top list sites
    • Tell your players to tell their friends and their friends and so on

    Them are only the basic things, i'm sure you will think of more things that work.

    Credits: Gnarly - I spent 4 hours making this tutorial. I typed every bit of this myself if i see anyone posting this without making it clear that Gnarly made this i will do something, if you want to use this PLEASE tell me why, and where -just ask me
    Code:
    
    Frequently asked question's.
    
    
    Q1: Will this server be publicly hosted?
    Ans:No.
    
    Q2: Will this server be released openly.
    Ans:Yes.
    
    Q2: Will there be a beta run?
    Ans: Yes on the 29th of July.
    
    Q2: What base is it?
    Ans: This base was found in mopar & this has been the earlier release's of mopar i give the owner %100 credit for login.
    
    Q3: Will there be any credits?
    Ans: Ofcourse there would be credit's, i'm gratefull to the people who have helped me and their name's would be posted on the release thread of this source.
    IF THERE'S ANY QUESTION'S PLEASE FEEL FREE TO COMMENT.



    Main server Development
    *Login Features- Yeah had it with the the base.
    *Rendering added.
    *Auto 10 minute's saveing added.
    *Glitche's reduced.


    Npc's Development
    *Npc Faceing added.
    *Npc Mask's added.
    *Npc Dialouge added.


    Player Development
    *Start on player movement - Really glitched.
    *Private messaging added - (Normal/Split)
    *Public Chat added.
    *Level up interface added.
    *Level requirement's added.
    *PvP/PvN attack option added.
    *Trade system added.
    *Wilderness level interface added.
    *Safezone's added.


    Code:
    Development Logs.
    Update Saturday, July 10, 2010 12:45 pm
    Login Picture's added. 
    --------------------------------------------------------------------------------
    Update Saturday, July 10, 2010 13:03 pm.
    Rendering picture added. 
    
    --------------------------------------------------------------------------------
    
    14:53 10/07/2010 Update
    Npc dialouge added. 
    Public Chat added.
    Player movement added.
    
    --------------------------------------------------------------------------------
    
    15:04 10/07/2010 Update
    Split/Normail Private messageing added. 
    
    --------------------------------------------------------------------------------
    
    16:11 10/07/2010 Update
    Level up interface added.
    
    --------------------------------------------------------------------------------
    
    16:19 10/07/2010 Update
    Level requirement's added.
    
    --------------------------------------------------------------------------------
    
    08:53 11/07/2010 Update
    Auto 10 minute's saveing added
    
    --------------------------------------------------------------------------------
    
    12:53 11/07/2010 Update
    PvP/PvN Attack option added.
    
    --------------------------------------------------------------------------------
    
    19:34 11/07/2010 Update
    Trade system added
    
    --------------------------------------------------------------------------------
    
    21:01 11/07/2010 Update
    Ground item added.
    
    --------------------------------------------------------------------------------
    21:21 12/07/2010 Update
    Wilderness level interface added.
    Safezone's added.
    
    --------------------------------------------------------------------------------

    Picture's.










    *



    Reply With Quote  
     

  2. #2  
    Registered Member AFGscape's Avatar
    Join Date
    May 2009
    Posts
    3,556
    Thanks given
    458
    Thanks received
    636
    Rep Power
    39
    Good luck mate!
    • Old username:
    • Lost Valentino

    Reply With Quote  
     

  3. #3  
    But python...

    Join Date
    Jun 2009
    Posts
    0
    Thanks given
    262
    Thanks received
    379
    Rep Power
    0
    Good luck this is looking good.
    Reply With Quote  
     

  4. #4  
    Registered Member Blue Market's Avatar
    Join Date
    Apr 2010
    Posts
    118
    Thanks given
    19
    Thanks received
    14
    Rep Power
    61
    Thank's .
    Update Saturday, July 10, 2010 12:45 pm
    Login Picture's added.
    Reply With Quote  
     

  5. #5  




    Scu11's Avatar
    Join Date
    Aug 2007
    Age
    27
    Posts
    16,200
    Thanks given
    7,190
    Thanks received
    12,174
    Discord
    View profile
    Rep Power
    5000
    if its a 317 why are all the pics on this thread 500+

    [Only registered and activated users can see links. ]



    Reply With Quote  
     

  6. #6  
    Registered Member Blue Market's Avatar
    Join Date
    Apr 2010
    Posts
    118
    Thanks given
    19
    Thanks received
    14
    Rep Power
    61
    Quote Originally Posted by Scu11 View Post
    if its a 317 why are all the pics on this thread 500+
    That's just the icon's :L i just posted it to make it look nice .
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Jul 2008
    Posts
    3,532
    Thanks given
    188
    Thanks received
    696
    Rep Power
    0
    i cant really determine much as of now, but good luck
    Reply With Quote  
     

  8. #8  
    Registered Member Blue Market's Avatar
    Join Date
    Apr 2010
    Posts
    118
    Thanks given
    19
    Thanks received
    14
    Rep Power
    61
    Update Saturday, July 10, 2010 13:03 pm.
    Rendering picture added.
    Reply With Quote  
     

  9. #9  
    Registered Member

    Join Date
    Feb 2010
    Posts
    3,187
    Thanks given
    1,124
    Thanks received
    834
    Discord
    View profile
    Rep Power
    1514
    Looks good.
    Reply With Quote  
     

  10. #10  
    Registered Member Blue Market's Avatar
    Join Date
    Apr 2010
    Posts
    118
    Thanks given
    19
    Thanks received
    14
    Rep Power
    61
    14:53 10/07/2010 Update
    Npc dialouge added.

    15:04 10/07/2010 Update
    Split/Normal Private messageing added.

    16:11 10/07/2010 Update
    Level up interface added.

    16:19 10/07/2010 Update
    Level requirement's added.
    Reply With Quote  
     

Page 1 of 4 123 ... LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •