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