Recent Posts

Pages: 1 2 [3] 4 5 ... 10
21
New member introductions / Re: Another Intro
« Last post by Crisis on January 29, 2023, 05:43:57 PM »
Welcome to SUO! Thanks for your introduction - restricted status lifted - feel free to enjoy all the benefits of the site!
22
Resource Farming / Re: neo's psycho kung-fu miner, release: March 16, 2013
« Last post by Piller on January 29, 2023, 05:03:04 PM »
 }
  if %findtype in %gems
  {
    if %findtype = UWS
      set %gem perfect
    if %findtype = ZWS
      set %gem turquoise
    if %findtype = TWS
      set %gem ecru
    if %findtype = AXS
      set %gem dark
    if %findtype = GXS
      set %gem blue
    if %findtype = VWS
      set %gem fire
    if %findtype = MDHB
      set %gem crystalline
    set %cnt . %gem %cnt . %gem + %amount
    menu set cnt . %gem %cnt . %gem
    gosub move %findid %gem_bag %amount

If I am reading this right (im prob not lol) the script checks the backpack for the 8 gem types and total # of them. Then moves gems to the gem bag that the ID was made when starting the script in set up.
I am thinking this would be the easiest to add the ore types here so they are treated the same.
My concern is the
 }
  if %findtype in %gems
  {
would I have to make another sub for ore or can I add gems and ore together. and if adding to one would I need to call the ore gems?

 if %findtype = JKH  (item type for normal granite)
      set %gem Granite


23
Resource Farming / Re: neo's psycho kung-fu miner, release: March 16, 2013
« Last post by Gaderian on January 29, 2023, 03:57:00 PM »
Shhh! I was trying not to give the answer. ;)
24
New member introductions / Another Intro
« Last post by magikhatt1 on January 29, 2023, 12:36:56 PM »
Hi folks my name is magikhatt1.

I have been playing UO off and on since I was a teenager in '99 and now I'm old.

I play on freeshards now and like to PvE and sometimes craft. I had an old account here I forgot the password to and it had been registered with gmail so I guess it's gone now. I came here to look at some powerscroll sorting functionality because PS books are terrible.

I've adjusted scripts as needed so they work for me, and can write some in easyuo/uosteam.

Outside of UO, I play softball, go to the lake, float the river.

Looking forward to being back!

 ;)
25
Orion UO Client / Re: Orion.FindList
« Last post by bendel on January 29, 2023, 10:57:16 AM »
The ".length" property is a property of an array in JavaScript that returns the number of elements in the array.

The 2nd line of the code uses a for loop to iterate over the elements in the "sorttobag" array. The loop starts from 0 and goes until the end of the array, which is determined by "sorttobag.length". The variable "i" is used as the loop counter and is incremented on each iteration.


Sorry, I had this to chatgpt and it seems correct 😅
26
Resource Farming / Re: neo's psycho kung-fu miner, release: March 16, 2013
« Last post by Neo on January 29, 2023, 07:24:27 AM »
I haven't looked at this script in years, so I don't know the smelt/unload routines. What I do know is that at GM mining and fighting ore elementals means you would also collect the ML large gems and crystalline blackrock. These items are not able to be smelted either and must be unloaded.

The only thing that can be smelted is the ore, and the smallest of ore pieces need 2 or more to be valid for smelting.

So there must be some logic about what is smelted or not already there which you should be able to find and take advantage of when making your modification.
Yes, so just group the stone with gems or whatever else that doesn't smelt, and you should be good.
27
Resource Farming / Re: neo's psycho kung-fu miner, release: March 16, 2013
« Last post by Gaderian on January 28, 2023, 11:00:19 PM »
I haven't looked at this script in years, so I don't know the smelt/unload routines. What I do know is that at GM mining and fighting ore elementals means you would also collect the ML large gems and crystalline blackrock. These items are not able to be smelted either and must be unloaded.

The only thing that can be smelted is the ore, and the smallest of ore pieces need 2 or more to be valid for smelting.

So there must be some logic about what is smelted or not already there which you should be able to find and take advantage of when making your modification.
28
Resource Farming / Re: neo's psycho kung-fu miner, release: March 16, 2013
« Last post by Neo on January 28, 2023, 12:25:26 PM »
Please don't tell me the answer im trying to learn.

If you set your first pick axe to also farm stone it does. The problem being thee script does not unload the stone into the secure @ the house and will eventually over weight you. So is my thinking right:

Find line where you recall home after weight check
There should be type ID's for all the different ore  types it puts in the chest. Add the stone ore types to this line and it should also unload the stone.
To do this you need to set smelt = false or it will try to smelt the stone and crashes the script.

Does it seem im on the right path?
You're on the right path, yes... But not quite there... I'll play along and won't give you the answer!
29
Resource Farming / Re: neo's psycho kung-fu miner, release: March 16, 2013
« Last post by Piller on January 28, 2023, 11:28:27 AM »
Please don't tell me the answer im trying to learn.

If you set your first pick axe to also farm stone it does. The problem being thee script does not unload the stone into the secure @ the house and will eventually over weight you. So is my thinking right:

Find line where you recall home after weight check
There should be type ID's for all the different ore  types it puts in the chest. Add the stone ore types to this line and it should also unload the stone.
To do this you need to set smelt = false or it will try to smelt the stone and crashes the script.

Does it seem im on the right path?
30
New member introductions / Re: Do people still do these?
« Last post by Piller on January 28, 2023, 11:18:09 AM »
if you need help with new templates or any of the new paragon bosses let me know. Being a returning player over the last 6 months I have learned a lot of the new stuff. PM me anytime. Welcome
Pages: 1 2 [3] 4 5 ... 10