In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsGame specific SupportUrban Terror (Moderator: MordyT)ClientUserInfo parsing
Pages: [1]   Go Down
  Print  
Author Topic: ClientUserInfo parsing  (Read 773 times) Bookmark and Share
Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 11
Offline Offline
WWW
« on: June 25, 2011, 11:34:34 AM »

Hi I hope this is in the right section

Note: First, I am using b3 1.5.0, I don't know if the new versions have fixes for iourt41.py, but I guess that I don't need a superior version at this moment. If you think that I need to upgrade please tell me.


Yesterday an admin in one of my servers noticed an issue with the !list command. Some of the clients are not being listed. This happened to me some time ago when the team parameter wasn't correctly parsed. I fixes it by hand, but now I can't figure the problem.  Maybe is a known issue and I am not aware?

I am trying to figure what is happening, and I got the next lines in my games.log file:

This is a client with a normal ClientUserInfo line after ClientConnect:


Code:
\ip\89.X.X.X:27960\challenge\-1525133728\qport\24777\protocol\68\name\pjong999\racered\2\raceblue\3\rate\25000\ut_timenudge\30\cg_rgb\128 128 128\cg_predictitems\0\cg_physics\1\gear\GNAORWA\snaps\20\model\sarge\headmodel\sarge\team_model\james\team_headmodel\*james\color1\4\color2\5\handicap\100\sex\male\cl_anonymous\0\teamtask\0\cl_guid\A00D287FC3B2860EE59C74FC69709B1B\weapmodes\00000110220000020002


And this, is a line of a client with problems:

Code:
\ip\83.68.211.160:27960\challenge\-307619170\qport\55683\protocol\68\name\Piolotre\rate\8000\cg_predictitems\0\cl_anonymous\0\sex\male\handicap\100\color2\5\color1\4\team_headmodel\*james\team_model\james\headmodel\sarge\model\sarge\snaps\20\teamtask\0\cl_guid\D3A6D73B0D5B41F824F3E137D053808A

After some time (Info changed) it turned to


Code:
\ip\83.68.211.160:27960\name\Piolotre\racered\2\raceblue\2\rate\8000\ut_timenudge\0\cg_rgb\128 128 128\cg_predictitems\0\cg_physics\1\gear\GMJOUAA\cl_anonymous\0\sex\male\handicap\100\color2\5\color1\4\team_headmodel\*james\team_model\james\headmodel\sarge\model\sarge\snaps\20\teamtask\0\cl_guid\D3A6D73B0D5B41F824F3E137D053808A\weapmodes\01000110220000020002

I suppose this happens when the client choose weapons and team.


I tried to take a look in the b3 code, but this seems to be an issue with UrT more than b3 or an event is expiring in the queue... I don't know u_u

What else can I give you to help me? The b3 log doesn't help because doesn't showed anything related to the player o_O Also it got deleted :S


Thanks in advance.
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3485
Online Online
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #1 on: June 25, 2011, 12:21:15 PM »

your game log and b3 log showing that player entering the server would be useful

Also if you can come up with steps to follow to reproduce the issue, that would be perfect.
Logged

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 11
Offline Offline
WWW
« Reply #2 on: June 25, 2011, 12:34:29 PM »

Hey Courgette

Well, the logs were wiped...  sorry, LOL

I have just the games.log section related to this playerBut probably is useless: http://pastebin.com/13Sx7CqR   (in pastebin because pastie isn't working for me at this moment)

About the b3 log, as I said didn't show anything about the player.

And about reproducing the issue? Sorry, I can't (this is the biggest problem) This happens randomly with some players.

Anyway I told to the same admin to try to catch another player out of the list, then I will take the logs.

Meanwhile, do you noticie something weird in that ClientUserInfo lines?


PS: Sorry for my English n_n
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3485
Online Online
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #3 on: June 25, 2011, 12:39:15 PM »

I'm not running any UrT server, so I did not notice any thing
Logged

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 11
Offline Offline
WWW
« Reply #4 on: June 25, 2011, 02:38:35 PM »

Ok man, I got one!

A fully documented case:

First, some notes:

- The player isn't listed, and also can't lookup by name.
- If I do directly a command over the client id, it works.
- And the most importante, this seems to be happening with idling clients (not completely sure).

Ok, let's see:

This was taken of a condump (seems that some characters dissapear):

First a !list
Code:
]!list
(SPEC) sskk: !list
console_tell: (b3): [pm] [24] zvordan.ro[It], [20] Thomas_VB, [21] sskk,
[22] XarlY, [1]
console_tell: (b3): [pm] >GrilloCantor, [0] BoaSnake, [3] TigreTonio, [2]
GallinaCiega, [5]
console_tell: (b3): [pm] >amelo, [4] Pangocciolo, [6] chl[AUT], [9] +R+,
[8] Soulfly666, [11]
console_tell: (b3): [pm] >Magoo, [10] Mac-F, [15] the5Tueur, [14] ermoss,
[17] Bourgaltroff, [1
console_tell: (b3): [pm] >BlackWolf, [19] furydivine

Then a \playerlist:

Code:
]\playerlist
Current players:
  0: [BoaSnake]
  1: [GrilloCantor]
  2: [GallinaCiega]
  3: [TigreTonio]
  4: [Pangocciolo]
  5: [amelo]
  6: [chl[AUT]]
  8: [Soulfly666]
  9: [+R+]
  10: [Mac-F]
  11: [Magoo]
  13: [HEHO]
  14: [ermoss]
  15: [the5Tueur]
  16: [BlackWolf]
  17: [Bourgaltroff]
  19: [furydivine]
  20: [Thomas_VB]
  21: [sskk]
  22: [XarlY]
  24: [zvordan.ro[It]]
End current player list.

The first 4 players are bots


As you can see the player #13, HEHO isn't on the list. This player was idling. According to the gamelog, he was playing, I don't know how much time, until he got idle (or reconnected, idk).


And a dumpuser

Code:
]dumpuser 13
userinfo
--------
ip                  X.X.X.X:27960
name                HEHO
racered             2
raceblue            2
rate                8000
ut_timenudge        0
cg_rgb              128 128 128
cg_predictitems     0
cg_physics          1
snaps               20
model               sarge
headmodel           sarge
team_model          james
team_headmodel      *james
color1              4
color2              5
handicap            100
sex                 male
cl_anonymous        0
gear                GIAARWA
teamtask            0
cl_guid             FBFDBF3ACAEBD1B41FDC84EBE444CCE7
weapmodes           00000111220000020002

Gamelog and B3 log:

http://pastebin.com/HVC5Qeq3

A screenshot

http://bit.ly/iTGgE2

ASIDE NOTE:
I tried to do a !rebuild and got another issue. The bots can't be found by name anymore. What happen? After a change map they were recognized again.


Thanks for your time n_n
« Last Edit: June 25, 2011, 02:44:22 PM by ipwnn00bs » Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3485
Online Online
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #5 on: June 25, 2011, 04:49:55 PM »

could you make sure your got the latest version of the bot (make a clean install) and also that you have the latest version of plugins.

Try to reproduce with no bot.
Logged

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 11
Offline Offline
WWW
« Reply #6 on: June 25, 2011, 04:52:36 PM »

Hmmm I don't get it, how with no bot? No b3? The problem is with b3 xD

And well, I think there is no need to update my b3 yet, but ok, I will do it in this days just to test.
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3485
Online Online
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #7 on: June 25, 2011, 04:54:52 PM »

no IA bot
Logged

Jr. Member
**
OS: Linux
Type: Owner dedicated server(s)
Gameservers: UrT
Posts: 11
Offline Offline
WWW
« Reply #8 on: June 25, 2011, 05:08:16 PM »

no IA bot

Got it
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal