Yoko

All sides of Injection
It is currently 2024-04-19 02:01:02

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: 2014-01-11 01:36:15 
Offline
User avatar

Joined: 2012-12-22 19:14:29
Posts: 125
Code:
sub Ress()
   If UO.Dead() Then
      UO.Print("You Dead")
      Return
   End If
   UO.Set('finddistance','1')
   UO.FindType('0x2006','-1','1')
   If UO.FindCount() Then
      If UO.Count('0x0e21') >= 20 Then
         UO.WaitTargetObject('finditem')
         UO.UseType('0x0e21')
      Else
         UO.Print("You don't have 20 bandages!")
      End If
   Else
      UO.Print("I can't see Corpse!")
   End If
end sub

есть ещё такой вариант тоже подвисает уо(
Code:
sub ress() 
   uo.print("Loading.....")
   UO.Set('finddistance','2')
   UO.FindType('0x2006','-1','ground')
   if (uo.findCount()) then
      uo.setarm('arm')
      uo.waitTargetObject('finditem')
      uo.print("ress......")
      uo.useType('0x0E21')
      wait(3500)
      uo.arm('arm')
      uo.unsetarm('arm')
   end if
end sub


Top
   
PostPosted: 2014-01-11 05:14:57 
Offline
User avatar

Joined: 2012-03-20 00:32:06
Posts: 243
Location: РФ, г. Москва
этот кусок вообще зачем?
Code:
If UO.Dead() Then
   UO.Print("You Dead")
   Return
End If

Пробуй мою
Code:
sub Ress()
   VAR n
   Dim ress[2]
   ress[1] = '0x0192'
   ress[2] = '0x0193'
   for n = 1 To 2
      UO.SetArm('TempWeapon')
      if uo.countground(ress[n]) then
         uo.waittargetground(ress[n])
         uo.usetype('0x0E21')
         uo.print('resurrecting')
         return
      else
         if uo.count('0x0E20')>0 then
            uo.WaitTargettype('0x1008')
            uo.UseType('0x0E20')
         else
            uo.print('НЕТ БИНТОВ!') 
         endif
         uo.print('НЕТ ТРУПОВ!') 
      end if
   next
   uo.waittargetobject('laststatus')
   uo.usetype('0x0E21')
   wait(1000)
   UO.Arm('TempWeapon')   
end sub

_________________
Не быть жадным - уже богатство, не быть расточительным – доход.
TylllKaH
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"


Top
   
PostPosted: 2014-01-11 07:33:06 
Offline
User avatar

Joined: 2009-05-28 09:58:28
Posts: 2802
Location: Иваново
Обычно ресают призраков а не трупы.
Кроме этого скрипты нормальные. Из косметики убрать if (uo.findCount()) then внешние скобки и по возможности все принты. Они лишние.

_________________
Image
YokoInjection CodeSweeper
Ошибка "Unhandled exception in parser"
Стрелялка для олдов.


Top
   
PostPosted: 2014-01-11 16:54:34 
Offline
User avatar

Joined: 2012-12-22 19:14:29
Posts: 125
у нас ресают труп если на госта то он просто хилит его..

что только не пробывал уже у нас супер сервер просто я уже говорил что то сделали что не один скрипт не пашет нормальо, может один два раза реснуть и повиснуть так же с минингом раз капнет и стоит печаль ваше инжект бесполезен((


Top
   
PostPosted: 2014-01-24 08:56:21 
Offline
User avatar

Joined: 2012-12-22 19:14:29
Posts: 125
какая то задержка как я понял там стоит или проверка на что то, я думаю из за этого скрипт повисает периодически,
вот скрин сообщений которые выдает если руками бинты на труп кидаеш http://yadi.sk/d/wP5AMJOiGbsjD


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 38 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