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
Cooking messaging issue
Author Message
kilopi_3142
Apprentice
*

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



Post: #1
Cooking messaging issue
Hi all,

Using .56c,

When i try to use cooking skill without having a fire around me, it says "You must be near a fire source". It is normal and good.

But the problem is, the message is repeating twice.

I've searched about this issue and try to fix it without overriding the hardcode but couldnt make anything.
04-03-2015 06:30 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #2
RE: Cooking messaging issue
I tried to cook some i_ribs_raw and had not problem. Can you tell us what are you trying to cook? Maybe it's something specific ... or maybe your [skill ] have a check for fires and its giving the sysmessage along with the source.
04-03-2015 05:51 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: #3
RE: Cooking messaging issue
Thank you XuN,

I'll try with another item like ribs as soon as possible, then i'll report the result here.
04-03-2015 06:17 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: Cooking messaging issue
Have tried with another item "Bread Loaf" without having a fire source near me. It is the same.

"You must be near to a fire source to cook"
"You must be near to a fire source to cook"

I dont have any override scripts about cooking, using 56c and latest scripts.
04-04-2015 01:58 AM
Find all posts by this user Like Post Quote this message in a reply
azmanomer
Journeyman
*

Posts: 139
Likes Given: 4
Likes Received: 18 in 16 posts
Joined: Nov 2013
Reputation: 1



Post: #5
RE: Cooking messaging issue
try to remove all of your events first than look at sphere.ini for is there any event to add player than try again. if its still giving that msg search for that msg in the scripts.
04-04-2015 02:29 AM
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: Cooking messaging issue
Sphere.ini= 0 events to players
The char is trying to cook= 0 events

Searched for the message in all scripts, there is only one copy and it is in the sphere_msgs.scp.

Have you tried to cook without a fire source around, with "makeitem" in .56c
04-04-2015 06:01 AM
Find all posts by this user Like Post Quote this message in a reply
azmanomer
Journeyman
*

Posts: 139
Likes Given: 4
Likes Received: 18 in 16 posts
Joined: Nov 2013
Reputation: 1



Post: #7
RE: Cooking messaging issue
i just tried that and i got only 1 msg
04-04-2015 07:57 AM
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: Cooking messaging issue
Found the mistake of mine,

I was using the "makeitem" with "src", like "src.makeitem"

I ve removed the "src" part from it, now it is like "makeitem"

The problem has gone, thank you guys btw
04-05-2015 04:50 PM
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)