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
console errors
Author Message
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #1
console errors
Hey all,

My console gives 2 type of error as below

First;
Code:
17:25:ERROR:(spherechar_human.scp,6635)Can't resolve <SRC.CTAG0.RESSER>
17:25:ERROR:(spherechar_human.scp,6635)Undefined symbol ''

spherechar_human.scp,6635;
Code:
ON=@NPCLookAtChar
IF (<SRC.ISPLAYER>)
IF (<SRC.ISONLINE>)
IF (<SRC.CTAG0.RESSER>)
RETURN 1
ENDIF
IF (<SRC.FLAGS>&STATF_DEAD)
SRC.SPELLEFFECT S_RESURRECTION,1000,<UID>
ENDIF
ENDIF
ENDIF

Second;
Code:
17:28:ERROR:(functions7.scp,210)Undefined keyword 'SENDPACKET'

functions7.scp,210;
Code:
IF (<ISCHAR>)
    IF (0<ISPLAYER>) && (0<ISONLINE>)
    SENDPACKET 06D W<HVAL <ARGN1>>
    ENDIF
ENDIF
(This post was last modified: 06-22-2014 12:36 AM by ograso.)
06-22-2014 12:33 AM
Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #2
RE: console errors
In your first problem, I am guessing SRC is not what you think it is (an online player)... try recording the NAME of SRC in the log to find out what's going on.

In your second problem, SENDPACKET may not work in all triggers... what @TRIGGER is that same of code inside?
06-23-2014 03:13 AM
Find all posts by this user Like Post Quote this message in a reply
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #3
RE: console errors
(06-23-2014 03:13 AM)RanXerox Wrote:  In your first problem, I am guessing SRC is not what you think it is (an online player)... try recording the NAME of SRC in the log to find out what's going on.

In your second problem, SENDPACKET may not work in all triggers... what @TRIGGER is that same of code inside?

Actually this is function script from cloud_br. This part of function relevant music. I am using src.music When I need to use. But I dont understand Why its happening. This error being player logon and logoff.

Code:
[FUNCTION music]
IF (<ISCHAR>)
    IF (0<ISPLAYER>) && (0<ISONLINE>)
    src.SENDPACKET 06D W<HVAL <ARGN1>>
    ENDIF
ENDIF
07-13-2014 01:49 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: #4
RE: console errors
Mixing SRC calls with NO-SRC calls can give some problems, however in the default script pack there's a 'music' function already:

Code:
[FUNCTION music]
IF (<ISPLAYER>)
MIDILIST <ARGS>
ENDIF

And coruja made some changes on regions to fix some errors when calling it, so updating map files (if the problem is related to map) will also help solving this issue.
07-15-2014 09:16 PM
Find all posts by this user Like Post Quote this message in a reply
ograso
Journeyman
*

Posts: 135
Likes Given: 10
Likes Received: 2 in 2 posts
Joined: May 2014
Reputation: 0



Post: #5
RE: console errors
(07-15-2014 09:16 PM)XuN Wrote:  Mixing SRC calls with NO-SRC calls can give some problems, however in the default script pack there's a 'music' function already:

Code:
[FUNCTION music]
IF (<ISPLAYER>)
MIDILIST <ARGS>
ENDIF

And coruja made some changes on regions to fix some errors when calling it, so updating map files (if the problem is related to map) will also help solving this issue.

Thank you so much
07-24-2014 05:47 PM
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)