Track when Invasions Start menu

Shout-Out

User Tag List

Results 1 to 7 of 7
  1. #1
    Saiket's Avatar Contributor
    Reputation
    146
    Join Date
    Jul 2007
    Posts
    176
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Track when Invasions Start

    Wrote a macro to track the moment when Scourge Invasions start throughout the world. Use the macro, and it will tell you where invasions are happening the moment they start. It's useful for when all invasion points have been cleared and you're doing something else to pass the time.
    Code:
    /run Minimap:SetScript("OnUpdate",function(s)for c=1,select("#",GetMapContinents())do SetMapZoom(c)for i=1,GetNumMapLandmarks()do local n,d,x=GetMapLandmarkInfo(i)if(x==41)then print(d.." is under attack!")s:SetScript("OnUpdate",nil)end end end end)
    Once an invasion is detected, the macro will turn itself off. Run it again to track the next invasions.

    Note: This will probably interfere with Carbonite or other minimap mods.
    AddOn developer and long time explorer.

    Track when Invasions Start
  2. #2
    Stew's Avatar Member
    Reputation
    59
    Join Date
    Sep 2007
    Posts
    239
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you may wish to change that to check for an existing script and if so HookScript rather than SetScript, but looks awesome, will try out later

  3. #3
    Grinflict's Avatar Member
    Reputation
    12
    Join Date
    May 2008
    Posts
    98
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Interesting.

  4. #4
    Saiket's Avatar Contributor
    Reputation
    146
    Join Date
    Jul 2007
    Posts
    176
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Stew View Post
    you may wish to change that to check for an existing script and if so HookScript rather than SetScript, but looks awesome, will try out later
    I ran out of room in the macro, heheh.
    AddOn developer and long time explorer.

  5. #5
    lewis10123's Avatar Member
    Reputation
    39
    Join Date
    Jul 2008
    Posts
    215
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice macro

  6. #6
    Blazara's Avatar Member
    Reputation
    18
    Join Date
    Dec 2007
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It just breaks my world map so it only shows Northrend.

  7. #7
    mojasen's Avatar Member
    Reputation
    4
    Join Date
    May 2008
    Posts
    14
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Awesome - need to test this l8er

Similar Threads

  1. [Help] Mysql error when I start server up.
    By Menthol8 in forum World of Warcraft Emulator Servers
    Replies: 8
    Last Post: 04-11-2008, 04:25 PM
  2. when i start ascent-world it freezes at a certen point
    By *Alexz* in forum World of Warcraft Emulator Servers
    Replies: 14
    Last Post: 02-16-2008, 02:31 AM
  3. when i start DButilEx it says "Crittical error cant find file players.save"
    By Foxmandan in forum World of Warcraft Emulator Servers
    Replies: 0
    Last Post: 01-11-2008, 03:11 PM
  4. [Share] Rulebook for Mangos (ingame item added when players start!)
    By latruwski in forum World of Warcraft Emulator Servers
    Replies: 7
    Last Post: 12-03-2007, 01:33 PM
  5. I need AV to spawn when I start my server.Will +rep
    By mafiaboy in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 11-10-2007, 09:12 PM
All times are GMT -5. The time now is 08:45 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search