 |
Server Help Community forums for Subgame, ASSS, and bots
|
Author |
Message |
-Smong- Guest
Offline
|
Posted: Fri May 21, 2004 3:09 pm Post subject: logging in |
 |
|
|
|
I think asss should restrict multiple logins from the same macid/ip. It can be a per connectas option in global.conf, the default being 2 simultaneous logins from one person.
Also as a work around for a flaw in SSC biller, you should only be allowed to create 1 new account a day. So Asss would have to ignore the regform/demodata from users trying to make multiple alias.
Implementing these changes shouldn't effect legitimate users, but will hopefully deter disruptive players. |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Fri May 21, 2004 3:12 pm Post subject: |
 |
|
|
|
1 new account a day? Lol, hope you aren't setting up a lot of bots. I have legitamatly made 10 accounts in a day. Having to spread that 5 miniute task out over 10 days would truely suck.
As for the multiple logins, make the ability to do it a capability, again for the purposes of bots. Can't have a bot server and then only get to put one bot in the game. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
 |
-Smong- Guest
Offline
|
Posted: Fri May 21, 2004 3:20 pm Post subject: |
 |
|
|
|
The bots would connect through the VIE connectas anyway. Also go to a subgame2 zone if you want to make loads of new accounts. One more step for the would be disrupter, slowing them down.
I saw a load of spam accounts is HS today, I don't know if they were bots, or different people or the XP trick, but I didn't find it amusing. |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Fri May 21, 2004 10:46 pm Post subject: |
 |
|
|
|
I thought connectas was what distinguishes the different virtual servers in game? Doesn't the multipub module module use it to determine the default arena? |
|
Back to top |
|
 |
Qndre Server Help Squatter

Gender: Joined: Jan 25 2004 Posts: 295 Offline
|
Posted: Sat May 22, 2004 5:08 am Post subject: |
 |
|
|
|
Dr Brain wrote: | 1 new account a day? Lol, hope you aren't setting up a lot of bots. |
I don't think that BOTs send a registration form.  |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Sat May 22, 2004 8:22 am Post subject: |
 |
|
|
|
Qndre wrote: | I don't think that BOTs send a registration form.  |
MERV does, and mine certainly do. _________________ 4,691 irradiated haggis! |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Sat May 22, 2004 10:19 am Post subject: |
 |
|
|
|
Boy, it's a darn good thing Qndre isn't trying to write his own client, because he doesn't have a single clue about how subspace works... Oh, wait... |
|
Back to top |
|
 |
-Smong- Guest
Offline
|
Posted: Sat May 22, 2004 11:03 am Post subject: |
 |
|
|
|
You are right (both times), just make it a capability and hardcode the max simultaneous logins to 1 for all listen ports. It is too difficult to work out which port a player came in by, which is needed for a setting lookup.
--- /home/palm/cvs/asss/src/core.c 2004-05-08 00:22:09.000000000 +0000
+++ /home/palm/asss/src/core.c 2004-05-22 15:58:24.000000000 +0000
@@ -705,6 +705,10 @@
}
else if (IS_STANDARD(p))
{
+ Player *i;
+ Link *link;
+ int count;
+
struct S2CLoginResponse lr =
{ S2C_LOGINRESPONSE, 0, 134, 0, {0, 0, 0},
0, {0, 0, 0, 0, 0}, 0, 0, 0, {0, 0, 0, 0, 0, 0, 0, 0} };
@@ -738,6 +742,30 @@
lr.codechecksum = -1;
}
+ /* limit multiple connections from the same machine */
+ count = 0;
+ FOR_EACH_PLAYER(i) /* coming from a packet func, pd is already locked */
+ {
+ if (i->macid == p->macid)
+ count++;
+ }
+
+ if (count > 1 && capman && !capman->HasCapability(p, "multiplelogin"))
+ {
+ if (p->type == T_CONT)
+ {
+ lr.code = AUTH_CUSTOMTEXT;
+ strncpy(auth->customtext,
+ "You are already logged in",
+ sizeof(auth->customtext));
+ }
+ else
+ lr.code = AUTH_NONEWCONN;
+
+ lm->Log(L_DRIVEL, "<core> [pid=%d] login request denied: "
+ "multiple (%d) conn from same machine", p->pid, count);
+ }
+
if (lr.code == AUTH_CUSTOMTEXT)
{
if (p->type == T_CONT)
|
|
|
Back to top |
|
 |
|
|
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
Software by php BB © php BB Group Server Load: 31 page(s) served in previous 5 minutes.
|