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
ERROR about "Undefined keyword 'ITEM'"
Author Message
Jim
Apprentice
*

Posts: 28
Likes Given: 1
Likes Received: 12 in 4 posts
Joined: Jan 2015
Reputation: 0



Post: #1
ERROR about "Undefined keyword 'ITEM'"
(nightly version)

when you say "buy" to a vendor. for example: to a "c_alchemist".
there are some error information in the server:
//
14:42:ERROR:(sphere_vendors.scp,108)Undefined keyword 'ITEM'
14:42:ERROR:(sphere_vendors.scp,109)Undefined keyword 'ITEM'
//

check the scripts, cause by:
//
ON=@NPCRestock
ITEM=random_coin_purse
ITEM=i_dagger
//

my question is :"Can the ITEM line be put in the @NPCRestock part?"?
01-24-2015 05:11 PM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #2
RE: ERROR about "Undefined keyword 'ITEM'"
it can... but I must have created this bug after r2149

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
01-25-2015 12:05 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #3
RE: ERROR about "Undefined keyword 'ITEM'"
found and fixed the bug

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
01-25-2015 08:01 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Ben's post
Jim
Apprentice
*

Posts: 28
Likes Given: 1
Likes Received: 12 in 4 posts
Joined: Jan 2015
Reputation: 0



Post: #4
RE: ERROR about "Undefined keyword 'ITEM'"
Thanks Ben, I had tried it in the lastest version(2015/1/25). It's ok now, there are not the Error information right now.
01-25-2015 10:19 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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