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
attr_newbie is removed when item is placed in the vendor box
Author Message
Wap
Journeyman
*

Posts: 138
Likes Given: 6
Likes Received: 7 in 6 posts
Joined: Mar 2012
Reputation: 3

UORPG.net

Post: #4
RE: attr_newbie is removed when item is placed in the vendor box
(02-19-2013 01:54 AM)charm Wrote:  Does your fix work then Wap?
+ FORCONT if needed.

(02-19-2013 02:23 AM)Mordaunt Wrote:  There shouldn't be that many items newbified going in and out of vendor boxes really.
Obviously a spell book is the main exception to the rule, if that is the main concern why not just add an event to spell books under the @dclick trigger to check for the newbie flag and add it if it is needed.
The event shouldn't fire that much anyway as a new owner would likely only dclick the spell book a couple of times, likely setting up their icon shortcuts once they obtain the book.
For items, which are always newbie, anti-fix can be +- normal:
ON=@ItemBuy
IF (<def0.alwaysnewbie_<argo.baseid>>)
...+attr_newbie or timerf if there are any problems with adding attr_newbie on @ItemBuy
But for items, that can be newbie or not...

But OK, if you think that in-core newbie status removing from sold newbie items is actual and nessessary, I can add stupid control tag for newbie items.

Also one interesting issue, attr_blessed, which I tried as alternative to attr_newbie, is removing on world save. But may be it also is purposly done this way, I don't know. Smile
(This post was last modified: 02-19-2013 03:28 AM by Wap.)
02-19-2013 02:44 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: attr_newbie is removed when item is placed in the vendor box - Wap - 02-19-2013 02:44 AM

Forum Jump:


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