• Hey! Guest! The 39th GMC Jam will take place between November 26th, 12:00 UTC and November 30th, 12:00 UTC. Why not join in! Click here to find out more!
  • Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Legacy GM Networking Lag Spikes

R

Resurgam

Guest
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 127.0.0.0 ip adress

gmlatency.PNG

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?
 
Top