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

Pages: 1 ... 6 7 [8]
106
Script Debug / Question / Help with Menu Check Command....
« on: May 15, 2010, 02:42:42 PM »
If you have 2 checkboxes in a menu is it possible to make it so that checking Box 1 will UNCHECK Box 2 ???

I'm making a short script with a Menu to do specials etc.. and I have it setup so that you simply check your primary or secondary special moves...  Since you can't do both at one time I figured it would be nice to make it so that trying to check both checkboxes @ the same time was impossible..

For example..

If you have Box 1 (primary) checked & you check Box 2 (Secondary) it would then UNCHECK Box 1 and so on...   I realize that you can set menu check to #false which will indeed clear the checkbox but it appears that #menures only remembers the last ACTUAL mouseclick or some such, and even if you reset it to #False it will return #True in #menures bc that was the last "phycial" input?     Anyway running short on time ... Work etc.. but if Anyone is borred enough or already knows lemme know...  If I failed to make it very clear I'll be back later heh..

Thx in Advance.

107

I was thinking about building a character specifically to try Farming the Fire dungeon Imp spawn.  Sash's & Glad. Collar could easily make it VERY worth doing.    If anyone knows a good way to pull this off with a Single character & you don't mind sharing...

IDEAS so far..

Necro mage.. but then killing the champ could take forever....

Whirlwind Bushido character, but not sure if you can Do Semidar with a Melee weapon & not get pwned.. (even as a female)


Anyone got something that works?

108
Scripting Chat / Script IDEA--UO Speedometer ... Possible?
« on: January 06, 2010, 11:05:44 AM »
Hmm...   I was borred the other day and toying around with script ideas & I thought of this.  Do you guys think it would be possible to write a reasonably accurate Speedometer Script?  If I remeber correctly Winspeeder boosts the speeds accross the boards, which would mess up timing variables in EUO, but I don't think Cheat Engine does this.  If your not speedhacking I know ping is a decent mesurement of your speed but it fails to take into account the quality of your computer etc...

Anyway...  I'll have to play with this....

I'm thinking perhaps simply tracking the # of times a characters #charposX / #charposY  changes within a certain period of Time & doing the math to give you a Tiles / Sec  Speed measurement.  Perhaps a small menu to allow the user to configure the Distance or Time that the script measures over.. In the Geometry of UO the hypotonus of a Right Triangle is the sum of the lengths of the two legs correct? 

Ex...  to get from coordinate X,Y    (0,0) to (2,2)  The shortest distance is normally a line passing through (1,1), but in UO geometry Traveling from (0,0) --> (0,2) --> (2,2) is the same distance...   Is this correcT?   

Hmm..  It might even be easiest to require the script to be played a specific location So it has room to run a set route etc.. to get accurate measurements.. have to try and see..

109
I've been using   sub Moveitem    from EUO etc for awhile now & I still have periodic problems with it....  I occasionally run into problems with it trying to exevent drag something B4 it dropped the previous item.. or it fails to register that it actually did drop the item because of a ghost image of said item in your backpack etc..  Anyway I was just wondering if there was a better standard out and about that people were using that I wasn't aware of.   Perhaps TM's included some slick journal scanning etc heh..  Anyway.. was just curious... all this dragging and dropping of blue / red / yellow crystalls to my secure isn't as stable as I'd like...     >  ;- )

110
Script Debug / Need some Help... Determining NPC from REAL players....
« on: October 13, 2009, 03:26:41 PM »
ok.. so I've got a few resource farming scripts that I run, but some pretty borred people have taken to tracking me down on stealthers and killing me for what I farm..  What I'm having problems with is accurately determining if it's an NPC vs Real player...
I know there's a few ways to go about this but I don't understand what's going wrong with the way I chose..

Also.. I don't know if it makes a difference, but sometimes Red Brigands spawn & my Farmer will AutoDefend & kill them so I don't know if that has an effect..  . 

PS.. I realize that searching for _the_ is not 100% accurate... I could put in all the possible NPC names bc I know it's possible to have _the_ in a character named but it works for 99.9%..

Anyway here's where I was headed.

Code: [Select]

 ignoreitem #charid

START:

finditem IS_HS_XU_AV_KS_JS_ZU_KV_SAB_MAB_LAB_SH_EH_VD_JG_BB_SC_OAB_QAB_PAB_RAB_HN_IN_FN
If #findcnt < 1
  {
     wait 1
     goto start
  }
For #findindex 1 #findcnt
  {
     If #findrep = 7 || #findrep = 3
       {
         ignoreitem #findid
       }
     set %Target_id #findid
     Gosub Check_NPC
     If #Result = #FALSE
       {
          Display OK a "REAL" player is Nearby!
          halt
       }
  }


goto START

;-----------------
;-----------------

Sub Check_NPC

linespercycle 1000

Event_property:
set %waituntil #scnt2 + 10
Repeat
    {
    event property %Target_id
    wait 2
    }
Until #property <> $ || #scnt2 > %waituntil
set %player_property #property
If %player_property = $ || %player_property = N/A
   {
   ignoreitem %Target_id
   linespercycle 10
   return #false
   }

If #spc , the , #spc in %player_property
   {
     ignoreitem %Target_id
     Linespercycle 10
     Return #True  ;--Return #TRUE if it's an NPC
   }
Return #False  ;--Return #False if NOT an NPC


What I don't understand is that some NPC's with  _the_  in their title are making it past the If statement that would ignore them and returning #FALSE that it's not an NPC when it actually is...


Anyway if someone's borred ???

PS.. other ideas on ways to accomplish this

1)  Open paperdoll and scan for Jewelry.. pretty much EVERY player will have some.. no npc's will

2) Open paperdoll & scan for Insured items.. but this requires Even property which is probably what's causing my problem above

3) Journal Scan for the "You see: Collin the brigand"     etc...  though there would be a TON of possibilities you'd need to account for.. Bascially all Monster names / NPC types etc... though no event property needed..

Anyway.. thx.

111
Ok...  So what are the common Error checks you guys use when using Event property?

I'm thinking about writing a short script that will churn out masses of Exceptionally crafted leather armor and continue to recycle them until I get ones with the right resists.  This will obviously mean using event property on each piece and parsing out the Resist values & comparing.  What I'm not too sure about are the Ways that Event property can Fail ??

Example..
Code: [Select]
set %Scissory_ID XXXXX
set %Armor_type YYY

set %string %Fire , #spc , Resist , #spc , 16%
START:

Finditem %Armor_type C_ , #backpackid
If #findcnt > 0
  {
     For #findindex 1 #findcnt
        {
           event property #findid
           wait 10
           If %string notin #property
              {
                  set #lobjectid #scissor_id
                  event macro 17 0
                  Target 2s
                  set #ltargetid #findid
                  event macro 22 0
                  wait 20
               }
         }

goto START

Anyway...  I'm stuck @ work and borred...  The whole part where I set String was hopefully enough to convey teh idea I don't actually think that would function like that.   I'm just really not sure about other error checking I should be using to make sure that #property updates etc.     Maybe I can Save it before the Event & If it's different AFTER the event and NOT just $ it worked or something..
 
Ah well.. just thinking..

112
I've been farming imbuing ingredients with a Mysticism Mage using alot of SDI & Splayer spellbooks & it occurred to me that I could most definately write a script for this.  I can quite resonably simply Cast spells like Nether Cyclone and Target myself effecting everything in 2 tile Radius, but there's gotta be a better way to do it!!

IDEAS:

1) Target self and Nether cyclone is basically just a 2 tile wither in this case.  You lose the time it takes for Mobs to walk up to you.

2) Target yourself & if nothing's near target the nearest Mob.. this is a bit better bc your not waiting for stuff to walk up to you all the time, but the "nearest mob" isn't usually the best spot to click your ranged AoE.

3) I'm looking for a better method of Scanning the nearby area (10 tile range for spell casting) & determining where the "Target Tile" is that includes the most Mobs in it's area of effect.. 
What I can think of so far is this... (if your farming area is static)
    -The sub would basically scan through each valid Target Tile & finditem the mobs at that point in time keeping track of how many of them are within range of the AoE if you targetted that tile.  The sub would scan all the tiles like this resulting in a specific spot or spots that maximizes the # of mobs hit.  I know I need to find a sub that computes relative distances in uo geometry for given x/y comparisons... & I don't know if scanning an area like this can be done fast enough (considering that everything is moving) to even be worth it...

  In short... your standing there with a nether cyclone Cursor up. 3 Ratmen spawn... some near some far...  Is there a spot to click that kills all 3?  2? etc..   gotta be a way heh...

I'm not looking for someone to write this for me..... Just some ideas on how it might be done and I'll figure the rest out...  or if you have the urge feel free!

thx 

113
All right...  I'm using everything at my disposal so if someone's borred enough to point me in the right direction to get this fixxed I'd appreciate it.

Vista Ultimate System:

Upon boot up I receive the following error msg.

"Logonui.exe application error" = Error window's Title.

"The instruction at 0x74e18e6f referenced memory at 0x00000000. The memory could not be read. Click ok to terminate the program"

 
----------------------
I can currently boot to my other drive, but want to fix this. 

-I've tried the startup repair from my Vista install disc which finds no problems. 

-Ive tried the sfc/scannow from the Admin CMD prompt & "Windows resource protection did not find any integrity violations"

-I tried a restore point prior to my last Windows update and the problem still exists..

Online & looking for new ideas now..

THX.

114
General UO Chat / RANDOM INTERESTING Tidbit.. A tamed Goat can....
« on: September 01, 2009, 08:55:29 AM »
lol.. I was browsing a thread on Stratics that someone linked me about Heartwood scripters...  Anyway.... apparently the scripter in question has quite the operation setup.  15-20 stealthed questers being fed by a packy train of 5 being restocked every 30 sec or so.  The interesting part of all this was that there was a TAME GOAT involved... (goat was in position on multiple shards)...  After a fair amount of brainstorming summon nailed it...

A TAME GOAT will EAT a leather backpack with everything in it just like a trash can... This is apparently a VERY old easter-egg.. lol WHO KNEW?

Random... but I liked it... 

I'm sure some other creative people can think of a way to use this... FaF ??  or something heh.

115
General UO Chat / White Pearl Question...
« on: August 28, 2009, 10:06:42 AM »
I'm doing fishing for the first time and wondering how to max out my chances at white pearls.  As far as I understand it 80.0 Fishing or more gives a chance at a white pearl & being and Elf increases that chance.  Does the chance of a white pearl dropping increase the higher your fishing skill goes?  What else can I do to increase the number of pearls dropping?  I'm at like 83 fishing currently and have yet to fish up a serpent (do these not spawn in some location?) so I imagine spending less time fighting those and more time fishing would increase pearls too.  Hmm... perhaps there's a way to decrease the time each cast takes ?  or to use multiple poles & casts maybe ?

116
I'm working on a script that interacts with pets and such but having a problem telling if a bonded pet is alive or dead.  I can check the #finddist / #findrep  and such but can anyone think of a quick way to determine if the pet is a ghost or not?  I realize I can do this with Health bars and such, but scanning for life on a health bar isn't particularly quick.  Perhaps some skill or item that's quick to use that might give a useful journal msg (easily scannable...--Journal Sub THX TM!) and such ??

Exampe.. Say I want a script that will Target any opposing Faction mount / Dreadmare in range with whatever spell I have a cursor up for...   I'm just looking for an easy way to tell if the mounts already dead or not...

THX.

117
Well ..... a few things about myself.  I've been playing this addicting game for 12 years now, which for me was back when I was in college.  I live in Seattle & spend a good portion of those rainy days enoying some "UO time" which my wife has long since learned not to begrude me.  I spend most of my online time PvPing or tinkering with some script or another (probably 5 years EUO experience by now)...   Ahh.. the good ole days when the Cartography script was fresh & new & I had just enough knowledge to cobble together my own version to make a buck when the good one was still hard to get your hands on....  I'm quite knowledgeable about the "mechanics" of UO, so Templates / Formula's / or "How's this work" Questions are what I excel at...

Anyway.. Nice meeting you & I'll try to stay active, though I've got a "little one" on the way come December, so the wife's got LOTS of projects me between now and then...

PS...  It's totally Random, but my Household is "PET Central".  1 Dog, 1 Cat, Lots of Fish, 1 Ferrett...   The wife happens to be a Vet Tech so I'm good for fielding a fair portion of "My Dog ate.....  Questions" as well.

See you all around.

Pages: 1 ... 6 7 [8]