Ticket #4204: UdpHostHintAgreedPatch.patch

File UdpHostHintAgreedPatch.patch, 1.7 KB (added by javiergodas, 7 years ago)
  • binaries/data/mods/public/gui/gamesetup/gamesetup_mp.xml

     
    1010    <!-- Add a translucent black background to fade out the menu page -->
    1111    <object type="image" sprite="ModernFade"/>
    1212
    13     <object name="multiplayerPages" type="image" style="ModernDialog" size="50%-230 50%-120 50%+230 50%+120">
     13    <object name="multiplayerPages" type="image" style="ModernDialog" size="50%-230 50%-120 50%+230 50%+130">
    1414
    1515        <action on="Tick">
    1616            onTick();
     
    107107                    </action>
    108108                </object>
    109109            </object>
     110            <object type="text" size="0 106 50% 116" style="ModernLabelText" text_align="right">
     111                <object type="image" size="20 20 40 40" sprite="stretched:global/icon/info.png" tooltip="Hosts who use a router to connect to the internet have to allow this port in the router configuration. This is called 'Port Forwarding' or 'NAT' (Network Address Traversal). The manual of the router can usually be found by doing a websearch for the name of the router.Furthermore the specified port configuration can become invalid if the local IP address of the current computer changes (which happens sometimes as DHCP is enabled by default)."/>
     112            </object>
     113            <object type="text" size="50 116 100%-20 166" style="ModernLabelText" text_align="left">
     114                <translatableAttribute id="caption">In order to host a game, the specified server port must be reachable from the internet</translatableAttribute>
     115            </object> 
    110116        </object>
    111117
    112118        <object name="hostFeedback" type="text" style="ModernLabelText" size="50 100%-90 100%-50 100%-50" textcolor="red" />