Skip to content

Commit 37a323c

Browse files
committed
feat: ItemData
1 parent 44a118a commit 37a323c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+4211
-681
lines changed

docs/images/equipment.png

44.7 KB
Loading

docs/images/gametabs_compact.png

14.9 KB
Loading

docs/images/gametabs_flat.png

13.5 KB
Loading

docs/images/gametabs_selected.png

15 KB
Loading

docs/images/hitsplats.png

3.87 KB
Loading

docs/images/inventory.png

77.5 KB
Loading

osrs/antiban/antiban.simba

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(*
2-
## Antiban
2+
# Antiban
33
Methods to handle antiban.
44
*)
55

@@ -41,6 +41,10 @@ type
4141
Next: Double;
4242
end;
4343

44+
(*
45+
## TAntiban
46+
Main record to handle the built-in SRLT antiban.
47+
*)
4448
TAntiban = record
4549
DoingAntiban: Boolean;
4650
Debugging: Boolean;
@@ -92,7 +96,7 @@ end;
9296

9397

9498
(*
95-
### Antiban.AddTask
99+
## Antiban.AddTask
96100
```pascal
97101
procedure TAntiban.AddTask(interval: Double; method: TAntibanMethod; randomness: Double = 0.2);
98102
```
@@ -126,7 +130,7 @@ begin
126130
end;
127131

128132
(*
129-
### Antiban.AddBreak
133+
## Antiban.AddBreak
130134
```pascal
131135
procedure TAntiban.AddBreak(interval, length: Double; randomness: Double = 0.2; logoutChance: Double = 0.33);
132136
```
@@ -158,7 +162,7 @@ begin
158162
end;
159163

160164
(*
161-
### Antiban.AddSleep
165+
## Antiban.AddSleep
162166
```pascal
163167
procedure TAntiban.AddSleep(time: String; length: Double; randomness: Double = 0.10; logoutChance: Double = 0.5);
164168
```
@@ -197,7 +201,7 @@ end;
197201

198202

199203
(*
200-
### Antiban.TakeSleep
204+
## Antiban.TakeSleep
201205
```pascal
202206
procedure TAntiban.TakeSleep(var task: TSleepTask);
203207
```
@@ -260,7 +264,7 @@ begin
260264
end;
261265

262266
(*
263-
### Antiban.TakeBreak
267+
## Antiban.TakeBreak
264268
```pascal
265269
procedure TAntiban.TakeBreak(var task: TBreakTask);
266270
```
@@ -322,7 +326,7 @@ end;
322326

323327

324328
(*
325-
### Antiban.DoTask
329+
## Antiban.DoTask
326330
```pascal
327331
function TAntiban.DoTask(): Boolean;
328332
```
@@ -372,7 +376,7 @@ begin
372376
end;
373377

374378
(*
375-
### Antiban.DoBreak
379+
## Antiban.DoBreak
376380
```pascal
377381
function TAntiban.DoBreak(): Boolean;
378382
```
@@ -401,7 +405,7 @@ begin
401405
end;
402406

403407
(*
404-
### Antiban.DoSleep
408+
## Antiban.DoSleep
405409
```pascal
406410
function TAntiban.DoSleep(): Boolean;
407411
```
@@ -431,7 +435,7 @@ end;
431435

432436

433437
(*
434-
### Antiban.DoAntiban
438+
## Antiban.DoAntiban
435439
```pascal
436440
function TAntiban.DoAntiban(checkTasks, checkBreaks, checkSleeps: Boolean = True): Boolean;
437441
```
@@ -467,7 +471,7 @@ end;
467471

468472

469473
(*
470-
### Antiban.TimeUntilBreak
474+
## Antiban.TimeUntilBreak
471475
```pascal
472476
function TAntiban.TimeUntilBreak(task: TBreakTask): String;
473477
```
@@ -479,7 +483,7 @@ begin
479483
end;
480484

481485
(*
482-
### Antiban.TimeUntilSleep
486+
## Antiban.TimeUntilSleep
483487
```pascal
484488
function TAntiban.TimeUntilSleep(task: TSleepTask): String;
485489
```
@@ -491,7 +495,7 @@ begin
491495
end;
492496

493497
(*
494-
### Antiban.SimulateBreaks
498+
## Antiban.SimulateBreaks
495499
```pascal
496500
procedure TAntiban.SimulateBreaks(bottingDays: UInt64 = 1000);
497501
```
@@ -535,7 +539,7 @@ end;
535539

536540
var
537541
(*
538-
### Antiban variable
542+
## Antiban variable
539543
Global {ref}`TAntiban` variable.
540544
*)
541545
Antiban: TAntiban;

osrs/antiban/antibantasks.simba

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(*
2-
## Antiban Tasks
2+
# Antiban Tasks
33
Collection of antiban tasks to be used with {ref}`TAntiban`.
44
*)
55

@@ -10,7 +10,7 @@ Collection of antiban tasks to be used with {ref}`TAntiban`.
1010

1111

1212
(*
13-
### Built in Antiban Tasks
13+
## Built in Antiban Tasks
1414
```pascal
1515
procedure TAntiban.SmallRandomMouse;
1616
procedure TAntiban.RandomMouse;

osrs/antiban/biometrics.simba

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(*
2-
## Biometrics
2+
# Biometrics
33
Biometrics related methods that are unique to the current player being used.
44

55
For your convenience you can use {ref}`TBiometrics` methods through the {ref}`Biometrics variable`.
@@ -12,7 +12,7 @@ For your convenience you can use {ref}`TBiometrics` methods through the {ref}`Bi
1212

1313
type
1414
(*
15-
### EBiometric
15+
## EBiometric
1616
```pascal
1717
EBiometric = enum(
1818
MULTIPLIER,
@@ -41,7 +41,7 @@ Enum that represent biometrics affected by the user user unique player seed.
4141
);
4242

4343
(*
44-
### TBiometrics
44+
## TBiometrics
4545
Record responsible for biometrics and beiometric behaviour.
4646
*)
4747
TBiometrics = record
@@ -50,7 +50,7 @@ Record responsible for biometrics and beiometric behaviour.
5050
end;
5151

5252
(*
53-
### TBiometrics.GetHash
53+
## TBiometrics.GetHash
5454
```pascal
5555
function TBiometrics.GetHash(): TByteArray;
5656
```
@@ -93,7 +93,7 @@ begin
9393
end;
9494

9595
(*
96-
### Biometrics.GetBiometric
96+
## Biometrics.GetBiometric
9797
```pascal
9898
function TBiometrics.GetBiometric(biometric: EBiometric): Integer;
9999
```
@@ -111,7 +111,7 @@ begin
111111
end;
112112

113113
(*
114-
### Biometrics.GetProbability
114+
## Biometrics.GetProbability
115115
```pascal
116116
function TBiometrics.GetProbability(biometric: EBiometric): Single;
117117
```
@@ -130,7 +130,7 @@ end;
130130

131131

132132
(*
133-
### Biometrics.Random
133+
## Biometrics.Random
134134
```pascal
135135
function TBiometrics.RandomDouble(input: Double): Double;
136136
function TBiometrics.RandomInteger(input: Integer): Integer;
@@ -155,7 +155,7 @@ begin
155155
end;
156156

157157
(*
158-
### Biometrics.RandomMode
158+
## Biometrics.RandomMode
159159
```pascal
160160
function TBiometrics.RandomModeDouble(input, minimum, maximum: Double): Double;
161161
function TBiometrics.RandomModeInteger(input, minimum, maximum: Integer): Integer; overload;
@@ -182,7 +182,7 @@ end;
182182

183183

184184
(*
185-
### Biometrics.RandomBoolean
185+
## Biometrics.RandomBoolean
186186
```pascal
187187
function TBiometrics.RandomBoolean(): Boolean;
188188
function TBiometrics.RandomBoolean(behaviour: EBiometric): Boolean; overload;
@@ -213,7 +213,7 @@ end;
213213

214214

215215
(*
216-
### Biometrics.GetSleepHour
216+
## Biometrics.GetSleepHour
217217
```pascal
218218
function TBiometrics.GetSleepHour(): String;
219219
```
@@ -239,7 +239,7 @@ begin
239239
end;
240240

241241
(*
242-
### Biometrics.GetSleepLength
242+
## Biometrics.GetSleepLength
243243
```pascal
244244
function TBiometrics.GetSleepLength(): Single;
245245
```
@@ -258,7 +258,7 @@ end;
258258

259259

260260
(*
261-
### Biometrics.Sleep
261+
## Biometrics.Sleep
262262
```pascal
263263
procedure TBiometrics.Sleep(time: UInt32);
264264
procedure TBiometrics.Sleep(minimum, maximum: UInt32; weight: ERandomDir = ERandomDir.MEAN); overload;
@@ -286,7 +286,7 @@ end;
286286

287287

288288
(*
289-
### Biometrics.Click
289+
## Biometrics.Click
290290
```pascal
291291
procedure TBiometrics.Click(button: EMouseButton; clicks: UInt32 = 3);
292292
```
@@ -315,7 +315,7 @@ end;
315315

316316
var
317317
(*
318-
### Biometrics variable
318+
## Biometrics variable
319319
Global {ref}`TBiometrics` variable.
320320
*)
321321
Biometrics: TBiometrics;

0 commit comments

Comments
 (0)