Uhm thanks,
Even though I taught you how to do this =P!
|
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:
Comment that outCode:public void extraAutoSave() { MYSQL.createConnection(); }
Your code will look like this:
EDIT A SLIGHT MISCONCEPTION WHEN I SEARCHED THROUGH THE CODE AGAIN, SO FUCK OFF, thanks!Code:/*public void extraAutoSave() { MYSQL.createConnection(); }*/
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:
Comment that outCode:player.extraAutoSave();
your code will look like this!
Your doneCode://player.extraAutoSave();
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!
Uhm thanks,
Even though I taught you how to do this =P!
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.
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
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |