Everytime I try to create a local server the game just says, "failed to start game", and returns me to the main menu. I don't know what's wrong, it worked yesterday. I have tried with turning off my firewall, disable all mods, validated the game, and restarted the computer. But It still won't work. Spec: OS: Windows 7 professional 64bit CPU: i7-2600 (3.4 GHz quad-core, turbo 3.8 GHz) RAM: 16gb of ddr3 1866mhz Graphics card: GeForce 780 GTX Motherboard: sabertooth z77 (I think my processor, and motherboard is a bottleneck for my computer, but not that would cause this issue.)
Start the server manually with the commandline switches "--allow-lan --headless --game-mode Config", this will create a debug window. It should start a few background threads for the thread pool, generate a token and then enter a "connect, timeout, reset()" loop. Then try to start a local game. While PA will spawn a 2nd sever instance, it should connect to the already existing one on the same computer (you get walls of text in the console window when that happens). Now tell us if anything is off from what I described as expected output. Especially any error messages.
Launching PA from PAMM and using Windows 7 ? That's the issue. Check the release thread. Acknowledged by several people and PAMM current maintainer himself (Mereth)
I tested it without using PAMM, and it worked. But what I find strange is that I thought I made sure to test it without PAMM before making this thread... guess I didn't.
I haven't been able to play on a local server at all, it took me a little while to figure out I had to set local server option to off just to play the game for the first time. Having it set to no or auto would always fail. Does local server not work on windows 7? Does the game use PAMM by default? cos I'm not using it manually.
It does work. The only hard requirement is a 64-bit OS. However, if you have less than 8GB of RAM or less than 4 CPU cores, the local server will be off by default. You'll have to force it to "on" in that case, but be warned that you are below the minimum system requirements for running the local server then. Or maybe I misunderstood you and you just mean that the server won't work for you when you do have it enabled. In that case, can you post your PA log? You can find them in "%LOCALAPPDATA%\Uber Entertainment\Planetary Annihilation\log". On a typical install %LOCALAPPDATA% will be "C:\Users\<username>\AppData\Local". Just delete all of the log files. Then try to start a game with the local server turned on. Close PA and upload the resulting log file here. The game does not come with PAMM by default. PAMM is a community build mod manager. Uber has yet to roll out it's own though, so it's currently the only way to manage mods. (Well, other then manually installing mods of course.)
So from the log: It seems the server starts successfully and doesn't crash. It's only terminated when you exit PA. So that's all good. The trouble seems to be that it cannot resolve "localhost", which is weird, because that is just your own computer. If you have any firewalls or virusscanners, could you temporarily turn them off and try again? If that doesn't work, could you open a command-line (Press <Win>+R and type "cmd") and type the following: Code: ping localhost Does that work or do you get errors?
Disabling firewalls and antivirus didn't make a difference. Command prompt got this error. Ping request could not find host localhost. Please check the name and try again.
Ok, that's odd. You should always be able to ping localhost. Could you check the file c:\windows\system32\drivers\etc\hosts and see if localhost is properly defined there?
The host file had localhost set as 0.0.0.0 for some reason so I changed it to 127.0.0.1 Local server now works on PA. You're awesome, thanks so much for your help.
Yeah, I was wondering the same thing. I've tried searching the internet and although I found a dozen other people with the same problem (and some even suggesting to change it from 127.0.0.1 to 0.0.0.0!), I couldn't find anything that causes this. Mysterious. Oh well. Glad it works for hughheggen at least.