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
Kill points system
Author Message
UltimaAku
Journeyman
*

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



Post: #2
RE: Kill points system
Here's a small change on it.

Add the event e_killspree and bingo! should work fine.

[events e_kills]

ON=@KILL
if <ARGO.brain> != 0 //doesnt work on NPCs
RETURN 0
ELSE
SRC.TAG.KILLSTREAK=<SRC.TAG.KILLSTREAK>+1
SRC.SYSMESSAGE @22 You have killed <ARGO.NAME>!
RETURN 0
ENDIF

[events e_killspree]

ON=@KILL
if (<SRC.TAG.KILLSTREAK>==5)
SERV.B @3 <SRC.NAME> Is on a killing spree! Watch your back!
ELSEif (<SRC.TAG.KILLSTREAK>==8)
SERV.B @3 <SRC.NAME> Is on a Rampage! How long will it last?
ELSEif (<SRC.TAG.KILLSTREAK>==10)
SERV.B @3 <SRC.NAME> Is Dominating! Make it stop!
ELSEif (<SRC.TAG.KILLSTREAK>==15)
SERV.B @3 <SRC.NAME> Is Unstoppable! Fear the name <SRC.NAME>!
ELSEif (<SRC.TAG.KILLSTREAK>==20)
SERV.B @3 <SRC.NAME> Is God-Like! Hades will be proud!
ELSEif (<SRC.TAG.KILLSTREAK>==25)
SERV.B @3 <SRC.NAME> Is Legendary! 25 Kills and still unbeaten.
ELSEif (<SRC.TAG.KILLSTREAK>==35)
SERV.B @3 <SRC.NAME> Is a Master of Destruction!
ELSEif (<SRC.TAG.KILLSTREAK>==40)
SERV.B @3 <SRC.NAME> Is Utterly Unbeatable!
ELSEif (<SRC.TAG.KILLSTREAK>==45)
SERV.B @3 <SRC.NAME> Is of the makings of a Champion
ELSEif (<SRC.TAG.KILLSTREAK>==50)
SERV.B @3 <SRC.NAME> Is a Champion!
ELSEif (<SRC.TAG.KILLSTREAK>>=2)
SERV.B @3 <SRC.NAME> Is on a <EVAL <SRC.TAG.KILLSTREAK>> Kill Streak!
ELSE
RETURN 0
ENDIF

[events e_man]

ON=@GETHIT
TAG.ATTACKER=<SRC.NAME>

ON=@DEATH
if (<SRC.TAG.KILLSTREAK>>=2)
serv.B @25 <SRC.NAME> Was shutdown by <TAG.ATTACKER>!
SRC.TAG.KILLSTREAK=0
ELSE
SRC.TAG.KILLSTREAK=0
ENDIF

[events e_show]

ON=@CLICK
message @025,3 (Kills: <EVAL <TAG.KILLSTREAK>>)

IF (<EVAL <TAG.KILLSTREAK>> >= 50)
message @25 [Champion]
ELSEIF (<EVAL <TAG.KILLSTREAK>> >= 45)
message @25 [Pre-Champion]
ELSEIF (<EVAL <TAG.KILLSTREAK>> >= 40)
message @25 [Utterly Unbeatable]
ELSEIF (<EVAL <TAG.KILLSTREAK>> >= 35)
message @25 [Master of Destruction]
ELSEIF (<EVAL <TAG.KILLSTREAK>> >= 25)
message @25 [Legendary]
ELSEIF (<EVAL <TAG.KILLSTREAK>> >= 20)
message @25 [Godlike]
ELSEIF (<EVAL <TAG.KILLSTREAK>> >= 15)
message @25 [Unstoppeble]
ELSEIF (<EVAL <TAG.KILLSTREAK>> >= 10)
message @25 [Dominating]
ELSEIF (<EVAL <TAG.KILLSTREAK>> >= 8)
message @25 [Rampage]
ELSEIF (<EVAL <TAG.KILLSTREAK>> >= 5)
message @25 [Killing Spree]
Else
return 0
ENDIF

Edit it how you like, btw not sure what this was about

ON=@DEATH

SRC.TAG.KS=0 ///understood that ended kill streak
VAR.OLD_ACT=<ACT>
VAR.X1=<EVAL <oSTR> /1> +<EVAL <oSTR> /1>
VAR.X=<EVAL {<VAR.X1> <oSTR>}>
10-21-2014 11:00 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Kill points system - Kapa - 10-21-2014, 05:15 PM
RE: Kill points system - UltimaAku - 10-21-2014 11:00 PM
RE: Kill points system - Kapa - 10-22-2014, 01:24 AM
RE: Kill points system - UltimaAku - 10-22-2014, 05:22 AM

Forum Jump:


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