Raised This Month: $32 Target: $400
 8% 

[CS:S\CS:GO GG] GunGame Assist Points


Post New Thread Reply   
 
Thread Tools Display Modes
Author
.:D3O:.Shutter
Junior Member
Join Date: Dec 2007
Plugin ID:
3089
Plugin Version:
2.0
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Earn points by getting kill assists and redeem them for GG Level Up or Respawn
    Unapprover:
    Reason for Unapproving:
    Author absent + not fixed error for months
    Old 07-15-2012 , 15:36   [CS:S\CS:GO GG] GunGame Assist Points
    Reply With Quote #1

    GG:SM Assist


    This mod was originally for GunGame Event Scripts. Ported to SourceMod. Complete re-write, In fact no source code was used from the original, or even looked at.

    This is my first plugin for SourceMod. So please post comments about my code.

    Assist points works like this:

    You earn points from a percentage of damage dealt to other players.
    You only earn these points if the player you damaged is not killed by you, for any other means of death points are rewarded.
    You can redeem points for a level using !redeem "sm_redeem" and !respawn "sm_respawn" to respawn.
    By default you can not redeem off of hegernade or knife, You may add additional weapons to the blacklist.
    A message is sent on player death to every player that did damage to the dead player, This message tells you how many points you earned, who died, and how many you have.
    Points only last per map round.

    for those unfamiliar with assist points we have it running on: 173.208.180.152:27015

    Plugin Dependencies: Gungame
    Plugin Version: 2.0

    Updates:

    Version 2.0:
    • Added !assist command that give you points info
    • used MaxClients in my for loops
    • Made enableding and dissableing of !respawn instant
    Attached Files
    File Type: sp Get Plugin or Get Source (gungame_assist.sp - 297 views - 8.7 KB)
    File Type: zip GG_Assist.zip (72.6 KB, 491 views)

    Last edited by RedSword; 11-14-2013 at 02:58. Reason: Updated to version 2.0 ; fb given
    .:D3O:.Shutter is offline
    MasterOfTheXP
    Veteran Member
    Join Date: Aug 2011
    Location: Cloudbank
    Old 07-15-2012 , 16:18   Re: [CS:S GG] GunGame Assist Points
    Reply With Quote #2

    You should probably mention that it requires colors.inc to compile. Also, instead of using MAXPLAYERS in for loops, use MaxClients, so it does less checks for players that'll always be unconnected/not players (MAXPLAYERS is 65, MaxClients is the actual max players value for the server)
    __________________
    Plugins / My Steam / TF2 Sandbox (plugin beta testing!)

    Last edited by MasterOfTheXP; 07-15-2012 at 16:19.
    MasterOfTheXP is offline
    .:D3O:.Shutter
    Junior Member
    Join Date: Dec 2007
    Old 12-09-2012 , 23:08   Re: [CS:S GG] GunGame Assist Points
    Reply With Quote #3

    Quote:
    Originally Posted by MasterOfTheXP View Post
    You should probably mention that it requires colors.inc to compile. Also, instead of using MAXPLAYERS in for loops, use MaxClients, so it does less checks for players that'll always be unconnected/not players (MAXPLAYERS is 65, MaxClients is the actual max players value for the server)
    I updated it to use MaxClients and added a few other features.
    .:D3O:.Shutter is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 11-14-2013 , 02:58   Re: [CS:S\CS:GO GG] GunGame Assist Points
    Reply With Quote #4

    Before I can approve (if you ever come back), please correct L93, as you could be copying a lot of a time a possibly lengthy string. (Liferegen + hegrenade gungame = not pretty in this scenario).

    Also, you need to add "sound/" in front of a sound for it to be downloaded by a client... you probably tested with it already in your client folder ? (I just re-tested)

    On a side note, you could correct your many typos (please reread yourself...) and remove FCVAR_NOTIFY as they are not useful (unless you state me otherwise) for the CVar you pointed out by that flag.

    Red
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work
    RedSword is offline
    PlasteR
    Senior Member
    Join Date: May 2011
    Location: Poland
    Old 11-19-2013 , 06:47   Re: [CS:S\CS:GO GG] GunGame Assist Points
    Reply With Quote #5

    Quote:
    L 11/18/2013 - 18:202: SourceMod error session started
    L 11/18/2013 - 18:202: Info (map "de_dust2") (file "errors_20131118.log")
    L 11/18/2013 - 18:202: [SM] Native "CloseHandle" reported: Handle b690493 is invalid (error 3)
    L 11/18/2013 - 18:202: [SM] Displaying call stack trace for plugin "gungame_assist.smx":
    L 11/18/2013 - 18:202: [SM] [0] Line 195, gungame_assist.sp::AssistMenuHandler()
    L 11/18/2013 - 18:22:29: Error log file session closed.
    CSGO: GunGame 1.2.15.0
    MetaMod:Source v1.10.0-devV, SourceMod v1.5.3-dev+3951
    __________________
    PlasteR is offline
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 11-19-2013 , 08:37   Re: [CS:S\CS:GO GG] GunGame Assist Points
    Reply With Quote #6

    Wow I overlooked this.

    From here :

    Quote:
    It is only necessary to close a menu handle on MenuAction_End. The MenuAction_End is done every time a menu is closed and no longer needed.
    You're doing on cancel and on select... o.o

    Red
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work
    RedSword is offline
    .:D3O:.Shutter
    Junior Member
    Join Date: Dec 2007
    Old 01-01-2014 , 17:09   Re: [CS:S\CS:GO GG] GunGame Assist Points
    Reply With Quote #7

    Hello Red,

    Thanks for the advice and help. I am going to look into applying these fixes.
    .:D3O:.Shutter is offline
    Jumpman
    Senior Member
    Join Date: Mar 2010
    Location: Denmark
    Old 04-04-2014 , 17:43   Re: [CS:S\CS:GO GG] GunGame Assist Points
    Reply With Quote #8

    I'm looking forward to that, i have 2 gungame server allready running this mod from ES but i am missing it to my csgo server so hope you come back :-)
    __________________
    [+35]Jumpman
    Jumpman is offline
    Reply


    Thread Tools
    Display Modes

    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 04:06.


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