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.


Topics - slyone

Pages: 1 [2]
16
Off Topic / Remap your thinkpad's access ibm button anyone?
« on: October 25, 2011, 05:44:58 PM »
So I remapped my access ibm button on my Thinkpad to launch my web browser.  Has anyone else done this?

This is the website I used as a reference:  http://www.thinkwiki.org/wiki/ThinkPad_Button

When I push the button, the program launches to the back of my open windows.  I want the launched program to steal the focus.  Anyone know how to do this?  I thought I saw something about a simple registry value to set at the same place as where you put the path of the program.  I can't seem to figure it out.

17
Off Topic / SVN Serve anyone?
« on: October 17, 2011, 07:16:06 PM »
I have been tinkering with tortoiseSVN on my desktop and now I want to access my repository on my laptop.  I don't think I need to go the apache server route so I thought I would go with svnserve.  But it seems like all of the links I find are to downloading the apache verion of svnserve.  Do any of you use svnserve and have a link to a working download?  If you have used it, how has it worked for you?

18
Misc. Scripts / Scroll Binder
« on: September 22, 2011, 04:45:07 AM »
So I love my power scrolls.  I keep every 110 I get.  I always just did the scroll binding by hand.  I've been meaning to tackle a scroll binding script for a long while now and here it is.

I did my best to describe the setup you need at top of the script.

Code: [Select]
;==========================================================
; Script Name: Scroll Binder
; Author: slyone
; Version: 1.3
; Public Release: 09-22-2011
; Revision Data:  02-18-2012
; Purpose:  Scroll bind a bag of scrolls
; Instructions: -Bag up a bunch of power scrolls to bind
;                (note: You can have a mix of 10s, 15s,
;                       and 20s in your scroll bag; even
;                       if you plan on just binding 10s.
;                       If you have a mix in your scroll
;                       bag and want to bind the 10s
;                       then do not select a bag for 15s
;                       or 20s)
;               -This script will ask for another bag
;                of scrolls when the first is done
;               -Set up a resource container with EMPTY
;                scroll binders
;               -This script does not currently support
;                crafting your own scroll binders
;               -Be close enough to all of your secures
;                to drag and drop the scrolls on them
;               -Start the script
;               -Use the menu to target each of your
;                containers
;               -The minimum containers you need are:
;                1) resource, 2) scroll, and
;                3) 10s, 15s or 20s bag
;               -The script currently does not support:
;                1) SOT scroll binding
;                2) Scroll binding other scroll binders
;
; Acknowledgements:  Thanks to TM for the split screen
;                      option in the ScriptUO!
;                    Thanks to C2 for the menu tutorial!
;                    Thanks to Cerveza and EN for testing!
;                    Thanks to Neo for the dragndrop sub!
;                    Thanks to TM for the GumpWait sub!
;                    Thanks to Thimotty for his  strreplace
;                      sub!
;                    Thanks to TM and manwinc for help with
;                      my variables!
;==========================================================
; Version 1.3  - Made the script a whole lot FASTER
;              - Reduced number of finditem calls
;              - Reduced the number of loops
;              - Overhauled the entire script
;              - Added a %lagwait in a couple spots
; Version 1.2  - Added Neo's drag and drop sub to help
;                with ghosting problems
;              - Added a version of TM's GumpWait sub
;              - Added initiallization of binding flags
;              - Now ignores 105s in scroll bag
; Version 1.1  - Fixed bug to move completed binder
;              - Increased LPC to 3000
;              - Added status GUI
;              - Fixed name of Twenty's Bag
;              - Changed dragndropwait time from 20 to 10
; Version 1.01 - added "Fishing" to list of scrolls
; Version 1.00 - Initial Release
;==========================================================

Things to note:
1)  This script currently does not craft new scroll binders
2)  I put an SOT button on the menu because I hope to tackle binding SOTs but this feature is not written yet.
3)  I had trouble with the wait times.  So I put in pretty long wait times.  So currently the script is not optimized for speed.  I'd love to get this thing going fast.  So if anyone has some feedback on making it faster please let me know.
4)  Version 1.3 was written to address bullet point 3.  Let me know what you think.

Please let me know what you think, reply with any comments or questions.

Edit:  Uploaded version 1.3, overhauled the whole script!  From my testing it runs 2x faster than v1.2!!
        Uploaded version 1.2, added Neo's dragndrop sub to help with ghosting items, code cleanup
        Uploaded version 1.1, added a status menu and fixed a couple bugs
        Added for version 1.01 I added "Fishing" to the scroll list.

19
ScriptUO Questions and Answers / Short Cuts
« on: April 29, 2010, 06:10:54 AM »
First off. Thanks for SUO, it is awesome.
Next, my question:
Do you have a list of program short cuts?
I've been trying to use SUO more and more for my script writing and I notice that some of the standard short cuts work in the program while others either don't work or are implemented differently.
A few examples:
This works
1) Changing child windows == ctrl-tab or ctrl-shift-tab

This doesn't work
2) Find/Replace == ctrl-f
This caused SUO to crash when I did it quickly without remembering that I can't use it to open find/replace.

This is different...(ctrl-O doesn't seem to work for opening files)
3) load == ctrl-L (This allows you to browse for a script to load.)

Thanks again for the awesome program.

20
Crafting / Bola Maker
« on: April 26, 2010, 02:58:18 PM »
Here is my Bola Maker. It is my first try at making a script with a menu.  I've tested it a bit and it works well for me and a couple guildmates.
Give it a whirl and let me know what you think.

Setup is pretty easy:
-Get a resource container with iron ingots and leather.
-Get a tinkerer with at least 60 tinkering.  (I recommend higher and use a tinker tali.)
-Have at least 1 tinker tool in your backpack.
-Start it up.


21
Resource Farming / Ter Mur Lumberjack
« on: April 20, 2010, 09:21:31 PM »
Nicar's Recall Lumberjacker has been my script of choice for lumberjacking for the past couple years.  When Ter Mur came out, I went and marked a full runebook of trees and went to work.  I found that the script did not recognize my trees!
I'm not the most advanced scripter but I am learning.  So i went to try and figure out how to make Nic's LJ work in Ter Mur.  After a bit of work on the script, I've got something that works quite well.  The script is My Ter Mur edit of Nicar's Recall LJ.  It still has issues with timing...(sometime I lose my client when unloading my backpack which is quite annoying)...but I find it very effective.

To make the script work in Ter Mur, I basically hardcode my trees into the script.

So to setup up the script, you first have to fill one or two runebooks with trees for Ter Mur.  Name one of them 'ter 16' and the other 'mur 16'.  Then run the setup script for each runebook in Ter Mur.  The setup script makes you recall around to each tree in your runebook and target the tree you want to harvest at each spot.  It pauses in between each rune so that you can recall from one rune to the next.  After the 16th tree, the script creates a file named 'mytrees.txt' and puts it in the same directory as the setup script is found.  Copy and paste the code created from the mytrees.txt into the corresponding subs at the end up my lumberjacking template script.  If you are using two books for ter mur, then you have to run the setup script for each book and copy the code into the template each time.  The LJ script only supports two books for Ter Mur.  Once you have copy and pasted the code into the template save the script and you are done with the tree setup.

As for setting up your lumberjacker to use Nic's LJ: First I suggest you get a couple runebooks for Ter Mur setup,  Then I would get a separate runebook containing a rune to my secure location.  Then I would set my variables in the menu and press Play!

The script auto locates trees to chop in fel. The script is not specific to only Ter Mur.  It also works with other facets.  You only have to do the runebook setup for the trees in Ter Mur.  Name the Ter Mur runebooks:  'ter 16' and 'mur 16'.  Name the runebooks for other facets:  'wood 16' or 'tree 16'.  Make sure that you only have one 'ter 16' runebook and one 'mur 16' runebook and that the tree setup code has been copied and pasted to the correct sub at the end of the template script.

I did my best to write clear instructions at the beginning of the scripts.

I have had quite a bit of success using this script.  I hope you find it as effective as I have.
Thanks!

Note:  I am posting this script as my edit to Nicar's Recall Lumberjacker.  I give the credit to Nicar and J4bber for writing it and many thanks to all those who helped make it such a powerful script.  Thanks to all who have contributed to it in the past!


Sly did make reasonable attempts to get in touch with the previous authors.  So we're OK with him taking over this script.  FYI


Revision to Version 2.2:  I simplified the logic in how the runebooks get setup.  Now the script correctly determines how many runebooks you have in your backpack and adjusts to any combination of ter 16, mur 16, and tree/wood books.
Revision to Version 2.2a: I added a crystal shard counter. 

22
Misc. Scripts / SOT sorter
« on: October 23, 2009, 01:04:14 PM »
Here's a go at the first time I've submitted a script.

The script's purpose is to sort all those SOT scrolls you've been collecting.

Setup is pretty easy:
1) Buy 10 backpacks or pouches and secure them in your house.  
2) Bag up a bunch of SOT's to sort.
3) Stand near the 10 backpacks and the bag full of SOT's.
4) Press Play.

The script will sort your SOT's in alphabetical order into the 10 backpacks.

I just sorted 200 SOT's at my house.  I hope you all find it useful!

Thanks!

23
New member introductions / Hi
« on: July 30, 2008, 10:53:51 AM »
hey, i'm a novice scripter.  I've been playing UO since the 2nd age came out.  It's fun to see a script start out as an idea and then make it actually work.  I've been slowly working on a few scripts and each time I learn alittle more.  Thanks in advance for the help!

Pages: 1 [2]