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
Check the Resource or Item by Fail in Skillmenu
Author Message
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #1
Check the Resource or Item by Fail in Skillmenu
Hi folks,

I got a problem.
In my skillmenu sm_cook I have to check by failing the skill what item was create via the skillmenu so that I can consume the right resource.
I only have @skillmenu and @skillmakeitem
but booth are useless
using @skillfail or @skill is also useless because I have no command/function to check which item has failed
anybody knows an answer?

thanks

gr

phoenix
12-01-2012 04:53 AM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Check the Resource or Item by Fail in Skillmenu
PHP Code:
Extra local arguments to @SkillStart and @Start (skill sectiontriggers for crafting skills:
LOCAL.CRAFTITEMDEF the UID of defname of the item we are currently craftingReadable/Writable.
Accepts ONLY UIDs of ITEMDEFs, for example:
if (<
LOCAL.CRAFTITEMDEF> == <DEF.i_katana>)
         
LOCAL.CRAFTITEMDEF = <DEF.i_sword_long>
endif 
12-01-2012 05:18 AM
Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #3
RE: Check the Resource or Item by Fail in Skillmenu
what about @fail???
12-01-2012 06:02 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)