Broken Netcode Demonstration -- A Bogus Kill
Re: Broken Netcode Demonstration -- A Bogus Kill
Perhaps the shot packet can be rewritten entirely to include the exact location and vectors/angles it was shot from instead of simply sending a packet that says "i shot this" and letting the client determine that that means where it was shot (eg client attaches laser fire to the last positional packets; perhaps make laser fire have it's own positional packets)
-
JinX
- Posts: 26
- Joined: Wed Oct 02, 2013 6:18 pm
LOL! Jinx, I know you tldr, but honestly. I've been talking about wanting to make that change for three pages, and half of the last page is a performance discussion of the mod I released that does exactly that. If you can't be bothered to read, at least skim, man!
The way I designed it, it's just the forward vector in the shot packets, not a full orientation and position. I don't think you don't need the position data. I thought about it, but the positions are already pretty accurate, even with short packets (well, except for lag -- I cannae change the laws of physics). Plus, correcting a small error in position would buy you almost nothing in terms of the overall accuracy of the shot, but it would make the shot not come out of the gun port, which would be pretty jarring.
As for sending more orientation information -- right and up orientation vectors as well as forward -- that seems like overkill, too. That would just be for getting the gun port position right, and Ryusei's testing shows it's close enough to right already that you can't see a difference, even in frame-by-frame analysis.
No, I think sniper packets design is good.
But kudos to your design sense . . . what you're suggesting is similar to what I did, and I think it is a good solution.
The way I designed it, it's just the forward vector in the shot packets, not a full orientation and position. I don't think you don't need the position data. I thought about it, but the positions are already pretty accurate, even with short packets (well, except for lag -- I cannae change the laws of physics). Plus, correcting a small error in position would buy you almost nothing in terms of the overall accuracy of the shot, but it would make the shot not come out of the gun port, which would be pretty jarring.
As for sending more orientation information -- right and up orientation vectors as well as forward -- that seems like overkill, too. That would just be for getting the gun port position right, and Ryusei's testing shows it's close enough to right already that you can't see a difference, even in frame-by-frame analysis.
No, I think sniper packets design is good.
But kudos to your design sense . . . what you're suggesting is similar to what I did, and I think it is a good solution.
-
Drakona
- Site Admin
- Posts: 1494
- Joined: Fri Aug 30, 2013 5:35 pm
Tracker issue fixed. It was sneaky. The message format the tracker expects and the one it sends are different, but the games still need to be able to talk to each other. Never mind, I'm sure no one cares about my programming war stories, so long as it works.
I've simply overwritten the executable in place, so you can re-download from the same link.
D1:
Source:
Now it's ready for play.
I've simply overwritten the executable in place, so you can re-download from the same link.
D1:
Source:
Now it's ready for play.
-
Drakona
- Site Admin
- Posts: 1494
- Joined: Fri Aug 30, 2013 5:35 pm
YES! It's all falling perfectly into place for me to be ready to rumble this weekend... you had this primarily in mind the whole time, of course.
Fantastic work once again, Drakona!
Fantastic work once again, Drakona!
-
RiTides
- Posts: 223
- Joined: Sun Sep 01, 2013 6:13 pm
You're welcome. I really can't take all the credit for that fix happening fast, though -- thanks go to Ryusei for the clue and Zico for being so forthcoming in public about what was broken. That really would have taken me a couple days to find on my own.
-
Drakona
- Site Admin
- Posts: 1494
- Joined: Fri Aug 30, 2013 5:35 pm
Nice of you to share the credit, thanks to Ryusei and Zico too of course!
-
RiTides
- Posts: 223
- Joined: Sun Sep 01, 2013 6:13 pm
Someone give Drakona that 3d-printed Pyro! The largest one available!! I will personally pay for shipping/materials and whatever else is needed to get that Trophy to her for what she has done! RiTides... hit me up via e-mail and we'll work something out if you haven't already! dkh.seattle@gmail.com - Serious!
-
DKH
- Posts: 94
- Joined: Sun Sep 01, 2013 10:38 am
Totally agree! Three cheers for Drakona! And thanks to all who have helped make this so... AWESOME!
-
Mark392
- Posts: 728
- Joined: Mon Sep 09, 2013 2:41 pm