Skip to content

Commit 3553280

Browse files
committed
read notes
- changed account, accounts, TRSAccount, TRSAccountArray to "player" like it was in simba 1.4 - added placeholders for all gametabs -start of itemdata
1 parent 0d578cd commit 3553280

Some content is hidden

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

70 files changed

+1046
-783
lines changed

osrs.simba

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(*
2-
# SRLT
2+
## SRLT
33
SRLT is a library used to bot OldSchool RuneScape with Simba 2.0.
44
SRLT stands for SRL Tribute and it's heavily inspired in previous work done by
55
the SRL Community.
@@ -10,7 +10,7 @@ less confusing way.
1010
*)
1111

1212
(*
13-
## Compile Directives
13+
### Compile Directives
1414
```pascal
1515
{$DEFINE SRLT_DEBUG_MOUSE}
1616
{$DEFINE SRLT_DISABLE_REMOTEINPUT}
@@ -30,7 +30,7 @@ They should be self-explanatory.
3030

3131
// The following allows individual include files to compile on their own with just having {$INCLUDE_ONCE SRLT/osr.simba}
3232
// Summary: It includes this file until the current file is reached.
33-
{$IFNDEF SRLT_ACCOUNT_INCLUDED} {$INCLUDE_ONCE osrs/account.simba}
33+
{$IFNDEF SRLT_PLAYER_INCLUDED} {$INCLUDE_ONCE osrs/player.simba}
3434
{$IFNDEF SRLT_BIOMETRICS_INCLUDED} {$INCLUDE_ONCE osrs/antiban/biometrics.simba}
3535

3636
{$IFNDEF SRLT_OCR_INCLUDED} {$INCLUDE_ONCE osrs/ocr/ocr.simba}
@@ -59,16 +59,25 @@ They should be self-explanatory.
5959
{$IFNDEF SRLT_SLOT_INTERFACE_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/slotinterface.simba}
6060
{$IFNDEF SRLT_ITEM_INTERFACE_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/iteminterface.simba}
6161

62+
{$IFNDEF SRLT_COMBAT_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/combat.simba}
63+
{$IFNDEF SRLT_STATS_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/stats.simba}
64+
{$IFNDEF SRLT_ACHIEVEMENTS_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/achievements.simba}
6265
{$IFNDEF SRLT_INVENTORY_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/inventory.simba}
6366
{$IFNDEF SRLT_EQUIPMENT_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/equipment.simba}
64-
{$IFNDEF SRLT_MAGIC_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/magic.simba}
65-
{$IFNDEF SRLT_HOUSEOPTIONS_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/houseoptions.simba}
66-
{$IFNDEF SRLT_OPTIONS_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/options.simba}
6767
{$IFNDEF SRLT_PRAYER_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/prayer.simba}
68+
{$IFNDEF SRLT_MAGIC_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/magic.simba}
69+
70+
{$IFNDEF SRLT_GROUPING_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/grouping.simba}
71+
{$IFNDEF SRLT_FRIENDS_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/friends.simba}
72+
{$IFNDEF SRLT_ACCOUNT_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/account.simba}
6873
{$IFNDEF SRLT_WORLDSWITCHER_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/worldswitcher.simba}
6974
{$IFNDEF SRLT_LOGOUT_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/logout.simba}
70-
{$IFNDEF SRLT_STATS_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/stats.simba}
71-
{$IFNDEF SRLT_ACHIEVEMENTS_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/achievements.simba}
75+
{$IFNDEF SRLT_HOUSEOPTIONS_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/houseoptions.simba}
76+
{$IFNDEF SRLT_OPTIONS_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/options.simba}
77+
{$IFNDEF SRLT_EMOTES_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/emotes.simba}
78+
{$IFNDEF SRLT_MUSIC_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/music.simba}
79+
80+
7281
{$IFNDEF SRLT_MOUSEZOOM_INCLUDED} {$INCLUDE_ONCE osrs/mousezoom.simba}
7382

7483
{$IFNDEF SRLT_MM2MS_PROJECTOR_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/mm2ms_projector.simba}
@@ -141,3 +150,9 @@ They should be self-explanatory.
141150
{$ENDIF}
142151
{$ENDIF}
143152
{$ENDIF}
153+
{$ENDIF}
154+
{$ENDIF}
155+
{$ENDIF}
156+
{$ENDIF}
157+
{$ENDIF}
158+
{$ENDIF}

osrs/account.simba

Lines changed: 0 additions & 103 deletions
This file was deleted.

osrs/antiban/antiban.simba

Lines changed: 14 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

@@ -92,7 +92,7 @@ end;
9292

9393

9494
(*
95-
## Antiban.AddTask
95+
### Antiban.AddTask
9696
```pascal
9797
procedure TAntiban.AddTask(interval: Double; method: TAntibanMethod; randomness: Double = 0.2);
9898
```
@@ -126,7 +126,7 @@ begin
126126
end;
127127

128128
(*
129-
## Antiban.AddBreak
129+
### Antiban.AddBreak
130130
```pascal
131131
procedure TAntiban.AddBreak(interval, length: Double; randomness: Double = 0.2; logoutChance: Double = 0.33);
132132
```
@@ -158,7 +158,7 @@ begin
158158
end;
159159

160160
(*
161-
## Antiban.AddSleep
161+
### Antiban.AddSleep
162162
```pascal
163163
procedure TAntiban.AddSleep(time: String; length: Double; randomness: Double = 0.10; logoutChance: Double = 0.5);
164164
```
@@ -197,7 +197,7 @@ end;
197197

198198

199199
(*
200-
## Antiban.TakeSleep
200+
### Antiban.TakeSleep
201201
```pascal
202202
procedure TAntiban.TakeSleep(var task: TSleepTask);
203203
```
@@ -260,7 +260,7 @@ begin
260260
end;
261261

262262
(*
263-
## Antiban.TakeBreak
263+
### Antiban.TakeBreak
264264
```pascal
265265
procedure TAntiban.TakeBreak(var task: TBreakTask);
266266
```
@@ -322,7 +322,7 @@ end;
322322

323323

324324
(*
325-
## Antiban.DoTask
325+
### Antiban.DoTask
326326
```pascal
327327
function TAntiban.DoTask(): Boolean;
328328
```
@@ -372,7 +372,7 @@ begin
372372
end;
373373

374374
(*
375-
## Antiban.DoBreak
375+
### Antiban.DoBreak
376376
```pascal
377377
function TAntiban.DoBreak(): Boolean;
378378
```
@@ -401,7 +401,7 @@ begin
401401
end;
402402

403403
(*
404-
## Antiban.DoSleep
404+
### Antiban.DoSleep
405405
```pascal
406406
function TAntiban.DoSleep(): Boolean;
407407
```
@@ -431,7 +431,7 @@ end;
431431

432432

433433
(*
434-
## Antiban.DoAntiban
434+
### Antiban.DoAntiban
435435
```pascal
436436
function TAntiban.DoAntiban(checkTasks, checkBreaks, checkSleeps: Boolean = True): Boolean;
437437
```
@@ -467,7 +467,7 @@ end;
467467

468468

469469
(*
470-
## Antiban.TimeUntilBreak
470+
### Antiban.TimeUntilBreak
471471
```pascal
472472
function TAntiban.TimeUntilBreak(task: TBreakTask): String;
473473
```
@@ -479,7 +479,7 @@ begin
479479
end;
480480

481481
(*
482-
## Antiban.TimeUntilSleep
482+
### Antiban.TimeUntilSleep
483483
```pascal
484484
function TAntiban.TimeUntilSleep(task: TSleepTask): String;
485485
```
@@ -491,7 +491,7 @@ begin
491491
end;
492492

493493
(*
494-
## Antiban.SimulateBreaks
494+
### Antiban.SimulateBreaks
495495
```pascal
496496
procedure TAntiban.SimulateBreaks(bottingDays: UInt64 = 1000);
497497
```
@@ -535,7 +535,7 @@ end;
535535

536536
var
537537
(*
538-
## Antiban variable
538+
### Antiban variable
539539
Global {ref}`TAntiban` variable.
540540
*)
541541
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;

0 commit comments

Comments
 (0)