• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Problem with players getting dced {after 20 minutes of playing}

Status
Not open for further replies.

Danayo

D

Danayo

After about 20 minutes when i play my map on b.net people start getting dced. Is it because of memory leaks?
 
Maybe desyncs cause dcs? Have you used any custom script GetLocalPlayer() functions? I heard that function PanCameraAsNecessary is a desyncer.
 
Im not using GetLocalPlayer() anywhere. Hmm i found a map where the same thing happens. Kodo tag x-treme v 4.2. But there it happens more randomly and sometimes not at all.
 
btw you can fix leaks like this

set VARIABLE
if it is variable type

point - Custom script:call RemoveLocation(udg_VARIABLE)
player - Custom script:call DestroyForce(udg_VARIABLE)
point - Custom script:call RemoveLocation(udg_VARIABLE)
unit group - Custom script:call DestroyGroup(udg_VARIABLE)

dont use Custom script:call DestroyForce(udg_VARIABLE)
for all palyers

if you create some special effect you must destroy it with action special effect-destroy laste created special effect
 
My map is very simple so i doubt thats the cause of my problem. Btw is this a known result of memory leaks? The problem started after i created a flying shop and changed prizes on some items i dont see why it should cause it problems though. Maybe its a bug that happend when i optimized my map? Im quite noobish as a mapmaker so what is a desync?
 
Last edited by a moderator:
Problem solved something bugged when i optimized it while i had that flying shop in it.
 
My word editor wont save my map it say TRIGGERS HAS BEEN CANSELED DUE ERRORS !!PLEAS HELP ME!!
 
Status
Not open for further replies.
Back
Top