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-nmm7 (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-nmm7 (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-nmm7 (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
Item to be identified
Author Message
Osirirs
Journeyman
*

Posts: 73
Likes Given: 6
Likes Received: 4 in 2 posts
Joined: Feb 2014
Reputation: 2



Post: #11
RE: Item to be identified
Perfect! now it works fine! thanks john!
So if I get it well, src.tag.bs means you just set a tag named "bs" to the item,
and then <src.blacksmithing> means the tag saves the source (the player)'s Blacksmithing skill.
if (<eval <src blacksmithing> - 1000> == <src.tag0.bs>) means it evaluates that the player's blacksmithing skill hasn't been
increased, it's still equal to to the saved tag (the player' skill)
And this works because the tag is set before the if (<attr>&(attr_identified)), otherwise I would have the same problem
cause the tag would act with the attr_identified value.. right? explained quite weirdly but I'm pretty sure I get it!



Now this is just a minor detail, since you already helped so much but since my item is supposed to look normal
before being identified, I'm trying to set the item color to change once it is identified:

ON=@Create
Attr=attr_magic
Hitpoints=9000
if (<attr>&(attr_identified))
Color=0b86
endif

I guess it isn't as simple as that xD I tried several things but doesn't seem to work o.o
Anyways it's not that important, just if you feel like shooting some more hints Tongue Thanks again ^^
03-04-2014 02:30 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Item to be identified - Osirirs - 03-02-2014, 03:26 AM
RE: Item to be identified - JohnVeritas - 03-02-2014, 03:35 AM
RE: Item to be identified - Osirirs - 03-02-2014, 03:39 AM
RE: Item to be identified - Osirirs - 03-02-2014, 07:44 AM
RE: Item to be identified - JohnVeritas - 03-02-2014, 09:38 AM
RE: Item to be identified - Osirirs - 03-02-2014, 12:42 PM
RE: Item to be identified - Runcuks - 03-02-2014, 04:26 PM
RE: Item to be identified - XuN - 03-02-2014, 07:28 PM
RE: Item to be identified - Osirirs - 03-03-2014, 02:00 AM
RE: Item to be identified - JohnVeritas - 03-03-2014, 10:03 PM
RE: Item to be identified - Osirirs - 03-04-2014 02:30 AM
RE: Item to be identified - JohnVeritas - 03-04-2014, 04:56 AM
RE: Item to be identified - Osirirs - 03-05-2014, 01:08 AM
RE: Item to be identified - Osirirs - 03-06-2014, 01:45 AM
RE: Item to be identified - JohnVeritas - 03-06-2014, 02:35 AM
RE: Item to be identified - Osirirs - 03-06-2014, 02:45 AM
RE: Item to be identified - JohnVeritas - 03-06-2014, 03:17 AM
RE: Item to be identified - Alaric - 03-06-2014, 03:25 AM
RE: Item to be identified - Osirirs - 03-06-2014, 04:41 AM
RE: Item to be identified - Coruja - 03-11-2014, 08:48 AM
RE: Item to be identified - Osirirs - 03-14-2014, 07:11 AM
RE: Item to be identified - Alaric - 03-14-2014, 07:22 AM
RE: Item to be identified - Coruja - 03-14-2014, 01:02 PM
RE: Item to be identified - Osirirs - 03-15-2014, 03:05 AM

Forum Jump:


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