|
1 | | -var perfectlyValidReasonsForLosing = [ |
2 | | - "my mouse stopped working", |
3 | | - "a bird flew into my room and distracted me", |
4 | | - "my kybord nt wrking", |
5 | | - "laaaaaaaaaaaaaaag", |
6 | | - "I was playing with my feet", |
7 | | - "my dad had me take out the trash", |
8 | | - "i was trying a new strat", |
9 | | - "I was using pole lock that's why I lost", |
10 | | - "i forgot to turn my screen on", |
11 | | - "i'd have won if i tried", |
12 | | - "The CSGs were too big and distracting", |
13 | | - "Someone started launching fireworks outside my window", |
14 | | - "PA Academy told me this was a good strat", |
15 | | - "My icons didn't load in", |
16 | | - "Sun too bright", |
17 | | - "Why was my commander there?", |
18 | | - "You rushed me", |
19 | | - "I won that game", |
20 | | - "I wasn't ready", |
21 | | - "thanks, I have to go", |
22 | | - "Ai taught me to play wrong", |
23 | | - "no metal icons", |
24 | | - "UI froze", |
25 | | - "mouse started jumping", |
26 | | - "mouse ran out of batteries", |
27 | | - "micro freezes", |
28 | | - "that one fight won you the game", |
29 | | - "lucky airfabs", |
30 | | - "keyboard broke", |
31 | | - "bad spawn", |
32 | | - "i'd have won if i hadn't lost", |
33 | | - "I don't use OP units", |
34 | | - "I'm still warming up", |
35 | | - "You're lucky I'm rusty", |
36 | | - "bad map", |
37 | | - "wrong keyboard on", |
38 | | - "i haven't played for weeks", |
39 | | - "i underestimated you, no offense", |
40 | | - "this new meta is so low skill anyone can win", |
41 | | - "hotbuild not working, cant play", |
42 | | - "i am not playing serious", |
43 | | - "audio was stuttering, annoying to play only by vision", |
44 | | - "jittering connection, rip my ISP - gg lol", |
45 | | - "My faulty self-made mod sabotaged literally every build-queue. forgot to disable", |
46 | | - "i was eating so had to play with one hand", |
47 | | - "i shouldn't play GW right before doing 1v1", |
48 | | - "there was a hair at my mouse sensor stucking", |
49 | | - "playing with touchpad", |
50 | | - "mobile internet", |
51 | | - "did you unpause?", |
52 | | - "a friend was playing on my computer, thought he was decent", |
53 | | - "i had a fire in my house... you cant make that up", |
54 | | - "I guess I need to try now", |
55 | | - "I beat myself", |
56 | | - "can't be bothered", |
57 | | - "too much meme", |
58 | | - "was not looking", |
59 | | -]; |
| 1 | +var excusesForDaysLoaded; |
60 | 2 |
|
61 | | -var message = _.sample(perfectlyValidReasonsForLosing); |
| 3 | +if (!excusesForDaysLoaded) { |
| 4 | + excusesForDaysLoaded = true; |
62 | 5 |
|
63 | | -model.defeated.subscribe(function () { |
64 | | - model.send_message("chat_message", { message: message }); |
65 | | -}); |
| 6 | + try { |
| 7 | + var perfectlyValidReasonsForLosing = [ |
| 8 | + "my mouse stopped working", |
| 9 | + "a bird flew into my room and distracted me", |
| 10 | + "my kybord nt wrking", |
| 11 | + "laaaaaaaaaaaaaaag", |
| 12 | + "I was playing with my feet", |
| 13 | + "my dad had me take out the trash", |
| 14 | + "i was trying a new strat", |
| 15 | + "I was using pole lock that's why I lost", |
| 16 | + "i forgot to turn my screen on", |
| 17 | + "i'd have won if i tried", |
| 18 | + "The CSGs were too big and distracting", |
| 19 | + "Someone started launching fireworks outside my window", |
| 20 | + "PA Academy told me this was a good strat", |
| 21 | + "My icons didn't load in", |
| 22 | + "Sun too bright", |
| 23 | + "Why was my commander there?", |
| 24 | + "You rushed me", |
| 25 | + "I won that game", |
| 26 | + "I wasn't ready", |
| 27 | + "thanks, I have to go", |
| 28 | + "Ai taught me to play wrong", |
| 29 | + "no metal icons", |
| 30 | + "UI froze", |
| 31 | + "mouse started jumping", |
| 32 | + "mouse ran out of batteries", |
| 33 | + "micro freezes", |
| 34 | + "that one fight won you the game", |
| 35 | + "lucky airfabs", |
| 36 | + "keyboard broke", |
| 37 | + "bad spawn", |
| 38 | + "i'd have won if i hadn't lost", |
| 39 | + "I don't use OP units", |
| 40 | + "I'm still warming up", |
| 41 | + "You're lucky I'm rusty", |
| 42 | + "bad map", |
| 43 | + "wrong keyboard on", |
| 44 | + "i haven't played for weeks", |
| 45 | + "i underestimated you, no offense", |
| 46 | + "this new meta is so low skill anyone can win", |
| 47 | + "hotbuild not working, cant play", |
| 48 | + "i am not playing serious", |
| 49 | + "audio was stuttering, annoying to play only by vision", |
| 50 | + "jittering connection, rip my ISP - gg lol", |
| 51 | + "My faulty self-made mod sabotaged literally every build-queue. forgot to disable", |
| 52 | + "i was eating so had to play with one hand", |
| 53 | + "i shouldn't play GW right before doing 1v1", |
| 54 | + "there was a hair at my mouse sensor stucking", |
| 55 | + "playing with touchpad", |
| 56 | + "mobile internet", |
| 57 | + "did you unpause?", |
| 58 | + "a friend was playing on my computer, thought he was decent", |
| 59 | + "i had a fire in my house... you cant make that up", |
| 60 | + "I guess I need to try now", |
| 61 | + "I beat myself", |
| 62 | + "can't be bothered", |
| 63 | + "too much meme", |
| 64 | + "was not looking", |
| 65 | + "you are so luck", |
| 66 | + "my baby was crying", |
| 67 | + "you only won because you expanded", |
| 68 | + "i was just practicing my micro, next time i'll try", |
| 69 | + "unit pathfinding so bad", |
| 70 | + "fell asleep for a few seconds, i should probably go to bed", |
| 71 | + "my little brother unplugged my graphics card", |
| 72 | + "the light in my room exploded", |
| 73 | + "can't play with cold hands", |
| 74 | + "was too busy admiring the art style, next game i'll try", |
| 75 | + "my cat knocked over my monitor", |
| 76 | + "i was going easy", |
| 77 | + "first time playing with new mouse", |
| 78 | + "my production is glitched and won't switch to infinite build", |
| 79 | + "accidentally unpowered all my production", |
| 80 | + "i had to alt tab so it looked like i was studying", |
| 81 | + "you had better upgrades", |
| 82 | + "a giant spider crawled onto my monitor and blocked my eco display", |
| 83 | + "i guess playing keyboard only was a bit too demanding", |
| 84 | + "my right mouse button is stuck", |
| 85 | + ]; |
| 86 | + |
| 87 | + var message = _.sample(perfectlyValidReasonsForLosing); |
| 88 | + |
| 89 | + model.defeated.subscribe(function () { |
| 90 | + model.send_message("chat_message", { message: message }); |
| 91 | + }); |
| 92 | + } catch (e) { |
| 93 | + console.error(e); |
| 94 | + console.error(JSON.stringify(e)); |
| 95 | + } |
| 96 | +} |
0 commit comments