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 ForumsGeneral Usage Support (Moderator: MordyT)How !register works?
Pages: [1] 2   Go Down
  Print  
Author Topic: How !register works?  (Read 2490 times) Bookmark and Share
Jr. Member
**
Posts: 27
Offline Offline
« on: May 11, 2009, 01:38:16 AM »

Hello, i am new to b3 and server stuffs Lips sealed I was impressed by the abilities this bot could give to a server and i decided to give it a try. But i have not understood the way b3 recognize players. I have installed it to a private (yet) server and it seems to work fine.

I used xampp for creating a mysql database.

What is the purpose of !register command? Why not all the players have access regular members' commands (i am not asking HOW, i already know that, i'm asking WHY is this by default).

But my main question is: How B3 recognize players, and admins?? I mean, the welcome back messages. Does it only look the nickname? the first digits of ip? A combination of them? GUID? Btw, i don't know if it should be a non-changable number, but i think the number of my GUID changes from time to time (i read to wikipedia it has to do with architectural structure, is that correct? Huh ).
If now i've registered as admin, if another player with this nickname enter my server, will be the admin? Tongue

About admins: when the !iamgod command works?? Sometimes i had to set the rcon password to work, another time even if i set the rcon password,  it won't let me be admin (unrecognized command).

Oh, and something last: alliases group, what is exactly?

Help will be much appreciated Smiley I really want to learn more about this stuff.
Logged

Jr. Member
**
Posts: 27
Offline Offline
« Reply #1 on: May 11, 2009, 01:40:34 AM »

Oh i forgot to say that the server is for Urban Terror 4.1
Logged
B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #2 on: May 11, 2009, 04:29:02 AM »

It uses the GUID.

Iamgod only works when there are no other level 100s.

Aliases is the names your players have connected under.

!register means that players get placed into the 'user' usergroup, they are given access to certain commands and their stats are tracked.
It means that your database doesn't become cluttered with one-time users.

It recognises players through RCON.
Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #3 on: May 11, 2009, 05:33:26 AM »

It recognises players through RCON GUID.
Logged

B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #4 on: May 11, 2009, 07:23:39 AM »

Nono, what I ment was that it Identifies players through GUID, but it recognises them through the status command. That's what I meant.
Logged

Jr. Member
**
Posts: 30
Offline Offline
« Reply #5 on: May 11, 2009, 08:22:55 AM »

You don't get GUID's from status. You can get them either from dumpuser (rcon) or by reading the log when a client connects.
Logged
B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #6 on: May 11, 2009, 08:49:48 AM »

Fine, that's a cod thing then.

On CoD4, if you run /rcon status, you get the right details.
Logged

Jr. Member
**
Posts: 27
Offline Offline
« Reply #7 on: May 11, 2009, 10:09:51 AM »

Thanks for your responses. But when we say GUID..ok, what is GUID? Tongue Also GUID is not static, so if player connects some other time, then b3 won't identify him.
So even if a player register, how will b3 identify him, if his GUID has changes? Huh

Aliases is the names your players have connected under.
You mean it's a place where all nicknames that have "passed" from my server are stored?

Oh, something else: when i create a database with xampp, to users it's automatically created a WORLD record. Is it safe to delete it or it is used somewhere?
« Last Edit: May 11, 2009, 10:11:25 AM by floatergx » Logged
B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #8 on: May 11, 2009, 10:36:18 AM »

Ok, if your server IP stays the same, the GUID will not change.

Regarding aliases, yes.

The World client is the bot, basically. I wouldn't delete world.
Logged

Jr. Member
**
Posts: 27
Offline Offline
« Reply #9 on: May 11, 2009, 11:11:28 AM »

Hmm ok i got it, so with static ip of the server, GUID will remain the same for every user --but if this user changes his qkey the GUID will change, right?--. I think i read this somewhere to the ut forums.

Lastly, if two players have the same qkey, one of them will be forced to change it?
Logged
Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #10 on: May 11, 2009, 01:54:18 PM »

I assume we're talking about urban terror guid.
I've never tried what would happen if 2 players with the same qkey connect simultanously. Give it a try and report please.
Logged

Jr. Member
**
Posts: 30
Offline Offline
« Reply #11 on: May 11, 2009, 02:53:41 PM »

We have two users with same ip, identical physical hardware and a copied urban terror directory. Everything seems to work fine except one is an admin and the other isn't supposed to be. Both of them are on at once commonly and we have no issues other than the one could use admin rights if he wanted to.

Fine, that's a cod thing then.

On CoD4, if you run /rcon status, you get the right details.

I forget that b3 is used for games other than urban terror, my bad.
Logged
Jr. Member
**
Posts: 27
Offline Offline
« Reply #12 on: May 11, 2009, 04:03:28 PM »

I assume we're talking about urban terror guid.
I've never tried what would happen if 2 players with the same qkey connect simultanously. Give it a try and report please.
I will Smiley but tommorow cause i can't right now Tongue


Anyway, i think i am getting how GUID, !register and such work. Thank you all for your help, much appreciated.

I will keep strangers away from my qkey Cheesy

@thepoopsmith: I wander what will happen then, i will investigate further Cool
Logged
Jr. Member
**
Posts: 27
Offline Offline
« Reply #13 on: May 12, 2009, 06:19:18 AM »

I assume we're talking about urban terror guid.
I've never tried what would happen if 2 players with the same qkey connect simultanously. Give it a try and report please.
Hm ok it was piece of cake Cheesy I just started urban terror 2 times! It can be done without a problem. I went to the same server and connected even with the same nickname. The only thing that happened was to be added a number in front of the second nickname, when i connected to the server.

So.. qkey is not necessary to be unigue. But what are the possiblities to connect someone to a server with a guid exactly same as the admin's?
.............

A question: If i got it correctly, a user's GUID is different from server to server->because the algorithm that produces the GUID combines qkey, server's ip and maybe something else (normally static). Is this correct or i am dumb? Huh

If that is correct, then if a server for some reason must change its ip, then all the database (with users been recognized by the GUID number) will be practically useless?
Logged
Jr. Member
**
Posts: 30
Offline Offline
« Reply #14 on: May 12, 2009, 06:48:35 AM »

So.. qkey is not necessary to be unigue. But what are the possiblities to connect someone to a server with a guid exactly same as the admin's?

Same GUID as admin = admin rights. GUID is the way b3 identifies a client.

A question: If i got it correctly, a user's GUID is different from server to server->because the algorithm that produces the GUID combines qkey, server's ip and maybe something else (normally static). Is this correct or i am dumb?

Correct, your GUID for each server should always be the same on that server unless you change something.

If that is correct, then if a server for some reason must change its ip, then all the database (with users been recognized by the GUID number) will be practically useless?

Correct. Any time we move or add servers, I end up having to re-register each admin.
Logged
Tags:
Pages: [1] 2   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal