Offline faf to not exit program upon match end?

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

Offline faf to not exit program upon match end?

Postby Zsombi » 25 Nov 2016, 17:45

I often have bad internet connection or just want to play with AIs for which I don't even start the FAF lobby, just start the game through the executable in the FAF folder on my system drive ( C ). However just like intended for FAF online matches, the program exits to the desktop after going through the score or just quitting the game or match setup lobby.

How can I stop it from doing that when manually started, or even better make it so that it returns to the match setup lobby?
Zsombi
Avatar-of-War
 
Posts: 73
Joined: 20 Feb 2013, 16:04
Location: Romania
Has liked: 4 times
Been liked: 3 times
FAF User Name: Zsombi

Re: Offline faf to not exit program upon match end?

Postby speed2 » 25 Nov 2016, 18:12

Well you can make a mod that over rides the exit behaviour.
User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: Offline faf to not exit program upon match end?

Postby Zsombi » 25 Nov 2016, 18:31

How? :(
Can you make one? .. or give directions, pointers I could use?
Zsombi
Avatar-of-War
 
Posts: 73
Joined: 20 Feb 2013, 16:04
Location: Romania
Has liked: 4 times
Been liked: 3 times
FAF User Name: Zsombi

Re: Offline faf to not exit program upon match end?

Postby CookieNoob » 25 Nov 2016, 20:56

I wont make it for you (and I doubt that anyone else will), but I can give you a pointer where to start:

the file you need to change is this one (I marked the spot where it quits the game, took like 40 seconds to find)
https://github.com/FAForever/fa/blob/28 ... e.lua#L456
just fork the repository and make the changes, you can use the api to deterime if you are in online or offline mode.
Check out the next level of maps: viewtopic.php?f=53&t=13014
For adaptivity, customizability and less clutter in the vault.
User avatar
CookieNoob
Priest
 
Posts: 477
Joined: 02 Aug 2014, 17:07
Has liked: 65 times
Been liked: 249 times
FAF User Name: CookieNoob

Re: Offline faf to not exit program upon match end?

Postby Zsombi » 26 Nov 2016, 10:37

Thank you for the help and assistance. :) I will try it in the coming days as time allows.
Zsombi
Avatar-of-War
 
Posts: 73
Joined: 20 Feb 2013, 16:04
Location: Romania
Has liked: 4 times
Been liked: 3 times
FAF User Name: Zsombi


Return to Tech Support

Who is online

Users browsing this forum: Google [Bot] and 1 guest