ScriptUO
Official ScriptUO EasyUO Scripts => Script Library => Gold Farming => Topic started by: TrailMyx on June 20, 2009, 02:00:11 PM
-
;=================================================================
; Script Name: TrailMyx's Artifact Monitor
; Author: TrailMyx
; Version: 1.00
; Shard OSI / FS: OSI / FS OK
; Revision Date: 9/29/2007
; Purpose: Monitor the addition of special artifacts in your pack
; Globals:
; Special Thanks:
; C2, Toptwo
;
;=================================================================
This script will alert you when a special artifact appears in your main backpack. If you are looting normally, you should be looting to a sub-pack, otherwise when the script check what was dropped, it will add any new items found and these might not be artifacts. Even gold, so be sure you start out with a stack of gold in your pack or anything else you might be looting that's stackable.
-
wow it looks real nice.. running it now.. I just got an arti.. So it might be a min before I get my next one
-
Hi TM,
nice log script !!!
2 Ideas I have ;-)
1st
What do you think about just to filter out Gold from Displaying ?
Because everytime you use a BOS you have a new line of Gold in the Log
or use the information about a "new" stack of Gold to log the use of the BOS Time :-)
2nd
Add a row with the Finding Time to each item ... just to watch times
Thx and cu
-
Ah, good idea filtering the gold out. I'll add that. Frankly, I threw this together in about 10 minutes with the UI. Originally it just did a "display" when an arti popped in. :)
So perhaps you want something like:
Artifact Name --> 20 min
Another Artifact --> 30 min
Just append the find time to the text displayed arti in the box?
-
that sounds like a winner :)
-
Ok, look for the next version. I added a variable so that if you find something else you want to exclude, you can add it as well. Also I converted the time to M:SS format.
-
Thanks TM, that worked great...
I did make a little change.. I duno if everyone wants it.. I found your BOS sub, and added it in, so now every time I get a new artifact it sends it strait to the bank.
-
What's your average time between drops?
-
Thanks TM, that worked great...
I did make a little change.. I duno if everyone wants it.. I found your BOS sub, and added it in, so now every time I get a new artifact it sends it strait to the bank.
I like that idea a lot .. but not sure if it will interfer to much with other running scripts
if not .. just an option button in main display to turn it on/off would be great I guess
btw .. there is a minor glitch in time display
1st arti 7:57
2nd arti 13:38
3rd arti 0:01
4th arti 16:50
I guess it is related to the re-start of other scripts while yours is still running
cu
-
its actualy interfering with c2's farmer.. he's already got a bos in his script so I'm just going to use that but I need a list of the id's ;/ unless I can figure out a way to send it over through namespace
-
ugg, I can't figure out how to keep the BOS unignored and keep it from apearing in the list when an artifact is spawned
-
It says "Platemail Arms --> 3:59 but it's really Silver Pigment....
-
Dunno, finditem is finditem. *shrugs* Timing I suppose? This script doesn't even look at item types. Just what happens to appear in your pack.
-
LOL, platemail arms did not appear in my pack. Maybe on the corpse I was looting. Definately pigments.
Oh and chest of heirlooms didn't show at all... of course I was killing 10 at a time, and all the karma, highest path, etc... messages were flying by.
Probably not the best way to notify at a champ spawn... too many journal messages.
-
Well, journal isn't involved. I've noticed that when there's multiple scripts that both use events, this causes strange results. Same thing happens with the Totalizer. Any other scripts running and it can impact the function. Dunno, but I'm assuming you are running the CLAw as well. You might must stop looting with the claw and do a quick script to just loot gold that doesn't use event property.
-
You might actually put in the check to determine if the CLAw is active. I didn't even think about it.
-
I was running CLAw at the same time, they probably got confused.
-
If I get a second tonight, I'll stick in the global variable monitor for the CLAw and the Healer. I didn't really think that someone would be running a looter at the same time since they kinda loot themselves.
-
Those Tsuki Wolves have decent loot, I was taking gold and a few items the same time as the arty checker. I'll bet that CLAw was evaluating when the arty detected, and it got swapped into the current item.
It's really no biggie. The arty checker did exactly what it was supposed to, and it's not important at all what items it is... unless CLAw is evaluating a Mempo :O
-
I changed one line....
from:
menu list add EUOListBox1 #RESULT , #SPC , --> , #SPC , %time
to:
menu list add EUOListBox1 #RESULT , #SPC , --> , #SPC , %time , #SPC , #time
So I can see when I last got one, and guesstimate when the next should drop.
-
legal
-
Hey TrailMyx, what's up?
I'm having some trouble using this script that I have modded a little.
I want to use it for alerting me about paragon artifacts and insure it after.
The only thing I changed besides the insure function is this:
gosub TM_AdvJournalScan artiscan VALID_ADVANCE slaying_the_mighty
The problem is that it doesn't find the message about the artifact, which is weird cause Razor is getting the SysMessage normally.
Do you have any idea of what is happening?
Thanks !!!
Edit:
I tried this now also:
gosub TM_AdvJournalScan artiscan NONE slaying_the_mighty
Still doesn't work =/
I play in a RunUO Shard and I'm using Razor, without Filtering reapeating system messages
-
I think it might work if with your last change of:
gosub TM_AdvJournalScan artiscan NONE slaying_the_mighty
However, in the "if" statement, you need to advance the journal pointer. You'll need to add a:
gosub TM_AdvJournalSync artiscan
Otherwise, the journal pointer will never advance.
-
This script will probably work well for logging items that come from the halloween event.
-
thx !! so nice :)
-
Okay I've tired a little to learn about script but this is far too advanced for me, I'm trying to get it to alert me for minax artifacts and insure them too, any idea anyone please?
-
Have you had it running when you received a minax arty? I believe it uses a journal scan to look for when it is placed in your bag. I am thinking it should work for them though I could be wrong on that.
-
Yeah I did try it but it's not picking any of them up :'(
-
What other scripts do you have running at the same time? This script doesn't use journal scanning for the looting process, but rather just takes inventory of your pack when you first run it. After that, it just checks your pack to be sure something new hasn't been added to it.
Oops, I forgot how I wrote it. Lol. I do use journal scanning. If the item has the string "a special artifact", then it will be counted. So if the artifact you are looking for has a different string, you will have to change line 51 or the TM_AdvJournalScan line.
I had a different script in mind when I looked at this post. lol, too many darn scripts.
-
that worked perfectly, thanks, how about making the script insure it? I appreciate your help!
-
There are bits of code here and there for that. Here is some test code I wrote a long time ago that you can use. No guarantees and you are totally on your own with the usage and implementation.
One note is this uses your character's context menu, so you need to be sure to change the value of the line passed to the sub HandleConextMenu. Right now it's set to 3, but this might be different depending on what line you find your "Insure Item".
set %item XXYYZ1
gosub InsureItem NULL %item
stop
; %1 InsureItem
; %2 #LTARGETID of item to insure
sub InsureItem
set %insure_item %2
gosub HandleContextMenu NULL 401 262 3 ; click self
target 10s
set #LTARGETID %insure_item
event macro 22 0 ; last target
target 10s
key ESC
return
; %1 HandleContextMenu
; %2 click x location
; %3 click y location
; %4 line number
sub HandleContextMenu
set %xx %2
set %yy %3
set %line_number %4
click %xx %yy mc
gosub GumpWait normal_gump NULL
set %clickxposition #CONTPOSX + 23
set %clickyposition #CONTPOSY + ( 20 * %line_number )
click %clickxposition %clickyposition mc
return
-
Thank you! Very! Much! merry Christmas!
another question, what is this targeting to insure?
sorry, I should of just put more info and sorry for being "needy" My item insure toggle is on the 7th row after I click myself and how do I make it insure what it's alerted me for
-
I can't get this one to work for some reason. it doesn't scan my journal it seems because i had it running and got a minax arty and it didnt do anything. am i missing an add on?
-
it's looking for "a special artifact" somewhere in your journal. Just be sure that's what's output.
-
Ah ok i believe minax says a reward item instead. quite possibly why haha.
-
Valen were you ever able to get it to insure the minax arties for you?
-
No i wasn't sorry for late reply. been without internet for awhile.