Yoko

All sides of Injection
It is currently 2025-11-14 09:18:04

All times are UTC+02:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Данж
PostPosted: 2007-05-01 09:31:59 
Offline

Joined: 2006-03-15 14:29:33
Posts: 75
Location: Латвия
Нужен скрипт:
Стоищ в данжене и как только какойто игрок приходет то сразу вилетает что-то чтоб я знал что туда кто либо прищол, звук или ерор какойто.

За ранное спасибо.

_________________
It's t1m3 to pvp....


Play hard Go pro


Top
   
 Post subject:
PostPosted: 2007-05-01 10:05:51 
Offline
User avatar

Joined: 2007-02-21 20:15:57
Posts: 479
хы эти скрипты называют маяками =) и обычно ставят на палево гостов в вармоде офф =))

_________________
Шард Антарес
Ururu


Top
   
 Post subject:
PostPosted: 2007-05-01 11:19:14 
Offline

Joined: 2006-03-06 00:40:40
Posts: 1
Ururu wrote:
хы эти скрипты называют маяками =) и обычно ставят на палево гостов в вармоде офф =))

лутше виложи скрипт :twisted:
да и сразу заметно што на антаресе за орка играеш даже аватарка похожа :lol:


Top
   
 Post subject:
PostPosted: 2007-05-01 13:07:52 
Offline
User avatar

Joined: 2004-12-30 18:13:16
Posts: 175
Location: Russia
Code:
sub main()
repeat
if UO.InJournal('attacking you') then
uo.playwav("C:\1.wav")
UO.TextOpen()
UO.TextPrint('Тебя аттачили в  '+Time)
else
Return
end_if
until UO.Dead()
end sub

Писал на ходу, не тестил :) Скрипт работает по принципу если тебя атачили то он проигрывает трек и записывает в окно когда тебя атачили :)

_________________
Design, webdev, coding, c#, php, asp.net, xml, perl, sql, ajax, drawing, illustrating, restoration, photo, photoshop, schedule, pron, guitar, lead-guitar, js, jsp, java, dom, html, *nix, struts, cs, etc


Top
   
 Post subject:
PostPosted: 2007-05-01 21:43:37 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
3Jlo6Hblu' u0ry®T wrote:
Code:
sub main()
repeat
if UO.InJournal('attacking you') then
uo.playwav("C:\1.wav")
UO.TextOpen()
UO.TextPrint('Тебя аттачили в  '+Time)
else
Return
end_if
until UO.Dead()
end sub

Писал на ходу, не тестил :) Скрипт работает по принципу если тебя атачили то он проигрывает трек и записывает в окно когда тебя атачили :)

Гост в вармод оф.. ну конечно :)

Тут надо иначе:
1. Ищем по типу игроков.
2. Если найдено - алертим :)

Code:
; основная функция палева
Sub AlertTime()
var male = "0x0000" ; мужской персонаж
var female = "0x0000" ; женский персонаж
repeat
   uo.FindType( male, "-1", "ground" )
   If Not uo.FindCount() Then
      uo.FindType( female, "-1", "ground" )
   End If
   If uo.FindCount() Then
      uo.TextPrint( "Приходил некто по имени " + uo.getName( "finditem" ) )
      uo.Ignore( "finditem" )
   End If
   wait( 500 )
until false
End Sub


Не забудь в настрйоках уо врубить SHow names of approaching players. По дефолту включено.

PS: 1 игрок = 1 палево, второй раз не пропалит. Так, что не забывай временами делать ,ignorereset.

Можно конечно автоматизировать, но скрипт несколько разрастётся.

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


Top
   
 Post subject:
PostPosted: 2007-05-02 14:12:06 
Offline
User avatar

Joined: 2004-12-30 18:13:16
Posts: 175
Location: Russia
Моя версия не на госта :roll:

_________________
Design, webdev, coding, c#, php, asp.net, xml, perl, sql, ajax, drawing, illustrating, restoration, photo, photoshop, schedule, pron, guitar, lead-guitar, js, jsp, java, dom, html, *nix, struts, cs, etc


Top
   
 Post subject:
PostPosted: 2007-05-02 23:02:06 
Offline
Junior Expert
User avatar

Joined: 2004-06-24 22:08:56
Posts: 3220
3Jlo6Hblu' u0ry®T wrote:
Моя версия не на госта :roll:

Это не важно.

Спорим, я могу тебя убить и этой надписи не появится?)

Просто надо иметь в меру ровные руки, чтобы убивать тихо.

_________________
YokoInjection CodeSweeper
Function not found?
Possession of mathematics at the level of art - a gift that is only available for election.
Sorry for my clumsy English.
Skype: d119060


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

All times are UTC+02:00


Who is online

Users browsing this forum: Bing [Bot] and 2 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