Skip to content

Commit 73af3a5

Browse files
committed
reorganizing code and adding docs
1 parent 94429d7 commit 73af3a5

17 files changed

+614
-207
lines changed

docs/images/bank_interface.png

85.4 KB
Loading

docs/images/chat_interface.png

72.6 KB
Loading

docs/images/make_interface.png

40.3 KB
Loading
207 KB
Binary file not shown.

docs/images/make_items.png

40.8 KB
Loading

docs/images/make_quantities.png

40.8 KB
Loading

osrs.simba

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ less confusing way.
1212
(*
1313
## Compile Directives
1414
```pascal
15-
{$DEFINE DEBUG_MOUSE}
15+
{$DEFINE SRLT_DEBUG_MOUSE}
1616
{$DEFINE SRLT_DISABLE_REMOTEINPUT}
1717
{$DEFINE SRLT_KEYBINDS_DEBUG}
18-
{$DEFINE DEBUG_UPTEXT}
18+
{$DEFINE SRLT_DEBUG_UPTEXT}
19+
{$DEFINE SRLT_DEBUG_INTERFACES}
1920
```
2021
This are the compiler directives available in the library.
2122

@@ -49,6 +50,7 @@ They should be self-explanatory.
4950
{$IFNDEF SRLT_GAMETAB_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/gametabs/gametab.simba}
5051
{$IFNDEF SRLT_CHAT_TABS_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/chat/chattabs.simba}
5152
{$IFNDEF SRLT_CHAT_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/chat/chat.simba}
53+
{$IFNDEF SRLT_CHAT_OPTIONS_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/chat/chatoptions.simba}
5254
{$IFNDEF SRLT_MAKE_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/chat/make.simba}
5355
{$IFNDEF SRLT_MAINSCREEN_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/mainscreen/mainscreen.simba}
5456
{$IFNDEF SRLT_INTERFACE_AREA_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/interfacearea.simba}
@@ -75,8 +77,8 @@ They should be self-explanatory.
7577
{$IFNDEF SRLT_MAPLOADER_INCLUDED} {$INCLUDE_ONCE osrs/map/maploader.simba}
7678
{$IFNDEF SRLT_MAP_INCLUDED} {$INCLUDE_ONCE osrs/map/map.simba}
7779
{$IFNDEF SRLT_MAPDEBUGGER_INCLUDED} {$INCLUDE_ONCE osrs/map/mapdebugger.simba}
78-
{$IFNDEF SRLT_BANKPIN_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/mainscreen/bankpin.simba}
79-
{$IFNDEF SRLT_BANK_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/mainscreen/bank.simba}
80+
{$IFNDEF SRLT_BANKPIN_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/mainscreen/bankpin.simba}
81+
{$IFNDEF SRLT_BANK_INCLUDED} {$INCLUDE_ONCE osrs/interfaces/mainscreen/bank.simba}
8082
{$IFNDEF SRLT_COLORFINDER_INCLUDED} {$INCLUDE_ONCE osrs/mainscreen/colorfinder.simba}
8183
{$IFNDEF SRLT_HITSPLATS_INCLUDED} {$INCLUDE_ONCE osrs/mainscreen/hitsplats.simba}
8284

@@ -133,3 +135,4 @@ They should be self-explanatory.
133135
{$ENDIF}
134136
{$ENDIF}
135137
{$ENDIF}
138+
{$ENDIF}

osrs/antiban/biometrics.simba

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
(*
22
# Biometrics
33
Biometrics related methods that are unique to the current account being used.
4+
5+
For your convenience you can use {ref}`TBiometrics` methods through the {ref}`Biometrics variable`.
46
*)
57

68
{$DEFINE SRLT_BIOMETRICS_INCLUDED}
@@ -10,8 +12,7 @@ Biometrics related methods that are unique to the current account being used.
1012

1113
type
1214
(*
13-
(EBiometric)=
14-
## type EBiometric
15+
## EBiometric
1516
```pascal
1617
EBiometric = enum(
1718
MULTIPLIER,
@@ -25,7 +26,7 @@ EBiometric = enum(
2526
RATING, LIKES, DISLIKES
2627
);
2728
```
28-
EBiometric is a enum that represent biometrics affected by the user user unique
29+
Enum that represent biometrics affected by the user user unique
2930
account seed.
3031
*)
3132
EBiometric = enum(
@@ -41,8 +42,7 @@ account seed.
4142
);
4243

4344
(*
44-
(TBiometrics)=
45-
## type TBiometrics
45+
## TBiometrics
4646
Record responsible for biometrics and beiometric behaviour.
4747
*)
4848
TBiometrics = record
@@ -55,7 +55,8 @@ Record responsible for biometrics and beiometric behaviour.
5555
```pascal
5656
function TBiometrics.GetHash(): TByteArray;
5757
```
58-
Get the current unique hash `TBiometrics.Hash` being used. If none is set yet one will be set.
58+
Get the current unique hash `TBiometrics.Hash` being used.
59+
If none is set yet one will be set.
5960
If the currently used account changed, we also reset the hash.
6061

6162
If there's no accounts availble we will use a random hash.
@@ -314,4 +315,8 @@ begin
314315
end;
315316

316317
var
318+
(*
319+
## Biometrics variable
320+
Global {ref}`TBiometrics` variable.
321+
*)
317322
Biometrics: TBiometrics;

0 commit comments

Comments
 (0)