Hyperjumping calculation (server part) - Printable Version +- The Matrix Online Server Emulator (//mxoemu.info/forum) +-- Forum: The Matrix Online (//mxoemu.info/forum/forumdisplay.php?fid=3) +--- Forum: The MxO Client (//mxoemu.info/forum/forumdisplay.php?fid=7) +--- Thread: Hyperjumping calculation (server part) (/showthread.php?tid=352) |
RE: Hyperjumping calculation (server part) - Neo VII - 13-02-2010 (13-02-2010, 07:29 AM)rajkosto Wrote: i rebound mine to T (13-02-2010, 08:57 AM)MajTom Wrote: I almost never targeted when I used hyperjump, only targeted when it would say I could not jump This is what I was wondering about as well. I always bound mine to V and rarely target HJ'd anywhere. Edit: Another note about that, when you HJ with a keybind 'char' rather than targeting, you have to hold down that 'char'. So often I would let go of the keybound 'char' to drop out of HJ shorter than where I would end up if I'd held it in the whole time. RE: Hyperjumping calculation (server part) - HD_Morpheus - 13-02-2010 Non targeted has the same pattern if i recall correctly. As long as client sends the same data, protocol will be the same. The exception to this calculation is Hyperjump in place, as going up and down doesnt make a parabola. But anyway, detecting that initial point and end point are the same, we can do a list of packets going up, and the reverse, like a elevator, just changing Y axis. Got it grabbed by the balls . RE: Hyperjumping calculation (server part) - rajkosto - 13-02-2010 its not the same for the key shortcut since there is no target, you keep going untill you release the key (or you have traveled the maximum distance), then it calculates the falling parabola, and reverses you a bit so it can execute it and you land where you have been before the reversing RE: Hyperjumping calculation (server part) - Neo VII - 13-02-2010 (13-02-2010, 12:57 PM)Morpheus Wrote: The exception to this calculation is Hyperjump in place, as going up and down doesnt make a parabola. Ahh, okay... in place, like the vertical hyperjump thingy. Took me a second to figure out what that meant. Could it be written similarly to the way the landing packet will be sent with the right end coordinates on the second ball of the parabola? Or would it be a different packet and animation. (13-02-2010, 01:19 PM)rajkosto Wrote: its not the same for the key shortcut Wouldn't the maximum distance of the keybind be the same as the target at the end of the parabola? Though I get your explanation for the calculation of what happens when you release the key bind. RE: Hyperjumping calculation (server part) - rajkosto - 13-02-2010 if you hold and dont release the key, you are on a parabola with length of the maximum HJ distance with your HJ level if you stop, thats what happens also, the in place jump, is the parabola with length 0 and height max height RE: Hyperjumping calculation (server part) - Neo VII - 13-02-2010 Nice. RE: Hyperjumping calculation (server part) - Sixxth - 13-02-2010 So, what about small jumps over fences, walls, garbage bags etc, using just the space bar? Is it the same calculation? Like if you dont hit the ctrl it just hyperjumps you the minimum height for your level? Very interesting stuff.... RE: Hyperjumping calculation (server part) - HD_Morpheus - 13-02-2010 (13-02-2010, 01:40 PM)Neo VII Wrote: Could it be written similarly to the way the landing packet will be sent with the right end coordinates on the second ball of the parabola? Or would it be a different packet and animation.Cant use same thing for calculation. The ecuation and Gauss-Jordan needs 3 diff points. Otherwise Gaussian elimination will remove one of the ecuations as repeated and you cant calculate the 3rd value. Math things xD. More like just going up in a line and then, when at the max height, go down. possibly the same calculation for jumps, but with less altitude and different animation, i suppose. anyway, having done the thing, is just changing the maths parameters. ^^ RE: Hyperjumping calculation (server part) - Neo VII - 13-02-2010 (12-02-2010, 07:56 PM)Morpheus Wrote: So the three points are the beginning, end, and the highest point in the arch? Y is cut off in this picture at the highest point. RE: Hyperjumping calculation (server part) - HD_Morpheus - 13-02-2010 Matlab simulation of real packets: The coolness of custom 3d is the rotation possibilities. Here we go: From a side of the jump: From the building perspective: Rollercoaster mode Incoming!!!! (Simulation ball camera!) No matter where you look from, yellow and white trails are almost overwritten hehehe (goody goody). |