Raised This Month: $ Target: $400
 0% 

TeamBets 2.6 (Mani Conversion)


Post New Thread Reply   
 
Thread Tools Display Modes
DrLee
New Member
Join Date: Apr 2014
Location: Chicago
Old 05-06-2014 , 23:30   Re: TeamBets 2.6 (Mani Conversion)
Reply With Quote #171

Would there be any way to restrict betting after a certain amount of time?
DrLee is offline
VieuxGnome
Junior Member
Join Date: Jun 2014
Old 06-06-2014 , 21:33   Re: TeamBets 2.6 (Mani Conversion)
Reply With Quote #172

TeamBets 2.7.1 For CS:GO

http://www.sourcemod.net/compiler.php?go=dl&id=436199

Bugs resolved :
- Color
- Money has been set @ Round Start
- mp_MaxMoney can't be overlapped
Attached Files
File Type: sp Get Plugin or Get Source (teambets_csgo.sp - 1260 views - 11.9 KB)

Last edited by VieuxGnome; 06-06-2014 at 21:38. Reason: Source add
VieuxGnome is offline
Wilczek
AlliedModders Donor
Join Date: Oct 2012
Location: Poland
Old 06-12-2014 , 07:52   Re: TeamBets 2.6 (Mani Conversion)
Reply With Quote #173

@VieuxGnome:

Thanks for providing a fix. However, something's wrong with it. I can't reproduce the bug, but occasionally clients receive additional money even if they didn't bet or they had just connected before next round starts.

I tried to analyze plugin's code and I wonder how clients are stored in an array. Maybe if client X bets, then quit and player Y connects in X slot, he also get X's bet?

If so, maybe it would be better to create datapack on round_end event and then read it at the beginning of the new round? I tried to do it by myself, but I can't force SM to read datapack when event occurs :/
__________________
Wilczek is offline
nynCuKaH
Member
Join Date: Apr 2012
Location: void
Old 06-17-2014 , 17:42   Re: TeamBets 2.6 (Mani Conversion)
Reply With Quote #174

del.
__________________

Last edited by nynCuKaH; 06-17-2014 at 17:43.
nynCuKaH is offline
cono
Junior Member
Join Date: Jul 2014
Old 07-22-2014 , 13:17   Re: TeamBets 2.6 (Mani Conversion)
Reply With Quote #175

can someone please help me configure this script with !buylevel (for gungame).
My issue is that when i win a bet and spawn next round the money won dissapears.

this is the plugin: https://forums.alliedmods.net/showthread.php?t=134264

Last edited by cono; 07-22-2014 at 13:17.
cono is offline
diamond_jack
Junior Member
Join Date: Jul 2014
Old 08-01-2014 , 07:38   Re: TeamBets 2.6 (Mani Conversion)
Reply With Quote #176

It hide the chat trigger e.g. if I typed "bet t all" it doesn't show on the chat box, how do I make it show ? I'm not familiar with the sourcemod api, how do I change it on the source ?
diamond_jack is offline
cristi_ip
Senior Member
Join Date: Dec 2010
Location: Bucharest
Old 08-09-2014 , 06:21   Re: TeamBets 2.6 (Mani Conversion)
Reply With Quote #177

L 08/09/2014 - 13:09:46: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 08/09/2014 - 13:09:46: [SM] Native "PrintToChat" reported: Language phrase "Must Be On A Team To Vote" not found
L 08/09/2014 - 13:09:46: [SM] Displaying call stack trace for plugin "teambets_csgo.smx":
L 08/09/2014 - 13:09:46: [SM] [0] Line 177, /home/forums/content/files/2/4/9/9/5/5/134211.attach::Command_Say()

has anyone fixed the error?
cristi_ip is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 08-09-2014 , 06:35   Re: TeamBets 2.6 (Mani Conversion)
Reply With Quote #178

Quote:
Originally Posted by cristi_ip View Post
L 08/09/2014 - 13:09:46: [SM] Plugin encountered error 4: Invalid parameter or parameter type
L 08/09/2014 - 13:09:46: [SM] Native "PrintToChat" reported: Language phrase "Must Be On A Team To Vote" not found
L 08/09/2014 - 13:09:46: [SM] Displaying call stack trace for plugin "teambets_csgo.smx":
L 08/09/2014 - 13:09:46: [SM] [0] Line 177, /home/forums/content/files/2/4/9/9/5/5/134211.attach::Command_Say()

has anyone fixed the error?
Have you copied the translation file to the translations folder?
__________________
DoPe^ is offline
St00ne
Veteran Member
Join Date: Jan 2011
Location: Annecy - France
Old 08-22-2014 , 10:52   Re: TeamBets 2.6 (Mani Conversion)
Reply With Quote #179

Quote:
Originally Posted by Wilczek View Post
@VieuxGnome:

Thanks for providing a fix. However, something's wrong with it. I can't reproduce the bug, but occasionally clients receive additional money even if they didn't bet or they had just connected before next round starts.

I tried to analyze plugin's code and I wonder how clients are stored in an array. Maybe if client X bets, then quit and player Y connects in X slot, he also get X's bet?

If so, maybe it would be better to create datapack on round_end event and then read it at the beginning of the new round? I tried to do it by myself, but I can't force SM to read datapack when event occurs :/
Hi,
This bug can happen if a client index is used instead of a client userid. I might have a look after I try the plugin.
__________________

*** *** ***
-My plugins-
St00ne is offline
MsNs7
Member
Join Date: Oct 2012
Location: Greece
Old 11-01-2014 , 10:42   Re: TeamBets 2.6 (Mani Conversion)
Reply With Quote #180

Quote:
Originally Posted by St00ne View Post
Hi,
This bug can happen if a client index is used instead of a client userid. I might have a look after I try the plugin.
St00ne can you take care of this and provide a fully working with CS:GO version of this plugin? Please man, I really need this plugin. :/
__________________
Setti Steam Group
...you can achieve immortality, simply by doing one great thing...

Last edited by MsNs7; 11-02-2014 at 03:02.
MsNs7 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 22:29.


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