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-nmm6 (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-nmm6 (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-nmm6 (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
@KILL not firing
Author Message
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #1
@KILL not firing
i dont know what happens but @KILL not firing always...WHY?
it firing sometimes but rarely

just want to use @KILL for killcount in quests...
(This post was last modified: 08-27-2012 08:16 PM by WRWR.)
08-27-2012 08:11 PM
Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #2
RE: @KILL not firing
you need to use @death trigger, @kill is not good for that kind of purpose.
08-27-2012 08:31 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #3
RE: @KILL not firing
@DEATH
I The character about to die.
SRC The character about to die.

who is killer?
08-27-2012 08:43 PM
Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #4
RE: @KILL not firing
you can use attacker function:


27-11-2006, Vjaka
- Added: ATTACKER keyword to access last attackers of a character. Usage:
<attacker> returns amount of attackers
<attacker.x> returns UID of the attacker (or 0 if there is no attacker)
<attacker.x.dam> returns total damage done by the attacker

also there are attacker.max and attacker.last
08-27-2012 08:47 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #5
RE: @KILL not firing
how to use it?
08-27-2012 08:53 PM
Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #6
RE: @KILL not firing
local.name=<uid.<attacker.last>.name>
maybe?
never used it but this must work
08-27-2012 08:59 PM
Find all posts by this user Like Post Quote this message in a reply
Shaklaban
Master
**

Posts: 378
Likes Given: 0
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 8

DOT

Post: #7
RE: @KILL not firing
PHP Code:
on=@death
ref1
=<attacker.max>
if <
ref1//if its npc check still alive
    
serv.log <ref1.nameis attacker which is give most damage
endif

ref1=<attacker.last>
if <
ref1
    
serv.log <ref1.nameis attacker which is give last damage
endif

for 
<attacker>
    
ref1=<attacker.<local._for>> 
    if <
ref1>
        
serv.log <ref1.nameis give me <attacker.<local._for>.damdamage
    
endif
endfor

//also you can try to look for act but its not documented so you need toı check it with ISCHAR 

if <act>
    if <
act.ischar>
        
serv.log <act.nameseems to give me last damage
    
endif
endif 
08-27-2012 08:59 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #8
RE: @KILL not firing
so, what about this one?
I posted to the bugtracker and now it´s gone.
someone deleted it Sad
02-24-2013 08:03 PM
Find all posts by this user Like Post Quote this message in a reply
Ben
Sphere Developer
*****

Posts: 612
Likes Given: 2
Likes Received: 123 in 70 posts
Joined: Mar 2010
Reputation: 18

SphereCommunity

Post: #9
RE: @KILL not firing
It's not deleted, it's closed. It's not a bug.
It has been mentioned multiple times that this trigger only fires when you are the agreessor.

AxisII's current version: 2.0.4j
AxisII SourceCode on Github
AxisII up to date changelog
02-24-2013 11:47 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
admin phoenix
Master
**

Posts: 354
Likes Given: 1
Likes Received: 23 in 13 posts
Joined: Mar 2012
Reputation: 3



Post: #10
RE: @KILL not firing
thanks ben for your answer
02-25-2013 07:29 AM
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)