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
(Solved) Removing ghost after a player´s dead
Author Message
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #1
(Solved) Removing ghost after a player´s dead
Is it possible?

When a player dies I can always see his ghost walking and it´s a bit ugly this effect.
I have tried to put TIMERF 0 REMOVEFROMVIEW under @DEATH trigger, and almost succed to remove the ghost, but for only 1 second after the dead is clearly visible, and then disappear.

Is it possible to remove completely seeing the ghost?
(This post was last modified: 09-09-2012 11:17 AM by Gil Amarth.)
09-09-2012 10:40 AM
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: Removing ghost after a player´s dead
Maybe you can try something like this:

on=@death
sendpacket 072 00 00 32 00
flags=<flags>&~statf_war
09-09-2012 10:51 AM
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: Removing ghost after a player´s dead
also add

ON=@Click
IF <FLAGS>&STATF_dead
REMOVEFROMVIEW
RETURN 1
ENDIF
09-09-2012 11:01 AM
Find all posts by this user Like Post Quote this message in a reply
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #4
RE: Removing ghost after a player´s dead
The solution of WRWR works perfect!

It works like a charm, thank you very much. Smile
09-09-2012 11:17 AM
Find all posts by this user Like Post Quote this message in a reply
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #5
RE: (Solved) Removing ghost after a player´s dead
So out of curiosity... do you never want players to resurrect their friends, or is there some way for them to do that still?
09-10-2012 01:37 AM
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: #6
RE: (Solved) Removing ghost after a player´s dead
Friends must live Smile enemy die
09-10-2012 03:14 AM
Find all posts by this user Like Post Quote this message in a reply
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #7
RE: (Solved) Removing ghost after a player´s dead
No, I don´t want players resurrections.

When my players dies, the linger about 10 seconds dead, and next they are resurrected in the last shrine they offered some gold.

I plan using my own magic spells, and I don´t want resurrections spells neither.
If you fail in a dungeon, or in a pvp combat, you have to pay the consequences. Dying have to be harsh. Smile
(This post was last modified: 09-10-2012 08:36 AM by Gil Amarth.)
09-10-2012 08:33 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)