ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Cerveza on November 05, 2008, 06:31:57 AM
-
Another subject resurrected from the lost boards....
If someone wants to run with it -
Here's how I see this working....
Menu with a button. Click the button and mouse changes to targetting. You target the guy you want to check. Once you get into snooping range, the script opens his pack and examines the contents.
Script will look for ALL +20 Scrolls in his pack, then steal one based on the rating. Magery, Swords, Eval, whatever... order can be set in the script.
If no +20 Scrolls, script looks for +15's and evaluates them the same way.
Last the script does the same for +10's.
I'd say the menu should include such things as
+20 Checkbox
+15 Checkbox
+10 Checkbox
(So you can ONLY look for 20's if you want, or only look at 20's or 15's)
Maybe a "Target/Steal" Toggled button. First you set the target, then you can maneuver into position and hit the steal button.
StarRoom Checkbox - when checked, after the steal it will pathfind to the gate and auto click it and a destination for you. This will work even if they have it stoned off.
This might be of interest to me, since my Sampire needs a make over. I might just have a Stealth/Thief with Fencing.
-
I'm not going to add this to any of my lists of projects, since I'm also behind on those, plus I have no thief. Though, one isn't need to make the script, you can still make it without a thief. Just wanted to mention.... Stat Scrolls too, +25, 20, and so forth. Cannot forget about stealing them bad boys.
The search and assigning the values will be easy, just have to manage the time, every split second will count. Whoever tries to tackle this, remember, logical search/indexing.
-
To get you started... heres a little script i wrote long long ago, I haven't run it in a couple years and its pretty archaic so I'm not sure if it works or how pretty it is but its basically a gate click-through... get close to any gate (IE star room) and she throws ya through to Luna ASAP
I used to lurk around in the Star Room on my thief and used to run it in the background even when I hunted champs to help me avoid thieves in the star room...
; Konesky's Gate Clickthrough... Get within 1 tile of a moongate
; And it will toss you through to Luna. Do not need to stand on
; the gate tile, just beside, will continue to try even after your
; in Luna. Can run passively in the background...
set %x1 17
set %y1 116
set %x2 208
set %y2 42
set %x3 23
set %y3 220
;=================================================
Start:
finditem OTF G_1
If #findkind <> -1
{
set #lobjectid #findid
event macro 17
}
If #contsize = 380_280 && #contname = generic_gump && #contid = N/A ;&& #contkind = GJZ
{
For %i 1 3
{
gosub setclick %i
wait 1
click %x %y
}
}
wait 5
goto Start
;=================================================
sub setclick
set %x %x . %1 + #contposx
set %y %y . %1 + #contposy
return
-
To get you started... heres a little script i wrote long long ago, I haven't run it in a couple years and its pretty archaic so I'm not sure if it works or how pretty it is but its basically a gate click-through... get close to any gate (IE star room) and she throws ya through to Luna ASAP
I used to lurk around in the Star Room on my thief and used to run it in the background even when I hunted champs to help me avoid thieves in the star room...
; Konesky's Gate Clickthrough... Get within 1 tile of a moongate
; And it will toss you through to Luna. Do not need to stand on
; the gate tile, just beside, will continue to try even after your
; in Luna. Can run passively in the background...
set %x1 17
set %y1 116
set %x2 208
set %y2 42
set %x3 23
set %y3 220
;=================================================
Start:
finditem OTF G_1
If #findkind <> -1
{
set #lobjectid #findid
event macro 17
}
If #contsize = 380_280 && #contname = generic_gump && #contid = N/A ;&& #contkind = GJZ
{
For %i 1 3
{
gosub setclick %i
wait 1
click %x %y
}
}
wait 5
goto Start
;=================================================
sub setclick
set %x %x . %1 + #contposx
set %y %y . %1 + #contposy
return
you can make that on razor or Uoa with 1 macro easyly
But the idea of Cerveza is reallllly sick, i would like to participate on that.
-
Sorry to ressurect this thread but did you had success on this script Cerveza?
Have you started something?
Need some help?
I'm really interested on doing this but I am too lazy to start it from nothing ;D
-
LOL I wasn't writing it, just suggesting it be written :)
-
LOL I wasn't writing it, just suggesting it be written :)
I have to run out the door for a couple hours here, but I started on a script like this years ago. I'll post it up for people to tear apart if I can find it. I actually got it to steal 120's. I was the bane of spawns for a long while. People would field the island with poisons at EVERY spawn on my shard for a while just because of me. :) If I remember right, I did it all bassackwards. You just had to target their backpack, and then select what type of powerscroll to get, and it would pick the very first one in their pack, no preference options. It would open their pack the second you were next to the target and scan then autosteal and smokebomb.
-
I started scripting something right now.
Will share it in a while.. Maybe today ;)
-
I've got one that does what your wanting, but it doesn't have a menu or anything. You hit a hotkey and then target the person you want to steal from. It then opens their pack, ect.. then scans for scrolls. It will only steal 120's but it starts with the high priced ones first and works it way down the list. If they have a 120 Mage and 120 spirit speak, it will steal the 120 mage! I would need to do some editing on it before release, right now it's full auto and runs out o the starroom into terra keep, way out into the hallway and hides.. LOL!
-
I've got one that does what your wanting, but it doesn't have a menu or anything. You hit a hotkey and then target the person you want to steal from. It then opens their pack, ect.. then scans for scrolls. It will only steal 120's but it starts with the high priced ones first and works it way down the list. If they have a 120 Mage and 120 spirit speak, it will steal the 120 mage! I would need to do some editing on it before release, right now it's full auto and runs out o the starroom into terra keep, way out into the hallway and hides.. LOL!
LOL! That sounds fun as hell!
-
LOL! That sounds fun as hell!
[/quote]
It's great, they pop into star to leave and most of the time they don't even realize I've stole anything! 8)
-
I imagine if u stand near the moongate and only look in packs withing 1-2 tiles of the gate they may be about gone once u grab it.
-
I imagine if u stand near the moongate and only look in packs withing 1-2 tiles of the gate they may be about gone once u grab it.
Yup, last 120 ant I stole last week, they were gone about the same time I stole it.
-
So, this is what I did...
The script detects a player in screen and keep trying to open his backpack.
When his backpack is open, it will search for PS and identify them.
That's all for now.
Maybe next weekend I'll have some time to improve it.
;============================================
; Script Name: Star Room Stealer
; Author: Terathel
; Version: 0.01
; Client Tested with: 7.0.1
; EUO version tested with: 1.5 [build 155]
; Shard OSI / FS: OSI/FS
; Revision Date: 16-10-09
; Global Variables Used:
;=============================================
;Sub GetName taken from TrailMyx's IDOC Monitor/Looter v1.0c - Many thanks, TrailMyx!
ignoreitem #charid
START:
finditem IS_HS_XU_AV_KS_JS_ZU_KV_SAB_MAB_LAB_SH_EH_VD_JG_BB_SC_OAB_QAB_PAB_RAB_HN_IN_FN
If #findcnt < 1
{
wait 10
goto start
}
For #findindex 1 #findcnt
{
If #findrep = 7 || #findrep = 3
{
ignoreitem #findid
}
set %Target_id #findid
Gosub Check_NPC
If #Result = #FALSE
{
Display Hello... Is there anybody in there? Just nod if you can hear me.
wait 3000
}
}
goto START
;-----------------
;-----------------
Sub Check_NPC
linespercycle 1000
Event_property:
set %waituntil #scnt2 + 10
Repeat
{
event property %Target_id
wait 2
}
Until #property <> $ || #scnt2 > %waituntil
set %player_property #property
If %player_property = $ || %player_property = N/A
{
ignoreitem %Target_id
linespercycle 10
return #false
}
If #spc , the , #spc in %player_property || #spc , The , #spc in %player_property
{
Linespercycle 10
Return #True ;--Return #TRUE if it's an NPC
}
gosub GetName #FindID
event ExMsg #charID 3 90 Our target: #RESULT
set %personsID #FindID
set #LOBJECTID #FindID
event macro 17 0
wait 10
finditem ZJF_KUD C_ , %personsID ; Handles Both Reg Packs and Reverse
if #FINDKIND <> -1
{
set %stealfromID #FindID
wait 7
event macro 17 0
wait 30
finditem EWH C_ , %stealfromID
For #findindex 1 #findcnt
{
If #findcol <> 1153
{
ignoreitem #findid
break
}
If %stealList = N/A
set %stealList #findid , _
Else
If #findid notin %stealList
{
set %stealList %stealList , #findid , _
set %itemID #FindID
gosub GetName #FindID
set %itemName #RESULT
event ExMsg #charID 3 90 Item: %itemName
if 120 in %itemName
{
set #LTARGETID %itemID
event ExMsg #charID 3 90 Last target: %itemName
}
set %Target_id #findid
}
}
}
Return #False ;--Return #False if NOT an NPC
sub GetName
event property %1
str pos #PROPERTY $ 1
set #STRRES #STRRES - 1
str left #PROPERTY #STRRES
return #STRRES
Sorry for the messy script :-[
-
I like this project. I will dust off my theif and see about getting it ready to roll for some testing.
-
I finally finished my stealing script. It does a lot more than just steal power scrolls, I use it all the time now when I'm bored to pissed everybody off!
I can use it to randomly steal items(video), or I've got an option to run up and steal power scrolls, or I can set him in star room.
In the past 2 days I've stolen 120 swords, 120 parry, 120 focus, 120 mysticism, 115 mage, and 115 parry! It's like taking candy from a baby! LOL! ;)
(Might have to view video in full screen on youtube to read the menu)
-
Yea his is WAY better than mine Cerv. :) Use that one. hehe
-
I am all over this Gen. Can't wait to stir the pot with this!
-
I'm interested in giving it a try also. Post that baby up!
-
I'm interested in giving it a try also. Post that baby up!
This sounds like it could be worth getting my old thief out...Is it posted up anywhere yet?
-
Due to the powerful nature of this script, it's author has requested that it not be posted publicly.
I'm sure you can understand.
A similar project that someone could start up would be encouraged.
-
Due to the powerful nature of this script, it's author has requested that it not be posted publicly.
I'm sure you can understand.
A similar project that someone could start up would be encouraged.
Oh well i guess my thief will have to keep his hands in his own pockets. Shame i have not had my thief out for a few years now, due to all the nerfs, its just not fun anymore!
-
would love to run it ... starting a thief this week
-
Why do I miss these threads until they've already been moved to elite?
But seriously...that video? O. M. G.
:)
-
Why do I miss these threads until they've already been moved to elite?
But seriously...that video? O. M. G.
:)
Agreed! Looks like an amazing script Gen!
-
Looks kinda interesting.
-
Why do I miss these threads until they've already been moved to elite?
But seriously...that video? O. M. G.
:)
I haven't seen it in elite either so you are not missing out on it.