totally leeched ! + if you put credits that's mean u dont have permission to post it who ever made this
|
|
Purpose: Reduce the lag on your server
Difficulty: 1
Assumed Knowledge: using ctrl+f and copy and past
Server Base: Any
Classes Modified: server.java
Procedure:
1. Open you server.java file in the source folder.
2. Press ctrl+f and search foryou should see this:playerHandler.process();
3. Replace that with this:playerHandler.process(); // updates all player related stuff
npcHandler.process();
itemHandler.process();
shopHandler.process();
ServerGUI.process();
antilag.process();
itemspawnpoints.process();
objectHandler.process();
objectHandler.firemaking_process();
if(updateCounter % 2 == 0)
{
playerHandler.process(); // updates all player related stuff
npcHandler.process();
itemHandler.process();
shopHandler.process();
antilag.process();
itemspawnpoints.process();
objectHandler.process();
objectHandler.firemaking_process();
updateCounter++;
}
And also another way to improve lagg..............
Procedure:
1. Open your playerhandler.java
2. Search for:
3. Change the 100 to any number you wantpublic static final int maxPlayers = 100;
( this changes the max number of players allowed on your server)
Creds: 100% Java
Feedback Please![]()
Last edited by Icepkz; 05-11-2007 at 10:41 AM. Reason: Adding something
totally leeched ! + if you put credits that's mean u dont have permission to post it who ever made this
lol that will lag....
because the server need to wait till they can send processes to ppl
so everything will goes at once to all ppl
and it will give lags because the client need to wait for the reaction
it won't lag, it will only make it slower for people to connect to server
once they connected it will be less lagg
hmmm,
this reduces lagg only a bit, i would say only way to improve lagg alot would be faster internet
still this works
| « Full ardougne stalls (thieving, without Handler) | Fixing Teleport » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |