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

[CS:GO] BuyZone Simulator


Post New Thread Reply   
 
Thread Tools Display Modes
KawMAN
SourceMod Donor
Join Date: Sep 2007
Location: Cracov
Old 09-15-2012 , 13:10   Re: [CS:GO] BuyZone Simulator
Reply With Quote #11

Quote:
Originally Posted by Chaddcl0ps View Post
Works on my server, but sometimes the buy zone will only last for about half a second. I have to reload the plugin to get it to work again for the duration of the buy time.
Some errors in logs ? What is your config & mp_buytime ?

New version.

- Plugin can now work on all maps, set sm_bzsimulator to 2
- Fixed possibility to earlier buy time expire if previous round was quick
__________________

Last edited by KawMAN; 09-15-2012 at 13:11.
KawMAN is offline
Send a message via ICQ to KawMAN Send a message via Skype™ to KawMAN
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-15-2012 , 14:59  
Reply With Quote #12

Quote:
Originally Posted by KawMAN View Post
Some errors in logs ? What is your config & mp_buytime ?

New version.

- Plugin can now work on all maps, set sm_bzsimulator to 2
- Fixed possibility to earlier buy time expire if previous round was quick
Now figure out how to fix the use key opening the buy menu LOL unrelated i know
Doc-Holiday is offline
Ravonus
Junior Member
Join Date: Sep 2012
Old 09-16-2012 , 11:59   Re: [CS:GO] BuyZone Simulator
Reply With Quote #13

This only manages to get rid of buy zones on all maps now... and the maps without buy zones it still works on.
I turned the cvar to 2 and still same issue I can't buy on maps like de_dust.. but maps like de_bank work still

I even edited the .sp to change the defaults to 2 and this still did not work

I dunno what I am doing wrong
__________________
Need help with Go Dedicated server/ Hosting your own server / or web hosting. - Check my csclan site out I am posting everything I learn from my servers up there. ( I have 2 Home servers up and running )
Forums : http://www.8bitcs.com/phpBB3/index.php
Csgo servers : 8bitcs.com:27015 - 27013

Last edited by Ravonus; 09-16-2012 at 12:22.
Ravonus is offline
Ravonus
Junior Member
Join Date: Sep 2012
Old 09-17-2012 , 11:26   Re: [CS:GO] BuyZone Simulator
Reply With Quote #14

anyone know how to fix the issue I am having??
This could be very useful for a server I have up ><
__________________
Need help with Go Dedicated server/ Hosting your own server / or web hosting. - Check my csclan site out I am posting everything I learn from my servers up there. ( I have 2 Home servers up and running )
Forums : http://www.8bitcs.com/phpBB3/index.php
Csgo servers : 8bitcs.com:27015 - 27013
Ravonus is offline
KawMAN
SourceMod Donor
Join Date: Sep 2007
Location: Cracov
Old 09-19-2012 , 05:59   Re: [CS:GO] BuyZone Simulator
Reply With Quote #15

New version
- Fixes
- Added BLOCK_USEBUY compile switch, this may prevent buy menu showing when USE key is pressed

Quote:
Originally Posted by Ravonus View Post
This only manages to get rid of buy zones on all maps now... and the maps without buy zones it still works on.
I turned the cvar to 2 and still same issue I can't buy on maps like de_dust.. but maps like de_bank work still

I even edited the .sp to change the defaults to 2 and this still did not work

I dunno what I am doing wrong
Maybe fixed in 1.2.1
__________________
KawMAN is offline
Send a message via ICQ to KawMAN Send a message via Skype™ to KawMAN
Sheepdude
SourceMod Donor
Join Date: Aug 2012
Location: Chicago
Old 09-20-2012 , 01:33   Re: [CS:GO] BuyZone Simulator
Reply With Quote #16

This is a beautiful plugin. It's exactly what I needed for my server, which is running both demolition and competitive with the option to switch. Disabling the use key from entering the buy menu is doubly amazing. KawMAN, you are a gentleman and a scholar.
Sheepdude is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-20-2012 , 11:52   Re: [CS:GO] BuyZone Simulator
Reply With Quote #17

Quote:
Originally Posted by kawman View Post
- added block_usebuy
bro i love you!!!!!

though it may work your if statement is off a bit
PHP Code:
#if BLOCK_USEBUY >= 1 //<--- True on values 1 - infinity
new MyButtons[MAXPLAYERS+1];
public 
SDKHook_hcPostThinkSetBuyZone(client) {
    if(
gCanBuy[client] && !(MyButtons[client] & IN_USE) ) {
        
SetEntProp(clientProp_Send"m_bInBuyZone"1);
    }
    
#if BLOCK_USEBUY >= 2 //<--- True on values 2 - infinity
    
if(MyButtons[client] & IN_USESetEntProp(clientProp_Send"m_bInBuyZone"0);
    
#endif 

Last edited by Doc-Holiday; 09-20-2012 at 11:55.
Doc-Holiday is offline
KawMAN
SourceMod Donor
Join Date: Sep 2007
Location: Cracov
Old 09-22-2012 , 14:12   Re: [CS:GO] BuyZone Simulator
Reply With Quote #18

I'm glad to hear that plugin is useful
Quote:
Originally Posted by Doc-Holiday View Post
though it may work your if statement is off a bit
well maybe its odd for You, but for me it's easiest way
__________________

Last edited by KawMAN; 09-22-2012 at 14:17.
KawMAN is offline
Send a message via ICQ to KawMAN Send a message via Skype™ to KawMAN
Sheepdude
SourceMod Donor
Join Date: Aug 2012
Location: Chicago
Old 09-22-2012 , 20:34   Re: [CS:GO] BuyZone Simulator
Reply With Quote #19

So, I do have a suggestion for an update. Say a map is meant to only have certain weapons (i.e. an awp map or a shotgun map), normally there is no buyzone for those maps, but this plugin adds them, and that may not be desired. Having a way to exclude specific maps from the buyzone simulator would be nice.

Last edited by Sheepdude; 09-22-2012 at 20:35.
Sheepdude is offline
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 09-22-2012 , 23:48  
Reply With Quote #20

Quote:
Originally Posted by Sheepdude View Post
So, I do have a suggestion for an update. Say a map is meant to only have certain weapons (i.e. an awp map or a shotgun map), normally there is no buyzone for those maps, but this plugin adds them, and that may not be desired. Having a way to exclude specific maps from the buyzone simulator would be nice.
Does sm support per map configs
Doc-Holiday 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 10:07.


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