lfnetwork.com mark read register faq members calendar

Thread: Baning IP Jedi Acadamey
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 11-22-2003, 02:34 AM   #1
Kamikaze Gerbil
 
Kamikaze Gerbil's Avatar
 
Join Date: May 2002
Location: Central Vally, CA USA
Posts: 10
Baning IP Jedi Acadamey

Ok I know for sure that addIP works for JA, as I have used it and users that would not get the hint, (Repetted kicks) do not return. The problem I am having is to get the bans more permenent.

Here is my server configureation:
// Server Config
seta sv_hostname "^1Psychotic^7 Petting^1 Zoo ^11.01"
seta g_motd "Visit us at: http://ppz.proboards16.com"
rconpassword "*"

// No touch.
seta com_HunkMegs "32"
seta sv_maxRate "8000"
sv_maxclients 20

// General Settings
sv_privateclients 2
sv_privatepassword "*"
sets "Admin" "Sith Moo/Kamikaze Gerbil"
sets "Admin E-Mail" "KamikazeG@Hotmail.com"
sets "Clan" "PPZ - Psychotic Petting Zoo"
seta dmflags "8"
seta sv_pure "1"
seta sv_floodProtect "1"
set timelimit "30"
seta g_minGameClients "2"
seta g_weaponDisable "524279" // Weapons Disabled
seta g_forcePowerDisable "163833" // Force Power Disabled
seta g_duelWeaponDisable "524279" // Duel Weapons Disabled
seta g_maxForceRank "7"
seta g_privateDuel "1"
seta g_saberLocking "1"
seta g_saberLockFactor "10"
seta g_slowmoDuelEnd "0"
seta g_forceRegenTime "125"
seta g_dismember "100"
seta g_siegeTeamSwitch "1"
seta g_allowvote "0"
seta fraglimit "0"
seta timelimit "30"
seta capturelimit "9"
seta duel_fraglimit "15"

// Saber Settings
seta g_saberDamageScale "1"
seta g_locationBasedDamage "1"
seta g_saberDamageScale ".75"

// Master server lists
seta sv_master5 ""
seta sv_master4 "masterjk3.ravensoft.com"
seta sv_master3 "master0.gamespy.com"
seta sv_master2 "clanservers.net"
seta sv_master1 "masterjk2.ravensoft.com"

// gametypes
seta g_gametype 0
// 0 = FFA
// 3 = DUEL one on one tournament
// 4 = POWER DUEL
// 6 = TEAM DEATHMATCH
// 7 = SIEGE
// 8 = CTF

//Map Rotation
set d1 "map mp/ffa1 ; set nextmap vstr d2"
set d2 "map mp/ffa2 ; set nextmap vstr d3"
set d3 "map mp/ffa3 ; set nextmap vstr d4"
set d4 "map mp/ffa4 ; set nextmap vstr d5"
set d5 "map mp/ffa5 ; set nextmap vstr d1"

// Ban Settings
exec BAN.cfg

// start the first map
vstr d1

Then my BAN.cfg:
seta g_filterBan "1"
// Begin Banned IP's List
addIP 211.49.221.203
addIP 68.3.140.216
addIP 66.203.228.216
addIP 67.161.243.68
// End Banned IP's List

Now so long as the server does not crash the bans I put in RCON stay but they don't stick if it does go down any tips?


Jedi Knight Jedi Academy: 209.216.233.94:29070
Kamikaze Gerbil is offline   you may: quote & reply,
Old 11-22-2003, 10:00 AM   #2
|GG|Carl
Invisible
 
|GG|Carl's Avatar
 
Join Date: May 2003
Posts: 1,175
Re: Baning IP Jedi Acadamey

Quote:
Originally posted by Kamikaze Gerbil

// Master server lists
seta sv_master5 ""
seta sv_master4 "masterjk3.ravensoft.com"
seta sv_master3 "master0.gamespy.com"
seta sv_master2 "clanservers.net"
seta sv_master1 "masterjk2.ravensoft.com"
This looks interesting! I wanna have that too! How to add it? Can I just copy it?
|GG|Carl is offline   you may: quote & reply,
Old 11-22-2003, 02:35 PM   #3
Amidala from Chop Shop
Politically-correct jerk
 
Join Date: Mar 2003
Location: In exile
Posts: 1,433
You shouldn't be losing the list of banned players with each server crash unless your host is resetting your server after the crash and wiping out your jampserver.cfg file. The problem with doing this:
Quote:
// Begin Banned IP's List
addIP 211.49.221.203
addIP 68.3.140.216
addIP 66.203.228.216
addIP 67.161.243.68
// End Banned IP's List
is if the list of banned IP addresses isn't cleared when the server crashes, it will create multiple entries of the same IP addresses, and fill up your g_banips cvar. Then you can't add any more IP addresses.

It's better to create a separate file on the server called banlist.cfg. Make a text file and rename it banlist.cfg. It should have entries like:

addIP 211.49.221.203 //player name, reason for banning
addIP 68.3.140.216 //player name, reason for banning
addIP 66.203.228.216 //player name, reason for banning
addIP 67.161.243.68 //player name, reason for banning

Update it every time you ban someone with /rcon addip. Then check your listip of banned IP addresses with /rcon listip after a server crash. If it is empty, just send /rcon exec banlist.cfg and the IP addresses will be re-entered.

Also, while this works, it's unnecessarily complicated:
Quote:
// gametypes
seta g_gametype 0

//Map Rotation
set d1 "map mp/ffa1 ; set nextmap vstr d2"
set d2 "map mp/ffa2 ; set nextmap vstr d3"
set d3 "map mp/ffa3 ; set nextmap vstr d4"
set d4 "map mp/ffa4 ; set nextmap vstr d5"
set d5 "map mp/ffa5 ; set nextmap vstr d1"

// start the first map
vstr d1
If all you want to do is play Free for All (FFA) and use the 5 standard maps in their default order, all you have to do is this:

seta g_gametype "0"
seta g_autoMapCycle "1"
map mp/ffa1

It does the same thing with 3 lines instead of 7.

Also, use one of your sv_masters to report to Qtracker:

seta sv_master5 "master.qtracker.com"


Last edited by Amidala from Chop Shop; 11-22-2003 at 11:48 PM.
Amidala from Chop Shop is offline   you may: quote & reply,
Old 11-22-2003, 10:16 PM   #4
Kamikaze Gerbil
 
Kamikaze Gerbil's Avatar
 
Join Date: May 2002
Location: Central Vally, CA USA
Posts: 10
Thanks for the pointers Amidala I will give it a shot.

Carl yeah all you should have to do is copy:

seta sv_master5 "master.qtracker.com"
seta sv_master4 "masterjk3.ravensoft.com"
seta sv_master3 "master0.gamespy.com"
seta sv_master2 "clanservers.net"
seta sv_master1 "masterjk2.ravensoft.com"

In to your server.cfg file or what ever you named it.


Jedi Knight Jedi Academy: 209.216.233.94:29070
Kamikaze Gerbil is offline   you may: quote & reply,
Old 11-23-2003, 11:49 AM   #5
|GG|Carl
Invisible
 
|GG|Carl's Avatar
 
Join Date: May 2003
Posts: 1,175
Ok! Thanks a lot!

|GG|Carl is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Help Center > Dedicated Server > Baning IP Jedi Acadamey

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:31 PM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.