ScriptUO

Ultima Online Fan Board => UO Professions - Traditional => Resource Extraction => Topic started by: KilroyIsDead on April 28, 2009, 05:52:25 AM

Title: When do resources get randomized...
Post by: KilroyIsDead on April 28, 2009, 05:52:25 AM
I asked at EUO and it said every time you visit it's random, but then does the server keep track of my visit versus larry's visit versus TrailMyx's visit.  My guess is that it's a server uptime randomizer but then stays that way all day.  Can anyone confirm this?

Thanks
Title: Re: When do resources get randomized...
Post by: Masscre on April 28, 2009, 06:10:27 AM
Whenever an ore vein refreshes after being harvested from, there is a slight chance it will change resource type. For example, a mountainside that yielded Valorite today might give plain iron tomorrow, and vice versa. Your level of skill does not determine your chance of finding a colored vein, it only determines whether you can extract the colored ore.

So if you completely empty a vein everytime it has a slight chance to change the ore type in that vein.
Title: Re: When do resources get randomized...
Post by: Endless Night on April 28, 2009, 06:14:41 AM
As masscre said he hit the nail on the nose.  Same goes for wood when you empty tree or if you 1/2 empty and larry and TM finish it .. doesnt matter chance to change at respawn/refresh.
Title: Re: When do resources get randomized...
Post by: KilroyIsDead on April 28, 2009, 06:37:13 AM
I don't recall the respawn timer or even know if it's published but if we assume 25 mins...

If I find a colored resource (Boy, does that sound like an HR worthy clause for the 1950s)
I should only take 4 or 6 resources
wait 25 minutes and return?
I should only take 4 or 6 resources
wait 25 minutes and return?
I should only take 4 or 6 resources
wait 25 minutes and return?
I should only take 4 or 6 resources
wait 25 minutes and return?
...I think this is a good place for a loop
Title: Re: When do resources get randomized...
Post by: Endless Night on April 28, 2009, 06:43:14 AM
I think respawn time is 5mins in fel and 10tram .. if i rember correcly or something thier abouts.
Title: Re: When do resources get randomized...
Post by: 12TimesOver on April 28, 2009, 07:01:54 AM
I believe the respawn time is completely randomized between something like 5 and 20 minutes (don't know the exact numbers but I do know it's random). I also don't think you need to empty the resource square in order for it to respawn. In fact, my theory is that the resource square refreshes regardless of whether it has been mined or not. I have no tracked testing data however to support any of these hypotheses.

XII
Title: Re: When do resources get randomized...
Post by: KilroyIsDead on April 28, 2009, 07:07:30 AM
Ok, With the new miner that I referred to earlier I can run some tests and analyze the data

I'll run one account to mine half and one to mine to empty
I'll make sure the visits are spaced by more than 25 mins to make sure I don't empty a grid.

Title: Re: When do resources get randomized...
Post by: Endless Night on April 28, 2009, 07:20:22 AM
Ive been meaning to test this theory for ages.

Find a Frost or Verite Spawn... chop/dig 3/4 times dont mine it dry wait 10mins repeat.  I suspect it will not change.

Needs testing.
Title: Re: When do resources get randomized...
Post by: Masscre on April 28, 2009, 07:31:04 AM
I have also been meaning to try this also.  I have chopped on the same frost tree for 8 hours and it continued to give the same frostwood but at sever up it changed, but i have had other instances where at server up the tree was still frostwood. So i believe at server up is just like any other vein respawn chance.  I have noticed that if i completely clean a resource out each time that i have a higher chance for it to repawn a different color, but this is not data really just what i have observed after chopping around 2 million logs.
Title: Re: When do resources get randomized...
Post by: UOMaddog on April 28, 2009, 08:29:05 AM
I think I'm with XII on this one. Based on general knowledge of UO programmers, it would seem likely that they would have the ore spots refresh every 5-20 mins REGARDLESS of whether or not they have been mined. #1 because it would be easier for them to program, #2 because no one would know because we have no way of knowing what's in a spot UNLESS we mine it!
Title: Re: When do resources get randomized...
Post by: 12TimesOver on April 28, 2009, 08:40:44 AM
The other thing to consider is code efficiency, why write routines that would engage subroutines only when certain criteria were met verse something that could just be blanketed. My belief is that the developers would keep it simple, resource square type gets randomly refreshed every x to x minutes regardless of state verse monitoring all resourcable tiles for specific activity then performing actions only on that particular tile. I'm sure I'm wrong but this seems more logical when thinking about such a grand scale of potential tiles.

XII
Title: Re: When do resources get randomized...
Post by: UOMaddog on April 28, 2009, 02:23:03 PM
LoL, though my experience with UO programmers is that they don't have a friggin clue. So I honestly don't think they would think it through that well. It's probably a mish-mash of codes snippets that sometimes work! That's what I've come to expect from UO programmers/developers!
Title: Re: When do resources get randomized...
Post by: TrailMyx on April 28, 2009, 02:56:45 PM
Sorry guys but I have to burst your bubble. My beetlejacker was modified at one time to automatcally not take all resources.  They still ramdomize after a while
Title: Re: When do resources get randomized...
Post by: KilroyIsDead on April 28, 2009, 03:54:31 PM
Boo Hiss!

Ok, I'll figure out another use for a database.
Title: Re: When do resources get randomized...
Post by: Khameleon on April 28, 2009, 04:10:20 PM
how about figureing out the exact time a NPC will restock there Regs :P
Title: Re: When do resources get randomized...
Post by: 12TimesOver on April 29, 2009, 06:09:26 PM
Wow, I was right!!!!!  :o

That's it for me, thanks for coming, goodnight everybody!

Title: Re: When do resources get randomized...
Post by: manwinc on May 11, 2009, 12:29:12 PM
Then Perhaps were approaching it from the wrong angle.

if %Type = Frostwood
set %Timer #Scnt + 7200
if %type = Bloodwood
set %Timer #SCnt + 3600
if %Type = Heartwood
set %Timer #Scnt + 2400

Etc etc etc......

If You guys don't think they are programming with individual instances of it respawning, then perhaps they just set specific Timers for each location, SINCE Uo Has specifically stated that Higher Ore Will Yield more, it would make sense that it takes longer for it to reset, and if it isn't based on the "Amount" you pull out of the tree, then it should be an increased Timer on The Tree before it resets.
Title: Re: When do resources get randomized...
Post by: TrailMyx on May 11, 2009, 12:42:57 PM
I'm not sure this is the case..

When they first randomized the resources, I had a frostwood tree outside my castle that nobody seemed to know about.  As a test, I chopped it once a day for 2 weeks and finally it switched.

One kinda has to think about it from the point of programmer's lazyiness:

1) Is location depleted?
2) Yes, then determine if random change occurred.

Otherwise, the server would have to run constant check on every resource grid in the game, leading to waaay lotsa server overhead.  Judging from the inventive nature of the dev team, my guess is they'd land on the side of lazy.
Title: Re: When do resources get randomized...
Post by: Masscre on May 11, 2009, 12:48:22 PM
Yea i am thining with TM they are more than likely to gve it a patch and hope no bugs show up rather than try to place new or expanded code in for the randamization.
Title: Re: When do resources get randomized...
Post by: TrailMyx on May 11, 2009, 01:01:13 PM
I've noticed that trees seem to change more these days.  If you think about the nature of scripted lumberjackers when the system was first installed, they ALL just extracted resources from specific trees, so there were some trees that were only chopped by nAFK peeps.  Now that people have modified their scripts, they do seem to change more.
Title: Re: When do resources get randomized...
Post by: KilroyIsDead on May 11, 2009, 01:27:25 PM
I think the most recent FoF (Five dollar Friday)  Stated some info on Tree resource rates.

It turns out the mathematically it's better do be an elf for Lumberjacking.  I always did human for the lift (max stones) bump.
Title: Re: When do resources get randomized...
Post by: TrailMyx on May 11, 2009, 01:29:53 PM
For me, it's always been about feeding the heartwood quester, so I'm all about the little bump in boards/hr than what color I get.
Title: Re: When do resources get randomized...
Post by: 12TimesOver on May 12, 2009, 10:04:55 AM
I'm not sure this is the case..

When they first randomized the resources, I had a frostwood tree outside my castle that nobody seemed to know about.  As a test, I chopped it once a day for 2 weeks and finally it switched.

One kinda has to think about it from the point of programmer's lazyiness:

1) Is location depleted?
2) Yes, then determine if random change occurred.

Otherwise, the server would have to run constant check on every resource grid in the game, leading to waaay lotsa server overhead.  Judging from the inventive nature of the dev team, my guess is they'd land on the side of lazy.

Exactly what I was getting at. Furthermore, it seems that we have gathered evidence supporting this.

XII
Title: Re: When do resources get randomized...
Post by: Endless Night on May 12, 2009, 10:06:39 AM
Its extremely annoying thats all i know.   Luckily i still have 1/2mil frostwood left...  But ore is seriously lacking.