Yoko

All sides of Injection
It is currently 2025-11-05 22:51:25

All times are UTC+02:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: 2006-03-15 01:32:03 
Offline

Joined: 2006-03-14 09:51:46
Posts: 11
Ребят, еще одна просьба будет, для полного счастья. Може кто накарябать тут простенький скриптик, задача которого будет:

Один чар убвиает второго, потом ресает его с бинтов, потом вновь убивает и т.д. (но-стопом)


Top
   
 Post subject:
PostPosted: 2006-03-15 03:04:48 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Code:
sub bb()
var 4el = '0x023E', 4elid
while true
   uo.findtype(4el,-1,'ground')
   if uo.findcount() > 0 then
      4elid = uo.getserial('finditem')
      uo.warmode(true)
      uo.attack(4elid)
      wait(10000)
   else
      if uo.gethp() < uo.str then
         uo.bandageself()
         wait(5000)
      end if
   end if
 uo.waittargetobject('0x00288D0E')
 uo.useType('0x0E21')
 wait(5000)
wend


Top
   
 Post subject:
PostPosted: 2006-03-15 11:51:46 
Offline

Joined: 2006-03-14 09:51:46
Posts: 11
при старте пишет
"Line 2: parse error"


Top
   
 Post subject:
PostPosted: 2006-03-15 12:34:25 
Offline

Joined: 2005-04-19 18:00:29
Posts: 2259
Location: Московская область
Code:
sub bb() 
var chel = '0x023E' ; Тип чела
var chelid
 
while true
   uo.findtype(chel,-1,'ground')
   if uo.findcount() > 0 then
      chelid = uo.getserial('finditem')
      uo.warmode(true)
      uo.attack(chelid)
      wait(10000)
   else
      if uo.gethp() < uo.str then
         uo.bandageself()
         wait(5000)
      end if
   end if
 uo.waittargetobject('0x00288D0E')
 uo.useType('0x0E21')
 wait(5000)
wend
end sub


Last edited by Scripts Writer on 2006-03-15 14:42:59, edited 1 time in total.

Top
   
 Post subject:
PostPosted: 2006-03-15 14:39:39 
Offline

Joined: 2006-03-14 09:51:46
Posts: 11
Ща повешуся:"((((

Теперь выдает туже ошибку только Line 8.

А скрипт очень нужен...


Top
   
 Post subject:
PostPosted: 2006-03-15 14:43:14 
Offline

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


Top
   
 Post subject:
PostPosted: 2006-03-15 16:11:39 
Offline

Joined: 2006-03-14 09:51:46
Posts: 11
хахах! Супер! Теперь все пашет! Но только чар, который должен убивать и ресать, сам себя убивает, а потом пытается реснуть:") Причем в скрипте ID прописываю другого чара (id = 0x0190)


Top
   
 Post subject:
PostPosted: 2006-03-15 16:30:32 
Offline
User avatar

Joined: 2005-08-18 09:09:18
Posts: 104
Location: RUSSIA
Обманул тебя я злостно:)


Last edited by Toolmate on 2006-03-15 21:37:22, edited 1 time in total.

Top
   
 Post subject:
PostPosted: 2006-03-15 18:57:53 
Offline

Joined: 2006-03-14 09:51:46
Posts: 11
Ррррр. Теперь пишет что мол не могет таргет определить или его не существует... Даже не атакует. Хотя ИДишник второго чара нормально прописал:"((


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 7 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