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

TeamMoney


Post New Thread Reply   
 
Thread Tools Display Modes
Author
bl4nk
SourceMod Developer
Join Date: Jul 2007
Plugin ID:
327
Plugin Version:
1.0.3
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    1 
    Plugin Description:
    Add up all of a team's money and distribute it equally
    Old 03-23-2008 , 14:41   TeamMoney
    Reply With Quote #1

    TeamMoney
    Add up all of a team's money and distribute it equally.

    Plugin Based On:
    The original AMXX Team Money plugin by Cheap_Suit (found here).

    CVars:
    sm_teammoney_enable
    • 0 = Disable the plugin
    • 1 = Enable the plugin
    Changelog:
    • 1.0.0
      • Initial release
    • 1.0.1
      • Fixed plugin checking for client 0 on round start.
    • 1.0.2
      • Fixed another occurance of the problem fixed in 1.0.1.
    • 1.0.3
      • Fixed a final small bug.
    Attached Files
    File Type: sp Get Plugin or Get Source (teammoney.sp - 3304 views - 3.3 KB)

    Last edited by bl4nk; 03-25-2008 at 16:51.
    bl4nk is offline
    franzcis066
    Member
    Join Date: Nov 2007
    Old 03-24-2008 , 04:45   Re: TeamMoney
    Reply With Quote #2

    Yeah i still have this error
    Code:
    L 03/24/2008 - 16:52:09: [SM] Native "PrintToChat" reported: Client index 0 is invalid
    L 03/24/2008 - 16:52:09: [SM] Debug mode is not enabled for "Custom Plugins\teammoney.smx"
    L 03/24/2008 - 16:52:09: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 19 on
    franzcis066 is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 03-24-2008 , 06:26   Re: TeamMoney
    Reply With Quote #3

    Updated to Version 1.0.2
    bl4nk is offline
    franzcis066
    Member
    Join Date: Nov 2007
    Old 03-24-2008 , 06:41   Re: TeamMoney
    Reply With Quote #4

    Sorry dude..T_T
    Code:
    L 03/24/2008 - 18:52:23: [SM] Plugin encountered error 15: Array index is out of bounds
    L 03/24/2008 - 18:52:23: [SM] Debug mode is not enabled for "Custom Plugins\teammoney.smx"
    L 03/24/2008 - 18:52:23: [SM] To enable debug mode, edit plugin_settings.cfg, or type: sm plugins debug 19 on
    L 03/24/2008 - 18:52:56: Error log file session closed.
    franzcis066 is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 03-24-2008 , 12:31   Re: TeamMoney
    Reply With Quote #5

    Can you enable debug so I can see what line the problem is occuring on?
    bl4nk is offline
    franzcis066
    Member
    Join Date: Nov 2007
    Old 03-24-2008 , 19:52   Re: TeamMoney
    Reply With Quote #6

    The problem occurs every round start
    Code:
    L 03/25/2008 - 08:02:33: [SM] Plugin encountered error 15: Array index is out of bounds
    L 03/25/2008 - 08:02:33: [SM] Displaying call stack trace for plugin "Custom Plugins\teammoney.smx":
    L 03/25/2008 - 08:02:33: [SM]   [0]  Line 112, /home/groups/alliedmodders/forums/files/2/8/8/5/0/24826.attach::timer_RoundStart()
    franzcis066 is offline
    V0gelz
    Senior Member
    Join Date: Jun 2004
    Old 03-24-2008 , 20:01   Re: TeamMoney
    Reply With Quote #7

    you should try to compile the plugin with compile.exe that is included with sourcemod. I ones did the getplugin feature of the board and had the same error.
    __________________
    V0gelz is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 03-24-2008 , 20:11   Re: TeamMoney
    Reply With Quote #8

    V0gelz: That's a problem that the server reports, not what the compiler reports.

    franzcis066: Thanks for the line numbers, I'll check it out later.
    bl4nk is offline
    bl4nk
    SourceMod Developer
    Join Date: Jul 2007
    Old 03-24-2008 , 23:35   Re: TeamMoney
    Reply With Quote #9

    Try out the version attached to this post. I don't want to spam the change log for small things like this.
    Attached Files
    File Type: sp Get Plugin or Get Source (teammoney.sp - 1778 views - 3.3 KB)
    bl4nk is offline
    franzcis066
    Member
    Join Date: Nov 2007
    Old 03-25-2008 , 05:18   Re: TeamMoney
    Reply With Quote #10

    Tested and working.. You can make that file official now.. There's no more errors! Thanks! I hope someone approves this..
    franzcis066 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 04:51.


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