I upgraded this Tesla so much it BROKE REALITY!

  Рет қаралды 582,088

Real Civil Engineer

Real Civil Engineer

Күн бұрын

Пікірлер: 554
@kyle_the_man_2105
@kyle_the_man_2105 2 жыл бұрын
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 жыл бұрын
Matt should bring back polybridge and maybe play pc building simulator
@pauljohnbernardo56
@pauljohnbernardo56 2 жыл бұрын
Real fan ♥️
@TheMrana5
@TheMrana5 2 жыл бұрын
Thank you for saying what we wanted but couldn't explain
@janong262
@janong262 2 жыл бұрын
Has it really been almost 2 years? Feels like last month that he made the polybridge song
@wilhelmlarsson5779
@wilhelmlarsson5779 2 жыл бұрын
Me too,good one🙌
@danj3215
@danj3215 2 жыл бұрын
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 жыл бұрын
And the man calls himself the Engineer. sure sure :P
@milkman4407
@milkman4407 2 жыл бұрын
@@firefly2472 He didn't know UwU
@Greggorto
@Greggorto 2 жыл бұрын
@@milkman4407 did you… really find the UwU necessary?
@milkman4407
@milkman4407 2 жыл бұрын
@@Greggorto Yes
@Fenthule
@Fenthule 2 жыл бұрын
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.
@MrMandar1ni
@MrMandar1ni 2 жыл бұрын
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 жыл бұрын
Glad TRE saw this comment. It used to be possible but no more :'(
@Taolan8472
@Taolan8472 2 жыл бұрын
... was the damage uncapped or something?
@billybucks9963
@billybucks9963 2 жыл бұрын
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 жыл бұрын
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 жыл бұрын
@@Taolan8472 IIRC it had higher fire rate and lower upgrade costs.
@thePrplMonkey
@thePrplMonkey 2 жыл бұрын
RCE: "A negative number???" Me, a software engineer: It's finally my time to shine...
@flaschiboi7189
@flaschiboi7189 2 жыл бұрын
yea that's an integer / long getting out of range xD
@generictimestamperstupendi9021
@generictimestamperstupendi9021 2 жыл бұрын
weve been Ghandid
@SteamedArrow
@SteamedArrow 2 жыл бұрын
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 жыл бұрын
@@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 жыл бұрын
@@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.
@ImAdonai
@ImAdonai 2 жыл бұрын
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 жыл бұрын
You can also get slow from ballistas and just put a couple near the Tesla.
@takumi2023
@takumi2023 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?
@CheezyPotatoez1
@CheezyPotatoez1 2 жыл бұрын
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! ❤️
@ghosttwo2
@ghosttwo2 2 жыл бұрын
"One tower challenge" usually means "One _type_ of tower" since there are achievements specific to doing it with several of them.
@GuiSmith
@GuiSmith 2 жыл бұрын
Integer overflows are such weird things. It’s incredible that they’re accounted for somehow.
@chaitanyakulkarni6416
@chaitanyakulkarni6416 2 жыл бұрын
Yes , ig it could be fixed by easily by dev
@jorceshaman
@jorceshaman 2 жыл бұрын
@@chaitanyakulkarni6416 Motivation to limit your cheating. No normal player will run into the issue.
@maxpoppe
@maxpoppe 2 жыл бұрын
they weren't accounted for I think the game is just doing some whacky maths
@alexbadman750
@alexbadman750 2 жыл бұрын
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 жыл бұрын
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
@ABirdDad
@ABirdDad 2 жыл бұрын
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 жыл бұрын
sure but why would you use a signed int for something that should only ever be positive?
@patrickfoley9093
@patrickfoley9093 2 жыл бұрын
@@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 жыл бұрын
@@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 жыл бұрын
@@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 жыл бұрын
@@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.
@IsaacTeo411
@IsaacTeo411 2 жыл бұрын
"All testicles gain 25% bleed damage" - RCE 2022
@gaysarahk
@gaysarahk 9 ай бұрын
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 4 ай бұрын
2:23
@UfoLBeerSeeker
@UfoLBeerSeeker 2 жыл бұрын
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.
@benstanfill363
@benstanfill363 2 жыл бұрын
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.
@716979827169
@716979827169 2 жыл бұрын
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 жыл бұрын
Boom
@garethbaus5471
@garethbaus5471 2 жыл бұрын
Rockets predate digital computers by a couple centuries, but I wouldn't be surprised if that error actually has destroyed a rocket or 2.
@abuzartariq6400
@abuzartariq6400 2 жыл бұрын
i honestly thought matt said "all testicles do bleed damage" at 2:20
@groundsymphony
@groundsymphony 2 жыл бұрын
He did say that, even the captions agree
@KryptCeeper969
@KryptCeeper969 2 жыл бұрын
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.
@Peter55Craig
@Peter55Craig 2 жыл бұрын
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 жыл бұрын
Yeah, you can sometimes see bats slip through without getting hit and they don’t subtract tower health either
@xd_jamie3898
@xd_jamie3898 2 жыл бұрын
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.
@segue2ant395
@segue2ant395 2 жыл бұрын
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.
@myrandarose2883
@myrandarose2883 2 жыл бұрын
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 жыл бұрын
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
@loganmccarthy1150
@loganmccarthy1150 2 жыл бұрын
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.
@michaelminasian4891
@michaelminasian4891 2 жыл бұрын
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!
@ReneSchickbauer
@ReneSchickbauer 2 жыл бұрын
16:20 That is called a signed integer overflow. Basically, when a number reaches the maximum a computer can store in a certain type of variable (in this case 32 bit), it flips over to the lowest number. Think of it as your car odometer reaching its maximum value and then going to zero. Except in the case of this game, it's a signed number. Meaning it can hold positive and negative numbers. Therefore, flipping it over can produce negative numbers.
@sunkid2465
@sunkid2465 2 жыл бұрын
It’s been exactly 24 hours from your last upload and there isn’t a new one, I’m going insane
@sep_sh
@sep_sh 2 жыл бұрын
15:40 be like: Hello fellow (software) engineers, welcome back to INTEGER OVERFLOW
@HippieInHeart
@HippieInHeart 2 жыл бұрын
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.
@Totally_Bonkers
@Totally_Bonkers Жыл бұрын
OH DEAR
@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.
@groundsymphony
@groundsymphony 2 жыл бұрын
As a computer science student, I am proud to say that I understand why it goes to minus 999 million
@sway9427
@sway9427 2 жыл бұрын
can you tell me why 😅
@tapferer1kater34
@tapferer1kater34 2 жыл бұрын
Good old integer overflow
@baseballjustin5
@baseballjustin5 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
@AndereRickert
@AndereRickert 2 жыл бұрын
"How is one tower ripping through everyone" We tried to tell you Matt... We tried every episode...
@Saxophonin
@Saxophonin 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.
@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.
@ruix
@ruix 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 жыл бұрын
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.
@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 KZbin kept auto playing and something must have brainwashed me in my sleep, because I was eager to watch more when I woke up…
@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.
@Rychleji
@Rychleji 2 жыл бұрын
You see. That's where we, software engineers come into a play. Max value of integer (commonly used variable to store numbers in) is 2 147 483 647 (unless undigned). If you mess with games too much and exceed this number the variable will loop around to it's minimal value -2 147 483 648. (I think it's caused by a way these variable are stored in binary form or something... no one said I'm good sw engineer:P)
@scot9624
@scot9624 2 жыл бұрын
It's okay I'll look up the exact numbers on the stack exchange later
@nanolog522
@nanolog522 2 жыл бұрын
Use just a ton of mortars and upgrade them as far as possible. As soon as enemies spawn, all hell breaks loose. Works pretty well for anything except for Oogies, so you have to put up a couple of ballistas.
@davidsommer325
@davidsommer325 2 жыл бұрын
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.
@captaindelta43
@captaindelta43 2 жыл бұрын
Nicholas Tesla and Elon Musk will be proud of the power of your engineering brain 🧠 Matt🤣
@MrCrazyChemical
@MrCrazyChemical 2 жыл бұрын
The damage after calculation the tower does at the end is 256,703,143,725, which exceeds the amounts of bits any 32 bit software can calculate/display as an integer, so basically we're hitting that CIV Gandhi dilemma where you deal so much dmg it just goes to the opposite end of the spectrum. I am pretty sure the game should have crashed at that point.. it considers the monsters dead, but it doesn't know what to do when you increase their health...
@justfun287
@justfun287 2 жыл бұрын
MORE POWER TO THE PEOPLE!!!!
@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.
@darrensong99
@darrensong99 2 жыл бұрын
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! :)
@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.
@Torkkar
@Torkkar 2 жыл бұрын
WHAT! Over 9,000! :3
@roastedwatermelon31
@roastedwatermelon31 2 жыл бұрын
14:12 rce:"is there a limit?" me: *getting flashbacks from Let's game it out*
@jamesmarker3956
@jamesmarker3956 2 жыл бұрын
This reminds me of the original Civilization, where people claimed that because of integer overflow Ghandi could turn from peaceful to nuclear.
@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
@Xelakrats
@Xelakrats 2 жыл бұрын
2:22 for a second I thought you were talking about the items found at the base of the strongest shape hahaha
@fantom9013
@fantom9013 2 жыл бұрын
gotta love integer overflows
@kholdanstaalstorm6881
@kholdanstaalstorm6881 2 жыл бұрын
Those cheeky architects got into Matt's game and foiled his engineering plans! I think Matt needs an architect purge on his well engineered machine to manage this challenge!
@1WolfFan
@1WolfFan 2 жыл бұрын
Integer Overflow at it's most apparent. That's how Spiffing Brit Breaks a lot of his games too.
@AwsumAuzie
@AwsumAuzie 2 жыл бұрын
That ending was unexpected and hilarious. Well done breaking it haha
@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
@Iamthedeadestperson
@Iamthedeadestperson 2 жыл бұрын
0:24 When the minecraft youtuber says he did some mining off camera
@Sir_Cactus
@Sir_Cactus 2 жыл бұрын
The reason the tower increased the enemies health is because computers can not handle very large numbers. There are only so many bits that can be written, before the negative bit gets written. At that point you have -2^32 or -2^64, depending on how to game was coded as the damage. And of course, --=+.
@at0mik989
@at0mik989 2 жыл бұрын
I finally got this game for myself, had a run the other night where it closed in on itself after 6 expansions. So the rounds just automatically started. I ended up going to round 48, since i didn’t have to spread out my towers along a long route the map ended up being insanely packed with tons of towers. The game started lagging with all of the particle effects on the screen
@seanvinsick
@seanvinsick 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
@slugerknot
@slugerknot 2 жыл бұрын
Matt. When you say "Tesla Coils" it sounds like "Testicles". Keep upgrading mate.
@Friendly_Neighborhood_Dozer
@Friendly_Neighborhood_Dozer 2 жыл бұрын
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
@DjesseVol2
@DjesseVol2 2 жыл бұрын
2:22 "All testicles gain 25% bleed damage."
@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 KZbinrs 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
@sergiolaca1234567898
@sergiolaca1234567898 2 жыл бұрын
The negative number is because all numbers in the game maybe are "int" and not "long". The numbers are stored in a "Two's complement" binary number, so if the number achieve a big number, the counter adds a - and starts again. Something similar (but not equal) happened with the gangnam style youtube visits counter, it broke because there were no enough memory to store the huge visits number
@sergiolaca1234567898
@sergiolaca1234567898 2 жыл бұрын
Saying it as a computer engineer and videogames designer.
@thomasjelek7677
@thomasjelek7677 2 жыл бұрын
2:49 that caught me off guard🤣🤣
@streetburner15
@streetburner15 2 жыл бұрын
dude what’s the that from i cannot think of it
@thomasjelek7677
@thomasjelek7677 2 жыл бұрын
@@streetburner15 home alone👌🏻
@nebula_wolf3132
@nebula_wolf3132 2 жыл бұрын
When you exceed the integer limit but still win xD
@adipawaskar808
@adipawaskar808 2 жыл бұрын
where is timberborners ep?,infra space?
@danielrocks3143
@danielrocks3143 2 жыл бұрын
Your tesla deals so much damage that it left the enemy in shock, their body cant cope up to the amount of damage dealt that they themselves didn't know they are already dead and continue to run/walk towards your base dealing no damage.
@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 :)
@CamoSquid
@CamoSquid 2 жыл бұрын
This reminds me if bloonz tower defense my friends an literally every one in my grade would play back in elementary school
@Azukaae
@Azukaae 2 жыл бұрын
Ah yes, the classic rule of games. If the number has reached highly negative numbers, then you've broken the game
@ferwiner2
@ferwiner2 2 жыл бұрын
As far as I know, the most known overflow bug in gaming industry is ghandi going all in with nukes in civ 5.
@TheTeaLordRBLX
@TheTeaLordRBLX 2 жыл бұрын
Congrats on 1 Million subscribers! Well deserved :D I remember the early days of Poly Bridge XD
@LHS_Shadow
@LHS_Shadow 2 жыл бұрын
2:23 CC - “All Testicles take 25% bleed damage”
@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.
@dieofdeathgames7719
@dieofdeathgames7719 2 жыл бұрын
This is beautiful
@numberyellow
@numberyellow 2 жыл бұрын
Holy shit.... you've created a zombie ray. It killed them so hard, their bodies forgot to die.
@edward-senn
@edward-senn 2 жыл бұрын
2:20 “all testicles gain 25% bleed damage” lmao
@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
@corvusgaming2379
@corvusgaming2379 2 жыл бұрын
Thanks for the idea!
@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
@JesusCheeseburger
@JesusCheeseburger 2 жыл бұрын
I notice you skip a lot of basic upgrades, like +1 damage to health from ballistas, but there's better upgrades unlocked by the basic ones. Health leads to bleed damage, armor leads to fire, and shield leads to poison
@evolvethrealojog8491
@evolvethrealojog8491 2 жыл бұрын
Quality over Quantity would have saved you. You would've crit a lot of times and killed Oogie. I have done it with the tesla on the current patch and it is still solid
@JustTony72
@JustTony72 2 жыл бұрын
Ohhhh integer overflow. There was a shooting game long time ago which had the same issue but worse. You couldn't kill the final boss
@theslayyy1956
@theslayyy1956 2 жыл бұрын
Want moreeee 💀!!!
@Vonebor
@Vonebor 2 жыл бұрын
Spooky timing on this video--I literally just received my Tesla Model 3 today, which I ordered 6 months ago!
@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.
@nathanverghis7779
@nathanverghis7779 2 жыл бұрын
literally my new favourite youtuber
@baystated
@baystated 2 жыл бұрын
[breaks everything] [aren't you here for that?] [yes]
@Xeridanus
@Xeridanus 2 жыл бұрын
16:47 a vampire bat gets through without being hit by the tesla, but he doesn't lose. I think the mod makes the tower invulnerable or something?
@IWatchYourStreamTV
@IWatchYourStreamTV 25 күн бұрын
16:28 - In CIV this would be known as a Diplomatic, Cultural or Religious victory lol
@clementmariette7059
@clementmariette7059 Жыл бұрын
5:54 "All testicules gain + 25% burn damage" What did he sayyyyyyy
@GummieI
@GummieI 2 жыл бұрын
While I don't know where or what it called, I seen other youtubers have a mod that allows you to respec without having to restart the entire progression, might be good to look for that for challenges like this
@sixtenwidlund4258
@sixtenwidlund4258 2 жыл бұрын
Notification squad
@Exploitis
@Exploitis 2 жыл бұрын
Sometimes notifications also get late
@meetthebattlemedic9377
@meetthebattlemedic9377 2 жыл бұрын
Rise up
@bvamosD
@bvamosD 2 жыл бұрын
Hey
@jaydenchristiansutanto2701
@jaydenchristiansutanto2701 Жыл бұрын
Ye
@arwengrune
@arwengrune 2 жыл бұрын
Hmm, that minus health multiplier, maybe it has turned them to the light side? So they can go to the tower and not damage it, since they are now good.
@simosiatridis7334
@simosiatridis7334 2 жыл бұрын
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???
@onboardlotus
@onboardlotus 2 жыл бұрын
matt im glad to save youve gotten so much better at this game then your first episode
@jakejager
@jakejager 2 жыл бұрын
Time stamp 5:54: sounds like you said "all testicles do burning damage" LOL
@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 KZbin's fault it wasn't as succesful as the others. Please make another video of Minecraft.... maybe a 1 Million subscriber special.
@whatis817
@whatis817 2 жыл бұрын
2:22 "all testicles gain 25% bleed damage "
@Qardo
@Qardo 2 жыл бұрын
Hold up. Did I hear that right at 2:22? "ALL testicles get 25% Bleed Damage..." 🤔
I spent 100,511,625g on Mortars...
22:41
Real Civil Engineer
Рет қаралды 302 М.
Can you beat the game with a single LVL 100 flame tower?
22:53
Real Civil Engineer
Рет қаралды 426 М.
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 7 МЛН
小路飞还不知道他把路飞给擦没有了 #路飞#海贼王
00:32
路飞与唐舞桐
Рет қаралды 85 МЛН
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 5 МЛН
I Built a Nightmare Factory That Manufactures Perpetual Mayhem - shapez 2
27:30
Let's Game It Out
Рет қаралды 2,9 МЛН
I sold so much lemonade it CAUSED THE APOCALYPSE!
20:51
Real Civil Engineer
Рет қаралды 1,2 МЛН
Can You Beat Anno 1800 on ONE TINY Island?
38:36
Teukeh
Рет қаралды 24 М.
I Upgraded These To The Ultimate Form
21:50
DangerouslyFunny
Рет қаралды 648 М.
Annihilating the LAND SPEED RECORD in Kerbal Space Program 2!
22:09
Real Civil Engineer
Рет қаралды 2,5 МЛН
Starting a demolition company was a HUGE MISTAKE...
21:08
Real Civil Engineer
Рет қаралды 220 М.
Engineering MEGA TSUNAMI sea defenses in Cities Skylines!
17:24
Real Civil Engineer
Рет қаралды 3,7 МЛН
Can You Beat Rogue Tower With ONLY 4 Towers?
29:12
Wibo
Рет қаралды 14 М.
I PENETRATED EVERYONE with swords to defend my tower!
19:42
Real Civil Engineer
Рет қаралды 304 М.
Walking on LEGO Be Like... #shorts #mingweirocks
00:41
mingweirocks
Рет қаралды 7 МЛН