Welcome to the 42 Amsterdam multiserver.
Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 49
  1. #16
    One more method i've found to make ping & connection better.
    This time it seems that it might improve only TCP connection - thus SE only?

    The method is actually to disable the Nagle's algorithm that is enabled by default on all windows starting from XP
    Nagle algorithm simply waits until there is "enough" data to send over network ....thus - it will just stall until it collects block large enough to send.

    So - to improve the ping / connection - we'll need to disable this nice feature
    To do that follow those steps:

    1. Open Regedit
    2. Navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters\Interfaces\"
    3. Select from the list of all interfaces one that corresponds to the external connection (internet) - it will be in form of GUID - "{8FBA6DCA-FFE8-4002-A28F-4D2B57AE8383}" name format.

      Name:  2018072013k3TO3F.png
Views: 0
Size:  383.7 KB



    4. Inside that interface - add new parameter (DWORD) named: "TcpAckFrequency" and set value to 1
    5. Navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Paramet ers"
    6. Add new parameter "TCPNoDelay", set value to 1

      Name:  20180720wDw7brxu.png
Views: 0
Size:  190.3 KB


    7. Reboot.




    On the other site there were nice explanation in a form of a dialog between server and client - how this change will work:



    Before TcpAckFrequency

    Server: "Ok computer, I just sent a data packet over to you, got it?"
    Your computer: …
    Server: "Come on, answer me! I don't have all day! Stop wasting time!"
    Your computer: …
    Server: "Ok, forget it, I've waited long enough, sending another one over! Got it?"
    Your computer: "Yep, got that one, also got the one you sent before, thanks."
    Server: "Well, why didn't you acknowledge the first one when I sent it? I was waiting ages!"
    Your computer: "Sorry, I'm just trying to make the network more efficient by bundling the acknowledgements together in pairs. This is how I'm setup by default."

    After TcpAckFrequency

    Server: "Ok computer, I just sent a data packet over, got it?"
    Your computer: "Yep, send the next!"
    Server: "That was fast! Ok, here's another, got that?"
    Your computer: "Yep, send the next!"
    Server: "Wow! What an improvement! Now that's more like it!"
    Your computer: "Yep, it's certainly keeping me on my toes, thanks!"

    Before TCPNoDelay

    I have this packet I want to send to the server, but it's really small and I'm going to have another packet here in a few milliseconds, so I'll wait and just lump them together.

    After TCPNoDelay
    I got a packet to send
    I send a packet
    Ain't nobody got time to check dat size of dat data.

    I got another packet to send
    Time to send that good stuff
    Last edited by Ostap; 21-07-2018 at 10:43.
    ....... Always Look On The Bright Side of Life

  2. #17
    Quote Originally Posted by Ostap View Post
    Network and Graphics are tide up together ...
    You said it right. I have noticed that game lags much more when I have framerate drops. When FPS go down, ping raises and I'm unable to aim well (especially with Colt, Double Shotgun, Sniper) and also I have to repeat a click for shooting or to press a key for moving/selecting any weapon...

    Quote Originally Posted by Ostap View Post
    Sorry dudes if you think i posted wrong tip - but i've pretty nice graphic card and network ....
    those settings work better than the old.
    You know, it is strange: I have a netbook (that means the worst architecture ever in terms of CPU and integrated graphic card) and I can play fine, without frame drops for a bit. The framerate starts to drop after 15-20 mins.

    I have to study a solution for this. Maybe it also depends on cache, who knows? The same happens when I play FIFA 98. When I boot this game after I turn on my netbook, it works a bit fine. When I try running it after using browser or programs such as Excel, Notepad++, etc, it does even have worser frame rate than Serious Sam, even if I closed all the previous processes before! Also, Serious Sam becomes "stable" again when I do F9.

    Note: FIFA 98 must be run ONLY at "Single Process Affinity" or it will crash!

    My specs:

    Acer Aspire One D270-26Dkk

    CPU: Intel Atom N2800 (all sites wrote that this processor is the worst Intel could do, even if it is "Quad" core), 1.86 GHz speed - no turbo boost;
    GPU: Intel Graphics Media Accelerator 3600 (integrated card...);
    RAM: 2 GB DDR3 (it is expanded: I had 1GB before).
    OS: I now have Windows 7 - Home Premium 32-bit (I had Starter by default, but I upgraded it with Windows Anytime Upgrade, since I still have the case of an old Samsung RV-520 I bought in 2011 and then I still had an unused OEM license of Home Premium - that Samsung died in 2013).

    However, I hope to change my laptop in december (after 5+ years). Let's say some stuff like Acer ASPIRE 5 A515-41G-T2CL or something like that.

    Anyway, with my current architecture I can run Quake 3 quite fine, even with multiple bots.

    Quote Originally Posted by Ostap View Post
    Both ...


    this is contents of NVidia ini file (NV40+.ini)

    include "Scripts\GLSettings\Default.ini";


    if( iQualityIndex>7) { iQualityIndex = 7; }
    if( sam_iVideoSetup==2) { iQualityIndex = iQualityIndex +1; }
    if( sam_iVideoSetup==0) { iQualityIndex = iQualityIndex -1; }


    include "Scripts\GLSettings\RAM.ini";


    ogl_bAlternateClipPlane = 1; // faster mirrors


    if( sam_iVideoSetup==2) {
    gap_iTextureAnisotropy = 8;
    gap_fTextureLODBias = -0.25;
    }


    that includes RAM.ini:



    // determine texture and shadowmap quality/size
    // (depends on ammount of video memory)


    if( iQualityIndex>8) { iQualityIndex = 8; }


    if( iQualityIndex==8) // 512MB video
    {
    Echo("DEBUG: Assumed Video Memory:\n >512 MB\n");
    tex_iNormalQuality = 0; // Optimal
    tex_iAnimationQuality = 0; // Optimal?
    tex_iNormalSize = 9; // Large
    tex_iAnimationSize = 8; // Large
    tex_iEffectSize = 8; // Large
    shd_iStaticSize = 8; // Large
    shd_iDynamicSize = 8;
    shd_bFineQuality = 1; // 32-bit
    shd_fCacheSize = 24; // Huge
    shd_tmFlushDelay = 70;
    mdl_bFineQuality = 1; // Normal *Removed in 1.50 Patch*
    gfx_tmProbeDecay = 600;
    gfx_fProbeRatio = 3.5; // Only exists in First Encounter
    gfx_iProbeSize = 1792; // Only exists in Second Encounter
    }


    else if( iQualityIndex==7) // 256MB video
    {
    Echo("DEBUG: Assumed Video Memory:\n >256 MB\n");
    tex_iNormalQuality = 0; // Optimal
    tex_iAnimationQuality = 0; // Optimal?
    tex_iNormalSize = 9; // Large
    tex_iAnimationSize = 8; // Large
    tex_iEffectSize = 8; // Large
    shd_iStaticSize = 8; // Large
    shd_iDynamicSize = 8;
    shd_bFineQuality = 1; // 32-bit
    shd_fCacheSize = 24; // Huge
    shd_tmFlushDelay = 60;
    mdl_bFineQuality = 1; // Normal *Removed in 1.50 Patch*
    gfx_tmProbeDecay = 500;
    gfx_fProbeRatio = 3.0; // Only exists in First Encounter
    gfx_iProbeSize = 1536; // Only exists in Second Encounter
    }


    else if( iQualityIndex==6) // 128MB video
    {
    Echo("DEBUG: Assumed Video Memory:\n >128 MB\n");
    tex_iNormalQuality = 0; // Optimal
    tex_iAnimationQuality = 0; // Optimal?
    tex_iNormalSize = 9; // Large
    tex_iAnimationSize = 8; // Large
    tex_iEffectSize = 8; // Large
    shd_iStaticSize = 8; // Large
    shd_iDynamicSize = 8;
    shd_bFineQuality = 1; // 32-bit
    shd_fCacheSize = 24; // Huge
    shd_tmFlushDelay = 50;
    mdl_bFineQuality = 1; // Normal *Removed in 1.50 Patch*
    gfx_tmProbeDecay = 400;
    gfx_fProbeRatio = 2.5; // Only exists in First Encounter
    gfx_iProbeSize = 1280; // Only exists in Second Encounter
    }


    else if( iQualityIndex==5) // 64MB video
    {
    Echo("DEBUG: Assumed Video Memory:\n >64 MB\n");
    tex_iNormalQuality = 0; // Optimal
    tex_iAnimationQuality = 0; // Optimal?
    tex_iNormalSize = 9; // Large
    tex_iAnimationSize = 7; // Normal
    tex_iEffectSize = 8; // Large
    shd_iStaticSize = 8; // Large
    shd_iDynamicSize = 8;
    shd_bFineQuality = 1; // 32-bit
    shd_fCacheSize = 24; // Huge
    shd_tmFlushDelay = 40;
    mdl_bFineQuality = 1; // Normal *Removed in 1.50 Patch*
    gfx_tmProbeDecay = 300;
    gfx_fProbeRatio = 2.0; // Only exists in First Encounter
    gfx_iProbeSize = 1024; // Only exists in Second Encounter
    }


    else if( iQualityIndex==4) // 32MB video
    {
    Echo("DEBUG: Assumed Video Memory:\n >32 MB\n");
    tex_iNormalQuality = 0; // Optimal
    tex_iAnimationQuality = 11; // 16-bit?
    tex_iNormalSize = 9; // Large
    tex_iAnimationSize = 6; // Small
    tex_iEffectSize = 7; // Normal
    shd_iStaticSize = 8; // Large
    shd_iDynamicSize = 8;
    shd_bFineQuality = 1; // 32-bit
    shd_fCacheSize = 16; // Large
    shd_tmFlushDelay = 30;
    mdl_bFineQuality = 1; // Normal *Removed in 1.50 Patch*
    gfx_tmProbeDecay = 200;
    gfx_fProbeRatio = 1.5; // Only exists in First Encounter
    gfx_iProbeSize = 768; // Only exists in Second Encounter
    }


    else if( iQualityIndex==3) // 16 MB video
    {
    Echo("DEBUG: Assumed Video Memory:\n >16 MB\n");
    tex_iNormalQuality = 0; // Optimal
    tex_iAnimationQuality = 11; // 16-bit?
    tex_iNormalSize = 8; // Normal
    tex_iAnimationSize = 6; // Small
    tex_iEffectSize = 7; // Normal
    shd_iStaticSize = 7; // Normal
    shd_iDynamicSize = 7;
    shd_bFineQuality = 1; // 32-bit
    shd_fCacheSize = 8; // Normal
    shd_tmFlushDelay = 20;
    mdl_bFineQuality = 1; // Normal *Removed in 1.50 Patch*
    gfx_tmProbeDecay = 100;
    gfx_fProbeRatio = 1.0; // Only exists in First Encounter
    gfx_iProbeSize = 512; // Only exists in Second Encounter
    }


    else if( iQualityIndex==2) // 4-8 MB video
    {
    Echo("DEBUG: Assumed Video Memory:\n >4 MB\n");
    tex_iNormalQuality = 0; // Optimal
    tex_iAnimationQuality = 11; // 16-bit?
    tex_iNormalSize = 7; // Small
    tex_iAnimationSize = 5; // Tiny
    tex_iEffectSize = 6; // Small
    shd_iStaticSize = 6; // Small
    shd_iDynamicSize = 6;
    shd_bFineQuality = 0; // 16-bit
    shd_fCacheSize = 4; // Small
    shd_tmFlushDelay = 10;
    mdl_bFineQuality = 0; // Low *Removed in 1.50 Patch*
    gfx_tmProbeDecay = 50;
    gfx_fProbeRatio = 0.5; // Only exists in First Encounter
    gfx_iProbeSize = 256; // Only exists in Second Encounter
    }


    else if( iQualityIndex==1) // <4 MB video
    {
    Echo("DEBUG: Assumed Video Memory:\n <4 MB\n");
    tex_iNormalQuality = 11; // 16-bit
    tex_iAnimationQuality = 11; // 16-bit?
    tex_iNormalSize = 6; // Tiny
    tex_iAnimationSize = 5; // Tiny
    tex_iEffectSize = 5; // Tiny
    shd_iStaticSize = 5; // Tiny
    shd_iDynamicSize = 5;
    shd_bFineQuality = 0; // 16-bit
    shd_fCacheSize = 2; // Tiny
    shd_tmFlushDelay = 5;
    mdl_bFineQuality = 0; // Low *Removed in 1.50 Patch*
    gfx_tmProbeDecay = 25;
    gfx_fProbeRatio = 0.25; // Only exists in First Encounter
    gfx_iProbeSize = 128; // Only exists in Second Encounter
    }
    I'll check for these settings, they could help me writing a GPU script for keeping stable framerate even on a netbook. For example, I read somewhere that Serious Sam needs "only" 512 MB of RAM.

    Because this game is pretty old and it doesn't require the same architecture needed for DOOM 2016 or Battlefield 1.
    Last edited by Marco; 29-09-2018 at 11:19.

  3. #18
    Quote Originally Posted by Marco View Post
    You said it right. I have noticed that game lags much more when I have framerate drops. When FPS go down, ping raises and I'm unable to aim well (especially with Colt, Double Shotgun, Sniper) and also I have to repeat a click for shooting or to press a key for moving/selecting any weapon...
    Maybe rephrase it a bit ....
    You have frame drops when you have lags - not the other way around

    But i'm still puzzled by the fact that you don't have bad syncs with Fix42....(me neither btw). - as i said before - there were no changes to networking in that mod.

    All i could think of - is the VS6 (Visual Studio 6) the one with which Sam was build originally.
    My mod is also build with it. (not the new VS 10,12,15....etc) - to keep it as close as possible to the original code.
    Last edited by Ostap; 09-10-2018 at 23:16.
    ....... Always Look On The Bright Side of Life

  4. #19
    Quote Originally Posted by Ostap View Post
    Maybe rephrase it a bit ....
    You have frame drops when you have lags - not the other way around
    No, I would say: FPS drops cause a lag increase. When frame rate drops, ping also increases. Those drops occur at some points in coop/deathmatch maps or when in coop there is a huge amount of monsters. Sometimes they also occur against certain deathmatch opponents (and this is also a Serious Sam HD issue).



    Quote Originally Posted by Ostap View Post
    But i'm still puzzled by the fact that you don't have bad syncs with Fix42....(me neither btw). - as i said before - there were no changes to networking in that mod.

    All i could think of - is the VS6 (Visual Studio 6) the one with which Sam was build originally.
    My mod is also build with it. (not the new VS 10,12,15....etc) - to keep it as close as possible to the original code.

    I experienced bad syncs for the first time at the beginning of this month! I always save logs; and the talk we had yesterday reminded me I had bad syncs (with Fix42Mod) at Valley of The Jaguar.

    I dug a bit in the archive, it was 1/10:

    Name:  RUS_Fed_DemosList.png
Views: 0
Size:  46.3 KB

    the log I saved:

    Joining session at: '138.201.82.138'
    Sending statedelta request
    Sending CRC request
    joined
    Adding player: '^o^i^cffffff^f4Mar^f2co^cffff00^f5-^f3_^f5-^f3-^f2-^c80ff00^f4>^f3>^f4>^c53ff00^f2"^f4I ^f3ha^f4ve ^f4Go^f2od ^f4Sy^f3nc ^f2[^f30 ^f4/ ^f360]^f4"^r'
    done.

    ^cFFFFFF^bSAM BOT: ^o^cFFFFFF ^r

    ^cFF0000: ^o^cFFFFFF^cFFFF00^cccccffWelcome to 42Amsterdam Server^r

    ^cFF0000: ^o^cFFFFFF^cFFFF00^r

    ^cFF0000: ^o^cFFFFFF^cFFFF00Type ^cFFFFFF@info^cFFFF00 for SAM BOT commands
    ^r
    ^cFFFFFF^bSAM BOT: ^o^cFFFFFF ^r

    ^cFF0000: ^o^cFFFFFF^cFFFF00^c53ff00You Have Good Sync [0 / 60]
    ^r
    Not precached: (0x0001360E)'Models\Effects\Debris\Fruits\LollyPop .mdl'
    Not precached: (0x0001360F)'Models\Effects\Debris\Fruits\Orange.m dl'

    * START NEW DISPLAY MODE ...
    Starting display mode: 1024x768x32 (fullscreen)

    * Direct3D context created: *----------------------------------
    (MS DirectX 8, Intel(R) Graphics Media Accelerator 3600 Series, 8.14.8.1096)

    All textures reloaded.

    Automatic 3D-board preferences adjustment...
    Detected: MS DirectX 8 - Intel(R) Graphics Media Accelerator 3600 Series - 8.14.8.1096
    Matching: *Intel(R)*3600* (Intel(R) Graphics Media Accelerator 3600 Series)
    Similar to last, keeping same preferences.

    * START NEW DISPLAY MODE ...
    Starting display mode: 1024x768x32 (fullscreen)

    * Direct3D context created: *----------------------------------
    (MS DirectX 8, Intel(R) Graphics Media Accelerator 3600 Series, 8.14.8.1096)

    All textures reloaded.

    Automatic 3D-board preferences adjustment...
    Detected: MS DirectX 8 - Intel(R) Graphics Media Accelerator 3600 Series - 8.14.8.1096
    Matching: *Intel(R)*3600* (Intel(R) Graphics Media Accelerator 3600 Series)
    Similar to last, keeping same preferences.
    ^cFFFFFF^bSAM BOT: ^o^cFFFFFF ^r

    ^c00FF00: ^o^cFFFFFF^cFFFFFF^bSERVER NOTE^r

    ^c00FF00: ^o^cFFFFFF^cFFFF00^cf6ff00To change the map^r

    ^c00FF00: ^o^cFFFFFF^cFFFF00^cf6ff00Type: ^cffffff@map "number"
    ^r
    ^cFFFFFF^bSAM BOT: ^o^cFFFFFF ^r

    ^c00FF00: ^o^cFFFFFF^cFFFFFF^bSERVER NOTE^r

    ^c00FF00: ^o^cFFFFFF^cFFFF00^cf6ff00To change the map^r

    ^c00FF00: ^o^cFFFFFF^cFFFF00^cf6ff00Type: ^cffffff@map "number"
    ^r
    ^oTim^r joined
    ^cFFFFFF^bSAM BOT: ^o^cFFFFFF ^r

    ^c00FF00: ^o^cFFFFFF^cFFFF00Player: ^cFB9802Tim^r

    ^c00FF00: ^o^cFFFFFF^cFFFF00From ^cFB9802Germany^cFFFF00 connected
    ^r
    ^oTim^r burst into flames
    ^oTim^r blew himself away
    ^oTim^r blew himself away
    ^oTim^r blew himself away
    ^oTim^r blew himself away
    ^o^i^cffffff^f4Mar^f2co^cffff00^f5-^f3_^f5-^f3-^f2-^c80ff00^f4>^f3>^f4>^c53ff00^f2"^f4I ^f3ha^f4ve ^f4Go^f2od ^f4Sy^f3nc ^f2[^f30 ^f4/ ^f360]^f4"^r was ripped apart by a Kleer
    ^oTim^r blew himself away
    ^oTim^r blew himself away
    ^oTim^r blew himself away
    ^oTik ^r joined
    ^cFFFFFF^bSAM BOT: ^o^cFFFFFF ^r

    ^c00FF00: ^o^cFFFFFF^cFFFF00Player: ^cFB9802Tik^r

    ^c00FF00: ^o^cFFFFFF^cFFFF00From ^cFB9802Russia^cFFFF00 connected
    ^r
    Chainsaw freak dismembered ^oTik ^r
    ^oTim^r blew himself away
    ^cFFFFFF^oTim^r - Gold jaguar^r
    ^cFFFFFF^bSAM BOT: ^o^cFFFFFF ^r

    ^c00FF00: ^o^cFFFFFF^cFFFF00Tim - Took the key
    ^r
    ^oTim^r blew himself away
    ^oTim^r blew himself away
    ^o^i^cffffff^f4Mar^f2co^cffff00^f5-^f3_^f5-^f3-^f2-^c80ff00^f4>^f3>^f4>^c53ff00^f2"^f4I ^f3ha^f4ve ^f4Go^f2od ^f4Sy^f3nc ^f2[^f30 ^f4/ ^f360]^f4"^r blew himself away
    ^o^i^cffffff^f4Mar^f2co^cffff00^f5-^f3_^f5-^f3-^f2-^c80ff00^f4>^f3>^f4>^c53ff00^f2"^f4I ^f3ha^f4ve ^f4Go^f2od ^f4Sy^f3nc ^f2[^f30 ^f4/ ^f360]^f4"^r blew himself away
    ^cFFFFFF^oTik ^r - Gold jaguar^r
    ^cFFFFFF^bSAM BOT: ^o^cFFFFFF ^r

    ^c00FF00: ^o^cFFFFFF^cFFFF00Tik - Took the key
    ^r
    Sirian werebull sent ^oTim^r flying
    A Reptiloid killed ^oTim^r
    ^oTim^r fell victim of a Kamikaze
    ^oTim^r fell victim of a Kamikaze

    ^cFF0000: ^o^cFFFFFF^cFFFF00^cFF0000You Have Bad Sync [10 / 60]
    ^r
    ^cFFFFFF^bSAM BOT: ^o^cFFFFFF ^r

    ^c00FF00: ^o^cFFFFFF^cFFFFFF^bSERVER NOTE^r

    ^c00FF00: ^o^cFFFFFF^cFFFF00^cf6ff00To change the map^r

    ^c00FF00: ^o^cFFFFFF^cFFFF00^cf6ff00Type: ^cffffff@map "number"
    ^r
    ^oTik ^r was ripped apart by a Kleer

    ^cFF0000: ^o^cFFFFFF^cFFFF00^cFF0000You Have Bad Sync [20 / 60]
    ^r

    ^cFF0000: ^o^cFFFFFF^cFFFF00^cFF0000You Have Bad Sync [30 / 60]
    ^r
    ^oTik ^r left

    ^cFF0000: ^o^cFFFFFF^cFFFF00^cFF0000You Have Bad Sync [40 / 60]
    ^r
    ^oTim^r fell victim of a Kamikaze

    ^cFF0000: ^o^cFFFFFF^cFFFF00^cFF0000You Have Bad Sync [50 / 60]
    ^r
    stopping game.
    Btw, this was the first test of the edited scripts Default.ini, Initial.ini, I-GMA3600.ini (personal, made for the GPU from my netbook; basically it is not that different from Default.ini but I added some edited parameters from Initial.ini after reading ShellSymbols.txt); it made OpenGL impossible to set, then I was playing in Direct3D with very low frame rate. This links to what we said previously about bad syncs caused by lag (even in other threads).

    On the next days I have to publish screenshots taken last night about bigger text issue on screen.


    PS: Look at the demo blocks on the screenshot. Tim and Tik are present until I leave. If you watch the demo, Tim leaves the game right after me. Did the server crash? This could explain bad syncing.

  5. #20
    Quote Originally Posted by Marco View Post

    On the next days I have to publish screenshots taken last night about bigger text issue on screen.
    Finally I had the time to convert the tga's into png's:

    Name:  2_1_Ziggurrat_shot0000.jpg
Views: 0
Size:  452.4 KB

    Name:  2_1_Ziggurrat_shot0001.jpg
Views: 0
Size:  331.4 KB

    I activated hud_bShowResolution from console in order to show that I didn't set a lower resolution:

    Name:  2_1_Ziggurrat_shot0002.jpg
Views: 0
Size:  482.1 KB

    Name:  2_1_Ziggurrat_shot0003.jpg
Views: 0
Size:  421.7 KB

    The right size of the text should be this (from an older screen):

    Name:  DM_TheLostTomb_02022016.jpg
Views: 0
Size:  315.2 KB


    Quote Originally Posted by Marco View Post

    My specs:

    Acer Aspire One D270-26Dkk

    CPU: Intel Atom N2800 (all sites wrote that this processor is the worst Intel could do, even if it is "Quad" core), 1.86 GHz speed - no turbo boost;
    GPU: Intel Graphics Media Accelerator 3600 (integrated card...);

    Uhm, as directdxdiag says, CPU has a little over clock up to 1.9 GHz and the video card properties tell me I have GMA 3650, not 3600 (not so much difference, though); its shared memory is estimated around 762-768 MB.

    Anyway I'm going to stop the develop of a GPU script since my netbook really sucks because of its architecture...

    The last opportunity could be a strange software called DxWnd, which was made for Red Storm Entertainment games. It allowed me to make "Force 21" work on Windows 7, but in windowed mode only. This software is mostly used for "Rainbow Six: Rogue Spear" which was made, again, by Red Storm and with the same engine.


    Quote Originally Posted by Ostap View Post
    One more method i've found to make ping & connection better.
    This time it seems that it might improve only TCP connection - thus SE only?

    The method is actually to disable the Nagle's algorithm that is enabled by default on all windows starting from XP
    Nagle algorithm simply waits until there is "enough" data to send over network ....thus - it will just stall until it collects block large enough to send.

    So - to improve the ping / connection - we'll need to disable this nice feature
    To do that follow those steps:

    1. Open Regedit
    2. Navigate to "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters\Interfaces\"
    3. Select from the list of all interfaces one that corresponds to the external connection (internet) - it will be in form of GUID - "{8FBA6DCA-FFE8-4002-A28F-4D2B57AE8383}" name format.

      Name:  2018072013k3TO3F.png
Views: 0
Size:  383.7 KB



    4. Inside that interface - add new parameter (DWORD) named: "TcpAckFrequency" and set value to 1
    5. Navigate to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSMQ\Paramet ers"
    6. Add new parameter "TCPNoDelay", set value to 1

      Name:  20180720wDw7brxu.png
Views: 0
Size:  190.3 KB


    7. Reboot.




    On the other site there were nice explanation in a form of a dialog between server and client - how this change will work:
    I think these settings are generic, in fact I didn't gain a significative advantage. Maybe I should put more specific values.

    On my modem, which now is a TP-Link AC1200 I set the QoS priorities. For my netbook's MAC address, which is referred to ethernet cable connection I set 65% high priority; for medium 35% (set with no specific address) and the remaining 5% for low (set with no specific address). The problem is I have to set a percentage for ALL of these priorities (I would like to set only 70-30, as it was on my previous modem: Sitecom X6-N900).

    I have to find, on the net, and post a diagram I saw a while ago, showing how internet connections work with and without QoS.

    Btw: if you talk about TCP connection that improves SE only, how is FE supposed to work? UDP only?
    Last edited by Marco; 19-10-2018 at 15:57.

  6. #21
    Nice steady ping you got there ....!

    Quote Originally Posted by Marco View Post
    I think these settings are generic, in fact I didn't gain a significative advantage. Maybe I should put more specific values.
    Those are just a tweak ...might or might not have any effect ...There many knots on the net way....your PC, router...etc...that might negate any changes you've made.


    Quote Originally Posted by Marco View Post

    Btw: if you talk about TCP connection that improves SE only, how is FE supposed to work? UDP only?
    UDP protocol implemented in a bit different way than TCP ....
    UDP packages are not guaranteed to reach destination ....thats why there is that QoS to prioritize them ...or at least try to ...an incorrectly setup router might rewrite any priorities set on client computer.
    ....... Always Look On The Bright Side of Life

  7. #22
    Quote Originally Posted by Ostap View Post
    Nice steady ping you got there ....!
    The problem is: .... ........

    ...... ................. ............................ I should ping 77 ms from home to Amsterdam. Or, at least, speedtest on a random Amsterdam server and Sam' server list tell me I have that ping. Also, I usually ping 125 ms from russian servers (Sam's list).

    Here at Ziggurat it was a bit strange, and it is the demonstration of ping raised by low frame rate even with /cli_iBufferActions=1. The city I'm at on those screens is another point where I got bad syncs before installing Fix42Mod (the most usual point remains the fishes room with Zorg Commander).

    When I'm on coop or frag servers, my ping can decrease until 105-110 ms, but after 10-15 seconds it raises at 135-140 with BufferActions=1. The unstability occurs as I mentioned in the previous posts above.
    Also, in deathmatch I also have lag when aiming. Last night I experienced a terrible lagmatch. But my brother and his girlfriend were on facebook (I wonder how a smartphone from another room can use more packets than a netbook directly connected to the modem...) and at midnight the weather was rainy and windy.

    Quote Originally Posted by Ostap View Post
    Those are just a tweak ...might or might not have any effect ...There many knots on the net way....your PC, router...etc...that might negate any changes you've made.
    Yes, I know the example of the the neighbour's microwave oven!

    I know I have a bad line, since I live in the countryside, about 3 kms far from cabinet and my house is where phone/internet line ends. I think these are some knots. And: it is ADSL. But Serious Sam is strange: I read somewhere it adds by default 50 ms and let's not forget about the CPU-GPU performance tied together with the netcode. Maybe on the next months I could have one more evidence about this.

    However, in Quake Live it is different.

    Quote Originally Posted by Ostap View Post
    UDP protocol implemented in a bit different way than TCP ....
    UDP packages are not guaranteed to reach destination ....thats why there is that QoS to prioritize them ...or at least try to ...an incorrectly setup router might rewrite any priorities set on client computer.

    I have to check settings again, then. Also, I remember modem control panel has different options: you can prioritize TCP only, UDP only or both TCP/UDP.

    But then: do both FE and SE work on TCP only?


    Anyway, here is the QoS diagram I was looking for:

    Name:  QoS_Diagram.jpg
Views: 0
Size:  49.4 KB

    The second diagram is the result I'd like to obtain.

  8. #23
    Listen to this: I edited QoS settings on modem control panel, edited those registry values from hexadecimal to decimal and now the game loads faster when I'm connecting to servers but it still has bottle necks and hiccups while playing...

    Also, I think the "upstream" speed panel is referred to is not the same as the upload speed. TP-Link panel says 478 Kpbs, speedtest says 0.38 Mbps. But the panel says the speed I could obtain is 912 Kbps...


    Are there any other prompt commands on Windows, as well as ipconfig /all?

  9. #24
    Quote Originally Posted by Marco View Post
    Listen to this: I edited QoS settings on modem control panel, edited those registry values from hexadecimal to decimal and now the game loads faster when I'm connecting to servers but it still has bottle necks and hiccups while playing...
    hex ? ... the value should be 63 ...decimal ..max priority if you wish

    Quote Originally Posted by Marco View Post
    Also, I think the "upstream" speed panel is referred to is not the same as the upload speed. TP-Link panel says 478 Kpbs, speedtest says 0.38 Mbps. But the panel says the speed I could obtain is 912 Kbps...
    not sure what you mean here .... speed varies constantly ...different tools report different values...
    if you want to compare something - use same tools

    Quote Originally Posted by Marco View Post
    Are there any other prompt commands on Windows, as well as ipconfig /all?
    tracert ?
    ....... Always Look On The Bright Side of Life

  10. #25
    here is how i've set it up on 42 server

    Name:  2018102589fm87sy.jpg
Views: 0
Size:  78.7 KB

    ----------------------------------------------------------

    TCP traffic set only to all SE executables

    Name:  20181025JNcNfZbt.png
Views: 0
Size:  14.0 KB

    Name:  20181025zApbIr48.png
Views: 0
Size:  15.7 KB

    Name:  201810250etH1b92.png
Views: 0
Size:  17.9 KB

    Name:  20181025Qv7h9hmm.png
Views: 0
Size:  17.0 KB

    ----------------------------------------------------------

    UDP - everything set to high priority

    Name:  20181025w0ugorX2.png
Views: 0
Size:  13.8 KB

    Name:  20181025Kh9G59Y1.png
Views: 0
Size:  15.4 KB

    Name:  20181025Q8exbR67.png
Views: 0
Size:  17.5 KB

    Name:  201810253YstPCUE.png
Views: 0
Size:  16.7 KB


    you could specify the serioussam.exe ...or just for specific ports either way is good
    ....... Always Look On The Bright Side of Life

  11. #26
    shithappens
    Join Date
    Nov 2013
    Location
    Greece
    Posts
    167
    Quote Originally Posted by Ostap View Post
    TCP traffic set only to all SE executables
    SE_1.07/Help/changes.txt:

    v1.05-v1.07
    -----------

    1.07 is not net-game compatible with older versions. everyone need to upgrade - both servers and clients
    save games and demos are retained from older versions to 1.07
    NOTE: Installing this patch will reset your video, audio, network and game settings. This is needed to reapply new fixed settings for some configurations. Player settings, demos, save games and any scripts that you wrote will remain. (I.e., PersistentSymbols.ini is reset to all defaults.).

    + network connection recoded to use only UDP protocol, what should fix problems with some users that couldn't connect

  12. #27
    Quote Originally Posted by Ostap View Post
    here is how i've set it up on 42 server

    Name:  2018102589fm87sy.jpg
Views: 0
Size:  78.7 KB

    ----------------------------------------------------------

    TCP traffic set only to all SE executables

    Name:  20181025JNcNfZbt.png
Views: 0
Size:  14.0 KB

    Name:  20181025zApbIr48.png
Views: 0
Size:  15.7 KB

    Name:  201810250etH1b92.png
Views: 0
Size:  17.9 KB

    Name:  20181025Qv7h9hmm.png
Views: 0
Size:  17.0 KB

    ----------------------------------------------------------

    UDP - everything set to high priority

    Name:  20181025w0ugorX2.png
Views: 0
Size:  13.8 KB

    Name:  20181025Kh9G59Y1.png
Views: 0
Size:  15.4 KB

    Name:  20181025Q8exbR67.png
Views: 0
Size:  17.5 KB

    Name:  201810253YstPCUE.png
Views: 0
Size:  16.7 KB


    you could specify the serioussam.exe ...or just for specific ports either way is good


    Quote Originally Posted by Ostap View Post
    hex ? ... the value should be 63 ...decimal ..max priority if you wish

    But... I already set up this. The point is on registry keys: TcpAckFrequency and TcpNoDelay from regedit. That "1" value should be hex or dec? I set 1 dec and reboot. But when I open regedit again to check it again, it stands selected on hex..

    Quote Originally Posted by Ostap View Post
    not sure what you mean here .... speed varies constantly ...different tools report different values...
    if you want to compare something - use same tools
    I mean: if my TP-Link says I could obtain 912 Kbps of upload speed, then that legend of ISPs who castrate users connection speed is true...

    Anyway, I edited the QoS speed on modem control panel based on my speedtest. Since TP-Link is very strange, it allows me to put only Mbps value for Download. I can set 3 Mbps, but not 3000 Kbps. But... I can set 3 Kbps by mistake! This is how this panel works.

    Back to the topic, I set 380 Kbps for Upload and 3 Mbps for download (speedtest values: around 3.25 Mbps in Download and 0.38 in Upload). Well, with this new policy I've got much more stability than before, even with 5 clients (laptops and smartphones) connected! The ping is the same as the previous screenshots or 150 ms or even lower until 110-120 ms. But the average is 150-160 ms. But, I repeat: it is stable now, except a little delay when trying to hit frag opponents (but I could get rid of that in calculating time and opponents moves...).

    Conclusion: speedtest is more reliable and I wrote my netsettings (with all predictions disabled) script based on that speed, converted in Bytes per second (iMaxBPS).

    Quote Originally Posted by Ostap View Post
    tracert ?
    I read about it here.

    Here is my result; sorry, it's italian:

    Name:  MyTracert.png
Views: 0
Size:  18.0 KB


    Quote Originally Posted by Supersniper98 View Post
    SE_1.07/Help/changes.txt:
    I also added a policy for UDP, both in gpedit and regedit.

    Btw, the changes.txt also talks about bend-over cheat... What was that???

  13. #28
    shithappens
    Join Date
    Nov 2013
    Location
    Greece
    Posts
    167
    Quote Originally Posted by Marco View Post
    Btw, the changes.txt also talks about bend-over cheat... What was that???
    Some bug where you could mess around with the custom axis settings (in Advanced Joystick Settings in Players & Controls -> Customize Controls) and bend your entire torso, and place it in your legs, so you are less visible and harder target to hit because your hitbox is like on a crouched player but you move 2x faster or something like that... i remember this bug but don't know how to exactly make it)

  14. #29
    Quote Originally Posted by Supersniper98 View Post
    Some bug where you could mess around with the custom axis settings (in Advanced Joystick Settings in Players & Controls -> Customize Controls) and bend your entire torso, and place it in your legs, so you are less visible and harder target to hit because your hitbox is like on a crouched player but you move 2x faster or something like that... i remember this bug but don't know how to exactly make it)
    wouldn't that be a cheat by definition ?
    I would strongly advice against posting such things here - you have GZ where it is appropriate.
    ....... Always Look On The Bright Side of Life

  15. #30
    Quote Originally Posted by Supersniper98 View Post
    Some bug where you could mess around with the custom axis settings (in Advanced Joystick Settings in Players & Controls -> Customize Controls) and bend your entire torso, and place it in your legs, so you are less visible and harder target to hit because your hitbox is like on a crouched player but you move 2x faster or something like that... i remember this bug but don't know how to exactly make it)
    No matter "how" to activate it, just got curious what it was about. I don't get why it "reappeared" (like changes.txt says) and they (CroTeam) didn't remove it again..

    Quote Originally Posted by Ostap View Post
    wouldn't that be a cheat by definition ?
    I would strongly advice against posting such things here - you have GZ where it is appropriate.
    Sorry, it was my fault.

    I was asking what that stuff was about, just for the information. I'm proud to say I've never used cheats nor got banned for cheating in almost 6 years I play arena FPSs online. Plus, I'm not interested in cheating.

    We are talking about a change you can find on "changes.txt" from Serious Sam "Help" folder:

    + bend-over cheat has reappeared in SS:SE
    .

    If those dumbo-faggots from CroTeam didn't remove this bug/cheat, that's not a fault of Supersniper.....

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. In-game Messages To Admin
    By Ostap in forum Post box
    Replies: 4468
    Last Post: 22-04-2024, 18:22
  2. Game cheating or cheating the game
    By Evolta in forum Chit-chat
    Replies: 23
    Last Post: 28-07-2012, 05:24
  3. About our game
    By Zeo in forum General
    Replies: 5
    Last Post: 26-06-2012, 12:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to top