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

Pages: 1 ... 38 39 [40] 41
586
Script Debug / Re: Multiple Index trouble
« on: December 26, 2008, 03:37:25 PM »
Amazingly enough, I did just now happen to find an old euo forum board discussion on the (.) & (,) operators.  I figure that before I do do as you suggest "test test test!" , I had better know a bit more about the operators, what is happening, and most importantly, Why !  Here's the link to where I read about them in case it interests you and anyone else reading this post.

Old EUO Forum Linky

587
Script Debug / Re: Multiple Index trouble
« on: December 26, 2008, 01:32:07 PM »
By your example, it would seem to me that the "." will be the chosen operator atm for my specific task at hand.  Some of the other examples I've seen and read were still imo, very vague and not very 'noob' friendly.  I actually had to look up the word 'concatenation' when I first came across it on euo.  Needless to say, none of my personal little scripts use either the ',' or '.' operators.

588
Script Debug / Re: Multiple Index trouble
« on: December 26, 2008, 12:32:32 PM »
Thank you TM.  That certainly does clean up my mess  :P . I was hesitant on using the '.' & ',' operators in the event I'd once again over complicate things.  Turns out I was right and wrong at the same time  :o !  Time to experiment and test those operators to get something moving.

589
Script Debug / Multiple Index trouble
« on: December 26, 2008, 11:48:06 AM »
I'm sure I've seen this setup in other scripts or at least have heard about it.  So here's the general run down of what I'm trying to set up.

finditem ***
when > 0
run the #index
WITHIN that same #index
index those with %this distance
&
index those with %that distance
move char to %this distance in %this index
then
move char to %that distance in %that index

here's what I'm working with in case my pseudo code sucks

Code: [Select]
  finditem %bla G_23
  if #FindCnt > 0
  {
    set %lowX
    set %lowY
    set %highX
    set %highY
    set %lowcnt
    set %highcnt
    set %lowindex
    set %highindex
    Set #FindIndex 0
    Repeat
      Set #findindex #findindex + 1
       if #finddist =< 7
        {
         set %lowindex #findindex
         set %lowcnt #findcnt
         set %lowcnt %lowcnt + 1
        }   
    if #finddist <= 15
        {
         set %highindex #findindex
         set %highcnt #findcnt
         set %highcnt %lowcnt + 1
        }
     Until #findindex = #findcnt
     for %lowindex 0 %lowcnt
     {
       set %lowX #findx
       set %lowY #findy
       move %lowX %lowY
       ignoreitem #findid
     }
     for %highindex 0 %highcnt
     {
       set %highX #findx
       set %highY #findy
       move %highX %highY
       ignoreitem #findid
     }
  }

So essentially, find all the Id's within this range, and seperate them into a distance variable.  Then, move to each location one at a time starting with the closer range index first, then the further one.

Thank you very much in advance

590
Scripting Chat / Re: Calling scripts and Execution ?
« on: December 23, 2008, 11:28:59 AM »
Thanks everyone, that now makes sense since I've tried the last calling method with no success as the euo exe is not in the same folder and whatnot.

Thats a great snippet TrailMyx, I'll definitely look into that in the event this script becomes that complex

591
Scripting Chat / Calling scripts and Execution ?
« on: December 23, 2008, 08:15:32 AM »
I'm a little confused on what the command is exactly and how. I understand that it finishes with 'exit' but the parameters are not clear to me. Example, my script is held in folder "C:\My Docs\EUO\My Scripts\test.txt" , exactly as is, spaces included. I also use the text reading program GetDiz (if that matters at all). So in my script calling the sub, should it read:

Code: [Select]
call C:\My Docs\EUO\My Scripts\test.txt

Or as the euo site recommends

Code: [Select]
correct: C:\MyDocu~1\blabla.txt

Namely the squiggly line in front of the '1' shortening the name in all spaces as mine would have two of them. Further, in the called script, does the first line have to have anything at all relating to the name of the script, or its calling, or can it start immediately with code?

Or...
Can I get away with just doing it like this?

Code: [Select]
call test.txt

I've already tried many different methods and variations to no avail.  I'm sure every change I made knocked it off in some way or another and obviously have not had success with it.



One more thing, please anyone take a look at my script in debug please . Four, almost 5 days without a download... :'(

592
Yikes Xclio, I'm about to start a new job as well on the 22nd, hope mine isn't 20 hrs :P

593
Update 12-18
 Added Menu
 Cleaned up and straighted up code
 put the script as an attachment


Not all the buttons are working yet.  The ones that are working are as follows:

Start
Stay Dead
Use a boat
Always Run
Loop Script

FYI, while the boat check is working, there is no sub or script to run it.  Just merely a check and a request.
In the menu, the white block on the botton right is a picture I did not include with the script.  That'll be added in later.
Thank you.

594
Cool Links! / Re: GIMP stuff
« on: December 16, 2008, 09:54:03 PM »
Pay?  ;) For anything?  ???  ;D...proggy's, apps, movies, music...um... :-X

595
Script Debug / Re: Part of my Big script for general testing
« on: December 14, 2008, 01:04:43 PM »
Good lord, do I need to change it to this ? :-\ :P

.
.or...
.
.
.
.
.
.
.
.
.
.
.
.NOT FOR THE FAINT OF HEART !!
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.


 

596
Script Debug / Re: Part of my Big script for general testing
« on: December 13, 2008, 10:41:42 PM »
Ya Xclio, completely and utterly unattended.  I have some plans which will need some good thinking out and possibly, completely new ways of using scripts.

@ Cstalker LOL.. ;) I find myself doing the same from time to time.  Just keeping the SUO home page open to watch her dance :P.

Anyhows, please feel free to copy, paste and run this in euo and give it a whirl.

597
Hi all.
Here I go again.

Barring any large bugs, changes, replacement or inclusions, this IS the last update of this particular script that will be posted publicly. If all goes well, My World Traveler script will hereafter be only available via private access for reasons to be revealed at the release of the full Version 1.0 and any thereafter.

In this Beta 0.9 release, there are no character rails or actions, other than selecting items in your backpack, home secure and/or bank box and possibly moving towards one of the many bankers/minters. I'm generally looking for feedback regarding this script's functionality and ease of use and understanding.

My UCI program is not used in this script (yet) however, the Kalocr.txt script is required.  Loads of information and details about this script is in the header, PLEASE take the time to read it before running and asking silly questions :) . I am making an attempt for this to be SUO compatible, and most likely, only SUO workable (for reasons yet to be revealed). The script is so far just over 2000 lines.

As mentioned, this script will not move your character via rail, but will recall to bank/your home ( given you select the option) and look for a banker/minter if selected. The Pause and Quit buttons are not functional (sub taken out atm), loop, Go to islands, and use a boat are in a way non function, but please do use them, and use all the options both in the script itself, and menu choices.

Constructive criticism is greatly appreciated, encouraged along with your basic criticism :) .
Extract the .zip file to your Euo directory

Code: [Select]
; LAST PUBLIC RELEASE !!!! Beta Version 0.9
; Updates include:
;   Corrected issue with restocking bard instruments (again)
;   More Small code improvements in strings
;   Sub to use Runebook charge traveling capability not in TM Runebook Subs
;   Option to use or not use Special bard instruments. Special instruments include:
;      Gwenno's Harp, Iolo's Lute and all Flutes of Renewal. To use these instruments,
;      change the %Special_Instruments value to #True, otherwise set to #False to not use

; Script Name: Superslayer's World Traveler
; Author: Superslayer
; Version: .9
; Client Tested with: 6.0.13.0
; EUO version tested with: 1.5 v148
; Shard: OSI
; Revision Date: 5-07-09
; Final Public Release: Beta 5-07-09
; Purpose: Walk the complete UO world one time from any starting position without
; going over the same area twice. (Aimed at all the possible housing locations).
; Find us at ScriptUO.com & WinUO.org

; Dependancies & Script Credits:
;    Kalocr.txt  --  MUST be in the same directory as EUO is installed AND this script !
;                 Can be dl'd here: http://www.easyuo.com/forum/viewtopic.php?p=26125#26125

; Special thanks and Credit goes to TrailMyx for his:
;    Advanced Journal Scanner, Runebook/Spellcast Subs, GumpWait & OffsetClick Subs & AddUnderscore Sub
;
; Purpose : Walk the complete UO world one time from any starting position without
;  going over the same area twice. (Aimed at all the possible housing locations).

; ==== Instructions and How to ====
; Begin with your character either in your home or at a bank of your choice
; Have a runebook in your characters backpack. The first rune MUST be your rune home,
;   and any subsequent runes to any bank(s) IF you want.  Multiple banks are supported, however, bank rune(s) are not
;   required in the event you choose not to use a bank as a means of stocking any resources.
; If your magery is high enough to mark, please have a rune available in your backpack for
;   subsequent 'remarking'. This will be used as a 'return to location' in the event of a restock of resources is needed.
; Select your choices in the menu and press "Start".

; ==== What this script Does and Does Not do ====
; This script Does support using a dead character. It Will rez your character if requested and resume the setup if necessary.
;   You can ENTIRELY use this script while completely dead if chosen so. -Not completely implemented yet.
; This script Does NOT buy or make any resources that may be needed. All resources are to be supplied
;   by the user in any of the supported ways: bank secure box, home secure, and backpack.
; This script Does offer options in both the script itself, and the menu for users to change.
;   For internal script options not in the menu, see "User Config Options" below

; ==== Menu Descriptions ====
; Bank Secure : Use your bank secure for resources. i.e. recall scrolls, regs, instruments...etc.
; Home Secure : Use your home secure for resources. i.e. recall scrolls, regs, instruments...etc.
; Go to MSL's : Go to Malas Secret Locations. Assuming you already have marked runes to the locations
; MakeMSL's : Have a runebook with 9 runes in it. These will be remarked. No magery required. Runebook will be renamed.
;                   Having this checked will create the runes enabling your character to go to the Secret Locations.
; Return Rune : Use a rune to return to the current location after restocking any resources from your home/bank
; Go To Islands : If you have some runes to islands otherwise unreachable by walking/riding means, have these in a runebook
;                   no matter the name or order. The script will travel to them one by one from first to last. Multiple
;                   runebooks are supported.
; Stay Dead : Check this option to remain dead if already dead, or if you die along your travels. Keep unchecked to either
;                   rez your character when a healer is found if already dead, or rez-up if you die along your travels.
; Always Run : Check this to have your character run completely, or unchecked to walk.
; Loop Script : Enable this to continuously roam the lands until you log out/press the quit button or whatever. Leave unchecked
;                   to run the script once, and then stop.
; Use a Boat : Checking this will enable your character to go to islands that are otherwise inacessable if there is no rune
;                   currently in the users capability.

Update 5-16-09
Version Beta 0.9 Final Public release
Corrected issue with restocking bard instruments (again)
More small code improvements in strings
Added sub to use runebook charges for traveling capabilities
Option added to either use or not use Special Bard Instruments. They include:
Gwenno's Harp, Iolo's Lute and all Flutes of Renewal. See header for more information.

Update 5-07-09
Version Beta 0.85
Small Menu Adjustments
LRC count sub
TM_TravelFromRunebook & supporting subs
Bug fixed with peacemaking (didn't pick up an instrument if none found)
Eliminated requirement to 'comment out' lines in User Config, replaced with #true/#false
Basic code improvements

Update 3-23-09
Resolved the recall scrolls sub to recharge runebooks
Created a 'library' of runebooks to record what books have already been selected for certain uses
Correctly updated the Vers. number
Fixed my issue with TM's Advanced Journal Scanner
Decided to always change my avatar when posting/updating a script of mine.

Update 3-16-09
Menu additions and picture
TrailMyx's Advanced Journal Scanner
Loads more, too much to mention

Update 1-20-09
Added Skill Menu Functionality - big pain in the ass that was.
Completed the Start, Pause, and Quit buttons

Update 12-18
Added Menu
Cleaned up and straighted up code
put the script as an attachment

598
Feedback / Re: TM All i can say right now is wow.
« on: December 12, 2008, 10:21:27 PM »
The current beta is pretty stable I haven't managed to break anything with it in a while but then again I am just now getting into building new scripts.

ditto

599
Feedback / Re: Me likes
« on: December 12, 2008, 10:19:55 PM »
Ya, menu making will be fun.  I'm giving the euo menu designer a try, and it's ok.  Writing it out on my own is ok too, but I'm really not in a big hurry to set mine up for my script atm.  I have in my script title header, the instruction for operating it, and made a special notification about setting up your own config's.  Maybe another month or two until I post it for private debugging with a version of 0.5 and later 1.0 for when SUO becomes more functional and complete 8) .  1.0 will hopefully for me be more complete with at least everything I'd like to have in it.  Again, I can certainly wait, with the way SUO is looking, it's going to be the bomb ;D !!

hmm.. "Rolls Eyes" doesn't exactly work... :P
 :)   ::)

600
Script development tools / Re: TrailMyx's Master Rail Engine/Developer
« on: December 04, 2008, 12:52:12 PM »
I had tried that with ceo, and his movements were rather robotic and choppy.  The save took forever too, I had a rail to check the locations of arties in doom and so recorded a rail walking to about 10-12 of the locations...it took forever.  But just as I had thought, it'll either be a fun sub for me to learn and write, or just not possible the way you have it set up.  All in all, I'm infinitely thankful for all you do here, and very grateful for your quick responses.  This script of mine has so many elements, I'll have to come back to this part and do some other stuff.  Thanks again TM  ;D

Pages: 1 ... 38 39 [40] 41