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
Need help in general Scripting
Author Message
Fronz
Apprentice
*

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



Post: #38
RE: Need help in general Scripting
It's somewhere on the @Dclick, because it only happens when I double click it. Also, it happens when I have or don't have the reagents. Meaning if I don't have the regs when I .save it appears the same error. Same for no bottles etc.

I assume it's this function

SRC.NEWITEM <TAG.ID>
if ( (<SRC.ACT.TYPE> == t_potion) && (<SRC.RESTEST i_bottle_empty> == 0) )
SRC.SYSMESSAGE You have no bottles for your potion.
elseif (<SRC.RESTEST <SRC.ACT.RESOURCES>> == 0 )
SRC.SYSMESSAGE You need <SRC.ACT.RESMAKE> to produce <SRC.ACT.NAME>.
elseif ( !<SRC.CANMAKE <SRC.ACT.BASEID>> )
SRC.SYSMESSAGE You haven't got the faintest idea on how to produce <SRC.ACT.NAME>.
else
SRC.SYSMESSAGE You start producing <SRC.ACT.NAME>.
SRC.MAKEITEM = <TAG.ID>
SRC.TAG.MAKEITEM.LEVEL = <TAG.SKILL>
endif
//SRC.ACT.REMOVE
return 1

I just don't have enough knowledge to make it work.

Sorry,
Fronz
(This post was last modified: 05-02-2016 01:00 AM by Fronz.)
05-02-2016 12:53 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Need help in general Scripting - Fronz - 04-21-2016, 10:24 AM
RE: Need help in general Scripting - Fronz - 04-23-2016, 12:03 AM
RE: Need help in general Scripting - Fronz - 04-23-2016, 11:41 PM
RE: Need help in general Scripting - Fronz - 04-24-2016, 03:21 AM
RE: Need help in general Scripting - Fronz - 04-24-2016, 09:25 AM
RE: Need help in general Scripting - Fronz - 04-25-2016, 02:10 AM
Need help in general Scripting - roberpot - 04-25-2016, 03:26 PM
Need help in general Scripting - roberpot - 04-26-2016, 12:00 AM
Need help in general Scripting - roberpot - 04-26-2016, 02:57 AM
Need help in general Scripting - roberpot - 04-26-2016, 02:57 PM
Need help in general Scripting - roberpot - 04-26-2016, 10:31 PM
Need help in general Scripting - roberpot - 04-26-2016, 11:23 PM
Need help in general Scripting - roberpot - 04-26-2016, 11:29 PM
Need help in general Scripting - roberpot - 04-27-2016, 02:50 AM
RE: Need help in general Scripting - Fronz - 04-27-2016, 04:32 AM
Need help in general Scripting - roberpot - 04-27-2016, 04:59 AM
Need help in general Scripting - roberpot - 04-27-2016, 08:37 AM
RE: Need help in general Scripting - Fronz - 04-27-2016, 12:58 PM
RE: Need help in general Scripting - XuN - 04-27-2016, 04:07 PM
RE: Need help in general Scripting - Fronz - 04-28-2016, 06:32 AM
RE: Need help in general Scripting - Fronz - 05-01-2016, 11:46 AM
RE: Need help in general Scripting - Fronz - 05-02-2016 12:53 AM
RE: Need help in general Scripting - XuN - 05-02-2016, 06:48 PM
RE: Need help in general Scripting - Fronz - 05-03-2016, 12:10 AM
RE: Need help in general Scripting - XuN - 05-03-2016, 01:09 AM
RE: Need help in general Scripting - Fronz - 05-03-2016, 01:40 AM
RE: Need help in general Scripting - Fronz - 05-04-2016, 10:04 AM
RE: Need help in general Scripting - XuN - 05-04-2016, 04:29 PM
RE: Need help in general Scripting - Fronz - 05-10-2016, 01:05 PM
RE: Need help in general Scripting - Fronz - 05-16-2016, 10:25 AM
RE: Need help in general Scripting - Fronz - 05-17-2016, 02:34 AM
RE: Need help in general Scripting - Fronz - 05-28-2016, 09:27 PM

Forum Jump:


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