Results 1 to 6 of 6

Thread: Simple hud

  1. #1
    Normal User
    Join Date
    May 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Simple hud

    hello, can someone make little hud for me?

    i just want to have hud which count how many Carniphilas and Tarantulas bot killed.
    thx.

  2. #2
    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
    I didn't write this, i found it on the forums and use it in my Edron Demons Script

    I take no credit for this, just forgot who wrote it.

    PHP Code:
    local SCREEN_XSCREEN_Y 2025
    local CONSIDER_MONSTERS 
    = {"Carniphila""Tarantula"} -- can add more

    --[[ ENGINE ]]--
    local SCRIPT_INFO "Name: Task Helper\nVersion: 1.3.1\nAuthor: Ropiderz"
    local SERVER_LOG_MSG getmessages("Server Log")
    local SERVER_LOG_MSG_COUNTKILLED_CREATURES SERVER_LOG_MSG.count 10
    for INDEX 0SERVER_LOG_MSG_COUNT do
        if (
    SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT INDEX].text:find('Loot of a') and SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT INDEX].type == 19then
            
    for _MONSTER in ipairs(CONSIDER_MONSTERS) do
                if (
    SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT INDEX].text:find(MONSTER:lower())) then
                    KILLED_CREATURES 
    KILLED_CREATURES 1
                end
            end
        end
    end
    addtext
    ("You have killed " .. KILLED_CREATURES .. " Demon(s) total."SCREEN_XSCREEN_Y+15)
    addtext("Killing " ..math.floor(KILLED_CREATURES/(timems/1000/60/60)).. " Demon(s) an hour."SCREEN_XSCREEN_Y
    Last edited by pink_panther; 05-07-2013 at 11:09 PM.

  3. #3
    iBot User Taqan's Avatar
    Join Date
    Feb 2013
    Posts
    188
    Mentioned
    16 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    21 Post(s)
    Reputation
    119
    Rep Power
    5
    Quote Originally Posted by pink_panther View Post
    I didn't write this, i found it on the forums and use it in my Edron Demons Script

    I take no credit for this, just forgot who wrote it.

    PHP Code:
    local SCREEN_XSCREEN_Y 2025
    local CONSIDER_MONSTERS 
    = {"Carniphila""Tarantula"} -- can add more

    --[[ ENGINE ]]--
    local SCRIPT_INFO "Name: Task Helper\nVersion: 1.3.1\nAuthor: Ropiderz"
    local SERVER_LOG_MSG getmessages("Server Log")
    local SERVER_LOG_MSG_COUNTKILLED_CREATURES SERVER_LOG_MSG.count 10
    for INDEX 0SERVER_LOG_MSG_COUNT do
        if (
    SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT INDEX].text:find('Loot of a') and SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT INDEX].type == 19then
            
    for _MONSTER in ipairs(CONSIDER_MONSTERS) do
                if (
    SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT INDEX].text:find(MONSTER:lower())) then
                    KILLED_CREATURES 
    KILLED_CREATURES 1
                end
            end
        end
    end
    addtext
    ("You have killed " .. KILLED_CREATURES .. " Demon(s) total."SCREEN_XSCREEN_Y+15)
    addtext("Killing " ..math.floor(KILLED_CREATURES/(timems/1000/60/60)).. " Demon(s) an hour."SCREEN_XSCREEN_Y
    local SCRIPT_INFO = "Name: Task Helper\nVersion: 1.3.1\nAuthor: Ropiderz"


    ------------------------------------Latest Releases:------------------------------------
    Vocations:
    Oramond Hydra Cave
    Ankrahmun Horestis Tomb
    Yalahar Vengoth Castle North
    Orc Fortress
    For a better iBot!

    (◣_◢)

  4. #4
    Normal User
    Join Date
    May 2013
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    thanks.

  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 Taqan View Post
    local SCRIPT_INFO = "Name: Task Helper\nVersion: 1.3.1\nAuthor: Ropiderz"
    well there you go, just copy n pasted it out of an old script, didnt bother reading it.

  6. #6
    iBot User
    Join Date
    Sep 2012
    Posts
    239
    Mentioned
    10 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    46 Post(s)
    Reputation
    23
    Rep Power
    5
    Quote Originally Posted by pink_panther View Post
    I didn't write this, i found it on the forums and use it in my Edron Demons Script

    I take no credit for this, just forgot who wrote it.

    PHP Code:
    local SCREEN_XSCREEN_Y 2025
    local CONSIDER_MONSTERS 
    = {"Carniphila""Tarantula"} -- can add more

    --[[ ENGINE ]]--
    local SCRIPT_INFO "Name: Task Helper\nVersion: 1.3.1\nAuthor: Ropiderz"
    local SERVER_LOG_MSG getmessages("Server Log")
    local SERVER_LOG_MSG_COUNTKILLED_CREATURES SERVER_LOG_MSG.count 10
    for INDEX 0SERVER_LOG_MSG_COUNT do
        if (
    SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT INDEX].text:find('Loot of a') and SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT INDEX].type == 19then
            
    for _MONSTER in ipairs(CONSIDER_MONSTERS) do
                if (
    SERVER_LOG_MSG[SERVER_LOG_MSG_COUNT INDEX].text:find(MONSTER:lower())) then
                    KILLED_CREATURES 
    KILLED_CREATURES 1
                end
            end
        end
    end
    addtext
    ("You have killed " .. KILLED_CREATURES .. " Demon(s) total."SCREEN_XSCREEN_Y+15)
    addtext("Killing " ..math.floor(KILLED_CREATURES/(timems/1000/60/60)).. " Demon(s) an hour."SCREEN_XSCREEN_Y
    Shouldn't getmessages be changed to getnewmessages due to CPU usage issues?

Posting Permissions

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