Yoko

All sides of Injection
It is currently 2024-04-19 19:12:58

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2012-01-08 17:07:33 
Offline

Joined: 2009-10-07 20:19:34
Posts: 12
Добрый день!
Никак не пойму, в чём трабла?

Взял с Вашего форумп скрипт

Code:
sub flame() 
UO.Set('lasttarget','laststatus')
UO.Cast("Flame","laststatus")
wait(30)
uo.fontcolor('0x000')
uo.msg(' ')
uo.fontcolor('0x000')
uo.msg(' ')
uo.fontcolor('0x000')
uo.msg(' ')
wait(100)
uo.exec("useobject 0x000241db")
end sub

если загружаю его через load, и задаю ему в Hotkeys: exec Flame на F3
То всё окей.

После чего, я загрузил например ещё такой скрипт
Code:
sub weaken() 
UO.Set('lasttarget','laststatus')
UO.Cast("Weaken","laststatus")
wait(100)
uo.fontcolor('0x000')
uo.msg(' ')
uo.fontcolor('0x000')
uo.msg(' ')
uo.fontcolor('0x000')
uo.msg(' ')
wait(100)
uo.exec("useobject 0x000241db")
end sub

Задал ему в Hotkeys exec weaken
Но выдаёт еррор, т.е я могу кастовать только 1 каст если он загружен в load, а как сделать, что-бы все мои 5 кастов (такого типа, срабатывали по моим кнопкм)


Спасибо


Top
   
PostPosted: 2012-01-08 20:09:50 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Было бы не плохо привести текст ошибки, телепаты в отпуске.


Top
   
PostPosted: 2012-01-08 21:24:08 
Offline
User avatar

Joined: 2006-12-08 10:51:50
Posts: 718
Location: Москва
надо все касты разместить в один файл


Top
   
PostPosted: 2012-01-09 18:43:12 
Offline
Expert!
User avatar

Joined: 2005-09-14 15:31:58
Posts: 2152
Location: Latvia
load.sc:
Code:
sub weaken() 
UO.Set('lasttarget','laststatus')
UO.Cast("Weaken","laststatus")
wait(100)
uo.fontcolor('0x000')
uo.msg(' ')
uo.fontcolor('0x000')
uo.msg(' ')
uo.fontcolor('0x000')
uo.msg(' ')
wait(100)
uo.exec("useobject 0x000241db")
end sub
sub flame()
UO.Set('lasttarget','laststatus')
UO.Cast("Flame","laststatus")
wait(30)
uo.fontcolor('0x000')
uo.msg(' ')
uo.fontcolor('0x000')
uo.msg(' ')
uo.fontcolor('0x000')
uo.msg(' ')
wait(100)
uo.exec("useobject 0x000241db")
end sub

_________________
Уроки языка Injection
Основные команды языка Injection
Yoko Injection Code Sweeper
Drw (2009) скрипты
2017 Начал играть на Uorpg.net


Top
   
PostPosted: 2012-01-09 23:53:46 
Offline

Joined: 2009-10-07 20:19:34
Posts: 12
spasib


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited