| Yoko http://forum.yoko.com.ua/ |
|
| Anti PK http://forum.yoko.com.ua/viewtopic.php?f=20&t=162 |
Page 1 of 1 |
| Author: | xeon [ 2004-04-22 00:57:17 ] |
| Post subject: | Anti PK |
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 |
|
| Author: | MerlinSiG [ 2004-04-22 11:52:56 ] |
| Post subject: | |
эээ? и что это за скрипт как я по нему понял что он предупреждает тебя о пк а остальное все муторно |
|
| Author: | xeon [ 2004-04-22 13:56:09 ] |
| Post subject: | |
Plz speak english |
|
| Author: | Psimorph [ 2004-04-22 14:13:10 ] |
| Post subject: | |
Where u need this script? |
|
| Author: | xeon [ 2004-04-22 17:27:53 ] |
| Post subject: | |
When i'm mining or lumberjacking for example |
|
| Author: | Thdin [ 2004-08-14 18:28:01 ] |
| Post subject: | |
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 |
|
| Author: | Lord Ruslan Nightmare [ 2004-08-14 22:30:49 ] |
| Post subject: | |
Code: Please, use [code]text[/code] tag to post your scripts |
|
| Author: | jjdad [ 2004-10-18 04:16:57 ] |
| Post subject: | How do i find out the rune number?? |
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. |
|
| Page 1 of 1 | All times are UTC+02:00 |
| Powered by phpBB® Forum Software © phpBB Limited https://www.phpbb.com/ |
|