• Nově připravená aktualizace hry na verzi 2.220 je naplánovaná na úterý 16. dubna. Upozorňujeme, že termín i obsah aktualizace se mohou změnit. Více informací najdete na herním fóru

TW2 ready (to die) - hide loading screen

  • Zakladatel vlákna Deleted User - 586785
  • Vytvořeno

Deleted User - 586785

Guest
download

bookmarklet
JavaScript:
javascript:void $.getScript("//greasyfork.org/scripts/396507-tw2-ready-to-die-hide-loading-screen/code/TW2%20ready%20(to%20die)%20-%20hide%20loading%20screen.user.js")


h7Zw8s4.gif


Ako spustiť skript?
Tento skript je napísaný pre Firefox s Violentmonkey, dajte vedieť, ak vám niečo nefunguje. ;)

JavaScript:
// ==UserScript==
// @name        TW2 ready (to die) - hide loading screen
// @namespace   Blood Killer
// @author      Jaroslav Jursa
// @homepage    https://forum.the-west.sk/index.php?threads/tw2pro.22238/
// @include     http*://*.the-west.*
// @exclude     http*://*forum.the-west.*
// @version     3
// @grant       none
// @run-at      document-start
// @description javascript:void $.getScript("//greasyfork.org/scripts/396507-tw2-ready-to-die-hide-loading-screen/code/TW2%20ready%20(to%20die)%20-%20hide%20loading%20screen.user.js")
// ==/UserScript==
/*


MIT License

Copyright (c) 2020 Jaroslav Jursa

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


*/
document.location.pathname === "/game.php" && (function() {
    var temp = document.createElement("style");
    if (temp.type = "text/css",
        temp.innerHTML = ".loader,#ui-loader,#ui-mapfade,#tw2pro_loading_element_frame,.tw2gui_dialog_framefix[style*=\"9999\"]{display:none!important;}.tw2gui_window_content_pane{opacity:1!important;}",
        document.head.appendChild(temp),
        temp = function() {
            MousePopup.prototype.setTimeout = function() {
                    document.getElementById("popup").style.display = "block",
                        this.notify("onShow");
                },
                Config.get("gui.main.animations") && Config.set("gui.main.animations", false),
                TheWestApi.register("TW2ready2die", "TW2 ready (to die)", "2.10.0", "99", "Jaroslav Jursa (Blood Killer)", "https://greasyfork.org/sk/users/383161-jaroslav-jursa").setGui("<img style=\"border:1px solid;\" src=\"https://i.imgur.com/jPZPhXn.gif\" /><br><br>MIT License, Copyright (c) 2020 Jaroslav Jursa (Blood Killer)");
        },
        document.readyState === "complete") temp();
    else window.addEventListener("DOMContentLoaded", temp, false);
})();
 
Naposledy upraveno moderátorem:

Deleted User - 586785

Guest
Trochu som to upravil, dalo sa to celé napísať s 1 premennou, detail, no, pozeral som pri tom film...
Tu už skripty nikoho nezaujímajú. :D
Teraz to automaticky vypne aj animácie v nastaveniach.
Táto hra sa nedá od 2.0 brať vážne, už sa na tom asi nič nezmení.
Minule som sa pýtal človeka, ktorý nehraje TW asi od 2015, že či nezačne znova... Že určite ne. :D
Hneď mi povedal - nové sety, nevyvážené bonusy, každú chvíľu nový svet.
Je neskoro.
 

Deleted User - 586785

Guest
Druhá úprava, teraz by to malo skryť aj populárnu hlášku "Osud s tebou nejednal v rukavičkách...". :D
Nie som si ale istý, či len vizuálne, ešte sa na to pozriem, ale každopádne, môžete klikať na obrazovke,
ako by tam tá chyba nebola, možno aj odpísať do chatu...
 
Nahoru