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

TeamBets (Mani Bet Module Conversion)


Post New Thread Reply   
 
Thread Tools Display Modes
haderlump
Member
Join Date: Jun 2004
Location: ca
Old 09-17-2008 , 03:21   Re: TeamBets (Mani Bet Module Conversion)
Reply With Quote #71

yea, no, i totally get you
and THANK YOU for giving me the right /path for
that file...

that will hopefully get my plugin functioning and
then i'll do my best to see what the issue is.

i TOTALLY have binds for betting and i use a
little different quotations i think. heres the 4
binds i use from my own autoexec.cfg in my /cfg.
Code:
bind uparrow "say_team bet ct all"
bind downarrow "say_team bet t all"
bind rightarrow "say_team bet ct half"
bind leftarrow "say_team bet t half"
i agree that if i / we / someone cant workaround
this not seeing binds for bet calls, then i'm going
to a mattie script for bets.

OK, same issue here. the way this plug hooks in,
itwill not recognize bound betting.
makes it crippled in my opinion...

looks like we're going elsewhere.
im going to a mattie version because
i am going to attempt to add a 'viggorish'
to the bets as well as give less and less
money the fewer people (and fewer outcomes)
are left when you bet.
eg- there should be rewards for betting when theres
so many ppl left that its really more of a tossup.

what really needs to be done is a plugin that
compares health points of players' to determine
odds monies (out of my league on that though)

sorry, charlie - we're out of luck on the binds here
__________________
\/V olderguyz' US-central 16-man CS:S 100tic V\/
* FF+reflects * no-scope auto$nipes * FREE pistols! *
* 3-shot AWP! * Dust2's,etc * spawnflash punish *
Admin/reserve-slots to mature regulars- www.oldguyz.info
real-time HLstatsX @ www.uscss.info

Last edited by haderlump; 09-17-2008 at 04:42. Reason: yea, no go on binding with this one.
haderlump is offline
Send a message via Skype™ to haderlump
|GsX| GrimReaper
Senior Member
Join Date: Sep 2008
Old 10-03-2008 , 16:34   Re: TeamBets (Mani Bet Module Conversion)
Reply With Quote #72

DO NOT INSTALL THE FILES UPLOADED TO THIS POST

IF YOU ALREADY INSTALLED THEM, REINSTALL THE ORIGINAL ON THE FRONT PAGE

IT DID ALLOW BINDS TO WORK, BUT IT ALSO ALLOWS ANY FIRST WORD TO TRIGGER THE PLUGIN

e.g.

crap ct 1000

This will still bet. I'm working on rewriting some of this to see if I can make it work with binds better.
Attached Files
File Type: sp Get Plugin or Get Source (teambets.sp - 511 views - 9.4 KB)
File Type: smx teambets.smx (6.5 KB, 136 views)

Last edited by |GsX| GrimReaper; 10-20-2008 at 07:29. Reason: UNEXPECTED SIDE EFFECTS
|GsX| GrimReaper is offline
|GsX| GrimReaper
Senior Member
Join Date: Sep 2008
Old 10-09-2008 , 20:36   Re: TeamBets (Mani Bet Module Conversion)
Reply With Quote #73

Finally fixed the issue and all is working great. See below for the latest revision. I have contacted ferret to see if he will review my changes and update the entire thread. Otherwise, I will post it as a new plugin thread or something.

TODO:

I noticed it doesn't work with GunGame v4, since the nature of GG is to ignore money. However, when installing the buylevel plugin for GunGame v4, money is important. I intend to do some special coding to detect whether GG is installed, or better yet, whether buylevel is installed.
Attached Files
File Type: smx teambets.smx (6.6 KB, 126 views)
File Type: sp Get Plugin or Get Source (teambets.sp - 518 views - 9.6 KB)

Last edited by |GsX| GrimReaper; 10-09-2008 at 20:38. Reason: Forgot TODO list.
|GsX| GrimReaper is offline
|GsX| GrimReaper
Senior Member
Join Date: Sep 2008
Old 10-11-2008 , 19:57   Re: TeamBets (Mani Bet Module Conversion)
Reply With Quote #74

I have tried many things and it is not possible for ME to make SourceMod or MetaMod trigger coding from EventScripts.

GunGame !buylevel and pretty much any other money plugin uses it's own internal database to store each player's money amount. Without being able to add ES code to a SM plugin and get it to even compile, it is hopeless.


With that said, I have done what I would assume to be a FINAL revision, unless someone has issues or suggestions.

I have added the automatic creation and loading of a config file, which is located with the rest of the plugin configs in ../cstrike/cfg/sourcemod folder and it's called teambets.cfg, so enjoy.
Attached Files
File Type: smx teambets.smx (6.6 KB, 162 views)
File Type: sp Get Plugin or Get Source (teambets.sp - 583 views - 9.7 KB)
|GsX| GrimReaper is offline
Frettchen5
Member
Join Date: Oct 2008
Old 10-20-2008 , 04:38   Re: TeamBets (Mani Bet Module Conversion)
Reply With Quote #75

Is it possible to ad a Messagemode like

C A center message, like sm_csay.
H A hint message, like sm_hsay.
M A menu message, like sm_msay.
S A chat message, like sm_say.
With supportet colours?

I think a hint message is more clearly.
Frettchen5 is offline
KillerSneak
Member
Join Date: Feb 2008
Old 11-09-2008 , 11:28   Re: TeamBets (Mani Bet Module Conversion)
Reply With Quote #76

I can't get this plugin to run, Is there something I'm missing ?
KillerSneak is offline
mabu
Member
Join Date: Dec 2006
Old 11-10-2008 , 04:17   Re: TeamBets (Mani Bet Module Conversion)
Reply With Quote #77

please fix the trigger bug !

i just want to bind my keys to bet !
mabu is offline
KillerSneak
Member
Join Date: Feb 2008
Old 11-10-2008 , 06:25   Re: TeamBets (Mani Bet Module Conversion)
Reply With Quote #78

Please fix the whole plugin as It's not working for me at all.
KillerSneak is offline
KillerSneak
Member
Join Date: Feb 2008
Old 11-10-2008 , 19:35   Re: TeamBets (Mani Bet Module Conversion)
Reply With Quote #79

Code:
L 11/11/2008 - 01:39:17: [SM] Fatal error encountered parsing translation file "plugin.teambets.txt"
L 11/11/2008 - 01:39:17: [SM] Error (line 0, column 0): Stream failed to open
That's the error i get with the teambet's version on the frontpage
KillerSneak is offline
sessus
Senior Member
Join Date: May 2006
Old 11-11-2008 , 19:30   Re: TeamBets (Mani Bet Module Conversion)
Reply With Quote #80

So you didnt put the translation file into the translation folder when installing the plugin?
sessus 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 15:25.


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