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,

I receive errors on console like as follows when I dclick to blank scroll. I didnt understand why crying for dspellcircle.

Code:
ERROR:(e_player.scp,157)Can't resolve <dSPELLCIRCLE 1>
.
.
ERROR:(e_player.scp,157)Can't resolve <dSPELLCIRCLE 64>

relevant content;
Code:
ON=@SpellSelect
LOCAL.CastRecovery=<SRC.TAG0.FASTERCASTRECOVERY>
IF (<LOCAL.CastRecovery> > 6)
LOCAL.CastRecovery=6
ENDIF
FLOAT.RecoveryTime=<FLOATVAL (((0.25*<dSPELLCIRCLE <ARGN1>>)-(<dLOCAL.CastRecovery>*0.25))*10)>
CTAG.LASTCASTING=<EVAL <SERV.TIME>+<FEVAL <FLOAT.RecoveryTime>>>
IF (<TAG0.LOWERMANACOST>)
LOCAL.LOWERCOST=<TAG0.LOWERMANACOST>
    IF (<LOCAL.LOWERCOST> > 50)
    LOCAL.LOWERCOST=50
    ENDIF
ARGN2 -= <EVAL (<ARGN2>*<LOCAL.LOWERCOST>)/100>
ENDIF
02-14-2015 11:56 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: #2
RE: console errors
you doesn't have the function SPELLCIRCLE, so sphere does't know what is SPELLCIRCLE and will return this console error "Cant resolve <SPELLCIRCLE>"

probably this SPELLCIRCLE function is used to get the circle of the spell, something like this:
Code:
[FUNCTION SpellCircle]
return <eval 1+((<ARGS>-1)/8)>
02-15-2015 01:07 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
Thank you Coruja
02-15-2015 04:09 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)