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:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Vendors saying item's base names
Author Message
UltimaAku
Journeyman
*

Posts: 125
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 1



Post: #1
Vendors saying item's base names
Hi there,i was wondering if there was a way to get my vendors to say the item's name instead of theitems ID name when they are being sold? My heal potions are called yellow bottles and my claw weapons are called tekagi. Don't even know where to start looking for that sort of modification Confused
03-10-2013 11:14 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: Vendors saying item's base names
maybe in sphere_msg?
03-10-2013 11:24 PM
Find all posts by this user Like Post Quote this message in a reply
UltimaAku
Journeyman
*

Posts: 125
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 1



Post: #3
RE: Vendors saying item's base names
only DEFMESSAGES in there :/ its on the actual shopping gump. ill make a print screen

heres the picture


Attached File(s) Thumbnail(s)
   
(This post was last modified: 03-10-2013 11:29 PM by UltimaAku.)
03-10-2013 11:27 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: #4
RE: Vendors saying item's base names
oh i see, maybe sphere_menu then.
03-10-2013 11:59 PM
Find all posts by this user Like Post Quote this message in a reply
UltimaAku
Journeyman
*

Posts: 125
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 1



Post: #5
RE: Vendors saying item's base names
nah, sphere menu has nothing to do with it :/
03-11-2013 12:08 AM
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: #6
RE: Vendors saying item's base names
i just checked, u have just to change the name of the related item
03-11-2013 12:14 AM
Find all posts by this user Like Post Quote this message in a reply
UltimaAku
Journeyman
*

Posts: 125
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 1



Post: #7
RE: Vendors saying item's base names
Code:
[ITEMDEF 027ab]
//DEFNAME=i_tekagi
DEFNAME=i_claws
//NAME=Tekagi
NAME=Claws
TYPE=T_WEAPON_FENCE
DAM=0,10
SPEED=80
SKILL=Wrestling
REQSTR=10
TWOHANDS=Y
WEIGHT=4
SKILLMAKE=BLACKSMITHING 55.0
RESOURCES=12 i_ingot_iron
DUPELIST=027f6
VALUE=180

//CATEGORY=Provisions - Weapons
//SUBSECTION=Samurai Empire
//DESCRIPTION=Tekagi

CATEGORY=Provisions - Weapons
SUBSECTION=Wrestling
DESCRIPTION=Claws

ON=@CREATE
HITPOINTS={50 60}

My script looks like that, the name that appears in the shop is Tegaki

Tekagi* (sorry typeo)
(This post was last modified: 03-11-2013 12:39 AM by UltimaAku.)
03-11-2013 12:35 AM
Find all posts by this user Like Post Quote this message in a reply
Dullais
Journeyman
*

Posts: 65
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 0



Post: #8
RE: Vendors saying item's base names
(03-11-2013 12:35 AM)UltimaAku Wrote:  
Code:
[ITEMDEF 027ab]
//DEFNAME=i_tekagi
DEFNAME=i_claws
//NAME=Tekagi
NAME=Claws
TYPE=T_WEAPON_FENCE
DAM=0,10
SPEED=80
SKILL=Wrestling
REQSTR=10
TWOHANDS=Y
WEIGHT=4
SKILLMAKE=BLACKSMITHING 55.0
RESOURCES=12 i_ingot_iron
DUPELIST=027f6
VALUE=180

//CATEGORY=Provisions - Weapons
//SUBSECTION=Samurai Empire
//DESCRIPTION=Tekagi

CATEGORY=Provisions - Weapons
SUBSECTION=Wrestling
DESCRIPTION=Claws

ON=@CREATE
HITPOINTS={50 60}

My script looks like that, the name that appears in the shop is Tegaki

Tekagi* (sorry typeo)

Hi, Iam newbie too (so this tip is probably useless), but in your place i would make a tegaki script, and for claws a different script with ID=i_tekagi.
Perhaps this would solve the problem.
03-17-2013 08:19 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #9
RE: Vendors saying item's base names
Yep i had a similar problem, looks like it get the name from the cliloc, so you have to edit it :\
03-17-2013 08:54 PM
Find all posts by this user Like Post Quote this message in a reply
UltimaAku
Journeyman
*

Posts: 125
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 1



Post: #10
RE: Vendors saying item's base names
thanks dullais already tried that Smile

darksun84 i have no idea where to start with that XD
03-25-2013 01:45 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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