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

[CSS] Reverse Cash Flow


Post New Thread Reply   
 
Thread Tools Display Modes
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 07-18-2011 , 07:39   Re: [CSS] Reverse Cash Flow
Reply With Quote #11

Even if I looked into this there's no guarantee that warmup system you're using is going to trip the right flags for this plugin to notice what's going on. Just a heads up that in that case you'd either have to pay for a private command to add in your warmup config or have the warmup plugin make it so their round_end triggers 'Round Draw' or 'Game Commencing.'
__________________
databomb is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 07-18-2011 , 23:55   Re: [CSS] Reverse Cash Flow
Reply With Quote #12

Version 1.0.3 posted.

This will set a players cash to whatever your mp_startmoney is the round following a "round draw" or "game commencing" message received from the game.
__________________
databomb is offline
Oreo0685
Junior Member
Join Date: Oct 2011
Old 08-05-2013 , 18:14   Re: [CSS] Reverse Cash Flow
Reply With Quote #13

This plugin doesn't work well with teambets http://forums.alliedmods.net/showthread.php?t=85914, If you win your bet and given money from that bet, the next round this plugin takes away the cash you won and gives you the standard amount.

Anyway to fix this?
Oreo0685 is offline
databomb
Veteran Member
Join Date: Jun 2009
Location: california
Old 08-05-2013 , 19:35   Re: [CSS] Reverse Cash Flow
Reply With Quote #14

Quote:
Originally Posted by Oreo0685 View Post
This plugin doesn't work well with teambets http://forums.alliedmods.net/showthread.php?t=85914, If you win your bet and given money from that bet, the next round this plugin takes away the cash you won and gives you the standard amount.

Anyway to fix this?
To be honest, the way this was done was quick and easy because I couldn't figure out the exact amount of money given under what circumstances. In the end, it won't be compatible with team bets for this reason.
__________________
databomb is offline
EMRandall13
Junior Member
Join Date: Sep 2016
Old 06-24-2019 , 16:39   Re: [CSS] Reverse Cash Flow
Reply With Quote #15

There seems to be a problem with the sp file, and I don't know exactly how to fix it. Here's the compiler's error report.

//SourceMod Batch Compiler
// by the SourceMod Dev Team


//// ReverseCashFlow.sp
//
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(62) : warning 234: symbol "FindSendPropOffs" is marked as deprecated: Use FindSendPropInfo instead, or HasEntProp if you just want to check for existence.
//
//
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(66) : error 088: cannot return a value from a void function
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(66) : warning 213: tag mismatch
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(71) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(72) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(72) : warning 213: tag mismatch
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(72) : warning 213: tag mismatch
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(73) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(73) : warning 213: tag mismatch
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(73) : warning 213: tag mismatch
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(74) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(74) : warning 213: tag mismatch
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(74) : warning 213: tag mismatch
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(75) : warning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this flag ever existed in a released game. It only ever appeared in the first hl2sdk.
//
//
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(75) : warning 213: tag mismatch
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(75) : warning 213: tag mismatch
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(86) : warning 217: loose indentation
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(59) : error 180: function return type differs from prototype. expected 'void', but got 'int'
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(185) : warning 213: tag mismatch
// C:\Users\scout\Desktop\CSSDedicat\css\cstrike \addons\sourcemod\scripting\ReverseCashFlow.s p(227) : warning 213: tag mismatch
EMRandall13 is offline
EMRandall13
Junior Member
Join Date: Sep 2016
Old 06-24-2019 , 17:10   Re: [CSS] Reverse Cash Flow
Reply With Quote #16

Good news. I was able to make it semi-work.

The only issue I can infer from the code, is that the smx file won't detect whether or not it's meant for other games. And that I have no idea on how to change the original parameters.
Attached Files
File Type: sp Get Plugin or Get Source (ReverseCashFlow.sp - 135 views - 7.8 KB)
File Type: smx ReverseCashFlow.smx (5.7 KB, 57 views)
EMRandall13 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 19:41.


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