Results 1 to 9 of 9

Thread: few problems

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

    few problems

    1. how to make auto utani gran hur
    2. how to make gp -> pc, pc -> cc?

    please step-by step

  2. #2
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    Make 2 new actions:

    1. Utani Gran Hur
    Lua Code:
    if not hasted and cancast("utani gran hur") then
    cast("utani gran hur")
    end


    2. Gold Changer - Change blue backpack to backpack where you have gp.
    Lua Code:
    local backpack_name = "blue backpack"
    while itemcount ( "gold coin" ) >= 100 do
    useitem( "gold coin" , backpack_name )
    end
    while itemcount ( "platinum coin" ) >= 100 do
    useitem( "platinum coin" , backpack_name )
    end

  3. #3
    Normal User
    Join Date
    Feb 2013
    Posts
    6
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    4
    GP script doesn't work. It's because I type "Backpack" here (normal one)? Need to be colorful?

  4. #4
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    Quote Originally Posted by npantera View Post
    GP script doesn't work. It's because I type "Backpack" here (normal one)? Need to be colorful?
    Paste here your debug log.

  5. #5
    zami84's Avatar
    Join Date
    May 2012
    Posts
    316
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    48
    Rep Power
    5
    local backpack_name = "blue backpack"
    while itemcount ( "gold coin", backpack_name) >= 100 do
    useitem( "gold coin" , backpack_name)
    end
    while itemcount ( "platinum coin", backpack_name) >= 100 do
    useitem( "platinum coin" , backpack_name )
    end

  6. #6
    Normal User
    Join Date
    Feb 2013
    Posts
    6
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    4
    Quote Originally Posted by Eldar View Post
    Paste here your debug log.
    do what...? =D

  7. #7
    zami84's Avatar
    Join Date
    May 2012
    Posts
    316
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    48
    Rep Power
    5
    That will not work, cuz bot try to use a first stack in bp....

  8. #8
    Premium User Eldar's Avatar
    Join Date
    Apr 2013
    Location
    Poland
    Posts
    1,335
    Mentioned
    37 Post(s)
    Tagged
    2 Thread(s)
    Quoted
    62 Post(s)
    Reputation
    159
    Rep Power
    7
    I dont know if it is possible, but try it ;p

    Lua Code:
    local backpack_name = "blue backpack"
    while itemcount ("gold coin") >= 100 do
    openitem("gold coin", backpack_name, false, 2)
    end
    while itemcount ("platinum coin") >= 100 do
    openitem("platinum coin", backpack_name, false, 2)
    end

  9. #9
    Normal User
    Join Date
    Feb 2013
    Posts
    6
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    10
    Rep Power
    4
    Doesn't work too.

Posting Permissions

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