Go Back   RunUO - Ultima Online Emulation > RunUO > Modification Suggestions

Modification Suggestions This is where you can suggest a modifcation to RunUO!

Reply
 
Thread Tools Display Modes
Old 10-05-2007, 02:53 AM   #1 (permalink)
Account Terminated
 
Peoharen's Avatar
 
Join Date: Dec 2004
Location: USA
Age: 24
Posts: 911
Send a message via Yahoo to Peoharen
Default Fix for layered clothing.

Can a method be created to 'hide' when another equipped item would cover it up?

Example.
When wearing a robe, your arms/legs/chest/bodysash/skirt layers are NOT sent to other players unless the robe is moved off.
Some itemids in the helm layer should disable sending the hair data too.


Why do I suggest this?
Well besides preventing hair from sticking up though hooded robes/hats, or parts of your armor sticking out though your robe. I'm talking about not having to send 3~6 layers of items worth of information a player cannot even see. Say you walk into Luna, there is 30 people there, all wearing their Robe Of MLUberness Luck 95! or something there of. You skip sending sending the FULL information (serial, lists of all props, load this animation etc.) of up to 180 items. Not too bad seeing how that area only had 30 people. What if your shard has 200 people on it on average and you run an event? 150 people show up to your area running past each other serveral times. Sounds like you would save A LOT of bandwith while making a sizable dent in lag for those players since they won't have to download so much as they run around.

A quick note.
The field used to know which layers it hides needs to be overrideable, so scripts for custom art/animations and OSI patch updates can be created and used properly without Core edits.
Peoharen is offline   Reply With Quote
Old 01-10-2008, 06:55 AM   #2 (permalink)
Forum Expert
 
Liacs's Avatar
 
Join Date: Mar 2004
Location: Belgium / Germany
Age: 31
Posts: 1,036
Send a message via MSN to Liacs
Default

nvm- deleted
__________________
;)My C# Bookshelf (carpented by Soultaker);)

BTW: Please ask questions in the adequat forum and not on a private message! Otherwise nobody can learn from it!

Last edited by Liacs; 01-10-2008 at 06:57 AM. Reason: first understand - then answer... was always my problem :)
Liacs is offline   Reply With Quote
Old 08-05-2008, 09:44 AM   #3 (permalink)
Newbie
 
ThatGuyBehindYou's Avatar
 
Join Date: Jul 2008
Age: 18
Posts: 69
Default

Does it have to do something with the server? I'm almost sure it hasn't, feel free to try to rewrite the client for your needs .
__________________
"I remember the time i was kidnapped and they sent a piece of my finger to my father, He said he wanted more proof."
ThatGuyBehindYou is offline   Reply With Quote
Old 08-05-2008, 09:58 AM   #4 (permalink)
Forum Expert
 
Join Date: Dec 2005
Posts: 566
Default

Yes it's possible, easiest is probably that you make the item invisible to them, like you can for example not see spawners if your not staff, if its not visible it won't send the data to the client. doubt it matters much on the lag side, unless 50+ people on same screen.

On a side note, they will not be able to see all the props on the players if you for ex don't send what armor they wear.
b0b01 is online now   Reply With Quote
Old 08-08-2008, 09:50 AM   #5 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,852
Default

Quote:
Originally Posted by b0b01 View Post
Yes it's possible, easiest is probably that you make the item invisible to them, like you can for example not see spawners if your not staff, if its not visible it won't send the data to the client. doubt it matters much on the lag side, unless 50+ people on same screen.

On a side note, they will not be able to see all the props on the players if you for ex don't send what armor they wear.
Even if a player can't see it, the data that it exists is still sent to them.
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
Just a Simple Staff Tool
You can leave me messages.
Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."
Greystar is offline   Reply With Quote
Old 08-08-2008, 09:55 AM   #6 (permalink)
Forum Expert
 
Join Date: Dec 2005
Posts: 566
Default

Quote:
Originally Posted by Greystar View Post
Even if a player can't see it, the data that it exists is still sent to them.
...Nope its not.
b0b01 is online now   Reply With Quote
Old 08-09-2008, 08:43 AM   #7 (permalink)
Forum Expert
 
Greystar's Avatar
 
Join Date: Mar 2004
Location: NorthCentral IL, USA
Age: 35
Posts: 3,852
Default

Quote:
Originally Posted by b0b01 View Post
...Nope its not.
Prove it. I had a production shard where we hide anything that would go under a robe. I didn't see any reduction in lag. The items are just hidden they still exist and they still load. Not that we had bad lag for having roughly 200 people on during events. Normal player volume was more like 125, but either way it didn't make any difference. The only reason we did it was for the other parts of the original posters comments. Cosmetic, no armor poking through. Just like we hid hair when certain helms were worn.

So actually prove that it will help lag by showing some statistics.
__________________
Quote:
(\__/)
(='.'=)This is Bunny. Copy and paste bunny into your
(")_(")signature to help him gain world domination.
Killable Guards (GS Version)
Just a Simple Staff Tool
You can leave me messages.
Ernest Gary Gygax - Quote "I would like the world to remember me as the guy who really enjoyed playing games and sharing his knowledge and his fun pastimes with everybody else."
Greystar is offline   Reply With Quote
Old 08-09-2008, 10:56 AM   #8 (permalink)
Forum Expert
 
Join Date: Dec 2005
Posts: 566
Default

Like i said you need at least 50 peeps on one screen to see any effect of taking items away to have any effect.

Personally wouldn't do it. I mean if you hide 3 items per player it will still have like 15 that you can see.

You should check where packets are sent to the client, there is a method called cansee(item) or something and the same for mobile, if it returns false no data is sent to the client.

Also client sided lag isn't created by the data you send, but by the rendering that the client will have to do, which the uo client is pretty bad at considering the quality of image output.

Im not gonna test and im not gonna prove anything, the guy just asked how to not send certain items, i gave him an answer.

On a side note not related to items being worn, maybe you know that osi doesn't send item data of items inside houses unless you enter them. I checked that for a shard how it works out because we had enabled pvp in malas and luna was full of houses with like 200 items visible and that did have an enourmous effect on the playability.
b0b01 is online now   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5