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

Server Players


Post New Thread Reply   
 
Thread Tools Display Modes
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 08-24-2021 , 07:49   Re: Server Players
Reply With Quote #11

Quote:
Originally Posted by Natsheh View Post
You should've reset the variable g_iRoundNum on game commencing and on round restart. ( g_iRoundNum = 0 )
Thanks for the heads up, updated.

Quote:
Originally Posted by feren02 View Post
I initially tried the add and kick based on X Rounds. Nothing is happening in-game.

Compilation good. No errors in debug. It's just that nothing happens no bots are added.
Have u tried the first plugin? How are you kicking & adding bots in the first place? Are you using server console or a client command?
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
feren02
Senior Member
Join Date: Mar 2012
Old 08-24-2021 , 10:18   Re: Server Players
Reply With Quote #12

Quote:
Originally Posted by Napoleon_be View Post
Thanks for the heads up, updated.



Have u tried the first plugin? How are you kicking & adding bots in the first place? Are you using server console or a client command?
Not yet tried the first. But PER ROUND not working. I use server_cmd -- the yb kick and yb add etc is the bot command.

What can I do?
feren02 is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 08-24-2021 , 14:28   Re: Server Players
Reply With Quote #13

Quote:
Originally Posted by feren02 View Post
Not yet tried the first. But PER ROUND not working. I use server_cmd -- the yb kick and yb add etc is the bot command.

What can I do?
I added log messages to make sure every part of the code is reachable. Enable debug and post your logs AND/OR error logs.

Check post #4
__________________

Last edited by Napoleon_be; 08-24-2021 at 14:29.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
feren02
Senior Member
Join Date: Mar 2012
Old 08-25-2021 , 00:34   Re: Server Players
Reply With Quote #14

Quote:
Originally Posted by Napoleon_be View Post
I added log messages to make sure every part of the code is reachable. Enable debug and post your logs AND/OR error logs.

Check post #4
Hi, the commence restart
PHP Code:
log_amx("Variable succesfuly reset."); 
is seen on server logs, however the commands with kick and add bots are doing nothing but no errors and logs displayed.

Please help. Thank you!
feren02 is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 08-25-2021 , 08:30   Re: Server Players
Reply With Quote #15

Quote:
Originally Posted by feren02 View Post
Hi, the commence restart
PHP Code:
log_amx("Variable succesfuly reset."); 
is seen on server logs, however the commands with kick and add bots are doing nothing but no errors and logs displayed.

Please help. Thank you!
Can u try again please? Made a small change.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
feren02
Senior Member
Join Date: Mar 2012
Old 08-27-2021 , 10:26   Re: Server Players
Reply With Quote #16

Quote:
Originally Posted by Napoleon_be View Post
Can u try again please? Made a small change.
Same result bro. No errors good compilation... Nothing happens, tried other server commands, still nothing happens. This is the ROUND per se.

Looking forward.
feren02 is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 08-27-2021 , 14:04   Re: Server Players
Reply With Quote #17

Quote:
Originally Posted by feren02 View Post
Same result bro. No errors good compilation... Nothing happens, tried other server commands, still nothing happens. This is the ROUND per se.

Looking forward.
Try again, should be fixed. I forgot specifying a flag in the registering part.
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
feren02
Senior Member
Join Date: Mar 2012
Old 08-28-2021 , 04:25   Re: Server Players
Reply With Quote #18

Hi made it work, however the x ROUNDS per se are triggered every after round restart, all of them.

For example, case 2, case 10, case 15, it all triggers after a round restart and not during those specific round numbers.

Please help. Looking forward.
feren02 is offline
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 08-28-2021 , 08:19   Re: Server Players
Reply With Quote #19

Quote:
Originally Posted by feren02 View Post
Hi made it work, however the x ROUNDS per se are triggered every after round restart, all of them.

For example, case 2, case 10, case 15, it all triggers after a round restart and not during those specific round numbers.

Please help. Looking forward.
Could you perhaps give me some more information? Share the logs that i set in there, and tell me what's wrong with it. Also, i made a small change, u might wanna try again. If this doesn't work, i'm seperating the 2 events to see if the "Game_will_restart_in" is actually triggered.
__________________

Last edited by Napoleon_be; 08-28-2021 at 08:28.
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
feren02
Senior Member
Join Date: Mar 2012
Old 09-02-2021 , 03:16   Re: Server Players
Reply With Quote #20

Quote:
Originally Posted by Napoleon_be View Post
Could you perhaps give me some more information? Share the logs that i set in there, and tell me what's wrong with it. Also, i made a small change, u might wanna try again. If this doesn't work, i'm seperating the 2 events to see if the "Game_will_restart_in" is actually triggered.
Will try again today sorry late response.

The error I am pertaining is not a literal error.

For example round restarted, all the CASES are applied already.

e.g. c
case 2 (round2) - SHOULD APPLY IN ROUND 2
case 3 (round3) - SHOULD APPLY IN ROUND 3
case 4 (round4) - SHOULD APPLY IN ROUND 4

*** But what's happening is all cases applies at round2 which is case2***

Why is it? Looking forward.
feren02 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 04:27.


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