feat: Random walking around in spoofed location (#805)
Co-authored-by: w451 <cheb> Co-authored-by: auth <64337177+authorisation@users.noreply.github.com>
This commit is contained in:
@@ -636,6 +636,10 @@
|
||||
"name": "Coordinates",
|
||||
"description": "Set the coordinates of the spoofed location"
|
||||
},
|
||||
"walk_radius": {
|
||||
"name": "Walk Radius",
|
||||
"description": "Randomly walk around within this radius (ft)"
|
||||
},
|
||||
"always_update_location": {
|
||||
"name": "Always Update Location",
|
||||
"description": "Force Snapchat to update location even if no GPS data is received"
|
||||
|
||||
@@ -21,6 +21,7 @@ class Global : ConfigContainer() {
|
||||
inner class BetterLocation : ConfigContainer(hasGlobalState = true) {
|
||||
val spoofLocation = boolean("spoof_location") { requireRestart() }
|
||||
val coordinates = mapCoordinates("coordinates", 0.0 to 0.0) // lat, long
|
||||
val walkRadius = string("walk_radius") { requireRestart(); inputCheck = { it.toDoubleOrNull()?.isFinite() == true && it.toDouble() >= 0.0 } }
|
||||
val alwaysUpdateLocation = boolean("always_update_location") { requireRestart() }
|
||||
val suspendLocationUpdates = boolean("suspend_location_updates") { requireRestart() }
|
||||
val spoofBatteryLevel = string("spoof_battery_level") { requireRestart(); inputCheck = { it.isEmpty() || it.toIntOrNull() in 0..100 } }
|
||||
|
||||
Reference in New Issue
Block a user