Different
Name | Result | Description | Code | Params | Examples |
---|---|---|---|---|---|
Delay | Boolean | Make temporary script pause |
|
Time - pause time (in ms, 1sec = 1000ms) |
You need to register to view the code example.
|
- | Write message/log to Adrenaline interface |
|
Text - message text (any type) |
You need to register to view the code example. | |
TimerEx | Boolean | Check timer |
|
var LastTime - variable for last response time |
You need to register to view the code example.
|
OnFree | - | Events handler - script stopping |
|
There are no arguments | You need to register to view the code example. |
PlaySound | - | Play sound file |
|
FilePath - path to the sournd file |
You need to register to view the code example. |
StopSound | - | Stop playing sounds |
|
There are no arguments | You need to register to view the code example. |
GetL2ClassInfo | String | Get full/short class name by identificator |
|
ClassID - class identificator |
You need to register to view the code example.
|
CalcXYZ | TXYZ | Generate intermediate point between two points/objects |
|
FromXYZ - fist point ToXYZ - second point FromObj - first object ToObj - second object Delta - forward/backward offset SideDelta - left/right offset (по умолчанию - отсутствует) |
You need to register to view the code example.
|
Bot properties
Name | Result | Description | Code | Params | Examples |
---|---|---|---|---|---|
LanguageID | Integer | Bot interface language (1 - russian, 2 - english) |
|
There are no arguments | You need to register to view the code example. |
ExePath | String | Adrenaline folder path |
|
There are no arguments | You need to register to view the code example. |
BotLoginID | Cardinal | Unique hash of PC. Recommended for creating PC binding for script. |
|
There are no arguments | You need to register to view the code example. |
GetHWID | Cardinal | Unique PC identificator |
|
There are no arguments | You need to register to view the code example. |
Converting Data Types
Name | Result | Description | Code | Params | Examples |
---|---|---|---|---|---|
FToStr | String | Convert floating point number to string |
|
Number - floating point number |
You need to register to view the code example. |
MemToHex | String | Convert memory to hex string |
|
Data - different data |
You need to register to view the code example. |
HexToMem | Cardinal / AnsiString | Convert HEX string to memory |
|
const Hex - HEX string |
Examples not found You need to register to view the code example. |
Game events
Name | Result | Description | Code | Params | Examples |
---|---|---|---|---|---|
OnAction | - | Events handler - different from TL2Action |
|
Action - event type. Actions types. |
You need to register to view the code example. |
OnMoveEvent | - | Events handler - user started moving |
|
Attacker - attacking object var StopMove - stop moving |
You need to register to view the code example.
|
For interaction with other Adrenaline accounts
Name | Result | Description | Code | Params | Examples |
---|---|---|---|---|---|
GetControl | TL2Control | Get another account controller by character name |
|
Name - character name |
You need to register to view the code example. |
GetControlByIndex | TL2Control | Get another account controller by index |
|
Index - account index number (starting from 0) |
You need to register to view the code example. |
OnEntry | Boolean | Events handler - call TL2Control.Entry from script of another account |
|
var Param - transmittable parameter |
You need to register to view the code example.
|
ShMem | - | Global array available for all accounts |
|
There are no arguments |
You need to register to view the code example.
|
Network packets
Name | Result | Description | Code | Params | Examples |
---|
Image captchas settings
Name | Result | Description | Code | Params | Examples |
---|---|---|---|---|---|
MinCapSize | Integer | Minimal captchas-images size for sniffering. Dafault - 800. Can be changed. |
|
There are no arguments | You need to register to view the code example. |
СaptchaScan | Boolean | Activity status of additional captchas-images sniffing. Can be changed. |
|
There are no arguments | You need to register to view the code example. |
Sending notifications
Name | Result | Description | Code | Params | Examples |
---|---|---|---|---|---|
SendToDiscord | Boolean | Send message to Discord |
|
ApiKey - unique key (generates in cabinet) Text - message text |
You need to register to view the code example.
|
SendToTelegram | Boolean | Send message to Telegram |
|
ApiKey - unique key (generates in cabinet) Text - message text |
You need to register to view the code example.
|
SendToIcq | Boolean | Send message to Icq |
|
ApiKey - unique key (generates in cabinet) Text - message text |
You need to register to view the code example.
|
- Info exchanging between accounts using ShMem
- Event handler while moving OnMoveEvent
- Calling execution of procedures in another script using Entry \ OnEntry
- Repeat dialog selection by bots after main character
- Work with date and time. GetTickCount. Limit duration of script work.
- Stop farming on detecting strangers and retreat to a secluded place
- Detect mobs champions
- Sending notifications to Telegram / Discord / Icq from script
- Players counter from the specified clans + record information to file
- Universal script for auto charging icons for any tanks