Resume auto play upon enter game configuration.
This commit is contained in:
parent
cab91dfa54
commit
01bd285cec
@ -671,6 +671,10 @@ EnableAutoSkill = True
|
|||||||
# Default: True
|
# Default: True
|
||||||
EnableAutoItem = True
|
EnableAutoItem = True
|
||||||
|
|
||||||
|
# Resume auto play upon enter game.
|
||||||
|
# Retail: False
|
||||||
|
ResumeAutoPlay = False
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# Developer Settings
|
# Developer Settings
|
||||||
|
@ -587,6 +587,7 @@ public class Config
|
|||||||
public static boolean ENABLE_AUTO_POTION;
|
public static boolean ENABLE_AUTO_POTION;
|
||||||
public static boolean ENABLE_AUTO_SKILL;
|
public static boolean ENABLE_AUTO_SKILL;
|
||||||
public static boolean ENABLE_AUTO_ITEM;
|
public static boolean ENABLE_AUTO_ITEM;
|
||||||
|
public static boolean RESUME_AUTO_PLAY;
|
||||||
|
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
// FloodProtector Settings
|
// FloodProtector Settings
|
||||||
@ -2166,6 +2167,7 @@ public class Config
|
|||||||
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", true);
|
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", true);
|
||||||
ENABLE_AUTO_SKILL = General.getBoolean("EnableAutoSkill", true);
|
ENABLE_AUTO_SKILL = General.getBoolean("EnableAutoSkill", true);
|
||||||
ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
|
ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
|
||||||
|
RESUME_AUTO_PLAY = General.getBoolean("ResumeAutoPlay", false);
|
||||||
|
|
||||||
// Load FloodProtector config file
|
// Load FloodProtector config file
|
||||||
final PropertiesParser FloodProtectors = new PropertiesParser(FLOOD_PROTECTOR_CONFIG_FILE);
|
final PropertiesParser FloodProtectors = new PropertiesParser(FLOOD_PROTECTOR_CONFIG_FILE);
|
||||||
|
@ -14323,7 +14323,7 @@ public class PlayerInstance extends Playable
|
|||||||
}
|
}
|
||||||
|
|
||||||
final int options = settings.get(0);
|
final int options = settings.get(0);
|
||||||
final boolean active = settings.get(1) == 1;
|
final boolean active = Config.RESUME_AUTO_PLAY ? settings.get(1) == 1 : false;
|
||||||
final boolean pickUp = settings.get(2) == 1;
|
final boolean pickUp = settings.get(2) == 1;
|
||||||
final int nextTargetMode = settings.get(3);
|
final int nextTargetMode = settings.get(3);
|
||||||
final boolean longRange = settings.get(4) == 1;
|
final boolean longRange = settings.get(4) == 1;
|
||||||
|
@ -666,6 +666,10 @@ EnableAutoSkill = True
|
|||||||
# Default: True
|
# Default: True
|
||||||
EnableAutoItem = True
|
EnableAutoItem = True
|
||||||
|
|
||||||
|
# Resume auto play upon enter game.
|
||||||
|
# Retail: False
|
||||||
|
ResumeAutoPlay = False
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# Developer Settings
|
# Developer Settings
|
||||||
|
@ -585,6 +585,7 @@ public class Config
|
|||||||
public static boolean ENABLE_AUTO_POTION;
|
public static boolean ENABLE_AUTO_POTION;
|
||||||
public static boolean ENABLE_AUTO_SKILL;
|
public static boolean ENABLE_AUTO_SKILL;
|
||||||
public static boolean ENABLE_AUTO_ITEM;
|
public static boolean ENABLE_AUTO_ITEM;
|
||||||
|
public static boolean RESUME_AUTO_PLAY;
|
||||||
|
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
// FloodProtector Settings
|
// FloodProtector Settings
|
||||||
@ -2162,6 +2163,7 @@ public class Config
|
|||||||
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", true);
|
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", true);
|
||||||
ENABLE_AUTO_SKILL = General.getBoolean("EnableAutoSkill", true);
|
ENABLE_AUTO_SKILL = General.getBoolean("EnableAutoSkill", true);
|
||||||
ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
|
ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
|
||||||
|
RESUME_AUTO_PLAY = General.getBoolean("ResumeAutoPlay", false);
|
||||||
|
|
||||||
// Load FloodProtector config file
|
// Load FloodProtector config file
|
||||||
final PropertiesParser FloodProtectors = new PropertiesParser(FLOOD_PROTECTOR_CONFIG_FILE);
|
final PropertiesParser FloodProtectors = new PropertiesParser(FLOOD_PROTECTOR_CONFIG_FILE);
|
||||||
|
@ -14393,7 +14393,7 @@ public class PlayerInstance extends Playable
|
|||||||
}
|
}
|
||||||
|
|
||||||
final int options = settings.get(0);
|
final int options = settings.get(0);
|
||||||
final boolean active = settings.get(1) == 1;
|
final boolean active = Config.RESUME_AUTO_PLAY ? settings.get(1) == 1 : false;
|
||||||
final boolean pickUp = settings.get(2) == 1;
|
final boolean pickUp = settings.get(2) == 1;
|
||||||
final int nextTargetMode = settings.get(3);
|
final int nextTargetMode = settings.get(3);
|
||||||
final boolean longRange = settings.get(4) == 1;
|
final boolean longRange = settings.get(4) == 1;
|
||||||
|
@ -666,6 +666,10 @@ EnableAutoSkill = True
|
|||||||
# Default: True
|
# Default: True
|
||||||
EnableAutoItem = True
|
EnableAutoItem = True
|
||||||
|
|
||||||
|
# Resume auto play upon enter game.
|
||||||
|
# Retail: False
|
||||||
|
ResumeAutoPlay = False
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# Developer Settings
|
# Developer Settings
|
||||||
|
@ -585,6 +585,7 @@ public class Config
|
|||||||
public static boolean ENABLE_AUTO_POTION;
|
public static boolean ENABLE_AUTO_POTION;
|
||||||
public static boolean ENABLE_AUTO_SKILL;
|
public static boolean ENABLE_AUTO_SKILL;
|
||||||
public static boolean ENABLE_AUTO_ITEM;
|
public static boolean ENABLE_AUTO_ITEM;
|
||||||
|
public static boolean RESUME_AUTO_PLAY;
|
||||||
|
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
// FloodProtector Settings
|
// FloodProtector Settings
|
||||||
@ -2162,6 +2163,7 @@ public class Config
|
|||||||
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", true);
|
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", true);
|
||||||
ENABLE_AUTO_SKILL = General.getBoolean("EnableAutoSkill", true);
|
ENABLE_AUTO_SKILL = General.getBoolean("EnableAutoSkill", true);
|
||||||
ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
|
ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
|
||||||
|
RESUME_AUTO_PLAY = General.getBoolean("ResumeAutoPlay", false);
|
||||||
|
|
||||||
// Load FloodProtector config file
|
// Load FloodProtector config file
|
||||||
final PropertiesParser FloodProtectors = new PropertiesParser(FLOOD_PROTECTOR_CONFIG_FILE);
|
final PropertiesParser FloodProtectors = new PropertiesParser(FLOOD_PROTECTOR_CONFIG_FILE);
|
||||||
|
@ -14430,7 +14430,7 @@ public class PlayerInstance extends Playable
|
|||||||
}
|
}
|
||||||
|
|
||||||
final int options = settings.get(0);
|
final int options = settings.get(0);
|
||||||
final boolean active = settings.get(1) == 1;
|
final boolean active = Config.RESUME_AUTO_PLAY ? settings.get(1) == 1 : false;
|
||||||
final boolean pickUp = settings.get(2) == 1;
|
final boolean pickUp = settings.get(2) == 1;
|
||||||
final int nextTargetMode = settings.get(3);
|
final int nextTargetMode = settings.get(3);
|
||||||
final boolean longRange = settings.get(4) == 1;
|
final boolean longRange = settings.get(4) == 1;
|
||||||
|
@ -666,6 +666,10 @@ EnableAutoSkill = True
|
|||||||
# Default: True
|
# Default: True
|
||||||
EnableAutoItem = True
|
EnableAutoItem = True
|
||||||
|
|
||||||
|
# Resume auto play upon enter game.
|
||||||
|
# Retail: False
|
||||||
|
ResumeAutoPlay = False
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# Developer Settings
|
# Developer Settings
|
||||||
|
@ -610,6 +610,7 @@ public class Config
|
|||||||
public static boolean ENABLE_AUTO_POTION;
|
public static boolean ENABLE_AUTO_POTION;
|
||||||
public static boolean ENABLE_AUTO_SKILL;
|
public static boolean ENABLE_AUTO_SKILL;
|
||||||
public static boolean ENABLE_AUTO_ITEM;
|
public static boolean ENABLE_AUTO_ITEM;
|
||||||
|
public static boolean RESUME_AUTO_PLAY;
|
||||||
|
|
||||||
// --------------------------------------------------
|
// --------------------------------------------------
|
||||||
// FloodProtector Settings
|
// FloodProtector Settings
|
||||||
@ -2078,6 +2079,7 @@ public class Config
|
|||||||
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", true);
|
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", true);
|
||||||
ENABLE_AUTO_SKILL = General.getBoolean("EnableAutoSkill", true);
|
ENABLE_AUTO_SKILL = General.getBoolean("EnableAutoSkill", true);
|
||||||
ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
|
ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
|
||||||
|
RESUME_AUTO_PLAY = General.getBoolean("ResumeAutoPlay", false);
|
||||||
|
|
||||||
// Load FloodProtector config file
|
// Load FloodProtector config file
|
||||||
final PropertiesParser FloodProtectors = new PropertiesParser(FLOOD_PROTECTOR_CONFIG_FILE);
|
final PropertiesParser FloodProtectors = new PropertiesParser(FLOOD_PROTECTOR_CONFIG_FILE);
|
||||||
|
@ -14303,7 +14303,7 @@ public class PlayerInstance extends Playable
|
|||||||
}
|
}
|
||||||
|
|
||||||
final int options = settings.get(0);
|
final int options = settings.get(0);
|
||||||
final boolean active = settings.get(1) == 1;
|
final boolean active = Config.RESUME_AUTO_PLAY ? settings.get(1) == 1 : false;
|
||||||
final boolean pickUp = settings.get(2) == 1;
|
final boolean pickUp = settings.get(2) == 1;
|
||||||
final int nextTargetMode = settings.get(3);
|
final int nextTargetMode = settings.get(3);
|
||||||
final boolean longRange = settings.get(4) == 1;
|
final boolean longRange = settings.get(4) == 1;
|
||||||
|
@ -666,6 +666,10 @@ EnableAutoSkill = True
|
|||||||
# Default: True
|
# Default: True
|
||||||
EnableAutoItem = True
|
EnableAutoItem = True
|
||||||
|
|
||||||
|
# Resume auto play upon enter game.
|
||||||
|
# Retail: False
|
||||||
|
ResumeAutoPlay = False
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# Developer Settings
|
# Developer Settings
|
||||||
|
@ -610,6 +610,7 @@ public class Config
|
|||||||
public static boolean ENABLE_AUTO_POTION;
|
public static boolean ENABLE_AUTO_POTION;
|
||||||
public static boolean ENABLE_AUTO_SKILL;
|
public static boolean ENABLE_AUTO_SKILL;
|
||||||
public static boolean ENABLE_AUTO_ITEM;
|
public static boolean ENABLE_AUTO_ITEM;
|
||||||
|
public static boolean RESUME_AUTO_PLAY;
|
||||||
public static int SHARING_LOCATION_COST;
|
public static int SHARING_LOCATION_COST;
|
||||||
public static int TELEPORT_SHARE_LOCATION_COST;
|
public static int TELEPORT_SHARE_LOCATION_COST;
|
||||||
|
|
||||||
@ -2108,8 +2109,7 @@ public class Config
|
|||||||
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", true);
|
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", true);
|
||||||
ENABLE_AUTO_SKILL = General.getBoolean("EnableAutoSkill", true);
|
ENABLE_AUTO_SKILL = General.getBoolean("EnableAutoSkill", true);
|
||||||
ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
|
ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
|
||||||
|
RESUME_AUTO_PLAY = General.getBoolean("ResumeAutoPlay", false);
|
||||||
// Share Location
|
|
||||||
SHARING_LOCATION_COST = General.getInt("ShareLocationLcoinCost", 1);
|
SHARING_LOCATION_COST = General.getInt("ShareLocationLcoinCost", 1);
|
||||||
TELEPORT_SHARE_LOCATION_COST = General.getInt("ShareLocationLcoinCost", 1);
|
TELEPORT_SHARE_LOCATION_COST = General.getInt("ShareLocationLcoinCost", 1);
|
||||||
|
|
||||||
|
@ -14563,7 +14563,7 @@ public class PlayerInstance extends Playable
|
|||||||
}
|
}
|
||||||
|
|
||||||
final int options = settings.get(0);
|
final int options = settings.get(0);
|
||||||
final boolean active = settings.get(1) == 1;
|
final boolean active = Config.RESUME_AUTO_PLAY ? settings.get(1) == 1 : false;
|
||||||
final boolean pickUp = settings.get(2) == 1;
|
final boolean pickUp = settings.get(2) == 1;
|
||||||
final int nextTargetMode = settings.get(3);
|
final int nextTargetMode = settings.get(3);
|
||||||
final boolean longRange = settings.get(4) == 1;
|
final boolean longRange = settings.get(4) == 1;
|
||||||
|
@ -666,6 +666,10 @@ EnableAutoSkill = True
|
|||||||
# Default: True
|
# Default: True
|
||||||
EnableAutoItem = True
|
EnableAutoItem = True
|
||||||
|
|
||||||
|
# Resume auto play upon enter game.
|
||||||
|
# Retail: False
|
||||||
|
ResumeAutoPlay = False
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# Purge Settings
|
# Purge Settings
|
||||||
|
@ -610,6 +610,7 @@ public class Config
|
|||||||
public static boolean ENABLE_AUTO_POTION;
|
public static boolean ENABLE_AUTO_POTION;
|
||||||
public static boolean ENABLE_AUTO_SKILL;
|
public static boolean ENABLE_AUTO_SKILL;
|
||||||
public static boolean ENABLE_AUTO_ITEM;
|
public static boolean ENABLE_AUTO_ITEM;
|
||||||
|
public static boolean RESUME_AUTO_PLAY;
|
||||||
public static int SHARING_LOCATION_COST;
|
public static int SHARING_LOCATION_COST;
|
||||||
public static int TELEPORT_SHARE_LOCATION_COST;
|
public static int TELEPORT_SHARE_LOCATION_COST;
|
||||||
|
|
||||||
@ -2111,6 +2112,7 @@ public class Config
|
|||||||
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", true);
|
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", true);
|
||||||
ENABLE_AUTO_SKILL = General.getBoolean("EnableAutoSkill", true);
|
ENABLE_AUTO_SKILL = General.getBoolean("EnableAutoSkill", true);
|
||||||
ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
|
ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
|
||||||
|
RESUME_AUTO_PLAY = General.getBoolean("ResumeAutoPlay", false);
|
||||||
SUBJUGATION_TOPIC_BODY = General.getString("SubjugationTopicBody", "Reward for being in the top of the best players in clearing the lands of Aden");
|
SUBJUGATION_TOPIC_BODY = General.getString("SubjugationTopicBody", "Reward for being in the top of the best players in clearing the lands of Aden");
|
||||||
SUBJUGATION_TOPIC_HEADER = General.getString("SubjugationTopicHeader", "Purge reward");
|
SUBJUGATION_TOPIC_HEADER = General.getString("SubjugationTopicHeader", "Purge reward");
|
||||||
SHARING_LOCATION_COST = General.getInt("ShareLocationLcoinCost", 1);
|
SHARING_LOCATION_COST = General.getInt("ShareLocationLcoinCost", 1);
|
||||||
|
@ -14640,7 +14640,7 @@ public class PlayerInstance extends Playable
|
|||||||
}
|
}
|
||||||
|
|
||||||
final int options = settings.get(0);
|
final int options = settings.get(0);
|
||||||
final boolean active = settings.get(1) == 1;
|
final boolean active = Config.RESUME_AUTO_PLAY ? settings.get(1) == 1 : false;
|
||||||
final boolean pickUp = settings.get(2) == 1;
|
final boolean pickUp = settings.get(2) == 1;
|
||||||
final int nextTargetMode = settings.get(3);
|
final int nextTargetMode = settings.get(3);
|
||||||
final boolean longRange = settings.get(4) == 1;
|
final boolean longRange = settings.get(4) == 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user