Setting up a LeagueAS Match

  • Hey - turns out IRC is out and something a little more modern has taken it's place... A little thing called Discord!

    Join our community @ https://discord.gg/JuaSzXBZrk for a pick-up game, or just to rekindle with fellow community members.

if the file
- is named start.txt
and
- placed in your UT/system directory

then it should be executed when u enter "exec start.txt" in your console.

note: in your ut/system dir.
the server doesn't have to have this file in its directory
the client where u type "exec start.txt" has to have the file
 
but when u have set up a server should the [locked- private] come up by it self or u have to write it ???same with "std as|"
 
those server-texts come by itself depending on whether a gamepassword is set or not ;)

It's a pity that LeagueAS is'nt able to work with the graphical MapVote3.02, cause the times get fucked up. Is there a way to use a graphical mapvote and leagueAS? :confused:
 
@Ase:

- admin set leagueasXXX.leagueassault bServerNameScore true/false

Indicates whether to append the match score to the server name. If no match is in progress it will display they value of PublicString if the server is not passworded and PrivateString if it is.

- admin set leagueasXXX.leagueassault bServerNameGameType true/false

Indicates whether to prefix the server name with StdAS (for 0% FF, normal weapons), ProAS (for 100$ FF, normal weapons) or iAS (for InstaGIB of InstaGIB Assault).

- admin set leagueasXXX.leagueassault PrivateString LOCKED - PRIVATE

To set a custom message.

- admin set leagueasXXX.leagueassault PublicString OPEN - PUBLIC

To set a custom message.


Copyright Infinitegames/leagueassault website :D
 
Originally posted by [Cratos]
It's a pity that LeagueAS is'nt able to work with the graphical MapVote3.02, cause the times get fucked up. Is there a way to use a graphical mapvote and leagueAS? :confused:
Try adding it to your servers serverpackages - worth a try if this reply aint too late :P

I also noticed Hardcore had put maxpausetime as 60, it should be 180 ideally. Thats 3mins not 1.
 
Another flaw in your files taki, sorry ;)
I think I already told you on icq...

Originally posted by Hardcore
i put the firstmapstarttime in again because sometimes that time was only 1minute - dunno why - so i put it in some more times :D

The problem is the file start.txt. It switches to the warmup then executes "admin startmatch" BUT, in fact, this command is executed in first place, then the server switches the map, it takes some time... Leagueas detects there has been a map change AFTER "admin startmatch"....
subsequentmapstartime = 60 :)

Oh well the explanation is crap, I hope u understood :P

To solve it place the warmup on the first file

admin servertravel <yourwarmupmap>.unr?game=leagueas135.leagueassault?mutator=

I use 2 txt files too, the 2nd file just sorts the passwords and does "admin startmatch"-"adminlogout"
 
would be nice if you could post all neccessary files (like i did) again.
some things have changed (and you have improved some) since i posted my files.
and as there is no more server for me to set up, i didn't keep up-to-date and same goes for my files.
 
Hmm this will be the longest post in the uta forums history... omw :D

Files you need:


=================================================
matchstdas.ini
=================================================


\\StdAS\\

admin set engine.gameinfo maxplayers 12
admin set LeagueAS135.LeagueAssault MaxTeamSize 6
admin set LeagueAS135.LeagueAssault maxplayers 12

admin set LeagueAS135.LeagueAssault bAdminNameScore True
admin set LeagueAS135.LeagueAssault bServerNameScore True
admin set LeagueAS135.LeagueAssault bServerNameGameType True
admin set LeagueAS135.LeagueAssault bStandardise True
admin set LeagueAS135.LeagueAssault MapsLeft 0
admin set LeagueAS135.LeagueAssault MatchLength 14
admin set LeagueAS135.LeagueAssault FirstMapStartTime 300
admin set LeagueAS135.LeagueAssault SubsequentMapStartTime 60
admin set LeagueAS135.LeagueAssault Netwait 300
admin set LeagueAS135.LeagueAssault bAutoPausing True
admin set LeagueAS135.LeagueAssault PauseLeadInOutTime 5
admin set LeagueAS135.LeagueAssault MaxPauseTime 180
admin set LeagueAS135.LeagueAssault MaxTeams 2

\\Rules\\

admin set LeagueAS135.LeagueAssault maxspectators 0
admin set LeagueAS135.LeagueAssault bplayersbalanceteams False
admin set LeagueAS135.LeagueAssault bForceRespawn True
admin set LeagueAS135.LeagueAssault bMultiWeaponStay True
admin set LeagueAS135.LeagueAssault bTournament True
admin set LeagueAS135.LeagueAssault FriendlyFireScale 0.000000

\\Settings\\

admin set LeagueAS135.LeagueAssault bHardCoreMode True
admin set LeagueAS135.LeagueAssault GameSpeed 1.000000
admin set LeagueAS135.LeagueAssault AirControl 0.350000
admin set LeagueAS135.LeagueAssault bUseTranslocator False

\\Teams names and passwords\\

admin set engine.gameinfo gamepassword UsualGamePassword
admin set engine.gameinfo adminpassword AnyTemporalAdminPassword
admin set LeagueAS135.LeagueAssault ModeratorPassword
admin set LeagueAS135.LeagueAssault MatchPasswordSpec

admin set LeagueAS135.LeagueAssault TeamNameRed -={G1mP}=-
admin set LeagueAS135.LeagueAssault TeamNameBlue >F4G<
admin set LeagueAS135.LeagueAssault MatchPasswordRed gimpspass
admin set LeagueAS135.LeagueAssault MatchPasswordBlue fagspass

\\Warmup\\

admin servertravel AS-Rook.unr?game=LeagueAS135.LeagueAssault?Mutator=


=================================================
matchstart.ini
=================================================


adminlogout
adminlogin AnyTemporalAdminPassword
admin set engine.gameinfo gamepassword AnyTemporalGamePassword
admin set engine.gameinfo adminpassword AdminPassDuringMatches
admin set LeagueAS135.LeagueAssault Netwait 60
admin startmatch
adminlogout


=================================================
matchend.ini
=================================================


adminlogin UsualAdminPassword
adminlogin AdminPassDuringMatches
adminlogin AnyTemporalAdminPassword

admin set engine.gameinfo maxplayers 12
admin set engine.gameinfo maxspectators 2
admin set engine.gameinfo gamepassword UsualGamePassword
admin set engine.gameinfo adminpassword UsualAdminPassword

admin set LeagueAS135.LeagueAssault bMatchMode False
admin set LeagueAS135.LeagueAssault bPracticeMode False
admin set LeagueAS135.LeagueAssault bStandardise True
admin set LeagueAS135.LeagueAssault bAdminNameScore True
admin set LeagueAS135.LeagueAssault MapsLeft 0
admin set LeagueAS135.LeagueAssault MatchLength 14
admin set LeagueAS135.LeagueAssault FirstMapStartTime 300
admin set LeagueAS135.LeagueAssault SubsequentMapStartTime 60
admin set LeagueAS135.LeagueAssault Netwait 20
admin set LeagueAS135.LeagueAssault bNoTeamChanges False
admin set LeagueAS135.LeagueAssault MaxTeams 2
admin set LeagueAS135.LeagueAssault GoalTeamScore 0.000000
admin set LeagueAS135.LeagueAssault MaxTeamSize 12
admin set LeagueAS135.LeagueAssault MaxCommanders 0
admin set LeagueAS135.LeagueAssault bNoMonsters False
admin set LeagueAS135.LeagueAssault bHumansOnly False
admin set LeagueAS135.LeagueAssault bCoopWeaponMode False
admin set LeagueAS135.LeagueAssault bClassicDeathMessages False
admin set LeagueAS135.LeagueAssault bAttackOnly False
admin set LeagueAS135.LeagueAssault bEnableCSHP True
admin set LeagueAS135.LeagueAssault bngStatsCompatibility True
admin set LeagueAS135.LeagueAssault bAuthorisePlayers False
admin set LeagueAS135.LeagueAssault bServerNameScore True
admin set LeagueAS135.LeagueAssault bAutoPausing True
admin set LeagueAS135.LeagueAssault PauseLeadInOutTime 5
admin set LeagueAS135.LeagueAssault MaxPauseTime 180
admin set LeagueAS135.LeagueAssault bServerNameGameType True
admin set LeagueAS135.LeagueAssault PrivateString LOCKED - PRIVATE
admin set LeagueAS135.LeagueAssault PublicString OPEN - PUBLIC

\\Rules\\

admin set LeagueAS135.LeagueAssault maxplayers 12
admin set LeagueAS135.LeagueAssault maxspectators 2
admin set LeagueAS135.LeagueAssault bplayersbalanceteams False
admin set LeagueAS135.LeagueAssault bForceRespawn True
admin set LeagueAS135.LeagueAssault bMultiWeaponStay True
admin set LeagueAS135.LeagueAssault bTournament False
admin set LeagueAS135.LeagueAssault FriendlyFireScale 0.000000

\\Settings\\

admin set LeagueAS135.LeagueAssault bHardCoreMode True
admin set LeagueAS135.LeagueAssault GameSpeed 1.000000
admin set LeagueAS135.LeagueAssault AirControl 0.350000
admin set LeagueAS135.LeagueAssault bUseTranslocator False

\\Teams names and passwords\\

admin set LeagueAS135.LeagueAssault TeamNameRed Red
admin set LeagueAS135.LeagueAssault TeamNameBlue Blue
admin set LeagueAS135.LeagueAssault MatchPasswordRed redpass
admin set LeagueAS135.LeagueAssault MatchPasswordBlue bluepass
admin set LeagueAS135.LeagueAssault ModeratorPassword UsualModeratorPassword
admin set LeagueAS135.LeagueAssault MatchPasswordSpec

admin endmatch
admin servertravel AS-Ballistic.unr?game=LeagueAS135.LeagueAssault?Mutator=


=================================================
matchproas.ini (matchstdas.ini with these changes)
=================================================


admin set engine.gameinfo maxplayers 8
admin set LeagueAS135.LeagueAssault MaxTeamSize 4
admin set LeagueAS135.LeagueAssault maxplayers 8

admin set LeagueAS135.LeagueAssault FriendlyFireScale 1.000000


=================================================
matchias.ini (matchstdas.ini with these changes)
=================================================


admin set engine.gameinfo maxplayers 8
admin set LeagueAS135.LeagueAssault MaxTeamSize 4
admin set LeagueAS135.LeagueAssault maxplayers 8

admin servertravel AS-Rook.unr?game=LeagueAS135.LeagueAssault?Mutator=LeagueAS-SP.iAS
 
Files you got:


matchstdas.ini
matchproas.ini
matchias.ini

matchstart.ini -> To be executed after one of the previous files. Starts the match countdown and sort the password to prevent loggin in accidentally during the match. Either if you got your UsualAdminPassword binded or you use console history and re-exec a file again it won't work :)

matchend.ini -> Finishes the match in progress and restart the server with default settings for practices.
CAUTION: This file does adminlogin either if it is AdminPassDuringMatches or your UsualAdminPassword!!!!
You can also use this file to setup the server for practice after being messing with settings / playing any other gamemode/mutator/map.


How it works:


- First edit one of the 3 first files depending on the kind of match you want to start. The lines you have to edit are on bottom of the file.
Set teamnames and team passwords here:

admin set LeagueAS135.LeagueAssault TeamNameRed -={G1mP}=-
admin set LeagueAS135.LeagueAssault TeamNameBlue >F4G<
admin set LeagueAS135.LeagueAssault MatchPasswordRed gimpspass
admin set LeagueAS135.LeagueAssault MatchPasswordBlue fagspass

Write the warmup map here:

admin servertravel AS-Rook.unr?game=LeagueAS135.LeagueAssault?Mutator=

- Join the server, type into console:

adminlogin UsualAdminPassword
exec matchxxxx.ini (xxxx=stdas, proas, ias)

Server will switch to the warmup map. It keeps your current gamepassword UsualGamePassword , so, it shouldn't ask you for password to join.
However admin password is changed to AnyTemporalAdminPassword, to make sure u can only exec matchstart.ini AFTER matchxxxx.ini
Server is NOT ready for match. Players cant join the server because team passwords are NOT working yet, team names are 'Red' and 'Blue' until you start the match.

Netwait is set to 300, this means, the server will wait up to 5 mins before start running the map. There is a reason, you CANNOT use "admin startmatch" if the server is playing a map. You have to do it within the Netwait time.

- You have 300 secs to exec the next file.

exec matchstart.ini

It will login as admin with the new temporal password (AnyTemporalAdminPassword ) start the match countdown (5 mins more) and change game and admin passwords to prevent unwanted logins and problems.

- Done. Ppl can join the server using their respective team passwords.

If you try to re-join now it will ask you for password too. UsualGamePassword is not working anymore. Gamepassword = AnyTemporalGamePassword . Type anything u want here. You will never use it.
If you enter a match using gamepassword instead of teampassword you could choose teams in your player configuration screen (not allowed to switch teams once you are in). It will be saved in your ini files, so, DON'T do it. Rejoin the server using your team password
Adminlogin is different too ( AdminPassDuringMatches ) . Keep it in mind just in the case u need to login to fix something.

- exec matchend.ini

to finish the match, set usual passwords and restart the server with practice settings :)
This file contains all the adminlogins ( UsualAdminPassword, AdminPassDuringMatches and AnyTemporalAdminPassword ) so u can use it ANYTIME to reset the server configuration for practice sessions.


Example:


Ok you are lazy &/or my english sucks. You didn't read the whole file / you didn't understand a word. Small abstract to start a stdas match:

- Edit the file matchstdas.ini. Write team passwords and names. Write the warmup map.
- Join the server

adminlogin UsualAdminPassword
exec matchstdas.ini

- Server switches to warmup map.

exec matchstart.ini

- (Optional but recommended) Rejoin the server using your team password.
- Play the match. Win it :P

exec matchend.ini


Notes:


- RC SERVER ADMIN IF U READ THIS PLZ: Once u sort the passwords, take the file matchend.ini, change this line:

admin set LeagueAS135.LeagueAssault bplayersbalanceteams True

and save it as public.ini :D
Balance teams is a pain for practices because it will distribute the players across the teams on every map change, but for public games its needed since there are players leaving/joining all the time and n00bs/lamers never balance teams :\
Thx :)

- I know some of the commands are redundant or unneeded. Starting a league match will standarize most settings.

- I can't set the maplist for a match using txt files yet. You need webadmin. I'm working on it although Phear says its not possible :(

- Don't you know how to sort the maplist? (chosen once or twice etc) Ask me :)

- Feel free to rename the files using names u like best, but I suggest you not to mess with the content, specially passwords. This passwords system is secure. Prevents accidental logins (adminlogin bind) or re-exec any file (console history). Its tested enough and its perfect. Don't worry, there won't be problems.
Anyway u can exec matchend.ini ANYTIME to reset the config, and it doesn't need to login as admin first.

- Do you want to learn more? Deeper explanation of commands? Again, click on my ICQ icon, feel free to ask me ;)

I've spent 1 hour typing this fs, hope it helps someone :D

\\Psy
 
Last edited:
jeez what a post!!

I hope i can understand what u all have have written down!! I'll make the best off it :)

btw an admintool is also a nice thing :nod:
 
Well, if u dont, just ask me ;)
You asked me for console commands? Eat that :D
I took my time to write all the instructions etc, at least take your time to write your passwords, test the files and let me know how it works.

First suggestion:
I would add this line to matchxxx.ini files

admin set uweb.webserver bEnabled False

and matchend.ini:

admin set uweb.webserver bEnabled True

It will disable webadmin access during matches (need a mapchange to make effect, but both files switch map in the end).
You dont want your clanm8s playing with webadmin during a match, do u? I think it might cause some lag too.

Any other idea / improvement would be appreciated, thx :)
 
Aye m8 but the fact is they dont balance :\
Without balance teams there are always the same players for red and blue, which usually means, the same team wins all the maps, the loser team tends to lose players... until 5vs2. Then these 2 players leave, the winner team leaves too, server is empty, game over :\
This is how your server dies every night.
 
one thing that is actually particularly nice about AS when it comes to teams is that they usually do get relatively mixed up between maps.. while TDM and CTF, you got the same team for 20 minutes
 
Originally posted by [Cratos]
It's a pity that LeagueAS is'nt able to work with the graphical MapVote3.02, cause the times get fucked up. Is there a way to use a graphical mapvote and leagueAS? :confused:

A late appendix @ mapvote:
Since the original BDBMapVote doesn't work with LeagueAS I've made my own little modification: BDBMapVote303LA04 works nice on DFP-Server atm :D
I know some people don't like it, some others do. I think it's nice to have the ability to vote for several custom-maps without force ppl to play them cause of the mapcycle.

@scripts:
you can replace all the "LeagueAS135.LeagueAssault" with just "LeagueAssault" so the script gets independend to the Version of LeagueAS (if there once will be a new Version....)
 
got a weird bug,
after setting up a leagues match, now server back to regular mod, but we need everytime to enter the password again to enter on server...
any solution?