I'm not sure if this'd be the same case for the source you're using but, here's how you could make a double drop weekend.
In settings, find
Code:
public static final int DROP_RATE = 1;
and add under it,
Code:
public static final int DOUBLE_DROP_RATE = 2;
Now make this file:
Code:
package com.rs.game.player.content.custom;
import java.util.Calendar;
public class DoubleDropManager {
public static int dayOfWeek() {
Calendar cal = Calendar.getInstance();
return cal.get(Calendar.DAY_OF_WEEK);
}
public static boolean isWeekend() {
return dayOfWeek() == 1 ? true:
dayOfWeek() == 6 ? true:
dayOfWeek() == 7 ? true: false;
}
}
Now go to your NPC file and make this function:
Code:
public int getDropRate() {
if (DoubleDropManager.isWeekend() == true) {
return Settings.DOUBLE_DROP_RATE;
} else {
return Settings.DROP_RATE;
}
}
Find all of your "Settings.DROP_RATE" (also some things that say '* 1')in your NPC file and replace it with "getDropRate()"