Raised This Month: $32 Target: $400
 8% 

[CS:GO] Fully custom Bomb Site Limiter


Post New Thread Reply   
 
Thread Tools Display Modes
Danielej1
Senior Member
Join Date: Jul 2022
Location: Poland
Old 08-12-2022 , 13:57   Re: [CS:GO] Fully custom Bomb Site Limiter
Reply With Quote #11

Errors:
BombSiteLimiter.smx (Bomb Site Limiter based on AbNeR Map Restrictions): Could not connect to database bombsite_limiter in databases.cfg at following error:
[2005]: Unknown MySQL server host 'host' (22)


Have you database ?
Danielej1 is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 08-14-2022 , 04:48   Re: [CS:GO] Fully custom Bomb Site Limiter
Reply With Quote #12

Quote:
Originally Posted by Danielej1 View Post
Errors:
BombSiteLimiter.smx (Bomb Site Limiter based on AbNeR Map Restrictions): Could not connect to database bombsite_limiter in databases.cfg at following error:
[2005]: Unknown MySQL server host 'host' (22)


Have you database ?
I think you misconfigured it, that's a weird error for me to see.
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
Danielej1
Senior Member
Join Date: Jul 2022
Location: Poland
Old 08-16-2022 , 08:54   Re: [CS:GO] Fully custom Bomb Site Limiter
Reply With Quote #13

Quote:
Originally Posted by eyal282 View Post
I think you misconfigured it, that's a weird error for me to see.

this problem has now been fixed, it was caused by wrong data entered in the databases. but now I have a little question, how can I change this plugin to only block Site B? because I do not want it to be something else every round, only that there was a blockade on B
Danielej1 is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 08-16-2022 , 15:28   Re: [CS:GO] Fully custom Bomb Site Limiter
Reply With Quote #14

Quote:
Originally Posted by Danielej1 View Post
this problem has now been fixed, it was caused by wrong data entered in the databases. but now I have a little question, how can I change this plugin to only block Site B? because I do not want it to be something else every round, only that there was a blockade on B
Code:
public Action BombSiteLimiter_OnSitePicked(int& CurrentSite)
{
CurrentSite = 1
return Plugin_Changed;
}
Compile this plugin in addition to the main plugin
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334

Last edited by eyal282; 08-16-2022 at 15:45.
eyal282 is offline
Danielej1
Senior Member
Join Date: Jul 2022
Location: Poland
Old 08-17-2022 , 08:04   Re: [CS:GO] Fully custom Bomb Site Limiter
Reply With Quote #15

Quote:
Originally Posted by eyal282 View Post
Code:
public Action BombSiteLimiter_OnSitePicked(int& CurrentSite)
{
CurrentSite = 1
return Plugin_Changed;
}
Compile this plugin in addition to the main plugin

i don't know how i can doing additon to main plugin that i paste to BombSiteLimiter.sp your command and still don't work, maybe it will be easier if u send file ready me? sorry for english and i can't edit plugins.

Last edited by Danielej1; 08-17-2022 at 08:08.
Danielej1 is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 08-17-2022 , 10:38   Re: [CS:GO] Fully custom Bomb Site Limiter
Reply With Quote #16

Quote:
Originally Posted by Danielej1 View Post
i don't know how i can doing additon to main plugin that i paste to BombSiteLimiter.sp your command and still don't work, maybe it will be easier if u send file ready me? sorry for english and i can't edit plugins.
These files attached do not replace the original plugin, each corresponds to a given bomb site, and should obviously not be used if someone or myself makes a plugin that limits sites based on a config of maps, which is probably most desired.

Every external plugin that decides which site to pick completely nullifies the plugin's right to decide which site to pick

Edit: The cvars already allow you to limit a bomb site permanently, by giving it no right to exist with max players ( set minimum to 100, maximum to 100 + 1 )
Attached Files
File Type: sp Get Plugin or Get Source (BombSiteLimiter-AlwaysA.sp - 71 views - 108 Bytes)
File Type: sp Get Plugin or Get Source (BombSiteLimiter-AlwaysB.sp - 80 views - 108 Bytes)
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334

Last edited by eyal282; 08-19-2022 at 04:07.
eyal282 is offline
Danielej1
Senior Member
Join Date: Jul 2022
Location: Poland
Old 08-17-2022 , 11:11   Re: [CS:GO] Fully custom Bomb Site Limiter
Reply With Quote #17

Quote:
Originally Posted by eyal282 View Post
These files attached do not replace the original plugin, each corresponds to a given bomb site, and should obviously not be used if someone or myself makes a plugin that limits sites based on a config of maps, which is probably most desired.
Thanks you, That working
Danielej1 is offline
Danielej1
Senior Member
Join Date: Jul 2022
Location: Poland
Old 08-17-2022 , 17:33   Re: [CS:GO] Fully custom Bomb Site Limiter
Reply With Quote #18

Yeah i have problem with unlock site because i set in bombsitelimiter.cfg and sp max players to 3 to site b and a, so if are 4 players that site didn't unlock, have u idea? (sorry for posts delete)
Danielej1 is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 08-18-2022 , 03:51   Re: [CS:GO] Fully custom Bomb Site Limiter
Reply With Quote #19

Quote:
Originally Posted by Danielej1 View Post
Yeah i have problem with unlock site because i set in bombsitelimiter.cfg and sp max players to 3 to site b and a, so if are 4 players that site didn't unlock, have u idea? (sorry for posts delete)
This is too complicated for me to understand, talk to me on discord:


Eyal282#1334
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 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 17:52.


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