Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
<Quality> help
Author Message
Fronz
Apprentice
*

Posts: 36
Likes Given: 2
Likes Received: 0 in 0 posts
Joined: Apr 2016
Reputation: 0



Post: #1
<Quality> help
Is there a way to negate errors or fall back to 0 when a variable doesn't exist?
ie Quality does not exist in some cases, checking using IF doesn't seem to help as that line then also errors as <quality> in undefined.
06-03-2016 09:54 PM
Find all posts by this user Like Post Quote this message in a reply
Criminal
Journeyman
*

Posts: 182
Likes Given: 38
Likes Received: 22 in 22 posts
Joined: Jun 2015
Reputation: 0

SantiagoUO.com

Post: #2
RE: <Quality> help
use var0

[Image: mfqAZnj.png]
Discord: SantiagoUO
Skype:
criminaluo
06-04-2016 02:52 AM
Visit this user's website 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> help
Problem is Quality is hardcoded xD
06-04-2016 04:25 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #4
RE: <Quality> help
Actually the Quality property is about vendable items (items placed on vendors, ready to be sold), so the way to avoid errors is to just check quality on those items.
06-04-2016 07:11 PM
Find all posts by this user Like Post Quote this message in a reply
Fronz
Apprentice
*

Posts: 36
Likes Given: 2
Likes Received: 0 in 0 posts
Joined: Apr 2016
Reputation: 0



Post: #5
RE: <Quality> help
Fixed it. Thanks guys!
06-09-2016 12:37 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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