Page 1 of 1

Connection to Autohost ( SPADS)

Posted: 23 Sep 2009, 19:26
by FrConnection
Any player can connect to my autohost (SPADS) .


I have a routeur with 3 computers connected to the net. one is a ftp serveur and the computer for the autohost. the others are private.

The port 8440 to 8460 udp and tcp are open...

my spads.conf :

Code: Select all

# Lobby connection parameters
lobbyHost:taspringmaster.clan-sy.com
lobbyPort:8200
lobbyReconnectDelay:30
lobbyFollowRedirect:1
lobbyLogin:[MARS]Autohost
lobbyPassword:amatj1203

# Local network configuration

localLanIp:

autoHostPort:8455

# SPADS files
binDir:C:/SPADS
etcDir:C:/SPADS/etc
varDir:C:/SPADS/var
logDir:C:/SPADS/var/log

# AutoUpdate
autoUpdateRelease:stable
autoUpdateDelay:60
autoRestartForUpdate:whenEmpty
autoUpdateBinaries:yes

# Spring files
springServer:C:/SPADS/spring-dedicated.exe
springDataDir:C:\Spring
autoReloadArchivesMinDelay:30
autoLearnMaps:0

# Output flood protections
sendRecordPeriod:10
maxBytesSent:19000
maxLowPrioBytesSent:18000
maxChatMessageLength:1024
maxAutoHostMsgLength:240
promoteDelay:600

# Input flood protections
msgFloodAutoKick:7;7
msgFloodAutoBan:2;120;5
cmdFloodAutoIgnore:4;4;2
reCallVoteDelay:10
floodImmuneLevel:100

# Logging system
lobbyInterfaceLogLevel:4
autoHostInterfaceLogLevel:4
updaterLogLevel:4
spadsLogLevel:4
logChanChat:0
logChanJoinLeave:0
logBattleChat:1
logBattleJoinLeave:1
logGameChat:1
logGameJoinLeave:1
logGameServerMsg:1
logPvChat:1

# Alert system
alertLevel:130
alertDelay:6
alertDuration:72

# Lobby channels
masterChannel:
opOnMasterChannel:0
promoteChannels:
promoteMsg:%pplayer(s) needed for battle "%b" [%o, %a] (%u)

# Default preset
defaultPreset:default
restoreDefaultPresetDelay:30

# Miscellaneous
autoLockClients:31
autoSaveBoxes:1
botsRank:3
voteTime:45
springieEmulation:on
dataDumpDelay:60
allowSettingsShortcut:1
colorSensitivity:55
kickBanDuration:120
minLevelForIpAddr:130
userDataRetention:0;0

[default]
description:Default SPADS settings

# Rotation
rotationType:map
rotationDelay:300
rotationEndGame:off|random|order
rotationEmpty:random|order|off

# Presets
preset:default
hostingPreset:default
battlePreset:default

# Maps
mapList:all
map:DeltaSiegeDry.smf
autoLoadMapPreset:0|1
hideMapPresets:0|1
allowGhostMaps:0|1

# Automatic features
autoCallvote:1
autoLockRunningBattle:0|1
autoLock:on|off|advanced
autoSpecExtraPlayers:1|0
autoStart:on|off|advanced
autoBalance:advanced|off|on
autoFixColors:advanced|off|on
autoBlockBalance:1|0
autoBlockColors:0|1
balanceMode:clan;rank|clan|rank|random
idShareMode:auto|manual|clan|all
nbPlayerById:1|2-4
teamSize:6|1-8
nbTeams:2|3-5
extraBox:0|1
minPlayers:2

# Bots and specs limits
maxBots:8|0-7
maxSpecs:|0-15

# Default preferences
autoSetVoteMode:1
voteMode:normal
votePvMsgDelay:0
voteRingDelay:0
minRingDelay:20
handleSuggestions:0
rankMode:account
shareId:

# Requirements for giving battle password
minRankForPasswd:0
minLevelForPasswd:0

# Miscellaneous
banList:empty
commandsFile:commands.conf
freeSettings:autoLock;teamSize;balanceMode
allowModOptionsValues:1|0
unlockSpecDelay:2;30
forwardLobbyToGame:1|0
welcomeMsg:Hi %u (%d), welcome to %n (SPADS %v, automated host). For help, say "!help". Map link: %a
welcomeMsgInGame:Hi %u (%d), welcome to %n (SPADS %v, automated host). Say "!status" for information about the current running game, and "!notify" to be notified when this game ends.
mapLink:http://spring.jobjol.nl/search_result.php?search=%m&select=select_all

the ip :

local :
192.168.0.10 : private
192.168.0.20 : private
192.168.0.30 : serveur
192.168.0.254 : box for the connection to the net

out :

88.167.21.181


Thank you for the help

Re: Connection to Autohost ( SPADS)

Posted: 23 Sep 2009, 19:44
by Auswaschbar
They are opened, but are they actually forwarded to you server?

Re: Connection to Autohost ( SPADS)

Posted: 23 Sep 2009, 20:10
by FrConnection
yes i think

lokk at the photo
routeur.JPG
port routeur
(57.37 KiB) Downloaded 22 times

Re: Connection to Autohost ( SPADS)

Posted: 23 Sep 2009, 20:50
by bibim
What is the value of your "port" hosting setting ? (in hostingPresets.conf)

Re: Connection to Autohost ( SPADS)

Posted: 24 Sep 2009, 00:06
by FrConnection
thank you for your fasr reply but i have found the problem.

i had same ports opened for more computers :

8200 -> 192.168.0.10 -> 8200
8200 -> 192.168.0.20 -> 8200

so the routeur don't know which computer it has to choose and some ports was opened on tcp and udp ....

now
8200 (tcp), 8201 (udp) and 8452 (udp) opened for the serveur

spads.conf :

# Local network configuration
localLanIp:
autoHostPort:8454 ( dont know why 8452 dont works : no connection)

hostingPresets.conf :

[default]
description:Default hosting settings
battleName:SPADS (default settings)
modName:~Balanced\ Annihilation\ V\d+\.\d+
maxPlayers:16
minRank:0
natType:0
password:*
port:8452

a other question :

i dont understand how you add a admin on the serveur :

users.conf :

################################################################################
#
# Input fields description:
# -------------------------
#
# name: nickname of user (string)
# country: country code (2 letters)
# cpu: cpu speed in Mhz (integer)
# rank: rank in lobby (digit in range 0-6)
# access: lobby moderator flag (0 or 1)
# bot: bot flag (0 or 1)
# auth: authenticated (0 or 1)
#
# Output field description:
# -------------------------
#
# level: AutoHost access level for corresponding filter (integer)
#
# Note: Input field values starting with '~' are regular expressions
# ----
################################################################################

[MARS]Frconnection::::::|140
::::1::|110
:::6:::|70
:::5:::|60
:::4:::|50
:::3:::|40
:::2:::|30
:::1:::|20
:::0:::|10

########################

like this parameters :

words : number|number ...