#Melee weapon with server lag
1 messages · Page 1 of 1 (latest)
you don't 
i mean its gotta be possible
otherwise my weapon is doomed if people are allowed to have free will and walk LOL
it is not 
you can move where the lag happens, you can sometimes even hide it, but you cannot remove it outright 
it is you just have to become super rich and open your own servers to every town and city then your lag wont be as bad it will still be there
well yeah, but is there a way i could just take the info from the client and use that (instead of relying on server)? seems like it would make sense but ive tried doing it this way and same problem lol
real
yes, that's exactly what i just said - you can move it, sometimes hide it, but you cannot remove it outright no matter what you do
no matter how rich you are.
unless of course you're prepared to spend billions developing quantum internet
im def gonna go do that easy
well i guess my question is how do games like MM2 do it, i have a similiar melee system and i really have no problems attacking in that game lol
** You are now Level 3! **
well how bad is ur hitbox in ur game?
it could maybe be slow code
cause even in mm2 the hitboxes can be a bit crazy still
oh yeah fs but not nearly as bad as what im doin lol, im just using raycast to detect hits
its really based on how close u are to the physical server
i dont think it should cause that much problems
ive been testing with a friend in the same city as me, and if moving we literally can only hit eachother if we go infront of where we actually see eachother
its very weird
I havent really messed around with like melee detection so I cant really say for sure you'll have to ask someone better than me about this but raycast seems fine no?
i would think so but roblox not having it lol
maybe try diff detection methods and see
like get partsboundinbox thats another way
you'll probs still get the issue
that's not going to change the simple fact of latency
yea you cant really do too much tbh
but it shouldnt be THAT bad unless ur on a server thats really far away
ive tried that, ive tried raycast, ive tried literally having a part connect to the front of the player that has a .Touched connect and no better
shiz is goofy
i tried this way again and it actually is working flawlessly now
idk if its just lucky no lag or wat but
we ball
yea it was probs an issue with ur code then