Thread: would this make a server more stable?

Results 1 to 4 of 4
  1. #1 would this make a server more stable? 
    Registered Member g s t a r's Avatar
    Join Date
    May 2011
    Posts
    84
    Thanks given
    7
    Thanks received
    4
    Rep Power
    1
    well basically i got a bunch of ints just like this
    Code:
    	public int dungLevel = 0;
    	public int Hastarter = 0;
    	public int DCdown = 0, 	trade11;
    	public int FishID;
    	public int Arma, Zammy, Sara;
    	public int Dung;
    	public int playerDeaths = 0;
    	public int Playerdeaths = 0;
    	public int playerKills = 0;
    	public int pkpPoints = 0;
    	public int Playerkills;
    	public int totalLevel, xpTotal;
    	public int Band;
    	public long diceDelay;
    	public long flowerDelay;
    and i was wondering if making them all in one would make a difference to the server
    Code:
    	public int npcSoaked = 0,
    			   npcSoaked2 = 0,
    			   soaked = 0,
    			   soaked2 = 0,
    			   colorHitMask = 1,
    			   typeOfDamageMask = 1,
    			   colorHitMask2 = 1,
    			   typeOfDamageMask2 = 1;

    Good old days glitching soulsplit
    http://www.youtube.com/watch?v=IqhLOoyBszY



    Haa new background
    -removed
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Oct 2011
    Age
    28
    Posts
    1,880
    Thanks given
    311
    Thanks received
    557
    Rep Power
    703
    Grouping data together like that is only useful in a convention sense, as you can see the ints that are being declared together have a similar purpose/usage. You wouldn't want to have something like this:
    Code:
    public int pkPoints, armadylKillcount, fletchingLevel
    As far as making a server more stable, no, it really wouldn't. It's just declaring variables.


    (Not sure if this is what you were asking).
    Reply With Quote  
     

  3. #3  
    Motivation is your best friend
    geordie's Avatar
    Join Date
    Nov 2008
    Posts
    750
    Thanks given
    3
    Thanks received
    19
    Rep Power
    0
    Yeah looks tidy and decent
    Reply With Quote  
     

  4. #4  
    Registered Member g s t a r's Avatar
    Join Date
    May 2011
    Posts
    84
    Thanks given
    7
    Thanks received
    4
    Rep Power
    1
    Quote Originally Posted by Revival View Post
    Grouping data together like that is only useful in a convention sense, as you can see the ints that are being declared together have a similar purpose/usage. You wouldn't want to have something like this:
    Code:
    public int pkPoints, armadylKillcount, fletchingLevel
    As far as making a server more stable, no, it really wouldn't. It's just declaring variables.


    (Not sure if this is what you were asking).
    thanks

    Good old days glitching soulsplit
    http://www.youtube.com/watch?v=IqhLOoyBszY



    Haa new background
    -removed
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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


User Tag List

Similar Threads

  1. How to make a server more 'stable'
    By Jamili in forum Help
    Replies: 1
    Last Post: 03-06-2011, 07:05 PM
  2. Replies: 4
    Last Post: 03-04-2011, 09:20 AM
  3. How to make a 508 server stable.
    By Stability in forum Help
    Replies: 7
    Last Post: 11-02-2010, 10:28 PM
  4. How do jagex make there server SO STABLE?
    By Snow Cat123 in forum Help
    Replies: 102
    Last Post: 06-26-2010, 10:26 PM
  5. how to make 508 server more stable?
    By Ninja assassin in forum Help
    Replies: 4
    Last Post: 04-29-2009, 10:16 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •