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
Change sphere_msgs
Author Message
pushim
Journeyman
*

Posts: 60
Likes Given: 20
Likes Received: 2 in 2 posts
Joined: Dec 2013
Reputation: 0



Post: #1
Change sphere_msgs
Hi again, another problem
how change the messages of sphere like "you can't thing a way to use that ítem" or "*%s is attacking you*"
i edit sphere_msgs but don't change anything
i need this to translate my shard because i'm from argentina and all speak spanish
04-30-2015 08:30 PM
Find all posts by this user Like Post Quote this message in a reply
kilopi_3142
Apprentice
*

Posts: 32
Likes Given: 16
Likes Received: 3 in 3 posts
Joined: Feb 2015
Reputation: 1



Post: #2
RE: Change sphere_msgs
Could you please copy and paste a row from your sphere_msgs.scp
04-30-2015 08:33 PM
Find all posts by this user Like Post Quote this message in a reply
pushim
Journeyman
*

Posts: 60
Likes Given: 20
Likes Received: 2 in 2 posts
Joined: Dec 2013
Reputation: 0



Post: #3
RE: Change sphere_msgs
[DEFNAME messages_settings]
// Default color & font for SysMessage
SMSG_DEF_COLOR 946
SMSG_DEF_FONT 3

// Default color & font for Message/Say
MSG_DEF_COLOR 0
MSG_DEF_FONT 3

// Default color & font for Messages when player click an item
IMSG_DEF_COLOR 0
IMSG_DEF_FONT 3

[DEFMESSAGE messages]
//alchemy_dunno "You have no clue how to make this potion."
//alchemy_lack "Hmmm, you lack %s for this potion."
//alchemy_nobottles "You have no bottles for your potion."
//alchemy_not_reg "That is not a reagent."
//alchemy_pour "pour the completed potion into a bottle"
//alchemy_stage_1 "start grinding some %s in the mortar"
//alchemy_stage_2 "add %s and continue grinding"
04-30-2015 08:45 PM
Find all posts by this user Like Post Quote this message in a reply
kilopi_3142
Apprentice
*

Posts: 32
Likes Given: 16
Likes Received: 3 in 3 posts
Joined: Feb 2015
Reputation: 1



Post: #4
RE: Change sphere_msgs
[DEFMESSAGE messages]
//alchemy_dunno "You have no clue how to make this potion."

Did you remove the Slashes "//" at beginning of the rows ? Like below

[DEFMESSAGE messages]
alchemy_dunno "You have no clue how to make this potion."
04-30-2015 09:22 PM
Find all posts by this user Like Post Quote this message in a reply
pushim
Journeyman
*

Posts: 60
Likes Given: 20
Likes Received: 2 in 2 posts
Joined: Dec 2013
Reputation: 0



Post: #5
RE: Change sphere_msgs
yes, and restart the server, but no changes
04-30-2015 09:24 PM
Find all posts by this user Like Post Quote this message in a reply
kilopi_3142
Apprentice
*

Posts: 32
Likes Given: 16
Likes Received: 3 in 3 posts
Joined: Feb 2015
Reputation: 1



Post: #6
RE: Change sphere_msgs
Maybe there are 2 copies of sphere_msgs.scp or in your scripts somewhere there is another copy of [DEFMESSAGE messages] ?
04-30-2015 09:31 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes kilopi_3142's post
pushim
Journeyman
*

Posts: 60
Likes Given: 20
Likes Received: 2 in 2 posts
Joined: Dec 2013
Reputation: 0



Post: #7
RE: Change sphere_msgs
this is the problem, i have sphere_msgs in the principal folder and in the scripts folder, a problem in 56b scritps. You're god!Big Grin I would never have thought of that!!! thx!♥
(This post was last modified: 04-30-2015 09:44 PM by pushim.)
04-30-2015 09:40 PM
Find all posts by this user Like Post Quote this message in a reply
kilopi_3142
Apprentice
*

Posts: 32
Likes Given: 16
Likes Received: 3 in 3 posts
Joined: Feb 2015
Reputation: 1



Post: #8
RE: Change sphere_msgs
Thank you too my friend
04-30-2015 09:44 PM
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: #9
RE: Change sphere_msgs
yep if the server has 2 duplicated sphere_msgs.scp, sphere will use the values from the last one that it read

also make sure to update your sphere_msgs.scp to get a full support for all newest added/changed messages
05-01-2015 02:35 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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