Author |
Message |
BDwinsAlt Agurus's Posse

Age:34 Gender: Joined: Jun 16 2003 Posts: 1145 Location: Alabama Offline
|
Posted: Sun Nov 27, 2005 8:42 pm Post subject: Biller:Auto kick IP-Range |
 |
|
|
|
On christmas i am getting a new computer and i have the Visual C++ cds and all. Im editing Catid's biller and leaving the credits to him. (Imagen that)
Anyways, i was wondering how to AutoKick someone when they enter if their ip starts With 162 (aka Quan Chi2)
My bot already does it, i thought it would be funny for my biller to do it too. |
|
Back to top |
|
 |
Muskrat Server Help Squatter

Age:38 Joined: Aug 24 2004 Posts: 829 Location: Swamp Offline
|
Posted: Sun Nov 27, 2005 9:26 pm Post subject: |
 |
|
|
|
There's several things wrong with your intentions, but if anyone's going to tell you how to do it, how does that help you improve as a human being? It would just be another "credits go to...". I suggest at least learning enough C to add in a few lines of code to do it. |
|
Back to top |
|
 |
Purge Episode I > Eposide III Jar-Jar is kool

Age:35 Gender: Joined: Sep 08 2004 Posts: 2019 Offline
|
Posted: Sun Nov 27, 2005 10:38 pm Post subject: |
 |
|
|
|
You know, other people's IP may start with 162 also... |
|
Back to top |
|
 |
Mine GO BOOM Hunch Hunch What What

Age:41 Gender: Joined: Aug 01 2002 Posts: 3615 Location: Las Vegas Offline
|
Posted: Sun Nov 27, 2005 10:46 pm Post subject: |
 |
|
|
|
if ((userIP & MASK) == (badIP & MASK)) then BAN
Where userIP is the connecting player's IP address, badIP is the full IP address of the bad user, and MASK is a subnet mask, such as 255.255.255.0 (which will cover the range xx.xx.xx.0 - xx.xx.xx.255). |
|
Back to top |
|
 |
SpecShip Guest
Offline
|
Posted: Mon Nov 28, 2005 12:23 am Post subject: |
 |
|
|
|
Shouldn't this be in another section, the coding one?
-Ex Gravitron |
|
Back to top |
|
 |
BDwinsAlt Agurus's Posse

Age:34 Gender: Joined: Jun 16 2003 Posts: 1145 Location: Alabama Offline
|
Posted: Mon Nov 28, 2005 7:49 am Post subject: |
 |
|
|
|
I think that is only for ASSS.
btw: Thanks guys.
purge: Sai Saici (Quan Chi2) is the only one i know who uses that 162.*.*.* ip. Were not exactly SSC so it won't matter. |
|
Back to top |
|
 |
Cyan~Fire I'll count you!

Age:37 Gender: Joined: Jul 14 2003 Posts: 4608 Location: A Dream Offline
|
Posted: Mon Nov 28, 2005 4:14 pm Post subject: |
 |
|
|
|
Well I'm sure at least the second byte doesn't change either. _________________ This help is informational only. No representation is made or warranty given as to its content. User assumes all risk of use. Cyan~Fire assumes no responsibility for any loss or delay resulting from such use.
Wise men STILL seek Him. |
|
Back to top |
|
 |
BDwinsAlt Agurus's Posse

Age:34 Gender: Joined: Jun 16 2003 Posts: 1145 Location: Alabama Offline
|
Posted: Mon Nov 28, 2005 5:48 pm Post subject: |
 |
|
|
|
I see it's useally a 162.83.*.* ip, so i'll block that. My bot already does that (even on the release to the public ).
Hey have you seen my Princessbot? she is a hooker. She says all kind of naughty things. It's hallarious. If you say "no" she's like "Are you gay or something?" |
|
Back to top |
|
 |
|