Welcome, Guest
You have to register before you can post on our site.



Search Forums

(Advanced Search)

Forum Statistics
» Members: 14,837
» Latest member: waterhail9
» Forum threads: 516
» Forum posts: 1,513

Full Statistics

Online Users
There are currently 173 online users.
» 6 Member(s) | 165 Guest(s)
Bing, Google, Elfbot Scripter

Latest Threads
What new features for bot...
Forum: Discussion
Last Post: mikebike
2 hours ago
» Replies: 14
» Views: 2,703
OnAttack callback
Forum: Requests
Last Post: harlinmoss
9 hours ago
» Replies: 2
» Views: 51
tibia.dat and .spr file a...
Forum: Support
Last Post: IvanEH
Yesterday, 09:13 PM
» Replies: 2
» Views: 349
Problem z macro na hold t...
Forum: Polish
Last Post: kytekkarnas
01-20-2021, 02:27 AM
» Replies: 0
» Views: 40
vithrax don't work
Forum: Bug reports
Last Post: benusixx
01-19-2021, 08:07 AM
» Replies: 2
» Views: 68
Lag spikes while moving b...
Forum: Support
Last Post: Yavokx
01-18-2021, 09:33 PM
» Replies: 7
» Views: 511
Forum: Support
Last Post: stork
01-18-2021, 02:11 PM
» Replies: 1
» Views: 76
Error when login in a ots...
Forum: Support
Last Post: jessicabyrne11
01-18-2021, 01:20 PM
» Replies: 5
» Views: 940
Help Shop Module
Forum: Support
Last Post: aions
01-17-2021, 08:53 PM
» Replies: 0
» Views: 61
200+ Summons
Forum: Requests
Last Post: jeffcornel
01-14-2021, 10:57 PM
» Replies: 0
» Views: 97

  Problem z macro na hold target
Posted by: kytekkarnas - 01-20-2021, 02:27 AM - Forum: Polish - No Replies

Witam mam problem ze skryptem na hold target gdy go włączam i działa to jak jestem w zasięgu potworka to jest normalnie ale wystarczy że się oddale albo zmienię piętro odrazu w bocie na telu pojawiają się czerwone błędy że coś jest nie tak ale gdy wrócę do potworka to za pare sekund znikają i cały czas ta sama sytuacja jak oddale się od potworka (ze go nie widze). Proszę o jakis inny skrypt albo o pomoc z tym bo jest mi to bardzo potrzebne bo bez auto target na telefonie dosyć trudno brać udział w pvp.

local oldTarget
macro(500, "Hold Target", function()

    if g_game.isAttacking() then
      oldTarget = g_game.getAttackingCreature() -- save the target
    if oldTarget and not g_game.isAttacking() and getDistanceBetween(pos(), oldTarget:getPosition()) <= 8 then -- if the player has no target and player is on distance

  end, warTab)

Print this item

  OnAttack callback
Posted by: stork - 01-19-2021, 05:12 PM - Forum: Requests - Replies (2)

Hi all, when botting paladin the attack is Really important. the problem is when im in a box, mapa potions, runes and spells takes the normal attack coldown. so im not able to hit everyturn and takes ages to kill the box. 

my ideia is to have an onAttack callback. it would be trigger just after my normal attack is executed. it means I can wait my attack to happen then start the logic about healing or using runes.

is it possible?

thank you

Print this item

Photo vithrax don't work
Posted by: benusixx - 01-19-2021, 08:04 AM - Forum: Bug reports - Replies (2)

Hello, I can't start using cuz this bug appear all time:
how I can to Fix it ? How update app on Android? 

Attached Files Thumbnail(s)
Print this item

Posted by: stork - 01-17-2021, 11:42 PM - Forum: Support - Replies (1)

Hi all.. I just found about this bot for the otclient. 
I start make my own scripts but it has been quite hard as I don't have any clue what and where I can get the information from 

for example, it took me 10+ minutes to find in other examples how to count how many arrows I have on my main slot. 

is there a place where I can see all the methods and properties 

like creature.hp? creature.fullHp




Print this item

  Help Shop Module
Posted by: aions - 01-17-2021, 08:53 PM - Forum: Support - No Replies

Hello. Someone can help solve this problem?

I'm trying create a market with "diamond". But i have this error.

[Image: unknown.png]
this is my init from shop.lua

function init()
  connect(g_game, { onGameEnd = hide })
  connect(g_game, 'onTextMessage', onConfirmBought)

  shopWindow = g_ui.displayUI('shop', modules.game_interface.getRootPanel())
  shopButton = modules.client_topmenu.addRightGameToggleButton('shopButton', tr('Shop'), '/images/topbuttons/bot', toggle, false, 99999)
  playerEmeralds = shopWindow:recursiveGetChildById('emeraldsLabel')
  offerSearch = shopWindow:recursiveGetChildById('searchText')

  shopTabBar = shopWindow:recursiveGetChildById('shopTabBar')
  shopTabBar.onTabChange = onTabChange

  marketPanel = g_ui.loadUI('market')
  shopTabBar:addTab('', marketPanel, '/images/game/shop/market')

  outfitsPanel = g_ui.loadUI('outfits')
  shopTabBar:addTab('', outfitsPanel, '/images/game/shop/outfits')

  addonsPanel = g_ui.loadUI('addons')
  shopTabBar:addTab('', addonsPanel, '/images/game/shop/addons')

  clansPanel = g_ui.loadUI('clans')
  shopTabBar:addTab('', clansPanel, '/images/game/shop/clans')

  shopTabBar:addButton('', function() g_game.talk('Buy Diamonds') end, '/images/game/shop/buy_emeralds')
and this is my shop.otui

ClanWindow < MainWindow
  size: 210 100
  @onEscape: modules.game_shop.destroyClanWindow()

    text: Rank:
    width: 38
    anchors.top: parent.top
    anchors.left: parent.left
    margin-top: 2

    id: spinBox
    step: 1
    width: 50
    anchors.top: parent.top
    anchors.left: prev.right
    minimum: 1
    maximum: 5
    @onValueChange: |
      local prize = 40 + 10*(self:getValue()-1)
      self:getParent():getChildById('prize'):setText(prize..' Emeralds')

    id: prize
    color: white
    text: 40 Emeralds
    text-auto-resize: true
    icon-align: left
    icon: /images/game/shop/prize
    text-offset: 21 0
    font: verdana-11px-rounded
    anchors.verticalCenter: spinBox.verticalCenter
    anchors.left: spinBox.right
    margin-left: 3

    !text: tr('Cancel')
    width: 64
    anchors.bottom: parent.bottom
    anchors.right: parent.right
    @onClick: modules.game_shop.destroyClanWindow()

    id: okButton
    text: Ok
    width: 64
    anchors.bottom: parent.bottom
    anchors.right: prev.left
    margin-right: 5

shopWindow < MainWindow
  id: shopWindow
  size: 582 336
  icon-align: right
  icon: /images/ui/shop_window
  anchors.centerIn: parent
  margin-right: 64
  draggable: false
  padding: 10
  @onEscape: modules.game_shop.hide()

    id: shopTabBar
    phantom: true
    height: 326
    anchors.top: parent.top
    anchors.left: parent.left
    margin-left: -10

    id: shopTabContent
    height: 242
    anchors.left: prev.right
    anchors.right: parent.right
    anchors.bottom: parent.bottom
    margin-left: 10
    margin-bottom: 35

    id: emeraldsLabel
    text-offset: 40 0
    text-auto-resize: true
    icon: /images/topbuttons/emerald_shop
    icon-align: left
    font: newfont-16px-rounded
    anchors.bottom: parent.bottom
    anchors.left: shopTabBar.right
    margin-left: 10
    margin-bottom: 5

    !text: tr('Search')..':'
    text-auto-resize: true
    anchors.right: next.left
    anchors.verticalCenter: next.verticalCenter
    margin-right: 5

    id: searchText
    width: 135
    anchors.bottom: parent.bottom
    anchors.right: parent.right
    margin-right: 10
    shift-navigation: true
    @onTextChange: searchOffer()

    id: closeButton
    anchors.top: parent.top
    anchors.right: parent.right
    size: 23 22
    image-source: /images/ui/shop_button_close
    image-clip: 0 0 23 22
    @onClick: modules.game_shop.hide()

      image-clip: 0 22 23 22

      image-clip: 0 44 23 22

Whats is wrong on code?

Print this item

  200+ Summons
Posted by: jeffcornel - 01-14-2021, 10:57 PM - Forum: Requests - No Replies

Anyone have a script that will auto summon the lvl 200+ familiar every 30 min? 
Possibly with a button to toggle on and off.

Print this item

  [USA] [8.60] MarlboroWars - START 15 JANUARY 15:00 (GMT-6) - NEW YORK (GLOBAL HOST)
Posted by: Musztang - 01-12-2021, 02:45 PM - Forum: Advertisement - No Replies

Server will start at 15 January at 15:00 GMT-6 (Countdown on website)

Welcome to our server!
Marlboro Wars it's a server well-known on North and Latin America, so feel free to create your account.

About the server:
A good war server type "High Level" - out of the ordinary, a place where you can get some fun with your friends or playing against your enemies!
Gameplay has been designed to be competitive - Server is hosted on New York with 1gb network port.

Since we don't want to spoil you anything, we won't provide you information but the basics such as skull system, (frags/deaths/assists) system, (anti) anti-push system, new outfits, detailed statistics, many events etc etc.

General Information:
Characters start at level 300.
Magic Rate is x35 and Skill Rate x50 (which make it very competitive for players)

Login Details:
Website: Latestnews - Marlboro
IP Address: https://marlborowars.net
Port: 7171
Version: 8.6

You either can use the default 8.6 client or download our custom client.

Sorcerer: Unlike the druids, this vocation deals more damage but their healing is weaker compared with them.
Druid: Unlike the sorcs, this vocation receive more heal percent with healing spells, also his buff spell grants more health and defense.
Paladin: Weakest at the beginning but strongest in the end, the best single-target damage vocation.
Knight: A balanced vocation that makes significantly damage and good tank, his abilities require a hugh manapercent amount tho.

Free Premium Points

At the first week you can get a total of 5000 premium points by killing other people

On 100 frags you get 250 premium points
On 250 frags you get 450 premium points
On 450 frags you get 550 premium points
On 550 frags you get 700 premium points
On 700 frags you get 850 premium points
On 850 frags you get 1000 premium points
On 1000 frags you get 1200 premium points

Print this item

  Targeting ON when on screen 2 or 2+ mobs
Posted by: Grajek - 01-12-2021, 10:45 AM - Forum: Requests - No Replies


Someone can write for me script for targetbot?

ON targeting when on screen 3 or 2+ monster, when lover 2 then off?

But still cavebot ON always

Print this item

  cave bot problem
Posted by: Lord Grim - 01-09-2021, 07:59 PM - Forum: Bug reports - No Replies

when I use Cave bot, it stops in place after going through a few steps and doesn't go all the way. When a new turn starts, I am withdrawn from the 1st wpt and so on all the time

Print this item

  Help with delay in script
Posted by: Sayonara - 01-09-2021, 12:24 PM - Forum: Support - No Replies

macro(1000, "AUTO TASK", function()
    local x = posx()
    local y = posy()
    local z = posz()
    if z == 6 then
        if x == 1019 or x == 1020 or x == 1021 then
            if y == 384 then
                NPC.say("sea cub")
                print("Completed and took new task again")

My script still says all the lines at the same time basically. Can't seem to get wait, sleep or delay to work.

Print this item