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
New question
Author Message
Elmortis
Apprentice
*

Posts: 21
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Aug 2012
Reputation: 0



Post: #1
New question
I hava custom craft system, and when player wont make something good, hi must learn recepie, system work good, but have one bag, when charecter put recepie scroll on the recepie book, scroll add but where musr be name of recepie i see 0 , i attachment screenshoot in web link <a href = "http://www.imageup.ru/img249/1144842/bokker.gif"> Image </a>
(This post was last modified: 12-16-2012 03:52 AM by Elmortis.)
12-15-2012 09:02 PM
Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #2
RE: New question
what is the <TAG0.Recipes> ? can you try

serv.log <SERV.ITEMDEF.<ARGV[<dLOCAL._FOR>]>.NAME> <ARGV[<dLOCAL._FOR>]>

and

dcroppedtext +35 +0 110 20 0 TESTESTTEST

for the finding the source of the problem.

also your item definition is weird

[ITEMDEF 51001]
DEFNAME=i_recipe_alchemy_agility
NAME=Recipe: Agility Potion
ID=0e9a
TYPE=t_recipe
WEIGHT=.1
VALUE=3000
CATEGORY=Recipes
SUBSECTION=Alchemy
DESCRIPTION=Agility Potion


must be

[ITEMDEF i_recipe_alchemy_agility]
ID=0e9a
NAME=Recipe: Agility Potion
TYPE=t_recipe
WEIGHT=.1
VALUE=3000
CATEGORY=Recipes
SUBSECTION=Alchemy
DESCRIPTION=Agility Potion

because you are not defining a base item you are creating sub-item which has based on 0e9a.
(This post was last modified: 12-16-2012 12:31 AM by Shaklaban.)
12-16-2012 12:31 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Elmortis
Apprentice
*

Posts: 21
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Aug 2012
Reputation: 0



Post: #3
RE: New question
But i hava shadow ingot and hi is correct written in the book but i have error in sphere about multidef

Code:
[ITEMDEF 52004]
DEFNAME=i_recipe_blacksmith_shadow
NAME=Recipe: Shadow Weapons
ID=0e9a
TYPE=t_recipe
WEIGHT=.1
VALUE=8000
CATEGORY=Recipes
SUBSECTION=Blacksmith
DESCRIPTION=Mastery (Shadow)

ON=@Create
COLOR=0060
MORE2=52004
TAG.SkillID=Blacksmithing
TAG.SkillReq=60.0

In sphere
Code:
CRITICAL:(sphereworld.scp,974)Error Pri=2, Code=0, Desc='CTileTerrainType.ReadInfo: TileData Read', in GetItemData

whay?
12-16-2012 01:44 AM
Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #4
RE: New question
its depend on line 974 in sphereworld.scp
12-16-2012 02:15 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Elmortis
Apprentice
*

Posts: 21
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Aug 2012
Reputation: 0



Post: #5
RE: New question
When i create this item i see world bit gem, when i put to backpack i see lamp post, and i make dclick on this item,and recepie add in my book's, and i see normal name into the book, i understand more2 in items when create, in more2 i have id and i change id i don't have name. But i can use more2 = like args? or more2 only numerical.

Thnak all. close this topic
(This post was last modified: 12-16-2012 03:51 AM by Elmortis.)
12-16-2012 03:10 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: #6
RE: New question
0e9a is not a valid item id

[Image: 2nis46r.jpg]
12-16-2012 03:30 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Elmortis
Apprentice
*

Posts: 21
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Aug 2012
Reputation: 0



Post: #7
RE: New question
In this system hi take name whith scroll but when scroll create a have like

[my recip]
id =
name =
...

On@Create
More2=my recip

And when your put this scroll on the book, book reed more2 and work with more2. sorry i very bad written in english
12-16-2012 04:30 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)