BeepIsla / csgo-commend-bot

Commend/Report bot in NodeJS
GNU Affero General Public License v3.0
290 stars 145 forks source link

about autoReportOnMatchEnd #505

Open nanmuye opened 4 years ago

nanmuye commented 4 years ago

sometimes when match ended ,the process was also waiting.

BeepIsla commented 4 years ago

This needs more info. When does this happen? What match? Is this Wingman or Competitive? Why only "sometimes"?

It checks multiple times a second if the match is over and it worked perfectly fine for me.

nanmuye commented 4 years ago

It's useful in wingman when I played,(I haven't tested it in competitive,I will try later) “Sometimes ” means that I tested Rbot that I reported my friend I saw he was in Competitive,but when match ended,the process was waiting.I tested it 3 times(he played 3 times,I restarted bot 3 times),but it was always waiting.

nanmuye commented 4 years ago

Maybe it was because he shut it down immediately after the match ended?

nanmuye commented 4 years ago

or everyone left the match immediately?

BeepIsla commented 4 years ago

It should not wait when you leave, it should attempt to commend anyways. It works by checking if the player is currently assigned to a match, if they are: Wait. If they are not: Start reporting. If you leave or not does not matter.

pelasta commented 4 years ago

I don't think there is an issue with the script, tested it 100 times already with 0 issues. Thanks Beeplsla for this great project!

nanmuye commented 4 years ago

It should not wait when you leave, it should attempt to commend anyways. It works by checking if the player is currently assigned to a match, if they are: Wait. If they are not: Start reporting. If you leave or not does not matter.

I will try again later,I have another question ,if target in community server ,should I write server id in config instead of "auto"?

BeepIsla commented 4 years ago

I put everything on auto and it worked fine

BeepIsla commented 4 years ago

Are you perhaps running multiple instances of the bot at once with the same fetcher or is someone else logging in on the fetcher account causing it to get kicked out of its session? If the answer is yes: That's your problem.

nanmuye commented 4 years ago

Only I have it,fetcher bot is only in my config not in sql

BeepIsla commented 4 years ago

I overlooked this:

if target in community server ,should I write server id in config instead of "auto"?

It depends, if the server is full or the target does not have cl_join_advertise 2 set then you have to fill it in manually, otherwise the fetcher can get it for you

pelasta commented 4 years ago

I overlooked this:

if target in community server ,should I write server id in config instead of "auto"?

It depends, if the server is full or the target does not have cl_join_advertise 2 set then you have to fill it in manually, otherwise the fetcher can get it for you

Is there a way to improve how the fetcher works?, I have noticed that some LIVE matches (which I'm not joined in) cant fetch any data from. neither serverID nor matchID

BeepIsla commented 4 years ago

I never had any issues with it on Valve servers.

Andriuxas commented 4 years ago

"Report bot option to wait until Valve Matchmaking game has ended before reporting" - Where i need turn that feature cuz its not checking when i turn report bot it automatically reports when match not ended. Glitch or something?

BeepIsla commented 4 years ago

Look at the README and the example config, they explain everything. Specifically set autoReportOnMatchEnd to true.