Results 1 to 5 of 5

Thread: Issue with HUD experience counter.

  1. #1
    iBot User
    Join Date
    Jul 2014
    Posts
    19
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    10
    Rep Power
    3

    Issue with HUD experience counter.

    Hello guys, I've been having some problems with my HUD counter since the last iBot update. I've tried deleting the iBot folder and installing it again however I it didn't work.

    Does anyone else have this problem? What can I do to fix it? Thanks!


  2. #2
    Moderator Drakke's Avatar
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,898
    Mentioned
    216 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    390 Post(s)
    Reputation
    366
    Rep Power
    10
    Post code here or PM me with it @fernandofc18

  3. #3
    Focus Group MoS's Avatar
    Join Date
    Feb 2012
    Posts
    832
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    63 Post(s)
    Reputation
    77
    Rep Power
    6
    try Options > Reset HUD

    it seems u opened bot with a character.. then switched character using the same bot client, this way the bot saves the first character's info, like exp
    Ajudei você? ...............+REP
    -----------------------------------------
    Did I help you? ..........+REP

  4. #4
    iBot User
    Join Date
    Jul 2014
    Posts
    19
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    10
    Rep Power
    3
    I'm sure it's not the script, because I've tried different HUDs, in different characters.

    However this is the one that I'm using right now (the one I used for the photo).

    local CONFIG = {
    DRAW_TYPE = "border",
    POSITION = {X = 10, Y = 30},
    TEXT_DISTANCE = 110,
    LINE_DISTANCE = 14,
    }

    function formatnumber(NUMBER, SEPARATOR)
    local SEPARATOR, RESULT, SIGN, BEFORE, AFTER = SEPARATOR or ",", '', string.match(tostring(NUMBER), '^([%+%-]?)(%d*)(%.?.*)$')
    while (#BEFORE > 3) do
    RESULT = SEPARATOR .. string.sub(BEFORE, -3, -1) .. RESULT
    BEFORE = string.sub(BEFORE, 1, -4)
    end
    return SIGN .. BEFORE .. RESULT .. AFTER
    end

    --[[ JUST EDIT BELOW THIS LINE IF KNOW WHAT YOU'RE DOING ]]--

    HUD = {

    TITLE = "[MS/ED] Crystal Spiders X2 by Eldar v1.0.2",

    SECTIONS = {
    {
    NAME = "BOTTING INFO",
    ELEMENTS = {
    {"Exp/h (Bot):", string.format("%s", formatnumber(exphour))},
    {"Exp/h (Tibia):", string.format("%s", formatnumber(tibiaexphour))},
    {"Exp Gained:", string.format("%s", formatnumber(expgained))},
    {"Exp to Level:", string.format("%s", formatnumber(exptolevel()))},
    {"Time To Level:", string.format("%s", timetolevel)},
    {"Time Online:", string.format("%s", timehunt)},
    },
    },

    {
    NAME = "CHARACTER INFO",
    ELEMENTS = {
    {"Level:", string.format("%s (%s%%)", level, 100 - math.floor((exp - (50 / 3 * (level ^ 3 - 6 * level ^ 2 + 17 * level - 12))) * 100 / ((50 / 3 * ((level+1) ^ 3 - 6 * (level+1) ^ 2 + 17 * (level+1) - 12)) - (50 / 3 * (level ^ 3 - 6 * level ^ 2 + 17 * level - 12)))))},
    {"Magic Level:", string.format("%s (%s%%)", mlevel, mlevelpc)},
    {"Club:", string.format("%s (%s%%)", club, clubpc)},
    {"Axe:", string.format("%s (%s%%)", axe, axepc)},
    {"Sword:", string.format("%s (%s%%)", sword, swordpc)},
    {"Distance:", string.format("%s (%s%%)", distance, distancepc)},
    {"Shielding:", string.format("%s (%s%%)", shielding, shieldingpc)},
    {"Stamina:", string.format("%.2d:%.2d", stamina / 60, stamina % 60)},
    },
    },

    {
    NAME = "OTHERS",
    ELEMENTS = {
    {"Bank Balance:", string.format("%s", formatnumber(balance):gsub("-1", "Unknown"))},
    {"Coordinates:", string.format("%s | %s | %s", posx, posy, posz)},
    {"Cursor ID:", string.format("%s", cursorinfo().id)},
    },
    },
    },

    COLORS = {
    SHADOW = rgbcolor(10, 10, 10),
    TITLE = rgbcolor(255, 165, 0),
    TEXT1 = rgbcolor(205, 200, 177),
    TEXT2 = rgbcolor(255, 255, 255),
    SUBTITLE = rgbcolor(30, 144, 255),
    BUTTON_ON = rgbcolor(107, 142, 35),
    BUTTON_OFF = rgbcolor(178, 34, 34),
    },

    VERSION = "1.0"
    }

    --[[ DON'T EDIT BELOW THIS LINE ]]--

    function addcustomtext(TEXT, X, Y, COLOR)
    setfontcolor(rgbcolor(10, 10, 10))
    if CONFIG.DRAW_TYPE:upper() == "SHADOW" then
    addtext(TEXT, X + 1, Y + 1)
    elseif CONFIG.DRAW_TYPE:upper() == "BORDER" then
    addtext(TEXT, X + 1, Y + 1)
    addtext(TEXT, X - 1, Y - 1)
    addtext(TEXT, X - 1, Y + 1)
    addtext(TEXT, X + 1, Y - 1)
    addtext(TEXT, X, Y + 1)
    addtext(TEXT, X, Y - 1)
    addtext(TEXT, X + 1, Y)
    addtext(TEXT, X - 1, Y)
    end
    setfontcolor(COLOR)
    return addtext(TEXT, X, Y)
    end

    setposition(CONFIG.POSITION.X, CONFIG.POSITION.Y)

    local Y, X = 0, 0

    addcustomtext(HUD.TITLE, X, Y, HUD.COLORS.TITLE)

    for _, SECTION in ipairs(HUD.SECTIONS) do
    Y = Y + 20
    addcustomtext(SECTION.NAME, X, Y, HUD.COLORS.SUBTITLE)
    Y = Y + 20
    for _, ELEMENT in ipairs(SECTION.ELEMENTS) do
    addcustomtext(ELEMENT[1], X, Y, HUD.COLORS.TEXT1)
    addcustomtext(ELEMENT[2], X + CONFIG.TEXT_DISTANCE, Y, (ELEMENT[1] == "Stamina:" and ELEMENT[2] >= "40:00" and HUD.COLORS.BUTTON_ON) or (ELEMENT[1] == "Stamina:" and ELEMENT[2] <= "14:00" and HUD.COLORS.BUTTON_OFF) or HUD.COLORS.TEXT2)
    Y = Y + CONFIG.LINE_DISTANCE
    end
    end

  5. #5
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Quote Originally Posted by MoS View Post
    try Options > Reset HUD

    it seems u opened bot with a character.. then switched character using the same bot client, this way the bot saves the first character's info, like exp
    Sounds like this is exactly what happened...

    If thats not thecase, you can download my HUD, it looks similar to this and has options to add/remove any of the information you want to see.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •