Re: [Warzone-dev] Warzone networks code
On 5/1/07, The Noid <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: > On Wed, 02 May 2007 00:40:24 -0400 The Watermelon > <[EMAIL PROTECTED]> wrote: >> After looking at both gamelogics and netcode of wz relatively >> extensively,I figured out that it's not only netcode that makes wz >> unplayable in MP,but also the non-constant gamelogics update rate >> makes the synchronization process impossible,because the PC spec >> varies from player to player in a mp game. >> >> IMO we will need to fix the non-constant gameframe problem first >> and see the results of such fix before trying to rewrite the >> netcode,maybe the net desynchronize is 'suddenly' fixed once we fix >> the gameframe stuff... > > Was anyone heavy player of 1.x WZ? How was netcode with that? WZ 2.x > net code was all new I think because of no DX networking, so I > thought problem is with that. If 1.x has same issue, then it is > design problem ? One of the problems in game logic timing was that the maximum turn rate of units depended on the frame rate. So on a fast machine units turned faster and thus moved differently then on slow machines. That should now be fixed, so maybe the sync problems are less now? Problems like that one exist everywhere where there is an effect that works slowly over time, where the result is stored in an integer. The integer means there is a minimum effect of 1, so on fast machines there will be a minimum effect of 1 per frame. Ones I can think of are flame damage (burning units), and movement. Cya, Hylke almost everything will be affected by this problem,in current mp games,a player's game runs at 40fps will update 2x as frequent as the one with 20fps,so the desync will happen in every aspect of the game after relatively long time of playing imo. ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
Re: [Warzone-dev] Warzone networks code
[EMAIL PROTECTED] wrote: > On Wed, 02 May 2007 00:40:24 -0400 The Watermelon > <[EMAIL PROTECTED]> wrote: >> After looking at both gamelogics and netcode of wz relatively >> extensively,I figured out that it's not only netcode that makes wz >> unplayable in MP,but also the non-constant gamelogics update rate >> makes the synchronization process impossible,because the PC spec >> varies from player to player in a mp game. >> >> IMO we will need to fix the non-constant gameframe problem first >> and see the results of such fix before trying to rewrite the >> netcode,maybe the net desynchronize is 'suddenly' fixed once we fix >> the gameframe stuff... > > Was anyone heavy player of 1.x WZ? How was netcode with that? WZ 2.x > net code was all new I think because of no DX networking, so I > thought problem is with that. If 1.x has same issue, then it is > design problem ? One of the problems in game logic timing was that the maximum turn rate of units depended on the frame rate. So on a fast machine units turned faster and thus moved differently then on slow machines. That should now be fixed, so maybe the sync problems are less now? Problems like that one exist everywhere where there is an effect that works slowly over time, where the result is stored in an integer. The integer means there is a minimum effect of 1, so on fast machines there will be a minimum effect of 1 per frame. Ones I can think of are flame damage (burning units), and movement. Cya, Hylke ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
Re: [Warzone-dev] Warzone networks code
On Wed, 02 May 2007 00:40:24 -0400 The Watermelon <[EMAIL PROTECTED]> wrote: >On 5/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> What to do with current networks code in WZ? Try to fix, any >one >> good at network code/problems in latency/sych? >> >> Or should we just use game network libs that is open source that >> handle code for dial modem users or LAN users? I know we talk >> abouts this before, but nothing I recall was said about what to >> do/use? >> >> These I find that we may be able to work with, >> http://www.opentnl.org/faq.php is C++ & GPL works with Mac, >> window,linux. >> HawkNL http://www.hawksoft.com/hawknl/ LGPL, mac, window, linux >> http://www.zoidcom.com/ Free no comercial use, windows, linux, >no >> mac source? >> http://www.rakkarsoft.com/ Not GPL anymore, it is Creative >Commons >> Attribution ? >> http://sourceforge.net/projects/zige/ windows/linux BSD license >> C/C++ >> http://twistedmatrix.com/projects/core/ Python, so works for >all ? >> http://www.libsdl.org/projects/SDL_net/ We use this now. > > >After looking at both gamelogics and netcode of wz relatively >extensively,I >figured out that it's not only netcode that makes wz unplayable in >MP,but >also the non-constant gamelogics update rate makes the >synchronization >process impossible,because the PC spec varies from player to >player in a mp >game. > >IMO we will need to fix the non-constant gameframe problem first >and see the >results of such fix before trying to rewrite the netcode,maybe the >net >desynchronize is 'suddenly' fixed once we fix the gameframe >stuff... Was anyone heavy player of 1.x WZ? How was netcode with that? WZ 2.x net code was all new I think because of no DX networking, so I thought problem is with that. If 1.x has same issue, then it is design problem ? -- Need cash? Click to get an instant cash advance http://tagline.hushmail.com/fc/CAaCXv1KmEKEYlHkjiyYriNtVEukIJ6l/ ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev
Re: [Warzone-dev] Warzone networks code
On 5/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: What to do with current networks code in WZ? Try to fix, any one good at network code/problems in latency/sych? Or should we just use game network libs that is open source that handle code for dial modem users or LAN users? I know we talk abouts this before, but nothing I recall was said about what to do/use? These I find that we may be able to work with, http://www.opentnl.org/faq.php is C++ & GPL works with Mac, window,linux. HawkNL http://www.hawksoft.com/hawknl/ LGPL, mac, window, linux http://www.zoidcom.com/ Free no comercial use, windows, linux, no mac source? http://www.rakkarsoft.com/ Not GPL anymore, it is Creative Commons Attribution ? http://sourceforge.net/projects/zige/ windows/linux BSD license C/C++ http://twistedmatrix.com/projects/core/ Python, so works for all ? http://www.libsdl.org/projects/SDL_net/ We use this now. After looking at both gamelogics and netcode of wz relatively extensively,I figured out that it's not only netcode that makes wz unplayable in MP,but also the non-constant gamelogics update rate makes the synchronization process impossible,because the PC spec varies from player to player in a mp game. IMO we will need to fix the non-constant gameframe problem first and see the results of such fix before trying to rewrite the netcode,maybe the net desynchronize is 'suddenly' fixed once we fix the gameframe stuff... ___ Warzone-dev mailing list Warzone-dev@gna.org https://mail.gna.org/listinfo/warzone-dev