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
Custom items wrong name on sell
Author Message
Technoghost
Apprentice
*

Posts: 2
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2019
Reputation: 0



Post: #1
Custom items wrong name on sell
Hello!

I need some help with this bug.

In my shard, when I create a new item and try to sell to npc, the item name showing like de baseid item.

Example:

This item showing Empty Bottle instead Poison

Quote:[ITEMDEF i_potion_Poison]
NAME=Poison
ID=i_bottle_empty
TYPE=t_potion
CAN=can_i_pile
TDATA1=i_bottle_empty
RESOURCES=2 i_reag_nightshade,1 i_bottle_empty
SKILLMAKE=ALCHEMY 15.1, t_mortar
ON=@Create
MORE1=s_poison
MORE2=50.0

[Image: Sem-t-tulo.png]


How I fix this?
(This post was last modified: 02-22-2019 11:45 AM by Technoghost.)
02-22-2019 11:44 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 items wrong name on sell
for some weird reason, encrypted clients always show item names using default name from cliloc list

so try using a no-crypt client to check if it works, or if your custom name is already on clilocs you can use NAMELOC=123456
02-23-2019 10:05 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)