Total players online: 16



Take the Tour | Site Map

It is currently Mon Dec 11, 2017 6:49 pm

All times are UTC - 8 hours




Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 73 posts ]  Go to page Previous  1, 2, 3, 4, 5
Author Message
 Post subject:
PostPosted: Fri May 12, 2006 9:00 am 
Offline
Legendary Scripter
Legendary Scripter
User avatar

Joined: 07/28/2004 05:41
Posts: 2338
Location: Huntsville, TX

WarLocke wrote:
I'm very much against having a player-based ability to search the entire item hash. Will not happen.
did you miss the line in the quote that said..."it tags the account with the ID of said soulstones"... :?

This means the ID's of the soulstones will be stored in the account info. It won't have to search the entire shard, it just has to move those 2 items to the backpack of the player, and if the item doesn't exist, then make a new stone to replace it, and update the entry in the account info.

I don't presume to know how RunUO works, but if the people that wrote it know anything about programming, it shouldn't take massive CPU to search for a single item by it's ID.

_________________
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.

Cheffe: This is free software. You'll use whatever I give you.
snicker7: dont forget to vote =] voting is winning at life.
Locke: Ah, hail and well met. You have the look of an idiot about you, and I often ponder who ties your shoes... would you like some tea?
Warlocke:You don't forsee things that are unforseeable? Spiffy!


Top
  ProfileShow poster's scripts in the public script library 
 Post subject:
PostPosted: Fri May 12, 2006 9:10 am 
Offline
Administrator
Administrator
User avatar

Joined: 09/09/2004 03:19
Posts: 5618

The tag doesn't store the IDs of the soulstone, just that the account HAS soulstones. and it doesn't take MASSIVE CPU for a long time to search the hash, it takes a fraction of a second but the CPU DOES spike. There are 400,000+ items on the server. You have to use a loop to go through every-single-item, check to see first if that item is a soulstone, then if the item is a soulstone, see the account name on it. then you have to compare the accountname of the soulstone to the account name of the character. then IF they match you have to perform all the actions on that soulstone that ensure its not locked down in someone's house etc etc...

Basically what WarLocke is saying is that each time this is done, there is a short CPU spike. If you give the players the ability to do it, they can spike the CPU at will, and enough people doing it at once will really lag up the shard. Yes yes.. timers and all that jazz, but the issue remains.... these are YOUR responsibility. I was going to add something similar with the past publish for PBDs but decided against it for these very reasons. Instead, GMs have a command that will allow us to target a player and retrieve their PBD from anywhere in the world using a similar method.... but due to the policy in this thread it's unlikely anything will be added for soulstones.

_________________
/my scripts/my subs/my tuts/my links/-----------------
|s7BODFiller|smeltOnFirebeetle|waiting for gumps|my psl|EasyUO
|s7UOBodExporter|s7SailSuite|||Image
|freeshard magery|s7EquipReplace|||Apache!
|accessability suite: uo chat from your iphone.|s7BoSThis|||php.net

Has one of my scripts ever saved you some time?
Send me a Paypal Donation!

Image
ImageImage


Top
  ProfileShow poster's scripts in the public script library 
 Post subject:
PostPosted: Fri May 12, 2006 9:32 am 
Offline
Legendary Scripter
Legendary Scripter
User avatar

Joined: 07/28/2004 05:41
Posts: 2338
Location: Huntsville, TX

Yeah, but I was thinking along the lines of having this idea be implemented.
WarLocke wrote:
That's a command, not actual code (afaik) - and to my knowledge, its SLOW with several hundred thousand items. What i'm talking about is instead of the current situation:

Account tag:
Soulstoned=1

We change it to this:
Soulstoned=1
Stone1=(serial of first stone)
Stone2=(serial of second stone)

So when a user requests replacement stones, it can just check their account tags and see if those items still exist, and replace them if not.


If implemented, it could initialize the values of the soulstones to an itemid that is guarantee'd to not exist so if the person uses the mystic to summon the lost stones, the mystic will automatically crate new ones.

ALso, when someone uses a soulstone, it replaces one of the non-existant item id's with it's own id. This is so the current soulstones for the account get regestered.

If a soulstone is used and there's no non-existant item id's and the soulstone isn't in one of the slots, then it should destroy itself. The only way that would happen is if the person had both soulstones already, wanted to try to exploit the system to get four, then used their old soulstones.

_________________
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.

Cheffe: This is free software. You'll use whatever I give you.
snicker7: dont forget to vote =] voting is winning at life.
Locke: Ah, hail and well met. You have the look of an idiot about you, and I often ponder who ties your shoes... would you like some tea?
Warlocke:You don't forsee things that are unforseeable? Spiffy!


Top
  ProfileShow poster's scripts in the public script library 
 Post subject:
PostPosted: Fri May 12, 2006 9:59 am 
Offline
Administrator
Administrator
User avatar

Joined: 09/09/2004 03:19
Posts: 5618

the problem is we already have issued tons of stones without adding these IDs and its more coding for us than its worth.

_________________
/my scripts/my subs/my tuts/my links/-----------------
|s7BODFiller|smeltOnFirebeetle|waiting for gumps|my psl|EasyUO
|s7UOBodExporter|s7SailSuite|||Image
|freeshard magery|s7EquipReplace|||Apache!
|accessability suite: uo chat from your iphone.|s7BoSThis|||php.net

Has one of my scripts ever saved you some time?
Send me a Paypal Donation!

Image
ImageImage


Top
  ProfileShow poster's scripts in the public script library 
 Post subject:
PostPosted: Fri May 12, 2006 12:03 pm 
Offline
Legendary Scripter
Legendary Scripter
User avatar

Joined: 07/28/2004 05:41
Posts: 2338
Location: Huntsville, TX

snicker7 wrote:
the problem is we already have issued tons of stones without adding these IDs and its more coding for us than its worth.


It wouldn't be that much... just a little extra added to the soulstone routine.

Quote:
If a soulstone is used and there's no non-existant item id's and the soulstone isn't in one of the slots, then it should destroy itself. The only way that would happen is if the person had both soulstones already, wanted to try to exploit the system to get four, then used their old soulstones.


Basically after the soulstone checks to make sure it's associated with the account, then it checks to make sure it's in the account properties. (which none of the old ones will be) If it's not in either of the account associated soulstone slots, then it searches for the item in the slot. IF the item in the slot is found, it checks the next slot, if that item is found too, then it destroys itself. If one of the items is NOT found, then it replaces that itemid with it's own itemid and continues normally.

I don't think that would be a ton of extra code. Most of the extra code would be making the mystic's menu option change when your account soulstone status changed. Then adding the new code to retrieve the soulstones.

I think it'd be worth it to people who lost soulstones. Right now their only option is to either BEG a GM to make them a new one (which won't happen since people could lie and say they lost their old ones and thus have 4)... or they can ask the GM's to delete their account so they can get 2 soulstones. (which isn't a good option because... well I think you can see why)

_________________
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.

Cheffe: This is free software. You'll use whatever I give you.
snicker7: dont forget to vote =] voting is winning at life.
Locke: Ah, hail and well met. You have the look of an idiot about you, and I often ponder who ties your shoes... would you like some tea?
Warlocke:You don't forsee things that are unforseeable? Spiffy!


Top
  ProfileShow poster's scripts in the public script library 
PostPosted: Fri May 12, 2006 12:07 pm 
Offline
Legendary Scripter
Legendary Scripter
User avatar

Joined: 11/07/2003 09:51
Posts: 2861
Location: San Francisco Bay Area

Could you use a bless scroll on them?


Top
  Profile 
PostPosted: Fri May 12, 2006 12:10 pm 
Offline
Legendary Scripter
Legendary Scripter
User avatar

Joined: 07/28/2004 05:41
Posts: 2338
Location: Huntsville, TX

ernie wrote:
Could you use a bless scroll on them?
they're already blessed. The problem is if your house falls they will decay or get picked up and used as someone else's deco... or if they somehow don't get locked down, they will decay... there's ways to lose them, mostly out of stupidity. But it'd still be nice to get replacements if your old ones get lost or decay.

_________________
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.

Cheffe: This is free software. You'll use whatever I give you.
snicker7: dont forget to vote =] voting is winning at life.
Locke: Ah, hail and well met. You have the look of an idiot about you, and I often ponder who ties your shoes... would you like some tea?
Warlocke:You don't forsee things that are unforseeable? Spiffy!


Top
  ProfileShow poster's scripts in the public script library 
 Post subject:
PostPosted: Fri May 12, 2006 12:24 pm 
Offline
Administrator
Administrator
User avatar

Joined: 09/09/2004 03:19
Posts: 5618

this is unnecessary and the discussion does not need to continue. I already told you the answer. I will not code this, and I don't think anyone else will either. We already have a method ingame to see if soulstones exist for someone so we can check if they are lying or not. There is no way that people could scam us into getting 4. Beside that, I do believe that the policy states that they WILL NOT be replaced! You make a mistake or let your house fall, it's your responsibility.

And until YOU actually code it, please refrain from telling me how much extra code it will be when you can only speculate.

_________________
/my scripts/my subs/my tuts/my links/-----------------
|s7BODFiller|smeltOnFirebeetle|waiting for gumps|my psl|EasyUO
|s7UOBodExporter|s7SailSuite|||Image
|freeshard magery|s7EquipReplace|||Apache!
|accessability suite: uo chat from your iphone.|s7BoSThis|||php.net

Has one of my scripts ever saved you some time?
Send me a Paypal Donation!

Image
ImageImage


Top
  ProfileShow poster's scripts in the public script library 
 Post subject:
PostPosted: Fri May 12, 2006 6:49 pm 
Offline
Legendary Scripter
Legendary Scripter
User avatar

Joined: 07/28/2004 05:41
Posts: 2338
Location: Huntsville, TX

*sigh* ok fine. just one small comment, and I'll stop with the discussion.
snicker7 wrote:
And until YOU actually code it, please refrain from telling me how much extra code it will be when you can only speculate.
I don't have the current code, so I can't really modify it. :P

_________________
(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.

Cheffe: This is free software. You'll use whatever I give you.
snicker7: dont forget to vote =] voting is winning at life.
Locke: Ah, hail and well met. You have the look of an idiot about you, and I often ponder who ties your shoes... would you like some tea?
Warlocke:You don't forsee things that are unforseeable? Spiffy!


Top
  ProfileShow poster's scripts in the public script library 
PostPosted: Fri May 12, 2006 8:12 pm 
Offline
I have no life!
I have no life!
User avatar

Joined: 07/07/2003 00:47
Posts: 6151
Location: Florida

This will not be changed.
The policy stands.
Stop discussing it, we have better things to do than beat a dead horse.

_________________
I give up. Retired from UO completely, 3/20/2012.


Top
  ProfileShow poster's scripts in the public script library 
PostPosted: Sun May 14, 2006 1:20 pm 
Offline
Ancient Scripter
Ancient Scripter
User avatar

Joined: 07/12/2005 14:59
Posts: 3544

I havent lost my soulstones but i do think this policy is a bit harsh...

really.. come on.. if you are only going to allow 2 soulstones per account..

make them account bound..

with no alternate way of getting more stones..

there should be a way to replace lost ones.

why not jus make the Npc that gives them delete all stones bound to that account and give 2 new ones... wouldnt that solve this whole thing ? obviously he knows if u have got them or not already.. wouldnt be that hard to delete any stones related to that account and give 2 new ones would it ?


Top
  ProfileShow poster's scripts in the public script library 
 Post subject:
PostPosted: Sun May 14, 2006 1:34 pm 
Offline
I have no life!
I have no life!
User avatar

Joined: 07/07/2003 00:47
Posts: 6151
Location: Florida

Did you even read what I just said?
Locked.

_________________
I give up. Retired from UO completely, 3/20/2012.


Top
  ProfileShow poster's scripts in the public script library 
Display posts from previous:  Sort by  
Post new topic This topic is locked, you cannot edit posts or make further replies.  [ 73 posts ]  Go to page Previous  1, 2, 3, 4, 5

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Hosted by CalWeb Internet Services, Inc.