Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Blong Library v1.1.1

  1. #1
    Normal User Blong's Avatar
    Join Date
    Dec 2012
    Posts
    115
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    4

    Blong Library v1.1.1

    Hi guys, today i will release my first version of my library. Please, note that have very useful functions and that i am accepting suggestions for make more better.

    First, below you will find the links for get the library, and more down the documentation, screens and examples.


    Version: 1.1.2

    Last Updated: 07/01/2013



    Pastebin:


    http://pastebin.com/fTSDszTc

    Copy all the code and past in a archive .lua and put on Library Folder of iBot.


    Last edited by Blong; 01-07-2013 at 05:24 PM.

  2. #2
    Normal User Blong's Avatar
    Join Date
    Dec 2012
    Posts
    115
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    4

    Changelog's

    • v1.1.2 - 07/01/2013 - Added the new function alertbeep(), added the new function safebankmsgbox() that open a box with a message information why are close, added the new function refillfirewalker(), added the new function function openbps(string mainbp name, string lootbp name, string goldbp name, string supbp name, boolean if want use supbp), added the new function checkbp(int amount check, string label to go if have less)
    • v1.1.1 - 03/01/2013 - Added some functions from LucasTerra for the better use, add the new function buyitemforcap(string item name, int cap to stop buy), add the new function findnpctravel() return the npc name, add the new function enchantspear(amount to enchant), add the new function antispamnpc(string message, int times to close)
    • v1.0.0 - 01/01/2013 - Initial release
    Last edited by Blong; 01-07-2013 at 05:20 PM.

  3. #3
    Normal User Blong's Avatar
    Join Date
    Dec 2012
    Posts
    115
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    4

    Functions

    • travel(string city name, string npc boat name) -- Used to travel for citys, example of darashia to venore: travel("venore", "petros").
    • refillsoft() -- Used to refill your soft boots on Npc.
    • messagebox(string message text) -- Return the box with a message(screen below), example messagebox("hi world, Blong is beautiful").
    • softchanger(string main boots name, int percent to change) -- Used to change soft boots, example softchanger("boots of haste", 95).
    • usehaste(string haste name) -- Used for haste's, example usehaste("utani hur") or usehaste("utani gran hur") or usehaste("utani tempo hur").
    • antifaceplayer() -- Used for not let the char attack other players with strikes.
    • screenup() -- Take a screen when anything has advanced
    • addmanahud() -- HUD of Mana Status same of the MageBot, just add on New Hud it: addmanahud()
    • screendeath() -- Used for take a screen when you are dead(30 of hp).
    • userusty() -- Use rusty remover on rusty's and drop the trashs.
    • openmainbp() -- Open the main backpack.
    • findweapon() -- Return the id of your weapon.
    • setinput(string condition) -- Set the condition on input same cavebot, example setinput("yes")
    • sethud(string condition) -- Set the condition on hud same cavebot, example sethud("yes")
    • activeall() -- Set "yes" on all engines of iBot.
    • manatrain(string spell name, int mana to use) -- Simple mana train, example manatrain("exura", 100)
    • rune(string rune to conjure, int mana to make) -- Simple rune maker, example rune("adori gran mort", 1000)
    • siofriend(string friend name, int hp percent to sio) -- Simple sio friend, example siofriend("Blong", 60)
    • alertpkattack() -- Alert if have pk around, NOT WORK YET.
    • eqitem(string item name, string local to) -- Equip any item, example eqitem("boots of haste", "boots") or eqitem("life ring", "ring")
    • checksups(string supplie name, string amount to check, string label to go) -- Check the supplies, example checksups("mana potion", 100, "leave")
    • dropgold() -- Drop all gold visible on screen.
    • exoriuse(array monsters consider name, amount monsters, boolean pvp world) -- Use exori in monsters, example exoriuse("dragon lord", "dragon", 2, true)
    • dropvial() -- Drop all empty flasks.
    • eatfoods() -- Eat food every 1 minute.
    • usepotionmyself(string potion name) -- Use a potion in yourself, example usepotionmyself("health potion")
    • healbypc(string spell heal name, int percent life to heal) -- Healer for action, example healbypc("exura", 70)
    • setaction(string action name, string state condition) -- Set yes or no in any action, example setaction(Haste, "yes")
    • lowstamina(int hours to logout) -- Close tibia with low stamina, example lowstamina(14) will logout with 14 hours of stamina.
    • withdrawmoney(int amount money) -- Withdraw money from bank, example withdrawmoney(10000) will withdraw 10k.
    • safebank() -- A simple safe bank, close tibia if you no have more money.
    • getfullmana() -- Return your max mana.
    • infocreature(string creature name) -- Get informations inside of a table, example infocreature("dragon").hp return the HP of Dragon.
    • creaturexp(string creature name) -- Get the exp of creature, example creaturexp("dragon") return the EXP of Dragon.
    • checklocation(string label to go, int range to check) -- Check if you are in the correct position, example checklocation("antesescada", 1)
    • useue(string ue name) -- Use UE, example useue("exevo gran mas vis")
    • levitateup(string where) -- Use exani hur up, you can use "s", "n", "w" e "e", example levitateup("s")
    • levitatedown(string where) -- Use exani hur down, you can use "s", "n", "w" e "e" "s", "n", "w" e "e", example levitatedown("s")
    • input() -- Return the status of input, true or false, example if input() == false then...
    • useutura(string utura name, boolean consider monsters around) -- Use utura, example useutura("utura gran", false)
    • arearune(string rune name, int amount monsters, array monsters, boolean pvp server) -- Use a rune in the monsters defined in the function, example arearune("avalanche rune", 2, "dragon", "dragon lord", true)
    • alertplayerarea(string player name) -- Alert if have a player defined in function around, example alertplayerarea("Blong")
    • openanydoor(int id door, x, y) -- Open any door, just need define the ID of door and x, y, example openanydoor(7515, 33212, 31250)
    • usemachinegem(string name small) -- Use smalls on spheres machine, example usemachinegem("enchanted small ruby")
    • antiidle() -- Anti Idle simple.
    • goback(string label name) -- Equal gotolabel(), example goback("leave")
    • refillammo(string bolt/arrow name) -- Refill bolts and arrows, example refillammo("power bolt")
    • printerror(string text) -- Same of NeoBot, open a box with the message, example printerror("i'm blong level "..level)
    • pickupgoldaround() -- Get gold around your char, while others lose loot by playing gold on top of the monsters.
    • usequickloot(string condition) -- IF want get the loot immediately after killing the monsters or after all killed, example usequickloot("yes")
    • bossalert(string boss name) -- Alert if find the boss name, example bossalert("undead cavebar")
    • logoutinxtime(int hour to logout) -- Make logout in the hour defined, example logoutinxtime("4:55")
    • potionalert(string potion name, int amount to alert) -- Alert if the amount of potions is below of set in function, example potionalert("mana potion", 15)
    • buyitemforcap(string item name, int cap to stop buy) -- Buy amount of items defined in the function currently have the cap defined too, example buyitemforcap("mana potion", 100) will buy mana potions currently have more that 100 of cap.
    • findnpctravel() -- Return the name of npc in the screen.
    • enchantspear(int amount to enchant) -- Enchant the spears using "exeta con", note that just enchant if you have spears, example enchantspear(10)
    • antispamnpc(string message, int times to close) -- Anti SPAM npc, example antispamnpc("hi", 20)
    • alertbeep() -- Just a beep alert.
    • safebankmsgbox() -- Simple safe bank, but if you don't have more money on bank he open the messagebox(printerror) telling what happened.
    • refillfirewalker() -- Just refill the firewalker boots using the small enchanted ruby.
    • openbps(string mainbp name, string lootbp name, string goldbp name, string supbp name, boolean if want use supbp) -- Open backpacks.
    • checkbp(int amount check, string label to go if have less) -- Check your amount of backpacks that are open, if have less that you set he go to label defined by you.
    Last edited by Blong; 01-07-2013 at 05:23 PM.

  4. #4
    Normal User Blong's Avatar
    Join Date
    Dec 2012
    Posts
    115
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    4
    Please, if you find some bug, report here.

  5. #5
    Normal User Faj's Avatar
    Join Date
    Mar 2012
    Posts
    259
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    3 Post(s)
    Reputation
    32
    Rep Power
    5
    Nice functions.
    Good luck friend
    Faj
    Scripter, Seller and much more.
    Your friend Faj.

    One of the firsts of use ibot.
    Member since the development.
    One of the firsts to be a scripter.
    The first to have a Script Store!
    One of the most trusted members of the forum
    I'm not a player, i'm a dreamer!

  6. #6
    Normal User
    Join Date
    Feb 2012
    Location
    Chile
    Posts
    50
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    9
    Rep Power
    0
    o.o a lot of good funtions, rep for u !!!

  7. #7
    Premium User Drama's Avatar
    Join Date
    Feb 2012
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    omg, nice funtions

  8. #8
    Normal User Blong's Avatar
    Join Date
    Dec 2012
    Posts
    115
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    4
    Quote Originally Posted by Drama View Post
    omg, nice funtions
    Thank you, if you have new ideas, please tell me for i make.

  9. #9

    Join Date
    Jul 2012
    Posts
    362
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    45
    Rep Power
    5
    Nice functions.
    You can do shortcut for pos check
    if the simple script is:
    if not islocation(int) then gotolabel(x) end. You can do shortcut like poscheck(int, string wpt name) ex. poscheck(1, "GoHunt")
    Its quite boring to say it 50x times in 1 big script.

  10. #10
    Normal User Blong's Avatar
    Join Date
    Dec 2012
    Posts
    115
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    14
    Rep Power
    4
    Quote Originally Posted by tubcio View Post
    Nice functions.
    You can do shortcut for pos check
    if the simple script is:
    if not islocation(int) then gotolabel(x) end. You can do shortcut like poscheck(int, string wpt name) ex. poscheck(1, "GoHunt")
    Its quite boring to say it 50x times in 1 big script.
    I already do this, check the List.

    Code:
    checklocation(string label to go, int range to check) -- Check if you are in the correct position, example checklocation("antesescada", 1)

Posting Permissions

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