Custom map huge lag spikes and freezing

broken avatar :(
Created 14 days ago
by GalaxyYT
0 Members and 1 Guest are viewing this topic.
95 views
broken avatar :(
×
broken avatar :(
Location: ca
Date Registered: 15 March 2019
Last active: 9 days ago
Posts
2
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
GalaxyYT's Groups
GalaxyYT's Contact & Social Links
Whenever I test my map, there is huge lag spikes and the game basically freezes for 3 seconds. It happens about 5 seconds after the game loads, after getting certain items from the box, and at random points in the game as well. When other people are in the game they simply get a connection interrupted. I also tried letting a friend host and now HE is the one with the freezes and I get a connection interrupted. I really don't know what could be causing it. I don't get these freezes on any other custom map, nor can I find any info on this.
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 20 September 2013
Last active: 7 hours ago
Posts
268
Respect
Forum Rank
Mr. Elemental
Primary Group
Community Scripter
×
gympie6's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
gympie6's Contact & Social LinksDistenc5Teffrie
Whenever I test my map, there is huge lag spikes and the game basically freezes for 3 seconds. It happens about 5 seconds after the game loads, after getting certain items from the box, and at random points in the game as well. When other people are in the game they simply get a connection interrupted. I also tried letting a friend host and now HE is the one with the freezes and I get a connection interrupted. I really don't know what could be causing it. I don't get these freezes on any other custom map, nor can I find any info on this.
Which map? 
broken avatar :(
×
broken avatar :(
Location: ca
Date Registered: 15 March 2019
Last active: 9 days ago
Posts
2
Respect
Forum Rank
Fresh Corpse
Primary Group
Member
×
GalaxyYT's Groups
GalaxyYT's Contact & Social Links
Which map?
 It's a map I'm working on atm, and I haven't uploaded it yet. I also noticed that if I have my fps limit set to 1000, when the game freezes, the number BESIDE the fps counter (cg_drawfps 1) goes to 2147483647, and goes back to normal. My game runs perfectly normal otherwise.
broken avatar :(
×
broken avatar :(
Location: nl
Date Registered: 20 September 2013
Last active: 7 hours ago
Posts
268
Respect
Forum Rank
Mr. Elemental
Primary Group
Community Scripter
My Groups
More
My Contact & Social Links
More
Personal Quote
I love skulls
×
gympie6's Groups
Community Scripter Has shown effort and knowledge in the area of scripting while being a part of the UGX-Mods community.
gympie6's Contact & Social LinksDistenc5Teffrie
It's a map I'm working on atm, and I haven't uploaded it yet. I also noticed that if I have my fps limit set to 1000, when the game freezes, the number BESIDE the fps counter (cg_drawfps 1) goes to 2147483647, and goes back to normal. My game runs perfectly normal otherwise.
It's very difficult to reproduce the issues causing this huge lag spike but I can give you some tips how to maybe solve these issues:

1. Use portals (Look around on the forum or tutorials on youtube).
2. If you are programming and use loops you should atleast use a "wait" function. Without this it goes too fast and the engine will break out of the loop.
Last Edit: April 12, 2019, 06:57:46 pm by gympie6

 

Login

or login with an authentication provider below
Twitter
Discord
Steam
Twitch
Google
Loading ...