|
Author Topic:   multiplayer
Scorp26
New Member
posted December 30, 2000 02:36 PM            
Can someone please tell me how to start a multiplayer game which allows others to join?? Also can you play over the internet against just one other person?? Thanx in advance...Happy New Year to all!!

IP:

Kaeto
Member
posted December 30, 2000 03:06 PM            
You have to start a dedicated server to do that if you want the server to show up in the server list. You can then play off the same machine and join your own game if you have a decently fast computer. Here's a sample dedicated.cfg that will allow what you want.
code:

#Tread Marks Dedicated Server config file.

#This must be set to 1.
DedicatedServer = 1

#Updates per second rate of the server. This should
#NOT be more than 10 for Internet Servers, unless
#you only want High Bandwiidth people playing. LAN
#servers can safely set the update rate up to 20.
#Note that this doesn't affect the FPS of the clients,
#only the rate that network update packets are sent.
DedicatedFPS = 10

#How many players can join (doesn't count Bots).
MaxClients = 2

#Time between Heartbeats to Masters, in seconds.
SendHeartbeats = 18

#Addresses of Master Servers to send Heartbeats to.
#There are no error messages if the Master addresses
#are wrong, so PLEASE check www.TreadMarks.com for
#the latest address(es) to use. Note that this is
#only required for Internet servers to be visible
#to everyone, LAN servers don't need to send heartbeats.

MasterServer0 = 216.101.212.117

#MasterServer1 = xxx.yyy.zzz.aaa
#MasterServer2 = xxx.yyy.zzz.aaa

#Please fill these in with your info!
ServerName = "Duel Server"
ServerInfo = "Frag with me! 1vs1"
ServerWebSite = "http://www.treadmarks.com/"

#Max bytes per second sent to each client.
ServerRate = 5000

#Time Limit in Minutes.
TimeLimit = 30

#Frag Limit.
FragLimit = 20

#Game mode, 1 for Deathmatch, 0 for Race.
Deathmatch = 1

#When running a Race server, as soon as the first human player
#crosses the finish line the CoolDownTime will start, during
#which time weapon fire isn't allowed, but the rest of the players
#will be able to finish the race and place if they can cross the
#finish line before the CoolDownTime is up. Since the race is
#only fair to players who are in at the start of the race,
#you should set the Laps to 1, and the StartDelay to at least 60,
#so that if a player joins in the middle of a race, they won't
#have to wait too long to start a new race with everyone else.

#Number of seconds to count down before the race or match starts.
#Set this to at least 60 for Race servers.
StartDelay = 60
#Seconds to show scores before switching levels. Should be at least 10.
#Set this to 60 or 120 for Race servers.
CoolDownTime = 20

#Number of laps in a Race mode game.
Laps = 1

#List of maps to run on the dedicated server, specify by file
#name or descriptive name. Specify no maps to run all maps.
#DediMap0 = "The Ramp"
#DediMap1 = "Scarab"

#Set to 1 for random maps, 0 for cycling maps.
RandomMaps = 1

#Port addresses. For firewalls or proxy servers, it's best to
#allow access on all ports from 12300 through 12499.
ServerPort = 12300
ClientPort = 12350
MasterPort = 12499

#Logging.
LogFileActive = 0
LogFileName = "dedicated.log"

#Number of AI bot tanks.
NumTanks = 0

#The skill level of the bots, between 0.0 and 1.0.
AISkill = 0.6

#The types of tanks allowed for bots, 0 is all, 1 is Steel, 2 is Liquid.
LimitTankTypes = 0

#Set this to 1 to enable people to join teams. If 0, no teams are allowed.
TeamPlay = 0

#Set this parameter (uncomment) if you want the AI tanks to be on a specific team only.
#Otherwise they will spread out evenly among all player teams.
#AITankTeam = Red

#Set this to 1 to use Team Scoring instead of individual scoring, if team play is on.
TeamScores = 0

#Set this to 1 to allow team members to kill each other (but it won't give frags).
TeamDamage = 0

#Set the following parameters (uncomment) if you want to limit players to being on
#a few specific teams only. Note, if AITankTeam is set, it can be different from
#one of the following teams, so you can have a Player vs. AI server.
Team0 = Gold
Team1 = Blue
#Team2 = etc., etc.


IP:

Random Chaos LDA
Member
posted December 31, 2000 02:27 PM            
What Kaeto said is correct for a dedicated server, however if you want a personal server that only people you know can connect to this is how to do it:

- Take a note of your IP address (StartMenu->Run->winipcfg) and give the person you want to join your game the IPNumber:12300 (the 12300 is the port TM runs on for multiplayer)
- Run the game normally and go to single player.
- Change the "Allow Joins" option to Yes in the map/game type selection screen. This will allow others on your LAN to see the server as well as other people that know the IP of your computer to connect to your game.

An alternative way:
- Run a dedicated server (as shown above), but to keep it from being visible to the world, add to the "MasterServer0" line by placing a # in front of it. This will prevent it from being in the list of internet servers.
- Run Tread Marks on top of your dedicated server (only do this if you have a 500MHz or higher processor or don't plan on letting more than 2 or 3 people join the game on under 500MHz). You should be able to connect to your own server.
- Others that need to connect will need to know your IP address as mentioned in the first method listed above.

The advantage of the second method is when you quit TM the server stays up. The advantage of the first method is it can be run on a lower speed CPU without problems. I have run TM with the same comp running both a dedicated server and the game quite successfully on a 900MHz system with up to 9 players on a LAN. I have done similar on a 400MHz system and not had problems...though I was not allowing others to join to it and had only one bot - thus reducing CPU load.

------------------
Random Chaos
Longbow Digital Arts
neym@longbowdigitalarts.com
------------------
Admin for theTerrain Deformation Site, Terrain Deformation Forum
Member of Clan Temporal Chaos and the Mining Guild

IP:

Scorp26
New Member
posted December 31, 2000 05:43 PM            
First off I want to thank you both very much...I was able to create a server and it worked great except that we were only able to do more than one race without having to go back in again. Also if I use the second appraoch what does the player at the other end have to do???....Thanx again guys you have helped me out a great deal...

IP:

Rex R
Member
posted January 01, 2001 02:06 AM            
well if you are into racing homelan #206 is a racing server. it is also not busy. every time I've looked it was unused. downside, you don't get to pick which map is used

IP:

JL
Member
posted January 01, 2001 11:40 AM            
The other person needs to go to multiplayer and manually type in your IP address.

IP: