Yoko

All sides of Injection
It is currently 2025-11-30 08:44:32

All times are UTC+02:00




Post new topic  Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Script for DETECT HIDDEN
PostPosted: 2005-01-05 14:34:09 
Offline

Joined: 2005-01-05 14:31:35
Posts: 6
I need a script for INJECTION YOKO that allow a PG hiding and when someone discover him from the hiding, we RE-HIDE. He must hide only if will be discovered not continuos hide.


Top
   
PostPosted: 2005-01-05 14:44:21 
Offline
Sphere expert
User avatar

Joined: 2004-10-01 08:27:38
Posts: 1143
Location: Уфа
SHIN wrote:
I need a script for INJECTION YOKO that allow a PG hiding and when someone discover him from the hiding, we RE-HIDE. He must hide only if will be discovered not continuos hide.

Code:
sub Detect_Hidden()
Var i=0
repeat
i=i+1
cheklag()
uo.UseSkill('Detect Hidden')
uo.deletejournal()
repeat
wait(10)
until UO.InJournal("You can see nothing hidden there.") or UO.InJournal("You find")
if i==50 then
i=0
cheklag()
uo.useskill("Spirit Speak")
uo.deletejournal()
repeat
wait(10)
until UO.InJournal("You establish a connection to the netherworld.") or UO.InJournal("You fail your attempt at contacting the netherworld.")
uo.usetype('0x09BB')
wait(1000)
end if
until uo.Dead()
end sub

sub Hiding()
repeat
while not UO.Hidden()
UO.Warmode("0")
uo.print("Hiding...")
UO.UseSkill("Hiding")
UO.DeleteJournal()
Repeat
Wait(10)
Until UO.InJournal("You have hidden yourself well") or UO.InJournal("You can't seem to hide here.")
wend
until uo.dead()
end sub

sub cheklag()
uo.deletejournal()
uo.click('backpack')
repeat
wait(10)
until uo.InJournal("backpack")
end sub


Сам разберёшься, не шарю как по вашему обьяснить что есть это !!!
sub Detect_Hidden() для чара что качает детект
sub Hiding() для чара который рядышком стоит, ну мне ещё Sfagnum помогал копая невдалеке и недоумевая почему когда он киркой машет то из хайда выскакивает !!! :mrgreen:
Ну и без Спирита на ДРВ терь уже скрипты не модно писать !!!

_________________
Сделал дело - флуди смело !!!


Top
   
PostPosted: 2005-01-05 19:36:01 
Offline

Joined: 2005-01-05 14:31:35
Posts: 6
Askaneli wrote:
SHIN wrote:
I need a script for INJECTION YOKO that allow a PG hiding and when someone discover him from the hiding, we RE-HIDE. He must hide only if will be discovered not continuos hide.

Code:
sub Detect_Hidden()
Var i=0
repeat
i=i+1
cheklag()
uo.UseSkill('Detect Hidden')
uo.deletejournal()
repeat
wait(10)
until UO.InJournal("You can see nothing hidden there.") or UO.InJournal("You find")
if i==50 then
i=0
cheklag()
uo.useskill("Spirit Speak")
uo.deletejournal()
repeat
wait(10)
until UO.InJournal("You establish a connection to the netherworld.") or UO.InJournal("You fail your attempt at contacting the netherworld.")
uo.usetype('0x09BB')
wait(1000)
end if
until uo.Dead()
end sub

sub Hiding()
repeat
while not UO.Hidden()
UO.Warmode("0")
uo.print("Hiding...")
UO.UseSkill("Hiding")
UO.DeleteJournal()
Repeat
Wait(10)
Until UO.InJournal("You have hidden yourself well") or UO.InJournal("You can't seem to hide here.")
wend
until uo.dead()
end sub

sub cheklag()
uo.deletejournal()
uo.click('backpack')
repeat
wait(10)
until uo.InJournal("backpack")
end sub


Seems not work for the follow reason:

1) No main sub found
2) If i launch one of the sub found in YOKO, it says FUCTION NOT FOUND
3) Strange messages that does not appear in my shard

Any suggestions?


Top
   
 Post subject:
PostPosted: 2005-01-05 19:36:45 
Offline

Joined: 2005-01-05 14:31:35
Posts: 6
This macro must launched from the pg that use hiding not from the man that must detect


Top
   
 Post subject:
PostPosted: 2005-01-05 19:43:35 
Offline

Joined: 2005-01-05 14:31:35
Posts: 6
Maybe these are the two parts of a macro: 1 is for hidden player and the other for detector player. But changing SUB HIDING with SUB MAIN it says FUNCTION NOT FOUND anyway..why?


Top
   
 Post subject:
PostPosted: 2005-01-05 20:50:12 
Offline

Joined: 2005-01-05 14:31:35
Posts: 6
sub Hiding()
repeat
while not UO.Hidden()
UO.Warmode("0")
uo.print("Hiding...")
UO.UseSkill("Hiding")
UO.DeleteJournal()
Repeat
Wait(10)
Until UO.InJournal("You have hidden yourself well") or UO.InJournal("You can't seem to hide here.")
wend
until uo.dead()
end sub

changed to sub main(), if hiding fail, he don't re try to rehide. The macro would be something like this:

sub main()

Repeat
UO.Useskill ("Hiding")
UO.deletejournal ()
Uo.Press(123)
Repeat
wait (1000)
Until UO.injournal ("You have hidden yourself well")
Uo.Press(123)
#wend
if UO.InJournal ("You can't seem to hide here") then
UO.Useskill ("Hiding")
UO.deletejournal ()
Uo.Press(123)
Repeat
wait (1000)
Until UO.injournal ("You have hidden yourself well")
#wend
If UO.injournal ("You have been discovered!") then
Uo.Press(123)
UO.Useskill ("Hiding")
UO.deletejournal ()
Uo.Press(123)
Repeat
wait (1000)
Until UO.injournal ("You have hidden yourself well")
wend
end sub

This macro of course does not work


Top
   
 Post subject:
PostPosted: 2005-01-05 20:50:50 
Offline

Joined: 2005-01-05 14:31:35
Posts: 6
press 123 is war/peace mode


Top
   
 Post subject:
PostPosted: 2005-01-10 06:40:38 
Offline
Sphere expert
User avatar

Joined: 2004-10-01 08:27:38
Posts: 1143
Location: Уфа
Блин
Переведите кто нить плиз !!! Ничё не понял !!!

_________________
Сделал дело - флуди смело !!!


Top
   
 Post subject:
PostPosted: 2005-01-10 10:11:37 
Offline
Expert!
User avatar

Joined: 2004-07-04 00:14:58
Posts: 1284
you must launch fo 1'st char sub Detect_Hidden() for 2'nd sub Hiding()
and that's all


Top
   
 Post subject:
PostPosted: 2005-01-31 03:30:11 
Offline

Joined: 2004-07-25 05:16:04
Posts: 57
Блин асканелли ну и назвал ты тему ) Я поиску заипался искать )


Top
   
 Post subject:
PostPosted: 2005-01-31 05:12:09 
Offline
User avatar

Joined: 2004-11-07 01:22:35
Posts: 291
Location: Черкассы
Мдя..... ну вы америкоцы и тупые.........
Асканели лутше бы ты незнал чё они тут напороли.....:)
такой бред несут хахаха!!!


Top
   
 Post subject:
PostPosted: 2005-01-31 06:25:19 
Offline
Sphere expert
User avatar

Joined: 2004-10-01 08:27:38
Posts: 1143
Location: Уфа
Goggy wrote:
Мдя..... ну вы америкоцы и тупые.........
Асканели лутше бы ты незнал чё они тут напороли.....:)
такой бред несут хахаха!!!

Я и не знаю !!!

_________________
Сделал дело - флуди смело !!!


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

All times are UTC+02:00


Who is online

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