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
src.spelleffect
Author Message
Osi
Apprentice
*

Posts: 4
Likes Given: 4
Likes Received: 0 in 0 posts
Joined: Jan 2015
Reputation: 0



Post: #3
RE: src.spelleffect
Code:
16:48:ERROR:(test.scp,38)Undefined keyword 'ref1.spelleffect'
16:48:ERROR:(test.scp,40)Undefined keyword 'ref1.bounce'
ERROR:GC: 1 unplaced object deleted
ERROR:UID=040001b42, id=0eed 'gold coin', Invalid code=3202 (Object not placed in the world)
problem is if you die before npc u cant get loot and sphere giving error like this.

Code:
17:08:ERROR:(test.scp,35)Undefined symbol 'uid'
ref1=<attacker.uid> and I did ref1=<attacker.last>
thanks for helping

and how I can use this?
Code:
[FUNCTION npccast]
// Determine spell and skill used to cast
LOCAL.SPELL = <EVAL <ARGV[0]> &~ 0ff000000>
LOCAL.SKILL = <EVAL (<STREAT <SERV.SPELL.<LOCAL.SPELL>.SKILLREQ>>) &~ 0ff000000>
IF !(<LOCAL.SKILL>)
    LOCAL.SKILL = 25
ENDIF

// Set spell target
IF (<ARGV> > 2)
    ACT = 0
    ACTP = <ARGV[1]>, <ARGV[2]>, <ARGV[3]>, <ARGV[4]>
ELSE
    REF1 = <ARGV[1]>
    IF !(<REF1.UID>)
        REF1 = <ACT.UID>
        IF !(<REF1.UID>)
            REF1 = <UID>
        ENDIF
    ENDIF
    ACT = <REF1.UID>
    ACTP = <REF1.P>
ENDIF

// Set character action
ACTPRV = <UID>
ACTARG1 = <LOCAL.SPELL>
ACTION = <LOCAL.SKILL>
RETURN 1

and 1 more thing ^^

Code:
on=@gethit  // here simple
if (<act.baseid> == c_vortex) // what's act? and why need use (<..> == why 2 time )
effect=3,i_fx_heal_effect,6,35,1 // efect=3 is spell but i_fx_heal_effect,6,35,1 what's this?
src.remove // ??
endif // we closed if thing
(This post was last modified: 02-02-2015 07:11 AM by Osi.)
02-02-2015 12:17 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
src.spelleffect - Osi - 02-01-2015, 11:03 AM
RE: src.spelleffect - Jim - 02-01-2015, 05:19 PM
RE: src.spelleffect - Osi - 02-02-2015 12:17 AM
RE: src.spelleffect - Jim - 02-02-2015, 10:44 AM

Forum Jump:


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