Raised This Month: $ Target: $400
 0% 

[CSGO Paying] Fix my Reserved Slots


Post New Thread Reply   
 
Thread Tools Display Modes
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 01-21-2014 , 20:25   Re: [CSGO Paying] Fix my Reserved Slots
Reply With Quote #31

Quote:
Originally Posted by taRik View Post
Like the delay wasn't working, nothing changed in the plugin for me, the bots joins right away.
Did you add

sm_csgobotquotafix_delay_enable "1"
sm_csgobotquotafix_delay "10" or "15"
sm_csgobotquotafix_enable "1"
sm_csgobotquotafix_quota "your bot quota"

To your server.cfg?
__________________
DoPe^ is offline
taRik
AlliedModders Donor
Join Date: Apr 2010
Old 01-21-2014 , 20:27   Re: [CSGO Paying] Fix my Reserved Slots
Reply With Quote #32

Quote:
Originally Posted by DoPe^ View Post
Did you add

sm_csgobotquotafix_delay_enable "1"
sm_csgobotquotafix_delay "10" or "15"
sm_csgobotquotafix_enable "1"
sm_csgobotquotafix_quota "your bot quota"

To your server.cfg?

Yeah just like that
taRik is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 01-21-2014 , 20:31   Re: [CSGO Paying] Fix my Reserved Slots
Reply With Quote #33

Quote:
Originally Posted by taRik View Post
Yeah just like that
Hmm, tried changing map? I did notice when I tested the plugin that on the first load the bots joined without delay, but after a mapchange they followed the delay.
__________________
DoPe^ is offline
taRik
AlliedModders Donor
Join Date: Apr 2010
Old 01-21-2014 , 20:32   Re: [CSGO Paying] Fix my Reserved Slots
Reply With Quote #34

Quote:
Originally Posted by DoPe^ View Post
Hmm, tried changing map? I did notice when I tested the plugin that on the first load the bots joined without delay, but after a mapchange they followed the delay.
I did a server restart

What are your settings in gamemode_casual?
taRik is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 01-21-2014 , 20:37   Re: [CSGO Paying] Fix my Reserved Slots
Reply With Quote #35

Well tbh, im not running csgo, tested it in css, but should be the same.
A server restart wont work, try do a mapchange instead.
That did the trick for me.
But i'll look more into it tomorrow.
I guess it could be because it also calculates how many bots there should be when a player joins a team.
So if someone does that within the delay has finished, the bots will join.
But do still try doing a mapchange.
__________________
DoPe^ is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 01-21-2014 , 20:45   Re: [CSGO Paying] Fix my Reserved Slots
Reply With Quote #36

nevermind
try this

edit:
or no 1 sec

edit2:
Alright here we go, try this one
Attached Files
File Type: sp Get Plugin or Get Source (sm_csgobotquotafix.sp - 97 views - 6.7 KB)
__________________

Last edited by DoPe^; 01-21-2014 at 20:56.
DoPe^ is offline
taRik
AlliedModders Donor
Join Date: Apr 2010
Old 01-21-2014 , 21:01   Re: [CSGO Paying] Fix my Reserved Slots
Reply With Quote #37

Quote:
Originally Posted by DoPe^ View Post
nevermind
try this

edit:
or no 1 sec

edit2:
Alright here we go, try this one
Ok I will try it give me some time
taRik is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 01-21-2014 , 21:04   Re: [CSGO Paying] Fix my Reserved Slots
Reply With Quote #38

Quote:
Originally Posted by taRik View Post
Ok I will try it give me some time
Cool
__________________
DoPe^ is offline
taRik
AlliedModders Donor
Join Date: Apr 2010
Old 01-22-2014 , 16:44   Re: [CSGO Paying] Fix my Reserved Slots
Reply With Quote #39

Quote:
Originally Posted by DoPe^ View Post
Cool
I put the plugin in, without the delay enabled just to make sure it works first, got this in my error logs:

L 01/22/2014 - 15:43:16: SourceMod error session started
L 01/22/2014 - 15:43:16: Info (map "sj_test_csgo_v1") (file "errors_20140122.log")
L 01/22/2014 - 15:43:16: [SM] Native "UnhookEvent" reported: Game event "player_team" has no active hook
L 01/22/2014 - 15:43:16: [SM] Displaying call stack trace for plugin "sm_csgobotquotafix.smx":
L 01/22/2014 - 15:43:16: [SM] [0] Line 221, /home/groups/alliedmodders/forums/files/4/0/1/7/5/129746.attach::OnMapEnd()
L 01/22/2014 - 15:43:16: Error log file session closed.
taRik is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 01-22-2014 , 16:49   Re: [CSGO Paying] Fix my Reserved Slots
Reply With Quote #40

Quote:
Originally Posted by taRik View Post
I put the plugin in, without the delay enabled just to make sure it works first, got this in my error logs:

L 01/22/2014 - 15:43:16: SourceMod error session started
L 01/22/2014 - 15:43:16: Info (map "sj_test_csgo_v1") (file "errors_20140122.log")
L 01/22/2014 - 15:43:16: [SM] Native "UnhookEvent" reported: Game event "player_team" has no active hook
L 01/22/2014 - 15:43:16: [SM] Displaying call stack trace for plugin "sm_csgobotquotafix.smx":
L 01/22/2014 - 15:43:16: [SM] [0] Line 221, /home/groups/alliedmodders/forums/files/4/0/1/7/5/129746.attach::OnMapEnd()
L 01/22/2014 - 15:43:16: Error log file session closed.
Yeah thats because it loads the player_team event in the delay.
So you will need to put a delay on untill if fix that.
I made this plugin specially for you, so there is really no need to disable the delay.
__________________

Last edited by DoPe^; 01-22-2014 at 16:51.
DoPe^ 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 20:32.


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