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: #24
RE: Item to be identified
Oooh okay okay I get it! That looks perfect for the kind of thing I'm trying to do xD
tho I'm still not sure how I can do it,
for example, I have my categories, lets say they go like this,
0-100 = Common
100 - 200 = Rare
200 - 300 = Epic
300 - 400 = legendary
etc etc.

I can tag the rarity and it would directly enter the specific category?
Cause right now what I have on my 300+ items is just a description, not a real item category.
They all seperately go like this:

ON=@Create
Attr=attr_magic
Hitpoints={500 600}
Color=0

ON=@Click
if (<attr>&(attr_identified))
Color=02cb
src.sysmessage @041 Item Category: Uncommon
src.sysmessage @041 Rarity: 60
src.sysmessage @041 Weapon Speed: 56
message @041 Swift Pitchfork of Ruin
Return 1
endif

ON=@Equip
if !(<attr>&(attr_identified))
src.sysmessage You can't use this item until it is identified.
return 1
endif

ON=@Dclick
if !(<attr>&(attr_identified))
src.sysmessage You can't use this item until it is identified.
return 1
endif

So, in other words, everything is set as sysmessage, just for show. You know what I mean?
I might be 'walking around the pot' a little bit, srry about that xD
I'm just trying to fully understand what I'm doing instead of copy paste what everyone tells me to write xD
Thanks guys ! Wink

Wow.. I just kept reading the script you wrote and woaaah, I get it even more,
so I thougt about doing five different events, one for each category, so I'd like to know:

Lets say my item is meant to be in the rare category, I'd like to do something like, if I set a number
between 100-200 in the TAG0.Rarity, it will be part of the rare item category,
so the name and the info will also avec the category color
(This post was last modified: 03-15-2014 03:20 AM by Osirirs.)
03-15-2014 03:05 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: 3 Guest(s)