Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

Baning IP Jedi Acadamey

Page: 1 of 1
 Kamikaze Gerbil
11-22-2003, 2:34 AM
#1
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?
 |GG|Carl
11-22-2003, 10:00 AM
#2
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!:D How to add it? Can I just copy it?
 Amidala from Chop Shop
11-22-2003, 2:35 PM
#3
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:// 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 Listis 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:
// 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"
 Kamikaze Gerbil
11-22-2003, 10:16 PM
#4
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.
 |GG|Carl
11-23-2003, 11:49 AM
#5
Ok! Thanks a lot!

:sbdance
Page: 1 of 1