I upgraded this Tesla so much it BROKE REALITY!

Поделиться
HTML-код
  • Опубликовано: 1 окт 2024
  • Just when we thought games couldn't get anymore addictive, Rogue Tower comes along and combines the addictive and fun nature of a roguelite with a tower defense style gameplay. The result is a hugely replayable game that's just missing a fast forward button! This is part 6 where I try to beat the game with a single tesla. Can you beat Rogue Tower with just one tower? Even with mods it's trickier than you think!
    LINKS!
    PATREON: / realcivilengineer
    MERCH: www.realcivile...
    MEMBERSHIP: / @realcivilengineergaming
    REDDIT: / realcivilengineer
    TWITCH: / realcivilengineer
    PADDY (MY DOG): / @paddytheapprentice
    STREAM ARCHIVE: / @realcivilengineerarchive
    PLAYLISTS!
    MINI MOTORWAYS: • Mini Motorways
    INFRA: • INFRA!
    DORFROMANTIK: • Dorfromantik
    CITIES SKYLINES - ENGITOPIA: • Cities Skylines - Engi...
    KERBAL SPACE PROGRAM: • KSP
    POLY BRIDGE 2: • Poly Bridge 2
    HYDRONEER: • Hydroneer
    VARIETY PLAYLIST: • VARIETY PLAYLIST
    Epic Game Store Support-A-Creator Code: RCE
    (In connection with Epic Games’ Support-A-Creator Program, I may receive a commission from certain in-game purchases)
    About Rogue Tower:
    Rogue Tower is a tower defense game with roguelike elements and a continuously expanding path which you can influence. Unlock new towers and buildings, build up your defenses, upgrade your towers through card draws and cash, expand the path tactically to control how enemies move and defend your tower.
    store.steampow...
    #realcivilengineer #RogueTower #ThisGameIsTooAddictive

Комментарии • 553

  • @kyle_the_man_2105
    @kyle_the_man_2105 2 года назад +959

    Matt, I’ve watched since the beginning when you were only doing Polybridge videos showing off your engineering talent. I love what you and your channel have grown into over the past almost 2 years. Keep the videos coming man Congratulations on 1 Million subs!!!!

    • @javieraznarromero609
      @javieraznarromero609 2 года назад +14

      Matt should bring back polybridge and maybe play pc building simulator

    • @pauljohnbernardo56
      @pauljohnbernardo56 2 года назад +3

      Real fan ♥️

    • @TheMrana5
      @TheMrana5 2 года назад +2

      Thank you for saying what we wanted but couldn't explain

    • @janong262
      @janong262 2 года назад +3

      Has it really been almost 2 years? Feels like last month that he made the polybridge song

    • @wilhelmlarsson5779
      @wilhelmlarsson5779 2 года назад +1

      Me too,good one🙌

  • @MrMandar1ni
    @MrMandar1ni 2 года назад +443

    in earlier versions of the game tesla was OP but later it was nerfed, you no longer can beat the game with only one tesla

    • @Kangaroo-Bob
      @Kangaroo-Bob 2 года назад +11

      Glad TRE saw this comment. It used to be possible but no more :'(

    • @Taolan8472
      @Taolan8472 2 года назад +2

      ... was the damage uncapped or something?

    • @billybucks9963
      @billybucks9963 2 года назад +4

      You should use life steal next time you get a lot more mana and you get it as you use it instead of having to build something

    • @WarrenGarabrandt
      @WarrenGarabrandt 2 года назад +14

      I like to use three Tesla towers. the back one focuses on health damage only, the middle does armor only, and the front one does shield only. The ice towers are very useful to keep them in the damage as much as possible, and put everything into upgrading those teslas and you can very nearly beat the game with those.
      I had to build a few more towers to deal with the occasional one that slipped though.

    • @antongrigoryev6381
      @antongrigoryev6381 2 года назад +6

      @@Taolan8472 IIRC it had higher fire rate and lower upgrade costs.

  • @thePrplMonkey
    @thePrplMonkey 2 года назад +629

    RCE: "A negative number???"
    Me, a software engineer: It's finally my time to shine...

    • @flaschiboi7189
      @flaschiboi7189 2 года назад +46

      yea that's an integer / long getting out of range xD

    • @generictimestamperstupendi9021
      @generictimestamperstupendi9021 2 года назад +23

      weve been Ghandid

    • @SteamedArrow
      @SteamedArrow 2 года назад +15

      As a student Software Engineer, why don't these game programmers use Unsigned Long Integers? would that make the number be able to be twice as large and not flip to negative.
      Edit: also, I understand that it still has a limit. I am just pointing out a way to have it not turn negative.

    • @flaschiboi7189
      @flaschiboi7189 2 года назад +14

      @@SteamedArrow because they are allocating way too much ram. I mean, RCE was like Tesla Level 12000? and as a game dev you don't expect such stuff when playing the game normally. So a long is easily fulfilling all needs. Think of the RAM!

    • @SteamedArrow
      @SteamedArrow 2 года назад +17

      @@flaschiboi7189 an unsigned long uses the same amount of bits as a long. It just doesn’t read the front bit as a negative. Instead, it reads it as a part of the number.

  • @danj3215
    @danj3215 2 года назад +395

    Ooogie’s come from the longest route you haven’t expanded on the X5’s levels,
    So if you mainly do path A up until level 14, then expand any other route for the 15th level Ooogie will come from path A
    So with the Tesla, always try to use the furthest rotation as your primary route

    • @firefly2472
      @firefly2472 2 года назад +3

      And the man calls himself the Engineer. sure sure :P

    • @milkman4407
      @milkman4407 2 года назад +1

      @@firefly2472 He didn't know UwU

    • @Greggorto
      @Greggorto 2 года назад +13

      @@milkman4407 did you… really find the UwU necessary?

    • @milkman4407
      @milkman4407 2 года назад +10

      @@Greggorto Yes

    • @Fenthule
      @Fenthule 2 года назад +3

      Also, the secret to supremacy is Quality Over Quantity. If you get it multiple times, you eventually crit with every hit with like 4x damage.

  • @ghosttwo2
    @ghosttwo2 2 года назад +68

    "One tower challenge" usually means "One _type_ of tower" since there are achievements specific to doing it with several of them.

  • @GuiSmith
    @GuiSmith 2 года назад +310

    Integer overflows are such weird things. It’s incredible that they’re accounted for somehow.

    • @chaitanyakulkarni6416
      @chaitanyakulkarni6416 2 года назад +1

      Yes , ig it could be fixed by easily by dev

    • @jorceshaman
      @jorceshaman 2 года назад +24

      @@chaitanyakulkarni6416
      Motivation to limit your cheating. No normal player will run into the issue.

    • @maxpoppe
      @maxpoppe 2 года назад +10

      they weren't accounted for I think the game is just doing some whacky maths

    • @alexbadman750
      @alexbadman750 2 года назад +29

      Nah, integer overflows are where the number is too large to be stored correctly, and this causes the game to think it is a negative number due to the way that it stored negative numbers, the game isn’t really doing any whacky maths, it’s just an issue that will happen eventually when you don’t have infinite storage space (and when there isn’t an upgrade limit lol)

    • @Appelsnoes
      @Appelsnoes 2 года назад +13

      But some enemies with a red health bar still died when they were hit a second time. I guess the total damage received overflows to become a valid value then by accident

  • @ImAdonai
    @ImAdonai 2 года назад +151

    Main reason you've lost on the 2 run was overspending on armor before first boss. All you needed from armor was to strip it off and hit enemies spawned by "logs" once before they left the range, as they have way less armor than the "logs" and bleed/burn could easily finish them off. First boss is a heavy filter for the tesla run, since you need enough health and bleed damage to take him down. You do need to hit enemies from the "logs" at least once before they leave the range, but upgrading armor damage any higher than this requirement is a clear waste.

    • @Old_Ladies
      @Old_Ladies 2 года назад +1

      You can also get slow from ballistas and just put a couple near the Tesla.

    • @takumi2023
      @takumi2023 2 года назад +2

      @@Old_Ladies isn't there a slow from poison or burn effect?
      If he gets that card would that be enough to beat oogie?

  • @IsaacTeo411
    @IsaacTeo411 2 года назад +39

    "All testicles gain 25% bleed damage" - RCE 2022

    • @gaysarahk
      @gaysarahk 7 месяцев назад +1

      He's made so many comments about YT captions turning "Tesla coils" into "testicles"... I imagine this must be how that started.

    • @FilipRadosevic.0
      @FilipRadosevic.0 2 месяца назад

      2:23

  • @ABirdDad
    @ABirdDad 2 года назад +78

    yeah Matt, real software engineer here, when you store numbers in code you have to asign a size to them and if you go over the size it will wrap back around to the bottom which is why you get a negative number

    • @JohnDCrafton
      @JohnDCrafton 2 года назад +3

      sure but why would you use a signed int for something that should only ever be positive?

    • @patrickfoley9093
      @patrickfoley9093 2 года назад +16

      @@JohnDCrafton could be any number of reasons. they could be coding this in a weakly typed language and their vars default to ints (let cost = 10, etc), they could be a new-ish engineer and not have thought about it, or, like any normal person, they thought "this won't break in the confines of my designed system", which is correct until someone purposefully breaks the systems. in normal play its impossible to earn enough gold to have your damage be more than 2^32

    • @JohnDCrafton
      @JohnDCrafton 2 года назад +4

      @@patrickfoley9093 Now you've got me more curious. Many many years ago I played a game on SNES which had a very obvious overflow error in the end game (as if the end game wasn't tested). But the value wrapped around back to 0 rather than going negative. So I'm wondering, if a signed variable is the default, why was that one not signed? Or was the default different for SNES games ...

    • @emorell96
      @emorell96 2 года назад +7

      @@JohnDCrafton the game is coded using unity which uses c# and the default integer type is the int which is signed. Devs could choose to use a uint (unsigned int) but that might not be ideal if you need to have negatives somewhere in code. Because you could have to do casts and it is honestly not worth it if it's there just to give yourself more room for people to break the game. And even with unsigned integers the overflow will still happen just at 2*2^32 -1 vs 2^32-1. (Checkout how big those numbers are using Google).
      Also if you use uint and you need to cast to int latter on you might just introduce possible crashes or at least exceptions when you cast if your uint cannot safely be represented as an int. Because the uint will go from 0 to 2^32-1 vs an int which goes from -2^31+1 to 2^31-1
      Basically using int in C# is just easier for developers specially if it might be handy to model buffs and damage with the same objects just different sign.
      Source: I'm a c# dev

    • @JohnDCrafton
      @JohnDCrafton 2 года назад +6

      @@emorell96 Yes, overflow will still happen with an unsigned int, but it won't become negative, it just wraps around to 0. Anyway thanks for your answer. I'm not familiar with C# and it was informative.

  • @CheezyPotatoez1
    @CheezyPotatoez1 2 года назад +38

    Yes! Thank you for trying this out! 😁
    That first Tesla was in a good spot, but since there were 3 entrances to the grid square some enemies were not hit by the Tesla as long as others. It's fine for the first stages but later on it can get really difficult!
    The second game Tesla was in a much nicer spot, almost perfect actually! The grid square closest to your base would have been the best spot for it, but it's always nice to have a buffer! Keep upgrading and with good RNG you can beat it!
    Play strategically to outsmart those architects! ❤️

  • @myrandarose2883
    @myrandarose2883 2 года назад +19

    People saying that the Tesla is OP for single tower mega defense might be thinking about the pre-nerf Tesla. That tower WAS overpowered so it was nerfed some time ago.
    Also the damage is a stack overflow of a signed binary number... you over-cheated I'm afraid

    • @popington4674
      @popington4674 2 года назад +1

      Exactly. The Tesla kinda sucks now. I’ve been working through the “only X towers” achievements and the Tesla one is frustrating. I had the near perfect set of upgrades and still lost because teslas are just bad 😂 I’ll just have to do a ballista run and build a couple teslas I guess lol

    • @HonorabilisMagister
      @HonorabilisMagister 2 года назад

      @@popington4674 the biggest problem is (i think) that they lowered the firing rate of teslas so they can't keep up with the monsters that spawn other stuff, saws are awesome too.

    • @popington4674
      @popington4674 2 года назад

      @@HonorabilisMagister yup, Spawners are by far the hardest part of the game, followed by bosses. Teslas are garbage at dealing with both. They have very nice AoE for spreading statuses and killing infinite amounts of weak enemies though. After watching the video, it looks like teslas do better with having fewer but more upgraded ones. I haven’t tried that yet

  • @abuzartariq6400
    @abuzartariq6400 2 года назад +7

    i honestly thought matt said "all testicles do bleed damage" at 2:20

    • @groundsymphony
      @groundsymphony 2 года назад +2

      He did say that, even the captions agree

  • @Peter55Craig
    @Peter55Craig 2 года назад +21

    The reason you were not loosing tower health was because of the mod you installed to give you unlimited money. With money it gives unlimited health and manna too.

    • @TheDonutMan3000
      @TheDonutMan3000 2 года назад +1

      Yeah, you can sometimes see bats slip through without getting hit and they don’t subtract tower health either

  • @716979827169
    @716979827169 2 года назад +40

    It's called an integer overflow, and that's how tech stuff does not blow up today (literally that's how the first rocket blew up)

    • @strongwiled1529
      @strongwiled1529 2 года назад +1

      Boom

    • @garethbaus5471
      @garethbaus5471 2 года назад +1

      Rockets predate digital computers by a couple centuries, but I wouldn't be surprised if that error actually has destroyed a rocket or 2.

  • @groundsymphony
    @groundsymphony 2 года назад +24

    As a computer science student, I am proud to say that I understand why it goes to minus 999 million

  • @sixtenwidlund4258
    @sixtenwidlund4258 2 года назад +21

    Notification squad

  • @KryptCeeper969
    @KryptCeeper969 2 года назад +7

    You are in control of where the map goes. if you would have kept expanding on the far side of your tesla range, then most of the enemies would have gone that way, including the oogie.

  • @AndereRickert
    @AndereRickert 2 года назад +7

    "How is one tower ripping through everyone" We tried to tell you Matt... We tried every episode...

  • @TheTeaLordRBLX
    @TheTeaLordRBLX 2 года назад +4

    Congrats on 1 Million subscribers! Well deserved :D
    I remember the early days of Poly Bridge XD

  • @ruix
    @ruix 2 года назад +2

    Youe health damage became so high that it passed the 64 bit maximum positive number limit. When that happens your computer start from the beginning which is -9,223,372,036,854,775,808. But it seems like they have used 32 bit numbers which means that lowest it can go is -2,147,483,648

    • @groundsymphony
      @groundsymphony 2 года назад +1

      Haha someone figured it out, although its probably 32 signed bits, meaning 16 positive bits, around 2 billions

    • @ruix
      @ruix 2 года назад

      @@groundsymphony yeah that would make more sense. I think integers in unity holds 32 bit values.

  • @Chows-3
    @Chows-3 2 года назад +4

    Oi

    • @darthgonk4398
      @darthgonk4398 2 года назад +2

      Oi

    • @Chows-3
      @Chows-3 2 года назад +2

      Oh dang first time I'm actually first

    • @darthgonk4398
      @darthgonk4398 2 года назад

      Normally people who say they are first aren’t actually first but I do actually think you were first

  • @loganmccarthy1150
    @loganmccarthy1150 2 года назад +13

    What will make or break a run with one tesla tower is the creeping cough upgrade which will slow enemies when they are poisoned. If you don't have that you aren't able to slow Oogie down enough to do enough damage to kill him.

  • @benstanfill363
    @benstanfill363 2 года назад +17

    I'd love to see a series of this. Texting each tower out pretty much alone and then at the end just maxing stuff out and see if it still performs.

  • @lucktee9306
    @lucktee9306 2 года назад +2

    Damn

  • @baseballjustin5
    @baseballjustin5 2 года назад +2

    Matt... You made a stack overflow error....
    The max 32-bit integer is 2,147,483,647...
    So what happens if you try to store more then that?
    The number turns to -2,147,483,647...
    Or the Civilization... a stack underflow error.
    They made Ghandi's "want to attack" stat go so low... to -2,147,483,647 that it "underflowed" to +2,147,483,647, so he went hyper-aggresive...

    • @kyokazuto
      @kyokazuto 2 года назад

      Not a stack overflow though, stack overflows usually happen when the program can never be terminated

    • @baseballjustin5
      @baseballjustin5 2 года назад

      @@kyokazuto well its at least similar

  • @sunkid2465
    @sunkid2465 2 года назад +2

    It’s been exactly 24 hours from your last upload and there isn’t a new one, I’m going insane

  • @adipawaskar808
    @adipawaskar808 2 года назад +3

    where is timberborners ep?,infra space?

  • @UfoLBeerSeeker
    @UfoLBeerSeeker 2 года назад +3

    The reason why it went to negative numbers is probably damage value exceeded capacity of the variable storing the data in memory. As any variable can hold only so many bits of data, once you fill them all up any excess will cause it to either crash the game, or flip the variable and start counting again from negative extreme.
    It happened in other games too, one of the more famous examples was Civilisations Ghandi going nuclear once his peacefullness exceeded the scale and landed on extreme opposite.

  • @xd_jamie3898
    @xd_jamie3898 2 года назад +3

    Hey Matt, you should definitely be able to beat it with only one tesla. you lost the first 2 rounds both because of oogie. in the 1st round it was not ideal placing but in round 2 it was perfect. the problem you made was not focusing on extra health damage which is all oogie has and instead, upgrading armor damage. is you had more health and bleed damage upgrades it should be easily possible. you just have to plan for the next oogie boss.

  • @CamoSquid
    @CamoSquid 2 года назад +1

    This reminds me if bloonz tower defense my friends an literally every one in my grade would play back in elementary school

  • @DAMDARAMDAMDAAAAAMM
    @DAMDARAMDAMDAAAAAMM 2 года назад +1

    Imagine u punch someone that hard, that he gets more healthy 😅

  • @captaindelta43
    @captaindelta43 2 года назад +1

    Nicholas Tesla and Elon Musk will be proud of the power of your engineering brain 🧠 Matt🤣

  • @Saxophonin
    @Saxophonin 2 года назад +2

    Just so you know Matt, the health, shield and armour upgrades you get from cards are multipliers and that is the reason oogie go past so the +1 actually does matter even when you cheat- sorry engineer and get insane teslas it still does matter.

  • @Terrabyte_gaming_19
    @Terrabyte_gaming_19 2 года назад +1

    I would like to see you have another go at Minecraft but keep up the good work

  • @GreatSeal7
    @GreatSeal7 2 года назад +1

    Matt, I have been watching your videos and if you like tower defence you should play bloons tower defence 6

  • @flying-axolotls4683
    @flying-axolotls4683 2 года назад +1

    How did you download the game? Because I can’t find it anywhere

  • @theslayyy1956
    @theslayyy1956 2 года назад +3

    Want moreeee 💀!!!

  • @HippieInHeart
    @HippieInHeart 2 года назад +1

    What happened there is pretty easy to explain.
    Just in case anyone might be interested:
    Lets count in 0 and 1s. The smallest possible number is 0. 0 + 1 = 1. What happens when I calculate 1 + 1? It can't be 2, because we are only counting with 0 and 1. What happens is the same thing that also happens when you use the numbers 0 to 9 for counting and calculations. If you have a 9 and you add 1, there can't be a higher single digit number, because 9 is the biggest that we can use. So, the 9 changes back to the lowest number, 0, and we add a 1 in front of it. The same thing happens when calculating with 0 and 1. If you have 1 and you add 1, you cant get a higher single-digit number, because 1 is the highest you are allowed to use. So, you change the 1 back to the lowest number, 0, and add a 1 in front. This means that, when calculating with 0s and 1s, 1 + 1 = 10, 10 + 1 = 11, and 11 + 1 = 100, and so on. Now, what happens if the size of numbers is restricted? For example, lets say your numbers are only allowed to be two digits, so the absolute highest number you can have is 11. If you then add 1, the result would be 100, but since you are only allowed to have two digits, the first (leftmost) digit simply gets cut off and the result ends up back at the smallest possible number, 00.
    How can this result in a negative value? When we use numbers the normal way from 0 to 9, restrict ourselves to only use the two rightmost digits, and calculate 99 + 1, the result ends up as 00, not as any negative number. The reason for this is that we haven't talked about negative and positive numbers and the way they are used. Within a computer, literally everything is either 0 or 1. This means that there also needs to be either a 0 or a 1 to show whether a value is positive or negative. So it is included in the number that we are using for our calculations. If I now use those rules for my example, let's say 011 is a representation of a negative number while 111 is a representation of a positive number, indicated by the leftmost digit which is either 0 for negative numbers or 1 for positive numbers. Lets say we have 011 and add 1. That would result in 100. Notice how the first, the leftmost digit has switched from 0 to 1. This means that we now have a positive number instead of a negative one.
    When counting up from negative values, this is fine, it is similar to what we have with our normal numbers as well. If I have -1 and I add 1, I will come out with 0, which is no longer a negative value. So, as a basic rule, you can say that when you take the smallest possible negative number, and add 1, you end up with the smallest possible positive number. However, the question is what happens if you take the biggest possible value and add 1? Remember how I talked about digit restrictions. We are still restricted to 3 digits within our example. This means that the largest possible value we can have is 111, but instead of representing 7, it is representing 3. The reason for this is that the leftmost digit is not actually part of our number, it is instead used to show us whether our number is positive or negative. Now lets take this largest positive value, 111, and add 1. The result would be 1000, with the leftmost digit getting cut off due to the result having more than the three digits that we're allowed to use. That leaves us with 000 which, in this case, is not actually 0 but instead it is the biggest possible negative number that I can display.
    This is not everything. There are different data types, some can display positive and negative values, some can only display positive values. What has been done here is very common, the people who made this game probably didn't care too much about the size and efficiency of different types and just used a type that can also display negative values (probably int, most programmers always just use int for every number value), despite the fact that damage is never supposed to be negative. This resulted in the damage not stopping at 0 but, by going all the way down to the smallest possible number, it actually went to the biggest negative number. That could then also explain why you took no damage when your tower was reached by enemies that had recieved negative damage. Obviously whatever calculations they did with health and damage and everything was never intended to recieve any type of negative value, so when it did recieve a negative value caused by your damage overflow, it messed up everything else too. It's a good lesson how one small thing can cause many different issues and a lot of strange behaviour within a program. Had they done it properly and just used a data type that can't become negative for the damage, your health damage simply would have gone back down to 0 and the rest of the game likely would have continued as normal.
    That's why I personally find it useful and good to worry about data types and make sure that nothing is bigger than it needs to be (by which I mean in regards to storage space, a number that is never supposed to go above 99 definitely doesn't need to take all the space that a full int requires), and especially make sure that no value can become negative if it doesn't need to. I wish more people were like that, but it seems to be a rare sentiment among programmers. The reason for this is probably that computers have gotten too fast, there are no longer any real negative consequences for inefficient programming - except in the few cases when there actually are negative consequences. Those consequences could be just something small and insignificant like in this video where you simply do stuff in a game that you aren't supposed to be able to do and the game reacting in a slightly more weird way than it should. Those consequences also could be some small bug or unexpected user behaviour cascading and down the line causing a massive and very strange issue that takes a long time to figure out what causes it. Or the consequeces could be that somehow someone is able to utilize something like this for malicious behaviour with some machine that is connected to the internet and then makes values become negative that are never supposed to be negative, which could make the machine very unsafe for work. Imagine an airplane where someone is somehow able to highjack the connections from flight sensors and manages to use them to feed negative numbers into the flight computer. If the flight computer is not programmed in a way that prevents negative numbers completely, it could result in a very bad crash. This last scenario, of course, would be the absolute worst case, and require all sorts of different very strong security measures to fail before it can even get to that point, but it is not entirely impossible.

  • @sep_sh
    @sep_sh 2 года назад +1

    15:40 be like:
    Hello fellow (software) engineers, welcome back to INTEGER OVERFLOW

  • @justfun287
    @justfun287 2 года назад +2

    MORE POWER TO THE PEOPLE!!!!

  • @bte6552
    @bte6552 2 года назад +1

    Are you a full time youtuber now?? Or are you still working a full time job? I mean surely you make money on youtube.

  • @nebula_wolf3132
    @nebula_wolf3132 2 года назад +3

    When you exceed the integer limit but still win xD

  • @simosiatridis7334
    @simosiatridis7334 2 года назад +4

    Matt I am doing a project on bridges for school and I am writing an article on the historical evolution of bridges. So since you're an expert do you have any info that could help me???

  • @segue2ant395
    @segue2ant395 2 года назад +1

    The health thing is likely a result of integer overlofw, which (assuming this is a Unity game written in C#) happens around the 2,147,483,647. Add 1 to this and it becomes -2,147,483,647.
    This means that theoretically if you keep upgrading it you'd eventually get it back into causing a positive value of damage. You may even have looped through the overflow several times already before it became apparent.

  • @You_Are_Forgeven
    @You_Are_Forgeven 2 года назад +2

    I love your videos

  • @Denuto
    @Denuto 2 года назад +1

    Am i about to be triggered again?!
    *waits for Matt to keep selling things*
    Edit: now that was a redemption! Very funny!

  • @darrensong99
    @darrensong99 2 года назад +1

    The mod that you use actually makes your tower unkillable as well, so that's why all the red health bar mobs aren't damaging your tower lol. If you look, you can actually see one green health bar mob make it through and hit your tower, but nothing happens. Just fyi! :)

  • @jamesmarker3956
    @jamesmarker3956 2 года назад +1

    This reminds me of the original Civilization, where people claimed that because of integer overflow Ghandi could turn from peaceful to nuclear.

  • @hodgmandinio1
    @hodgmandinio1 2 года назад +1

    New meta of titles
    Example : I upgraded this Tesla so much it let me clickbait but thats okey cuz everyone does it on youtube now

  • @davidsommer325
    @davidsommer325 2 года назад +1

    16:15 the number got so big, that it surpassed the integer limit (=2,147,483,647). If an Integer surpasses that number, it gets negative. If u than keep Upgradeing you will reach 0 and than positive numbers at one point.

  • @epicgamer9235
    @epicgamer9235 2 года назад +1

    So early!! Hi Matt love your vids

  • @michaelminasian4891
    @michaelminasian4891 2 года назад +1

    Keep the Rogue Tower videos coming! Somehow I end up being interested in like 90+% of the games you do videos about though. I thought nothing could replace beavers in my heart and then you started playing this. I guess what I'm saying is that you have the perfect balance of consistency per game while also sprinkling in new games!

  • @Friendly_Neighborhood_Dozer
    @Friendly_Neighborhood_Dozer 2 года назад +1

    Is there a rapid fire turret? Using a lot of them in combination with infinite coins and the auto-clicker might be satisfying to see

  • @peta_sramek
    @peta_sramek 2 года назад

    Health mp must did hit max. cap of that variable and program probably did overflow. Long story short. Value flipped around. 😅 Just guess.

  • @SDRIFTERAbdlmounaim
    @SDRIFTERAbdlmounaim 2 года назад

    People LS swapping their Teslas watching this video be like 😂
    been there, *done that* 👀

  • @roastedwatermelon31
    @roastedwatermelon31 2 года назад

    you should put mana banks on houses for money instead of the ballista for this challenge, so that you can still get money while having more mana

  • @AwsumAuzie
    @AwsumAuzie 2 года назад +1

    That ending was unexpected and hilarious. Well done breaking it haha

  • @leonpalmer5433
    @leonpalmer5433 2 года назад +2

    1 mil

  • @micbicteeth2355
    @micbicteeth2355 2 года назад +1

    Day 12. Play scrap mechanic. Please.

  • @You_Are_Forgeven
    @You_Are_Forgeven 2 года назад +2

    Hiiiiiiii

  • @Stripeyy
    @Stripeyy 2 года назад

    sooooooooo looks like you overflow the number limit if you clicked some more you could go back to 0 and up again

  • @randomrandom9570
    @randomrandom9570 2 года назад

    Yea, so what happened with the negative number for health damage is number overflow.
    In programming those numbers are basically represented by a box with a label. Boxes have a certain size.
    For example, a Box with the label Integer can only hold up to 4,294,967,295 (4.3 billion) different whole numbers. In the case of game, it would be a signed Integer, which means it can hold both negative and positive numbers, in the range of -2,147,483,648 (-2.1 billion) to 2,147,483,647 (2.1 billion). Unsigned integers can only hold positive numbers.
    When you have an integer that goes the maximum number that it can hold, you will encounter integer overflow. Which basically means you loop back to the lowest number that the Integer can represent (0 if unsigned, -2.1 billion if signed).
    This is a really difficult problem for computers to solve. Which is why it is still a problem.
    For anyone wondering why I am completely ignoring decimal numbers. That's because Integers only hold whole numbers. In order to represent a decimal number, you would use a Float or a Double.

  • @LordDEADTO0L
    @LordDEADTO0L 2 года назад

    Yo, if you wanted to reset your upgrade path so you don't have to deal with all the other upgraees you can get all the xp you want after reseting by editing the xp value through REGEDIT and follow the path HKEY_CURRENT_USER\SOFTWARE\DIE OF DEATH GAMES\Rogue Tower ...the xp will be at the very bottom...make sure you throw it into decimal to make life easy...make sure you restart the game after editing it

  • @GamerWaxxy
    @GamerWaxxy 2 года назад

    either im an idiot because im not in on a joke or RCE doesnt realize that the "stack of logs" is a house

  • @Popug.
    @Popug. 2 года назад +1

    Can you try factorio or stormworks?

  • @bubmagnuson3833
    @bubmagnuson3833 2 года назад

    THE
    STRONGEST
    SHAPE
    Great, now that I have your attention, I have a pettition regarding the Minecraft series... please continue it, even if the latest video hastn't made it to the like count you asked for, but I must say, even I, with the post alerts and a evergrowing adiction to your videos didn't realized you had posted that video until 2 days later, so... it's RUclips's fault it wasn't as succesful as the others.
    Please make another video of Minecraft.... maybe a 1 Million subscriber special.

  • @fubuma534
    @fubuma534 2 года назад

    I’m gonna be honest. I’ve been seeing RCE’s videos in my recommendation for what feels like years. For the longest time, I’d see “Noob / Engineer” thumbnails, and I purposefully avoided them because I thought he was full of it. And the only reason why I started watching was because I had fallen asleep while RUclips kept auto playing and something must have brainwashed me in my sleep, because I was eager to watch more when I woke up…

  • @seanvinsick5271
    @seanvinsick5271 2 года назад

    You had an integer overflow. Clearly the games uses 32bit signed ints for the value. The max value will be 2,147,483,647 (2^31 - 1). Once you add 1 to that, it will become -1, because of how computers are designed to interpret negative numbers.
    -Real Software Engineer

  • @FernandoFalci
    @FernandoFalci 2 года назад

    A little help from a real software engineer: you found out what it is an "integer overflow"

  • @dieofdeathgames7719
    @dieofdeathgames7719 2 года назад +1

    This is beautiful

  • @Andyjoe522
    @Andyjoe522 2 года назад

    Teslas used to be disgustingly broken. You could control an entire land with just a single upgraded Tesla when the game first launched. It got nerfed a while back. Still pretty good, but no longer the monster it once was. Now of days I think the poison sprayer is considered the strongest due to how strong poison is once you have cards like creeping cough for slow and expunge for extra crit damage.

  • @BinaryArmorOnline
    @BinaryArmorOnline 2 года назад

    Software Engineer here!
    The number flipped negative because the computer only allocates a certain number of bits to the storing of a number, and how many bits it allocates is determined by what the programmers consider a reasonable size. Almost definitely what happened was that the devs used a signed integer (where the first bit indicates positive or negative), and when your tesla reached a higher health damage level than the devs budgeted integer storage space for, the game tried to use that first bit to store more number but actually flipped the sign bit instead, turning the whole thing negative.
    Using a signed integer instead of an unsigned integer for a damage variable is kind of an architect move, to be honest.
    That said, I have no clue what happened that the red health enemies failed to do anything to your tower. Very possibly more shenanigans with signed and unsigned health values, I suppose.

  • @MattJDylan
    @MattJDylan 2 года назад

    Oh, it should the same bug youtube used to have once you reach a certain number of visuals (if I recall, it's 2 to the power of 32 because it's based on 32bit systems). Once you go over that, the counter restarts from the lower number available. Gangnam style was at 0 visual for a while because of that lol

  • @leslie-em1th
    @leslie-em1th 2 года назад

    my comment from the previous rogue tower video wasnt implying to use 1 tesla tower MATT! I used 3 tesla towers at a corner spawn (similar to ur first run). 2 towers on +3 and 1 tower on +2 (or whatever the block gives u). 1 tower focus on health, 1 tower focus on shield and 1 on armour.

  • @prashantandsapna
    @prashantandsapna 2 года назад

    hey Matt.... ive been waiting for you to do the tesla challenge... I've seen other RUclipsrs do it with ease. i think you just gave up too easily. you need to get a strategy going, and you will make it.... WITHOUT MODS! :D

  • @Milo_Estobar
    @Milo_Estobar Год назад

    How building backup tower is cheating?... Its basically TD skill... In some extreme in TD game, you need to sell towers at the most front to cover the back... (because limited money, or just wanted to get the interest bonus)...

  • @kiryonnakira7566
    @kiryonnakira7566 2 года назад

    well the game must have been made with double variables instead of strings resulting in a number looping back to negatives when it increments. poorly disigned, but ho well i guess they thought there was no way someone would be able to get to such high numbers that it would matter. Take notes, if you are a programmer, do not use integers/doubles on a never ending counter unless you use python.

  • @ezy3117
    @ezy3117 2 года назад +1

    Ah you broke the integer limit

  • @donottrustweebs6799
    @donottrustweebs6799 2 года назад

    in programming, an integer has a cap and when it reaches it's max it goes all the way back around to the lowest possible int value which you just saw. now sinds the devs probably didn't think of putting in measures for negative values in calculating the damage, shit got broke

  • @1_GigaWaffle
    @1_GigaWaffle 2 года назад

    Tesla has been fixed like a month ago. No matter the damage, you couldn't win a game with 1 tesla anyway. Mods or no mods. They nerfed firing rate by 50%, so even on the best wrap around Portals and Beholders will get you.

  • @recoilgaming4123
    @recoilgaming4123 2 года назад

    Especially on maps that have single lanes without split offs. You should put the Tesla further away from the castle this will give time for all your extra damage to accumulate over time. You will have to use some other things to get you through until you can put them down further away. The other thing to use is the frost to slow them down when going through the Tesla area. I understand it was a one Tesla challenge.

  • @randomdude7386
    @randomdude7386 2 года назад

    well congrats on breaking not the game but computation, as when a really big number gets multiplyed with another one computers can get so large results that you confuse them to the point where they need more digits then was intended to work with these numbers, what causes it to write 11111111 or something what is an negative number as computers use the first digit to write down if its negative, but if your number gets to big it needs that slot too and thats when you break the game, so GG

  • @godnessy
    @godnessy 2 года назад

    Nah mate you were misled, Tesla is indeed the best tower in the game but by itself it cant handle the massive amounts and the respawns (when one creature dies it spawns many others and they are much faster), what you need to do is to get stuff to slow things before the tesla then you have one tesla upgraded for shield, one tesla after it upgraded for armor and then a tesla upgraded for health dmg, you can do it with 2 teslas as well but focusing upgrades on one catagory is much better

  • @larrylouie
    @larrylouie 2 года назад +1

    Did I hear "Testa coil"??

  • @owprime5451
    @owprime5451 2 года назад

    The negative number is caused by the game not being able to convert the number correctly and you being above the limits of Int32... So it becomes negative.... It's the Int64 to int32 conversation that it cannot handle and this breaks and goes negative....

  • @roastedwatermelon31
    @roastedwatermelon31 2 года назад

    14:12 rce:"is there a limit?"
    me: *getting flashbacks from Let's game it out*

  • @darthgonk4398
    @darthgonk4398 2 года назад +1

    Sorry to be 41 seconds late

  • @rogerdouglas2306
    @rogerdouglas2306 2 года назад

    try the levelstorpm mod makes your towers shoot hella fast its fun! encampments op
    also dark mode, respec and refund so you can draw less cards for your builds
    EnemyMultiplier to spawn a crapload of enemies very satisfying

  • @ke6gwf
    @ke6gwf 2 года назад

    *reads the title
    Me: "oh! That's why my Tesla stock went up today!"

  • @goblinphreak2132
    @goblinphreak2132 2 года назад

    I find that you do tesla tower in the middle, and then put 3-4 blizzard/snow towers which slow the enemies down so you hit them more. my single lane game, i literally did this and it absolutely destroyed enemies.

  • @theownmages
    @theownmages 2 года назад

    Haha, you caused an integer overflow.
    When a computer counts passed the biggest number it has reserved in memory, it flips a bit and the entire value becomes maximum negative it can fit in memory.

  • @skyvenrazgriz8226
    @skyvenrazgriz8226 2 года назад

    Well if you cant win you cheat, like a 10 yr old. ;)
    Would have been funny, if gold was unlimited but mana wasnt and you didnt have the 3000 mana it needs per shot.

  • @RedRingOfDead
    @RedRingOfDead 2 года назад

    Meanwhile I was 1000% sure the thumbnail numbers where edited in 😂.
    Or what any sane person would say: UNLIMITED POWERRRRRRRRRRRRR 👀😏😏

  • @leonshirogane5541
    @leonshirogane5541 2 года назад

    so the dmg is on the - I think because there is a cap in dmg of the game
    and when you cap it the run reset and run back... but the dev not fix the min dmg to 0 so it loop back and start at the -
    this result in this weird bug you see at the end... the was not design for peoples to do this stubs

  • @Elcolaris
    @Elcolaris 2 года назад

    hey Matt, i watch your videos with subtitles . Please, can you explain me why this word appeared in these automatic subtitles at 2:24 (you will recognized it when you see it).

  • @inclineddecent1408
    @inclineddecent1408 2 года назад +1

    Who thought such a wierd guy cen be an engineer .props for u tho

  • @fantom9013
    @fantom9013 2 года назад +1

    gotta love integer overflows

  • @205badger3
    @205badger3 2 года назад

    In binary numbers, negative numbers are represented by the most valued position being 1 and positive 0. So you made the number so big that it turned the most valued position in a really long binary string into a 1.

  • @Totally_Bonkers
    @Totally_Bonkers Год назад

    If your testicles have 25% burn damage, you should see a doctor

  • @erichhuffman8081
    @erichhuffman8081 2 года назад

    integer overflows are a form of fuzzing as well. if you want to mess with the game in ways it was not intended to be messed with by the programmers, you've found one :)