Jump to content

Zukai: Difference between revisions

571 bytes added ,  4 August 2015
→‎Hosting tips: fixed mistake in signing instructions and mentioned that you still have to hit Accept one more time
m (→‎Useful websites and programs: Network Utility wording)
(→‎Hosting tips: fixed mistake in signing instructions and mentioned that you still have to hit Accept one more time)
Line 51: Line 51:
*If you want to be able to host games, and not just join other people's games, make sure that you have forwarded port 2680 (UDP) to your computer's LAN (private) IP address in your router's settings. See this [http://portforward.com/english/routers/port_forwarding/routerindex.htm port forwarding guide] for help.
*If you want to be able to host games, and not just join other people's games, make sure that you have forwarded port 2680 (UDP) to your computer's LAN (private) IP address in your router's settings. See this [http://portforward.com/english/routers/port_forwarding/routerindex.htm port forwarding guide] for help.
*Until there is metaserver support (i.e., a matchmaking lobby), you will need to arrange matches with other players using a third-party program like an instant messenger or an IRC client (our community IRC channel is #Oni at euIRC.net).
*Until there is metaserver support (i.e., a matchmaking lobby), you will need to arrange matches with other players using a third-party program like an instant messenger or an IRC client (our community IRC channel is #Oni at euIRC.net).
*Some hosts are plagued by the OS X dialog that says "Do you want the application 'Oni' to accept incoming network connections?" each time someone tries to join their game. To turn this off, you should add this Oni application to your Firewall exceptions (System Preferences > Security & Privacy > Firewall > Firewall Options... > '+' button). Sometimes this will not work, in which case you need to open Terminal and use this command (remembering to supply the correct path to your Oni application):
*Some hosts are plagued by the OS X dialog that says "Do you want the application 'Oni' to accept incoming network connections?" each time someone tries to join their game. To turn this off, you should add this Oni application to your Firewall exceptions (System Preferences > Security & Privacy > Firewall > Firewall Options... > '+' button). Sometimes this will not work, in which case you need to open Terminal and use this command, remembering to supply the correct path to your Oni application (your administrator password will be requested):
  sudo codesign --force --deep --verbose --continue --file-list - --sign - /path/to/Oni.app/
  sudo codesign --force --deep --verbose --continue --file-list - --sign - /path/to/Oni.app/
:You will then have to enter your administrator password. If you see the message "[]/Oni.app: replacing existing signature", then it was successful. If it does not work, try the command several more times; it often doesn't seem to work on the first try.
:This performs ad-hoc code-signing, which takes the place of an official developer certificate. If successful, you will see output like this:
/Applications/Oni/Oni.app: signed bundle with Mach-O thin (i386) [com.godgames.oni]
/Applications/Oni/Oni.app/Contents/MacOS/Oni
/Applications/Oni/Oni.app/Contents/_CodeSignature/CodeResources
 
If it does not work, try the command several more times; it often doesn't seem to work on the first try. However, even if the signing is successful, you <u>still have to tell OS X that the app is allowed to accept incoming connections</u>, which means that you will get the dialog again the next time that you host. Once you click that "Allow" button one more time, OS X should remember that this "signed" copy of Oni can accept connections.


==Useful websites and programs==
==Useful websites and programs==