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

[TF2] MvM Cash Regen


Post New Thread Reply   
 
Thread Tools Display Modes
trafsta
New Member
Join Date: Dec 2013
Old 12-28-2013 , 15:04   Re: [TF2] MvM Cash Regen
Reply With Quote #21

I am unable to get this plugin to work under SM 1.5.2. Is the request above my post accurate in that this plugin needs to be updated to run properly under SM 1.5.x?

Edit: Nevermind, seems to work on certain maps without an issue, but on others it does not. Will look into it more in the future... could just be an ID10T error on my part...

Last edited by trafsta; 12-28-2013 at 15:27.
trafsta is offline
Otter
Member
Join Date: Apr 2013
Location: OnClientConnect()
Old 03-06-2014 , 16:00   Re: [TF2] MvM Cash Regen
Reply With Quote #22

I don't know if this post is being maintained anymore, and sorry for bumping old post, but I wanted to know if anyone else was aware of the issue with this plugin's behavior after losing an MVM wave. When the money is subtracted after losing a wave, it goes below what it was when the wave was started. Sometimes this leaves players with a negative balance, but it always leaves them with less money before upgrades than they started with. Also, it continues to regenerate during the setup time and stops when the next wave is won. I have to use the Set Cash plugin to restore missing money, but that can only happen when an admin is online.
__________________
Remember there's a light at the end of the tunnel. But if that light has a horn, move your ass out the way.



My Steam Group My Forum RFC
Otter is offline
avi9526
Senior Member
Join Date: Apr 2013
Location: Ukraine
Old 03-09-2014 , 07:09   Re: [TF2] MvM Cash Regen
Reply With Quote #23

Quote:
Originally Posted by Otter View Post
I find easier to rewrite this plugin to work all time. Source code in attachment

P.S. negative money is not biggest problem - giving extra money sometimes cause «Net buffer overflow…» error, when player change class or wave lost. This seems to be the bug in TF2 itself…
Attached Files
File Type: sp Get Plugin or Get Source (cashregen.sp - 375 views - 4.9 KB)
__________________

Last edited by avi9526; 03-09-2014 at 07:10.
avi9526 is offline
Otter
Member
Join Date: Apr 2013
Location: OnClientConnect()
Old 03-09-2014 , 14:09   Re: [TF2] MvM Cash Regen
Reply With Quote #24

Yeah I have experienced the net buffer overflow sometimes but it usually only happens when money exceeds 10 grand. The negative money after a lost wave is more of a problem when my admins and I are not in the server, since players would have to wait until it regenerates enough money for them to buy things again.
__________________
Remember there's a light at the end of the tunnel. But if that light has a horn, move your ass out the way.



My Steam Group My Forum RFC
Otter is offline
eric0279
AlliedModders Donor
Join Date: May 2007
Old 04-03-2014 , 15:19   Re: [TF2] MvM Cash Regen
Reply With Quote #25

Your plugin doesn't work.... for no admin, cash regen doesn't work....

rcon sm_cashregen_time
Quote:
autokick is disabled for »Ðل« Sky.NET
"sm_cashregen_time" = "15" ( def. "20" ) min. 0.000000
- Time between cash regens
rcon sm_cashregen_amount
Quote:
"sm_cashregen_amount" = "25" ( def. "5" ) min. 0.000000 max. 1000.000000
- Amount of money generated per increment
rcon sm_who
Quote:
Name Username Admin access
1. »Ðل« Sky.NET none
2. TFBot none
3. (1)TFBot none
4. (2)TFBot none
5. (3)TFBot none
6. (4)TFBot none
7. (5)TFBot none
8. (6)TFBot none
9. (7)TFBot none
10. (TFBot none
11. (9)TFBot none
12. (10)TFBot none
13. (11)TFBot none
14. (12)TFBot none
15. (13)TFBot none
16. (14)TFBot none
17. (15)TFBot none
18. (16)TFBot none
19. (17)TFBot none
20. (1TFBot none
21. (19)TFBot none
22. (20)TFBot none
23. (21)TFBot none

rcon sm_cashregen_admins

Quote:
"sm_cashregen_admins" = "0" min. 0.000000 max. 1.000000
- Money regen for admins only
0 = Disabled
1 = Enabled
edit: Problem solved, correction plugin

Last edited by eric0279; 04-04-2014 at 11:24.
eric0279 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 02:42.


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