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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ERROR: Can't resolve <DEFNAME>
Author Message
Russian
Journeyman
*

Posts: 75
Likes Given: 4
Likes Received: 2 in 2 posts
Joined: Jul 2012
Reputation: 0



Post: #1
ERROR: Can't resolve <DEFNAME>
Hello!

My script:

Code:
[REGIONTYPE R_ENTERSOMEAREA]
ON=@STEP
IF (<DEFNAME>==A_ASTRAL_dungeon_1)
    IF (<SRC.BASEID>==c_ASTRAL_LORD)
        IF (<SRC.HITS> < ((<SRC.MAXHITS>*20)/100))
            IF (25 > <R100>)
            SERV.NEWITEM I_ASTRAL_FIRE_1
            NEW.P=<SRC.P>
            NEW.ATTR=ATTR_DECAY
            NEW.TIMER=5
            SERV.NEWITEM I_ASTRAL_FIRE_2
            NEW.P=<SRC.P>
            NEW.ATTR=ATTR_DECAY
            NEW.TIMER=5
            ENDIF
        ENDIF
    ENDIF
ENDIF

Error: IF (<DEFNAME>==A_ASTRAL_dungeon_1)
What is wrong, my friends?
Thank you!


Attached File(s) Thumbnail(s)
   
03-25-2014 10:50 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
ERROR: Can't resolve <DEFNAME> - Russian - 03-25-2014 10:50 PM
RE: ERROR: Can't resolve <DEFNAME> - XuN - 03-25-2014, 11:43 PM
RE: ERROR: Can't resolve <DEFNAME> - XuN - 03-26-2014, 12:23 AM
RE: ERROR: Can't resolve <DEFNAME> - Ben - 03-26-2014, 07:04 AM

Forum Jump:


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