Author |
Message |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Wed Jul 13, 2005 1:12 am Post subject: Banned players on Catid's biller |
 |
|
|
|
I've searched the forums plenty of times and didn't find my answer.
When you ban someone on the SSC biller, it won't let them enter the zone, or network. Instead it gives them a message when they try to enter.
On catid's biller, when the banned player tries to enter, he gets in, and his name is "^Banned" or what ever you change it to.
I was wondering if there is a way where you can have it where banned players on catid's biller can't enter the zone at all. So it stops them when the click "Join".
Any help is appriciated, thanks. _________________ SSE Network Administrator |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Wed Jul 13, 2005 1:24 am Post subject: |
 |
|
|
|
The SSC biller used to allow people to enter, with the name "^Banned", too.
Ask Priit, he knows.  |
|
Back to top |
|
 |
Cerium Server Help Squatter

Age:42 Gender: Joined: Mar 05 2005 Posts: 807 Location: I will stab you. Offline
|
Posted: Wed Jul 13, 2005 2:47 am Post subject: |
 |
|
|
|
Why would you want to? Allowing people to enter on a temp basis allows the server to update their info, incase theyre trying to dodge the ban. It also makes it harder for them to determine if theyve changed everything correctly, as the initial result will always be the same. _________________ There are 7 user(s) ignoring me right now. |
|
Back to top |
|
 |
Spyed Registered Spam Offender

Joined: Mar 21 2005 Posts: 824 Offline
|
Posted: Wed Jul 13, 2005 5:18 am Post subject: |
 |
|
|
|
I guess the only down side is that people can keep coming in as ^banned and that really does get annoying. But the good thing is that you can PM them with Ahahahah your banned.. and they cant do anything about it  |
|
Back to top |
|
 |
A380 Novice

Age:60 Gender: Joined: Mar 29 2005 Posts: 60 Offline
|
Posted: Wed Jul 13, 2005 5:26 am Post subject: |
 |
|
|
|
It depends on the biller, like on the logs it writes SSU^banned _________________
 |
|
Back to top |
|
 |
oer Guest
Offline
|
Posted: Wed Jul 13, 2005 6:58 am Post subject: |
 |
|
|
|
i got banned by shlazzer for no reason for a while from ssr then i was ^banned |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Wed Jul 13, 2005 11:23 am Post subject: |
 |
|
|
|
I just have ^banned on the obscene.txt on the server which I am pretty sure doesn't allow them on period.  _________________ Performance is often the art of cheating carefully. - James Gosling |
|
Back to top |
|
 |
BDwinsAlt Agurus's Posse

Age:34 Gender: Joined: Jun 16 2003 Posts: 1145 Location: Alabama Offline
|
Posted: Wed Jul 13, 2005 1:47 pm Post subject: |
 |
|
|
|
Thats a good idea cypher
Everyone add ^banned to that list. |
|
Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Wed Jul 13, 2005 8:16 pm Post subject: |
 |
|
|
|
Well, that's for the zone. It's a good idea, but I'd like to have it set for the enitre network without making an obscene.txt.
If I can find Priit, I'd ask. No idea where he's at. |
|
Back to top |
|
 |
CypherJF I gargle nitroglycerin

Gender: Joined: Aug 14 2003 Posts: 2582 Location: USA Offline
|
Posted: Wed Jul 13, 2005 8:57 pm Post subject: |
 |
|
|
|
All you need to do is tell the server to disconnect the player; that you'd need to know the biller protocol :/. Check the code to see where the existing biller code where it rejects a player from entering for w/e reason. |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Wed Jul 13, 2005 9:10 pm Post subject: |
 |
|
|
|
Gtfo, that's what I started doing even before you wrote that post.
Just give me a minute, I try to put something helpful there.  |
|
Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Wed Jul 13, 2005 9:49 pm Post subject: |
 |
|
|
|
Can someone ban Quan? |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Wed Jul 13, 2005 10:14 pm Post subject: |
 |
|
|
|
Right, there we go.
Check the rpc.h file at line 639 and further.
You'll notice it handles bans like this:
if (player exists)
{
if (player may not pass blocks AND is not banfreed)
{
if (player is banned)
{
// give the player the name ^Banned and kick him out after 15000ms
// Reply: PRMEANING_ENTER
// Then user->Kick(15000, ban->BanID, ban->BanID);
}
if (player has an invalid TZB)
{
// give the player the name ^Banned and kick him out after 15000ms
// Reply: PRMEANING_ENTER
// Then user->Kick(15000, ban->BanID, ban->BanID);
}
}
if (player has not connected in the last 90 days AND his password is still valid)
{
// let player enter
// Reply: PRMEANING_ENTER
}
else
{
// don't let player enter, let him know he entered an incorrect password
// Reply: PRMEANING_BADPW
}
}
else if (biller does not accept new users)
{
// don't let player enter, tell him the biller is not accepting new users
// Reply: PRMEANING_NONEW
}
else
{
if (player is banned)
{
// give the player the name ^Banned and kick him out after 15000ms
// Reply: PRMEANING_ENTER
// Then user->Kick(15000, ban->BanID, ban->BanID);
}
if (player has an invalid MachineID)
{
// give the player the name ^Banned and kick him out after 15000ms
// Reply: PRMEANING_ENTER
// Then user->Kick(15000, ban->BanID, ban->BanID);
}
if (player has an invalid TZB)
{
// give the player the name ^Banned and kick him out after 15000ms
// Reply: PRMEANING_ENTER
// Then user->Kick(15000, ban->BanID, ban->BanID);
}
if (player has not registered OR biller should not ask new users to consider registering)
{
// give the new user a registration form
// Reply: PRMEANING_REGFORM
}
else
{
// ask the new user to consider registering
// Reply: PRMEANING_ASK
}
} |
Meh, that took a while to write.
Anyway, of course you could do something like lower the delay before players are getting kicked (15000ms) to something like 0.
This will cause the biller to kick the player immediately, but I don't think that'd be the best way to do it.
The biller will "generate" a response to be sent to the player by using MakePlayerResponse(), I think you should change the "Meaning" part in the response.
When a player is getting banned it still allows the player to enter, this is done by sending PRMEANING_ENTER (= 0) in the response.
line 644 in rpc.h wrote: | MakePlayerResponse(buffer, // Destination buffer
PRMEANING_ENTER, // Meaning
GetLong(Packet->Message, 70), // PlayerID
"^Banned", // Player name
// ... |
Maybe you should send something else of these:
declares.h wrote: | enum Login_Params
{
PRMEANING_ENTER, // Implemented
PRMEANING_ASK, // Implemented
PRMEANING_BADPW, // Implemented
PRMEANING_IPBLOCK, // Implemented
PRMEANING_NONEW, // Implemented
PRMEANING_BADNAME, // Implemented
PRMEANING_REGFORM, // Implemented
PRMEANING_BUSY, // Implemented
PRMEANING_DEMO // Unused
}; |
I'd take PRMEANING_IPBLOCK which would come the closest to a ban warning, I presume.
Otherwise you could fool the player and make his client say the password is wrong, the biller isn't accepting new clients, the name is bad or that the server is busy.
I'd think you should comment the code that makes it attempt to kick the player off though, depending on what you take as .
And look! You could have some fun by letting the player enter with some stupid name if attempts to enter when he's banned. |
|
Back to top |
|
 |
Gravitron VIE Vet

Age:43 Gender: Joined: Aug 02 2002 Posts: 993 Location: Israel Offline
|
Posted: Thu Jul 14, 2005 8:49 am Post subject: |
 |
|
|
|
Contempt+ wrote: | Can someone ban Quan? |
Tell mine go boom to restore my moderator access and I'll see what can be done in this matter. |
|
Back to top |
|
 |
Solo Ace Yeah, I'm in touch with reality...we correspond from time to time.

Age:37 Gender: Joined: Feb 06 2004 Posts: 2583 Location: The Netherlands Offline
|
Posted: Thu Jul 14, 2005 8:45 pm Post subject: |
 |
|
|
|
I'm glad you don't have moderator access, someone who misses "his" moderator powers as bad as you do couldn't mean something good to these forums.
This community has enough "ban happy" people already, let's not help to make it worse.
MGB maybe was partially right in his post by telling me to "Give it time, and you'll be added to the list.", but if you wish to not accept this short expression of my partial opinion on your attitude here, go ahead and add me with a great feeling of maturity and victory.
I hope that sounds as stupid as I wanted it to do.
Contempt+, did you figure it out?
I haven't tested anything of this, I was just reading the code and trying to find out what it all did, so well I didn't know PRMEANING_IPBLOCK would give you problems.
Just a question for the people who know more about subgame/billers, why does sending PRMEANING_IPBLOCK as reply for a login request by a player ban the player and not allow him to login anymore?
Even if the biller is disconnected, subgame still remembers the ban info?
That's what I think after the problems Contempt+ had with it, but if it works like that, how long will subgame remember the IP ban? Until the ban expires? Until subgame is connected to the biller again and can query the biller for how to handle the ban again? |
|
Back to top |
|
 |
Contempt+ Server Help Squatter
Age:36 Gender: Joined: May 15 2005 Posts: 682 Location: Home Offline
|
Posted: Thu Jul 14, 2005 11:19 pm Post subject: |
 |
|
|
|
Well, it wasn't subgame that banned me. It was subbil. I guess I was doing it wrong. But I figured it all out. Thanks Solo |
|
Back to top |
|
 |
Gravitron VIE Vet

Age:43 Gender: Joined: Aug 02 2002 Posts: 993 Location: Israel Offline
|
Posted: Fri Jul 15, 2005 12:45 am Post subject: |
 |
|
|
|
Who said I miss it?
The only one I banned in this forum for the entire duration of my time as staff in it been myself. |
|
Back to top |
|
 |
|