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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
attacker.x.ignore problem
Author Message
Rizz
Master
**

Posts: 396
Likes Given: 21
Likes Received: 14 in 9 posts
Joined: Oct 2012
Reputation: 0



Post: #1
attacker.x.ignore problem
PHP Code:
@gethit

IF (<CTAG0.war_targ> != <src.uid>)
    FOR 
X 0 <attacker>
        IF (<
attacker.<dLOCAL.X>> == <src.uid>)
            
attacker.<dLOCAL.X>.threat=0
            attacker
.<dLOCAL.X>.ignore=1
        
ENDIF
    ENDFOR
    
ENDIF 

CTAG0.war_targ is taken from PACKET5.

This code should prevent the automatic attack when you get hit by someone but it doesn't work...
If you get a hit, you'll start to attack instead of ignore the new target.
Where is the problem?

I don't wanna use @combatadd bcuz I need the attacker join to the list.
(This post was last modified: 05-09-2015 07:09 AM by Rizz.)
05-09-2015 07:07 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
attacker.x.ignore problem - Rizz - 05-09-2015 07:07 AM
RE: attacker.x.ignore problem - XuN - 05-09-2015, 05:02 PM
RE: attacker.x.ignore problem - Rizz - 05-11-2015, 04:01 AM
RE: attacker.x.ignore problem - XuN - 05-11-2015, 05:19 PM

Forum Jump:


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