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
custom book
Author Message
Kapa
Journeyman
*

Posts: 74
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #1
custom book
Hello, please tell me why this book after some time becomes empty and all writing is gone?

[ITEMDEF i_Potion_crafter]
DEFNAME=i_Potion_crafte
ID=i_book_lg_pub
NAME=Book of evil alchemist
TYPE=T_BOOK
RESOURCES=1 i_book_sm
WEIGHT=5
VALUE=50000
CATEGORY=kapos
SUBSECTION=alchemy
DESCRIPTION=alchemy book

ON=@Create
MORE1=b_sphere



[BOOK b_sphere]
PAGES=3
TITLE=Rare potions
AUTHOR=Burned Alchemist

[BOOK b_sphere 1]
Lava bomb,
115 Alchemy
20 Volcanic ash

[BOOK b_sphere 2]
Potion blood
100 Alchemy
2 Bloody ash
(This post was last modified: 10-12-2014 06:34 PM by Kapa.)
10-12-2014 12:21 AM
Find all posts by this user Like Post Quote this message in a reply
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #2
RE: custom book
the book b_sphere is already set on sphere_book.scp, probably you're getting some conflict problems
try rename it to b_potion_crafter and maybe it will work fine, because there's nothing wrong on your code (except the conflict on book name b_sphere)
10-12-2014 07:16 AM
Find all posts by this user Like Post Quote this message in a reply
Kapa
Journeyman
*

Posts: 74
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Oct 2014
Reputation: 0



Post: #3
RE: custom book
thanks for you help
10-12-2014 06:33 PM
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)