Auto Attack script
Moderators: Murderator+, Murderator
Auto Attack script
I would like to auto cast Im Por Ylem to any player that appears in my screen when y run the script
thanks
thanks
-
- Posts: 2259
- Joined: 2005-04-19 18:00:29
- Location: Московская область
- Contact:
uo.say("Hey BltCh! get out my way!")
var i
DIM t[2]
t[0] = "0x0191"
t[1] = "0x0190"
uo.ignore( "self" )
UO.Set("finddistance","20")
for i = 0 to 1
uo.findtype( t[i] , -1 , "ground" )
if uo.FindCount() then
uo.attack( "finditem" )
uo.cast("Weaken","finditem")
wait(3500)
endif
next
wait(500)
End Sub
ok ok, but now imagine i would like to get everybodys serial, any player on screen. How to do that? Thanks
var i
DIM t[2]
t[0] = "0x0191"
t[1] = "0x0190"
uo.ignore( "self" )
UO.Set("finddistance","20")
for i = 0 to 1
uo.findtype( t[i] , -1 , "ground" )
if uo.FindCount() then
uo.attack( "finditem" )
uo.cast("Weaken","finditem")
wait(3500)
endif
next
wait(500)
End Sub
ok ok, but now imagine i would like to get everybodys serial, any player on screen. How to do that? Thanks

-
- Posts: 308
- Joined: 2005-07-17 15:30:52
- Location: www.drw.ru
Code: Select all
sub Spell()
uo.say("Hey BltCh! get out my way!")
var i, m, id
DIM t[2]
t[0] = "0x0191"
t[1] = "0x0190"
uo.ignore( "self" )
UO.Set("finddistance","20")
for i = 0 to 1
uo.findtype( t[i] , -1 , "ground" )
if uo.FindCount() then
id = uo.getserial('finditem')
uo.print('Aim ID '+id)
uo.attack( "finditem" )
uo.deletejournal('The spell fizzles.')
m = uo.mana
uo.cast("Weaken","finditem")
repeat
wait(100)
until uo.injournal('The spell fizzles.') or m > uo.mana
endif
next
End Sub
-
- Posts: 308
- Joined: 2005-07-17 15:30:52
- Location: www.drw.ru
motxu wrote:k let me explain.
I just want a macro that gets everybodys serial in my screen.
If there are two people, get both serials and associate them with two label.
person one serial = a
person two serial = b
understand now?
what to do with those serials ? write somewher down?
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net
motxu wrote:imagine im getting ganked by two people.
i run the script and got both serials so i can cast Magic Reflection to both players and make them fizzle their spells. (spells in my shard fizzle if a spell hits u while casting)
understand now?
use your hands for that - it's more faster and there will be no problems with scripts
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net
motxu wrote:well , ill use my hands ^^
thanks anyway man, you've been solving nearly all my problems
thanks again
you're welcome

Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net
Code: Select all
UO.Set("finddistance","20")
14 tiles - max