Yoko

All sides of Injection
It is currently 2025-12-25 12:44:38

All times are UTC+02:00




Post new topic  Reply to topic  [ 9 posts ] 
Author Message
PostPosted: 2006-03-16 22:59:43 
Offline

Joined: 2005-03-16 10:14:15
Posts: 46
nuzen skriptik malenjkij i nesloznij.
chtobi delal `emptycontainer 750` na poslednij trup kotorij ubivajet.


Top
   
 Post subject:
PostPosted: 2006-03-16 23:04:11 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Ну так просто в инжекте забиндь на клавишу такую команду:

Code:
,emptycontainer 750 lastcorpse


И будет тебе счастье


Last edited by Edred on 2006-03-16 23:11:36, edited 1 time in total.

Top
   
 Post subject:
PostPosted: 2006-03-16 23:10:08 
Offline

Joined: 2005-03-16 10:14:15
Posts: 46
mne nado chtobi ja mog ostavitj chara okola spavna dlja prokachki.
nado chtobi on ubitogo npc lutal.


Top
   
 Post subject:
PostPosted: 2006-03-16 23:12:58 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Если хочешь чтоб кто-то помог - пиши внятно, что нужно. Подробно распиши, что скрипт должен делать и тогда есть шанс, что кто-то снизойдет.


Top
   
 Post subject:
PostPosted: 2006-03-16 23:20:11 
Offline

Joined: 2005-03-16 10:14:15
Posts: 46
ja ostovljaju chara u respavna npc, nado chtobi skript kogda ja ubivaju npc lutal ego trup, potom opjatj kak toka ja ego ubivaju on ego lutal i tak beskonechno...


Top
   
 Post subject:
PostPosted: 2006-03-16 23:24:19 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Code:
#####################################################################
; BackgroundZonner. v.1.02b (c) Edred
;
; Ожидание сообщения 'Body of' и автоматический лут последнего трупа.
;
sub BackgroundZonner()
   VAR msg1 = 'Body of'
   VAR flag = 1
   If UO.Targeting() Then
      UO.CancelTarget()
   Endif
   DeleteJournal( msg1 )
   While NOT UO.Dead()
      If UO.InJournal( msg1 ) Then
         DeleteJournal( msg1 )
         AutoLoot()
      Else
         wait(300)
      Endif
   Wend
endsub


Функции DeleteJournal и Autoloot возьми из топика "Наследство от Эдреда"


Top
   
 Post subject:
PostPosted: 2006-03-17 00:48:21 
Offline

Joined: 2005-03-16 10:14:15
Posts: 46
#####################################################################
; BackgroundZonner. v.1.02b (c) Edred
;
; Ожидание сообщения 'Body of' и автоматический лут последнего трупа.
;
sub BackgroundZonner()
VAR msg1 = 'Body of Mummy'
VAR flag = 1
If UO.Targeting() Then
UO.CancelTarget()
Endif
UO.DeleteJournal( msg1 )
While NOT UO.Dead()
If UO.InJournal( msg1 ) Then
UO.DeleteJournal( msg1 )
wait(500)
UO.Exec('emptycontainer 750 lastcorpse')
Else
wait(300)
Endif
Wend
endsub



a tak ne luchwe budet vigljajdetj?


Top
   
 Post subject:
PostPosted: 2006-03-17 01:24:07 
Offline
Expert!

Joined: 2004-04-03 17:36:29
Posts: 2544
Location: Saint-Petersburg
Вот так будет лучше:

Code:
##################################################################### 
; BackgroundZonner. v.1.02s (c) Edred
;
; Special Edition for CHYVAKs
;
; Ожидание сообщения 'Body of' и автоматический лут последнего трупа.
;
sub BackgroundZonner()
   VAR msg1 = 'Body of'
   VAR flag = 1
   If UO.Targeting() Then
      UO.CancelTarget()
   Endif
   UO.DeleteJournal()
   While NOT UO.Dead()
      If UO.InJournal( msg1 ) Then
         UO.UseObject( 'lastcorpse' )
         wait(500)
         UO.EmptyContainer( 750, 'lastcorpse' )
         UO.DeleteJournal()
      Else
         wait(300)
      Endif
   Wend
endsub


Top
   
 Post subject:
PostPosted: 2006-03-17 14:23:39 
Offline

Joined: 2005-03-16 10:14:15
Posts: 46
Kruta :lol: :lol: :lol:
boljwoe spasibo...


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 1 guest


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