NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name OGAME: Last Mission (only for AGR) // @author =Hardox= // @licence MIT // @version 0.81 // @description Adds a new feature to AGR's 'Last Mission' feature. The data of the last transported destination, fleet and cargo can be reused in the next mission. // @namespace http://tampermonkey.net/ // @updateURL https://openuserjs.org/meta/Gamer_Hardox/OGAME_Last_Mission_(only_for_AGR).meta.js // @downloadURL https://openuserjs.org/install/Gamer_Hardox/OGAME_Last_Mission_(only_for_AGR).user.js // @match https://*.ogame.gameforge.com/game/index.php?page=ingame&component=fleetdispatch* // @grant GM_addStyle // @run-at document-end // ==/UserScript== // (function() { 'use strict'; GM_addStyle(` .LM_Setting { width: 156px; height: 196px; position: relative; left: 40px; top: 10px; z-index: 1; background-color: #243338; display: none; text-align:center; border-radius: 4px; padding: 4px; } span.LM_space { height:22px; line-height:22px; } .LM_hover:hover { border-radius: 3px; color: orange; background-color: #212a33; color:#FF9600!important; box-shadow: 0 0 1px 0 #FF9600 inset; } .LM_coords { margin-left: 5px; min-width: 60px; max-width:60px; font-size: 11px; text-align: left; } .LM_icon { min-width: 20px; max-width: 20px; } .LM_speed { min-width: 40px; max-width: 40px; font-size: 11px; } `); const Version = GM_info.script.version; let config = { Coord: "true", Type: "true", Ships: "true", Speed: "true", Mission: "true", Cargo: "true", Page3: "false" }; const Servidor = $('meta[name="ogame-universe-name"')[0].content; const Clave = "OLM_" + Version + "-" + Servidor; let Registro = ""; const Tipo_1 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4AkJAh0ZMguMawAAB8xJREFUSMeFl0+IZVcRxn8z8zhFHlPX6D2QeBvlPRFeb/qRRQ9IXoK2BAwuYgSzSMxOCAhKEkgWAQ2iCzdZBFwEQbNKdDELExeShTOjMB3QNKjdIH1BvQ+1b1TOlcmrYcY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+Ar/I8y/Y88IaT4k/ZU+HOrajpenX+qar4bsLy9vLm2SW4vJ5LdXklkdgWd3YlmZiSSSSSTXol18OfD0kQ3aDozcd7KP/AOJoor2Mw/3yp/if5nbgf90j6foflv8AtH/GXxh4Q/aG8eaTpPirxJpel6X4i1C0s7O01OaG3tIY7mRI4o41YKiKoChVAAAAAxRRRX7xh/4UfRfkfkFb436s/9k='; // mantener posición const Mision_6 = 'data:image/gif;base64,R0lGODlhEQARAPf/AKqPJaeMJIVuGZ+EHYt0G1lICVxNC7OXJ6ySJqyRJKmOI6eMIqaLJF9PDZyCIWZVEf7//6GGIq+UJ7KVJ6eNJn1pFn1pFf///86sK66RJntlFa6SJWJSGMivRn5pF3xmFYhxGaSIIb+gLXplFerWgLycI8ikIs3DmLeZKZN7H9vEcNHInvPip5qDIPfmnK6RJHdjFa2SJuvfuK+UKamNHvTYXryeKqGHIK6QI5J7Hq+SJpuBIXJdE7aYKH5pFtPHnpJ7G/jvy8O1f6mdbZuBFrOYKfz+/aKGIdrKi5uKO+XbttHCf5B1FZyBG8zClNrGft/QksaqMeniwsuqLbyfLfz++tHIpLCVJayQJs2xN9+3HbCUKmhTBXxmE76iJrakY5J6HYBqGJZ6DOTFQ4lwE+rbqvry0lhHC7ueKoRtEci0ZvHfkrafRqKIIolzG39qG/TYYZN7Hq6TJ6SJIcCiK7eXJnFfE5Z+HW9bEc2sK9OvKbWbK35oFrCSJ3plFPfoq/z78vv14f7998q9iZN8H/Lu1v3//8/Ahop0HdfDZY11HHFbCevlyaKCC7WcKtfJiv798+fGTMakK8WlLVxLDdDAg9GxL9m1KNHAetXCed66Md29O5uAGZ2CH/r467SZKrWbKI93G82rLPbz5L60fbWXKfXu0e3kxpB7Ieno3rCRGseoK7eWHP7++9TLqFhKBfjll97CVaWKI6aKI/fqr6aXV35pFb+tWPDah/Deid/SloZ1JWpYD6GFIPfz4u7fneDRmeDSnZF5HdTFi8usMfXx4P357J+AD/z67+bFR450EKyOGVVCA+jdqObete7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68aMawfNPlEYPYkRIQYJ/rs7vGbquonRe0iQc0/VvgjQttbcfwkRtp5hrdSYYUUI/3q7ddEW7tDVt8rRfx9k/v1+MYqRPzm6+MrR/nh4uYrRslUZtImP95PZPJJY/9zjv1beKUjN/EuTLQlO8otRPyns/UgP+doefW0vq4qP/xngeAqSfza3/y+zPsyUeEsSOs5WIwaKv3v8P2BmdcoQ9UlPuAgO50eM6wgNq0hN9YnQO59jc0vSs8uSfv//6UZLtEfOv309v8rUfvi6Prh5dwvSuQrSMNhb+osSf3S1/5CYr4aMcggOf7d5KwhNYYVJP3//u8kQdIoQLEWLv10jbhlcokaKMMpQ9EhOuvQ1KkgNJcSJMcpQ+A0Ts19h9QnQOIvTPKLnJMaLNMoRLoYL/GOoLshN9AnP/4rT9AvS/3///z//////wAAACH5BAEAAP8ALAAAAAARABEAAAj/AP8ZMDCmVIQD2HhQ0aMqhJYNUf7Vq3KMkYopa9hoAyEoxbtXiIzF6YWigTgOlXLgQIAAGKcgIrb8ORCsA6ZT23pAoLaAj74kxAKVSaRhCRNkVwi0oSDHXKwukUwR0iQGkDxXrHDxSjWgHz9+/dIQ8ETLmLAddjJRuuEVmgywBU5wwwIFjBA/42h8U1RMR4FfUlpUozOE3IoZAsqNWAXLRQUvsr5Y+NFJSR5nat7Uyeav3zQMkayh4eevFQAP+9xZukOqkK4Xom7B8cVlUKNoAvahstEOia0mRAaANfFoVBYA6J6lC3VuXZEzueY1u/fh2iVHoJ6YseJkkT949rxNSFAnrU83Fv4OASFRI9yuEnPc5MvALEy8Pps+SaLHwNAwSBfgA0MCeDjgQAI+7BGDBMnU8o8RkwRABjgBVLiMMgo8wM4Rs/wTEAA7'; const Mision_10 = ''; const Mision_11 = ''; const Mision_12 = ''; const Mision_13 = 'data:image/gif;base64,R0lGODlhEQARAOfHAFUAZlYAZ1gAaVkBalEEZl0AcmAAbVoCa2EAbmAAdGYAdmcAd2ECdWgAeGkAeWoAem0AgW4AgnAAhGgDgHEBhXkAiHgAj3sAinMDhnwAi34Akn8Ak4EAlH8AmnkDkYIAlYMAloUAnIYAnYACm3oFkocAnogAn4kAoIsBoYYCpo0AqJAAo44AqY8AqpAAq5UAtGcUd5gArpkAr5gAt48CwJMDrY4EsokHqKAAupkA0qEAu5oA1KIAvZQGrpsA1aMAvp8Az5wB1msZe6ACw5wDx6cAxZcD2qgAxp8FtZEIwpsGubAAxaYEwJgG27AA030WkbIA1K4B2a4A56gFz7UA3LMA4rQA47UA5bQA8ZARybsC4ckA4bAI3McA6JETy8IC7cEF3qkPw4gdn7wH4tMA59QA6MwD5ZgU1tUA6aoRxNcA69oA5cgF6bMQ3skJ6p4buLUV4M8N57UjzrMn1bcn0JU3o7kq06E+tLc60KJLtLNFzcBD58JE6LdOzcFO37Bhu7ZeyMFc0sxZ6sVf489h6bBxuMxl6stp5bV4xcJ2yMty3cV03NVv5s9x5cR81NR26sN/z7yHxtOF5tSO7NST3NuU89uc7N+g796m9N+r8eSt7eKv5+Kz8eO86uS79+e78eS96+W+7eu7+t3C5u2+7+bD6urC8evD8uzE8+3J8ejM8uzN7e3N+vDN9PDU+vPU9OnZ9PHZ9+7e+u/f+/Hh/PDk+Pbj+fTl9Pfk+vXm9fLn+/Lq9/Ps+Pfw/Pzy+f/0+/n2+/v4/fv9+v/8+v78//z/+/7//P///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////yH+Dm1hZGUgYnkgZmwwMHJpACH5BAEKAP8ALAAAAAARABEAAAj+AP+B2cKmoBs3Bbt0+aJQy78xKESsQFGjhgyLFlWkKHGiShcRKloowVGkyJxBRYaEUaRHxJY4J1T0oeOkTaVehKIwoiULCYotZEq8yVWL1ClProwNs9TKz4wVZNaskCHHlDBDtfZwwnRJkxMdLdCgQTGjCJxGuIJJqTLJ2KYoTFygIXNDxhQqVTIR24NFiipRr8K0WOOkgJgTNogcisXpkaBPvxZ5WBBlBwxYpRylmsXqlTFbeFB1mHCgyQ4hkYAZCxSKzpJOkmwB8tBgwI4mAQzUoVQLFA4cP1YZg2TBgW0jBApAuOOLl4sXL3rcGvVkgYAdQAIMWADhzy5EIk4+dMhTaEKCADt2HICAwcOGRCVEyBfhwYIEBjuyGKBwIcMGEh9sEOAGG1xQgQNZ/JNEeukZYUQTDzJ4Bg3/BAQAOw=='; const Mision_14 = ""; const Mision_15 = 'data:image/gif;base64,R0lGODlhEQARAPf/ADlYl017yjNQiUVtt0RprUFkpT1foz1foD1dozhZmDdamTZWkzJOhSU8azRQiP///iY+cENnrjxenz1ipC5KgEFjpEJprT9jp0ZknkBnq0dZgkRpqydCeCtEdzZdqGiS1yc/cDNXmz5kpkJwwUt2xjhgo2yMxsfS5jlirUFnsDtiqkJnqV2CwVN2t+/0+TVTj+Pp8X2YzneNs058zDxdnpGnzEJprsrT4UluslJqmkForDJQijpgoi5IfTpfn6y83TNTlcbV7HKGsTNPijhalUBsvElwukNglz5XkYWdxjBHdpmszCM4aUZutEFmrEBmrj1kqUBhoVJ5wEFmqTFbq5alvk9/0DBMhTFOhkJjqDhcnkRnrSlFfEt4w0FpsEFbkThXlPT5+f/+/jdWkf3+/TZUjqK21TFNiFh3rklzvTpfp/7+/SQ8biY+b0Jor0NprlN/zjliqkt7z0tvsVBpmzRRiUBorUFprPr8/EdtsUJoq1WB0SxIfj5jpmGL0jtfnj9krDZhsF5+vTFXoTFUlp2x1EpwtS1PjkBotH+WxDBMgX+b0EFquEduuPb2+lp+xE1zvVJ0rTtcnqizx0x0woCay5Soyjpdmj5foVd9wuzv9j1cmDFZot/k8TZfo3GX2fn5+naY1kJmrE1rpT5jpHye20BlqEprqLzP7TNRjEJmqkNlrUZttLXG50Zut7zL5mWL0bbH6jBMhzNOhs3a78/a7M3X6WGBvClDeDdWlClEeC1FezhMeE95x0VdiCY/dkVelkx70EhutEl2yPL4+TZYnFN7w5mw2zVVkmmLxkJprDRQijVVjzdXj0VprkVqrDZaoTFPiFl2q09+zkhwvcvU6TtdpCtPkjxenf///ZSozI2lzSY9bFF3wEJork18yjphp0NorVF+zSg+cMvU4Tphqkl6z/39/Ep0wkl0wDNXnnWOuzRQiThYmjtfoOju9Iqav/z+/fn8/PLz+D9lqUdts0BoqzZfqFSB0EdlnUdwt4qk0kFnqjxipP///wAAACH5BAEAAP8ALAAAAAARABEAAAj/AP9lWVVOxZZwEdxY8KZDz50Mff5Z0wJtSRI1ESzYefJGlCkRExAYsEejRI1KiNKke5SMmhFWyugZ8OJMwpQ4rtAN++YnVIBelAbw66cvjw8ogmDQKhVAzrQ9cEgsasEDkrA/gFic85ctyKdgVvCJk1JvQrdG7mwwauXvwQM8qD6Ym9GlyQVjqoikKAKL2AMxYVzEi+VnxAAJhiqwoSONkxl/8sgci3GiUyEMv5wVYOIrB6E582pVW2OCSiR4kzQ4qcCNy5lLHgo5yvQK1K1BhxgoIVCgQY8dCTzh0LQv0I93pw4pavOMVINdWHKtA7fNFop72sgh4QNiQxReuiikTcon6cANNMWuyaiCC8IKTOOiMQPT7oC6RJZCYANy5EUHBM1AIMAYCwCQgAKbCKFAArkgUwYHo/wDzBVDLOOAA+zsIEsdDswyCwVf/BMQADs='; const Fleet_ico = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAApElEQVQ4ja2SsQrEIAyG835Obj5Lhy5ChwotNOCBQgcnR98wnVLsnT2rdxlDvo8k/AAAgC9PQioSUhH0VIiJ/B5IT6ZPxIIQE6F17SI9GQox0btoGPUzCUMsmJetbQMG0boiyD2zYllaA+dlI7+Htu2EVDSM+oTzEz/+c5cD7qF1p4TPuMzWclD9Qb7iTznIRWbF5zlgiCXFO2uCbzmoVjf4jzoAWZ4QqP7C6vMAAAAASUVORK5CYII='; const new_Ships = [ {id:202,number: 0}, // TransporterSmall [4] {id:203,number: 0}, // TransporterLarge [5] {id:208,number: 0}, // ColonyShip [6] {id:209,number: 0}, // Recycler [7] {id:210,number: 0}, // Probe [8] {id:204,number: 0}, // FighterLight [9] {id:205,number: 0}, // FighterHeavy [10] {id:206,number: 0}, // Cruiser [11] {id:207,number: 0}, // Battleship [12] {id:215,number: 0}, // Interceptor [13] {id:211,number: 0}, // Bomber [14] {id:213,number: 0}, // Destroyer [15] {id:214,number: 0}, // Deathstar [16] {id:218,number: 0}, // Reaper [17] {id:219,number: 0} // Explorer [18] ]; if (!document.getElementById("ago_routine_10")) { return; } if ($('id[name="sendFleet"') !== -1) { document.getElementById("sendFleet").addEventListener('click',Lee_envio,false); } let Flag = false; let Boton_LS; for(let i=0; i<localStorage.length; i++) { let key = localStorage.key(i); if (key.includes(Clave)) { Flag = true; Boton_LS = document.getElementById("ago_routine_10"); Boton_LS.style.backgroundPosition = "0px 0px"; i = localStorage.length; // termina 'for...' Muestra_Ultima_Mision(); } } if (Flag == false) { Boton_LS = document.getElementById("ago_routine_10"); Boton_LS.style.backgroundPosition = "0px -76px"; } document.getElementById("ago_routine_10").title = "Show reuse options Last Mission"; document.getElementById("ago_routine_10").onclick = Muestra_Configura; function Muestra_Configura() { document.getElementById("LM_Config").style.display = "block"; document.getElementById("ago_routine_10").style= "background-position: 0px -38px;" } function Oculta_Configura() { document.getElementById("LM_Config").style.display = "none"; document.getElementById("ago_routine_10").style= "background-position: 0px 0px;" } function Guarda_Configura() { config.Coord = document.getElementById("LS_Opt_Coord").checked; config.Type = document.getElementById("LS_Opt_Type ").checked; config.Ships = document.getElementById("LS_Opt_Ships").checked; config.Speed = document.getElementById("LS_Opt_Speed").checked; config.Mission = document.getElementById("LS_Opt_Missi").checked; config.Cargo = document.getElementById("LS_Opt_Cargo").checked; config.Page3 = document.getElementById("LS_Opt_Page3").checked; Registro = decodeURIComponent(escape(window.atob(localStorage.getItem([Clave])))).split("|"); let Update = ""; for (var i = 0; i < 24; i++) { Update += Registro[i] + "|" ; } Update += config.Coord + "|" + config.Type + "|" + config.Ships + "|" + config.Speed + "|" + config.Mission + "|" + config.Cargo + "|" + config.Page3; Update = btoa(unescape(encodeURIComponent(Update))); localStorage.setItem([Clave], Update); Oculta_Configura(); } function Muestra_Ultima_Mision() { Registro = decodeURIComponent(escape(window.atob(localStorage.getItem([Clave])))).split("|"); let Coord = Registro[0]; let Mision = Registro [1]; let Tipo = Registro[2]; let Velocidad = Registro[3]*10; let Tip = Registro[22]; config.Coord = Registro[24]; config.Type = Registro[25]; config.Ships = Registro[26]; config.Speed = Registro[27]; config.Mission = Registro[28]; config.Cargo = Registro[29]; config.Page3 = Registro[30]; let Tipos = [ 0, Tipo_1, Tipo_2, Tipo_3]; let Misiones = [ 0, Mision_1, Mision_2, Mision_3, Mision_4, Mision_5 , Mision_6, Mision_7, Mision_8, Mision_9, Mision_10 , Mision_11 , Mision_12 , Mision_13, Mision_14, Mision_15]; let Tipo_ico = Tipos[(Tipo)]; let Mision_ico = Misiones[(Mision)]; let Cadena_HTML = ''; Cadena_HTML += '<span class="LM_space">Last Mission :</span>'; Cadena_HTML += '<span class="LM_space"></span>'; Cadena_HTML += '<a id="My_Last_Mission" class="LM_hover" href="javascript:void(0)">'; Cadena_HTML += '<span class="LM_coords">' + Coord + '</span>'; Cadena_HTML += '<span class="LM_icon"><img src=\"' + Tipo_ico + '\" style="width: 14px; height: 14px;"></span>'; Cadena_HTML += '<span class="LM_icon"><img src=\"' + Mision_ico + '\" style="width: 14px; height: 14px;"></span>'; Cadena_HTML += '<span class="LM_icon tooltipRight js_hideTipOnMobile" title="' + Tip + '"><img src=\"' + Fleet_ico + '" style="width: 14px;"></span>'; Cadena_HTML += '<span class="LM_speed">' + Velocidad +'%</span>'; Cadena_HTML += '<span class="LM_space"></span>'; Cadena_HTML += '</a>'; Cadena_HTML += '<div id="LM_Config" class="LM_Setting"><table style="border: unset;border: 1px solid #50829ade; border-radius: 4px;"><tr><th colspan="2" style="padding: 2px 0px 6px 0px; border-bottom: 1px solid #6f9696;">Last M. - Reuse Options</th></tr>'; Cadena_HTML += '<tr><td data="col1" style="padding: 8px 0px 0px"> Coord: </td><td data="col2" style="padding: 8px 0px 2px"><input id="LS_Opt_Coord" style="padding: 2px;" type="checkbox" ' + (config.Coord == "true" ? "checked" : "uncheked") + '></td></tr>'; Cadena_HTML += '<tr><td data="col1" style="padding: 2px 0px 0px"> Type : </td><td data="col2" style="padding: 2px 0px 2px"><input id="LS_Opt_Type " type="checkbox" ' + (config.Type == "true" ? "checked" : "uncheked") + '></td></tr>'; Cadena_HTML += '<tr><td data="col1" style="padding: 2px 0px 0px"> Ships: </td><td data="col2" style="padding: 2px 0px 2px"><input id="LS_Opt_Ships" type="checkbox" ' + (config.Ships == "true" ? "checked" : "uncheked") + '></td></tr>'; Cadena_HTML += '<tr><td data="col1" style="padding: 2px 0px 0px"> Speed: </td><td data="col2" style="padding: 2px 0px 2px"><input id="LS_Opt_Speed" type="checkbox" ' + (config.Speed == "true" ? "checked" : "uncheked") + '></td></tr>'; Cadena_HTML += '<tr><td data="col1" style="padding: 2px 0px 0px"> Mission: </td><td data="col2" style="padding: 2px 0px 2px"><input id="LS_Opt_Missi" type="checkbox" ' + (config.Mission == "true" ? "checked" : "uncheked") + '></td></tr>'; Cadena_HTML += '<tr><td data="col1" style="padding: 2px 0px 0px"> Cargo: </td><td data="col2" style="padding: 2px 0px 2px"><input id="LS_Opt_Cargo" type="checkbox" ' + (config.Cargo == "true" ? "checked" : "uncheked") + '></td></tr>'; Cadena_HTML += '<tr><td data="col1" style="padding: 2px 0px 8px"> Page3: </td><td data="col2" style="padding: 2px 0px 8px"><input id="LS_Opt_Page3" type="checkbox" ' + (config.Page3 == "true" ? "checked" : "uncheked") + '></td></tr>'; Cadena_HTML += '<tr><td data="col3" style="padding: 2px 0px 8px"><a id="LM_btn_cancelar" class="LM_btn" href="javascript:void(0)" style="">Cancel</a></td> <td data="col3" style="padding: 2px 4px 8px"><a id="LM_btn_guardar" href="javascript:void(0)" class="LM_btn" style="padding: 4px 4px 4px 8px;">Save</a></td></tr>'; Cadena_HTML += ' </table></div>'; let Tabla = document.getElementsByClassName("ago_shortcuts_target")[0]; Tabla.insertAdjacentHTML('beforeend', Cadena_HTML); document.getElementById("My_Last_Mission").onclick = Carga_Ultima_Mision; document.getElementById("LM_btn_cancelar").onclick = Oculta_Configura; document.getElementById("LM_btn_guardar").onclick = Guarda_Configura; $('td[data^="col"').css({'color':'#949494', 'background':'#23333b', 'border-radius':'unset', 'border':'0px'}); $('td[data="col1"').css({'text-align':'left', 'padding-left' : '4px'}); $('td[data="col2"').css({'text-align':'center', 'padding-left' : '0px'}); $('td[data="col3"').css({'text-align':'center', 'padding-left' : '4px'}); $('input[id^="LS_Opt"').css({'cursor':'pointer'}); $('.LM_btn').css({'text-decoration':'none', 'text-align':'center', 'width':'60px', 'color':'white', 'background-color':'#7fb2b26e', 'border-radius':'4px', 'border':'1px solid #598588', 'box-shadow':'0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19)', 'background-image':'linear-gradient(to bottom, #808080, #233947)'}); } function Carga_Ultima_Mision() { Registro = decodeURIComponent(escape(window.atob(localStorage.getItem([Clave])))).split("|"); let Servidor = document.getElementsByName('ogame-universe')[0].content; let Coord = Registro[0]; let Galaxia = Coord.split(":")[0]; let Sistema = Coord.split(":")[1]; let Posicion = Coord.split(":")[2]; let Mision = Registro [1]; let Tipo = Registro[2]; let Velocidad = Registro[3]; let Time = Registro[23]; if (config.Coord == "true") { fleetDispatcher.targetPlanet.galaxy = Galaxia; fleetDispatcher.targetPlanet.system = Sistema fleetDispatcher.targetPlanet.position = Posicion; } if (config.Ships == "true") { let ships = new_Ships; let flota = 0; function lee_naves(nave, index, array) { nave.number = Math.min(fleetDispatcher.getNumberOfShipsOnPlanet(nave.id), Registro[(index + 4)].replace(/\./g, '')); flota += flota + nave.number; } ships.forEach(lee_naves); if (flota == 0) { fadeBox("No ships for the mission", true, 0, 6000); return; } fleetDispatcher.shipsToSend = []; fleetDispatcher.shipsToSend = ships.filter(id => id.number > 0); fleetDispatcher.refresh(); } document.getElementById("continueToFleet2").click(); if (config.Type == "true") { fleetDispatcher.targetPlanet.type = parseInt(Tipo, 10); } if (config.Speed == "true") { $("#speedPercentage").data().percentageBarInstance.setValue(Velocidad); } fleetDispatcher.refreshTarget(); if (config.Mission == "true") { fleetDispatcher.mission = Mision; if (Mision == missions.MISSION_EXPEDITION) { document.getElementById('expeditiontime').value = Time; document.querySelector('#expeditiontimeline span a').setAttribute('data-value', Time); document.querySelector('#expeditiontimeline span a').textContent = Time; } if (Mision == missions.MISSION_HOLD ){ fleetDispatcher.holdingTime = Time document.getElementById('holdtimeline').value = Time; document.querySelector('#holdtimeline span a').setAttribute('data-value', Time); document.querySelector('#holdtimeline span a').textContent = Time } let boton_mision = "missionButton" + Mision; document.getElementById(boton_mision).click(); } if (config.Cargo == "true") { fleetDispatcher.cargoMetal = Math.min(fleetDispatcher.getFreeCargoSpace(), metalOnPlanet, Registro[19].replace(/\./g, '').replace(/\,/g, '')); fleetDispatcher.cargoCrystal = Math.min(fleetDispatcher.getFreeCargoSpace(), crystalOnPlanet, Registro[20].replace(/\./g, '').replace(/\,/g, '')); fleetDispatcher.cargoDeuterium = Math.min(fleetDispatcher.getFreeCargoSpace(), deuteriumOnPlanet, Registro[21].replace(/\./g, '').replace(/\,/g, '')); fleetDispatcher.refresh(); } if (config.Page3 == "true") { document.getElementById("continueToFleet3").click(); fleetDispatcher.focusSubmitFleet3(); } // good lucky!! } function Lee_envio () { let Lenguaje = document.getElementsByName('ogame-language')[0].content; let Lang_EN = { detalles_de_flota: "Fleet details" ,carga: "Cargo" }; let Lang_ES = { detalles_de_flota: "Detalles de flota" ,carga: "Carga" }; let Lang_FR = { detalles_de_flota: "Détails de la flotte" ,carga: "Charge" }; let Lang_DE = { detalles_de_flota: "Flottendetails" ,carga: "Fracht" }; let Lang = Lang_EN; // valor por defecto if (Lenguaje == "es") {Lang = Lang_ES;} if (Lenguaje == "fr") {Lang = Lang_FR;} if (Lenguaje == "de") {Lang = Lang_DE;} let Destino = document.getElementById("targetPlanet").innerText; let Coord = Destino.split(" ")[0]; Coord = Coord.replace("[",""); Coord = Coord.replace("]",""); let Mision = fleetDispatcher.mission; let Tipo = $('input[name ="type"]')[0].value; let Velocidad = fleetDispatcher.speedPercent; let Time = fleetDispatcher.expeditionTime; if (Mision == missions.MISSION_HOLD ){Time = fleetDispatcher.holdingTime} Registro = Coord + "|" + Mision + "|" + Tipo + "|" + Velocidad; let ships = new_Ships; let SubTip = ""; function formatNumber(num) { return num.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g, '$1.') } function Agrega_naves(nave, index, array) { nave.number = fleetDispatcher.getNumberOfShipsSelected(nave.id); Registro = Registro + "|" + nave.number; if (nave.number > 0) { SubTip += '<tr><td>' + fleetDispatcher.fleetHelper.getShipData(nave.id).name + ':</td><td style=\'width:8px;\'></td><td align=\'right\'>' + formatNumber(nave.number) + '</td></tr>'; } } ships.forEach(Agrega_naves); let m = document.getElementById("metal").value; let c = document.getElementById("crystal").value; let d = document.getElementById("deuterium").value; let Tip = '<table align=\'center\' border=\'1\' cellspacing=\'10px\' cellpadding=\'10px\'>' Tip += '<tr><th colspan=\'3\' style=\'height:14px; align-content:center; text-align:left; font-size:11px; font-weight:bold; color:#6f9fc8; border-bottom: 1px solid #96a8c5;\'>' + Lang.detalles_de_flota + '</th></tr>'; Tip += '<tr><td colspan=\'3\' style=\'height:4px;\'></td></tr>'; Tip += '<tr><td colspan=\'3\' style=\'font-weight:bold; color:#78909c;\'>' + fleetDispatcher.loca.LOCA_FLEET_FLEETSLOTS + ':</td></tr>'; Tip += SubTip Tip += '<tr><td colspan=\'3\' style=\'height:4px;\'></td></tr>'; Tip += '<tr><td colspan=\'3\' style=\'font-weight:bold; color:#78909c;\'>' + Lang.carga + ':</td></tr>'; Tip += '<tr><td>' + fleetDispatcher.loca.LOCA_ALL_METAL + ':</td><td style=\'width:10px;\'></td><td align=\'right\'>' + m + '</td></tr>'; Tip += '<tr><td>' + fleetDispatcher.loca.LOCA_ALL_CRYSTAL + ':</td><td style=\'width:10px;\'></td><td align=\'right\'>' + c + '</td></tr>'; Tip += '<tr><td>' + fleetDispatcher.loca.LOCA_ALL_DEUTERIUM + ':</td><td style=\'width:10px;\'></td><td align=\'right\'>' + d + '</td></tr>'; Tip += '</table>'; Registro += "|" + m + "|" + c + "|" + d + "|" + Tip + "|" + Time + "|" + config.Coord + "|" + config.Type + "|" + config.Ships + "|" + config.Speed + "|" + config.Mission + "|" + config.Cargo + "|" + config.Page3; Registro = btoa(unescape(encodeURIComponent(Registro))); localStorage.setItem([Clave], Registro); } })();