Author |
Message |
BlueGoku Novice
Age:38 Gender: Joined: Jul 05 2005 Posts: 87 Location: Toronto Offline
|
Posted: Mon Jul 18, 2005 8:36 pm Post subject: ?rec command |
 |
|
|
|
Any possibility of the next ASSS update including ball movement when displaying recorded games? It would definitely be a very cool feature for HZ. If not, our dev guys can probably take a look at the module and see if they can edit it to include it.
Btw, very nice work with that module, Grel. It may be a novelty, but it's a very, very nice feature and something that's been requested for a long time now. Kudos. _________________ Owner of SSCE Hockey Zone.
SSC Billing Operator |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Mon Jul 18, 2005 9:06 pm Post subject: |
 |
|
|
|
The server doesn't know where the ball is except when initially passsed or caught. The client performs the physics to compute its location based on friction and bounces. As long as the server is SENDING the ball packets (ball id, timestamp, player id, pass coords), the client will display them. _________________ 4,691 irradiated haggis! |
|
Back to top |
|
 |
BlueGoku Novice
Age:38 Gender: Joined: Jul 05 2005 Posts: 87 Location: Toronto Offline
|
Posted: Mon Jul 18, 2005 9:26 pm Post subject: |
 |
|
|
|
It does however record where the ball is when passed or caught? Can't we just have the ?rec command assume that every time <player a> catches the ball he will hold on to it until he passes it away, and display that? I mean, it's already displaying player movement. Only problem I see is having not knowing where the puck will stop if it's shot away, since priit hasn't released the friction formula.
All we really need for HZ is the record to show where a player is when the ball is shot, to help CR/DC calls. |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Mon Jul 18, 2005 10:26 pm Post subject: |
 |
|
|
|
Doesn't it already record ball packets? Thats all that module does, records packets and then resends them durring playback. _________________ Current Terror Alert Level
 |
|
Back to top |
|
 |
BlueGoku Novice
Age:38 Gender: Joined: Jul 05 2005 Posts: 87 Location: Toronto Offline
|
Posted: Mon Jul 18, 2005 10:49 pm Post subject: |
 |
|
|
|
It doesn't display where the ball was when playing recordings. |
|
Back to top |
|
 |
Mr Ekted Movie Geek

Gender: Joined: Feb 09 2004 Posts: 1379 Offline
|
Posted: Mon Jul 18, 2005 11:03 pm Post subject: |
 |
|
|
|
Aren't we talking about using Cont to view a recorded game in a special arena under ASSS? What's the problem? |
|
Back to top |
|
 |
Dr Brain Flip-flopping like a wind surfer

Age:39 Gender: Joined: Dec 01 2002 Posts: 3502 Location: Hyperspace Offline
|
Posted: Mon Jul 18, 2005 11:53 pm Post subject: |
 |
|
|
|
I don't think the record module logs ball packets, brick packets or flag packets. To make it work, you would have to extend the module to handle at least the ball packets. _________________ Hyperspace Owner
Smong> so long as 99% deaths feel lame it will always be hyperspace to me |
|
Back to top |
|
 |
50% Packetloss Server Help Squatter

Age:40 Gender: Joined: Sep 09 2003 Posts: 561 Location: Santa Clarita, California Offline
|
Posted: Tue Jul 19, 2005 2:33 am Post subject: |
 |
|
|
|
Yah, there probably shouldn't be a problem adding that in. Catid made that module?? Of all the modules, that one is one of my favorite. |
|
Back to top |
|
 |
Grelminar Creator of Asss
Joined: Feb 26 2003 Posts: 378 Offline
|
Posted: Tue Jul 19, 2005 2:48 am Post subject: |
 |
|
|
|
I wrote record. I'm probably the only one who understands how it works well enough to extend it (it's sort of obtuse), although anyone is welcome to try.
The problem isn't just getting it to work: I came up with a really hacky solution (the "arena packet hook" stuff) that would make balls and flags "work" well enough for most purposes, but it had some major flaws. I have some ideas for a cleaner implementation, but haven't gotten around to working on them.
Specifically, I want to get the settings packet recorded in the game file, and restored properly during playback. And I want players entering an arena during playback to get correct flag/ball positions, correct KOTH crown information, existing bricks, etc. It would also be nice if you didn't have to have the current map set to the same map that was there during playback (not that the current implementation checks for this very well), which might even mean embedding the full map in the game file also. |
|
Back to top |
|
 |
|