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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Barber profession
Author Message
amonvangrell
Banned

Posts: 337
Likes Given: 17
Likes Received: 32 in 20 posts
Joined: Aug 2012

britannia shard

Post: #1
Exclamation Barber profession
Hi there, long time no see...

I need some help please, just noticed that the barber doesn't seem to be working properly. He only sells "Savage body paint" and I get this weird errors in my sphere console:
Code:
08:58:ERROR:(sphere_vendors.scp,898)Undefined symbol 'i_barber_haircut' ['i_barber_haircut,10']
08:58:ERROR:(sphere_vendors.scp,899)Undefined symbol 'i_barber_dye_beard' ['i_barber_dye_beard,10']
08:58:ERROR:(sphere_vendors.scp,900)Undefined symbol 'i_barber_dye_hair' ['i_barber_dye_hair,10']

Looked into, and just discovered that he doesn't even have a sell/buy template.
so I went ahead and created one:
Code:
[TEMPLATE VENDOR_B_BARBER_TEMPLATE]
CATEGORY=Vendor Templates
SUBSECTION=Buy Templates
DESCRIPTION=Barber
   BUY=i_hair_dyes,10
   BUY=i_barber_haircut,10
   BUY=i_barber_dye_beard,10
   BUY=i_barber_dye_hair,10
   BUY=i_bodypaint,10

[TEMPLATE VENDOR_S_BARBER_TEMPLATE]
CATEGORY=Vendor Templates
SUBSECTION=Sell Templates
DESCRIPTION=Barber
   SELL=i_hair_dyes,10
   SELL=i_barber_haircut,10
   SELL=i_barber_dye_beard,10
   SELL=i_barber_dye_hair,10
   SELL=i_bodypaint,10

But somehow this still doesn't work.
Looked into sphere_item_profession_barber.scp and I've noticed:
Code:
[COMMENT sphere_item_profession_barber.scp]

This file contains:

* tools used by barbers
* decoration found in barbershops
* Items of type t_hair and t_beard for both human and gargoyle

[b]FIXME: Make enabling or disabling "hair growth" easier by moving the
implementation into a TYPEDEF so you can disable it in one place.[/b]

Is it related?
Can someone help me having my barber to cut hairs, please?
07-19-2017 07:18 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Barber profession - amonvangrell - 07-19-2017 07:18 AM
RE: Barber profession - darksun84 - 07-19-2017, 08:45 AM
RE: Barber profession - Coruja - 07-27-2017, 01:21 PM
RE: Barber profession - amonvangrell - 08-03-2017, 06:18 PM
RE: Barber profession - Coruja - 08-05-2017, 01:58 PM

Forum Jump:


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