Yoko

All sides of Injection
It is currently 2025-11-11 03:59:53

All times are UTC+02:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: shard DARKUO pandora box
PostPosted: 2006-04-22 21:56:08 
Offline

Joined: 2005-03-16 10:14:15
Posts: 46
Na sharde estj sunduk kotorij nazivajetsja pandora box <Type=0x09AA>,
ego razlochitj mozno lockpicks <Type=0x14FB>
potom vskritj jashik mozno prosto double klickom,
no pri tom jesli nepoluchajetsja otkritj sunduk otnimajetsja Hits.

interesujet takaja vesh chtobi bral lockpicks i im vskrival pandorku.
pri faile prodolzal vskrivatj. kogda vskril proboval otkritj pandoru,
pri faile prodolzal otkrivatj.
i takkak jesli nepoluchajetsja otkritj pandoru otnimajet hits to chtobi pri 60 hits nehililsja a govoril slovo .camp /na servere estj heal campfire/ i poka nebudet polnije hp /150/ zdal, potom prodolzal daljshe otkrivatj pandori.

jestj li vozmoznostj zdelatj takoi skript?


Top
   
 Post subject:
PostPosted: 2006-04-22 23:08:16 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 746
Location: The Citadel
Проверить возможности нет.
Впиши сообщения при успешном и неудачном юзе локпика и вскрытии коробки.
так же есть подозрения, что после локпикинга айди коробки может меняться. Если это так (проверь), то напиши - подправлю.

Code:
sub Pandora()

var box_luck = 'удачный_юз_локпика' ; заполни месаги
var box_fail = 'физл_при_юзей_локпика'
var open_luck = 'удачно_взломали'
var open_fail = 'физл_взлома'
var bser

 repeat
  uo.findtype( '0x09AA', '-1', 'my' )
    if uo.findcount() == 0 then
      uo.print( 'Пандор больше нет!' )
    endif
  bser = uo.getserial( 'finditem' ) 

    repeat
       uo.deletejournal()
          if uo.count('0x14FB') == 0 then
             uo.print( 'Кончились локпики' )
             return
          endif
       uo.waittargetobject( bser )
       uo.usetype( '0x14FB' )
          repeat
             wait(50)
          until uo.injournal(box_luck) or uo.injournal(box_fail )
    until uo.injournal(box_luck)

    repeat
      uo.deletejournal()
      uo.useobject( bser )
         repeat
              wait(50)
         until uo.injournal(open_luck) or uo.injournal(open_fail )
      if uo.gethp() < 60 then
        uo.msg('.camp')
          while uo.gethp() < uo.getmaxhp()
            wait(50)
          wend
      endif
    until uo.injournal(open_luck)
 until uo.count('0x09AA') == 0

endsub     


Last edited by flake on 2006-04-23 10:04:45, edited 3 times in total.

Top
   
 Post subject:
PostPosted: 2006-04-23 09:41:04 
Offline

Joined: 2005-03-16 10:14:15
Posts: 46
ispravil nemnogo skript, potomuchto pandori nahodjatsja na na polu a v backpacke, shas problema v tom chto on otkrivajet toka odnu pandoru i ostanavlivajetsja. kak mozno dobavitj chtobi proverjal estj li ewo v bacpacke pandori i otkrival i ih...


Top
   
 Post subject:
PostPosted: 2006-04-23 10:05:02 
Offline
Expert!
User avatar

Joined: 2004-08-11 23:56:17
Posts: 746
Location: The Citadel
Исправил.


Top
   
 Post subject:
PostPosted: 2006-04-23 15:38:18 
Offline

Joined: 2005-03-16 10:14:15
Posts: 46
klas, vse rabotajet.

boljwoe spasibo..


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