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
attacker
Author Message
Shaklaban
Master
**

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

DOT

Post: #9
RE: attacker
attacker.clear not exist on the 2009 build. you maybe you can try to combine @gethit with @userstats. @userstats triggered when players stats, hp, gold etc. changed and new status packet needs to be sended to client.

example:

Code:
on=@gethit
tag.oldhits=<hits>
tag.attacker=<src>

on=@userstats
ref1=<tag0.attacker>
if <ref1>
    sysmessage hits before <ref1.name> hit me: <tag0.oldhits>
    sysmessage hits after <ref1.name> hit me: <hits>
endif

also you can try to use timerd (which can have 0.1 seconds minimum but in 0.1 second player still can get hit etc.)
(This post was last modified: 08-19-2012 09:09 PM by Shaklaban.)
08-19-2012 09:08 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
attacker - Art - 08-17-2012, 07:59 AM
RE: attacker - Mordaunt - 08-17-2012, 08:16 AM
RE: attacker - Art - 08-17-2012, 09:00 AM
RE: attacker - Art - 08-18-2012, 03:53 PM
RE: attacker - Shaklaban - 08-18-2012, 04:17 PM
RE: attacker - Art - 08-19-2012, 01:30 PM
RE: attacker - Extreme - 08-19-2012, 01:40 PM
RE: attacker - Art - 08-19-2012, 06:03 PM
RE: attacker - Shaklaban - 08-19-2012 09:08 PM
RE: attacker - Art - 08-19-2012, 11:31 PM
RE: attacker - Shaklaban - 08-20-2012, 12:10 AM
RE: attacker - Art - 08-20-2012, 12:25 AM
RE: attacker - Shaklaban - 08-20-2012, 12:42 AM

Forum Jump:


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