Properties
Name | Result | Description | Code | Params | Examples |
---|---|---|---|---|---|
Status | TScriptStatus | Script status |
|
There are no arguments | You need to register to view the code example. |
PaxFile | String | Path to script file |
|
There are no arguments | You need to register to view the code example. |
Path | String | Path to script folder |
|
There are no arguments |
You need to register to view the code example.
|
Control functions
Name | Result | Description | Code | Params | Examples |
---|---|---|---|---|---|
Run | - | Run script |
|
Param - system parameter, doesn't affect anything |
You need to register to view the code example.
|
Stop | - | Stop script |
|
There are no arguments | You need to register to view the code example. |
Resume | - | Resume script and all threads |
|
There are no arguments |
You need to register to view the code example.
|
Pause | - | Pause script |
|
There are no arguments | You need to register to view the code example. |
Suspend | - | Suspend all threads except calling thread |
|
There are no arguments |
You need to register to view the code example.
|
Replace | Boolean | Restart current script or run new script. Run new script available only if current script is working. |
|
Path - path to script file (по умолчанию - отсутствует) |
You need to register to view the code example. |
LoadScript | - | Load script on account. Loading available only if script is stopped on account. |
|
aBot - account where need to load script |
You need to register to view the code example.
|
Lock | - | When working with global resources(variables) Strings / Lists / Arrays in several threads, use this method before accessing them (read/write), and unlock method after working with the global variable is completed. There should be no delay between Script.Lock / Script.Unlock. |
|
There are no arguments | You need to register to view the code example. |
Unlock | - | Remove previously installed Lock |
|
There are no arguments | You need to register to view the code example. |
Additional functions
Name | Result | Description | Code | Params | Examples |
---|---|---|---|---|---|
NewThread | - | Call procedure in new thread |
|
Proc - pointer to procedure |
You need to register to view the code example.
|
MainProc | - | Call procedure in the main Adrenaline thread |
|
Proc - pointer to procedure |
You need to register to view the code example. |
StartPlugin | Boolean | Run plugin from DLL |
|
Path - path to plugin DLL Proc - pointer to function/variables for scripts and plugin cooperation Modal - is running in modal window |
You need to register to view the code example. |
OnPluginProc | - | Cooperate with plugin |
|
Param1 - 1st parameter Param2 - 2nd parameter |
You need to register to view the code example. |
Objects
Имя | Класс | Description |
---|---|---|
Script | TPaxEngine | Account script |
Methods
Имя | Результат | Description |
---|---|---|
TL2Control.GetScript | Pointer на TPaxEngine | Pointer to script of account of this controller. Can be transformed to TPaxEngine. |
- Checking if our character is stuck (in the thread)
- Check disconnect in thread
- Smart learning of new skills
- Game chat scanner, looking for needed phrases
- Load script on another account
- Maintain Kookaburra in fight mode (for mana rechargers)
- Alt+B rebuff on farm - run aside to end combat and kill agro mobs
- Detect mobs champions
- Mass sweep of mobs in trains without skill Sweeper Festival
- Simulation of random clicks near character