Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(revert vandalism)
Line 76: Line 76:
 
Maybe a link from the guides page some day when the in game content makes its debut? [[User:Dga|Dga]]
 
Maybe a link from the guides page some day when the in game content makes its debut? [[User:Dga|Dga]]
   
== mag ==
 
   
--[[
 
This mod is designed to help raids win the Magmadar fight in Molten Core.
 
Specifically, it deals with 2 of his powers. (The 3rd power, flaming spit, is covered in the Conquest Strategy writeup).
 
1) Magmadar does AE fear "Panic" every 30 seconds (can be up to 35 seconds depending on AI).
 
- This mod notifies the player when the AE Fear goes off.
 
- This mod attempts to give a 5 second warning before the fear goes off
 
 
2) Magmadar goes Frenzy, which increases his size & hits/speed. This can be neutralized with the Hunter "Tranquilizing Shot" off Lucifron.
 
- This mod alerts players when Magmadar goes Frenzy so healers can step up healing and hunters can shoot him.
 
 
Usage:
 
"/mag on" - Turns player text/sound notifications on. Text appears in the upper middle of the screen.
 
"/mag announce" - Turns on player & raid text/sound notifications. Just like "/mag on" except a message is sent to the raid channel.
 
Note: I recommend only 1 or 2 people turn announce on or you will spam the crap out of the raid channel.
 
"/mag off" - Turns this mod off
 
 
Note: WOW only sends messages to players within 40 yards of Magmadar, so you may not get personal events if you stand way back. For best results,
 
have the main tank turn announce on. They can still send raid channel warnings even if they are dead :)
 
 
if you have questions, comments, or improvement suggestions - Please visit the http://www.conquest-guild.com message boards and post.
 
 
Requires: Chronos which requires Sea.
 
 
Author: This mod was written by Sudo of Conquest.
 
 
Legal: I give permission for anyone to use this mod except for people who are currently employed by Blizzard. Although they will probably use it
 
anyway since they have already proven that they like to break the rules and cannot read logs/text.
 
]]
 
 
 
local Mag_Enabled = false;
 
local Mag_Announce = false;
 
local Mag_Trip = true;
 
 
 
function Mag_OnLoad()
 
this:RegisterEvent("CHAT_MSG_MONSTER_EMOTE");
 
this:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_PARTY_DAMAGE");
 
this:RegisterEvent("CHAT_MSG_SPELL_PERIODIC_FRIENDLYPLAYER_DAMAGE");
 
Sea.IO.print("[Conquest] Magmadar 1.0 Initialized! /mag on|off|announce");
 
 
SLASH_MAG1 = "/mag";
 
SlashCmdList["mag"] = function( msg )
 
Mag_SlashCommandHandler( msg );
 
end
 
end
 
 
 
function Mag_SlashCommandHandler( msg )
 
if (string.lower(msg) == "on") then
 
Mag_Enabled = true;
 
Mag_Announce = false;
 
Sea.IO.print("Magmadar fear/frenzy warning on!");
 
elseif (string.lower(msg) == "off") then
 
Mag_Enabled = false;
 
Mag_Announce = false;
 
Sea.IO.print("Magmadar fear/frenzy warning off!");
 
elseif (string.lower(msg) == "announce") then
 
Mag_Enabled = true;
 
Mag_Announce = true;
 
Sea.IO.print("Magmadar fear/frenzy warning on! Announcing to Raid!");
 
else
 
Sea.IO.print("Usage: /mag on|off|announce");
 
end
 
end
 
 
 
function Mag_OnEvent(event)
 
if (not Mag_Enabled) then return end
 
 
if ( (event == "CHAT_MSG_MONSTER_EMOTE") and (arg1 == "goes into a killing frenzy!") ) then
 
Sea.IO.banner("** FRENZY ALERT **")
 
PlaySoundFile("Sound\\Doodad\\BellTollAlliance.wav");
 
if ( Mag_Announce ) then
 
SendChatMessage("** FRENZY ALERT - TRANQ SHOT NOW! **", "RAID");
 
end
 
elseif ( (string.find(arg1, "by Panic.")) and Mag_Trip ) then
 
Mag_Trip = false;
 
 
Sea.IO.banner("** FEAR ALERT **");
 
PlaySoundFile("Sound\\Doodad\\BellTollAlliance.wav");
 
if ( Mag_Announce ) then
 
SendChatMessage("** FEAR ALERT - 30 seconds till next **", "RAID");
 
end
 
 
Chronos.scheduleByName("MAG", 25, Mag_Warning);
 
end
 
end
 
 
 
function Mag_Warning()
 
Mag_Trip = true;
 
Sea.IO.banner("** FEAR WARNING - 5 SECS **");
 
PlaySoundFile("Sound\\Doodad\\BellTollAlliance.wav");
 
if ( Mag_Announce ) then
 
SendChatMessage("** FEAR WARNING - 5 seconds till fear **", "RAID");
 
end
 
end
 
 
Added "Arcane Powder" to http://www.wowwiki.com/Sea.data.item.reagent.mage
 
   
 
== GuildRoster(): help needed ==
 
== GuildRoster(): help needed ==

Revision as of 08:15, 13 March 2007

Thanks for wanting to leave me a note! Click the little + next to edit and I'll review this page and take care of any business here ASAP.

Please put a signature on all comments so I know who you are! (use "-- ~~~" to insert one automagically). -- AlexanderYoshi

Completed Tasks can be seen on Alex's Completed Sheet.

From RoJ

Man, there needs to be an "respond" button. Does the sender check my notes? Should I leave one for him? Who knows! I'm responding to your note about my Mage Racial Page: [quote]RoJ, fantastic work on the Mage Racial traits page. Excellent work, good attention to details and well-balanced opinions. -- AlexanderYoshi 18:42, 22 Dec 2004 (EST)[/quote] After all that yakking... Thanks! I appriciate the accolades. I must have edited that page 20 times correcting things as I talked to Horde mages about cannibalizing and whatnot, it's nice to see that work appriciated. I'm thinking about fleshing out the mage pages (bah! They rhymes, now we're cute) so be sure to let me know if you ever catch any of my mistakes. Thanks again. -- RoJ

Thanks for the note.

Please leave a username too next time. Maybe mention what you added! -Alex

P.S. add double square braces around a link to link me to the code!

Why add unnecessary parens around the if exp on API_SpellIsTargeting? Is there a wowwiki Lua style guide I missed? -- Caedric

I should write one. :-) -- AlexanderYoshi 20:26, 16 Dec 2004 (EST)



API definitions nitpick

Alexander:

Please read this thread concerning a rather serious problem with Sky.

-- Anonymous

Please sign when you leave messages for me. -- AlexanderYoshi 10:27, 7 Mar 2005 (EST)

Hi Alex,

Sorry to bother you. I'm trying to find a function that will return full item information, ala the getItemInfo function documented on this wiki page. (Specifically, I'm looking for item stats, resists, and effects.) However, when I scan the LUA Cosmos code (alpha or release), I don't see this function implemented. I'm a noob to the WoW scripting world, so I'm probably missing something fundamental. Any pointers for me?

Thanks in advance, KLH1228


Hi, Is there any news about the missing getItemInfo function?

-- Haupt

Sea.data.item.herb

Black Lotus is not in the list.

Updates to API with 1.3.0

Alex, I have updated the Global Function List for 1.3.0, and I'm sure that Flickering will get around to updating the Widget API page too with the new member functions. Just letting you know. -- Lego 13:29, 25 Mar 2005 (EST)

minor change to sea

in line 29 of Sea.lang.lua you should change

 ret = string.gsub (ret, "<"..(i-1)..">", arg[i]);

to

 ret = string.gsub (ret, "<"..(i-1)..">", tostring(arg[i]));

this way the "end-user" won't have to care to convert everything to strings and even missing parameters will not turn into error messages. -- phexter

updated and "bug fixed" libarm

i have updated and/or bug fixed your libarm and it's running now fine with the latest sea unter ui version 1300. if you're still working on it i'll gladly send you my modified code so you can update yours as well. just drop me a note at my usertalk. -- phexter

battlegrounds

Added a stub for Battlegrounds which mirrors the in beta state of the in game content by the same name.

Maybe a link from the guides page some day when the in game content makes its debut? Dga


GuildRoster(): help needed

Alex: I'm currently working on a mod for the Titan panel called TitanGuild. It populates a guild list based on guild members that are currently online. You can check it out here if you like.

The issue I was wondering if you could provide some advice on is usage of the API_GuildRoster call. It opens up the Friends frame due to an event it fires. I read your tutorials on hooking events, and had some minor successes, but I still can't elegantly trap this event and supress the display of the Friends frame. Apparently, there is code in Cosmos that prevents this frame from showing. Thought it was in the CensusPlus addon, but what I saw that looked relevant appeared to be commented out.

Any help would be appreciated. Thanks!

PS: The current release code doesn't contain calls to GuildRoster(), but I plan on using it at least on OnLoad() for initial load up and OnEvent().

Mandingo

Sea.wow.item.classifyInventoryItem bug fixes

Hi,

In Sea.wow.item.classifyInventoryItem replace:

   local texture, itemCount, locked, quality = GetContainerItemInfo(bag,slot);

with:

   if (bag == BANK_CONTAINER) then
       local texture = GetInventoryItemTexture("player", slot);
       local itemCount = GetInventoryItemCount("player", slot);
       local locked = false;
       local quality = GetInventoryItemQuality("player", slot);
   else
       local texture, itemCount, locked, quality = GetContainerItemInfo(bag,slot);
   end

It would also be nice if the texture and lock status were saved in the resulting data structure so that users of this function wouldn't have to call GetContainerItemInfo() again...

In Sea.wow.item.classifyItemStrings add:

   local cur_durability = 0, max_durability = 0;

add the following into the lastLine loop:

   local index, length, cur_d, max_d = string.find(strings[i].left, "^Durability (%d+)/(%d+)$);
   if (length > 1) then
       cur_durability = Sea.string.toInt(cur_d);
       max_durability = Sea.string.toInt(max_d);
   end

and add at the end of function:

   itemInfo.cur_durability = cur_durability;
   itemInfo.max_durability = max_durability;

What do you think of the updated API page?

Hey there, thanks for the API links on the main page - I think newcomers will find them very handy (As will I when i'm not on my usual browser with the right bookmarks). Have you had a chance to look at the newly updated API page? Do all the categories make sense or are there any you think should be combined?

-- Flickering 14:57, 19 Jul 2005 (EDT)

Sea

Hello,

Can you please direct me to an up to date SEA library? I am trying to use the Mod "Cast Party" but it says my dependency is out of date. I tried the top two newer patches from the link on this site and I still get that error.

just wondering :)

Thank you for your time and help,

Cheers,

Mauricio

template:1

Please delete template:1 and all templates like it. Their existence is very annoying. See template talk:1. -- D. F. Schmidt talk 02:18, 24 Aug 2005 (EDT)

He will... all pages marked as {terminate} should be deleted as soon as you come on next time. THey have either been decided upon by the community as being worthy for deletion; or are for some other reason marked terminate (make sure to check out that link). --  ℑilver§ℑide 09:51, 21 Dec 2005 (EST)

another admin or two please

Special:Listadmins lists only two admins. (user:Admin has never contributed anything; I think it's a safe assumption to say that that's a dummy account.) Neither one (you nor user:Rustak) has been active in quite some time. There are some that would say that Main Page needs updating or other changes. At least two besides me have contributed to WoWWiki:Policy, a new page that I made seeking to standardize article naming, categorizing, etc. We would like an admin to endorse that, along with the possibility of making new namespaces (see WoWWiki:Namespace and its talk page). I for one say that too many articles should be deleted.

Could we get another person or two on the admin list? Would you want us to list nominations someplace? Let us know. Thanks. Schmidt talk 02:30, 6 Oct 2005 (EDT)

Ok, sure. AlexanderYoshi 20:57, 13 Nov 2005 (EST)
Ummm, what happened here? You said you would - any particular reason you changed your mind? May I remind you that adminship isn't really that big a privilege - merely allows them to break some of the rules of a wiki when necessary... see bottom of this page, anybody who cares. --  ℑilver§ℑide 09:53, 21 Dec 2005 (EST)

Sea and ReagentHelper

I have made quite a few improvements to Sea's reagent tables and added a German localization (at least for all reagents, the rest is still to come). Furthermore, I've cleaned up ReagentHelper's code a little bit and added a localization for the profession names. My big question is now: How can I submit these patches to the Cosmos project? Browsing this wiki and the Cosmos site, I was not able to find a "How to contribute" explanation. :-( I'd be more than happy to send the changed files if I had an email address to send them to. Or even better: If there is (anonymous) Subversion access to Cosmos, I could send the diffs to the main trunk (or whichever branch is for the "Alpha" Cosmos).

Hope to hear from you and thanks for a great mod collection, Archibalgul (level 60 undead warlock on EU-Kargath, mailto:sven.panne@aedion.de )

everyone AT cosmosui.org

Adminship

I have been doing quite a bit of work around here, in the areas of general cleanup and standardization. One of my great goals, however, is to clean out the Main_Page - I need adminship to do this. I think I am qualified (rofl I am rather active on the real wiki and run a good number of websites myself - even started a GunWiki that lasted a month with over 10,000 hits before it fell apart for lack of need) - how would I go about obtaining this? Some of my current work is visible at Community Portal, WoWWiki Community Project, and the Village Pump - hope you like my efforts so far. All three of those are still under heavy development, and with those and various other community-focused pages my work would be complete. I was hoping to expand the community structure of WW and expand into various realms outside of pure data representation... if you have more questions, drop by my talk page and drop me a line! (Click the 'side' in my sig)

Template:Usertemp:SilverSide 15:49, 1 Dec 2005 (EST)
You visited and didn't reply on this page, so I will answer your various comments here: I am 16, and have been a contibutor at the real Wikipedia for a long time. I do more of the administration, cleanup, and general grunt work there than actual article wiritng (come on, what does a 16 year old senior in high school know that wouldn't already be on Wikipedia rofl), and intend to do the same here.
Re: colorfulness, those are high profile pages. There are two types of users:
  1. Those that are looking for information on a specific subject (known as readers - most likely these people will find that information and leave, and simplicity is in their best interests - thus the article pages should succint, to the point, and helpful. The one non-article page they see, however, (the main page) should be colorful, attractive, and very, very packed with links and information. A colorful main page doesen't hinder or even offend a user of this kind - they will head straight to the search box unless directed otherwise. Thus the first two things they should see on the main page are a quick summary of what WoWWiki is (see the very first thing on main page dev, as in the 'WoWWiki is a World of Warcraft enclyopedia that anyone can edit'); and the second should be a way to find what they need - thus my links to various infomation-finding methods within WoWWiki, from the dual-letter A-Z index to Browse (under constructon on my localhost wiki) to search (which you *REALLY* need to fix - this search has many features and wiki specilization that google dosen't) to, most importantly, the Help and Refrence Desks!
  2. However, there is a second type of user - a user like me, or schimdt, or any of the regulars here. These are traditionally called 'Editors' as opposed to readers or admins. I would be an editor, DFS would be an editor, there are many editors here - but they are always in a minotiry to readers. The case with editors is that they need information on the community as a whole, and WoWWiki editing policfy, and help on editing, and who is helping whom, and all kinds of things - their goal is much more complicated than that of the readers; wheather or not they know it, their goal is to make WoWWiki a better resource for everybody. However, for these regulars, a more information-packed yet attractive layout is needed.
Even though a reader may need lots of information in a condensed format, it is all of one denomination; say first they need information on how to FIND something at first, then information on that something alone. Thus they merely need one-section layouts with the information they need placed prominently. To use the main page as an example, there are multiple sections; the readers need only one, and that one is placed at the very top of the layout - the section telling them where they are (WoWWiki) and where to go to get what they need. However, a editor needs all kinds of information, divided into multiple areas - help on editing, rules of WowWiki, things that need to be done, WoWWiki news (again, I am talking about the kind of editor who comes back repeatedly to help, not a one-article stand kind of editor), etcetra. However, as the readers outnumber the editors five to one, the readers information goes first; as in, at the top. It is short and terse, though, allowing the editors to also find what they need quickly. Anyway. I have thought long and hard on the best layout for such things and the goals that each pages has; and I have created each page exactly as it is for a reason. Now that I have explained the layout and gotten completely off of the original question (colors) I will return: the colors are there merely to help EDITORS distinguish between the different sections quickly and easily. The readers have one goal, and need one color (in other words, grey; so really no colors at all) - and that is what they have, no colors or complicated stuff in the introduction at the top.
I am running out of words, and so will stop, but I am full willing to explain my actions to anybody who asks; however, now that you can see my thought process behind my work on the front page, you will be better able to dispel that idea that a 16 year old is necessarily unable to make intelligent decisions and think things through before impulsively acting. I have said elsewhere that I spent 26 hours straight that first night on the main page, the community portal, and the village pump; those are obviously not more than a full day of work on coding and 'merely' adding content - I spent much time revising and thinking through the layout and design throughly; and looking at other large wikis for suggestions (mostly Wikipedia Foundation relative, specifically WIkisource and Wikiquote). I would hope that in the future you would not question my judgement solely on the fact that I took initiative on something nobody else was or on the fact that I am 'young'. I have met 12 year olds who are more mature then most of my friends; and I know at least one 24 year old who is so immature that he is a pain to be around.
Anyway, I am reaching the end of my wikiwork endurance - I am going to go take a break and play tennis. Should you have any further questions about the layout or colors of one of the mentioned pages I have worked on, post a question there. I have all the discussion pages watched (-:
[[User:SilverSide| Silver\Side]] 17:34, 3 Dec 2005 (EST)
This may not be the place for it, but I think your (SilverSide) actions up to now belie parts of the statement: "a 16 year old is necessarily unable to make intelligent decisions and think things through before impulsively acting." At least in your case, the unrelenting nature of your changes with very little proposal and some resistance from some of whom you call "regulars", shows you are definitely impulsive, if still intelligent in your manner. Anyone who would work 26 hours on a wiki they apparently recently discovered, has some issues of self-control.
I have more things to say, but I will see if I can find a better place for it. I also don't relish refuting many of the statements made that I disagree with, but I will probably get to it piece-meal for those that most irritate me. I for one subscribe to a different sort of "simplicity", I think, than what I've seen on recent page additions.
Fandyllic 10:57 AM PST 4 December 2005
We went over this on your talk page after you posted here (-:
For future readers, see his talk page, at the bottom...
 ℑilver§ℑide 16:46, 7 Dec 2005 (EST)

I withdraw my request. --  ℑilver§ℑide 09:49, 21 Dec 2005 (EST)

get original version of a hooked function

is there a way to retrieve an 'original' unmolested version of a function that has been hooked? at the moment i've added:

   --
   -- Get original
   --
   -- Gets the original function
   
   Sea.util.getOriginal = function(name, scriptElementName)
       local compoundName = name;
       if (scriptElementName) then
           compoundName = name.."."..scriptElementName;
       end	
       if (compoundName and Sea.util.Hooks[compoundName] and Sea.util.Hooks[compoundName].orig) then
           return Sea.util.Hooks[compoundName].orig;
       else
           return nil;
       end
   end

but i'm not sure if it's the most elegant solution. why would i want to do this?

it's mainly for those mods that don't play nicely with hooking (i had a problem with selfcast)...some of them want to do the whole 'replace' thing, but they also want to call the original UI function. if it's already been hooked, from memory (i actually changed this months ago), then it ends up in some infinite recursive loop.

-- Facboy

API

actionSlot, defined in: API_IsAutoRepeatAction, appears to be a different "slot" type than API_TYPE_InventorySlotID, which is what is linked most commonly in the API page.. i'm trying to figure out if my character is currently "autoattacking" a mob,, and if not, that 1 button always enables it, before attempting Sinister strike. and if you press the same button, the action is not disabled. (something that AttackTarget() unfortunately does do )

Basically this is the macro :

  • /script if(UnitAffectingCombat("player")==nil) then AttackTarget();end;
  • /script if(UnitMana("Player")>=10) and (IsUsableAction(18)) then CastSpellByName("Riposte");end;
  • /script if(UnitMana("Player")>=40) then CastSpellByName("Sinister Strike");end;

Now, the first line i'd need to change, because obviously it does not work properly.. suggestions are welcome.. CJ 09:15, 8 Mar 2006 (EST)

Frivolous Question

Are you still 22 like AlexanderYoshi says? --Fandyllic 2:18 PM PDT 17 Aug 2006