AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   TeamMoney (https://forums.alliedmods.net/showthread.php?t=68838)

bl4nk 03-23-2008 14:41

TeamMoney
 
4 Attachment(s)
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.

franzcis066 03-24-2008 04:45

Re: TeamMoney
 
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


bl4nk 03-24-2008 06:26

Re: TeamMoney
 
Updated to Version 1.0.2

franzcis066 03-24-2008 06:41

Re: TeamMoney
 
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.


bl4nk 03-24-2008 12:31

Re: TeamMoney
 
Can you enable debug so I can see what line the problem is occuring on?

franzcis066 03-24-2008 19:52

Re: TeamMoney
 
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()


V0gelz 03-24-2008 20:01

Re: TeamMoney
 
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.

bl4nk 03-24-2008 20:11

Re: TeamMoney
 
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 03-24-2008 23:35

Re: TeamMoney
 
1 Attachment(s)
Try out the version attached to this post. I don't want to spam the change log for small things like this.

franzcis066 03-25-2008 05:18

Re: TeamMoney
 
Tested and working.. You can make that file official now.. There's no more errors! Thanks! I hope someone approves this..


All times are GMT -4. The time now is 00:35.

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