PA not allowing local single player play

Discussion in 'Mac and Linux' started by patriks74, July 29, 2015.

  1. patriks74

    patriks74 New Member

    Messages:
    11
    Likes Received:
    1
    Ever since the patch on June 9 my mac (latest macbook) hasn't been able to "connect to server" and its really been upsetting. It will flash me the is message "connection to server failed." Ive tried all settings on the server tab in settings.
  2. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
    So it makes no difference if you go to settings -> server and turn the local server on or off? (assuming you are connected to the internet when you turn the local server off)
  3. patriks74

    patriks74 New Member

    Messages:
    11
    Likes Received:
    1
    yes, it makes no difference.
  4. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
    It sounds like something is blocking PA from communicating with anything then. Even localhost.
    Could you try again with the Mac OS firewall turned off? (That should be under "Security & Privacy" in the Mac's "System Preferences")
    If it works then, then you need to specifically add PA to the list of exceptions for the firewall.
  5. patriks74

    patriks74 New Member

    Messages:
    11
    Likes Received:
    1
    no, I've tried with my firewall down, and with it accepting steam and pa.
  6. patriks74

    patriks74 New Member

    Messages:
    11
    Likes Received:
    1
    i tried posting my computers processes form the console app and it said that i wasn't allowed to post non-whitelisted links? whats that all about?
  7. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
    It's an anti-spam feature that prevent new users posting links (though the wording is confusing). It goes away after you've made five posts. But you can just save it to a text file and use the "Upload a File" button to post it here.

    Could you also post a PA log? You can find those in "~/Library/Application Support/Uber Entertainment/Planetary Annihilation//log" (where ~ is your home directory)
  8. patriks74

    patriks74 New Member

    Messages:
    11
    Likes Received:
    1
    it won't let me post the rtf file i made of the console prompts? also, its really weird because i don't see an uber entertainment folder under application support. but i know one exists because i see my computer talking about it.
  9. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
    Oh, save it a .txt instead. I'm guessing .rtf isn't one of the allowed file types to be uploaded. Also, since you've reached five posts, you can post links now.

    Yeah, that's weird that it's invisible. You can try going to "Go" in the finder menu. There should be an option of "Go to folder" or something like that. (from memory)
    If you paste "~/Library/Application Support/Uber Entertainment/Planetary Annihilation//log" in there, it should open it for you.
  10. patriks74

    patriks74 New Member

    Messages:
    11
    Likes Received:
    1
    8/12/15 9:38:57.865 PM rpc.lockd[24075]: can't contact statd, 100024 RPC: Unknown host

    8/12/15 9:38:58.968 PM rpc.lockd[24075]: can't contact statd, 100024 RPC: Unknown host

    8/12/15 9:39:01.071 PM rpc.lockd[24075]: can't contact statd, 100024 RPC: Unknown host

    8/12/15 9:39:04.174 PM rpc.lockd[24075]: can't contact statd, 100024 RPC: Unknown host

    8/12/15 9:39:08.276 PM rpc.lockd[24075]: can't contact statd, 100024 RPC: Unknown host

    8/12/15 9:39:10.536 PM PA[24076]: INFO Started at 2015-08-12 21:39:10

    8/12/15 9:39:10.541 PM PA[24076]: INFO SDL: Built w/ v2.0.4, linked w/ v2.0.4

    8/12/15 9:39:10.547 PM PA[24076]: INFO build version 85423, id 2015080585423

    8/12/15 9:39:10.550 PM PA[24076]: INFO Log file /Users/User/Library/Application Support/Uber Entertainment/Planetary Annihilation/log/PA-2015-08-12_213910.txt opened

    8/12/15 9:39:10.723 PM WindowServer[140]: Surface testing disallowed updates for 10 sequential attempts...

    8/12/15 9:39:10.766 PM PA[24076]: INFO Looks like we are running via Steam

    8/12/15 9:39:10.772 PM PA[24076]: INFO Loading mod : server_browser_show_cheat_servers

    8/12/15 9:39:10.772 PM PA[24076]: INFO LoadedLocalModCollection::loadLocalModCollection: Failed listDir call for "/Users/User/Library/Application Support/Uber Entertainment/Planetary Annihilation/mods"; no mods will be loaded from this path

    8/12/15 9:39:10.772 PM PA[24076]: WARN LoadedLocalModCollection::loadLocalModCollection: Could not open /Users/User/Library/Application Support/Uber Entertainment/Planetary Annihilation/mods/mods.json file; mods will not be mounted

    8/12/15 9:39:10.773 PM PA[24076]: INFO Client loaded 1 mods, mounted 0

    8/12/15 9:39:10.774 PM PA[24076]: INFO Loading mod : cheat_allow_change_control

    8/12/15 9:39:10.775 PM PA[24076]: INFO Loading mod : cheat_allow_change_vision

    8/12/15 9:39:10.775 PM PA[24076]: INFO Loading mod : cheat_allow_create_unit

    8/12/15 9:39:10.776 PM PA[24076]: INFO Loading mod : cheat_allow_mod_data_updates

    8/12/15 9:39:10.776 PM PA[24076]: INFO LoadedLocalModCollection::loadLocalModCollection: Failed listDir call for "/Users/User/Library/Application Support/Uber Entertainment/Planetary Annihilation/server_mods"; no mods will be loaded from this path

    8/12/15 9:39:10.776 PM PA[24076]: WARN LoadedLocalModCollection::loadLocalModCollection: Could not open /Users/User/Library/Application Support/Uber Entertainment/Planetary Annihilation/server_mods/mods.json file; mods will not be mounted

    8/12/15 9:39:10.776 PM PA[24076]: INFO Starting async parallel for driver with 6 threads

    8/12/15 9:39:10.784 PM WindowServer[140]: Surface test allowed updates after 22 attempts



    8/12/15 9:39:13.846 PM PA[24076]: INFO Coherent content root: "coui://ui/"

    8/12/15 9:39:13.847 PM PA[24076]: INFO Coherent host dir: "/Users/User/Library/Application Support/Steam/SteamApps/common/Planetary Annihilation/PA.app/Contents/MacOS/host"

    8/12/15 9:39:13.847 PM PA[24076]: INFO Coherent local store: "/Users/User/Library/Application Support/Uber Entertainment/Planetary Annihilation/localstore"

    8/12/15 9:39:13.847 PM PA[24076]: INFO Coherent crash dumps: "/Users/User/Library/Application Support/Uber Entertainment/Planetary Annihilation/log"

    8/12/15 9:39:13.848 PM PA[24076]: INFO [COUI] Additional host options detected. Please note that these options are experimental, untested and not officially supported, they might cause unexpected behaviour.

    8/12/15 9:39:13.848 PM PA[24076]: INFO [COUI] AdditionalHostOptions {--resource-buffer-max-allocation-size=134217728 --resource-buffer-size=2097152}

    8/12/15 9:39:13.864 PM PA[24076]: INFO ClientInterface constructed

    8/12/15 9:39:13.883 PM PA[24076]: INFO {{FMOD}} fmod buffer size 5

    8/12/15 9:39:13.910 PM PA[24076]: INFO Using local server at /Users/User/Library/Application Support/Steam/SteamApps/common/Planetary Annihilation/PA.app/Contents/MacOS/server

    8/12/15 9:39:13.910 PM PA[24076]: INFO ClientInterface constructed

    8/12/15 9:39:13.920 PM CoherentUI_Host[24078]: Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650

    8/12/15 9:39:14.371 PM PA[24076]: INFO ContextReady

    8/12/15 9:39:14.431 PM CoherentUI_Host[24079]: Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650

    8/12/15 9:39:14.457 PM CoherentUI_Host[24080]: Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650

    8/12/15 9:39:14.462 PM CoherentUI_Host[24081]: Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650

    8/12/15 9:39:14.544 PM CoherentUI_Host[24082]: Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650

    8/12/15 9:39:14.659 PM PA[24076]: ERROR [JS/main] :1: Uncaught TypeError: Object #<Object> has no method '_trigger'

    8/12/15 9:39:14.810 PM CoherentUI_Host[24081]: The function ‘CGFontSetShouldUseMulticache’ is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance.

    8/12/15 9:39:14.823 PM CoherentUI_Host[24080]: The function ‘CGFontSetShouldUseMulticache’ is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance.

    8/12/15 9:39:14.826 PM CoherentUI_Host[24079]: The function ‘CGFontSetShouldUseMulticache’ is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance.

    8/12/15 9:39:15.008 PM CoherentUI_Host[24083]: Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650

    8/12/15 9:39:15.016 PM CoherentUI_Host[24084]: Internals of CFAllocator not known; out-of-memory failures via CFAllocator will not result in termination. http://crbug.com/45650

    8/12/15 9:39:15.284 PM CoherentUI_Host[24083]: The function ‘CGFontSetShouldUseMulticache’ is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance.

    8/12/15 9:39:15.375 PM CoherentUI_Host[24084]: The function ‘CGFontSetShouldUseMulticache’ is obsolete and will be removed in an upcoming update. Unfortunately, this application, or a library it uses, is using this obsolete function, and is thereby contributing to an overall degradation of system performance.

    8/12/15 9:39:15.645 PM PA[24076]: INFO resetGameState



    8/12/15 9:39:18.447 PM PA[24076]: INFO [COUI] Argument conversion failed: Wrong type - expected String, got Null while converting argument 2 for handler panel.writeSession

    8/12/15 9:39:19.481 PM rpc.lockd[24075]: can't contact statd, 100024 RPC: Unknown host

    8/12/15 9:39:26.584 PM rpc.lockd[24075]: can't contact statd, 100024 RPC: Unknown host

    8/12/15 9:39:34.686 PM rpc.lockd[24075]: can't contact statd, 100024 RPC: Unknown host

    8/12/15 9:39:42.000 PM kernel[0]: [SendRawHCICommand] ### ERROR: EnqueueRequestForController failed (err=e00002d8)

    8/12/15 9:39:42.000 PM kernel[0]: [SendRawHCICommand] ### ERROR: EnqueueRequestForController failed (err=e00002d8)

    8/12/15 9:39:43.789 PM rpc.lockd[24075]: can't contact statd, 100024 RPC: Unknown host

    8/12/15 9:39:49.000 PM kernel[0]: process CoherentUI_Host[24078] caught causing excessive wakeups. Observed wakeups rate (per sec): 1264; Maximum permitted wakeups rate (per sec): 150; Observation period: 300 seconds; Task lifetime number of wakeups: 45354

    8/12/15 9:39:49.749 PM com.apple.xpc.launchd[1]: (com.apple.ReportCrash[24087]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash

    8/12/15 9:39:49.750 PM ReportCrash[24087]: Invoking spindump for pid=24078 wakeups_rate=1264 duration=36 because of excessive wakeups

    8/12/15 9:39:50.496 PM spindump[467]: Saved wakeups_resource.diag report for CoherentUI_Host version ??? (???) to /Library/Logs/DiagnosticReports/CoherentUI_Host_2015-08-12-213950_Matts-MB-legitament-pro.wakeups_resource.diag

    8/12/15 9:39:53.891 PM rpc.lockd[24075]: can't contact statd, 100024 RPC: Unknown host

    8/12/15 9:40:04.993 PM rpc.lockd[24075]: can't contact statd, 100024 RPC: Unknown host

    8/12/15 9:40:12.000 PM kernel[0]: [SendRawHCICommand] ### ERROR: EnqueueRequestForController failed (err=e00002d8)

    8/12/15 9:40:12.000 PM kernel[0]: [SendRawHCICommand] ### ERROR: EnqueueRequestForController failed (err=e00002d8)

    8/12/15 9:40:17.096 PM rpc.lockd[24075]: can't contact statd, 100024 RPC: Unknown host
  11. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
    These messages are kind of weird:
    Code:
    8/12/15 9:39:08.276 PM rpc.lockd[24075]: can't contact statd, 100024 RPC: Unknown host
    From what I can find, they indicate a problem with resolving localhost, which would also explain why you are unable to connect to the local server with PA. Could you post the content of the file "/etc/hosts"?
  12. patriks74

    patriks74 New Member

    Messages:
    11
    Likes Received:
    1
    i searched that up in terminal, and console, doing both "/ect/host" and "ect/host" and found nothing in either.
  13. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
    That's because I wrote "/etc/hosts". You switched the 't' and 'c' in etc, and you lost the plural of hosts somehow. :)
    You can try copy-pasting the following in your terminal:
    Code:
    cat /etc/hosts
  14. patriks74

    patriks74 New Member

    Messages:
    11
    Likes Received:
    1
    Matts-MB-legitament-pro:~ User$ cat /etc/hosts

    ##\n# Host Database\n#\n# localhost is used to configure the loopback interface\n# when the system is booting. Do not change this entry.\n##\n127.0.0.1 localhost\n255.255.255.255 broadcasthost\n::1 localhost \n\n\n\n\n##SYS##\n127.0.0.1 inst.shoppingate.info\n127.0.0.1 service.shoppingate.info\n127.0.0.1 indexx.org\n127.0.0.1 f.flshbsjs.info\n127.0.0.1 gsy.testersgroupfun.com\n127.0.0.1 sendmessagebox.com\n127.0.0.1 t1.inskinad.com\n127.0.0.1 q.crbfmcjs.info\n127.0.0.1 static.donation-tools.org\n127.0.0.1 istatic.datafastguru.info\n127.0.0.1 static.boostsaves.com\n127.0.0.1 www.best-deals-products.com\n127.0.0.1 fge.solartrendinc.com\n127.0.0.1 nps.pastaleads.com\n127.0.0.1 digitaloptout.com\n127.0.0.1 cdncache-a.akamaihd.net\n127.0.0.1 cdncache1-a.akamaihd.net\n127.0.0.1 rvzr-a.akamaihd.net\n127.0.0.1 rvzr2-a.akamaihd.net\n127.0.0.1 asrv-a.akamaihd.net\n127.0.0.1 cdn.visadd.com\n127.0.0.1 a.visadd.com\n127.0.0.1 ydt.winsurfingclub.com\n127.0.0.1 client.foxydeal.com\n127.0.0.1 s.hklmm.com\n127.0.0.1 i.crbsjs.info\n127.0.0.1 wwm.determineyourroad.com\n127.0.0.1 ext1.engageya.com\n127.0.0.1 ext2.engageya.com\n127.0.0.1 a.tfxiq.com\n127.0.0.1 cdn.staticwebdom.com\n127.0.0.1 api.jollywallet.com\n127.0.0.1 i_crbsjs_info.tlscdn.com\n127.0.0.1 i_flshbsjs_info.tlscdn.com\n127.0.0.1 ppj.qwikbookprint.com\n127.0.0.1 homedesigntreasure.com\n127.0.0.1 www.superfish.com\n127.0.0.1 istatic.eshopcomp.com\n64.251.22.253 shmactustus.com\n64.251.22.253 www.google-analytics.com\n##SYS#

    what are all these websites on here?
  15. patriks74

    patriks74 New Member

    Messages:
    11
    Likes Received:
    1
    School started so i've been kinda busy XP
  16. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
    Looks like you used an ad-blocker that modified the /etc/hosts file. The hosts file is what translates hostnames into ip-addresses locally. So for example "ppj.qwikbookprint.com" is translated into 127.0.0.1, which is always the computer itself. So in effect, that host name cannot be reached, i.e. it's blocked. Try backing up that file and replacing it with the default one, which I think is just this:
    Code:
    ##
    ##
    # Host Database
    #
    # localhost is used to configure the loopback interface
    # when the system is booting. Do not change this entry.
    ##
    127.0.0.1 localhost
    255.255.255.255 broadcasthost
    ::1 localhost
    fe80::1%lo0 localhost
  17. patriks74

    patriks74 New Member

    Messages:
    11
    Likes Received:
    1
    Im sorry but I have no idea how to do that...
  18. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,327
    Likes Received:
    2,125
    Oh, no problem. Just copy-paste the following in the Terminal:
    Code:
    echo "##
    ##
    # Host Database
    #
    # localhost is used to configure the loopback interface
    # when the system is booting. Do not change this entry.
    ##
    127.0.0.1 localhost
    255.255.255.255 broadcasthost
    ::1 localhost
    fe80::1%lo0 localhost" > ~/hosts
    
    That will create the new clean hosts file in your home directory. (Don't forget to press <Enter> after you pasted this in your Terminal.)

    Then you need to back up the old one by typing:
    Code:
    cp /etc/hosts ~/hosts.bak
    And finally, overwrite the current hosts file with the new default one you just made:
    Code:
    sudo cp hosts /etc/hosts
    Hopefully, that will fix PA (and possible other networking problems you have may have been experiencing). If anything goes wrong, you can always undo everything by restoring the back-up like so:
    Code:
    sudo cp hosts.bak /etc/hosts
  19. patriks74

    patriks74 New Member

    Messages:
    11
    Likes Received:
    1
    THANK YOU SO MUCH!!! I haven't been able to play the game on lan w/ friends for like 6 months. Thank you!!!
    DeathByDenim likes this.

Share This Page