Yoko

All sides of Injection
It is currently 2025-11-22 19:44:47

All times are UTC+02:00




Post new topic  Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Anti PK
PostPosted: 2004-04-22 00:57:17 
Offline

Joined: 2004-04-17 15:35:31
Posts: 8
Here a little script that try to avoid to be killed :)
The only things you have to modify are
- the runebook ID (use ,info on the rune)
- the rune number (in my shard the first is 16)

Remember to recharge your runebook and keep it closed while running this function, or it will not recall.

sub antipk()
var start, stop
var lHID, rHID

UO.Set("norbcheck","1")
UO.Set("norbcalc","1")

REPEAT
UO.IgnoreReset()
UO.Ignore("self")

REPEAT
UO.FindType("-1","-1","ground")

IF (UO.FindCount() > 0) THEN
IF (UO.IsNPC("finditem") AND (UO.GetNotoriety("finditem") > 3)) THEN
rHID = UO.ObjAtLayer('Rhand')
lHID = UO.ObjAtLayer('Lhand')
start = UO.Timer()
REPEAT
UO.Exec("disarm")
wait(50)
UNTIL ((UO.ObjAtLayer('Rhand') == "") AND (UO.ObjAtLayer('Lhand') == ""))
stop = UO.Timer()
UO.Recall("0x5c218c13", "16")

UO.Print("PK!!! " + UO.GetName("finditem"))
UO.Print("Time =" + str((stop-start)/10))

UO.Exec("terminate all")
ENDIF
UO.Ignore("finditem")
ENDIF
UNTIL (UO.FindCount() <= 0)
wait(500)
UNTIL (UO.Life <= 0)
end sub


Top
   
 Post subject:
PostPosted: 2004-04-22 11:52:56 
Offline

Joined: 2004-04-18 09:29:12
Posts: 9
эээ? и что это за скрипт
как я по нему понял что он предупреждает тебя о пк а остальное все муторно

_________________
Слава Yoko!
Слава Inject'y
Слава Yoko еще раз!


Top
   
 Post subject:
PostPosted: 2004-04-22 13:56:09 
Offline

Joined: 2004-04-17 15:35:31
Posts: 8
Plz speak english


Top
   
 Post subject:
PostPosted: 2004-04-22 14:13:10 
Offline
User avatar

Joined: 2004-04-06 12:27:32
Posts: 118
Where u need this script?


Top
   
 Post subject:
PostPosted: 2004-04-22 17:27:53 
Offline

Joined: 2004-04-17 15:35:31
Posts: 8
When i'm mining or lumberjacking for example


Top
   
 Post subject:
PostPosted: 2004-08-14 18:28:01 
Offline

Joined: 2004-07-22 07:37:37
Posts: 51
Ya. I could have used this the other night. Lost all my mining gear... worth lots of money, and it wasn't mine so know I have to replace it :P


Top
   
 Post subject:
PostPosted: 2004-08-14 22:30:49 
Offline
Expert!

Joined: 2004-04-25 11:11:07
Posts: 359
Code:
Please, use [code]text[/code] tag to post your scripts

_________________
Без труда не выловишь и рыбку из пруда,
А без пруда не выловишь её и с трудом...


Top
   
PostPosted: 2004-10-18 04:16:57 
Offline

Joined: 2004-08-07 09:19:57
Posts: 6
Ok, Kool, can't wait to use this script, died last week by Pker. Only one question, how do i find out the Rune Number?, i have no idea how to find that out, if someone could tell me, that would be very much appriciated. Thanks!!!, I really wanna use this code.


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

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 4 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:  
Powered by phpBB® Forum Software © phpBB Limited