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
NPC name color
Author Message
Van Glan Bloom
Journeyman
*

Posts: 104
Likes Given: 2
Likes Received: 3 in 3 posts
Joined: Jun 2013
Reputation: 0



Post: #1
NPC name color
Hi guys.
I have some problem in my sphere. The mobs and the animals have the wrong color in the name.
For exemple if the mob is agressive the name is Blue and the if the mobs have a blue karma the name is black.

Can you understand where is the problem?
11-15-2015 06:45 AM
Find all posts by this user Like Post Quote this message in a reply
wuffel
Apprentice
*

Posts: 28
Likes Given: 0
Likes Received: 4 in 2 posts
Joined: Mar 2012
Reputation: 1



Post: #2
RE: NPC name color
Hello my dear friend,
have a look into the sphere.ini.
// Default color settings for characters (name, speech)
ColorNotoGood=063 // blue
ColorNotoGuildSame=044 // green (ally)
ColorNotoCriminal=03b2 // grey (criminal)
ColorNotoNeutral=03b2 // grey (can be attacked)
ColorNotoEvil=026 // red
ColorNotoGuildWar=02b // orange (enemy guild)
ColorNotoDefault=03b2 // grey (if not any other)
11-15-2015 07:58 AM
Find all posts by this user Like Post Quote this message in a reply
Van Glan Bloom
Journeyman
*

Posts: 104
Likes Given: 2
Likes Received: 3 in 3 posts
Joined: Jun 2013
Reputation: 0



Post: #3
RE: NPC name color
I have working in the script that is in Sphere.Ini but i have the same error.
I go send a image in order to see what happens.

Someone can help me?
01-23-2016 11:20 AM
Find all posts by this user Like Post Quote this message in a reply
karma
Moderator
****

Posts: 178
Likes Given: 17
Likes Received: 32 in 29 posts
Joined: Jul 2012
Reputation: 3



Post: #4
RE: NPC name color
The colour of the names shown, if you don't overwrite the default behaviour doing somewhere @Click -> RETURN 1, is in the sphere.ini, as suggested by wuffel.
Have you changed the default values of the ColorNoto* fields? Because the colours are stored there.
01-23-2016 11:21 PM
Find all posts by this user Like Post Quote this message in a reply
rastrero
Master
**

Posts: 250
Likes Given: 41
Likes Received: 28 in 24 posts
Joined: Jan 2016
Reputation: 3



Post: #5
RE: NPC name color
02-03-2016 12:04 AM
Find all posts by this user Like Post Quote this message in a reply
zottolo
Journeyman
*

Posts: 87
Likes Given: 8
Likes Received: 12 in 11 posts
Joined: Dec 2015
Reputation: 0



Post: #6
RE: NPC name color
custom hues.mul? are only names affected by this problem? try to take note of the color's ids in sphere.ini and apply them to objects to see if everything is alright in order to locate the problem:

-if the color is not correct neither on names nor on objects there's something wrong in your hues.mul

-if it's correct on objects but not in names it's a script matter
02-03-2016 02:31 AM
Find all posts by this user Like Post Quote this message in a reply
Abuelox
Journeyman
*

Posts: 64
Likes Given: 0
Likes Received: 7 in 7 posts
Joined: Apr 2010
Reputation: 0

Alteria Games

Post: #7
RE: NPC name color
A quick alternative is to find a color code is "Red" for PK's, another for neutral gray and blue and place it in sphere.ini if the problem is the hues.mul

You may also be some custom script you have downloaded and not find the event / function
02-13-2016 07:28 PM
Visit this user's website 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)