Thread: CloudIn 562 Lag fix

Page 1 of 3 123 LastLast
Results 1 to 10 of 27
  1. #1 CloudIn 562 Lag fix 
    MEIN FUHRER!

    Furor's Avatar
    Join Date
    Nov 2011
    Posts
    473
    Thanks given
    108
    Thanks received
    73
    Rep Power
    450
    I was taught this by another user over skype.
    Decided to show to you all.
    Credits to Keat.

    This will literally get rid of all lag in the cloudin 562 source
    Normally you get spammed an MySQL error message which results in tons of lag.

    Codes:

    Navigate over to Player.java
    Open it
    Find code:
    Code:
    public void extraAutoSave() {
    		MYSQL.createConnection();
    	}
    Comment that out

    Your code will look like this:

    Code:
    /*public void extraAutoSave() {
    		MYSQL.createConnection();
    	}*/
    EDIT A SLIGHT MISCONCEPTION WHEN I SEARCHED THROUGH THE CODE AGAIN, SO FUCK OFF, thanks!
    I was using normal notepad so I hadn't noticed the comment out and I thought I hadn't commented it out but I did.

    Next go on over to AutoSaveEvent.java
    Find the line:
    Code:
    player.extraAutoSave();
    Comment that out
    your code will look like this!
    Code:
    //player.extraAutoSave();
    Your done
    This is unneeded because you don't need extra saves

    First tutorial
    Any more questions ask below.

    Are you retarted why would a method be used and cause problems if theres nothing to create it?




    ^ ^ ^ ^ Proof!


    Reply With Quote  
     

  2. #2  
    IGFXS!
    Join Date
    Apr 2011
    Posts
    403
    Thanks given
    82
    Thanks received
    34
    Rep Power
    22
    Uhm thanks,
    Even though I taught you how to do this =P!
    I specialize in logos, send me a PM if you would like to give your company a more professional feel.
    Reply With Quote  
     

  3. #3  
    MEIN FUHRER!

    Furor's Avatar
    Join Date
    Nov 2011
    Posts
    473
    Thanks given
    108
    Thanks received
    73
    Rep Power
    450
    Quote Originally Posted by Keat View Post
    Uhm thanks,
    Even though I taught you how to do this =P!
    Shhhh



    Reply With Quote  
     

  4. #4  
    Christ is King

    Makar's Avatar
    Join Date
    Jul 2011
    Age
    29
    Posts
    2,004
    Thanks given
    545
    Thanks received
    965
    Rep Power
    427
    Quote Originally Posted by Keat View Post
    Uhm thanks,
    Even though I taught you how to do this =P!
    Dude. You must have taught him to not do anything at all considering that commenting this out does absolutely nothing lol. That code was not being used anywhere else and therefore was not causing any lag.
    Attached image
    The best open-source pre-eoc remake project that isn't in its early stages for once
    Darkan Client (727 Client Refactor)
    Darkan World Server
    “It would not be impossible to prove with sufficient repetition and a psychological understanding of the people concerned that a square is in fact a circle. They are mere words, and words can be molded until they clothe ideas and disguise.”
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Jun 2009
    Posts
    1,076
    Thanks given
    308
    Thanks received
    389
    Rep Power
    341
    No.. I'm sure there was a purpose for the extra saving.

    The problem is, you should not be creating a new connection every save.
    Reply With Quote  
     

  6. Thankful user:


  7. #6  
    MEIN FUHRER!

    Furor's Avatar
    Join Date
    Nov 2011
    Posts
    473
    Thanks given
    108
    Thanks received
    73
    Rep Power
    450
    Quote Originally Posted by TitanPK View Post
    Dude. You must have taught him to not do anything at all considering that commenting this out does absolutely nothing lol. That code was not being used anywhere else and therefore was not causing any lag.
    About every 10ms it was attempting to do this so...
    Major lag
    Please think about what you say before you comment.
    What the fuck, doesn't matter if it wasn't being used anywhere still spammed errors @ server.


    Reply With Quote  
     

  8. #7  
    IGFXS!
    Join Date
    Apr 2011
    Posts
    403
    Thanks given
    82
    Thanks received
    34
    Rep Power
    22
    Quote Originally Posted by TitanPK View Post
    Dude. You must have taught him to not do anything at all considering that commenting this out does absolutely nothing lol. That code was not being used anywhere else and therefore was not causing any lag.
    You're cool.
    I was obviously being sarcastic, but thank you!
    All I know is that as soon as I removed it, the lag stopped, weiiird. O:
    I specialize in logos, send me a PM if you would like to give your company a more professional feel.
    Reply With Quote  
     

  9. #8  
    Christ is King

    Makar's Avatar
    Join Date
    Jul 2011
    Age
    29
    Posts
    2,004
    Thanks given
    545
    Thanks received
    965
    Rep Power
    427
    Quote Originally Posted by Keat View Post
    You're cool.
    I was obviously being sarcastic, but thank you!
    All I know is that as soon as I removed it, the lag stopped, weiiird. O:
    Restarting my computer makes my server lag less. WHY IS THAT? Should I post a tutorial for it?
    Attached image
    The best open-source pre-eoc remake project that isn't in its early stages for once
    Darkan Client (727 Client Refactor)
    Darkan World Server
    “It would not be impossible to prove with sufficient repetition and a psychological understanding of the people concerned that a square is in fact a circle. They are mere words, and words can be molded until they clothe ideas and disguise.”
    Reply With Quote  
     

  10. #9  
    IGFXS!
    Join Date
    Apr 2011
    Posts
    403
    Thanks given
    82
    Thanks received
    34
    Rep Power
    22
    Quote Originally Posted by TitanPK View Post
    Restarting my computer makes my server lag less. WHY IS THAT? Should I post a tutorial for it?

    OMG that's an interesting find, yes please, post a tutorial.
    I specialize in logos, send me a PM if you would like to give your company a more professional feel.
    Reply With Quote  
     

  11. #10  
    Registered Member

    Join Date
    Feb 2010
    Posts
    715
    Thanks given
    133
    Thanks received
    378
    Rep Power
    550
    if removing the method doesn't cause any compile errors then it obviously isn't even being used and won't fix any lag lol
    Reply With Quote  
     

  12. Thankful users:


Page 1 of 3 123 LastLast

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. CloudIn 562/657
    By Keiron' in forum Downloads
    Replies: 101
    Last Post: 06-20-2013, 12:53 AM
  2. [cloudIn 562]Server errors
    By Furor in forum Help
    Replies: 2
    Last Post: 10-08-2012, 07:47 PM
  3. CloudIn 562 Loading 602
    By KillerR in forum Advertise
    Replies: 7
    Last Post: 04-07-2012, 07:00 PM
  4. [562/659] CloudIn -
    By Idk How To Code in forum Help
    Replies: 3
    Last Post: 01-07-2012, 11:32 PM
  5. Replies: 52
    Last Post: 08-21-2011, 11:53 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •