Signup Now
Page 1 of 6 123 ... LastLast
Results 1 to 10 of 57
  1. #1
    Free User Garkstal's Avatar
    Join Date
    Dec 2013
    Location
    www.garkstalscripts.com
    Posts
    795
    Reputation
    124
    Rep Power
    23

    Train Magic Level - in house

    Train Magic Level - House



    Since many people are asking for this persistant I made one.

    Requirements:



    • Empty bp on yourself
    • Bp with mana potions on ground (1 bp inside another)


    You need to make 2 persistants:

    1st one to open bps, move pots and drop vials

    init start
    BpWithMana = "brown backpack"
    BpOnSelf = "backpack of holding"
    ManaToUse = "mana potion"
    Spells = {First = "exura ico", Second = 'utani tempo hur', Third = 'utani tempo hur'}
    BpPos = {$posx-1, $posy+1, $posz}
    init end

    auto(100)
    if windowcount(BpOnSelf) == 0 then
    closewindows()
    wait(500)
    while windowcount(BpOnSelf) == 0 do
    openitem(0, 'back')
    wait(500,1000)
    resizewindows(0, '0')
    wait(1000)
    end
    end
    if windowcount(BpWithMana) == 0 then
    while windowcount(BpWithMana) == 0 do
    browsefield(BpPos[1], BpPos[2], BpPos[3])
    wait(1000)
    openitem(BpWithMana, "Browse Field", false)
    wait(500,1000)
    resizewindows(0, '1')
    wait(1000)
    end
    end
    if itemcount(ManaToUse, BpOnSelf) <= 10 then
    local FLASKS = {283,284,285}
    for i = 1, #FLASKS do
    while (itemcount(FLASKS[i]) > 0) do
    moveitems(FLASKS[i], ground($posx, $posy, $posz), 'all', 100)
    wait(300)
    end
    end
    local function FreeSlots()
    return getcontainer(BpOnSelf).maxcount-getcontainer(BpOnSelf).itemcount
    end
    local Weight = itemweight(ManaToUse)
    local ItemsToMove = math.ceil(($cap-20)/Weight)
    while ItemsToMove > 0 do
    moveitems(ManaToUse, BpOnSelf, BpWithMana, ItemsToMove)
    wait(500)
    if itemcount(ManaToUse, BpWithMana) == 0 then
    openitem(BpWithMana, BpWithMana, false)
    wait(1000)
    end
    if FreeSlots() <= 1 or (itemcount(ManaToUse, BpWithMana) == 0 and itemcount(BpWithMana, BpWithMana) == 0)then
    break
    end
    ItemsToMove = math.ceil(($cap-20)/Weight)
    end
    end
    if cancastspell(Spells.First) then
    cast(Spells.First)
    wait(200)
    elseif cancastspell(Spells.Second) then
    cast(Spells.Second)
    wait(200)
    elseif cancastspell(Spells.Third) then
    cast(Spells.Third)
    wait(200)
    end


    And 2nd for using mana potion on self:

    auto(100)
    if itemcount(ManaToUse, BpOnSelf) > 9 and $mppc < 80 then
    useoncreature(ManaToUse, $self)
    wait(1000)
    end
    Last edited by Raphael; 09-08-2015 at 06:02 PM. Reason: Upload images to imgur.com
    http://i.imgur.com/lkWkIMg.png
    ........................Script Name......................
    Profession
    Asura Palace ED + EK
    Characters for sale! | Like Our Facebook! | Sell Tibia Gold

  2. #2
    Banned
    Join Date
    Apr 2014
    Posts
    671
    Reputation
    34
    Rep Power
    0
    The master back at work! shit i needa buy a house! xd

  3. #3
    Free User Kostek's Avatar
    Join Date
    Dec 2013
    Posts
    706
    Reputation
    77
    Rep Power
    22
    Quite easy to set up and works well so far, thanks

  4. #4
    Free User Borges's Avatar
    Join Date
    Feb 2014
    Location
    Brazil
    Posts
    1,469
    Reputation
    205
    Rep Power
    25
    you can just drop all potions on the ground... open browsefield remove mana potion from hotkey...
    and put to use mana potions.

    so simple!
    Helped you? REP+

  5. #5
    Free User Fallen's Avatar
    Join Date
    Jul 2014
    Posts
    84
    Reputation
    10
    Rep Power
    20
    nice man!!!

  6. #6
    Free User
    Join Date
    Aug 2014
    Posts
    287
    Reputation
    29
    Rep Power
    20
    sounds good thanks for the share

  7. #7
    Banned
    Join Date
    Aug 2014
    Posts
    139
    Reputation
    19
    Rep Power
    0
    Works fine for me ;P

    Thanks

  8. #8
    Free User
    Join Date
    Sep 2014
    Posts
    12
    Reputation
    10
    Rep Power
    0
    but when i can have 6 bp with mana potion so i can get bp in to bp and he open next?

    ps. who now where is this house from this picture?
    Last edited by Zioomekk; 09-28-2014 at 05:04 PM.

  9. #9
    Free User
    Join Date
    Jan 2014
    Posts
    44
    Reputation
    10
    Rep Power
    0
    @Zioomekk Carlin South West from manashop ^^

  10. #10
    Free User Maniaks's Avatar
    Join Date
    Jul 2014
    Posts
    13
    Reputation
    10
    Rep Power
    0
    what is the name of the house of That image?
    thank you

 

 

Posting Permissions

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