BigBrotherBot / big-brother-bot

Big Brother Bot B3 is a complete and total server administration package for online games. B3 is designed primarily to keep your server free from the derelicts of online gaming, but offers more, much more.
http://www.bigbrotherbot.net
146 stars 143 forks source link

[iourt42] auth by pbid failed #162

Closed danielepantaleone closed 10 years ago

danielepantaleone commented 10 years ago
140120 18:06:30 DEBUG   'Urt42 Client Connected: [3] FakeName94 - THEGUIDOFTHEPLAYERWASHERE ({})'
140120 18:06:31 DEBUG   "Storage: getClientsMatching {'pbid': 'biobizz29'}"
140120 18:06:31 DEBUG   'Frozen Sand Account [biobizz29] unknown in database'
140120 18:06:31 DEBUG   'Storage: getClient Client42<@0:THEGUIDOFTHEPLAYERWASHERE|fakename94:"FakeName94":3>'
140120 18:06:31 ERROR   u'Client has pbid but its not the same fakename94<> None'
140120 18:06:31 BOT     u'Client found in storage @7454, welcome back FakeName94 (FSA: None)'
140120 18:06:31 ERROR   u'Client has pbid but its not the same None <> fakename94'

I changed player GUID and AUTH login with fake ones but keeping the same pattern.

thomasleveil commented 10 years ago

What do you suggest ? Just giving a quick look at it, it seems to be a protection against changing the pbid value of a known user. Maybe this safeguard should be off in case the pbid in database is empty.

What is you view on this ?

danielepantaleone commented 10 years ago

I think the problem is quite bigger. I just checked the clients table of b3 and in the pbid column I can see only empty strings (assuming ppl unauthed) and None. I think the parser fails in retrieving the auth login or somehow it goes lost at a certain point

danielepantaleone commented 10 years ago

I'm still experiencing this issue: did anyone found a possible cause?

thomasleveil commented 10 years ago

nop I could not work on that

thomasleveil commented 10 years ago

@FenixXx how can one join a game server hosted on his home computer while having the Frozen Sand passport verified ? Is there a way to do this ?

danielepantaleone commented 10 years ago

No, there is no way to do that. If you start a server in public mode (dedicated 2) you will not be able to join from localhost (and I guess also from LAN environment since the auth server see only the external address. If you need a gameservers to do tests I can provide one for you.

thomasleveil commented 10 years ago

thx I'm all set up now and I'm able to reproduce the bug

thomasleveil commented 10 years ago

524dd1c14 fixes the 'None' issue 75b3b69d4 make the iourt42 parser able to read rcon auth-whois responses again

thomasleveil commented 10 years ago

'None' values will disappear and be replaced with the empty string or the Frozen Sand Account affected players once they reconnect.

Let me know if you can confirm the fix on a live server

danielepantaleone commented 10 years ago

Nice job. I will update my b3 and report the behavior in the next few days