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=@kill
Author Message
Alaric
Journeyman
*

Posts: 227
Likes Given: 7
Likes Received: 9 in 4 posts
Joined: Oct 2012
Reputation: 7



Post: #10
RE: ON=@kill
You are checking if the victim is player and has the event e_exp. Do you really want that? If yes, are the conditions really true?

Code:
if (<src.isplayer>) && (<src.isevent.e_exp>)
if (<argo.isplayer>) && (<src.isevent.e_exp>)
if (<src.isplayer>) && (<argo.isevent.e_exp>)
if (<argo.isplayer>) && (<argo.isevent.e_exp>)
if !(<src.isplayer>) && (<argo.isevent.e_exp>)
if !(<src.isplayer>) && (<src.isevent.e_exp>)
?

In the first post you said only bonus from a mob... I assume you should give the event only a player and check only existance of event e_exp and if it is NOT a player.

SRC=VICTIM
ARGO=KILLER
03-27-2014 08:14 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
ON=@kill - Van Glan Bloom - 03-26-2014, 02:47 PM
RE: ON=@kill - XuN - 03-26-2014, 06:52 PM
RE: ON=@kill - XuN - 03-27-2014, 07:07 AM
RE: ON=@kill - Van Glan Bloom - 03-27-2014, 02:47 AM
RE: ON=@kill - Mordaunt - 03-27-2014, 04:19 AM
RE: ON=@kill - Van Glan Bloom - 03-27-2014, 05:50 AM
RE: ON=@kill - Van Glan Bloom - 03-27-2014, 09:35 AM
RE: ON=@kill - darksun84 - 03-27-2014, 10:07 AM
RE: ON=@kill - Van Glan Bloom - 03-27-2014, 01:48 PM
RE: ON=@kill - Alaric - 03-27-2014 08:14 PM
RE: ON=@kill - Van Glan Bloom - 03-28-2014, 01:30 AM
RE: ON=@kill - Coruja - 03-29-2014, 01:23 AM
RE: ON=@kill - UltimaAku - 03-29-2014, 03:44 AM
RE: ON=@kill - Van Glan Bloom - 03-29-2014, 09:45 AM
RE: ON=@kill - UltimaAku - 03-30-2014, 09:16 PM

Forum Jump:


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