Перейти к содержанию
Форум шарда Middle-Earth

-=Stasy=-

Members
  • Публикаций

    2
  • Зарегистрирован

  • Посещение

Сообщения, опубликованные -=Stasy=-


  1. Ребят помоги пожалуйста, не могу понять что такое со скриптом при запуске пишет Line 37: paste error.

     

     

    # You control Ultima Online client through the global class UO

    # It has methods:

    # UO.Print("string" - print message to the client window.

    # UO.Exec("command" - execute a command. For the list of

    # commands consult documentation.

    # UO.Count("type",["color"]) - returns count of items of type

    # UO.Say("something" - make you character say something.

    # UO.Press(KeyCode[,Count[,Delay]]) - Simulate keypress.

    # KeyCode - Virtual key code.

    # Count - Optional. Number of keypresses.

    # Delay - Time in msec to wait between keypresses.

    # UO.LClick(X,Y) - Simulate left button click.

    # UO.RClick(X,Y) - Simulate right button click.

    # UO.LDblClick(X,Y) - Simulate left button double click.

    # UO.RDblClick(X,Y) - Simulate right button double click.

    # UO.Drag(X1,Y1, X2,Y2 [,amount]) - drag something.

    # If you don't specify amount the whole stock is dragged.

    # You can use "Insert key code" button to get virtual key code.

    # And use "Pick coord" to find mouse coordinates on screen.

    # Don't forget to call function Wait(time in msec) after

    # using skill/spell to wait until it finishes!

    # List of read-only properties:

    # UO.Life, UO.Mana, UO.Stamina, UO.STR, UO.INT, UO.DEX,

    # UO.Weight, UO.Armor, UO.Gold, UO.BM, UO.BP, UO.GA, UO.GS,

    # UO.MR, UO.NS, UO.SA, UO.SS, UO.VA, UO.EN, UO.WH, UO.FD,

    # UO.BR, UO.H, UO.C, UO.M, UO.L, UO.B, UO.AR, UO.BT

    # Save script as autoload.scp to load automatically every start.

    sub mining()

    var i,x

    var a=3 # âåëè÷èíà ðîìáà ïî ïåðèìåòðó êîòîðîãî õîäèò ÷àð.

    wait(1000)

    while not UO.dead()

    for i=1 to a

    start1:

    UO.DeleteJournal()

    wait(100)

    uo.exec("usetype 'pickaxe'" # â îáæåêò òàéï ïðîïèñàòü êèðêó ïîä èìåíåì pickaxe

    wait (500)

    UO.LClick (400,311)

    if (UO.InJournal("attacking you" or UO.InJournal("elemental" or UO.InJournal("an earth elemental" or UO.InJournal("slime") then

    uo.deletejournal()

    uo.say(".guards"

    endif

    wait (1500)

    uo.exec("usetype 'pickaxe'"

    wait (500)

    UO.LClick (383,236)

    if (UO.InJournal("attacking you" or UO.InJournal("elemental" or UO.InJournal("an earth elemental" or UO.InJournal("slime" or UO.InJournal("TrINIxYtE" or UO.InJournal ("ZAGER" or UO.InJournal ("unlucky" or UO.InJournal ("Mr.KuKuRuzo" or UO.InJournal ("UFO" or UO.InJournal ("Dimest" or UO.InJournal ("MAX-TERMIT" or UO.InJournal ("Ostap Bender" or UO.InJournal ("Bogdanov" or UO.InJournal ("DUSHKA" or UO.InJournal ("Snatcher" or UO.InJournal ("Heretic") then

    uo.deletejournal()

    uo.say(".guards"

    endif

    wait(1000)

    If not (UO.InJournal("no ore here to mine." or UO.InJournal("you cannot mine that.") then

    UO.DeleteJournal()

    uo.exec("canceltarget"

    goto start1

    endif

    uo.exec("unequip Rhand"

    uo.press(34)

    next

     

    for x=1 to 1

    wait(500)

    uo.press(35)

    next

     

    for i=1 to a

    start2:

    UO.DeleteJournal()

    wait(100)

    uo.exec("usetype 'pickaxe'"

    wait (500)

    UO.LClick (400,311)

    if (UO.InJournal("attacking you" or UO.InJournal("elemental"or UO.InJournal("an earth elemental" or UO.InJournal("slime" or UO.InJournal("TrINIxYtE" or UO.InJournal ("ZAGER" or UO.InJournal ("unlucky" or UO.InJournal ("Mr.KuKuRuzo" or UO.InJournal ("UFO" or UO.InJournal ("Dimest" or UO.InJournal ("MAX-TERMIT" or UO.InJournal ("Ostap Bender" or UO.InJournal ("Bogdanov" or UO.InJournal ("DUSHKA" or UO.InJournal ("Snatcher" or UO.InJournal ("Heretic") then

    uo.deletejournal()

    uo.say(".guards"

    endif

    wait (1500)

    uo.exec("usetype 'pickaxe'"

    wait (500)

    UO.LClick (383,236)

    if (UO.InJournal("attacking you" or UO.InJournal("elemental"or UO.InJournal("an earth elemental" or UO.InJournal("slime" or UO.InJournal("TrINIxYtE" or UO.InJournal ("ZAGER" or UO.InJournal ("unlucky" or UO.InJournal ("Mr.KuKuRuzo" or UO.InJournal ("UFO" or UO.InJournal ("Dimest" or UO.InJournal ("MAX-TERMIT" or UO.InJournal ("Ostap Bender" or UO.InJournal ("Bogdanov" or UO.InJournal ("DUSHKA" or UO.InJournal ("Snatcher" or UO.InJournal ("Heretic") then

    uo.deletejournal()

    uo.say(".guards"

    endif

    SlayShave ?(14:58):

    wait(10000)

    If not (UO.InJournal("no ore here to mine." or UO.InJournal("you cannot mine that.") then

    UO.DeleteJournal()

    uo.exec("canceltarget"

    goto start2

    endif

    uo.exec("unequip Rhand"

    uo.press(35)

    next

     

    for x=1 to 1

    wait(500)

    uo.press(36)

    next

     

    for i=1 to a

    start3:

    UO.DeleteJournal()

    wait(100)

    uo.exec("usetype 'pickaxe'"

    wait (500)

    UO.LClick (400,311)

    if (UO.InJournal("attacking you" or UO.InJournal("elemental"or UO.InJournal("an earth elemental" or UO.InJournal("slime" or UO.InJournal("TrINIxYtE" or UO.InJournal ("ZAGER" or UO.InJournal ("unlucky" or UO.InJournal ("Mr.KuKuRuzo" or UO.InJournal ("UFO" or UO.InJournal ("Dimest" or UO.InJournal ("MAX-TERMIT" or UO.InJournal ("Ostap Bender" or UO.InJournal ("Bogdanov" or UO.InJournal ("DUSHKA" or UO.InJournal ("Snatcher" or UO.InJournal ("Heretic") then

    uo.deletejournal()

    uo.say(".guards"

    endif

    wait (1500)

    uo.exec("usetype 'pickaxe'"

    wait (500)

    UO.LClick (383,236)

    if (UO.InJournal("attacking you" or UO.InJournal("elemental"or UO.InJournal("an earth elemental" or UO.InJournal("slime" or UO.InJournal("TrINIxYtE" or UO.InJournal ("ZAGER" or UO.InJournal ("unlucky" or UO.InJournal ("Mr.KuKuRuzo" or UO.InJournal ("UFO" or UO.InJournal ("Dimest" or UO.InJournal ("MAX-TERMIT" or UO.InJournal ("Ostap Bender" or UO.InJournal ("Bogdanov" or UO.InJournal ("DUSHKA" or UO.InJournal ("Snatcher" or UO.InJournal ("Heretic") then

    uo.deletejournal()

    uo.say(".guards"

    endif

    wait(10000)

    If not (UO.InJournal("no ore here to mine." or UO.InJournal("you cannot mine that.") then

    UO.DeleteJournal()

    uo.exec("canceltarget"

    goto start3

    endif

    uo.exec("unequip Rhand"

    uo.press(36)

    next

     

    for x=1 to 1

    wait(500)

    uo.press(33)

    next

     

    for i=1 to a

    start4:

    UO.DeleteJournal()

    wait(100)

    uo.exec("usetype 'pickaxe'"

    wait (500)

    UO.LClick (400,311)

    if (UO.InJournal("attacking you" or UO.InJournal("elemental" or UO.InJournal("slime" or UO.InJournal("TrINIxYtE" or UO.InJournal ("ZAGER" or UO.InJournal ("unlucky" or UO.InJournal ("Mr.KuKuRuzo" or UO.InJournal ("UFO" or UO.InJournal ("Dimest" or UO.InJournal ("MAX-TERMIT" or UO.InJournal ("Ostap Bender" or UO.InJournal ("Bogdanov" or UO.InJournal ("DUSHKA" or UO.InJournal ("Snatcher" or UO.InJournal ("Heretic") then

    uo.deletejournal()

    uo.say(".guards"

    endif

    wait (1500)

    uo.exec("usetype 'pickaxe'"

    wait (500)

    UO.LClick (383,236)

    if (UO.InJournal("attacking you" or UO.InJournal("elemental" or UO.InJournal("slime" or UO.InJournal("TrINIxYtE" or UO.InJournal ("ZAGER" or UO.InJournal ("unlucky" or UO.InJournal ("Mr.KuKuRuzo" or UO.InJournal ("UFO" or UO.InJournal ("Dimest" or UO.InJournal ("MAX-TERMIT" or UO.InJournal ("Ostap Bender" or UO.InJournal ("Bogdanov" or UO.InJournal ("DUSHKA" or UO.InJournal ("Snatcher" or UO.InJournal ("Heretic") then

    uo.deletejournal()

    uo.say(".guards"

    endif

    wait(10000)

    If not (UO.InJournal("no ore here to mine." or UO.InJournal("you cannot mine that.") then

    UO.DeleteJournal()

    uo.exec("canceltarget"

    goto start4

    endif

    uo.exec("unequip Rhand"

    uo.press(33)

    next

     

    for x=1 to 1

    wait (500)

    uo.press(34)

    next

    wend

    end sub

     

×
×
  • Создать...