autoserver help
Moderator: Forum Moderators
- kovalainen
- Community User Level: 2

- Posts: 141
- Joined: Tue Sep 05, 2006 3:28 pm
- Contact:
autoserver help
i cant create an autoserver please help how to create autoserver.srv and autoserver.lck

Re: autoserver help
Just make new empty file and name it "autoserver.srv". You don't need to create the autoserver.lck file, the game will do that.kovalainen wrote:i cant create an autoserver please help how to create autoserver.srv and autoserver.lck![]()
![]()
![]()
![]()
![]()
![]()
![]()
oldschool slider <3 | Hengari @ Quakenet/IRCnet
sliderpoint
sliderpoint
- kovalainen
- Community User Level: 2

- Posts: 141
- Joined: Tue Sep 05, 2006 3:28 pm
- Contact:
some tips to get autoserver started: Sliderpoint: Mastering a server, Getting startedkovalainen wrote:how do u make empty file
oldschool slider <3 | Hengari @ Quakenet/IRCnet
sliderpoint
sliderpoint
- kovalainen
- Community User Level: 2

- Posts: 141
- Joined: Tue Sep 05, 2006 3:28 pm
- Contact:
- kovalainen
- Community User Level: 2

- Posts: 141
- Joined: Tue Sep 05, 2006 3:28 pm
- Contact:
You can set them in macros.ini using command /tracks /add "<trackname>"kovalainen wrote:there is 1 thing i gotta know. how do you choose the tracks and cars for a autoserver do you have to go in as admin and do it?????
Here you have an example (### {phrase} -> comments added by me):
Code: Select all
# This file can be used to define server macros in network games.
# You can define your own ini file with the command line
# option "-macros <yourmacros.ini>".
# The macros you define with Begin and End can be run with "/run Macro"
# The maximum number of macros is 100 and there can be 50 lines in a macro.
Begin Example
/say This is an example macro.
End
Begin ShowSettings
/tracks
/laps
/car
/ghostrace
/order
/points
End
# This macro is run every time a server is started (autoserver or normal).
# If you want to add remote admins (and understand the security risk),
# add lines like '/addadmin 127.0.0.1 HaRdPaSsWoRd' to the macro.
# Read README-autoserver.txt for more information.
Begin ServerStart
/info My Server! ### this is your server's name, shown in the serverslist
/adminmsg Hello! ### this is shown to players once they connect
/addadmin ALL password ### allows to EVERYONE to be admin using the password you set
End
# The following macros are automatically run in different
# situations when the server is in auto-server mode.
# ServerStart macro is run before any of them.
Begin Reg
/autotime /raceend 5 ### the race ends in 5 seconds (after everyone crossed the finishline)
/autotime /raceidle 100 ### if in 100 seconds noone ends the lap, then race ends
/autotime /car 10 ### server waits 10 seconds while players are choosing a car
/autotime /reg 20 ### server waits 20 seconds before starting the cup
/tracks /clear ### server deletes all selected tracks
/tracks /add "hg_Chillzpoint" ### server adds "hg_Chillzpoint"
/ghost 1 ### in this way you can decide to play ghost / 0 for normal race
/laps 10 ### 10 laps for race
/fixedcar 0 ### 0=no fixed car / 1=fixedcar (decide car with /car "carname") / 2=car randomly fixed)
/players 12 ### max players allowed in the server
End
Begin Cup
/autotime /cup 30 ### server waits 30 seconds before starting the next race
/say Are you ready? A new cup is starting! ### message written automatically by the autoserver
End
Begin RaceInit
/say Ready, set, GO! ### message written automatically by the autoserver
/autotime /raceinit 30 ### server waits 30 seconds before forcing the start of the race
End
Begin RaceEnd
/say Good race! ### message written automatically by the autoserver
End
Begin CupEnd
/say Server will restart in 10 seconds...
/autotime /cupend 10
End
- kovalainen
- Community User Level: 2

- Posts: 141
- Joined: Tue Sep 05, 2006 3:28 pm
- Contact:
lol
im so dum the macro file is the notepad file?
can someone write it out step by step lyk where do i put the command option

can someone write it out step by step lyk where do i put the command option
- kovalainen
- Community User Level: 2

- Posts: 141
- Joined: Tue Sep 05, 2006 3:28 pm
- Contact:
Re: lol
What do you mean? Just read the macro i posted beforekovalainen wrote:im so dum the macro file is the notepad file?
can someone write it out step by step lyk where do i put the command option![]()
![]()
![]()
![]()
![]()
![]()
- kovalainen
- Community User Level: 2

- Posts: 141
- Joined: Tue Sep 05, 2006 3:28 pm
- Contact:
mean
i mean where do u put all of this?????????? lol and do you have to use "-macros <yourmacros.ini>". for your own macros to work
Re: mean
macros.inikovalainen wrote:i mean where do u put all of this?????????? lol and do you have to use "-macros <yourmacros.ini>". for your own macros to work
You will find the same macros i wrote here (Example, ShowSettings, Reg, Cup, RaceInit, RaceEnd, CupEnd). These macros you'll find are the ones that you need for your autoserver: there is no need to create others. Just add the commands you need there!


