Biometrics

Biometrics related methods that are unique to the current player being used.

For your convenience you can use TBiometrics methods through the Biometrics variable.


EBiometric

EBiometric = enum(
  MULTIPLIER,
  SLEEP_H, SLEEP_M, SLEEP_S, SLEEP_LENGTH, BREAKS,
  MIN_CLICKTIME, MAX_CLICKTIME, MOUSE_SPEED, MOUSE_GRAVITY, MOUSE_WIND,
  FKEYS, ESCAPE, CHAT_KEYBOARD,
  CHOOSEOPTION,
  SPAM_CLICK,
  PATTERN,
  BANK_CONSUME,
  RATING, LIKES, DISLIKES
);

Enum that represent biometrics affected by the user user unique player seed.


TBiometrics

Record responsible for biometrics and beiometric behaviour.


TBiometrics.GetHash

function TBiometrics.GetHash(): TByteArray;

Get the current unique hash TBiometrics.Hash being used. If none is set yet one will be set. If the currently used player changed, we also reset the hash.

If there’s no players availble we will use a random hash.

Example:

WriteLn Biometrics.GetHash();

Biometrics.GetBiometric

function TBiometrics.GetBiometric(biometric: EBiometric): Integer;

Get the value that corresponds to the specified biometric. The value is between 0 and 255.

Example:

WriteLn Biometrics.GetBiometric(EBiometric.FKEYS);

Biometrics.GetProbability

function TBiometrics.GetProbability(biometric: EBiometric): Single;

Get a probability from the current hash that is represented by biometric. The probability is between 0.0 and 1.0.

Example:

WriteLn Biometrics.GetProbability(EBiometric.FKEYS);

Biometrics.Random

function TBiometrics.RandomDouble(input: Double): Double;
function TBiometrics.RandomInteger(input: Integer): Integer;

These generate a unique random number based on your input and your current Hash.

Example:

FoodAmount := Biometrics.Random(7);

Biometrics.RandomMode

function TBiometrics.RandomModeDouble(input, minimum, maximum: Double): Double;
function TBiometrics.RandomModeInteger(input, minimum, maximum: Integer): Integer; overload;

Generate a unique random number based on your input and your current Hash with a minimum minimum and maximum maximum value.

Example:

FoodAmount := Biometrics.RandomMode(7, 3, 15);

Biometrics.RandomBoolean

function TBiometrics.RandomBoolean(): Boolean;
function TBiometrics.RandomBoolean(behaviour: EBiometric): Boolean; overload;
function TBiometrics.RandomBoolean(probability: Double): Boolean; overload;

Returns a random boolean that is influenced by the current TBiometrics.Hash.

Example:

UseBankEarly := Biometrics.RandomBoolean();
WriteLn UseBankEarly;

Biometrics.GetSleepHour

function TBiometrics.GetSleepHour(): String;

Gives you a unique sleep hour for the current player being used that can be anywhere from 23:00:00 to 04:00:00.

Example:

WriteLn Biometrics.SetSleepHour();

Biometrics.GetSleepLength

function TBiometrics.GetSleepLength(): Single;

Gives you a unique sleep length for the current player being used that can be anywhere from 6 to 10 hours.

Example:

WriteLn Biometrics.GetSleepLength();

Biometrics.Sleep

procedure TBiometrics.Sleep(time: UInt32);
procedure TBiometrics.Sleep(minimum, maximum: UInt32; weight: ERandomDir = ERandomDir.MEAN); overload;

Halts the script for time milliseconds influenced by your current player.

Example:

Biometrics.Sleep(3000);

Biometrics.Click

procedure TBiometrics.Click(button: EMouseButton; clicks: UInt32 = 3);

Clicks with button and has a chance to spam click up to clicks times which by default is 3. While spam clicking there’s a chance to wiggle the mouse a little bit.

Example:

Biometrics.Click(EMouseButton.LEFT);

Biometrics variable

Global TBiometrics variable.