Tutorials

Introduction

I don't know what to write here yet

Installation

Download OTClientV8 To download the client you will have to go to the GitHub website: https://gi...

Basics

How to edit, create and remove config, how to add scripts, how script are loaded (alphabetically)...

Macros

Description Macros are persistent Lua functions being called as long as the player is logged in....

Hotkeys

Hotkey is spammable as long as u hold the keyboard key, singlehotkey occurs once even if the keyb...

Schedule

Registers a function to be called after a certain timeout in milliseconds. Prototypes schedule(...

Delay

Delay the next execution cycle for macro, hotkeys or callbacks Prototypes delay(duration) Para...

Storage

How to use storage and storage.json file, some examples and what not to do (you can't store objec...

Icons

Icons is a cool GUI way to create on / off switches or clickable buttons that link to bot feature...

Basic UI

tabs, labels, buttons, separator - with examples dont write it yet, it will be changed in 1.9

Advanced UI

otml based ui, don't do it yet 

Synchronization

Tutorial how to use BotServer with some examples

Callbacks

List of every callback with examples (from game_bot/functions/callbacks.lua)

onKeyDown

Getting triggered once when keyboard key is down accepts key combos. (NOTE: triggered once even i...

onKeyPress

Getting triggered as long as the keyboard key is pressed. Prototypes onKeyPress(callback) -- ca...

onKeyUp

Getting triggered once when keyboard key is up accepts key combos. (NOTE: triggered once even if ...

onTalk

Getting triggered when the client received a chat message. Prototypes onTalk(callback) -- callb...

onTextMessage

Getting triggered when the client receives a game server message example: Server Log messages. P...

onPlayerPositionChange

Getting triggered when the player position changes Prototypes onPlayerPositionChange(callback) ...

onUse

Getting triggered when player uses an item. Prototypes onUse(callback) -- callback = function(p...

onUseWith

Getting triggered when player uses an item on target. Prototypes onUseWith(callback) -- callbac...

onContainerOpen

Getting triggered when player opens a new container. Prototypes onContainerOpen(callback) -- ca...

onPlayerHealthChange

Getting triggered when player health changes Prototypes onPlayerHealthChange(callback) -- callb...

listen

Getting triggered when received a chat message from a certain player. Prototypes listen(name, c...

onContainerClose

Getting triggered when player closes a container. onContainerClose(callback) -- callback = funct...

onAddThing

Getting triggered a thing is added to the tile. Prototypes onAddThing(callback) -- callback = f...

onRemoveThing

Getting triggered a thing is remove from the tile. Prototypes onRemoveThing(callback) -- callba...

onMissle

Description Callback function getting triggered when the client received missile attac...

onCreatureAppear

Triggered when a new creature added to Battle List. Prototypes onCreatureAppear(callback) -- ca...

onCreatureDisappear

Triggered when creature removed from Battle List. Prototypes onCreatureDisappear(callback) -- c...

onChannelList

Triggered when player logs in. Parameters channels: array contains channel id and channel...

onOpenChannel

Triggered when player or server opens a new channel. Prototypes onOpenChannel(callback) -- call...

onCloseChannel

Triggered when player or server closes a channel. Prototypes onCloseChannel(callback) -- callba...

onChannelEvent

Triggered when a channel event occurs can be someone joined or left the channel. Prototypes onC...

onContainerUpdateItem

Getting triggered when an item in container updates Prototypes onContainerUpdateItem(callback) ...

Functions

List of functions, don't edit it yet

Cavebotting

What is cavebotting? When people talk about cavebotting it means that the bot does everything fo...

Anti Bot Systems

One of many OTCv8 bot advantages it’s his capability to work around anti-bot systems.Since this c...

Search Results