Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - roadrunner

Pages: [1] 2 3 ... 8
1
Combat/Healing/Looting / Re: Holmedog's GUMP Attacker
« on: September 27, 2013, 06:26:01 AM »
 :)   I just dl'd and tested this on OSI shard, at a Fel champ spawn on a swords swinging sampire.  It worked awesomely well. I love to farm the 1st levels of the spawns for the Pink "SoT" scrolls, and this is perfect for the magic using spawns like undead, demon, etc. that are too annoying to do on my wizard.

Thanks Holmedog, great job on the script!  Rate it 10 for works as advertized  & 10 for ease of use!

2
Script Debug / Re: rock dropper for miners needs ground coordinates
« on: June 09, 2013, 02:49:58 PM »
I wanted to make an amendment to my Rock Dropper. there are actually 4 types (maybe even more, who knows for sure??) of the tiny blackrock pieces. the 4th item type ID is "FWF" and below is an amended snippet for those on OSI using it.
Code: [Select]
repeat
findItem UVF_GWF_EWF_FWF C_ , #backpackID
if #findcnt > 0
{
       exevent Drag  #findid
        wait 10       
       exevent Dropg #charposx #charposy #charposz
        wait 10
}
until #findcnt < 1
halt

like i said at the beginning of this thread, the script only drops the rocks while character is moving. can be mounted or on foot, doesn't matter.  i am working on getting it to drop them on a ground tile, beside the character, and i'll post that when it's finished.

3
Script Debug / Re: rock dropper for miners needs ground coordinates
« on: May 31, 2013, 11:45:35 AM »
my ultimate goal for this little utility is to walk inside my house, stop, click play, let it empty'em to the floor. on OSI shards the tiny blackrocks do not decay, in houses, nor on open ground. being in a private home keeps looters from stealing your stash. (i keep a few on hand for the emergency Exodus dagger need, rest get trashed for points)

4
Script Debug / Re: rock dropper for miners needs ground coordinates
« on: May 30, 2013, 09:00:57 AM »
thank you TM, i'll give that a try. it works great as is as long as i hit play and take off walking but when i've got 40-50 pcs in backpack, i'd rather just stand still and let them form a little "line" pile, granted after 15 or so i'll have to take a step to start a new pile.

5
Script Debug / rock dropper for miners needs ground coordinates
« on: May 30, 2013, 06:13:26 AM »
 :D   ok, the apple sub worked out so nicely i thought i'd write a utility script for my miner toons to get rid of them pesky little blackrocks. this script does "work" but only when the character is moving. i can't find a page that details how to set a coordinate beside the character, so it would drop the rocks on the same tile over & over while standing still. if someone can link me the info source i'd be very thankful!!
Code: [Select]
repeat
findItem UVF_GWF_EWF C_ , #backpackID
if #findcnt > 0
{
       exevent Drag  #findid
        wait 10       
       exevent Dropg #charposx #charposy #charposz
        wait 10
}
until #findcnt < 1
halt

6
Script Debug / Re: enchanted apple sub
« on: May 29, 2013, 07:00:00 PM »
thank you Manwinc !! at least i was sorta in ballpark. i'll fiddle with it more tomorrow. :D

7
Script Debug / enchanted apple sub
« on: May 29, 2013, 06:33:08 PM »
ok, i'm trying to make a short sub for finding enchanted apple in main pack & eating 1. after reading as close to what i want in tutorials, other scripts, etc., i came up w/ these. any advice on how to "fix" them would be appreciated.
Code: [Select]
;=====enchanted apple sub======
findItem CBS C_ , #backpackId
if #findcnt > 0
set #lobjectID %enchantedApple
event macro 17
return
===============================

and this is the second, so whichever would be better, easier to make work, faster
Code: [Select]
;==========enchanted apple sub=====
    findItem CBS C_ , #backpackId
if #FINDCNT > 0
        {
click #findx #findy d
        } 
    return
;==================================

8
 ;D  well, it took me contacting a friend that is a professional programmer (his real 9-5 job) and he re-wrote the hand in sub for this script & it's now fully operational hands free!!
we went the quick & easy route and incorporated UO Asssit into the script but when that breaks he said he'd write a new independent sub that is stand alone.
i'm not complaining, it makes what it's supoosed to, it donates as it's supposed to, and all i'm required to do is log it in and keep it supplied with ingots. :D

if anyone that plays OSI shards, and has UO Assist active, would like a copy of the donation sub i'm using, contact me & we'll work it out. i can't "publish" what's not mine.
i've really learned a lot messing w/ this script & it's really inspired me to learn more. maybe some work by "Roadrunner" will be coming soon!

9
ok TM, i got the F7 & F8 figured out. i ran it thru the hand in sections, it's a 2 part sub : hands in the bucklers   && wait for hand in gump

Code: [Select]
; Hands in the bucklers
sub TR_Hand_in
set %TR_temp_weight #weight
repeat
set #lobjectID %TR_Donation_NPC
event macro 17 0
gosub TR_waitfor_generic_gump
set #contPosX 0
set #contPosY 0
wait 10
click 39 268 dmc
wait 10
msg %TR_no_bucklers $
wait 10
until #weight < %TR_temp_weight
set %TR_Status_bucklers ( %TR_Status_bucklers + %TR_no_bucklers )
set %TR_no_bucklers 0
gosub TR_update_status
return
;==================================
; Wait for hand-in gump
sub TR_waitfor_generic_gump
set %TR_time #scnt
repeat
if You_create_ in #sysmsg
   {
   break
   }
if #scnt > ( %TR_time + 10 )
   {
   break
   }
wait 0
until #contname = generic_gump
wait 5

the script jumps from the 1 into the other and back & forth with the return & waitfor generic gump commands.  i'm just not 'seeing' where it's actually supposed to physically 'click' (target) the bucklers so they vanish from backpack 1 by 1 to be 'donated'.  i see where it reads character weight, and how weight is to drop so script knows they are donated, i just not seeing where it would have to target the bucklers, thus it's way over my head on how i'd fix it.

***UPDATE***

Ok, in previous posts i've said the "50" the character is "saying" has now been coming up ON the donation gump. well, my little 'grab & bag side script goofed up so i was donating this batch of 50 manually and the "50" on the gump is the client reading how many are in backpack left to donate because it's counted down as i donated each one without me typing anything, no script running. just to be clear, as i targeted each buckler it went 50, 49,48,47, etc.  and i just click blue dot & target bucklers. so again, i'm very confused on this part of this script. :(

Another update is the script will, as UOLugnutz posted, continuously 'loop' at the donation NPC now. it's clicking the donation button but not targeting the bucklers, so weight doesn't lower, so it loops on & on. (i let it run for a few minutes to see just to be sure!)

10
ok, i got the F7 & F8 working but i tried running it just ti flip through the script but it wouldn't let me past the 80.0 tinkering requirement, shut the script down all 5x i tried. i'll finish smelting the ore i've farmed ( 750,000stones worth) to ensure i had plenty ingots for the donations and then run it on a 'live' character and watch how it goes thru the donation part closely.

***UPDATE***
ok, took several hours for 2 GM miners to smelt that ore, lol (yes, scripted. some things i can figure out :D ) now i've messed w/ the F7 & F8 and results are on proper thread
http://www.scriptuo.com/index.php?topic=7750.30

11
TM, you & 1 or 2 more suggested i do that (F7) but i haven't managed to run across 'instructions' on how to set that up yet

but UOLugnutz really broke it down above (bottom post of page 1) and i'm researching this part now:

Code: [Select]
msg %TR_no_bucklers $
wait 10
until #weight < %TR_temp_weight

because the script is doing everything correctly now except the actual 'click on individual buckler' 50x per run

12
 :'(  As the old story goes, there is no joy in Mudville, for mighty Casey has struck out!

i let the script run, when it got to the library & opened the donation gump, i had my cursor hovering over 'pause' on EUO itself. when the gump jumped to 0/0 position i paused the script. confirmed coords, reading was 39 268.

this is where it gets Very Interesting!! we have, and i say 'we' because without you all i'd not be here, progress. it IS clicking the blue dot correctly because it's going into 'target cursor' but it's NOT targeting/ clicking the bucklers!!  so for several days now i've been misinforming you all by saying it wasn't hitting the button. it hit's the correct button, gets target cursor up, the "50" appears on the right hand side of the gump (across from bucklers image), and then the script gets a little, no other way for me to say, "confused" and after maybe 20-25 seconds of clicking the button & saying 50 it recalls back home & starts making more bucklers. yes, with the 1st 50 bucklers still in pack.
so now my quest begins to hunt down the 'click on buckler' & figure out why it's not doing it 50x before recalling home!!

13
UOLugNutz you Sir are a Saint in the making! to go thru all of that, in such detail, is truly worthy of much praise! you've been helping me along & along and i truly do appreciate every last bit!!
here's where the real testament to your help comes in. i honestly, no questions, understood all of that quite easily, right down to the x/y =0/0 then click. :)

now, for some feedback for you. i had adjusted the click coords and when the character got the gump open i saw "50" appear to the right of 'buckler' on the gump ITSELF, not in mid-air as player 'speech'. being there were 50 odd bucklers scattered around the backpack i didn't notice one suddenly missing and like an idiot, assumed it was still incorrectly trying to donate them & i stopped it.  i'm going to re-calibrate the blue dot coords to be 100% sure of the location, but in my notes i've got 37 270, so yes Sir, your 'guess' is pretty darn close!

i'll give this a test & post the results in a little while.
Thank you UOLugNutz, Trailmyx, Alpha, Bookwyrm, Manwinc, Nobama, and anyone else that offered advice on this issue!!

God willing, my next post will be 'No issues to report!' :)

14
Thanks TM !!  i just got home and headed to bed but i'll certainly give tis a look in morning. maybe it'll help me figure Reaper's out.

15
Alpha,  the script i'm 'trying' to fix for my own use is in 'Submit Your Script' section of this site (here's the URL: http://www.scriptuo.com/index.php?topic=7750.0  The Reaper's Mace and Shield Donator

i am very very very INexperienced at using scripts, much less writing them, but i've taken courses in HTML and web design a long long time ago and decided i'd give this a try because i REALLY want this script to work.

when i 1st loaded this Donator, the crafting gumps were so fkd up due to OSI changes over the years, it was making baskets, axes, and making them by the truck loads! LOL. friend of mine & i got it sorted out to doing all the right things now Except the actual donation.  it opens the NPC's gump and starts yelling "50" over & over. (script makes 50 bucklers per trip) but for life of me i cannot find where the speech part is at, i don't see it in the 'hands in the bucklers' sub routine and i've been trying to go thru the script line by line but today has been a busy day in real and i'm about to go out to dinner w/ the girlfriend. i welcome and truly appreciate all advice & help!!!
i'll be working on this tomorrow (Saturday) over coffee. if anyone leaves me any things to try, that's when i'll be testing them. i'm East coast U.S. & i usually am online 630-7am 7 days a week. (i'm retired :) )

Library donation: double click NPC, donation gump opens, beside items your character has that are accepted will be a blue gem 'button' on left side of item name, click the button of your item, target item in your main pack. then you can repeat the button/ target until all are donated(which is how i "THINK" Reaper originally wrote the script to work, based on it monitoring character weight decreasing) a bag of items can be donated but you keep the bag and there is a 2nd 'donate all' button to click on 2nd gump if using bag of items

Pages: [1] 2 3 ... 8