Thread: Unacceptable
View Single Post
Lt. Commander
Join Date: Dec 2007
Posts: 120
# 4
01-31-2010, 04:27 PM
Kicked out while loading? You got lucky bro. I got kicked out just doing a mission! I wasn't "Loading........." at all!

So here is how their new load-balancing code works now.

int serverCapacity = 50;

do while(serverLoad > serverCapacity) {
if (serverLoad > serverCapacity) {
String anySubscriber = findRandomPlayer();
kickRandomPlayer(anySubscriber);
sendToQueue(anySubscriber);
}
}

private String findRandomPlayer() {
return anyMoronYouCanFindPlaying();
}

private void sendToQueue(String theMoron) {
setQueueLength(1253938);
addToQueue(theMoron);
setNewQueuePosition(1253939);
queue.refresh();
}