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
on=@death can't get tiggers
Author Message
godofwar
Apprentice
*

Posts: 5
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2014
Reputation: 0



Post: #1
on=@death can't get tiggers
The game inside on=@death. I am doing some query for Who die or kill from tigger , but that queny dont work.

Code:
Ref1=<act.uid> // Killer
Ref2=<uid> // die

1-) When A player cut B player , A player putting a magic to B player with poisoning magic. Who killed it with poisoning magic then All my queny getting loose. So How can I Block that?

2-) When A player and B player has a VS then B player has hits between 5-10 then B player Could die with Reactive Armor Magic. So How can I Block that?
(This post was last modified: 04-07-2014 11:31 PM by godofwar.)
04-07-2014 11:31 PM
Find all posts by this user Like Post Quote this message in a reply
UltimaAku
Journeyman
*

Posts: 125
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 1



Post: #2
RE: on=@death can't get tiggers
wait wait wait, what are you trying to do. On=@death triggers when the character with the event has their hits reach 0. are you trying to prevent death or have something happen when you die?
04-13-2014 09:35 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #3
RE: on=@death can't get tiggers
The wonderful thing about tiggers
Is tiggers are wonderful things!
Their tops are made out of rubber
Their bottoms are made out of springs!
They're bouncy, trouncy, flouncy, pouncy
Fun, fun, fun, fun, fun!


In other news... use @kill instead

[Image: 2nis46r.jpg]
04-14-2014 02:29 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
godofwar
Apprentice
*

Posts: 5
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2014
Reputation: 0



Post: #4
RE: on=@death can't get tiggers
(04-13-2014 09:35 PM)UltimaAku Wrote:  wait wait wait, what are you trying to do. On=@death triggers when the character with the event has their hits reach 0. are you trying to prevent death or have something happen when you die?

İm gonna do something about death and killer on=@death
(This post was last modified: 04-16-2014 04:10 AM by godofwar.)
04-16-2014 04:09 AM
Find all posts by this user Like Post Quote this message in a reply
UltimaAku
Journeyman
*

Posts: 125
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 1



Post: #5
RE: on=@death can't get tiggers
there's a problem there. ON=@death only applies an event to the person who dies, not the killer. here's a way around it.

If it's a death announcer your after, here's an easy example:

[EVENTS e_death_announce]
ON=@GETHIT
TAG.ATTACKER=<SRC.NAME> //this records the name of the attacker

ON=@DEATH
serv.allclients SYSMESSAGE @26 <SRC.NAME> Was killed by <TAG.ATTACKER> //Announces that the player was killed by the attacker

or if it's when something kills another creature, you can try ON=@KILL

[EVENTS e_soul_reap]
ON=@KILL
SRC.HITS=<SRC.MAXHITS>
SRC.EMOTE drain <ARGO.NAME>'s Soul

If none of this helps, i'm gonna need to know specifically what you want to do, otherwise I can't help you.
04-24-2014 07:12 PM
Find all posts by this user Like Post Quote this message in a reply
Mordaunt
Super Moderator
****

Posts: 1,237
Likes Given: 26
Likes Received: 55 in 43 posts
Joined: Mar 2012
Reputation: 35



Post: #6
RE: on=@death can't get tiggers
Curious why you felt the need to edit your posts to bold all your text...

[Image: 2nis46r.jpg]
04-24-2014 07:53 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
UltimaAku
Journeyman
*

Posts: 125
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 1



Post: #7
RE: on=@death can't get tiggers
(04-24-2014 07:53 PM)Mordaunt Wrote:  Curious why you felt the need to edit your posts to bold all your text...

lol, now now, no need to criticize Tongue 'tis a tad strange but personally they can have it in italics for all I care, if the raw info is there and presented It shouldn't make a difference Tongue
04-24-2014 09:11 PM
Find all posts by this user Like Post Quote this message in a reply
Avatar
Journeyman
*

Posts: 172
Likes Given: 6
Likes Received: 27 in 12 posts
Joined: Apr 2012
Reputation: 5

The North Shield

Post: #8
RE: on=@death can't get tiggers
Death trigger does apply event to killer as well. You can directly refer as <act>. The problem is caused by not the killer but spell like poison. There is weird situation. Even if you know that killer casted that spell ,<act> does not refer to player but poison itself. I know there is a problem on that issue. I did realize it months ago. If I have time, I'll look that issue. I took a note.
(This post was last modified: 04-25-2014 12:53 PM by Avatar.)
04-25-2014 12:05 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
UltimaAku
Journeyman
*

Posts: 125
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 1



Post: #9
RE: on=@death can't get tiggers
Noted. thanks Avatar Tongue
04-26-2014 01:26 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)