Comments (12)
could you provide a b3 log showing this issue?
from big-brother-bot.
L 01/09/2014 - 19:19:12: "Grosdodo<6>" assisted killing "Grosgateau<4>"
from big-brother-bot.
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.
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.
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.
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.
The parser is correct :
is_bot = guid == "BOT"
if is_bot:
guid = None
But the condition is wrong in xlrstats :-)
from big-brother-bot.
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.
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.
No you made a mistake.
is_bot = guid == "BOT"
if is_bot:
guid = "BOT"
With this condition it's ok
from big-brother-bot.
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.
You're right.
Your patch is ok, i make a mistake with my test.
Sorry
from big-brother-bot.
Related Issues (20)
- B3 Source Mod Plugin is back HOT 3
- redirect stdout crash with KeyError: \'admin\'\\n"' HOT 1
- DB conntion ERROR HOT 10
- Error: Could not parse line no such group HOT 13
- Changing colors HOT 4
- XLRStats Webfront V3 tab-content not loading HOT 1
- Not parsing dark blue (the ";" color code) in MW3
- DB connecting failed HOT 19
- ERROR 'Query failed [SELECT clients.time_edit, MAX(xlr_playerstats.skill) HOT 2
- No error but not working HOT 2
- XLRStats Webfront v3 issue HOT 2
- banlist_v2.dat HOT 1
- B3 on rented gameserver HOT 4
- b3.distribution.ini is the name of config file but b3 expects b3.ini by default HOT 3
- [WOP] Could not parse line no such group
- plugins not working for cod4x HOT 1
- b3 not working
- 'STDERR "ValueError: invalid literal for int() with base 10: \'senioradmin\'\\n"' HOT 1
- B3 Sending multiple messages HOT 4
- B3 Config Generator Web Files - Latest Hosted Somewhere?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from big-brother-bot.