GM:S 1.4 Networking Lag Spikes

Discussion in 'Legacy GameMaker Community Tech Support' started by Resurgam, Jan 22, 2019.

  1. Resurgam

    Resurgam Member

    Jan 4, 2018
    I am attempting to make my first networking game on GM, but I am having large lag spikes very frequently.

    In my code the client sends the sever the current_time, server sends back that time, and client compares that to the current_time, giving me my ping.

    The game is running at 60fps (both server and client) and moving to 30 fps helps nothing.
    I am using a tcp connection and ip adress


    the game window is 400*250, x axis is just under 7 seconds of time, and y is the ping, so anything over 250 doesn't show. (the base line is 16/17 ping, perfect for 60fps)

    This issue doesn't happen anywhere else on my PC, browsing or playing games

    Any ideas what could be causing this to happening?

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice