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-nmm6 (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-nmm6 (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-nmm6 (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
What's the problem?
Author Message
derskyangel
Apprentice
*

Posts: 9
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jan 2013
Reputation: 0



Post: #1
What's the problem?
The problem occurred after I moved the scripts and save on http://nightly.prerelease.sphere.torfo.org/

[ITEMDEF i_ingot_blackrock]
DEFNAME=i_ingot_blackrock
ID=i_ingot_iron
NAME=Black Rock Ingot
RESOURCES=1 i_ingot_shadow, 1 i_ingot_bloodrock, 1 i_stone_force

SKILLMAKE=BLACKSMITHING 90.0
TDATA1=90.0
TDATA2=120.0
WEIGHT=2

CATEGORY=Items by Professions
SUBSECTION=Blacksmiths
DESCRIPTION=Black Rock Ingot

ON=@Create
COLOR=color_o_blackrock


[ITEMDEF i_ingot_bloodrock]
DEFNAME=i_ingot_bloodrock
ID=i_ingot_iron
NAME=Blood Rock Ingot
RESOURCES=i_ore_bloodrock
SKILLMAKE=MINING 93.0
TDATA1=90.0
TDATA2=120.0
WEIGHT=2

CATEGORY=Items by Professions
SUBSECTION=Blacksmiths
DESCRIPTION=Blood Rock Ingot

ON=@Create
COLOR=color_o_bloodrock

[ITEMDEF i_ingot_valorite]
DEFNAME=i_ingot_valorite
NAME=Valorite Ingot
ID=i_ingot_iron
RESOURCES=1 i_ingot_verite, 1 i_stone_force, 1 i_ingot_earth

SKILLMAKE=BLACKSMITHING 90.0
WEIGHT=2

CATEGORY=Items by Professions
SUBSECTION=Blacksmiths
DESCRIPTION=Valorite Ingot

ON=@Create
COLOR=color_o_valorite


Attached File(s) Thumbnail(s)
   
03-08-2013 04:40 PM
Find all posts by this user Like Post Quote this message in a reply
Crusader
Master
**

Posts: 254
Likes Given: 7
Likes Received: 19 in 12 posts
Joined: Apr 2012
Reputation: 6

Erehwon New Hera

Post: #2
RE: What's the problem?
i had the same problem so far but i guess for different reasons.

Probabily, in ur case, u have to comment the -basic- i_ingot_blackrock, i_ingot_valorite that u find in sphere_items_resources_ore (or a file called like this) under scripts/items. just comment all the resources, save, shut down the server, restart.

Tell me if it works then
03-08-2013 06:23 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #3
RE: What's the problem?
You have 2 scripts trying to dictate what an item is.

if [ITEMDEF i_blackrock_blah] is text DEFNAME= is not needed you will find that the other script in which it reads [ITEMDEF <somenumber here>] has already set the DEFNAME as it should.

Drop the defname line in the script where ITEMDEF is is a name and you should be fine

[Image: 2nis46r.jpg]
03-09-2013 01:44 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
derskyangel
Apprentice
*

Posts: 9
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jan 2013
Reputation: 0



Post: #4
RE: What's the problem?
Removed Defname but errors remained the same. and all this after loading sphereworld
03-09-2013 02:40 AM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #5
RE: What's the problem?
are you loading a set of scripts with a numeric itemdef and a defname line as well as these still?
if so take them out. sorry meat to say that in the previous post... still my first cup of coffee Wink

[Image: 2nis46r.jpg]
03-09-2013 02:41 AM
Visit this user's website 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)