forked from 2009Scape/Server
Latest compile+new IP+5x exp rate
This commit is contained in:
parent
c919bff8a0
commit
57eab19ba8
8 changed files with 7 additions and 6 deletions
|
|
@ -15,7 +15,7 @@ NOTICE: THIS IS THE LIVESERVER CLIENT. For development purposes, use GameLaunch.
|
|||
*/
|
||||
public class Client {
|
||||
|
||||
public static final String PUBLIC_IP_ADDRESS = "104.154.219.240";
|
||||
public static final String PUBLIC_IP_ADDRESS = "198.52.151.60";
|
||||
|
||||
/**
|
||||
* The game settings.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ final class Class157 {
|
|||
|
||||
static int anInt1996;
|
||||
private int anInt1997;
|
||||
private static RSString aClass94_1998 = RSString.createRSString("Connecting to update server");
|
||||
private static RSString aClass94_1998 = RSString.createRSString("Connecting.. This takes a LONG time.");
|
||||
private int[][] anIntArrayArray1999;
|
||||
static Class3_Sub28_Sub17_Sub1 aClass3_Sub28_Sub17_Sub1_2000;
|
||||
private int anInt2001;
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -259,8 +259,10 @@ public final class Skills {
|
|||
* @return The experience mod.
|
||||
*/
|
||||
private double getExperienceMod(int slot, double experience, boolean playerMod, boolean multiplyer) {
|
||||
//This function returns 1.0;
|
||||
if (!(entity instanceof Player)) {
|
||||
//Keywords for people ctrl + Fing the project
|
||||
//xprate xp rate xp multiplier skilling rate
|
||||
return 5.0;
|
||||
/*if (!(entity instanceof Player)) {
|
||||
return 1.0;
|
||||
}
|
||||
double mod = multiplyer ? (EXPERIENCE_MULTIPLIER) : 1;
|
||||
|
|
@ -299,8 +301,7 @@ public final class Skills {
|
|||
if (mod > MAX_EXPERIENCE_MOD ) {
|
||||
return MAX_EXPERIENCE_MOD;
|
||||
}
|
||||
return 1.0;
|
||||
//return mod;
|
||||
return mod;*/
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue