Resume auto play upon enter game configuration.
This commit is contained in:
@@ -666,6 +666,10 @@ EnableAutoSkill = True
|
||||
# Default: True
|
||||
EnableAutoItem = True
|
||||
|
||||
# Resume auto play upon enter game.
|
||||
# Retail: False
|
||||
ResumeAutoPlay = False
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Developer Settings
|
||||
|
@@ -585,6 +585,7 @@ public class Config
|
||||
public static boolean ENABLE_AUTO_POTION;
|
||||
public static boolean ENABLE_AUTO_SKILL;
|
||||
public static boolean ENABLE_AUTO_ITEM;
|
||||
public static boolean RESUME_AUTO_PLAY;
|
||||
|
||||
// --------------------------------------------------
|
||||
// FloodProtector Settings
|
||||
@@ -2162,6 +2163,7 @@ public class Config
|
||||
ENABLE_AUTO_POTION = General.getBoolean("EnableAutoPotion", true);
|
||||
ENABLE_AUTO_SKILL = General.getBoolean("EnableAutoSkill", true);
|
||||
ENABLE_AUTO_ITEM = General.getBoolean("EnableAutoItem", true);
|
||||
RESUME_AUTO_PLAY = General.getBoolean("ResumeAutoPlay", false);
|
||||
|
||||
// Load FloodProtector 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 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 int nextTargetMode = settings.get(3);
|
||||
final boolean longRange = settings.get(4) == 1;
|
||||
|
Reference in New Issue
Block a user