Speedrun timer
1 year ago
Antarctica

Want to time your speedruns, but don’t want to use livesplit? This is the solution! This is a gimkit mod that will time your speedruns for you! Here are the use and install instructions:

To use: before each speedrun press “p” to prime the timer. Then press start. Your time starts when you cross the green starting line at summit 1. You can also press “o” to quick reset to the lobby if you mess up.

To install: Paste the following code into the inspect element console:

function displayNotification(e,t,n,i,r){notif={placement:e,title:t,description:n,type:i,duration:r},colyseus.room.onMessageHandlers.events.NOTIFICATION[0](notif)}runStage="prerun",time=0,startTime=null,phaser=window.stores.phaser,colyseus=window.stores.network,line=window.stores.phaser.scene.add.rectangle(9078.084564208984,63838,10,3e3,1044480),line.setDepth(100),window.addEventListener("keydown",function(e){"p"==e.key&&(time=0,runStage="prerun",startTime=null,displayNotification("topRight","Speedrun timer ready","","success",3)),"o"==e.key&&(colyseus.room.send("END_GAME"),colyseus.room.send("RESTORE_MAP_EARLIER"),setTimeout(function(){time=0,runStage="prerun",startTime=null,displayNotification("topRight","Speedrun timer ready","","success",3)},4e3))}),setInterval(function(){try{timer=document.getElementById("root").children[0].children[0].children[0].children[1].children[0].children[0].children[0].children[5].children[0].children[1].children[0].children[0].children[0].children[0].children[0]}catch(e){}},1e3),setInterval(function(){if(playerpos=phaser.mainCharacter.body,"prerun"==runStage){9078.084564208984<=playerpos.x&&(runStage="run");try{timer.innerHTML="00:00.00"}catch(e){}console.log("preRun")}else"run"==runStage?(null==startTime&&(startTime=(new Date).getTime()),40405.67321777344<=playerpos.x&&playerpos.y<=13854.998779296875&&(runStage="postrun"),time=new Date((new Date).getTime()-startTime).toISOString().slice(14,22),timer.innerHTML=time,console.log("run")):"postrun"==runStage&&(console.log(time),setTimeout(function(){document.querySelectorAll("[type=Statistic]")[0].children[0].innerHTML="Climb Time",document.querySelectorAll("[type=Statistic]")[0].children[1].children[0].children[0].children[0].children[0].innerHTML=time},5e3),console.log("postRun"))},10),displayNotification("topRight","Speedrun Timer Loaded!","","success",3);
grnts8, retrozy, e py660 ti piace questo

THIS IS PATCHED*****

Modificato da l'autore 1 year ago
Cancellato da l'autore
Antarctica
Cancellato da retrozy
Antarctica
Cancellato da retrozy
Cancellato da l'autore
Cancellato da l'autore
Antarctica
Cancellato da retrozy
Cancellato da l'autore
Statistiche del gioco
Follower
122
Runs
621
Giocatori
149
Ultime notizie
Several Important Updates/Changes

Over the past few weeks, the moderation team has been hard at work with perfecting the boards of DLD. Here is a list of the important changes we have made to the boards.

  • Allowing modifications: Several modifications have been officially allowed to use in runs. They all use th
1 year ago
Discussioni recenti
Pubblicato 9 months ago
0 risposte
Pubblicato 21 days ago
27 risposte
Pubblicato 4 months ago
25 risposte
Pubblicato 6 months ago
14 risposte
Pubblicato 7 months ago
6 risposte