Raised This Month: $51 Target: $400
 12% 

DeathRun XP & Ranks Mod (Version 1.0.2) (Bonus per Lvl / Rank Tags / and more...)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
quilhos
Veteran Member
Join Date: Jun 2010
Old 10-01-2012 , 14:52   DeathRun XP & Ranks Mod (Version 1.0.2) (Bonus per Lvl / Rank Tags / and more...)
Reply With Quote #1

DeathRun XP & Ranks Mod
Current Version:
1.0.2
Latest Versions: 5291 downloads

Description:
  • This plugin has been done to improve and give a new propose to the game.
  • If you want use the prefix system and Admin Chat Colors in the server, my advice is use the admin chat colors in the plugin.


Installation
  1. Download and compile locally the plugin from:
  2. Upload the amxx file to your server (cstrike>addons>amxmodx>plugins).
  3. Edit the config file and add the plugin (cstrike>addons>amxmodx>configs>plugins.ini).

Requirements
  • AMXX: Version 1.8.1 or above
  • AMXX Modules: Cstrike, Fun, Engine, Fakemeta, nVault, ColorChat, and Hamsandwich modules

Features:
  • XP System - nVault
  • Level System - nVault
  • Level behind the nick
  • Health Per Level
  • Armor Per Level
  • Damage Per Level
  • Velocity Per Level
  • Gravity Per Level
  • Staff Tags (compatible with Rank Tags)
  • ...

Cvars:

Bonus Cvars: (default 10)
  • dr_health_per_lvl
  • dr_armor_per_lvl
  • dr_damage_per_lvl
  • dr_speed_per_lvl
  • dr_gravity_per_lvl

Staff Tags (compatible with Ranks): (default 1 [ON])
  • dr_staff_tags

XP Reward Chat MSG: (default 1 [ON])
  • dr_reward_msgs
Commands:

Add & Remove XP: (console)
  • dr_give_xp <nick, #userid, authid | @all> <xp>
  • dr_remove_xp <nick, #userid, authid | @all> <xp>
Personal Info: (chat)
  • /xp
  • /level
Credits:
  • Ex1ne - XP System & Level System
  • matsi - Observations and optimizations
  • tre3fla - Suggestion and Request post
  • ConnorMcLeod - Suggestions, SayTxt & AdminChatColors Code
  • xBatista - ShowHud Help
Updates Log:
Code:
v0.0.1: 01/10/2012
- initial release
v0.0.2: 01/10/2012
- Optimize SpeedPerLevel & DamagePerLevel
v0.0.3: 02/10/2012
- Optimize Others Bonus & Functions
v0.0.4: 02/10/2012
- Optimize Level Prefix and Added Personal Info commands
v0.0.5: 03/10/2012
- Optimize EventDeathMsg
- Improve Check Level
v0.0.6: 21/10/2012
- Fix Damage Bug
- Fix Messages Bugs
v0.0.7: 23/10/2012
- Fix Index Of Bounds Bug
v0.0.8: 27/10/2012
- Admin Chat Colors Support
v0.0.9: 08/12/2012
- Fix Some Bugs & Added MSG Cvar
v1.0: 13/01/2013
- Fix Give & Remove XP bug
v1.0.2: 05/07/2016
- Minor Update
If you found any bug or have any way to optimize the code, I appreciate your help.
Attached Files
File Type: inc colorchat.inc (2.3 KB, 2433 views)
File Type: sma Get Plugin or Get Source (deathrun_xp.sma - 2601 views - 17.7 KB)
__________________
ELO RATING SYSTEM - SQL [COMPLETE]
Quote:
Originally Posted by Liverwiz View Post
DDDRRRRAAAAMMMMAAAAA!!!???

Put this shit on pause while i go get some popcorn!!

Last edited by quilhos; 07-05-2016 at 00:53. Reason: Update v1.0.2
quilhos is offline
hannes
Member
Join Date: Sep 2010
Old 10-01-2012 , 16:35   Re: DeathRun XP & Level Mod
Reply With Quote #2

Look like a fun plugin i will test it
__________________
hannes is offline
matsi
Thinkosaur
Join Date: Sep 2006
Old 10-01-2012 , 16:38   Re: DeathRun XP & Level Mod
Reply With Quote #3

- You have a lot redundant code in your plugin.
- You are using at least three different coding styles.
- Code is not properly indented.
- A lot of the code is copied from somewhere else.

I don't know if this should be released in this condition.
__________________

Accepting all kinds of requests via private message.

Last edited by matsi; 10-01-2012 at 16:57.
matsi is offline
quilhos
Veteran Member
Join Date: Jun 2010
Old 10-01-2012 , 17:41   Re: DeathRun XP & Level Mod
Reply With Quote #4

I will try improve the code, but can you give me examples, of what I need to improve? Thanks in advanced x)
__________________
ELO RATING SYSTEM - SQL [COMPLETE]
Quote:
Originally Posted by Liverwiz View Post
DDDRRRRAAAAMMMMAAAAA!!!???

Put this shit on pause while i go get some popcorn!!
quilhos is offline
quilhos
Veteran Member
Join Date: Jun 2010
Old 10-01-2012 , 18:27   Re: DeathRun XP & Level Mod
Reply With Quote #5

Update v0.0.2 [01-10-2012]
Code:
Optimize Speed & Damage Per Level
__________________
ELO RATING SYSTEM - SQL [COMPLETE]
Quote:
Originally Posted by Liverwiz View Post
DDDRRRRAAAAMMMMAAAAA!!!???

Put this shit on pause while i go get some popcorn!!
quilhos is offline
quilhos
Veteran Member
Join Date: Jun 2010
Old 10-02-2012 , 09:15   Re: DeathRun XP & Level Mod
Reply With Quote #6

Update v0.0.3 [02-10-2012]
Code:
Optimize Others Bonus and Functions
__________________
ELO RATING SYSTEM - SQL [COMPLETE]
Quote:
Originally Posted by Liverwiz View Post
DDDRRRRAAAAMMMMAAAAA!!!???

Put this shit on pause while i go get some popcorn!!
quilhos is offline
necox
Member
Join Date: Feb 2008
Old 10-02-2012 , 09:33   Re: DeathRun XP & Level Mod
Reply With Quote #7

thanks
__________________
necox is offline
KillerMasa
Senior Member
Join Date: May 2012
Old 10-02-2012 , 10:09   Re: DeathRun XP & Level Mod
Reply With Quote #8

So good
KillerMasa is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 10-02-2012 , 11:02   Re: DeathRun XP & Level Mod
Reply With Quote #9

Sounds good

But one thing...
health_per_lvl
armor_per_lvl
damage_per_lvl

Do it have some new objective or is just to have more hp/armor/damage to kill one TT?
__________________
Jhob94 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-02-2012 , 11:38   Re: DeathRun XP & Level Mod
Reply With Quote #10

Following codes are not acceptable, please remove :

PHP Code:
    formatex(none[0], sizeof(none) -1""), formatex(none[1], sizeof(none) -1" ")
    
    if(!
equali(chatnone[0]) && !equali(chatnone[1])) 
PHP Code:
    while(eXP[iTarget] >= Levels[Level[iTarget]]) 
    { 
        
ColorChat(iTargetGREY"%s Congratulations, you've leveled! You are now level: ^4%i^3"szPrefixLevel[iTarget])
        
Level[iTarget] += 
    

    
    while(
eXP[iTarget] <= Levels[Level[iTarget]]) 
    { 
        
ColorChat(iTargetGREY"%s Oh No, you've lost a level, you are now only level: ^4%i^3"szPrefixLevel[iTarget])
        
Level[iTarget] -= 1
    

__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode