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 - Gaderian

Pages: 1 ... 28 29 [30]
436
So the problem with the logout is probably because of the following conflict:
YesNo_gump (used for the logout) is currently set to UULC.

Notice this set of ignorecont statements:
Code: [Select]
;--------------------------------------------------------------------------------------------------
;-----------------  Add this since  Build 248  by Cheffe courtosy of The Ghost --------------------
;--------------------------------------------------------------------------------------------------
;  Ignores the little translucent tool tip gumps that popup when you mouse over the buttons
;ignorecont reset
ignorecont UULC
ignorecont YCLD
ignorecont GXJC
ignorecont UGQB
ignorecont GVKC
ignorecont SVP
ignorecont SXQ
ignorecont IGHC
ignorecont QCPD
ignorecont MSMC
That first "ignorecont UULC" statement means that the YesNo_gump will be ignored by the current client.

I just commented out that line and with cybercasper's vars it is logging in and out smoothly.

Gaderian

437
The gumps that have a #contkind UOGB is actually a transparent 2x2 pixel box in the lower left of the login screen. I have not looked at how that gump is used, but it was introduced in the past year or so and confuses the login process from being scripted.

Gaderian

438
Would it be possible to cycle through all bumps with event control conttop?

That might allow finding the gimp if it is there but not recognized by the script.

Gaderian

439
Questing / Re: Gen's Library Donations
« on: June 24, 2018, 12:10:19 AM »
I do not believe it is the gump size that changed. When Endless Journey was released, Broadsword included a token that can be purchased for RL $$ that grants points in various turn-in options (brit library, moonglow zoo, etc.). This token has taken an early place in the donation list for each NPC at the library. Most of the turn-ins have now slipped down and onto a 2nd page when accessing the NPC's menu for donations.

I have a highly modified version of this script that works since those changes were made on the server side.  I am uncertain if there is a clean version of the code where it would allow a simple copy/paste of the modifications. The original uses a series of goto statements to get around and doubles in the donation routine for anti-lag/slow-connection resiliency. In my mixture of boredom when I can't go outside and dislike for goto (in favor a cleaner sub's with a clean exit status) I revamped the major portions of the script.

The code for one of the turn in's includes samurai weapons and already has code to access the 2nd page for selecting which item to donate. That is a reasonable hint at how to handle the 2nd page turn in to modify the donation routine area.

On a side note, I had this able to run for about 22-25 hours for mace and shield glasses. Just prior to EJ it was optimized down to 16-18 hours. The extra click from the EJ change has it back up to about 26 hours to turn in the 88K axes necessary. :(

440
Here is something that I used to cut lots of bolts into bandages. You may need to adjust some types if the bolts don't match. I used 109 bolts as my amount. I can't remember why right now, but it probably weighs in just under the 550 pack limit. As long as you are not moving, you can fill your back to it's max capacity regardless of your strength.

Basically, I had a secure filled with bolts, nothing in my pack but scissors. It will load from your selected secure as many bolts as the code is hardcoded to allow (109 bolts - you would need to adjust that manually in the script if you want a different amount) and cut these into folded cloth, then the cloth into bandages. The bandages will drop to the floor of the house (left over UO code from when bandages weighed more than the cloth). The script will search the floor next to you for any stacks of bandages to drag and drop back into the secure.

Code: [Select]
; cut bandages from secure
set %bolt_type CAG_ZZF
set %cloth_type CKF_CUI
set %bandage_type ZLF
finditem KAG C_ , #backpackid
if #findkind = -1
 {
 display ok You need scissors in your pack... halting
 halt
 }
set %scissors_id #findid
display ok Choose Secure
set #targcurs 1
target 5s
while #targcurs <> 0
 wait 1
wait 5
set %secure #ltargetid
set #lobjectid %secure
event macro 17 0
wait 20
event macro 22 0
wait 20
set #contposx 0
set #contposy 0

finditem %bolt_type C_ , %secure
if #findkind = -1
 {
 display ok no bolts found to make bandages - halting
 halt
 }
while #findcnt > 0
 {
 if #findstack < 109 ; 46 stays in pack
  set %bolt_qty #findstack
 else
  set %bolt_qty 109 ; 46  stays in pack
 exevent drag #findid %bolt_qty
 exevent dropc #backpackid
 wait 30
 finditem %bolt_type C_ , #backpackid
 set #ltargetid #findid
 set #lobjectid %scissors_id
 event macro 17 0
 wait 20
 event macro 22 0
 wait 40
 finditem %cloth_type C_ , #backpackid
 set #ltargetid #findid
 set #lobjectid %scissors_id
 event macro 17 0
 wait 20
 event macro 22 0
 wait 40
 finditem %bandage_type G_2
 if #findcnt < 1
  {
  display ok bandages not found in back after cut... halting
  halt
  }
 exevent drag #findid #findstack
 exevent dropc %secure
 wait 30
 finditem %bolt_type C_ , %secure
 }

Hopefully you can use this or it is a good starting point if you need to make any adjustments.

Enjoy!

Gaderian

441
Off Topic / Re: Life's travels
« on: December 02, 2016, 10:55:57 PM »
Sorry to hear it's been a tough year. I hope it goes well for both of you going forward.

After 25 years in IT - mostly programming, I can honestly say your work is top notch and is appreciated. Among your scripts, I really like the inscription script you shared with the community last year.

Sincerely,
Gaderian

442
Misc. Scripts / Re: The Taming Appraiser
« on: December 01, 2016, 01:25:14 PM »
Still working reasonably.
What I found was if the animal lore gump is off screen (my screen resolution on the laptop is smaller than the desktop) then the values come up with 0's or "---" depending. I adjusted the gump location so it was on screen (I forced it to 0,0) and it worked well.

Next I adjusted it to pick up the lore gump location and pass that to the kalocr.txt function. There is a timing issue that sometimes it still misses reading the gump, but it worked well enough to pull the information.

On my copy, I added code to see if the hit points were <= max / 2. This assumes it is already tamed. Worked on the cu sidhes I was evaluating.

443
I assumed the choose file option was for the attachment, but I needed to use the 'advanced option' to get an attachment.

Thanks for the heads up.

444
This script takes advantage of the masteries for gaining skill in taming.

It checks some basic setup requirements. If it all passes, then it will prompt you to target a pet and it proceeds.
Active meditation, and calculates your LMC at the start (if you need to swap out your suit properties, then restart the script), to keep track of how much mana you require when casting.

Seems to be pretty resilient, since I was able to click on various gumps without it breaking (changing current focus). I also noticed that when disconnected - I reconnected with the script running and it picked up where it left off. The one item is, it needs the status (for mana calculation) when you login again to work smoothly.

It expects you to be on the animal taming mastery (it will not switch mastery for you), and to have appropriate skills. It will verify your skill cap and skill lock status and give appropriate dialogue to match.

I ran this with a variety of meditation, focus, suit configurations and then partied up with my 4x legendary bard to run the peace mastery that boosts party members' regens. Performed well, so I thought I would share it.

445
I downloaded the non-donation version a couple days ago and it works well. Setup took me a time or two, but now I am used to it. I noticed I need to pick the type of book to craft last on the first page - otherwise it just tries to craft stuff without letting me finish the setup and personally choose the START button.

My method to donate to the library is to have my library donation toon (on a different account) grab the books out of my 'trash' bag from the floor.
2 things were happening, the 3 mod books were showing up in the 'trash' (I am pretty certain I had selected to save the 3 mod books - and I saw that was a fix last year, but probably only to the 'donation' version) and the Lizardman slayer books kept showing up in my trash bag. I grabbed them and tossed them aside and figured I would go check the code later. Just got looking at it and lizardman is misspelled. It only has a single letter 'Z' in the middle, so those slayers were being trashed.

Here is the culprit:
Code: [Select]
if %regslayer = #true && %lizzardmanslayer = #true && lizzardman in #property
   {
   set %misccount %misccount + 1
   set %count %count + 1
   menu set misccnt %misccount
   menu set count %count
   gosub dragslay %bookid
   ignoreitem #FINDID
   return
   }

I only changed the 'lizzardman in #property' to 'lizardman in #property', but didn't bother with the variable names since those aren't so important. Thought I would post in case someone else saw the behavior and was wondering. Hopefully a correction can be uploaded for others, too.

I really appreciate the work on it, JaF!

446
Questing / Re: Gen's Library Donations
« on: February 10, 2012, 08:56:05 AM »
Script works very smoothly. Thanks!

There were 2 things that needed adjustment. First one was the offset for the donation gump. The fix is posted by another on the previous page in the replies, so I won't repeat it here.

My character had blacksmithing skill, so the vendor interface inserts getting Bulk Order Deeds, and now, Bribes. I fixed this by removing the blacksmith skill from my character. After I am done I will restore it. I suppose the script could be adjusted to detect and compensate for the different menu, but my fix worked for me. I do not have a legendary blacksmith with whom I make the donations (my skill is merely .1 to acquire BODS), but another may run into the same issue and this hint may work for them.

447
New member introductions / Gaderian's intro
« on: November 26, 2011, 07:38:33 AM »
Hello!
I started playing UO initially during the T2A period. I played heavily till about 2002. I played a lot and was a member of 3 guilds of people I did not know initially on Catskills. One of my friends started playing on Pacific and upon his return to the game, he encouraged me to join him there which I did for a while. I have played a couple of freeshards, but never found anything that helped me stay there.

A few months back, another former guildmate contacted me about playing again. That got me started and I seem to be hooked once again. I have become keen on figuring out Imbuing, but I lack reagents. I used to gather much of my supplies with my stealth 'toon, but that was on a different account than the one I have active today. It took me 2 weeks back in the day to gm hiding and then reach 90 stealth with my UOA macro running all day and night.

I tend to PvM, but prior to Power Scrolls, I did PvP at times. For a while I had a small house near the island with the temple that spawns dragons and deamons. I worked for months to raise resist on one of my characters. I named my house "Resistance is Futile" due to the slow gains.

Times are a little different, but I have decided that there are easier methods available via various scripting tools. I stumbled upon this site via a Google search related to fixing a script issue and wanted to see what was available here.

I tend to come and go from time to time, but in the end really have enjoyed the game.

Thanks for reading.

Gaderian

Pages: 1 ... 28 29 [30]