Giter VIP home page Giter VIP logo

Comments (12)

danielepantaleone avatar danielepantaleone commented on August 16, 2024

could you provide a b3 log showing this issue?

from big-brother-bot.

syrm avatar syrm commented on August 16, 2024

L 01/09/2014 - 19:19:12: "Grosdodo<6>" assisted killing "Grosgateau<4>"

from big-brother-bot.

danielepantaleone avatar danielepantaleone commented on August 16, 2024

A full b3 log please. If b3 doesn't detect Bots means that the parser is not working correctly. We would need to check why this is happening (if I'm correct)

from big-brother-bot.

syrm avatar syrm commented on August 16, 2024

You'll see nothing in the b3.log cause there is no line about the bot.
B3 think its a player.

from big-brother-bot.

danielepantaleone avatar danielepantaleone commented on August 16, 2024

That is exactly what I would need to check. The BOT is flagged as bot somewhere else but to understand where the problem is we need the more info you can provide. I'm not a CS:GO player so I can't check by myself

from big-brother-bot.

syrm avatar syrm commented on August 16, 2024

I can't give you a b3.log right now, but i have a console.log

hostname: Bouh
version : 1.31.6.1/13161 5506 secure
udp/ip  : 88.190.30.184:27015  (public ip: 88.190.30.184)
os      :  Linux
type    :  community dedicated
map     : de_dust
players : 1 humans, 0 bots (12/12 max) (not hibernating)

# userid name uniqueid connected ping loss state rate adr
#  2 1 "srm" STEAM_1:1:22488042 00:07 222 81 spawning 80000 92.102.242.28:27005
#end
L 01/09/2014 - 19:18:08: rcon from "92.102.242.28:56921": command "status"
PutClientInServer: no info_player_start on level
L 01/09/2014 - 19:18:10: "srm<2><STEAM_1:1:22488042><>" entered the game
CreateFragmentsFromFile: 'downloads/1ab72a88.dat' doesn't exist.
L 01/09/2014 - 19:18:14: "srm<2><STEAM_1:1:22488042><Unassigned>" triggered "clantag" (value "")
hostname: Bouh
version : 1.31.6.1/13161 5506 secure
udp/ip  : x:27015  (public ip: x)
os      :  Linux
type    :  community dedicated
map     : de_dust
players : 1 humans, 0 bots (12/12 max) (not hibernating)

# userid name uniqueid connected ping loss state rate adr
#  2 1 "srm" STEAM_1:1:22488042 00:12 113 84 active 80000 x:27005
#end
L 01/09/2014 - 19:18:14: rcon from "x:56921": command "status"
L 01/09/2014 - 19:18:20: "srm<2><STEAM_1:1:22488042>" switched from team <Unassigned> to <CT>
L 01/09/2014 - 19:18:20: "Grognon<3><BOT><>" connected, address "none"
L 01/09/2014 - 19:18:20: "Grognon<3><BOT>" switched from team <Unassigned> to <TERRORIST>
Game will not start until both teams have players.
L 01/09/2014 - 19:18:20: "Grognon<3><BOT><>" entered the game
L 01/09/2014 - 19:18:20: "Grosgateau<4><BOT><>" connected, address "none"
L 01/09/2014 - 19:18:20: "Grosgateau<4><BOT>" switched from team <Unassigned> to <TERRORIST>
Game will not start until both teams have players.
L 01/09/2014 - 19:18:20: "Grosgateau<4><BOT><>" entered the game
L 01/09/2014 - 19:18:20: "Toucostaud<5><BOT><>" connected, address "none"
L 01/09/2014 - 19:18:20: "Toucostaud<5><BOT>" switched from team <Unassigned> to <CT>
Game will not start until both teams have players.
L 01/09/2014 - 19:18:20: "Toucostaud<5><BOT><>" entered the game
L 01/09/2014 - 19:18:20: "srm<2><STEAM_1:1:22488042><CT>" triggered "clantag" (value "")
Game will not start until both teams have players.
L 01/09/2014 - 19:18:20: "Grosdodo<6><BOT><>" connected, address "none"
L 01/09/2014 - 19:18:20: "Grosdodo<6><BOT>" switched from team <Unassigned> to <CT>
L 01/09/2014 - 19:18:20: World triggered "Game_Commencing"
L 01/09/2014 - 19:18:20: "Grosdodo<6><BOT><>" entered the game
L 01/09/2014 - 19:18:20: "Toufripon<7><BOT><>" connected, address "none"
L 01/09/2014 - 19:18:20: "Toufripon<7><BOT>" switched from team <Unassigned> to <TERRORIST>
L 01/09/2014 - 19:18:20: "Toufripon<7><BOT><>" entered the game
L 01/09/2014 - 19:18:20: "Toudoux<8><BOT><>" connected, address "none"
L 01/09/2014 - 19:18:20: "Toudoux<8><BOT>" switched from team <Unassigned> to <TERRORIST>
L 01/09/2014 - 19:18:20: "Toudoux<8><BOT><>" entered the game
L 01/09/2014 - 19:18:20: "Groscopain<9><BOT><>" connected, address "none"
L 01/09/2014 - 19:18:20: "Groscopain<9><BOT>" switched from team <Unassigned> to <CT>
L 01/09/2014 - 19:18:20: "Groscopain<9><BOT><>" entered the game

from big-brother-bot.

syrm avatar syrm commented on August 16, 2024

The parser is correct :
is_bot = guid == "BOT"
if is_bot:
guid = None

But the condition is wrong in xlrstats :-)

from big-brother-bot.

danielepantaleone avatar danielepantaleone commented on August 16, 2024

I guess the problem is still in the parser. All the parsers should behave the same while flagging clients as bots. I'll push a fix on my fork in the next few minutes

from big-brother-bot.

danielepantaleone avatar danielepantaleone commented on August 16, 2024

Could you replace your csgo.py parser with this version and give it a try?
https://github.com/FenixXx/big-brother-bot/blob/bd8a2f6fc3730ba47d1ff5fcb085d9c557ae1946/b3/parsers/csgo.py

from big-brother-bot.

syrm avatar syrm commented on August 16, 2024

No you made a mistake.

        is_bot = guid == "BOT"
        if is_bot:
            guid = "BOT"

With this condition it's ok

from big-brother-bot.

danielepantaleone avatar danielepantaleone commented on August 16, 2024

Makes no sense. XLRstats plugin matches a sliced string (guid[:3]). After the is_bot condition in csgo.py parser guid is equal to "BOT". What I did is just to append the client id number to that string. Your solution it not correct because in this way there will be several players online (bots) with the very same guid (and this will probably generate some problems)

from big-brother-bot.

syrm avatar syrm commented on August 16, 2024

You're right.
Your patch is ok, i make a mistake with my test.
Sorry

from big-brother-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.