The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Quality Function
Author Message
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #1
Quality Function
Hi guys,

How does the QUALITY function works?

What matters to craft an item exceptional or not?

Tried to search for it in the wiki but got no references on how it REALLY works.

Does it get a random number someway and then each servers sets the gap in which they want the item to be exceptional? If yes, how does it get that random number? Totally random based on the item value or something?

Thanks in advance
(This post was last modified: 03-09-2016 10:01 AM by pointhz.)
03-09-2016 09:40 AM
Find all posts by this user Like Post Quote this message in a reply
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #2
RE: Quality Function
Well, from what I am reading in CItemBase.cpp

There is a roll of 0 - 100. It then checks resource qualities.

Then it rolls this against the Skill of use (Who needs to meet skillmake min).

If the roll is less than the Skill of user (without checking more, I am assuming it is doing a different from user skill and skillmake), then it is of shoddy quality.

But higher rolls make it better quality and make it worth more as a vendable item.

So the higher the Quality, the more it is worth it seems? Need to look more, but that is what I am gathering from what I am viewing at the moment.

Basically, it is like old UO:R code and not up to date with current EA exceptional quality code. Might want to soft code what you want it to do?
(This post was last modified: 03-13-2016 11:53 PM by Khaos.)
03-13-2016 11:52 PM
Find all posts by this user Like Post Quote this message in a reply
pointhz
Journeyman
*

Posts: 148
Likes Given: 1
Likes Received: 55 in 28 posts
Joined: Oct 2013
Reputation: 1



Post: #3
RE: Quality Function
Thanks for your answer and time Khaos, really appreciated.

I don't want/need to code it, at least for now, just wanted to know how it worked, thanks Tongue

If I understood correctly, then although it is kind of random, the higher your skill the better right?

Higher blacksmith -> Higher chance of higher roll
03-14-2016 07:43 AM
Find all posts by this user Like Post Quote this message in a reply
Khaos
Master
**

Posts: 595
Likes Given: 166
Likes Received: 83 in 51 posts
Joined: Mar 2012
Reputation: 11



Post: #4
RE: Quality Function
Yes, that is the idea. Like if you have Blacksmithing of 100.0 and the SkillMake is 50.0; you will always get the high roll. But if you had 50.0 Blacksmithing, you are going to get a Low roll in the curve.

You're super welcome by the way! Just trying to help!!!
03-14-2016 01:32 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)