HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

ping minimap - local player

12-20-2009, 10:21 AM#1
TheWye
Hi, just a short question, can pinging minimap for a local player cause desync?
12-20-2009, 07:01 PM#2
DioD
test it!
12-20-2009, 07:08 PM#3
grim001
90% sure it can't cause a desync.
12-21-2009, 06:38 AM#4
TheWye
How do you test desync? You need to host a multiplayer game?
12-21-2009, 08:05 PM#5
DioD
No you dont.

Just run map in single player and w8 before someone desync.
12-21-2009, 08:34 PM#6
Veev
I must be missing something because no one is going to desync in a single player game.

Anyway, not sure why you need to ping the minimap for a local player when you can ping only for specific players already.
12-22-2009, 12:32 AM#7
TEC_Ghost
Quote:
Originally Posted by Veev
I must be missing something because no one is going to desync in a single player game.

Anyway, not sure why you need to ping the minimap for a local player when you can ping only for specific players already.

You just answered your own question.
12-22-2009, 01:17 AM#8
DioD
Run DOTA.

Anything you see in dota possible in ANY map, this is very simple.
12-22-2009, 01:22 AM#9
Hans_Maulwurf
Collapse JASS:
function PingMinimapForPlayer takes player whichPlayer, real x, real y, real duration returns nothing
    if (GetLocalPlayer() == whichPlayer) then
        // Use only local code (no net traffic) within this block to avoid desyncs.
        call PingMinimap(x, y, duration)
        //call StartSound(bj_pingMinimapSound)
    endif
endfunction

from blizzard.j
12-22-2009, 03:50 AM#10
Veev
Quote:
Originally Posted by TEC_Ghost
You just answered your own question.
Ooo. You are most certainly right. Just how uninformed am I?
12-22-2009, 08:26 AM#11
TheWye
@Hans_Maulwurf

Oh, I must have missed that function... Thx