Why do Roblox hitboxes suck?

  Рет қаралды 202,862

Copper Cog Studio

Copper Cog Studio

Күн бұрын

I decided to write and produce this 6-minute video to explain and clear misinformation about Roblox hitboxes being bad, took me 2 days to put together of straight work.
Links:
Join The Cursors Roblox group:
www.roblox.com/groups/7103305...
Discord server:
/ discord
#roblox #robloxdev #hitbox #criminality

Пікірлер: 1 300
@carlos-wy7vs
@carlos-wy7vs 24 күн бұрын
noob, congrattation in 200k views
@ObohDivine
@ObohDivine 9 күн бұрын
Basically, hitboxes suck because clients (or players) have different latencies (time it takes to send data to the server) so actions are delayed.
@Bluerizo
@Bluerizo 11 ай бұрын
For the amount of time and years i've played roblox, this has been something i definitely picked up on. This applies to A LOT of interactions like racing and fighting games
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
In racing games it is the worst because you will always think you are ahead of them, even though you are not. Client prediction is used to mitigate this, but so far its not a thing in roblox.
@nateypateyu
@nateypateyu 11 ай бұрын
@@CopperCogStudio especially in games like Car Crushers, latency is really bad
@Kamletue
@Kamletue Жыл бұрын
Bruh my ping be 📈📈📈📈
@moab6217
@moab6217 Жыл бұрын
Bro i swear mines like typically 10k at most like 50k
@toustikcz640
@toustikcz640 11 ай бұрын
@@moab6217what 💀
@cheesesoldier7136
@cheesesoldier7136 11 ай бұрын
​@@moab6217i witnesssed 120k once 💀 i still cant understand how some people call 200 ping almost unplayable
@okey664
@okey664 11 ай бұрын
​@@cheesesoldier7136because it kinda is But yeah 120k ping is crazy (i got 200k once)
@RedNumber19
@RedNumber19 11 ай бұрын
I love my 1 month, 23 days, 4 hours and 55 minutes ping (that’s not a joke it used to happen)
@falsestix
@falsestix 11 ай бұрын
This is why developers recommended you to play in YOUR region server because of less ping latency
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
yeah pretty much
@pires5727
@pires5727 11 ай бұрын
if they atleast added a brazil or south america server... it really sucks to pvp with 200+ ms
@arthurbarroso4152
@arthurbarroso4152 11 ай бұрын
​@@pires5727 verdade parceiro, 400 ping ms é muito ruim caba
@amiroslinos7298
@amiroslinos7298 11 ай бұрын
I don't have
@nexus8824
@nexus8824 11 ай бұрын
but unless the devs implement a server browser, it's pretty much useless ngl.
@Scryptings
@Scryptings Жыл бұрын
Hey! Dev here, I've recently made something similar. A good way to approach is by either neglecting client-side registration or the other method which I'll explain So by neglecting client-side registration, while the hitbox may suck, you can increase the sizes of the hitbox to properly compensate for the latency If you dont want to stop using client regs, you can instead use sanity checks to check if the distance between the attacker and the victim is sane and well fair. While me personally i use the second method to not risk exploitation, you can implement your own!
@CopperCogStudio
@CopperCogStudio Жыл бұрын
I just use lag compensation to rewind the hitboxes.
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
I keep seeing a bunch of people who didn't even watch the video and comment: "Why doesn't my opponent get hit from far away?", They do you just can't see it because you are hitting them from your perspective, while in their perspective your position is delayed, just like yours is for them. "Ok but how do we fix the hitbox?", You can't really fix latency, Latency as mentioned is a physical limitation between the time it takes for packets to arrive between machines over the internet, there are some techniques out there done to mitigate latency. Client Prediction: Client prediction will basically simulate other player's physics on your client so it can predict where they are actually at on the server's world state and that way make it seem like all positions are instant. Also to clarify lag/latency is the time it takes for a message to be sent from your pc over to the server on the internet. Lag compensation: Lag compensation allows to cast hit registration from the server's world state, and rewind said hitboxes according to the latency of a player so it can predict what the player was seeing on their screen. Unfortunately, the methods above cannot be done with Roblox's default tools and require devs to learn complex frameworks such as chickynoid, so you can't really do anything for now.
@air_opl
@air_opl 11 ай бұрын
this is surely not possible but, what if somehow a server or client could be improved in order to have packets deliver faster no matter your ping?
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
@@air_opl . . .
@smileyfacedev
@smileyfacedev 11 ай бұрын
@@air_opl What do you think ping is?
@Load_Lua
@Load_Lua 11 ай бұрын
a better method of client prediction is taking the velocity of the character and comparing it to the client's world state to predict what the client sees. what im trying to say is you can have the client advise the server's prediction, and with a few checks, determine if what the client sent was legitimate or not.
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
@@Load_Lua This is not how lag compensation works, I advise you to read an article on what it is.
@quangnguyenthi1836
@quangnguyenthi1836 11 ай бұрын
Me: (Punches the air) A random player 10377483872738372 studs away: (OOOOOOOOF)
@Velainary
@Velainary 11 ай бұрын
The problem is that roblox is just filled with children who don't understand this bs. So when you say "I have 200 ping dude, I can't hit you", the child on the other side says "get good kid, skill issue"
@Brandon-ct8vo
@Brandon-ct8vo 11 ай бұрын
Just... don't take it personally, then? Most people don't really care about any complaints their opponent throws out anyways
@eduespro
@eduespro 11 ай бұрын
​@@Brandon-ct8voIt is hard to not care They write like brats And brats are Annoying
@Velainary
@Velainary 11 ай бұрын
@@Brandon-ct8vo yeah, I guess you are right. I understand it's not that much of a big deal, just a small but frustrating knowing that it isn't your fault but nobody believes you.
@ask343
@ask343 11 ай бұрын
I kinda figured out about latency on Roblox simply by playing it, but I remember once having two devices in the same room playing Roblox, and it was crazy to me how long it took for a player jumping on one device to show on another It really put things into perspective
@ToreAlt
@ToreAlt 11 ай бұрын
its not about how close you are with each device, but how good of a connection you have with the server. even if both are in the same room, if the server is far away chances are it will take its time to send it back to the other device
@ask343
@ask343 11 ай бұрын
@@ToreAlt ye ik
@tophat156
@tophat156 11 ай бұрын
Thats like saying "the person has bad internet so your position on screen is delayed" with an extra step
@masteroftheballs
@masteroftheballs 11 ай бұрын
No matter your ping, Whenever you step on a small object, Your character shoots up to the pearly gates
@manexie
@manexie 11 ай бұрын
Incredibly well made video, bad part is that i got no arguments now whenever i die
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
lmao
@alguienxder3xd539
@alguienxder3xd539 11 ай бұрын
dont worry, just say lag until this guy does "why roblox performace sucks"
@manexie
@manexie 11 ай бұрын
@@alguienxder3xd539 ty man
@partofyoutube1297
@partofyoutube1297 11 ай бұрын
Tycoon's collect buttons are never gona get fixed 💀💀😭
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
fax
@Rawblocky
@Rawblocky 11 ай бұрын
For those saying that this is a Roblox only problem, there are various instances that this can apply to different games One popular example is “peeker’s advantage”, which can be seen on Valorant, CS:GO, Rainbow 6, Fortnite, and any game, really, including Roblox. So, lets say we’re playing a game where guns immediately kill you, and we have two people: Camper and Peeker Camper is just camping a random part of the map, while Peeker is about to peek out and shoot Camper. Peeker has a higher chance of winning, since he would see Camper before Camper could see Peeker, giving Camper no time to react. This is because it takes a while for Peeker’s character to replicate to Camper’s PoV It’s kind of hard to explain, but I’m just saying that this doesn’t just apply to Roblox’s engine. The reason why you might not feel it is because games usually pair you to a server located close to you, while Roblox sometimes just puts you in a completely random server, throwing off your ping. Thats why when I join a game like Arsenal, if I don’t get put in a server I am near, I would go to the server browser and find a server closest to me to ensure the best possible ping. If you really want to feel this issue it in different games, just change your server to somewhere super far away, and you’ll feel it.
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
This guy gets it!
@A_Toasterr
@A_Toasterr 11 ай бұрын
Praying for the video that explains how to fix latency when it comes to hitboxes, i'm planning a game out rn and i would really like to have a game thats fair for both sides
@Idkwhattoputhere...306
@Idkwhattoputhere...306 11 ай бұрын
I Believe its seperate from how latency works with R6 and 15 models where the amount of lagg will decide how delayed your actions are to other peoples prespectives. But with a sword, it would lock its hitbox to the character thats being seen by other people which is why things like reaching happens and Why baiting is an actual viable strat in SF
@Paradoxuss
@Paradoxuss 11 ай бұрын
There is no way to fix latency, what you could do is compensate for it Run the hitbox on either the client with server sided sanity checks or on the server while compensating for the player's ping by adjusting the hitbox size
@berendberend702
@berendberend702 11 ай бұрын
I don't think it is actually possible to make it 100% fair/accurate. If you process collisions on the server, there will be a difference between the clients perspective and the server. However, if you do it on the client, it can be abused by exploiters and there will be an even bigger difference for the other players.
@Paradoxuss
@Paradoxuss 11 ай бұрын
One thing that should be mentioned tho, try to optimize your scripts as much as possible as to not make em resource intensive, that should help lowering the server's ping
@Emm1lyn
@Emm1lyn 11 ай бұрын
Well made video! Thanks for explaining this, and also for completely destroying the one and only argument I have whenever someone kills me "unfairly".
@breakfost
@breakfost 11 ай бұрын
Me who already knows why but still watches it: hmm interesting.
@TheKris.
@TheKris. 11 ай бұрын
same
@Pork_mp4
@Pork_mp4 11 ай бұрын
Solution: Go outside and hit people with real weapons, there is no Latency in real life.
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
FAX
@TheHina3666
@TheHina3666 11 ай бұрын
Technically there is, but it's VERY small
@voidomega4211
@voidomega4211 11 ай бұрын
Speed of light: Ima about to end this man’s whole career
@amalgam4595
@amalgam4595 11 ай бұрын
are@@TheHina3666 you mentioning reaction time?
@notcrispeeweevile1388
@notcrispeeweevile1388 11 ай бұрын
@@amalgam4595 One could argue that the speed of light is a form of latency
@RadionWB
@RadionWB 11 ай бұрын
Goated video + informative + 5/5 + helpful + interesting + well made + straight to the point + well edited + good presentation
@blockedjuser1272
@blockedjuser1272 Жыл бұрын
4:58 This is so annoying to deal with if you run away and spam your mele they will not get hit but you will. If they run a way you have to be in front of them and predict where they are going also they can hit you in this state.
@CopperCogStudio
@CopperCogStudio Жыл бұрын
They cant hit you either, it looks likey they can but they suffer from the same issues you do, this is why you see so many stupid videos nowdays such as "roblox hitboxes be like"
@Raykiv
@Raykiv 11 ай бұрын
THANK YOU. So many people complain about this without understanding how these things work. It feels so good to hear someone to talk about this. You earned a sub!
@Tgaf.
@Tgaf. Ай бұрын
Conclusion: most pvp games are unplayable for south americans
@llmugetsull
@llmugetsull Ай бұрын
yup, hence why im quitting pvp roblox games
@Tgaf.
@Tgaf. Ай бұрын
@@llmugetsull same
@Mendless
@Mendless 11 ай бұрын
why this video getting recommended 4 months later 😭😭
@pd_heart
@pd_heart 11 ай бұрын
fr
@DerkloztRayrk
@DerkloztRayrk 11 ай бұрын
Thanks for covering this topic, man. I was in need of this kind of system to make the most accurate and fair hitboxes for my game.
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
np
@qbaczi6105
@qbaczi6105 11 ай бұрын
Finally someone said it, Its frustrating to see someone blame the hitboxes or even the character model boundaries
@JLlance
@JLlance 11 ай бұрын
most hitboxes lag behind meaning if your moving forward, its dogshit, but if your moving backward, you have immense reach
@destroyeralex6627
@destroyeralex6627 11 ай бұрын
Tes
@BwugInTheRain_Fan
@BwugInTheRain_Fan 11 ай бұрын
True
@Iconsumebodilyfluids
@Iconsumebodilyfluids 11 ай бұрын
That is still because of the latency issue.
@Epsilon-18
@Epsilon-18 11 ай бұрын
This is ultimately the reason why I stopped playing MM2
@vortexas-a-gamin
@vortexas-a-gamin 11 ай бұрын
One thing I like to do in some pvp roblox games that is more melee based? Spin. Not even just click because touching the blade by any means = Damage.
@memezforbeanz3109
@memezforbeanz3109 11 ай бұрын
In my own scripting ventures, I find it extremely difficult to program a faster fighting game (such as super smash brothers) due to latency. I utilize raycasting for nearly every single hitbox in my game, which feels great when you're the one attacking, but frustrating when getting hit. There is no easy solution, but as you mention at 6:09, there could be better solutions rather then solely relying on client side hitbox detection. I have not found anything smooth enough to solve this problem, so I'm very interested in seeing what this supposed "better way" is.
@saiyanwannabe6896
@saiyanwannabe6896 11 ай бұрын
i like at the end you went "there are better ways" and didnt explain or elaborate further
@aghitsaplane4262
@aghitsaplane4262 11 ай бұрын
>"there is a better ways" >Refuses to elaborate >Ends the video
@professorg2590
@professorg2590 11 ай бұрын
Alternative title: Robloxian discovers that time is relative and the theory of relativity.
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
???
@professorg2590
@professorg2590 11 ай бұрын
@@CopperCogStudio Time is relative
@professorg2590
@professorg2590 11 ай бұрын
@@CopperCogStudio en.wikipedia.org/wiki/Relativity_of_simultaneity
@professorg2590
@professorg2590 11 ай бұрын
@@CopperCogStudio Google relativity of simultaneity.
@papelhat4265
@papelhat4265 11 ай бұрын
brother thinks hes albert einstein 😭
@schrad_er
@schrad_er 11 ай бұрын
i always knew this was a thing, but i just didn't know how to explain it. and in this video it explains it but also showed me some areas i didn't even know about in this topic, being some ways that developers make hitboxes.
@bananinhaamassada6919
@bananinhaamassada6919 11 ай бұрын
It would be awesome if Roblox were able to render the player's real-time ping information and provide it for game scripts. It would let the developers create their own movement predictions to reduce ghost hits, etc.
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
I recommend you checking out chickynoid, it already does a lot of what you mentioned.
@Cloutiqe
@Cloutiqe 11 ай бұрын
I wish more people would understand this
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
same i hate npcs who just say "baaadhitbox"
@EntireArgument
@EntireArgument 11 ай бұрын
i personally have a generally good amount of experience making game combat mechanics, and i must say that you explained this VERY well. good job
@tact310
@tact310 11 ай бұрын
I usually use the touched event method but they dont work out as i intended, such as touched firing way too man times upon touched (i added debounce but it still didnt fix it). But now with modules such as zone plus, it made it more easier for me to detect parts. Anyways great video!
@Aslanq
@Aslanq 11 ай бұрын
I appreciate how comprehendible your explanation was! Now I know why I stink at sword fighting :/
@LD-dt1sk
@LD-dt1sk 11 ай бұрын
Adding client sided hitboxes is like asking for your game to get hacked
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
Well yes, but unfortunately roblox doesnt offers a different way to solve the problem atm, They did said they are working on server authoritative physics which hopefully brings an end to client sided hitboxes and movement practices.
@wedoalittletrolling723
@wedoalittletrolling723 11 ай бұрын
Imagine if Roblox servers we're hosted by developers of their own games, and Luau wasn't all sandboxed. Yeah, scary to think an exploiter could legit do more damage to you than simply messing around a roblox game, since they could dox your server, RCE vuln will be even more dangerous since they could execute system calls. In-fact that's how hosting servers outside of roblox works, and if you're not careful and you trust the client too much (and let's say you intend on hosting the servers yourself) and your server-side is not very secure, you basically risk getting your actual computer hacked. It's best try getting used to not trusting the client and experimenting with server-side stuff on Roblox where they provide free servers and a sandboxed Lua.
@PatienceMakesPerfect
@PatienceMakesPerfect 11 ай бұрын
THANK YOU SO MUCH, You explained everything very well!✨
@Thy_Guardian
@Thy_Guardian 11 ай бұрын
I always told people that and they never believe me. That's why I can't play fighting games on roblox. Latency is in EVERY multiplayer games, it depends of the server and your internet. As you guessed roblox is the worst server ever, basicly the latency is so big on roblox it will put you atleast 1s in the past. So when you're moving, see yourself 1s in the past or so now you will understand how someone can hit you so far. The best example is playing a JOJO game or a game with a time stop ability, you will jump to avoid being on the ground, you see yourself in the air and think you're safe. Then the opponent start punching the ground where you jumped from and suddenly when the TS end, you get hit by all of his attacks, because for the server you were still on the ground. Conclusion: It'S ANNOYING ASF AND UNPLAYABLE
@basicallychris8751
@basicallychris8751 11 ай бұрын
skill issue 🤷
@spidel
@spidel 11 ай бұрын
@@basicallychris8751nice rage bait
@k0lg040
@k0lg040 11 ай бұрын
Don't you mean you see yourself in the future but the other's see you in the past
@Thy_Guardian
@Thy_Guardian 11 ай бұрын
@@k0lg040 Ye basicly. Well you shouldn't be in the future, it's the server that has delay and put your imput in the past
@MachineHandler
@MachineHandler 11 ай бұрын
I honestly wish that rollback was added into Roblox. Because apparently that's not even possible with how Roblox's servers work.
@corvus7262
@corvus7262 11 ай бұрын
ngl learned a good chunk of information from this gonna abuse my local rome genre now
@Itsuu.
@Itsuu. 11 ай бұрын
Kinda sad that someone had to tell those shitters why it works like that :3
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
Ong
@nellyadj120
@nellyadj120 Жыл бұрын
Very informative, I’ve been looking to script a combat system for a while now and info like this is helpful
@CopperCogStudio
@CopperCogStudio Жыл бұрын
Wait till you see my video today and i show you all a 100% exploit proof method.
@enderplant
@enderplant Жыл бұрын
Good video, I wasn’t expecting you to make a in-depth video about this
@CopperCogStudio
@CopperCogStudio Жыл бұрын
Well I did, i figured out my channel already has grown roots so, not uploading would be a waste of a future carrier.
@Rinne_Kagurazaka
@Rinne_Kagurazaka 5 ай бұрын
Honestly this was an eye opener since I mainly used raycasting or touched event. Never really realized spatial queries exist tbh
@CopperCogStudio
@CopperCogStudio 5 ай бұрын
wake up because now shapecasting exists too.
@DarkestGames86
@DarkestGames86 4 ай бұрын
Touched kinda sucks ass, region3s or spatial queries are better
@kiracorn-person
@kiracorn-person 4 ай бұрын
@@DarkestGames86 just use part bounds in box for touched event
@ethanthekirbyfan1013
@ethanthekirbyfan1013 11 ай бұрын
in the strongest battlegrounds, side dashing wont move your hitbox effectively, it just has 3 states, instead of being stuck to your body
@Lopal12
@Lopal12 11 ай бұрын
me who uses arrow keys and cant do that
@JK-9107
@JK-9107 11 ай бұрын
​@@Lopal12why you using arrow keys
@epoh9076
@epoh9076 11 ай бұрын
Very well explained, thanks for elaborating on so many points.
@pointlessdude
@pointlessdude 11 ай бұрын
I always knew the reason was lag, but the way this video is formatted, along with the information on how hitboxes are coded was very good However, the part from 4:58 to 6:00 required me to rewatch it a couple of times to understand. I reccomend adding subtitles and/or using visual elements to highlight and emphasize what you are talking about. Overall, I like this video and I wish to see more like this in the future. Maybe you could explain how exploiting works, I'd like to see a video on that.
@dubi1dupi
@dubi1dupi 11 ай бұрын
Combat Warriors needs to take notes
@CompanyLethalizer
@CompanyLethalizer 11 ай бұрын
and mortem metallum
@triplealianza89
@triplealianza89 11 ай бұрын
and blood & iron
@yuwelcome
@yuwelcome 11 ай бұрын
Its not their fault, it's roblox, they're literally using the best methods ffs people are dumb.
@overr1562
@overr1562 11 ай бұрын
i have fun sometimes with the latency when driving cars. i would drive and swerve in front of others' cars ahead of them while they're driving, and they would get hit hard by me, while i appear untouched/unaffected
@mubbi4188
@mubbi4188 11 ай бұрын
Extremely informative video bro, i truly appreciate it
@camronandelean3666
@camronandelean3666 11 ай бұрын
I am not sure why this video is blowing up now, but I do find it very informative and already saved it for latter. Thanks man.
@Alveronic
@Alveronic 11 ай бұрын
Excellent video, shame you dont have more subs and views
@buster7797
@buster7797 11 ай бұрын
My favorite part of the video is reading the comments and seeing you getting frustrated at people who did not understand the video at all.
@cent5399
@cent5399 11 ай бұрын
fr
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
Fax
@notcrispeeweevile1388
@notcrispeeweevile1388 11 ай бұрын
My favorite part was when I read the comments, and found the same thing. Then I noticed he also doesn't understand some of the comments.
@ll-cy3dc
@ll-cy3dc 11 ай бұрын
Latency is such a huge battle, I would very much be interested in that discussion!
@13physc
@13physc 11 ай бұрын
This is amazing, I even learned a bit of scripting knowledge from it, please make more
@CopperCogStudio
@CopperCogStudio Жыл бұрын
Update: theres a new method for hitboxes with the release of shapecasting, go check it out for better methods than raycasting! devforum.roblox.com/c/updates/announcements/36 Edit: Thanks to everyone who is coming due to this video blowing up, I knew if I stayed patient, it would eventually blow up.
@FidhGG
@FidhGG Жыл бұрын
yes
@MajesticUC
@MajesticUC 11 ай бұрын
this is my favourite roblox feature
@Jappley
@Jappley 6 ай бұрын
finally someone explained it good, im sick of people blaming the developers for making big hitboxes when they know nothing about how hitboxes work
@idk-bq6uc
@idk-bq6uc 11 ай бұрын
as a roblox scripter great job on the vid!! everything was explained in a fair and concise manner and the video was super well structured, felt this video reach my soul as making a pvp system when latency problems like these exist make me explode from inside out (as well as the fact there are multiple dev arguments over whether your game should use raycasting/magnitude/spatial queries for your hitbox system)
@ivymuncher
@ivymuncher 3 ай бұрын
your videos are actually so helpful thank you
@mauskator
@mauskator 11 ай бұрын
very well put together explanation on how latency affects gameplay I think a lot of players would get a lot from watching this video…
@ps_lol
@ps_lol 11 ай бұрын
although as a developer as 5 years, this really annoys me about touched function 1. they sometimes doesn't work due lightspeed of velocity 2. parts touched and bounce back but the touched function doesn't work already i wish they fixed it already
@dahorrorazguy7905
@dahorrorazguy7905 11 ай бұрын
Just use a different hitboxing method, touched events should only be used for simple things
@ps_lol
@ps_lol 11 ай бұрын
@@dahorrorazguy7905 yea i know
@gamecubebro
@gamecubebro 11 ай бұрын
I greatly appreciate the fact you went out of your way to explain the different type of hitboxes and functions in roblox studio too with visual examples as a lot of your information would've been hard to understand without a visual example
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
the only issue I see is that I was not really clear explaining the latency issues on this video, so I might release a part 2 with server sided hitboxes with lag compensation
@gamecubebro
@gamecubebro 11 ай бұрын
@@CopperCogStudio Yeah that's fair, I already was capable of understanding myself cause I learnt a lot of Computer Science myself but also. At 6:08 you said there's a better way than client hitboxes but never elaborated, can you do that in the Part 2?
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
@@gamecubebro yes, the reason why i didnt elaborated is because it is a topic that involves server authoritative movement and lag compensation which is stuff that is really complex and also unheard of on roblox. I have a video on my game where i showcase these things being applied: kzfaq.info/get/bejne/gcygdLGHybaYm2w.html
@gamecubebro
@gamecubebro 11 ай бұрын
@@CopperCogStudio Alright thanks man!
@jinx5850
@jinx5850 11 ай бұрын
i already knew this but this was still a really fun video to watch, underrated.
@tatancete000
@tatancete000 11 ай бұрын
in roblox i ve seen so many people saying me hacker and saying others hackers because they think they used a exploit for make the range of their weapon bigger but they don't fully understand the hitbox and the thing this video explains
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
I mean yes those exploits do exist due to the nature of client sided hitbox, but 70% of the time its just latency.
@TheTrueReal-ip8vo
@TheTrueReal-ip8vo 11 ай бұрын
There’s a script on Roblox which fixes hit boxes for everyone, it just teleports everyone a little bit in front based on their ping and when they move and where, also it doesn’t really fix the issue cause… auk why.
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
While that script sounds like a terrible idea, theres a concept in video games called client prediction that is similar to this. Since positions from the players arrive late to the client, The positions where you see the players standing at, is already late. Client prediction will grab these positions on your client and predict where they are probably at from the server's world state, this way you can see a result closer to their real position, and it no longer looks like they are hitting you from farther away because you can somewhat see their true position. Unfortunately, there's no current way to do this on Roblox atm.
@antrix2107
@antrix2107 11 ай бұрын
you're so underrated, this is a really good video, nice explanation and visuals
@Hiveatel
@Hiveatel 11 ай бұрын
What I've been telling the kids who keep saying I'm exploiting since I started playing roblox:
@garblites
@garblites 11 ай бұрын
what the hell i was just complaining about this stuff im being watchex
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
The fog is comming, The fog is comming, The fog is comming.
@ObstructionXD
@ObstructionXD 11 ай бұрын
@@CopperCogStudioI agree
@SenkingFar
@SenkingFar 11 ай бұрын
for a first video, this was great!
@honkhonk877
@honkhonk877 11 ай бұрын
this is why i usually play much more aggressive when im using melee weaponry
@waifu6768
@waifu6768 29 күн бұрын
If the hitbox is done on the client wouldn't that make it vulnerable to cheating since the client could "lie" to the server
@CopperCogStudio
@CopperCogStudio 29 күн бұрын
yes that is true, devs usually will add some sort of "validation" from the server to mitigate this.
@bizarreting
@bizarreting 14 күн бұрын
Rollback system with Swept or Microstepped hitboxes that rollback time and make sense of the hit detection on client.
@firemayro
@firemayro 11 ай бұрын
i figured that player positions had a delay on others' screens
@discussions.
@discussions. 11 ай бұрын
Never knew the server was also behind that is interesting.
@JakeDRavioli
@JakeDRavioli 11 ай бұрын
This is definitely quite informative on how hitboxes work, both client and server, and you've went through thouroughly to explain everything that you can do to make hitboxes. Maybe next try to mention further about other obscure methods (like HitboxServiceV4, that was mentioned in your criminality melee example?) You've earned a sub from me.
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
That is just raycasting, it just cast raycast every frame. The obscure methods require other methods since they are not vanilla roblox methods
@JakeDRavioli
@JakeDRavioli 11 ай бұрын
@@CopperCogStudio ah, fair enough. still a good video though!
@nateypateyu
@nateypateyu 11 ай бұрын
latency is an absolute pain to deal with especially for games like tag and racing games
@debscribe
@debscribe 11 ай бұрын
Thanks for the explanation.
@antxnioo
@antxnioo 2 ай бұрын
One good idea is to check gun raycasts on the client when the ping is under a certain amount. If the ping is under 100ms, the raycast is on the client, if the ping is over that, it checks on the server.
@jazzy_burrito
@jazzy_burrito Ай бұрын
I like this. I think this is a solution that I should experiment with.
@razen9082
@razen9082 11 ай бұрын
this really helped me comprehend why do my hitboxes suck in most roblox games, though its sad i cant really do much about my ping
@MaximumEffort_
@MaximumEffort_ 11 ай бұрын
amazing explanation! now i can refer this video to people rather than explain it myself
@adamuyyui5503
@adamuyyui5503 11 ай бұрын
we need more people like this putting survival of the fittest gameplay in the backround
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
its Untitled Melee Game
@realshaperio
@realshaperio 11 ай бұрын
Massive respect for using Fluidity music ♥️♥️
@negativityfire
@negativityfire 11 ай бұрын
A bad thing though is that even if you use a ethernet cable and have a really good internet you still can have a high ping because of server localization ,what i mean is servers on other continents example: north american servers and european clients are away from each other which gradually increases ping ,also the localization of the client may be a problem if one is for example: form north america ,one from europe and one from asia. The ping will gradually increase when clients are localizated in other continents.
@Backplan-nx5zr
@Backplan-nx5zr 11 ай бұрын
Yoooo this explaining was so good I thought I was learning how to code lol
@K-Sha1
@K-Sha1 Ай бұрын
Many comments not understanding that almost every one of these games have perfectly fine hitboxes. It's latency that is the problem. In instances where the game doesn't use client side hitboxes and has very fast movement you could almost say they're *too* good because they're too small to cover the extremely high volatility of movement and too small to reliably catch other players unless they linger within its radius for at least a second or two. Which.. isn't happening. The devs did a fine job designing hitboxes, but they did not do a fine job on the netcode. Which is honestly out of their hands to some extent because the limitations of Roblox itself prevent the most elegant solutions from happening. -this is also partially Roblox's fault for not having enough server locations around the world, thus increasing latency for players overall, because they just want to hoard cash instead of investing it into the betterment of the platform-
@stupidlysimple
@stupidlysimple 3 күн бұрын
Account made 12 years ago?
@RandomBadAnimator
@RandomBadAnimator 11 ай бұрын
People complaining about their gaming PC getting 130ms of ping: 😠 My poor excuse for a setup running at 90,000 ping and 0.001 fps: 🔥🙂this is fine🔥
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
Ping is based arround your internet connection, not hardware speed
@RandomBadAnimator
@RandomBadAnimator 11 ай бұрын
@@CopperCogStudio yeah my internet ain't anything too special either
@RandomBadAnimator
@RandomBadAnimator 11 ай бұрын
@@CopperCogStudio if my setup was in a videogame, it would be the crappy starter setup that you have to grind on to get the better setup.
@ruanruan4510
@ruanruan4510 11 ай бұрын
@@CopperCogStudio i mean not really when i swapped pcs my ping reduced by a lot but its of cource also based on internet connection
@lilsardine5
@lilsardine5 11 ай бұрын
heres smth to do if your bored and want to witness broken hitbox so go to a game called “obby creator” and after you finish the tutorial place a wedge, hollow cylinder, and scroll down until you see this option called “water” now go forward you can also wallhop a hallow cylinder without 2 objects
@sl_yy3573
@sl_yy3573 11 ай бұрын
Thank you for this video! I get so annoyed when people say "these hiboxes" in mm2!!! i can just show them this video
@theyeschannel5593
@theyeschannel5593 11 ай бұрын
This is the #1 reason why I don't play most PvP games in roblox, the hitboxes on some games are rigged, most of them has ping advantages. For other countries with slower network speed will have a huge disadvantage that the others with fast internet speed from fast networks like a guy in USA playing in USA servers, Versus a guy from asia playing in USA servers. It's unfair, so PvE games are my pick on roblox and not others like arsenal or dahood, or any game that has bad pvp systems that are mostly ping based.
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
as I said there are ways to mask latency like client prediction so you can actually see the player's true positions on your worldstate. or server sided lag compensated hitbox, but those things are not possible yet on vanilla roblox so PVP games are kinda sucky for now.
@osamaqidwai7800
@osamaqidwai7800 11 ай бұрын
a multibillionaire company cant get better/closer servers for many people
@ex_xlusive
@ex_xlusive 11 ай бұрын
Everytime you say "lag" this what we be referring to
@groboggan9535
@groboggan9535 11 ай бұрын
Fantastic video very entertaining and strangely soothing
@TheKris.
@TheKris. 11 ай бұрын
btw, you can check your ping in performance stats, you can toggle them on in settings, or CTRL+F7
@someonexdxd
@someonexdxd 11 ай бұрын
Its kinda insane to me how people cant figure this out themselves it took me like 1 minute of thinking
@jynz_l
@jynz_l 11 ай бұрын
All this was just lag
@Zombie-gamin
@Zombie-gamin 9 ай бұрын
This is make me rage badly In some game people just hit and kill me without touching me
@thelaw4654
@thelaw4654 11 ай бұрын
Interesting, and good explanation.
@driprockstarfreddy6441
@driprockstarfreddy6441 11 ай бұрын
Usually when someone dies to me and says "Bro these hitboxes suck" or "Bro thats mad sus, prob have range hacks" here is what i say to counter: "Its just ping difference."
@joehucker2367
@joehucker2367 11 ай бұрын
when people have to EXPLAIN THAT ROBLOX REPLICATION IS SURPRISINGLY NOT FUCKING PERFECT AND ALMOST EVERY SINGLE KILL ANYONE HAS EVER GOTTEN WITH A HITBOX OF SOME KIND IN ANY GAME IS A TOTALLY BULLSHIT FLUKE. IT'S A MIRACLE YOU DON'T FALL THROUGH FLOORS, PEOPLE.
@Tranqwhirl
@Tranqwhirl 11 ай бұрын
Jokes on you with low enough FPS I often fall through thin floors.
@CopperCogStudio
@CopperCogStudio 11 ай бұрын
@@Tranqwhirl the consequences of the physics engine not refreshing fast enough causinf it to not resolve the collisions in time after the dynamics
@coolepic519
@coolepic519 11 ай бұрын
fps games are ok you respawn fast ig and theyre generally accurate and you dont normally get tooooo mad but MM2 HITBOXES HAVE NO EXCUSE ANYMORE
@glitchmasterd5908
@glitchmasterd5908 11 ай бұрын
I always have to explain this to people, it's annoying, like with frog jumping, they take advantage with this, because on the screen of the one doing the glitch, you quickly jump on their head, but the server has it so I jump backwards and stay underneith, yet on my screen I'm on top, as for the other person they're still on top, causing you to constantly go upwards, sorry if I explained it bad
How to Secure your Game Against Exploiters
28:30
GnomeCode
Рет қаралды 68 М.
All about exploits #1 - Filtering Enabled Vulnerabilities
6:52
Copper Cog Studio
Рет қаралды 28 М.
路飞被小孩吓到了#海贼王#路飞
00:41
路飞与唐舞桐
Рет қаралды 82 МЛН
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 179 МЛН
Зачем он туда залез?
00:25
Vlad Samokatchik
Рет қаралды 3,3 МЛН
БАБУШКИН КОМПОТ В СОЛО
00:23
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 14 МЛН
What Roblox Doesn't Tell You | Roblox Studio
9:38
Stewiepfing
Рет қаралды 25 М.
This Roblox Screenshot RUINED HIS CAREER
10:19
Laughability
Рет қаралды 2,8 МЛН
Why "Underrated" ROBLOX Games Aren't Popular
3:49
viberbread
Рет қаралды 380 М.
Stopping hackers forever (UNT devlog  1)
5:25
Copper Cog Studio
Рет қаралды 17 М.
Pushing Roblox Studio To Its Limits
10:28
ByteBlox
Рет қаралды 190 М.
How Gamefam Became The Most HATED Roblox Developers...
8:43
TechyOP
Рет қаралды 616 М.
Roblox Games Done Right: Combat Initiation
10:09
Siomai Siomai
Рет қаралды 307 М.
CLANCY 🦞 Operation Squid Ink (New Animation)
0:58
Brawl Stars
Рет қаралды 1,5 МЛН