Server Help Forum Index Server Help
Community forums for Subgame, ASSS, and bots
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStatistics   RegisterRegister 
 ProfileProfile   Login to check your private messagesLogin to check your private messages   LoginLogin (SSL) 

Server Help | ASSS Wiki (0) | Shanky.com
Banned players on Catid's biller

 
Post new topic   Reply to topic Printable version
 View previous topic  Trying to run a friend's zone as a sec... Post :: Post Lan Ctf  View next topic  
Author Message
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Wed Jul 13, 2005 1:12 am    Post subject: Banned players on Catid's biller Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Wed Jul 13, 2005 1:24 am    Post subject: Reply to topic Reply with quote

The SSC biller used to allow people to enter, with the name "^Banned", too.

Ask Priit, he knows. sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Cerium
Server Help Squatter


Age:42
Gender:Gender:Male
Joined: Mar 05 2005
Posts: 807
Location: I will stab you.
Offline

PostPosted: Wed Jul 13, 2005 2:47 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List AIM Address
Spyed
Registered Spam Offender


Joined: Mar 21 2005
Posts: 824
Offline

PostPosted: Wed Jul 13, 2005 5:18 am    Post subject: Reply to topic Reply with quote

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 icon_smile.gif
Back to top
View users profile Send private message Add User to Ignore List Send email
A380
Novice


Age:60
Gender:Gender:Male
Joined: Mar 29 2005
Posts: 60
Offline

PostPosted: Wed Jul 13, 2005 5:26 am    Post subject: Reply to topic Reply with quote

It depends on the biller, like on the logs it writes SSU^banned
_________________
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address MSN Messenger
oer
Guest


Offline

PostPosted: Wed Jul 13, 2005 6:58 am    Post subject: Reply to topic Reply with quote

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:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Wed Jul 13, 2005 11:23 am    Post subject: Reply to topic Reply with quote

I just have ^banned on the obscene.txt on the server which I am pretty sure doesn't allow them on period. tongue.gif
_________________
Performance is often the art of cheating carefully. - James Gosling
Back to top
View users profile Send private message Add User to Ignore List
BDwinsAlt
Agurus's Posse


Age:34
Gender:Gender:Male
Joined: Jun 16 2003
Posts: 1145
Location: Alabama
Offline

PostPosted: Wed Jul 13, 2005 1:47 pm    Post subject: Reply to topic Reply with quote

Thats a good idea cypher icon_smile.gif
Everyone add ^banned to that list.
Back to top
View users profile Send private message Add User to Ignore List Send email Visit posters website AIM Address Yahoo Messenger MSN Messenger
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Wed Jul 13, 2005 8:16 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
CypherJF
I gargle nitroglycerin


Gender:Gender:Male
Joined: Aug 14 2003
Posts: 2582
Location: USA
Offline

PostPosted: Wed Jul 13, 2005 8:57 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Wed Jul 13, 2005 9:10 pm    Post subject: Reply to topic Reply with quote

Gtfo, that's what I started doing even before you wrote that post. icon_sad.gif

Just give me a minute, I try to put something helpful there. sa_tongue.gif
Back to top
View users profile Send private message Add User to Ignore List
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Wed Jul 13, 2005 9:49 pm    Post subject: Reply to topic Reply with quote

Can someone ban Quan?
Back to top
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Wed Jul 13, 2005 10:14 pm    Post subject: Reply to topic Reply with quote

Right, there we go.

Check the rpc.h file at line 639 and further.

You'll notice it handles bans like this:
Code: Show/Hide

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
View users profile Send private message Add User to Ignore List
Gravitron
VIE Vet


Age:43
Gender:Gender:Male
Joined: Aug 02 2002
Posts: 993
Location: Israel
Offline

PostPosted: Thu Jul 14, 2005 8:49 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address Yahoo Messenger MSN Messenger
Solo Ace
Yeah, I'm in touch with reality...we correspond from time to time.


Age:37
Gender:Gender:Male
Joined: Feb 06 2004
Posts: 2583
Location: The Netherlands
Offline

PostPosted: Thu Jul 14, 2005 8:45 pm    Post subject: Reply to topic Reply with quote

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. icon_smile.gif

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
View users profile Send private message Add User to Ignore List
Contempt+
Server Help Squatter


Age:36
Gender:Gender:Male
Joined: May 15 2005
Posts: 682
Location: Home
Offline

PostPosted: Thu Jul 14, 2005 11:19 pm    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address
Gravitron
VIE Vet


Age:43
Gender:Gender:Male
Joined: Aug 02 2002
Posts: 993
Location: Israel
Offline

PostPosted: Fri Jul 15, 2005 12:45 am    Post subject: Reply to topic Reply with quote

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
View users profile Send private message Add User to Ignore List Visit posters website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Server Help Forum Index -> General Questions All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
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
View online users | View Statistics | View Ignored List


Software by php BB © php BB Group
Server Load: 184 page(s) served in previous 5 minutes.

phpBB Created this page in 0.511844 seconds : 41 queries executed (92.5%): GZIP compression disabled