OTClient
These are codes that I have posted on various forums/discord.
I release scripts for free, they work on the servers I use them on.
99 entries
Container Config
23/11/21
|
2.9K
A modified version of this script is now built into vBot.
You can now open all backpacks in your inventory or just selected.
Its possible to overwrite your current backpacks. If you add a red backpack to the list it...

Charm Equipper - (onHotkey)
01/01/20
|
1.2K
Charm purse and the Charm storage backpack must be open.

config hash to clipboard
29/05/22
|
354
game_market Sell State
17/05/22
|
466

Discord Webhook
14/05/22
|
618
I have no plans to help you set it up.
If you find a bug let me know.

Drop items multiple locations
10/10/21
|
1K
If your char is within "dropDistance" it will drop the items to that location.
Ammo Slot Counter Label
10/10/21
|
1K
This is only an example but it works for burst arrows.

Kill Count
16/10/21
|
1.5K
use killList = {} to clear the list.
Added new interface and added reset button.
This will only work if your server is sending loot messages from monsters. - example Fire elemental won't be tracked.

Damage Highscores
19/10/21
|
1.5K
Mode (line 50) will need to be set according to your server.
OxygenOT uses 28. Other servers use 21 for damage dealt. Just uncomment -- warn(mode) and attack something and it will show you which number you need to enter.

Buff Cast
09/08/21
|
1.2K
Utito, Recovery, Party.
Allows you to select which vocation you play.

Auto Party + Exp Share
09/10/21
|
1.8K
The newest version can listen for players moving so they don't need to go off screen.
create a new file in your bot config. eg: autoparty.lua and copy the code into there.
A older smaller version is also on down below. oldautoparty.lua.

Smarter skull targeting
01/01/20
|
1K
Auto Follow
01/01/20
|
2K
If you activate follow change it will change the target when you follow someone and your char moves position

Use same config for all chars
01/01/20
|
1.3K
Open your OtClient folder and open \modules\game_bot\bot.lua
Find the text -- storage and replace with the code below.
You can then copy the contents of your previous storage.json into the new file an...
App Title+Char Name
12/05/22
|
414
Tested on Mehah and OTclientv8
Ping Monitor
08/05/22
|
412
This monitors your ping every x seconds to look for spikes in ping.
I had used this for looking for lag spikes on servers.
Export Pings button, prints all pings and times to terminal window...

Death Counter
10/04/22
|
432

Levitate - vBot extension
09/04/22
|
572
-direction will auto detect from which way your char is facing when pressing levitate button.
-floor is the current floor (if a floor change is detected it will proceed on).
-spell name can be custom exani hur by default...

Level Check - vBot extension
02/04/22
|
540
To install see my Auto extension loader code here
Level greater than:
133,spawnLeave,spawnLoop
Level Range:
133:1337,spawnLeave,spawnLoop

Find Teleport - vBot extension
02/04/22
|
378
To install see my Auto extension loader code here
Use Lever on Item Drop
27/12/21
|
396
Shovel - vBot extension
24/12/21
|
410
Edit your CONFIGNAME\vBot\cavebot.lua add this line as you would with other extensions.
dofile("/cavebot/shovel.lua")
create a file CONFIGNAME\cavebot\shovel.lua and add code below...

Cut - vBot extension
24/12/21
|
424
Edit your CONFIGNAME\vBot\cavebot.lua add this line as you would with other extensions.
dofile("/cavebot/cut.lua")
create a file CONFIGNAME\cavebot\cut.lua and add code below.

AutoLoader- vBot extensions
24/12/21
|
0.9K
Find tile CONFIGNAME\vBot\cavebot.lua
Find --dofile("/cavebot/extension_template.lua")
And add the code below on the line below it.
Create a folder called...

Rope - vBot extension
24/12/21
|
382
Edit your CONFIGNAME\vBot\cavebot.lua add this line as you would with other extensions.
dofile("/cavebot/rope.lua")
create a file CONFIGNAME\cavebot\rope.lua and add code below...
NPC interact right click
02/10/21
|
648
It needs onAttackingCreatureChange which is in the newer version.
I have included an updated game_bot.zip. Which is just based off the one included in Evolunia right now as it uses a ...
Stand - vBot extension
02/04/22
|
888
To install see my Auto extension loader code here
Cut Webs/Wooden Bars
01/07/21
|
514

Creatures HP Percentage
01/07/21
|
882
Position onLook
01/01/20
|
762

Get Outfits from Tile
26/07/22
|
116
exercise dummy
01/07/22
|
286
minimap pos
12/06/22
|
328

Evolunia Print Centre
10/05/22
|
228
Format "x_y_z", -- Area
Combobox Parent Width
25/04/22
|
542
This then lets you set the combo box for all the configs in the bot to have a scroll bar and width match the parent to see longer names

GotoLabel onTextMessage
26/03/22
|
318
Use Item Infront
21/03/22
|
348
Hold Invisible
19/03/22
|
272
Debug - Get Outfit
12/03/22
|
430
Just add this to your client game_interface under the right click menu .

Count PlayersOnscreen
06/03/22
|
416
XenoBot Menu
26/02/22
|
568

Skull on Screen
25/02/22
|
334
Colour Names
19/02/22
|
374
Use Shovel on Sand
24/12/21
|
334
It needs to be added to your existing cavebot file (cavebot_configs\filename.cfg) or the functions remade in the GUI,
-first position is the position next to hole.
-g_map.getTile position is thehole position
-las...

Bot Tabs Example
17/11/21
|
788
This is an example only. If you do not know how to use it, then you shouldn't be using it.
Its not perfect but its an example. If you are coding your own interfaces you will know what to do with it.
You d...

Orb Counter
17/11/21
|
424
vBot item loot list
11/11/21
|
812
These are just examples and I will not be supporting them.
If you don't know how they work then you have no need to use them.
Last Exiva
30/05/22
|
1.2K
You will need to replace the mode values with your servers values.
I will not be supporting this. - so do not even ask.

Autoloot on Look
08/11/21
|
1K
In-game timers
29/03/22
|
1.4K
If you get a global 'os' (a nil value error). This is because you are using an old game_bot file.
Check the second file down below for the fix

Walk on monster soul
14/10/21
|
634
Drop extra pots
05/10/21
|
764
Change FPS
05/10/21
|
614
Bot Quick config change
19/09/21
|
692
I used to have it so on player in war attacked it would switch to war profile.
Open next container
12/09/21
|
732
Cavebot Player Toggle
13/07/22
|
1.1K
Choose Outfit
09/08/21
|
698
I don't recommend you use this but its just an example on how to use other modules.
OrangeText Alert
25/07/21
|
596
Your orangetext may have a different mode. uncomment the warn if you need to find the mode id.
TargetBot Blacklist
24/07/21
|
1.2K
Example from 1.3
Exchange Tokens
09/07/21
|
648
Talk To Npc on Attack
01/07/21
|
606
Close Channel
01/07/21
|
520
Warn on Specific Creature Appear
01/07/21
|
588
Login Next Character
01/07/21
|
618
TargetBot Toggle
25/06/21
|
1.1K
Fight Mode Toggle
12/06/21
|
716
Goto Label when player on screen
10/06/21
|
0.9K
BotServer send position
10/06/21
|
620
on pagedown press it'll send the position of current player to bot server and all chars will try to run to that pos.
Find Chat in channel
26/05/21
|
644
Toggle Auto-reconnect
26/05/21
|
702
changeReconnect(true) or changeReconnect(false)
Clear Channel
26/05/21
|
566
Get Items/Effects under mouse
26/05/21
|
0.9K
Rename Backpack/Container Names
26/05/21
|
712
Second will rename the container on open.

Summon Vocation Familiar
26/05/21
|
0.9K
Use Divine Dazzle
25/03/22
|
1K
This will cast the spell if there are 2 or more creatures between 2-6 squares away and have more than 5-% mana.
Reopen Backpack
26/05/21
|
1.1K
Second will auto open when first container closes.
Open Backpacks Minimised
01/05/21
|
1K

Invite to party on words invite
01/05/21
|
890
Click modal window
10/06/21
|
1.4K
Change the name to the name of the item you want.
There are 3 version to this. Each does it owns thing.
1: clicks a modal window when it has title "teleports" (this needs onModalDialog callback f...

Open PMs in new tab
01/05/21
|
750
Dump RootWidget widgets
01/05/21
|
800

Switch Next Char
01/05/21
|
648
Evolunia Autoloot clear/add
01/01/20
|
1K
Actionbar per character
01/01/20
|
1.1K
Find function online() and replace whole thing with code below.
Drop to Pos
01/01/20
|
1K
Load Backpacks on config load
01/01/20
|
736
Evolunia collecting
01/01/20
|
1.1K
Change "useLunia = true" to "useLunia = false" if you use the OTC client for walking etc. delete between the lines at the top if you already have those functions in your macro config.
Drop item to Mouse
01/01/20
|
874
Hide Trees
19/10/21
|
0.9K
Just add the ID to the tree array.

Active cooldown print (onHotkey)
12/06/22
|
1K
I used this for my spell caster to get all the IDs of unknown spells on custom servers such as Evolunia

Active cooldown print (onSpellCast)
01/01/20
|
890
I used this for my spell caster to get all the IDs of unknown spells on custom servers such as Evolunia

Move green text to channel
01/01/20
|
1.2K
Add the second edit to your bot config.

Auto Mount
01/01/20
|
0.9K
Second will check for mount everytime you move.
Use Item Around
01/01/20
|
1K