Ticket #4204: UdpHostHintAgreedPatch_v2.patch
File UdpHostHintAgreedPatch_v2.patch, 2.1 KB (added by , 7 years ago) |
---|
-
binaries/data/mods/public/gui/gamesetup/gamesetup_mp.xml
8 8 <script file="gui/gamesetup/gamesetup_mp.js"/> 9 9 10 10 <!-- Add a translucent black background to fade out the menu page --> 11 11 <object type="image" sprite="ModernFade"/> 12 12 13 <object name="multiplayerPages" type="image" style="ModernDialog" size="50%-230 50%-120 50%+230 50%+1 20">13 <object name="multiplayerPages" type="image" style="ModernDialog" size="50%-230 50%-120 50%+230 50%+130"> 14 14 15 15 <action on="Tick"> 16 16 onTick(); 17 17 </action> 18 18 … … 105 105 <action on="Press"> 106 106 this.caption = getValidPort(this.caption); 107 107 </action> 108 108 </object> 109 109 </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"> 112 <translatableAttribute id="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).</translatableAttribute> 113 </object> 114 </object> 115 <object type="text" size="50 116 100%-20 166" style="ModernLabelText" text_align="left"> 116 <translatableAttribute id="caption">In order to host a game, the specified server port must be reachable from the internet</translatableAttribute> 117 </object> 110 118 </object> 111 119 112 120 <object name="hostFeedback" type="text" style="ModernLabelText" size="50 100%-90 100%-50 100%-50" textcolor="red" /> 113 121 114 122 <object name="continueButton" hotkey="confirm" type="button" size="50%+5 100%-45 100%-18 100%-17" style="ModernButtonRed">