irclog2html for #wowi-lounge on 20070320

00:08.06SynthosXdid the BAG_UPDATE event change at all?
00:08.27SynthosXdoes it still fire for every item?
00:10.23*** join/#wowi-lounge ckknight (n=ckknight@198.199.136.146)
00:11.15*** join/#wowi-lounge Adys (n=Miranda@APoitiers-256-1-5-176.w81-49.abo.wanadoo.fr)
00:14.30MentalPower|ZZzzSynthosX: no, it no longer fires when zoning
00:24.45*** join/#wowi-lounge Gryphen (n=masked@c-76-104-130-0.hsd1.wa.comcast.net)
00:29.57*** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@64.193.93.197)
00:31.11*** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@64.193.93.197)
00:33.43*** join/#wowi-lounge Mortius (i=Mortius@ppp-71-128-198-227.dsl.sndg02.pacbell.net)
00:34.28MortiusAnyone happen to know what the blizz party frames are called?  I tried PartyFrame but that didn't work
00:34.34YammYgirlcodingCairenn hello! \o/
00:34.40Cairennhi YammYgirlcoding
00:34.57Bleeterheya Cairenn, how was the concert?
00:35.12Cairennit was good, had fun
00:35.16YammYgirlcodingCairenn darling, how long does it take from upload time to accepting time on new mods upload to site?
00:35.25BleeterCairenn: great to hear :)
00:35.37Cairennlol, usually about 2 minutes
00:35.42YammYgirlcodingIs Cairenn a musician?
00:36.01Cairennno no, went to a MeatLoaf concert Friday
00:36.03YammYgirlcodingCairenn oh. i uploaded a new mod few hours ago
00:36.20YammYgirlcodingaah right. :)  I do play electric guitar, so was wondering ^^
00:36.22Cairennwell, there's nothing in the queue, so presumably it's already been approved
00:36.33YammYgirlcodinghmm let me check :)
00:37.35Mortiuskinda strange, looking in the FrameXML, it calls the party frame "PartyFrame", but that will return an error, i.e.: /script PartyFrame:Hide(); (nil value error)
00:37.35TainWoah you went to Meatloaf?
00:37.48BleeterCairenn: did you throw your knickers onto the stage? :-P
00:37.54Cairenn:p
00:38.02YammYgirlcodingO.o !!!!! I uploaded the mod 2 hours ago and it already have 50 downloads?!?? omg !!
00:38.03Cairennno, I didn't
00:38.25Bleeterprolly a wise move ;)
00:38.55Cairennit was very very hard to behave myself and not spend the entire concert dancing
00:39.04TainI got to see Meatloaf a few years ago in a small club, 3000 people.
00:39.11TainI was 10 feet from him.
00:40.27Bleetersmaller gigs are always the best. I saw Dire Straits and Hothouse Flowers. Mid 80's or so, pub didn't hold more than 200 people. Was incredible. Band members walking up to the bar to get a drink of water rofl
00:40.40Bleeter(it was a benefit gig for a local environmental alliance)
00:41.07TainDamn environment.
00:41.53YammYgirlcodingyay!! my first mod up and now online ready to dl ! =^^=    http://www.wowinterface.com/downloads/info6998-AdvancedTradeSkillWindowLevelsplugin.html
00:42.35BleeterYammYgirlcoding: grats!
00:43.51YammYgirlcodingCairenn I missed a dependency related field on the upload form ( btw )
00:44.04*** join/#wowi-lounge GomiNoSensei (i=tonyd@d205-250-164-37.bchsia.telus.net)
00:44.43Cairennto whit?
00:46.10YammYgirlcodingwhen I uploaded the mod, i missed a field asking me the addon's dependencies
00:46.36YammYgirlcodingI had to write it myself. someone added it later, but it would save time if we had it already so we could tell it :)
00:48.14MortiusAnyone know why this would give me an error: /script PartyFrame:Hide();
00:48.31zenzelezzwhich error?
00:48.39Mortiusreturns a nil value
00:49.07zenzelezzI'm not sure I understand, what you posted doesn't ask for a return value
00:49.21Mortiusit says "PartyFrame" is a nil value
00:49.54zenzelezzare you sure that's the right name then?
00:50.55Mortius"Attempt to index global "PartyFrame" (a nil value)
00:50.56MortiusThat's what the frame is called inside of FrameXML
00:53.24YammYgirlcodingis there a short path to our addon on site? this link is too big to put in guild info :(
00:53.28Mortiusokay its apparently "PartyMemberFrameX", where X = 1, 2, 3 or 4
01:02.36*** join/#wowi-lounge dinesh_ (n=chatzill@c-68-36-168-161.hsd1.nj.comcast.net)
01:03.39*** join/#wowi-lounge YammYgirlcoding (n=hoho@201.53.48.138)
01:03.47YammYgirlcodingis Cide over there?
01:04.05YammYgirlcodingor any ct coder
01:04.38zenzelezzCide doesn't seem to be here right now, but he usually is
01:05.11YammYgirlcoding<PROTECTED>
01:05.41YammYgirlcodingWhen I click open all selected mails in mailbox, it always forget to retrieve the last 2
01:06.29zenzelezznow that sounds like an interesting problem
01:06.34BleeterI seem to recall cide alluding to latency in the mail system causing that sort of stuff
01:07.03YammYgirlcodingis it a known issue?
01:07.18zenzelezzhang around and ask him when he shows up
01:07.25YammYgirlcodingoky :)
01:08.09Bleeterif it is mail latency, i doubt there's anything that can be done as the only available latency measure is overall latency, bot specific subsystems (eg, mail, AH, etc)
01:08.38zenzelezzaye, but it sounds weird if it's always exactly the last two it doesn't get
01:08.42BleeterI'm guessing this 'coz I asked him about the 'internal mail db' error messsage, asking what that was about. he said latency
01:09.40YammYgirlcodingIt's odd cause it doesn't fire any mail error, just forget the last two. or last one. or doesn't forget... But when the mail have more than 2 pages it always forget the last two.
01:10.04zenzelezzyou often have that many mail? O_O
01:10.06YammYgirlcodingnow that you said It do seems to be some latency issue
01:10.11YammYgirlcodingI do :)
01:10.22YammYgirlcodingmail from AH returned ¬¬
01:10.26zenzelezzaha
01:11.54*** join/#wowi-lounge Antiarc (n=Chris@wsip-70-184-82-98.ph.ph.cox.net)
01:17.00batrickanybody had experience with having a frame with secure buttons where when you click the secure button you want it to close the frame AND cast the spell?
01:17.03batrickwhile not in combat
01:17.14batrickhide the frame*
01:17.40batricki can only seem to get one or the other :(
01:18.55*** part/#wowi-lounge JoshBorke (n=Josh@lawn-128-61-122-178.lawn.gatech.edu)
01:19.01*** join/#wowi-lounge Mortius (i=Mortius@ppp-71-128-198-227.dsl.sndg02.pacbell.net)
01:19.27MortiusIf I do PartyMemberFrame1:UnregisterAllEvents(); ... it shouldn't show up anymore right?
01:20.09zenzelezznot unless some other frame decides to show it
01:20.41Mortiusyeah, its work for all other blizzard frames, but when I join a party it's still showing up
01:21.09zenzelezzthink I've heard of people hooking/chaning the Show() function on the frame to avoid that
01:21.15zenzelezz*changing
01:21.32Mortiusok man, I'll try that, thanks :)
01:24.52batrickmortius are you sure PartyMemberFrame1 isn't the player?
01:25.16zenzelezzthe player isn't party1 at least
01:30.04Mortiusno, partymemeberframe1 is the first person in the party.  playerframe is the player
01:30.21Nom-What's a memeber ?
01:30.26Mortiusthere is partymemberframe1, 2, 3, 4.  no 5, as is always excludes you
01:30.42Mortiusno clue.  they just threw that in there to confuse me
01:31.23MortiusIt should of been "PartyFrame1", etc..
01:45.16SynthosXugh
01:45.26SynthosXis there anything special i need to do to parse itemlinks?
01:46.00SynthosXI keep getting nil argument errors when trying to string.find
01:46.38Nom-What are you trying to find?
01:46.47SynthosXthe itemstring instead
01:47.00SynthosXi'm trying string.find(item_Link, "^|%x+|H(.+)|h%[.+%]");
01:47.27Nom-well ^, unless i'm mistaken searches at the start of a string
01:47.27SynthosXbut i'm getting arg#1 as nil for some reason
01:48.47SynthosXwell, item_LInk i can print to the chat, and it's fine
01:49.02SynthosXbut attempting to pass it to string.find gives a nil argument error
01:49.53zenzelezzalways or sometimes?
01:50.02SynthosXalways
01:50.04SynthosXhttp://wowi.pastey.net/8661
01:50.36SynthosXomg
01:50.40SynthosXignore me
01:50.42*** join/#wowi-lounge ckknight (n=ckknight@198.199.136.146)
01:50.57zenzelezzdo tell :-p
01:51.24SynthosXi'm not checking if it's nil
01:51.32SynthosXand so the first blank slot it finds
01:51.37zenzelezzhehe
01:51.40SynthosXit's of course nil
01:51.42Nom-lol that's an even more silly problem
01:51.47SynthosX<expetive>
01:52.02SynthosX<expletive>
01:52.43zenzelezzeasy mistake to make
01:53.26zenzelezzI remember the first time I was trying to do a CRC-test on something (with my own code)... spent about an hour figuring that the reason why it "didn't work" was that I was trying to CRC the wrong buffer
01:54.21Nom-lol
01:54.31Nom-quit while you're not too far behind? :P
01:54.34Nom-j/k
01:55.22*** join/#wowi-lounge snarkyFish (n=noone@c-67-176-1-65.hsd1.co.comcast.net)
01:56.28snarkyFishDoes anyone have any ideas for how I could build a mod that would tell a user how high off the ground they are when flying?  From what i've read in the api docs there just isn't that info available.  : (
01:56.56KasoIm pretty sure thatd be impossible
01:56.57Shadowedcorrect, we don't have the information
01:57.44ShadowedKaso: well you could sort of do it by saying, you move X yards off the ground of holding the jump button up along with other things, but it wouldn't be very accurate
01:57.48snarkyFishthe only hack i can think of would be clicking on a mob below you and getting a 'range to target' or just a boolean for if they're in range or not...  but that'd be pretty crappy.
01:58.26Kasoyah, and it wouldnt account for people just steering upwards
01:58.32snarkyFishI want an 'altimeter'  : (  so i can judge if dropping off my mount is surviveable or not.
01:58.54ShadowedMaybe you could account for that using the same stuff they were talking about regarding calculating what angle you're flying out kaso
01:59.31Mr_Rabies2you can get vastly different damage numbers from the same height, seemingly
01:59.54KasoFall damage is done by % of total hp ?
01:59.54zenzelezzon the same character or different characters?
01:59.55snarkyFishyou can?  they throw a random element in there?
01:59.55Mr_Rabies2sometimes i survive thunder bluff jumps, sometimes i can't
01:59.57ShadowedYeah Kaso
02:00.19Shadowedwhen you survive the jump, how much do you survive it by?
02:00.29Mr_Rabies2depends :x
02:00.42snarkyFishjumps off of the elevator at the aldor rise always seem to be the same for me.
02:00.58Mr_Rabies2i'm scryer and a druid so that doesn't apply to me :p
02:01.00zenzelezzjumping from the bridge in Deadwind towards the river by Kharazan is a gamble... you can take 99.5% damage, or more (if you don't hit the water)
02:01.08Mr_Rabies2i died once jumping off it at level 60
02:01.34ShadowedWell how you jump off can effect it
02:01.38Mr_Rabies2nothing like playing chicken with the ground
02:02.09Mr_Rabies2seeing how close you can get from a flight ceiling fall to the ground and live
02:02.19ShadowedIf you jump off the ledge, that could push the 99.% to 100%, or if you go off a small "ledge" instead of going down a little ramp before falling
02:02.30Shadowed99. = 99.5
02:03.39ShadowedI don't think anyones really looked into fall damage that much besides it being percentage based
02:03.58Kasocan you still set the camera to particular angles?
02:05.04Kasoif so you could have the camera set to a given angle, then have some sort of on screen scale, that you can use to judge your high using the apparent location of the group
02:05.06Kasoground
02:05.42snarkyFishyeah.. i was wondering about that.. can you overlay images? like the targeting image that attaches to your mouse?  
02:06.11*** join/#wowi-lounge ZealotOnAStick (n=zoas@69.246.194.227)
02:06.37Kasoyou can attach an image to the mouse no problem
02:06.50ShadowedNot sure how you'd do that Kaso
02:06.56Kasobut without a set angle on the camera you couldnt do the math properly
02:07.12Shadowedbut (i'm pretty sure) Cide's macro to make you fly at a straight angle changes cameras
02:07.56*** join/#wowi-lounge clad|away (n=jnwhiteh@WoWUIDev/WoWI/Featured/Dongle/cladhaire)
02:07.56*** mode/#wowi-lounge [+o clad|away] by ChanServ
02:08.29Shadowed~logs
02:08.32purlhmm... logs is apt/ibot/infobot/jbot/purl all log daily to http://ibot.rikers.org/<channelname>/ where channelname is html encoded ie: %23debian | lines that start with a space are not shown | some channels have stats at http://ibot.rikers.org/stats/<channelname>.html.gz
02:08.32snarkyFishoh... kaso, so you mean like.. a ui element
02:09.26snarkyFishyeah... so like have an overlay on the ui, (like tickmarks on the side of the screen)  set the camera at a fixed distance and pointing at the horizon, and line the ground up relative to the ui.
02:10.55Kasoyah i was thinking of that, but it'd be more flexible if the camera was at a angle pointed down
02:11.24ShadowedHow did you plan on checking the screen scale though
02:11.25snarkyFishlike a bomb sight?  ; )  
02:11.41snarkyFishwell.. you couldn't point directly down...  you'd need an angle of some sort.
02:11.48ShadowedDon't think we have access to those
02:12.05Kasoi thought we had some pre-set camera angles we could select?
02:12.13snarkyFishwell.. it'd be a crappy mod.. you'd have to probably specify that it be used at a specific scale
02:12.39ShadowedYou can save camera angles and then recall them using key bindings, but not sure if they require a key press or not
02:13.41*** join/#wowi-lounge sioraiocht (n=rtharper@cpe-74-71-116-245.twcny.res.rr.com)
02:14.34*** join/#wowi-lounge sioraiocht (n=rtharper@cpe-74-71-116-245.twcny.res.rr.com)
02:15.19snarkyFishi wouldn't mind having to set a camera angle but yeah.. it's getting farther and farther from consumer friendly as we throw hacks at it. ; )
02:17.11Kasobasically it isnt possible without a crappy implentation
02:17.27snarkyFishyup..  pretty much
02:18.23snarkyFishwhich sucks.  something i've realised in testing though.. you can drop into water from max height without damage.. (and stealth on the way) so that's perfect for halo jumps.. ;)  
02:18.55zenzelezzonly if it's deep enough
02:18.56ShadowedActually some computers don't load the water fast enough and you die anyway
02:18.56snarkyFishalso.. i'm figuring out skills i can use as distance to target indicators.  my thrown weapon is just too far.. but my shadow step's range seems just about right.
02:19.06snarkyFishheh! really?
02:19.10zenzelezzjump from a sufficiently high altitude and you fall deeper into the water
02:19.14ShadowedYou do?
02:19.17Shadowednever had it like that for me
02:19.25zenzelezztry it form way in the air in Zangarmarsh
02:19.29zenzelezz*from
02:19.47zenzelezzI may be wrong, but it seemed so to me anyway
02:19.52snarkyFishwell.. yeah.. hip high water is out... as it's pretty much ground.. ; )
02:19.53ShadowedYeah, the water needs to be deep enough that you can swim in it and not be running
02:20.31ShadowedUsed to have a friend that wouldn't load the water in some Horde dungeon in Barrens who name i can't remember fast enough, so he'd always die on the jump
02:20.49snarkyFishthat's really weird.  
02:21.04zenzelezzbut like I said, try it from just over the water and then from way up, I'm semi-confident
02:21.07snarkyFishthe water this time definitely exceeded my draw distance.. (which is short as it is)
02:21.30ShadowedHow deep is the water zenzelezz? Were you able to stay mounted in it?
02:22.13zenzelezzstay mounted? I said you'd dismount and fall
02:22.38ShadowedNo I mean, can you mount up on the ground and run into the water and be dismounted
02:22.53zenzelezzI'm talking the middle of the huge lake
02:23.04zenzelezztry falling into it from different height
02:23.07Shadowedahh
02:25.35snarkyFishso... i figured it out.   I put shadowstep up on my toolbar.  I target a mob below me, and fly down until they are in range of shadowstep.  I dismount and stealth on the way down and bam.  I'm right behind them and stealthed.  soooo cool.
02:25.50snarkyFishan altimeter would have been cooler. : (
02:27.10*** join/#wowi-lounge Sixen (i=Sixen@12-201-98-248.client.mchsi.com)
02:27.46*** part/#wowi-lounge Sixen (i=Sixen@12-201-98-248.client.mchsi.com)
02:38.03*** join/#wowi-lounge JoshBorke (n=Josh@r35h14.res.gatech.edu)
02:46.37*** join/#wowi-lounge abug (n=ABUGABUG@c-68-63-146-234.hsd1.pa.comcast.net)
02:49.39*** join/#wowi-lounge GomiNoSensei (i=tonyd@d205-250-164-37.bchsia.telus.net)
02:49.39SynthosXsnarkyFish: you can now do the warrior paratrooper charge :D
02:49.41SynthosXminus the plate
02:53.24*** join/#wowi-lounge Mortius (i=Mortius@ppp-71-128-198-227.dsl.sndg02.pacbell.net)
02:54.26MortiusCan anyone point me to a page somewhere that talks about the setting and displaying of tooltips?  I'm having a hard time finding any documentation at all about this.  I don't want to create my own, just show a buff's tooltip on hover.
02:54.54SynthosXyeah you don't really want to create your owne
02:55.05SynthosXbecause there's lots of mods that add stuff to tooltops
02:55.09SynthosX*tootips
02:55.10Kaso<PROTECTED>
02:55.11SynthosX:(
02:55.50SynthosXGameTooltip:SetOwner(button, "ANCHOR_LEFT");
02:55.50Mortiusdamn i thought I looked everywhere on wowwiki
02:55.52Mortiusthanks kaso!
02:56.08Mortiusyes, that is what I was trying actually  I found that code in a mod
02:56.39Mortiustrying to figure out how I would show that on hover
02:57.02Mortiusthat code gave me an error too... but I put it on the onclick to test it
02:57.15Mortiusthere is no <OnHover> so im still looking into how to do it
02:57.49batrickMortius, it's pretty easy to do, search tooltip in my xml, and lua: http://unm.edu/~batrick/files/Spellcraftv0.75.zip
02:57.54batrickit's like, 3 lines
02:58.15Mortiuskk thanks
02:58.49batrick"Tooltip"
02:59.01SynthosX<OnEnter> i beleive is what you want
02:59.17MortiusAhhh!  I thought that was when someone press the enter button.. ROFL
02:59.23SynthosXnope
02:59.34Mortiuswhen someone enters the frame with the cursor I'm guessing
02:59.40SynthosXyep
02:59.48SynthosXhey uh
02:59.55batrickOnEnter is dangerous tho, with OnLeave for some things : /
02:59.58SynthosXhave you unpacked framexml yet?
03:00.06Mortiusyes
03:00.17SynthosXbatrick: how is it dangerous?
03:00.26subbawtnightbane down yay
03:00.31SynthosXcheck out ContainerItemButtonTemplate.xml
03:00.31batrickwell not dangerous so much as buggy
03:00.36subbawt(he's nerfed) but still yay
03:00.52SynthosXwhat kind of issues does it have?
03:01.23batrickwell I see a couple mods that use it for highlighting a button, i fyou move your mouse too fast you may end up reversing the effects if you don't code it properly
03:01.31batricki.e. the highlight goes away when you enter the button
03:02.14*** join/#wowi-lounge Tim (n=qwertyui@75.35.61.166)
03:02.21SynthosXah
03:02.31SynthosXso the onleave can get fired after the onenter
03:02.32TimHi
03:02.42batricksomething like that
03:02.43SynthosXit's a race condition
03:02.44TimWheres block fathom deeps
03:03.08batricki think they were using a functiont that switched states
03:03.22*** part/#wowi-lounge Tim (n=qwertyui@75.35.61.166)
03:03.39batrickfor both on leave and on enter
03:03.41batrickmeh
03:03.49JoshBorke/who tim
03:04.02JoshBorkeor he could leave...
03:04.08JoshBorkeafter 30 seconds
03:04.14*** join/#wowi-lounge Iriel (n=daniel@adsl-71-158-244-138.dsl.pltn13.sbcglobal.net)
03:04.24batrickanybody had experience with havinga frame with secure buttons where when you click thesecure button you want it to hide the frame AND cast thespell?
03:04.27batrickwhile not in combat
03:04.43batricki can only get one or the other... : /
03:04.51*** mode/#wowi-lounge [+o Iriel] by ChanServ
03:04.55IrielYou can use PostClick can't you?
03:05.14SynthosXthat's a pretty good answer....
03:05.24batrick<PostClick> ?
03:05.27SynthosXerr... question i guess.. but implied answer
03:05.32batrickI didn't know that existed :O
03:05.56SynthosXhttp://forums.worldofwarcraft.com/thread.html?topicId=64187212&sid=1
03:05.56IrielYou should re-read (or read) the 2.0.x changes thread 8-)
03:06.00SynthosXit's posted there
03:06.18batricklol
03:07.54batrickpurl hug iriel
03:08.13batricksigh
03:09.09*** join/#wowi-lounge ckknight (n=ckknight@198.199.136.150)
03:20.22JoshBorkenight all
03:20.23JoshBorkepurl, hug Cairenn
03:41.42SynthosXok
03:41.54SynthosXmt
03:41.56*** join/#wowi-lounge Adys (n=Miranda@APoitiers-256-1-5-176.w81-49.abo.wanadoo.fr)
03:49.16Bleeterrm -rf /dev/brain
03:50.45SynthosXssh Bleeter
03:51.12Bleeterno route to host
03:51.26SynthosXping Bleeter
03:51.34Bleeterack
03:51.48SynthosXssh Bleeter anonymous
03:51.59Bleeterconnection timed out
03:52.07SynthosX...
03:52.23Bleeterrelay denied
03:52.29SynthosXfor true; do ping Bleeter end
03:52.47Bleeter>
03:53.25Bleeterfor true;do cat /dev/food |/dev/mouth;end
03:54.05SynthosXstack overflow
03:54.57Bleeter<PROTECTED>
03:55.21Bleetergrrr,, this is NOT getting any work done, mildly amusing tho it is ;)
03:55.25SynthosX;)
03:55.40SynthosXi haven't used linux in a long time :D
03:56.00BleeterMacOS?
03:56.06SynthosXcrapdows
03:56.14Bleeterah
03:56.26Bleeterwas gunna suggest you'd be happy at getting POSIX at the next release
03:56.40SynthosXhehe
03:57.12SynthosXi think when i have two computers i'll try to switch (again)
03:57.24SynthosXi used gentoo for a while
03:57.28SynthosXand didn't like it
03:57.28Bleeterget vmware, have a play.
03:57.55Bleetergentoo's ok behind the hands of a decent user. it's the users that let any distro down.
03:58.26Bleeterdebian's imploding
03:58.57Bleeterthe founder quit to go work for Sun, he's that pissed with it
03:58.57IrielThat's funny, last time I paid attention it was gentoo imploding
03:59.19Bleeteras a #gaim person, I *wish* gentoo would implode ;)
03:59.25SynthosXI just probably shouldn't have started on gentoo
03:59.48BleeterSynthosX: if one's relatively new to *nix, Ubuntu's the way to go.
03:59.55SynthosXSo i've heard
03:59.58SynthosXBeen pondering it
04:00.51Bleeterif one's thinking a path that might take one into commercial *nix land, I'd probably suggest Fedora. It's similar in feel to Solaris, and it's where HeadRat get their Enterprise Server from
04:01.17SynthosXbah
04:01.40Bleeteroh, Iriel.. I found a page *just* for you yesterday.. lemme grab the URL
04:01.50SynthosXthis'll be good ^_^
04:02.32Bleetermake that two pages, iriel. http://beebem-unix.bbcmicro.com/ and http://hld.c64.org/poldi/lunix/lunix.html
04:03.14*** join/#wowi-lounge KarlThePagan (n=andross@66.225.8.145)
04:04.12IrielHm, i'll bookmark the first.. Never did like the C64 much, so the latter can languish 8-)
04:06.00Nom-How's AfterCough coming along? ^_^
04:07.09BleeterIriel: it was more for the amusement of 'unix on c64' than anything .. the earlier was pretty cool, BBC B with 80186 copro! rofl
04:07.17TierrieHey Iriel
04:07.31Tierrieclad told me yesterday you wrote this little bit about how "this" has been depreciated
04:07.35TierrieI've been looking for that post since
04:07.51IrielTierrie: It should (may?) be in the 2.0.x changes thread
04:08.00TierrieI looked all over those forums
04:08.02IrielNom-: It's become AfterWork
04:08.05Tierrieespecially that thread
04:08.19TierrieI also looked in the wowwiki's 2.0 changes
04:08.34Nom-aww :(
04:08.49Tierriehttp://forums.worldofwarcraft.com/thread.html?topicId=64187212&sid=1 <-- this is the thread you're talking about right?
04:08.52Nom-AfterNextExPac? :/
04:09.14IrielScript Handlers
04:09.16IrielFrame handlers now are passed parameters in addition to setting the global variables when executed. Accessing these parameters locally is faster than accessing the globals, and is recommended.
04:09.33TierrieI read that, and along with the events passewd
04:09.37IrielNom- Not that bad, just got to get through a couple of work issues before I have time to fiddle.
04:09.39TierrieBut nothing about "this" being depreciated
04:09.42IrielWell, 'this' isn't one of the locals
04:09.50IrielSo by inference it's not "recommended" 8-)
04:09.52Nom-omg @ Second Life
04:09.55Nom-Total Residents:  4,806,583
04:09.55Nom-Logged In Last 60 Days: 1,570,532
04:09.55Nom-Online Now: 24,521
04:09.55Nom-US$ Spent Last 24h: $1,488,890
04:09.56Nom-LindeX Activity Last 24h: $226,784 k
04:10.11TierrieIriel: so let me get this right, using "this" is still OK
04:10.17Nom-That looks rather insane
04:10.18IrielFor now
04:10.39Tierrieok, well, its sometimes necessary to pass the calling frame to the script
04:10.48IrielAt some point, if we're lucky, blizzard will re-write all of their code to not use it anymore
04:10.54IrielAnd use the explicit 'self' instead
04:11.05Tierrieself refers to the parent object
04:11.09Tierriewhich is not the same as the calling frame
04:11.23Tierrieso i still think its necessary to have two variables
04:11.23Irieleh?
04:11.43IrielIn all of the places where blizzard code calls a handler, 'this' and 'self' have the same value
04:11.51Iriel'self' is local, 'this' is global
04:11.51Tierrie*blinks*
04:12.03Nom-omg Second Life looks insane...you actually pay additional $$ for ingame land
04:12.04Tierriecertainly not in my code :P
04:12.11Iriel(where 'self' is the first parameter of the function)
04:12.12Nom-That sounds like an absolutely pointless monkey sink
04:12.24Tierriefor me, self refers to the namespace about 80% of the time
04:12.27IrielNom- It's somewhat more complicated than that. It's an odd place for sure.
04:12.36Tierriewhile this refers to the calling frame
04:12.42IrielTierrie: Then I'm assuming you're not calling frame:SetScript with one of your 80% functions
04:12.56Nom-Iriel: Have you played it ?
04:12.59Tierriethat's correct, some of my scripts are set in xml
04:13.08Nom-It sounds like it's just somewhere for rich people to blow their millions
04:13.34IrielSo, in the XML, if you do <OnEvent> TierrieNamespace:SomeMethod(self, event, ...)</OnEvent>
04:13.55Tierriesomething like that except with a period
04:13.59IrielThen declare your method as function TierrieNamespace:SomeMethod(this, event, ...)
04:14.14Tierriewell my functions are SomeMethod(self,event,...)
04:14.17IrielThen you'll have self as your namespace, and 'this' as the frame
04:14.32Tierrieoh ok I get what you're saying
04:14.44TierrieI grok!
04:15.05SynthosXhmmm I'm not sure if my code does that...
04:15.31IrielThe really important part is to try and pass all that data around as parameters and locals, as they're significantly faster than globals
04:15.42Tierriehow do you access a frame globally then?
04:15.57IrielHm?
04:16.05IrielYou can still USE globals, I have no inherent hate for globals
04:16.07SynthosXhttp://wowi.pastey.net/8674
04:16.18Tierrielets say I have a <Frame name="someConfigFrame">
04:16.19IrielIt's just using globals that change with every even that's bad
04:16.21Tierriehow do I access it?
04:16.29SynthosXbtw Iriel a question for you: is using frames as table keys bad mojo?
04:17.07SynthosXTierrie you have to use globals to get a frame by name
04:17.14Tierriethat's what I thought as well
04:17.15SynthosXa frame handle, rather
04:17.59Tierriei do try to keep operational frames created dynamically in my namespace though, so TierrieNamespace.MainFrame actually refers to that frame
04:18.42IrielSorry about that, chatzilla went wonky
04:18.43Tierriewell seeing how Iriel just became a magical pixie, its usually a bad idea to keep table keys as frames unless you have some trickseyness going on I'd avoid it and store it as values
04:18.56IrielSo, back to the question, if you want to access a global thing by name, certainly  you'd reference it as a global name
04:19.09IrielIf you plan on referencing it FREQUENTLY, grab a local reference to the global
04:19.26IrielAs for frames as table keys, nothing wrong with that at all if it's what you want to be doing 8-)
04:19.29TierrieIriel: i usually store the frequently referenced frames in my namespace
04:19.39Tierriei don't know why i told you that
04:19.39SynthosXshouldn't a global become local if it's passed through as a parameter though?
04:19.52Tierriebut i expect a cookie now
04:19.56IrielSynthosX: You'll have a local reference then, yes
04:19.59SynthosXah
04:20.05SynthosXperfect
04:20.18Tierriealso, how are you feeling Iriel?
04:20.41IrielMostly better though still coughing/sniffling.
04:20.47Tierriewell you know what
04:20.51Tierrieyou should watch 300
04:20.52SynthosXlike 4 guys at work are sick
04:20.58Tierriethat'll make you feel better
04:21.01Tierriemade me feel better
04:21.27Tierriei have sudden infant death syndrome :(
04:22.45*** join/#wowi-lounge Veritas_ (n=r00t@d141-57-156.home.cgocable.net)
04:23.03CairennTierrie: *blink*
04:23.18CairennTierrie: I am incredibly sorry to hear that :(
04:23.38Veritas_allo
04:23.42Cairennhi
04:23.50SynthosXWell.. if an adult gets sudden infant death syndrome as an adult....
04:23.52SynthosXdo they die?
04:24.18SynthosXmaybe if they act really immature....
04:25.05Cairennunless it is meant in the way that I read it, as in they just lost their child to it ....
04:25.35SynthosXwell.
04:25.48SynthosXif that is the case then I feel like an absolute shit tard.
04:26.12Veritas_I'm new to addon creation, and would like to learn...hopefully without reading the entire LUA Reference Manual
04:26.24SynthosXwowwiki.com is your best friend
04:26.32TierrieCairenn: its ok I got better
04:26.41Tierrieoh no i was kidding
04:26.47Tierriei read it in one of the comics
04:26.51Cairennoh
04:26.53Tierriethere's this hypochrondiac frog
04:26.56Tierriewho keeps going to the doctor
04:27.03Tierrieand he keeps making up ailments
04:27.10Tierriemostly stuff he read on the internet
04:27.26Tierrieso one day he walks into the doctor's office and tries to get treated for SIDS, sudden infant death syndrome
04:27.30Cairennin that case - I'm glad you didn't have a child die to it, and /smack for scaring the heck out of me like that
04:27.33Veritas_I've got the Blizzard AddOn Kit dealio, and im going to tinker with it and see what i can come up with
04:27.41Tierrieso the doctor's prescription was something involving a huge syringe
04:27.47*** join/#wowi-lounge abug (n=ABUGABUG@68.63.146.234)
04:27.49Tierrieand the frog got better, before the injection
04:28.14Tierriethe syringe was like 3 gallons of something
04:28.32SynthosXwhat comics are these exactly?
04:28.51Cairennlol, yeah, that'd make a hypochondriac re-think things ;)
04:29.29*** join/#wowi-lounge Legorol (i=Legorol@zr205.trin.cam.ac.uk)
04:30.21CairennVeritas_: expect to do at least some reading of the lua manual, wiki is your friend, the addon kit helps, look at other people's code, and feel free to ask questions in here if you are stuck on something
04:30.26TierrieCairenn: http://www.libertymeadows.com/uncengal/thumbnails/153.jpg
04:30.57Tierriethen http://www.libertymeadows.com/uncengal/pages/154.htm
04:30.58Nom-LOL
04:31.03CairennVeritas_: folks in here are more than happy to help, if it is clear that you are trying, not just asking someone to write it for you (not saying you are, just it does happen)
04:31.04Nom-Death and Taxes raids 6 days a week?
04:31.56SynthosXyes
04:32.05Nom-no wonder they're powering through the content
04:32.14Veritas_well
04:32.16Nom-We barely manage 2, although i'd be quite happy with more
04:32.25SynthosXTry to do the majority yourself, some people ask so many questions it'd be *faster* to write it myself
04:32.29Veritas_I'm an experienced programmer, just not in LUA
04:32.37SynthosXoh good
04:32.44Cairenn:)
04:32.50SynthosXthat makes a huge difference
04:32.58Veritas_I understand the general concepts of programming
04:33.01ThraeFinal Destination was a hoot. I should have downloaded it years ago.
04:33.34Veritas_data types and variables and im pretty sure string manipulation and if statements are pretty generic
04:34.19SynthosXtables are a big deal in lua
04:34.34SynthosXthey're like a one size fits all condom
04:34.39ThraeVeritas_: Lua prides itself with using C-style syntax
04:34.45Veritas_so ive noticed
04:35.02*** join/#wowi-lounge rophy (n=Miranda@220-132-204-186.HINET-IP.hinet.net)
04:35.06batrick^ lol
04:35.33Veritas_Am i going to need to learn XML as well? I've gotten mixed replies on that one
04:35.42batrickdepends on what you want to do
04:35.52Veritas_Just a simple dialog
04:36.02Veritas_like you standard extended /who output
04:36.08Cairennthat was quite the analogy SynthosX :p
04:36.28SynthosXactually I've rethought the statement and it doens't make much sense anymore...
04:36.29Cairenna visual I really could have done without :p
04:36.42ThraeYou don't "learn XML". XML is not a specific language, it's a user-defined language ;) Almost anything you can do in XML you can do using the WoW Widget API.
04:36.50batrickVeritas_, you want to just add onto the functionality of /who?
04:37.09SynthosXthe XML for the Widgets isn't too tough to learn
04:37.17SynthosXI recommend this tutorial (grabbing the link)
04:37.32SynthosXhttp://fara.webeddie.com/frames/
04:37.41Veritas_lol
04:37.43Veritas_i just clicked that
04:37.47SynthosXhehe
04:37.49Veritas_* Farang's Frames Tutorial - http://fara.webeddie.com/frames/
04:37.49Veritas_- An excellent beginner's guide to creating GUIs for your addon.
04:37.51ThraeIf you're a coder, I'd suggest using the WoW Lua API for Widgets
04:38.02Veritas_yea, i like that idea better
04:38.34ThraeIt gets you into the thick of things, and you don't have to deal with learning two separate languages
04:38.37SynthosXAlthough, You will probably need to make templates at some point
04:38.54SynthosXand afaik you can't make virtual (template) frames from LUA
04:38.55ThraeSynthosX: You can make Widget templates in Lua since 1.10 ;)
04:38.59SynthosX!
04:39.11SynthosXwith CreateFrame?
04:39.39ThraeWell
04:39.45IrielLet's be careful here.. You can INSTANTIATE templates with CreateFrame
04:40.05Nom-pftt XML is easy
04:40.10IrielYou can create the effect of an XML template in lua, but you're basically scripting a bunch of CreateFrame/Template/FontString calls
04:40.19Cairennoh yes, and before we forget - Iriel is like, god
04:40.25Veritas_I've heard its possible to do the whole thing without any XML file at all
04:40.26SynthosXyeah.
04:40.29ThraeYeah, that's what I meant
04:40.39Nom-Oh, and Cairenn is our resident window dressing
04:40.42Nom-She's hawt
04:40.52Cairennthat's me, all fluff, no brains
04:41.11Veritas_I've yet to find such a tutorial that doesnt immediately say OK, make a toc, lua and xml file
04:41.15ThraeA virtual template, as I know it, is just an instruction to use certain settings in/after the creation of the frame
04:41.22Veritas_where is the sans-xml tutorial :P
04:41.24SynthosXoh ok so you can't set the inheriter for Frames, but you emulate the frame creation etc...
04:41.43SynthosXVeritas_: I don't know of one
04:41.51Veritas_hmm
04:42.02ThraeSo a function that calls other functions, etc. and returns a frame would be basically the same thing, just a functional approach
04:42.12SynthosXalright
04:42.20ThraeVeritas_: www.wowace.com, look at the Ace community, they hate XML
04:42.34Veritas_Is there anyway i can popup a simple dialog via LUA?
04:42.36IrielThe sans xML tutorial is all of the above, just skip the XML file 8-)
04:42.45Veritas_surely blizzard has predefined functions for this kinda stuff
04:43.02IrielVeritas_: there's a "StaticPopup" thing that the main UI provides
04:44.15IrielLook at StaticPopup.lua
04:45.31SynthosXVeritas_: some nice tips: http://www.wowace.com/wiki/Coding_Tips. Also, you can print out to the chat frame with DEFAULT_CHAT_FRAME:AddMessage("Messge");
04:47.12Veritas_hmm
04:47.19Veritas_various types of static popups can be called
04:47.38IrielAnd you can add your own to the table
04:48.04IrielI'd recommend picking a name that wont ever conflict with blizzaard's (Starting with your addon's name in mixed case is a good bet)
04:48.30Nom-I'm looking forward to this weeks' Kara :)
04:50.13Nom-HAHA
04:50.26Nom-There's a shadow priest who's going to try and one-shot himself on Curator
04:50.30Nom-That'd be funny to watch
04:50.39Veritas_I've got like 3 browsers open all with 3 tabs open inside of each
04:52.46Nom-lol
04:52.50Nom-Curator looks fun
04:52.58Nom-We skipped him this week :9
04:53.00Nom-:(
04:53.15Nom-Or didn't get to him...either way
04:56.48SynthosXwould here : http://wowi.pastey.net/8675 be a good place to use http://www.wowace.com/wiki/Coding_Tips#Easy_multi-dimensional_tables ??
05:00.20Veritas_bah
05:00.49Veritas_im burnt out for another night :P I'll have to like throw a weekend and coding in LUA to get it down good :P
05:00.55Veritas_*at
05:01.02IrielSynthosX: Possibly, it depends on whether you ever need to test if an event has any entries in the table
05:01.36IrielSynthosX: The metatable method will automatically create a new table for any key you ask for (Unless you use rawget)
05:01.42Veritas_if i could stay up another 3 hours with a couple cups of coffee i might get it :P but i gotta work tommorow
05:02.09SynthosXIriel:  Yeah I have to check if it exists
05:02.28SynthosXah well
05:02.56SynthosXalthough, when i check if it exists i add something there right away
05:05.59IrielI meant in other places than the snippet you included
05:06.13Irielthat snippet would be just fine to use an auto-creating metaindex
05:06.29SynthosXyeah here i'll paste the whole function
05:06.49SynthosXhttp://wowi.pastey.net/8676
05:07.12IrielThe question is, where do you READ from that table
05:07.18Irielbecause that's where it can get twitchy
05:07.45IrielYou're fine if you're always using pairs/next because it will only visit 'real' keys
05:07.55SynthosXhttp://wowi.pastey.net/8674
05:08.02IrielBut if you start doing things like if (EventMatrix[someRandomEventString]) then ...
05:08.14SynthosXahh i see what you mean
05:08.32IrielIt'll create a new subtable for every random event string you try ,and you have to rewrite as rawget(EventMatrix, someRandomEventString), which can end up defeating the simplification altogether
05:08.39SynthosXyep
05:08.42IrielSo, if it's update/add/iterate -- the metatable trick is cook
05:08.51Irielif it's update/add/random-query -- not so cool
05:08.54Irielcook = cool
05:09.05SynthosXthanks ;)
05:10.40SynthosXwhat I'm working on,btw is a  reworked EngInventory... if you ever used that mod
05:11.14SynthosXit's basically and all in one inventory but sorts your items
05:12.28SynthosXhttp://img407.imageshack.us/img407/9154/enginvcx5.jpg
05:12.45*** join/#wowi-lounge Anomaly`iM (n=Zonezero@24.34.136.45)
05:14.24IrielHow odd looking
05:15.14SynthosXyeah
05:15.19SynthosXpartly why i'm reworking it
05:15.32SynthosXwell, maybe reworking is a bad word for it
05:15.45SynthosXrewriting from scratch is probably better
05:16.34IrielI think it'd be cooler if the bag slots orbitted the screen in slightly random curved paths,a nd you have to pluck the items out of the moving swarm with your mouse, like flies with chopsticks, to use something
05:16.55SynthosXoooo
05:17.07SynthosXand every time you hit or miss you get a yoda saying
05:17.30IrielOnly when you miss
05:17.35IrielExtra incentive for hitting
05:18.27SynthosXmm
05:19.15SynthosXshould I add a random chance for it to sell a random number of items whenever you visit a vendor?
05:19.21SynthosXor maybe
05:19.31IrielBetter ifi t BUYS a random number of items
05:19.36SynthosXinstead of a random chance every time you miss it queues one item to sell
05:19.51SynthosXnot only buys them
05:19.58SynthosXbut doesn't show them in the inventory
05:20.18IrielJust takes away a slot?
05:20.24SynthosXsort of
05:20.42SynthosXonce it buys enough grey equipment
05:20.51SynthosXit'll sell all of your original gear and replace it with greys
05:22.04SynthosXyou technically could create an addon bomb by uploading a hacked up addon to curse gaming... that would do all that stuff
05:27.49SynthosXdamn.
05:27.53SynthosXhttp://www.wowace.com/wiki/ArkInventory
05:32.00Guillotine<SynthosX> you technically could create an addon bomb by uploading a hacked up addon to curse gaming... that would do all that stuff
05:32.03Guillotineactually, we check that
05:32.17SynthosXah
05:32.20Guillotineobviously not in every addon, but in quite a few
05:32.21SynthosXthat's good ^_^
05:32.25Guillotineand whenever we get a report
05:33.23Guillotinejust don't obfuscate it or I'll kill you. I hate having to spend an hour unobfuscating code ><
05:33.38Guillotineluckly, most people make it easy so it ONLY takes an hour
05:34.49Nom-What's it with all the random people contacting me in ICQ lately
05:34.50Thunder_Childdamn, hes onto us
05:34.50Thunder_Childabort abort
05:34.50Thunder_Child:)
05:34.50GuillotineNom-: if you give me your ICQ I can tell you
05:34.54Guillotinethat more people will be contacting you >.>
05:37.05Nom-I should just go dark
05:37.10Nom-It's not like I use it for anything
05:37.42Guillotineanyway, gn all
05:37.48Guillotinebtw dolby, <3 the new search. its aweosme :D
05:38.27Guillotines/aweosme/awesome
05:43.53*** join/#wowi-lounge Jocco_S (n=jocco@217-210-128-16-no18.tbcn.telia.com)
06:03.03Nom-wooooot
06:03.14Nom-STALKER: Shadow of Chernobyl went gold
06:03.18Nom-WTB lol
06:04.40Corrodias/w Nom- i have 1 [lol] for 20g
06:04.55Nom-SOLD
06:05.28Nom-That game looked SOOOO awesome
06:07.55Tierrieusing $parent in the FrameXML's <OnEvent></OnEvent> doesn't work does it?
06:08.06Nom-It's a new concept for an FPS game to sme extent
06:08.16Nom-You can run around wherever you want, but you have objectives
06:08.35Nom-There's another similar game...trying to recall the name
06:08.53Nom-But that had shitty graphics, this has awesome graphics :)
06:09.05LegorolHello folks
06:09.58LegorolI have recently been explained two methods by which someone can easily hearthstone home even if their HS is on cooldown.
06:10.18LegorolThese methods are commonly known and are widely used, does anyone know whether these are considered exploits?
06:10.58LegorolAlso, what's the best way to ask Blizzard if these are exploits without making a public forum post. (not as if everyone and their grandma doesn't know it already)
06:11.36Nom-lol i think you'll find that Blizzard knows, and it's an intended mechanic
06:11.40*** join/#wowi-lounge Thrae (i=generalm@c-68-49-121-236.hsd1.md.comcast.net)
06:11.55Nom-Why the heck do you think everyone goes to Orgrimmar or Stormwind for the Auction house instead of other cities? :)
06:12.06LegorolI hardly doubt that being able to HS back to Shatt from anywhere anytime is an intended mechanic.
06:12.33Nom-It's not anywhere at any time
06:12.45Legorolthe orgri/sw mechanics are restricted to those cities, yes
06:12.46Nom-It's from inside and instance, and it takes 90 seconds to happen
06:12.51Legorolthe other mechanic is anywhere anytime
06:13.11Corrodiasi'm only aware of instance-hearthing, myself
06:13.14Nom-The other mechanic is clicking on your cooled down hearthstone...
06:13.21Legoroland the orgri/sw method, those may be intented mechanics (as far as the instances are concerned), but that doesn't mean their use for transport is intended
06:13.40Nom-Why?
06:13.40Corrodiasan orgrimmar-only teleportation method?
06:13.43LegorolUh, it's because not everyone is aware of the other mechanic that i am not spelling it out
06:13.54LegorolThere are two methods i am aware of:
06:13.55Nom-The other mechanic i suspect is BG queuing
06:13.57Nom-And that's intended too
06:14.04LegorolOne involves a free Orgri->Shatt or SW->Shatt teleport
06:14.07Nom-That's been around since day 1 as far as i know
06:14.11Corrodiasunstick won't help you
06:14.16LegorolThe other involves an instant, anytime anywhere teleport to your HS location
06:14.30Legorolnot BG queuing, that's fine i am sure
06:14.35Nom-Legorol: The boots then?
06:14.42Legorolno boots
06:14.51Legoroli am not going to explain the mechanic if you are unaware of it
06:14.52Nom-There's some instant cast boots you can get which hearth you
06:14.52Corrodiasi can't tell you if something is an exploit unless i know what it is
06:15.02LegorolOk, but does it sound like an exploit to you?
06:15.06Corrodiasthey're not instant as of this patch, i think, Nom
06:15.09ThraeBG Queuing and being in an instance not of your own making are the only two ways I know of for a free teleport
06:15.14Corrodiasthe way you have described it, it sounds like one
06:15.14Legorolnorgs: which is why i took the precaution of not explaining it
06:15.46norgsthe only ways i know of are instance, bg/arena and unstuck
06:15.56LegorolIt is however straightforward, you use standard UI elements to achieve it, and doesn't involve much trickery
06:16.02Corrodiasand unstuck won't help you if your HS is on cooldown anyway, it'll just nudge you forward
06:16.11Thraeunstuck isn't "free", it uses your hearthstone
06:16.34norgsThrae: but you can use it while your HS is in cooldown
06:16.35Legoroli guess i'd have to explain it, which i obviously can't
06:16.40ThraeThe Instance used to use your hearthstone, but doesn't anymore
06:16.51Legorolok since everyone knows about the instance method, we can discuss it
06:16.57Corrodiasnorgs: if your HS is on cooldown, or you don't have a HS, it'll just nudge you forward a little
06:17.00Thraenorgs: Like Lego said, I think it just tries to do a random teleport
06:17.02Nom-Legorol: The chances are you're thinking it does something which it doesn't do
06:17.02Legorolthat's been around a long time, but it's been pretty useless
06:17.09Corrodiasthe event is also recorded by the game. if you do it multiple times, they'll notice.
06:17.19norgsCorrodias: i have used it while hs is in cooldown, and it does HS
06:17.27LegorolNom-: i have tried it to verify and it works
06:17.30norgsadmittedly, i was really stuck at the time
06:17.30Corrodiasjigga wha?
06:17.45Corrodiasnow that can't be intended
06:17.45ThraeHmm, I guess the game can tell when you are "stuck" and when you are not
06:17.49Legorolthe auto-unstuck does get you to your HS location, even if HS is on cooldown, if you are stuck
06:18.06Legorolif it is unable to just nudge you out
06:18.11Nom-Well you'd have to say what it is in order for us to say if it's an exploit or not
06:18.17TierrieHey with the new 2.0 event passing parameters, when you SetScript do you need to put in the parameters? ie MyFrame:SetScript("OnMouseDown", function(self,button) ... end ); ?
06:18.17Legorolobviously
06:18.22Legorolso let's talk about the instance one instead
06:18.26Nom-My suspicion is it's an intended game mechanic which you're thinking is something more
06:18.28Corrodiasi see, you'd have to wedge yourself into an unescapable location
06:18.29LegorolThe thing with the instance teleport is this:
06:18.37Bleeterunstuck abuse is logged
06:18.42Corrodiasi bet it is
06:18.53LegorolIn the past, it's been near useless
06:18.56Legorolconsider Org/SW for example
06:19.07Legorolthere isn't much point in using the instances in there to go over to say IF
06:19.24Legorolthe instance teleport's utility dramatically rose with the one way Shatt->Azeroth portals
06:19.27Corrodiasi don't think we'd consider explaning a possible exploit here to be "inciting exploitation", necessarily. if anything, we can help blizzard hear about it.
06:19.35*** join/#wowi-lounge nuoHep (n=nuOHEP@outer.test.e-larek.ru)
06:19.53LegorolCorrodias: whilst many of the folks here i know to be responsible citizens in such matters, there are a large number of lurkers nowadays
06:19.58Corrodiasand when i say "we" i mean "somebody who actually posts"
06:20.07ThraeI use the free instance hearth all the time, but never intentionally (IE, make a party and go into an instance just to hearth)
06:20.09Legoroland since i don't want to be responsible for describing an exploit, i won't do it
06:20.25Corrodiashow long has it been around?
06:20.28LegorolSo, my question is then: would you consider intentional instance porting an exploitative behaviour?
06:20.34LegorolIt's been around since a very early patch
06:20.41Corrodiasthen i serously doubt it's an exploit
06:20.44Legorolit's post release, but within a few patches
06:20.53norgsintended game mechanics
06:20.55Corrodiasor considered one
06:20.57Legorolwell there is difference between a mechanic and how you use the mechanic
06:21.06ThraeLegorol: I'd put it in with the "Who the hell cares" catagory
06:21.11Corrodiasyou're not enlightening us by being vague
06:21.20Legoroli am talking about the instance portal method, Corrodias
06:21.27norgsLegorol: no, i don't think there is a difference
06:21.32ThraeTo do an Instance Free Hearth, you need to go FIND an instance, and also find someone to make a quick party with
06:21.34Corrodiasif it's been around for many patches, i don't think it needs to be a secret
06:21.41Corrodias"instance portal" doesn't ring a bell
06:21.47Legorolnorgs: sure there is, there is difference between PvP and griefing for example
06:21.50Corrodiasbut i don't keep up on these things
06:22.06Legoroli am happy to explain the instance portal method, as that one's obviously known by most of you guys here
06:22.09Corrodiasi didn't even know that unstuck would use the HS on cooldown
06:22.13norgsif blizzard don't like the way the mechanic is being used, then they're free to change it, but until then, theres no reson you can't use it completely legitimately
06:22.27LegorolCorrodias: if you are in a party when in an instance and you get kicked out of the party, in 60 seconds the game teleports you to your HS location, as i am sure you know
06:22.43LegorolPeople abuse this by walking into Orgri/SW instances, and porting to Shatt
06:23.06Nom-Yea, which is really no different than getting a warlock summon or mage portal
06:23.09Nom-Just quicker
06:23.09Legorolnorgs: you know very well that such a hard and fast rule has never been applicable
06:23.20Legoroleven certain ways of pulling bosses in instances have been deemed exploits
06:23.26Legoroleven though the game allowed it
06:23.41norgsLegorol: i also know blizzard would never ban somebody for using such a game mechanic
06:23.55Legoroli didn't talk about banning ;-)
06:23.58norgsthey would simply fix the mechanic
06:24.00Legoroli asked two things:
06:24.04Legorol1) is this an exploit
06:24.10Legorol2) what's the best forum to ask blizzard about it
06:24.15ThraeLegorol: There are exploits that Blizzard cares about, and there are those that really don't do much harm
06:24.22Nom-Well just found thi commented:
06:24.23Nom-If your hearthstone is not up yet, use the auto-unstuck option in the help menu to get a free hearth.
06:24.25Legorol(these apply to the other method two, but that i can't describe if it's not as widely known as i thought it is)
06:24.42LegorolNom-: uh? where
06:24.49Nom-http://mmomusing.blogspot.com/2007/02/weekend-of-warcraft-1-battlegrounds.html
06:25.02Nom-60 second good search for 'free hearthstone warcraft'
06:25.05Nom-*google
06:25.13ThraeRemember when you could stay in Lua and use CastSpell, etc. logic forever on one button press? That was an exploit, but no one cared because it froze the client.
06:25.43LegorolWell i'm pretty sure Blizzard would care about an immediate free HS from anywhere in the world
06:26.01ThraeLegorol: If you're talking about the Instance one, it's not anywhere in the world
06:26.05LegorolI think they also care about the instance portal, since in my opinion their intentions (note the emphasis on intention)
06:26.07norgsLegorol: no cooldown?
06:26.14Legorolno cooldown
06:26.21LegorolThrae: i'm kinda mixing them up, sorry
06:26.24Legoroli will separate them
06:26.25norgsin combat?
06:26.34Legorolnever tried in combat
06:26.41Legoroltried it once, worked, voila
06:26.43Nom-I think you'll find it'll fail in combat
06:26.45Legorolit smelled like an exploit
06:26.58ThraeLegorol: So which two are we talking about? Exiting a BG as well?
06:26.59Legoroldoesn't matter much to me if it works in combat or not
06:27.02Nom-So there's no real harm
06:27.05LegorolThrae: no
06:27.22Nom-pfft you can instant exit a BG at any time
06:27.23ThraeWhat's the "anywhere free hearth"?
06:27.24Nom-It's called /afk
06:27.34LegorolThrae: i'm not going to explain the details of that one
06:27.45Legorollet's go back to the instance one, since everyone knows that
06:27.46Corrodiasthere's no point in asking us if something is an exploit if you won't explain it
06:27.51Legorolyes, i agreed on that
06:28.02Legoroli primarily therefore ask what's the best way to ask Blizzard about it ;-)
06:28.05Nom-Yeah, it's the auto unstuck thing I think you'll find
06:28.07Legoroland i also want to discuss the instance method
06:28.21Nom-And seriously, if it's in the default WoW UI, it's something they can change
06:28.33Nom-They can't *really* call it an exploit
06:28.54ThraeLegorol: Email a GM, you'll have to do it via email unless you want the problem solved quickly
06:28.59Nom-It's not like they can tell wheter you were stuck or not...you could have fallen between some textures and can't move in any direction
06:29.07CorrodiasGM's dont know jack
06:29.22ThraeThe GMs / Tech Support people review it first, then pass it along
06:29.28Nom-That's a pretty gross generalization Corrodias ...
06:29.29*** join/#wowi-lounge gnor (n=jaydee@cpe-76-81-38-253.socal.res.rr.com)
06:29.38Corrodiasit sure is
06:29.50Corrodiasi'm kidding, maybe you'll get an informed response via email
06:29.55ThraeMost are doing Trained Monkey Acts, but that doesn't stop them from passing it along
06:30.08ThraeI doubt he'll get a response unless they say "working as intended"
06:30.09Nom-I think you'll find that there are a few GM's working @ Blizzard who are smarter than you :)
06:30.29Corrodiasof course; most people are
06:30.39Nom-We had at one stage a guy with a double PHD working on our helpdesk
06:30.45Nom-Just because he couldn't find anything else
06:30.50ThraeLegorol: Anyway, email away, then your responsibility is over
06:31.08ThraeNom-: What were his PHDs in? Obscure dead languages?
06:31.23Nom-ermm no, not sure
06:31.44Nom-I believe one was Physics related
06:31.48ThraeIf they were in Computer Science, then what kind of hick town did you live in ;)
06:31.49Nom-Not sure what the other one was
06:31.57BleeterI once worked on the helpdesk for a system I co-developed three years earlier.
06:32.02ThraeAhh yes Physics
06:32.18BleeterAnnoying thing about that role was that I wasn't allowed to tell our tech dept precisely what was wrong, they had to report it back to the vendor
06:32.19Nom-We, right now, have CCNP trained staff on our Helpdesk
06:32.28Bleeterand then the vendor had to work it out
06:32.35Nom-Network jobs are hard to come by at the moment'
06:32.36Bleeterof course, they'd ring me and ask what I thought was up
06:32.46ThraeNot in Maryland
06:32.47Nom-Either that, or they don't want to work in that field
06:32.52BleeterI'd start with 'this place is a joke'.. and tell them the details
06:32.57ThraeMaryland is IT heaven due to the government
06:33.29Thrae"Work in Baltimore, where 'Homicide: Life on the Street' was filmed!"
06:33.30*** join/#wowi-lounge quoin (n=quoin@219-90-165-148.ip.adam.com.au)
06:34.29LegorolIt's sometimes so difficult with you people... *sigh*
06:34.38LegorolI agree that Blizz probably won't ban anyone over the instance porting thing
06:34.45Corrodiasyou're the one who speaks in riddles and you call us difficult
06:34.46BleeterLegorol: maybe the hacks@ email address would be the one to ask
06:35.00LegorolBut do you not think that it's an exploitative behaviour of unintended side effect of a game mechanic?
06:35.12LegorolBleeter: thanks
06:35.29Bleeterdon't quote me fully on the LHS of the address, I just know there's one for that
06:35.37Bleetersorry for not bringing it to mind sooner
06:35.38ThraeLegorol: Are you asking that for an ethical definition or a definitive one?
06:35.50Legorolethical
06:35.58Legorolbecuase there is no definitive, at least not in this channel
06:36.03Legorolonly Blizz has the definitive
06:36.39LegorolFor example, contrasting it with exploitative pulling of bosses in raid instances
06:36.47Legorolmagnitude is not the same obviously
06:37.04Corrodiasit seems unlikely that free teleportation to your hearth location at any time from any place without the involvement of other players more than once per hour without having to prepare for it beforehand is considered an intended use of something in the game
06:37.18Corrodiasbut i have set more conditions on this than you have
06:37.45ThraeIf there is a way to bypass the Hearthstone cooldown with no side-effects that can be done from anywhere, then I would not find it ethical
06:38.04Corrodiasas for decisions of ethics and morality, i defer those to the flying spaghetti monster
06:38.15Corrodiashe tells me he doesn't really care one way or the other about hearthing
06:38.55ThraeYou know, we really should be tackling the REAL ethical questions here...
06:38.56Nom-Corrodias++
06:39.02ThraeNamely, the Bubble-Hearth implications!
06:39.12*** join/#wowi-lounge Cera (n=Cera@67.169.136.42)
06:39.14Corrodiasoh no, the paladins will be unstoppable!
06:39.15Nom-1. Should you really care?  It's a virtual world.
06:39.42Nom-2. If the answer to question 1 is 'Yes', then why do you care, it's a virtual world?
06:39.44ThraeI remember that comic where a Blood Elf Paladin and Dwarf Paladin spot each other, and they both bubble-hearth. Classic.
06:39.50Corrodiasyes, i play the game and i care what happens
06:39.56Bleeterbypassing hearth is unethical. it's like finding a way to 'fly' from BB to LHC, everytime, instantaneously. the *only* time hearth should be bypassed is being dropped from a group in an instance, or being stuck. both cases can be logged by Blizz. What they decide to do from there, is up to them.
06:40.04Corrodiaswhat -would- bother me is if somebody can hearth free and i can't because somebody won't tell me how to do it
06:40.22CorrodiasBleeter: you're wrong
06:40.30Bleeterbecause there's definately a grey area which'd need to be examined on a case by case basis. anyways, that's my 2c.
06:40.38Corrodiaswhat are you, some kind of false prophet?
06:40.54Bleeter?
06:40.58BleeterWOT?!
06:41.46ThraeI think everyone should have a free teleport to --somewhere-- with no cooldown
06:42.17ThraeCall it the "Hopelessly Lost" teleport. Those that get lost often would probably have their HS on cooldown ;)
06:42.18BleeterThrae: roll a mage! :P
06:42.33ThraeBleeter: Or Shaman or Druid
06:42.54Temthat's the one thing I miss the most about being a mage
06:42.57Bleetermages got more destinations
06:43.01Bleetertem++
06:43.03Corrodiasmages get to go to any of the capital cities at any time. i don't see that it's really a big deal for other classes to hearth when they want to.
06:43.23BleeterCorrodias: mages use *magic* to do it. 'coz, they're like.. mages
06:43.26TemCorrodias, play a mage for a long while then level something else
06:43.35Temthe hearthstone cooldown is a killer
06:43.38BleeterTem: yup, that sux.
06:43.39ThraeI'm not talking something as complex as Mage Portals or a hearth to the capital cities
06:43.43Corrodiasyeah... i have a mage alt.
06:43.55TemI'm *constantly* wanting to port when it's on cooldown
06:44.00ThraeI'm talking something like Druid's Teleport: Moonglade
06:44.31Temon my shaman it was a lot easier, though
06:44.32ThraeI know, no matter how lost or surrounded by high-level mobs I get into, I can always just go to Moonglade
06:44.38Bleeterwhile we're at it, I think boat/zepp travel times are too long. it should all be instananeous.
06:44.47Bleetersame with flying
06:44.59Bleeteractually, fighting mobs takes too long as well. they should just all die when I login
06:45.05ThraeThe beauty of Teleport: Moonglade's balance is that it takes freaking forever to go anywhere
06:45.06Corrodiasmoonglade is 6 minutes from orgrimmar, but better than nothing
06:45.06Temback in beta, you could get low level characters into outland with warlock summons or mage ports (may still be possible, but I assume it isn't)
06:46.20Temso I took my shaman to shatt and set his hearth there
06:46.21BleeterTem: I got my 55 LW to shat via a mage portal on live, in I think around 2.0.5 for training
06:46.21Temso I was a mage every 15 minutes
06:46.21Corrodiasapparently you can get low level characters into outland that way, but not in netherstorm. from what i hear.
06:46.21Corrodiassomeone told me netherstorm doesn't allow warlock summoning or something. :/
06:46.21Temyeah I don't really care about netherstorm
06:46.21Corrodiasnetherstorm is poo
06:46.21ThraeCorrodias: The free one is ~7-8 minutes to Thunder Bluff, the ~30s one is ~2-3 minutes to Ogrimmar
06:46.21TemI'm more interested in the shatt -> azeroth portals
06:46.40Corrodiasit takes that long to get to Winterspring, and from there it still has to go to Org
06:47.00ThraeCorrodias: Well it's still a lot shorter then going to TB
06:47.17Bleeterwell, if you start giving everyone a free hearth-cooldown get outta jail card, you'd have to give mages/shaman/druids something else so they still feel 'special', imo
06:47.56BleeterI still think everything dieing on my login is the best solution
06:48.01*** join/#wowi-lounge Calliee|Work (n=AKJDFGAK@68.178.38.21)
06:48.11ThraeBleeter: I don't think "Teleport: Moonglade" was ever intended as a "free anytime teleport"
06:48.13Corrodiasit can't possibly be the best solution because that wouldn't benefit me
06:48.19ThraeSo maybe I've been exploiting all these years!
06:48.45BleeterThrae: i dunno 'bout that. Druids look after themselves...? 9as a propsition, not as fact)
06:48.48Corrodiasteleport: moonglade is more situational than midget gorilla repellant.
06:49.04ThraeI use it when my HS is up
06:50.05ThraeBleeter: Anyway, your sarcasm doesn't fit into this particular conversation
06:50.55ThraeWorld of Warcraft is for all players, not just your personal preferences. Adding something to the game may mean taking something else out, or it may not.
06:50.56Corrodiasi hear priests want more pvp survivability
06:51.05Corrodiaswhy don't they just ask for permanent invincibility? GOD!
06:52.44Corrodiasthis exploits forum doesn't list anything about free hearths (although it has multiple threads about setting a hearth point outside cities)
06:53.15ThraeBleeter: Your sarcasm was a good bit more vicious, in my opinion
06:53.17*** join/#wowi-lounge exge (i=XexgeX@bb121-6-234-16.singnet.com.sg)
06:53.20exgehi
06:53.25exgecan some1 help me with my mod
06:53.32exgehttp://www.file-post.com/view_code.php?id=242
06:53.35Corrodiasi probably can't, but maybe someone else
06:53.58exgeok .. so who can =(
06:54.31*** part/#wowi-lounge Cera (n=Cera@67.169.136.42)
06:54.34ThraeThe right side of my brain is asleep, sorry
06:54.38exgelol
06:54.47exgeknow any forums i can go to?
06:55.10Thraewowinterface has forums, wowace.com has forums, worldofwarcraft.com has forums
06:55.24LegorolMage portals can stil take you to Outland at any level
06:56.04Cairennsomeone help the poor guy out, he's been trying to get help in a certain other channel all day and getting no where, to the point that I broke a self-imposed rule and told him about this one :p
06:56.33exgelol yea
06:56.35TierrieI fixed my problem
06:56.37Tierrieso happy
06:56.40Tierrieok which guy
06:56.45Corrodiasi don't know enough about wow/lua
06:56.45Calliee|Workexge: the actuall files in the SV folder only get written when the UI reloads or you exit the game
06:56.50Tierrieexge?
06:56.54exgeyes
06:56.59exgeit writes but its blank
06:57.10exgei dont quite understand the tutorial for this on wowiki
06:57.17Calliee|Workok, let me take another look real quick
06:57.19exgesee here http://www.file-post.com/view_code.php?id=242
06:57.41nuoHep"t" is not really a good name for a saved var %)
06:57.55Thraeexge: Did you declare the database under "SavedVariables: YourAddonDB" in your TOC file?
06:58.01exgeyes
06:58.06exgeall my files are here http://www.file-post.com/view_code.php?id=242
06:58.57Tierriewhat seems to be the problem?
06:59.13exgehe table that gets written to the external file is always t = {}
06:59.19exgeeven though i added users in game
06:59.37Tierriewhen write to the file?
06:59.44exgeyes
06:59.46*** join/#wowi-lounge seebs_ (n=seebs@mail.seebs.net)
06:59.51Tierriewell you localized it at line 4
06:59.55exgeyea
07:00.04Tierrieso it creates a local copy of t = {}
07:00.08exgei was folloiwng the tut
07:00.16exgeok, so i remove the local?
07:00.17Tierrieoh link the tutorial
07:00.27exgekk wait
07:00.41exgehttp://www.wowwiki.com/HOWTO:_Save_Variables_Between_Game_Sessions
07:00.42nuoHepit does not create anything. table_users is pointer to t
07:01.29Thraeexge: 1) Change t to "GuildKarmaDB" in your TOC file. The database is a global name, so other addons may use 't' as a global inadvertenly.
07:01.41exgeok i'll try
07:03.08Thraeexge: 2) On "ADDON_LOADED" with arg1="YourAddonName", do "if not GuildKarmaDB then GuildKarmaDB = {} end"
07:03.33Calliee|Workyeah, best to use the addon's name for your SV file, that way it's easily identifiable
07:04.52Thraeexge: After that if, do "table_users = GuildKarmaDB". (change the "local table_users = t" line to "local table_users")
07:05.11exgei dont have ADDON_LOADED
07:05.27Calliee|Workyou need to add that line
07:05.36Thraeexge: Right, I'm saying you need to add it in
07:07.18*** join/#wowi-lounge [quoin] (n=quoin@219-90-182-137.ip.adam.com.au)
07:14.35*** join/#wowi-lounge Jens (i=Jens@pdpc/supporter/active/Jens)
07:16.04exgeok .. http://www.file-post.com/view_code.php?id=243 .. is it like this
07:17.15exgenow i get
07:17.26*** join/#wowi-lounge ckknight (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com)
07:17.37exgebad argument #1 to 'insert' (table expected got nil)
07:20.45Temgenerally, in irc, @ is channel op, + is voiced...
07:20.48Temwhat is %?
07:21.01Calliee|Worka screwed up @
07:21.34TemI was kinda hoping for "half op"
07:21.36ThraeTem: half-op. All the powers of an op, but an op still trumps them.
07:21.48Temso they can't lift a ban by an op?
07:22.37ThraeTem: That's up to the irc server settings. Usually bans are modes put on the channel and not tied to who did the ban.
07:22.55Temoh good
07:23.02Temthere's a renegade op who doesn't like me
07:23.04exgeermm .. i still cant get it
07:23.09Tembut I'm buddy buddy with the half ops
07:23.47exgeall i need is to store,view,and write to a table like so {{1st col}{2nd col}}
07:24.08Tem(he doesn't like me because he's imature and bans people for stupid reasons.  I like to call him out when I notice it even though I have no power in the channel and it's really not my place at all)
07:24.28Temsome people have really obvious buttons
07:24.34Temit's so hard to resist pushing them...
07:25.02TemThrae, what's above op?
07:25.18ThraeTem: You Ace and Dongle devs, sheesh...
07:25.32Temhmm?
07:25.40ThraeTem: ircop
07:25.44CairennTem: network staff
07:25.45Tem~, for example
07:25.58Temwhat's that one stand for?
07:26.08Calliee|Workexge: you need to also change your insert
07:26.13ThraeUhh, he likes to surf?
07:26.39*** join/#wowi-lounge batrick (i=batrick@d00-64-106-86-242.dhcp.unm.edu)
07:26.43Calliee|Workyou're still pointing it at 't' instead of GuildKarmaDB
07:27.26*** join/#wowi-lounge Legorol (i=Legorol@zr205.trin.cam.ac.uk)
07:27.48exgeso i change from table_users to GuildKarmaDB ??
07:27.56ThraeTem: You may have noticed, but ckknight, cladhaire, Tekkub, Rowne, Turan, you...all like to get into "spirited" debates. As does people like AL, Legorol, Cide...
07:29.02*** join/#wowi-lounge Nargiddley (n=narg@203-97-236-74.cable.telstraclear.net)
07:29.15ckknightI take offense, Thrae
07:29.19Legorolthat's because spirited debates are fun!
07:29.24Legoroland i even get convinced sometime
07:29.36CorrodiasTem: i believe ~ as a channel rank is administrator/owner/whatever you want to call it
07:29.47Bleeternorgs: i dun wanna know how
07:29.47Temah okay
07:29.49Legorolnorgs: who said anything about sleep
07:29.52Temthen I'm only missing one
07:29.53Tem&
07:30.12*** join/#wowi-lounge tedrock (n=tedrock@d235-157-65.home1.cgocable.net)
07:30.13Corrodiasmeh, these tricks are all old and crusty
07:30.43norgsnevermind... i thought you were meant to be heading to slumberland
07:30.44Thraeckknight: I'm just saying, you all have "strong convictions" ;)
07:30.44Calliee|Workexge: post your current code (I'm really guessing here cuz I can't see the current code)
07:30.57ckknightyea, not gonna argue that
07:31.12Thraeexge: use pastey.net for posting code, it has Lua syntax highlighting
07:31.25ThraeAs well as WoW API highlighting
07:31.29Temand diffs!
07:31.32Tem<3 diffs
07:31.53CairennPaste Code Here: http://wowi.pastey.net
07:31.58Cairenn(from the channel topic)
07:32.03exgeok i repaste
07:32.34Nom-So sleepy
07:33.29Calliee|Workwork?
07:33.59Nom-Yeah, work :(
07:34.00Cairennppft, trivial details
07:34.19exgeok its here http://wowi.pastey.net/8680
07:34.31Nom-Calliee|Work: Where abouts are you?
07:36.25Calliee|Workok, part of the problem is that you've got your table_users defined as part of the conditional
07:36.41exgeermm .. ok which line is that
07:36.50Calliee|Workswap lines 20 and 21
07:37.01wereHamsteris there a point in having table.bsearch()? why not simply use table_users[player] ?
07:37.34exgewereHamster:0o .. i didnt know that existed .. thx
07:37.46Calliee|Workactually I live in Fargo, I just work nights
07:37.59Nom-oic
07:38.05exgeok i swapped line 20 and 21 testing now
07:38.29wereHamsterexge, http://lua-users.org/wiki/TablesTutorial -> Tables as dictionaries
07:38.38exgestill get error
07:38.49exgetable expected got nil
07:39.04Calliee|Workok, then there's more to the problem, let me take another look
07:39.10exgeok thx
07:40.28norgsmaybe i'm blind, but I can't see where Addon_Loaded() is getting called
07:40.41exgeerrm .. im not sure too
07:41.05*** join/#wowi-lounge Elkano (i=Elkano@client1014.vpn.uni-saarland.de)
07:41.10Nom-err
07:41.22Nom-move the table_users out of the conditional
07:41.33exgenow it is
07:41.52exgethat code ... is old now .. i just made the changed that Calliee told me
07:41.52Nom-then chances are that arg1 isn't "Guild Karma" ?
07:41.55Nom-Try outputting that
07:42.05exgeok i try
07:42.09Nom-print out arg1 as debug info
07:42.18Calliee|Workgood thought
07:42.56norgsI don't know what's in the .xml file, but are you sure Addon_Loaded is being called?
07:43.38exgeaddon loaded is not called
07:43.44exgethe xml just calls the onload function
07:44.09Nom-Well thar's ya problem
07:44.25Calliee|Workhehe
07:44.25exgeerm .. ok .. what do i put in the xml file
07:44.31exgei currently have onload,onevent
07:44.41norgswhat's in OnEvent?
07:44.47exgeits blank
07:45.41Nom-Ok, from what I can see
07:45.46Nom-ADDON_LOADED != OnLoad
07:45.57exge??
07:46.03Nom-ADDON_LOADED is generally what you'd use to trap another addon being loaded ?
07:46.15exgeo
07:46.21Nom-ie. Take some action after a dependency has started up
07:46.31*** join/#wowi-lounge Shadowed (n=outlaw@12.157.177.162)
07:46.32exgethrae told me to add that line
07:46.49Nom-I could be wrong, but that's what I would think...
07:47.00exgethis is actually my 1st addon ..
07:47.06ShadowedNom-: What line you talking about?
07:47.08exgeso i wouldnt be surprised if its totally wrong
07:47.12norgsok, well, first of all, defining global functions called OnLoad, OnEvent, Display, ShowHelp, AddonLoaded is likely to get you smote with addon intercompatibility issues later on
07:47.12ThraeNom-: I told him to initialize his database in ADDON_LOADED
07:47.33Cairennnight guys
07:47.39Nom-Thrae: Shouldn't that be done in OnLoad ?
07:47.41exgenight
07:47.48exgeerrmm ..ok im very confused
07:48.07exgecan you make a small mod for me that does nothing cept allow you to save,read from a db file
07:48.14exgeand the rest i'll go figure myself
07:48.58Calliee|WorkI think you're right, we should be using OnLoad
07:49.19ThraeI've always used ADDON_LOADED myself *shrugs*
07:49.45Nom-ADDON_LOADED is fired whenever any addon is loaded
07:50.00ThraeNom-: Which is why you check for arg1==YourAddonName
07:50.07Nom-That's something you'd generally use to trap the load event of another addon (ie. turn on extra features when you see "Auctioneer" load
07:50.09ThraeWhich is what I told exge to do
07:50.25Nom-That's a very evil way to do it :)
07:50.32exgei think its easier if some1 makes a mod doing just db IO, and i can figure out from there
07:50.40Nom-There's an OnLoad method on addons for a reason :)
07:51.02ThraeNom-: OnLoad is for the frame, not the addon. Frames are not "attached" to any particular addon.
07:51.43Nom-Yeah, i know, but the OnLoad handler is there for a reason
07:51.58exgeerrm .. ok when you decided whats the best way ... teach me
07:52.07Nom-ok well it hink i can see the issue tho
07:52.12Nom-function OnLoad()
07:52.16Nom-That MUST be called somewhere
07:52.20exgeit is
07:52.28exgeits called in the XML file <Onload>
07:52.33Nom-And you need to register Addon_Loaded as a handler fo the ADDON_LOADED event
07:52.47ThraeNom-: Wouldn't using OnLoad to initialize your addon be just as evil, as it is "intended" for initializing a frame?
07:52.55exgeok i think i get it ... lemme try
07:53.48Nom-So, I mean, that's all good and well that you've registered for events ADDON_LOADED
07:53.52ThraeReally, the whole "you need a frame to capture events" thing is kinda silly to me.
07:54.00norgsok, but isn't a frame's OnLoad called before VARIABLES_LOADED?
07:54.01Nom-but you need to trap that event somwhere and call the Addon_Loaded function
07:55.00exgeerm ... im very confused now
07:55.17exgejust show me how you do it ... i prefer to learn from sources
07:55.23ThraeRegisterEvent, UnregisterEvent, and SetScript should be given to UIObject
07:55.29Nom-this:RegisterEvent("ADDON_LOADED"); just says that your addon wants to know about those events
07:56.25Nom-http://www.wowwiki.com/Events_(API)
07:56.36Nom-<PROTECTED>
07:56.40Nom-Look @ that
07:57.30exgei looked at that
07:57.40ThraeOr maybe a new widget, "UIState", etc.
07:58.00Nom-So you've setup a <OnEvent></OnEvent> section in your XML ?
07:58.04exgeyes
07:58.23Nom-Which method does it call in that code ?
07:59.04exgeits just there cos its there ... its <OnEvent></OnEvent> ... its blank
07:59.12Nom-Right, you need to call a method from there
07:59.18norgs(maybe it'd be good to pastey your xml file as well
07:59.28Nom-Probably the OnEvent method you've setup
07:59.43exgeok .. i re paste everything ... then hopefully ... you can help me ...
08:01.06exgeok http://wowi.pastey.net/8681
08:02.23Nom-<OnEvent> MyEventHandler(self, event, ...)
08:02.24Nom-</OnEvent>
08:02.40Nom-http://www.wowwiki.com/UI_Best_Practices <-- just look at that...it's about 3/4 down the page
08:03.06Nom-"XML calling Lua function" is the heading
08:04.39exgeerrm .. ok .. why dont you try and see whats wrong with my code
08:04.55Nom-You need to call your event handler in the XML like in that example
08:05.16Nom-And then you need some LUA (again like that example) to forward to your Addon_Loaded method
08:05.44Corrodiasinteresting
08:06.21Corrodiasthese people on some forum are mocking WoW for being "watered-down", which, from what i can tell, just means that it's not incredibly frustrating if something goes wrong.
08:06.38Nom-lol which post Corrodias  ?
08:06.56Corrodiaseh, i shouldn't even start this. it's an argument that's been played out for years and continues raging
08:07.01Corrodiashttp://www.notaddicted.com/forums/showthread.php?t=975
08:07.51Corrodiasi suppose if he likes a game like that, i hope he finds one, but i'd never play it
08:08.00Corrodiasi like to enjoy my games :P
08:09.44exgestill dont work
08:10.05exgeits easier if i have a mod that just does DB IO ... and im ok
08:12.32Corrodias"The Blood Elves are Blizzards answer to their biggest competitor; Saved by the Bell re-runs."
08:13.39wereHamsterexge, define DB IO
08:14.19Nom-exge: What have you done so far?
08:14.45exgei posted it in pastey
08:14.59exgeDB IO = Database Input/Output
08:15.27wereHamsterexge, your OnEvent function is still empty
08:15.31Nom-Yeah, what have you changed since the last post?
08:15.43exgeok i'll re update
08:15.52Nom-Just reply to the pastey with the changes
08:17.13exgeok i replied http://wowi.pastey.net/8682
08:18.03wereHamsteryou sure arg1 is "Guild Karma" ?
08:18.07exgeyes
08:18.10Nom-ok in MyEventHandler you need to check the type of event
08:18.23Nom-if event == "ADDON_LOADED" then ...
08:18.43exgecan you reply there
08:19.14wereHamsterdo siomething like: DEFAULT_CHAT_FRAME:AddMessage("OnEvent called on frame "..tostring(frame)..", "event is "..event..", arg1="..(arg1 or "nil"))
08:20.29exgeerrm .. ok .. this is my 1st addon .. so im realllyy new at this stuff
08:20.59exgecan some1 just make a mod for DB IO ... and i can handle it
08:21.24Nom-Why don't you just grab one of the many addons out there and have a look'
08:21.30exgei did
08:21.38exgebut they have too much other distracting code
08:21.52Nom-Basically you're halfway there, I think, you're just not following the idea of catching events end sending those calls off
08:22.10exgeyea .... im not lol
08:22.50exgesurely when you 1st modding, you have some crap projects that have just what i need?
08:23.08exgewell ... i did when i was learning c
08:24.11wereHamsterhttp://wowi.pastey.net/8683
08:25.14exgethx ... i'll try to work with that
08:26.01Nom-That's what I was trying to direct you to without writing it for you lol
08:26.48exgeNom:ahh .. well i learn by looking at src ... thats always been the case for me
08:27.01wereHamsterit wasn't that hard.. just a few lines.. certainly less than you've written here in this IRC channel :P
08:27.39exgedo i still need this line
08:27.39exgetable_users = GuildKarmaDB
08:28.08wereHamsternot needed. you can use GuildKarmaDB directly
08:28.18exgeok thx ... im gonna try now
08:29.03*** join/#wowi-lounge [dRaCo] (i=drc@p5485BDDC.dip0.t-ipconnect.de)
08:30.02exgei dont think i can use this
08:30.04exgeGuildKarmaDB = {}
08:30.08exgecos i need a 2 col table
08:30.13Calliee|AFKBreak time, bbiab
08:30.24wereHamster'2 col' ?
08:30.39exge2 columns
08:30.48exgePlayerName | Points
08:31.24wereHamsterGuildKarmaDB[PlayerName] = Points
08:31.30wereHamster.. only one table needed
08:31.42exgeok
08:31.57wereHamster08:35 < wereHamster> exge, http://lua-users.org/wiki/TablesTutorial -> Tables as dictionaries
08:33.08*** join/#wowi-lounge Telrin (n=test@klaagmuur.quince.nl)
08:33.19exgeok .. assuming i prefer 2 columns tables ... how do i do it
08:34.02exgenvm i still get a error
08:34.10exgebad argment #1
08:34.20exgeto insert table expected got nil
08:34.37Corrodiasday in, day out, all we know: things are better with rock
08:35.35wereHamsterhaving one table as dictionary will be faster.. otherwise you'll have to implement something like table.bsearch() to locate the player names, and lua table code is written in C and certainly faster than any bsearch written in lua itself
08:36.47exgeahh ok
08:36.47exgei use that then
08:36.47exgeil go test
08:36.58exgeyes! it works thanks
08:37.05exgenow ... for problem number 2
08:37.11exgehow do i read data from it
08:38.37wereHamsterlocal Points = GuildKarmaDB[PlayerName]
08:39.34exgeahh ok thx
08:39.38exgetesting again
08:42.35exgeok works again!
08:45.48exgeermm ok .. why doesnt sum(GuildKarmaDB) work
08:45.48wereHamsterwhats sum() ?
08:45.48wereHamsterwhat does it do?
08:45.50exgeim trying to get total num of rows
08:46.05wereHamsterdid you write it?
08:46.09wereHamster.. the function?
08:46.13exgeno
08:46.18exgelol ...
08:46.23exgehow do i count total rows
08:46.24wereHamsterwhy did you assume it exists?
08:46.32exgeidk really
08:46.52exgeso how do i do it
08:51.17wereHamstertable.getn() or '#' works only on tables with integer indices.. so you'll have to write your own sum()
08:52.16exgeerr .. ok how do i go about it
08:52.40wereHamsterfunction sum(t) local i=0; for _ in pairs(t) do i=i+1; end return i; end
08:57.48exgeok thx ... how do i get the row numbr of player
08:59.11wereHamsterif you use teh table as a dictionary, then there's no 'row'
08:59.24Corrodiaswhat's the auchindoun instance with exarch maladaar?
08:59.45exgeo ok
08:59.50exgeso how do i do table.remove
09:00.16wereHamsterGuildKarmaDB[PlayerName] = nil
09:00.58exgethat will remove only the points .. i want to remove the player completely
09:01.13wereHamsterit wil lremove the player completely
09:01.24exgeok thx
09:03.26exgewhen i did it ... it removed the points only
09:03.29exgethe player remained
09:03.46wereHamsterwhat do you mean by 'the player remained'?
09:03.55krkaprobably in the game
09:04.03krkawe don't really have the authority to ban people from lua
09:05.05exgeits not ban
09:05.19exgejust that when a player leaves the guild .. i no longer want to keep him in the list
09:05.39wereHamsterGuildKarmaDB[PlayerName] = nil wil lremove him from the table.. completely
09:06.24exgeidk ... mine just removed the points .. ahh well ... thats minor thx
09:06.46wereHamsterwhat makes you think he's still in teh table?
09:07.03wereHamsterGuildKarmaDB[PlayerName] will return nil, and sum() won't count him anymore..
09:07.13exgecos i opened the file manually lol
09:07.53wereHamster.. so you didn't save the updated GuildKarmaDB
09:08.00exge??
09:08.30wereHamsterdid you log out/log in or at least reloaded the UI after you 'GuildKarmaDB[PlayerName] = nil' ?
09:08.55exgei logged out
09:09.11exgeif you cant fix it its ok
09:09.22exgethe main problem has been fixed and im very happy lol
09:12.47wereHamsterexge, can you post your lua code? I'd liek to take a look why the saved variables aren't saved properly
09:13.57exgenow its saved properly lol
09:14.03exgeok i'll post it
09:16.59exgehttp://wowi.pastey.net/8684
09:19.57wereHamsterhttp://wowi.pastey.net/8684?hi=87 - why?
09:20.48exgeerrmm then what do i do
09:21.24wereHamsteryou usually use the table as a dictionary or as a list, but not both at the same time
09:21.41wereHamsterbesides.. you insert, but never remove
09:21.42exgeok thx
09:21.46exgenow it works hehe
09:23.03exgethx all
09:23.10wereHamsteryou really should read some tutorials.. lua-users.org and wowwiki.com
09:23.27exgeahh ok
09:23.34exgecyas all
09:25.28norgswham, bam, ...
09:49.51ShadowedWhoo, second person ever to ask me to move an addon to ace
09:51.06ElkanoI don't know what you coded, but please convert it to Ace! ;)
09:51.16Shadowed~bonk Elkano
09:52.10ShadowedI think the bot died :(
09:53.30nevcairiel~slap
09:53.56Elkano~ping
09:53.57purlpong
09:54.13Elkano~poke Shadowed
10:07.29*** join/#wowi-lounge Royal (n=m@cp291458-b.landg1.lb.home.nl)
10:09.38*** join/#wowi-lounge dinesh_ (n=chatzill@68.36.168.161)
10:10.55*** join/#wowi-lounge quoin (n=quoin@219-90-148-46.ip.adam.com.au)
10:12.53*** join/#wowi-lounge Srosh (n=Srosh@c155246.adsl.hansenet.de)
10:18.17*** join/#wowi-lounge clad|sleep (n=jnwhiteh@WoWUIDev/WoWI/Featured/Dongle/cladhaire)
10:18.17*** mode/#wowi-lounge [+o clad|sleep] by ChanServ
10:19.45*** join/#wowi-lounge chuckg (i=chuckg@66-237-5-116.starstream.net)
10:28.52*** join/#wowi-lounge KarlThePagan (n=andross@66.225.8.145)
11:15.10*** join/#wowi-lounge MrPeanut (n=mrpeanut@CPE-75-81-125-155.kc.res.rr.com)
11:32.46*** part/#wowi-lounge MrPeanut (n=mrpeanut@CPE-75-81-125-155.kc.res.rr.com)
11:33.15*** join/#wowi-lounge chuckg (i=chuckg@66-237-5-116.starstream.net)
11:54.08*** join/#wowi-lounge MegaMan (n=brzem@86.108.122.130)
11:54.26MegaMan4,00heyall
11:55.34nevcairielyou should seriously get rid of the colors
11:55.55MegaManDone ;p
11:56.05nevcairielbetter
11:56.06nevcairiel:)
11:56.15MegaManso howz yall doin ?
11:57.14MegaManso its like a WOW chatroom ?
11:57.19*** join/#wowi-lounge Srosh (n=Srosh@c155246.adsl.hansenet.de)
11:57.33nevcairielits a chatroom for wow addon developers
11:58.05MegaManOUCH
11:58.36MegaManhumm so im lookin 4 some info bout the game , where should i go ?
11:58.48MegaMan(talk 2 players n stuff )
12:01.40*** part/#wowi-lounge MegaMan (n=brzem@86.108.122.130)
12:07.52*** join/#wowi-lounge [quoin] (n=quoin@219-90-164-187.ip.adam.com.au)
12:11.08*** join/#wowi-lounge Jens (i=Jens@pdpc/supporter/active/Jens)
12:23.53clad|workhrm
12:23.57clad|workthat was interesting
12:26.10zenzelezzI don't usually think of sleep as interesting
12:28.24wereHamsterdreams can be interesting..
12:28.40zenzelezzif you remember them
12:28.45zenzelezzI usually don't :-/
12:31.00clad|worki meant MegaMan =)
12:31.12*** join/#wowi-lounge Lej (n=WinNT@81-235-141-90-no63.tbcn.telia.com)
12:32.46Calliee|Workhehe
12:51.05LejIf I'm wanting to hook a function from another addon how would I go about doing that?
12:51.13*** join/#wowi-lounge qw` (n=qw@173.81-167-153.customer.lyse.net)
12:55.32wereHamsterLej, google for "site:wowwiki.com hook function"
12:55.46LejI'm reading there now :)
13:01.27LejIt's the module: in the function name that is cunfusing me. Trying to find what it means. function module:OrganizeFrame(needs)
13:02.16LejI guess it has something to do with calling the function for a specific frame or something
13:03.20*** join/#wowi-lounge kaso (n=kaso@resnet27.nat.lancs.ac.uk)
13:03.25wereHamsterlocal oldfunc = module.OrganizeFrame; module.OrganizeFrame = function(self, needs) ... oldfunc(self, needs) end
13:04.08Lejmodule.OrganizeFrame when it's called mudule:OrganizeFrame? :/
13:04.09wereHamstermodule:OrganizeFrame(arg1) is just syntactic suggar for module.OrganizeFrame(self, arg1)
13:04.22Lejok
13:04.25LejI see
13:06.20Lejso self:OragnizeFrame() would call OrganizeFrame with self as first arg?
13:06.21*** join/#wowi-lounge dinesh_ (n=chatzill@146.145.196.188)
13:07.13wereHamsteryes
13:10.48*** join/#wowi-lounge Offit (n=rcerny@cerny.dataline.cz)
13:17.05*** join/#wowi-lounge Gnarfoz (i=smallbra@unaffiliated/gnarfoz)
13:27.51*** join/#wowi-lounge JoshBorke (n=Josh@r35h14.res.gatech.edu)
13:37.21Lejhmm when hooking, how would I make sure that the other addon has loaded first?
13:37.44wereHamsteraddon dependecies
13:38.05Lejok I used than, so then something else is wrong.
13:38.23LejMaybe it has to do with it beeing an ace2 addon
13:38.31Lejor I just suck
13:40.01Lejgot an error on the line where I tried to save the old function "old_OrganizeFrame = module.OrganizeFrame;" saying atempt to index global ( a nil value)
13:40.28JoshBorkeit means module doesn't exist
13:41.31LejwereHaster was telling me that was the way to save a function defined with "function module:OrganizeFrame(needs) ... end"
13:41.54haste"wereHaster" :D
13:42.02Lejoops
13:42.05LejwereHamster
13:42.28Lejeither it not or I'm doing something wrong
13:42.35kasoLej
13:42.47wereHamsterLej, true, but the error message you're getting tries to tell you that 'module' is nil, eg. does not exist
13:42.50kasoif its a Ace Addon it is entirely possible that module is local to that addon
13:42.54JoshBorkeyou're probably trying to hook a function that uses embedded design
13:43.22Lejkaso: ok, and that means no way to hook?
13:44.00JoshBorkewhat are you trying to hook?
13:44.03JoshBorkeOneBag?
13:44.05Lejyes
13:44.09kasodepends how the addon is layed out really
13:44.27JoshBorkeyou need to do: old_OrganizeFrame = OneBag.OrganizeFrame
13:45.38*** join/#wowi-lounge sioraiocht (n=rtharper@cpe-74-71-116-245.twcny.res.rr.com)
13:45.52Lejok, that didn't give an error at least
13:49.23*** join/#wowi-lounge beerke (n=beerke@5353E179.cable.casema.nl)
13:49.42LejOneBag.OrganizeFrame = OneBagPockets_OrganizeFrame(needs); doesn't seem to work tho?
13:50.05JoshBorkeyou need: OneBag.OrganizeFrame = OneBagPockets_OrganizeFrame(self,needs);
13:53.13Lejok now it runs once at load. I made OneBagPockets_OrganizeFrame() just print "hooked"
13:54.11Lejwhich is weird as after looking through the code I thought it ran everytime it needed to place the itemslots
13:54.48Lejtime to look closer
13:57.54kasoHow do you put an item in a particular slot, rather than just a bag?
13:58.31JoshBorkePickUpContainerItem(<bag>,<slot>)?
13:58.46kasodoes that put it down if the slot is empty?
13:59.10JoshBorkeit puts something down if something is on the mouse
13:59.18kasoah didnt know that
13:59.20kasoawesome thanks
13:59.29JoshBorkepretty sure that's how it is done anyway
13:59.36*** join/#wowi-lounge bindi (n=indigo@d54C68DEA.access.telenet.be)
14:03.37LejHm still having trouble
14:04.10LejIf I add a print text to the function in OneCore.lua it's printed everytime the slot layout is changed
14:04.16Lejbut if I hook like
14:04.36LejJoshBorke recommended it only prints the text once at laod
14:05.07JoshBorkehook OneCore.OrganizeFrame then
14:05.13Lejsame problem
14:05.15Lejtried
14:06.32wereHamster< JoshBorke> you need: OneBag.OrganizeFrame = OneBagPockets_OrganizeFrame(self,needs);
14:06.58wereHamsterthat can't be right.. you're _calling_ OneBagPockets_OrganizeFrame and assigning the result of it to OneBag.OrganizeFrame
14:07.29JoshBorkeoh yea, he's right
14:07.31wereHamsterOneBag.OrganizeFrame = OneBagPockets_OrganizeFrame;
14:07.36JoshBorkewhat werehamster said
14:07.42Lejoh, of course
14:08.05JoshBorkeOneBagPockets_OrganizeFrame needs to be defined that way though
14:09.37*** join/#wowi-lounge sioraiocht (n=rtharper@cpe-74-71-116-245.twcny.res.rr.com)
14:11.23Lejheh nice how organizeframe is run 18 times when you open you bag.
14:12.09kasoBag events are notoriously bad
14:12.28kasoblizzzard just says "oh yah something happened in there"
14:14.01kasoI've just mailed 150 individual spiced bread to my guildie :>
14:14.30wereHamster.. manually or using a script?
14:14.33kasoscript
14:15.06wereHamster.. and he'll write a script to collect them all :P
14:15.34kasoluckly he cant write scripts!
14:15.38Lejsneak in a 100g COD in there and let's hopw for a stupid script ;)
14:15.53kasothats a touch too evil!
14:15.59kasoi dont wanna be kicked out
14:16.02kasojust annoy him
14:16.29LejIs there any way to access local vars from the addon Im hooking into?
14:17.06wereHamsterlocal to the file? no
14:17.23LejIt got it's options saved in a local var :/
14:17.58wereHamsterOneBagDB.bla.bli = blu
14:17.59Lejand I don't just want to add something that happens before or after the function is called, but inside :/
14:18.10wereHamsterSV have to be global
14:22.06*** join/#wowi-lounge sioraiocht (n=rtharper@cpe-74-71-116-245.twcny.res.rr.com)
14:22.23kasoyou may have to write your own branch of the addon in that case.
14:23.54Lejtrying to avoid that
14:24.07Lejbut I think I solved it
14:24.42Lejthey compared with L["Bottom"] which I think was just the string "Bottom"
14:25.16*** join/#wowi-lounge Jens (i=Jens@pdpc/supporter/active/Jens)
14:25.27kasothats a localised string
14:26.06Lejah ok, so it's Bottom on the english locale at least
14:26.09Lejworks for now
14:29.15kasoAce's system of localsiation is pretty i mustadmid
14:29.19kasomust admit
14:39.35Lejif I do local sizes = { 7, 6, 3 } will sizes[1] return 7 or 6?
14:39.55Lej>>> local sizes = { 7, 6, 3 }; return sizes[1];
14:40.14wereHamstershould return '6'
14:40.36*** join/#wowi-lounge TS|Skrom_ (n=TS|Skrom@66.148.226.210.nw.nuvox.net)
14:40.57*** part/#wowi-lounge TS|Skrom_ (n=TS|Skrom@66.148.226.210.nw.nuvox.net)
14:41.52kasowhat?
14:41.52kasothat return 7
14:41.52kasounless you table.sort() it
14:41.55kasothen itd return 3
14:42.32kasoLej the question you ask is, things in lua work of 1 based indices not 0 based
14:42.39Lejexaclty
14:48.12*** join/#wowi-lounge leethal (n=leethal@kri1-1x-dhcp239.studby.uio.no)
14:52.25wereHamstererr.. me stupid -.-
14:53.26kasobeen programming too much in "normal" languages :<>
14:54.39kasowhat are they callled, Curly bracket programming languages
14:56.51krkato be more specific, lua table creation and a couple of the standard functions starts counting with 1
14:56.57krkaipairs is one of them
14:57.18krkathis works fine though: local sizes = {[0] = 7, 6, 3}
14:57.58zenzelezzwill 6 and 3 be [1] and [2] then?
14:58.01krkayes
14:58.13*** join/#wowi-lounge Andalia (i=xx@p54ac8849.dip0.t-ipconnect.de)
14:59.11krkasizes = {[-1] = 7, 6, 3} gives keys -1, 1 and 2
14:59.59Lejwhat's the correct way to do optional arguments in a udf?
15:00.20krkaunified document format?
15:00.31Lejuser defined function :<
15:01.03nevcairiellol
15:01.03krkawhat do you mean by correct
15:01.07Lejis there a standard way?
15:01.15krkapersonally i like to compare the arguments to nil
15:01.20wereHamster'...'
15:01.21krkaif they're nil, they're not specified
15:01.27nevcairieli think something like function(a = 1) doesnt work in lua, if you mean that.
15:01.42nevcairielyou have to check it in your func
15:02.29Lejso if I do: function foo(a, b, c)    and then called it by foo(1) b and c will be nil?
15:02.36nevcairielyup
15:04.37krkayes, lua both truncates and fills the argument list to patch the function parameters
15:06.36Lejhttp://wowi.pastey.net/8712 <-- getting an error when I call that with ...Sum({ 7, 6, 3 }); 'for' initial value must be a number
15:07.00Lejoh
15:07.01Lejlol
15:07.04Lejdon't look
15:07.08wereHamsterSum({ 7, 6, 3 }) -> first is nil
15:08.08nevcairielfirst != start, but i guess thats what you figured now :D
15:08.23*** join/#wowi-lounge Canute (n=Canute@193.81-167-3.customer.lyse.net)
15:08.31Lejyes ;)
15:09.24*** join/#wowi-lounge sergio_ (n=sp@unaffiliated/sergio)
15:16.16*** join/#wowi-lounge Lysistrata (n=yousuck@xdsl-81-173-251-138.netcologne.de)
15:20.42*** join/#wowi-lounge MoonWolf (i=MoonWolf@g173217.upc-g.chello.nl)
15:20.42*** mode/#wowi-lounge [+v MoonWolf] by ChanServ
15:25.05*** join/#wowi-lounge Gryphen (n=gryphon@mail.alexdevco.com)
15:25.12*** part/#wowi-lounge snarkyFish (n=noone@c-67-176-1-65.hsd1.co.comcast.net)
15:36.24*** join/#wowi-lounge drc|away (i=drc@p5485abfe.dip0.t-ipconnect.de)
15:37.50*** join/#wowi-lounge cogwheel|work (n=chatzill@intra.kistlerwine.com)
15:42.13*** join/#wowi-lounge Nickenyfiken (n=najklord@83.145.59.23)
15:49.51TC_Working~moo
15:49.52purlmooooooooo! I am cow, hear me moo, I weigh twice as much as you. I am cow, eating grass, methane gas comes out my ass, or http://www.linuks.mine.nu/moo/ and http://www.riddleme.com/html/cow2.html
15:55.24*** join/#wowi-lounge stavmar (n=chatzill@204.57.75.200)
15:58.42*** join/#wowi-lounge Jens (i=Jens@pdpc/supporter/active/Jens) [NETSPLIT VICTIM]
15:58.43*** join/#wowi-lounge Kaelten (n=kaelten@c-68-63-37-246.hsd1.al.comcast.net) [NETSPLIT VICTIM]
15:58.43*** mode/#wowi-lounge [+v Kaelten] by irc.freenode.net
16:02.13*** join/#wowi-lounge Neuro_Medivh (i=Neuro_Me@pool-71-96-129-84.dfw.dsl-w.verizon.net)
16:02.26Lejhow do you set the font when you create a fontstring with :CreateFontString()?
16:03.04cogwheel|workeither inherit something, or set it after you create it
16:03.51Lejbut how do you set it, can't find a  command for it on wowwiki
16:03.58cogwheel|work:SetFont
16:03.59wereHamsterhttp://www.wowwiki.com/API_FontInstance_SetFont
16:04.09cogwheel|workit's a widget api, not a global api
16:04.47Lejoops I was looking at the Frame: section
16:07.39*** join/#wowi-lounge nuoHep (n=nuoHep@85.192.55.7)
16:12.02*** join/#wowi-lounge Cide (i=Cide@81-226-233-5-no60.tbcn.telia.com)
16:12.02*** mode/#wowi-lounge [+v Cide] by ChanServ
16:14.10Lejif I create a frame from a virtual frame with a fontstring in it with name $parent_FontString:
16:14.12Lejpocket.Frames[curPocket] = CreateFrame("Frame", frameName, UIParent, "OneBagPocketsFrame");
16:14.53Lejthe fontstring will then be called frameName_FontString ?
16:18.54Tierrieit depends on what you named the virtual frame
16:19.09Tierriemost people have name="$parentFontString" or "$parent_FontString"
16:19.38Tierrieso it would be frameNameFontString in the first case, and frameName_FontString in the second
16:20.02Lejvirtual frames name it "OneBagPocketsFrame" the fontstring in it is called "$parent_FontString"
16:20.13Tierriethen it would be frameName_FontString
16:20.41Lejproblem is I get an error when I do:
16:20.48Lejlocal fontStringName = frameName.."_FontString";
16:20.58LejfontStringName:SetText("TEST");
16:21.23kasobecause fontStringName is a string not a frame :>
16:21.34kasoyou need _G[fontStringName]:SetText("TEST")
16:22.06wereHamster_G doesn't exist by default, does it?
16:22.26kasoyah it has since 2.0 iirc
16:22.50wereHamsternice
16:22.59Lej_G is?
16:23.14wereHamsterglobal environment
16:23.22kasoa table of all global variables indexed by their names
16:23.39kasoso _G["TEST"]=TEST
16:23.43kasoas it were
16:23.47wereHamsterhttp://lua-users.org/wiki/CoreFunctionsTutorial
16:24.43kasojust doubled checked and yes _G is part of wow enviroment nowadays by default
16:54.58Mr_Rabies2so my server -literally- just came up and it's already full
16:54.58Mr_Rabies2@_@
16:55.17cogwheel|workoh yeah... i actually forgot it was tuesday today ><
16:55.26Mr_Rabies2like, i was sitting at the server screen and as soon as it popped up in the list i hit login
16:58.19*** join/#wowi-lounge Elkano (n=elkano@ip-213-135-2-160.handshake.de)
17:07.21CanuteHow can I check what users are in a channel? Is there some kind of event when I join?
17:07.55*** join/#wowi-lounge Kirov (n=Kirov@204.155.78.140)
17:08.41cogwheel|workCanute: you have to use http://www.wowwiki.com/API_ListChannelByName and respond to the event it generates
17:08.42Canutenever mind
17:08.42kasoCanute
17:08.46Canuteheh, found it :)
17:08.53kasodamn beaten twice!
17:09.16cogwheel|workThat will send a request to the server and you'll have to wait for the corresponding chat event
17:09.16*** join/#wowi-lounge AnduinLothar (n=AnduinLo@ip68-99-187-213.oc.oc.cox.net)
17:09.16*** mode/#wowi-lounge [+v AnduinLothar] by ChanServ
17:09.33kasoI remeber doing ListChannelByName on LookingForGroup channel
17:10.08*** join/#wowi-lounge AnduinLothar (n=AnduinLo@ip68-99-187-213.oc.oc.cox.net)
17:10.08*** mode/#wowi-lounge [+v AnduinLothar] by ChanServ
17:11.02*** join/#wowi-lounge Harperjg (n=Harperjg@nr2-66-117-251-129.fuse.net)
17:11.25wereHamsterdoes anyone know Cimber of Maelstrom ?
17:11.46wereHamsterhttp://www.google.ch/search?q=armory+character-sheet
17:14.12HarperjgHello everyone!
17:14.29Mr_Rabies2castlevania hits xbox live arcade tomorrow /dance
17:15.06Harperjg!status Tanaris
17:21.38Lejcan you add a value to the end of a integerindex table automaticly?
17:21.47*** join/#wowi-lounge snurre (n=snurre@AVelizy-153-1-63-192.w86-217.abo.wanadoo.fr)
17:21.59Lejlike how you would do array[] = 1 in php for example
17:22.16Lejwould add another index with the value 1
17:22.51wereHamstertable.insert(array, 1)
17:23.03wereHamsterwould append '1' at the end of array
17:24.41Lejok, thanks
17:26.43*** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@74.92.248.14)
17:38.09*** join/#wowi-lounge cncfanatics (n=cncfanat@53.79-241-81.adsl-dyn.isp.belgacom.be)
17:39.40*** join/#wowi-lounge Jens (i=Jens@pdpc/supporter/active/Jens)
17:43.52*** join/#wowi-lounge mahiro (n=Miranda@173-181.1-85.cust.bluewin.ch)
17:45.45mahirohi, this may be a dumb question but does it save processes if i use something like " if c==1 then if a~=b then a=b " rather then "if c==1 then a=b" ?
17:46.13kasonope
17:46.40kasooh wait
17:46.42mahiroso the check for a~=b uses the same amount as if i dont check that?
17:46.47kasolet me read your question in more detail
17:47.50kasoit might save something but to be honest it will be so minute even if you were running 1000 times a second it wouldnt be noticeable
17:48.00Canuteso basicly you're wondering if "if a~=b" uses less processing power then "a=b"?
17:49.14mahiromaybe i have to explain it a bit more, i have a frame which displays a unit name and i thought i can check if the name exists and just update it when it does not exist... so the name is not updated every frame
17:50.23mahironow the question is whether the check saves something or is the same as if the frame updates everytime
17:50.38cogwheel|workmahiro: you don't need to do multiple ifs... just use the "and" operator
17:51.15cogwheel|workif c==1 and a ~= b then a = b end
17:51.40mahirodoes it make a difference?
17:52.03cogwheel|workit's easier to read, for one thing
17:52.27mahirowell in this example it is^^
17:52.29cogwheel|worklua might be smart enough to compile to the same code as    "if c==1 then if a ~= b then a = be end end"
17:52.48cogwheel|works/be end/b end/
17:53.13cogwheel|workbut you might want to ask in #lua to be on the safe side...
17:53.18Lejif I have a function that's been passed "self" as an arg can I get the frame name somehow?
17:53.32mahiroso it does not make a difference if i use such a check for the update of the frame or let it update everytime?
17:53.39cogwheel|workchances are a simple variable copy is cheaper than a comparison unless you're doing a lot more processing
17:54.22wereHamstermahiro, an assignment doesn't cost anything in lua
17:54.52*** join/#wowi-lounge sioraiocht (n=rtharper@syru196-082.syr.edu)
17:55.02cogwheel|workmahiro: you should just use RegisterUnitWatch
17:55.55mahirocogwheel|work: what does that do?
17:56.38wereHamsteran assignment in lua doesn't copy any data, it's just a pointer assignment, which doesn't cost 'anything'
17:56.59cogwheel|workwereHamster: the problem isn't the variable copying... it's the call to unitwatch
17:57.06cogwheel|works/unitwatch/unitexists/
17:58.18*** join/#wowi-lounge Jens (i=Jens@pdpc/supporter/active/Jens)
17:58.29cogwheel|workmahiro: RegisterUnitWatch lets you have a frame change states when a unit comes into/goes out of existence
17:58.41cogwheel|workyou can use the state change to trigger code in your addon
17:59.40mahiroi cant find any docu on this on wowwiki, do you know where i can find some infos about it?
18:00.02cogwheel|workFrameXML\UnitWatch.lua
18:00.35mahiroahh right, forgot about that. thx
18:05.34*** join/#wowi-lounge purl (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
18:05.34*** topic/#wowi-lounge is Paste Code Here: http://wowi.pastey.net/ Wisdom for the day: Guys, no shirt, no service. Girls, no shirt, no charge.
18:06.09cogwheel|workmaybe i'm still not quite following what you're trying to do...
18:09.57mahiroset names for party members or a target for example
18:10.04*** join/#wowi-lounge Funkeh` (n=funkydud@host81-157-152-169.range81-157.btcentralplus.com)
18:14.06*** join/#wowi-lounge Drool (n=drool@87-194-188-170.bethere.co.uk)
18:18.29cogwheel|workBy "set names" do you mean for a unit frame?
18:18.37cogwheel|workfor a variable in your mod?
18:18.43mahiroyes
18:18.58cogwheel|workwhich? ><
18:19.03cogwheel|workboth?
18:19.10mahirofor a unit frame
18:19.38cogwheel|workthen just update all of your frames whenever RAID_ROSTER_UPDATE or PARTY_MEMBERS_CHANGED fires...
18:20.33mahirook that makes sense:D
18:20.35cogwheel|workand checking whether the name needs to be changed or not will hardly make even a negligible difference
18:21.28mahirook thx for the help
18:22.26mahirohmm one more question about that... when i change the format of the name i guess that wont work with this event. so what would be a good solution for that?
18:23.29mahiroby format i mean to change the name from mahiro to mahi or ma
18:26.33*** join/#wowi-lounge nymbia (n=nymbia@71-218-138-197.hlrn.qwest.net)
18:27.19cogwheel|workwell, when are you changing it?
18:31.01mahiroi have a slider in the menu for that
18:32.18mahirobut i guess that wont change the format till the event is fired...
18:47.28CanuteI keep getting a error that I'm not using a table but a string in a for pairs(table). Here's the code http://wowi.pastey.net/8741 if anyone has tme to look at it
18:48.10*** join/#wowi-lounge kaso (n=kaso@resnet32.nat.lancs.ac.uk)
18:50.01cogwheel|workCanute: 1) you *aren't* using a table. 2) that's not how the split function works.
18:50.33Canutethat's what the answer i hoped to get :)
18:50.53cogwheel|workstrsplit takes the "split" string as its first argument which means you can't use the method syntax like that
18:51.26cogwheel|work(well, if you did want to use the method syntax it would be (", "):split(people))
18:51.54Canutehehe
18:52.08cogwheel|workSecond, it returns multiple values, not a table.
18:52.38cogwheel|workoh... actually, you're using someone else's split function...
18:52.58cogwheel|workthere's no need... wow has its own built in split function which is what I was thinking about...
18:53.00Canutedidn't know there was one implemented in wows api, probably better to use that one
18:53.19*** join/#wowi-lounge Osagasu (n=Kronus@208.104.156.29)
18:53.39cogwheel|workin fact, the way you have that, you'd be breaking split for anyone using string.split in wow...
18:54.49Canuteoh my
18:54.49cogwheel|workThere's actually a simpler way to iterate through a list like that without the need for splitting in the first place... string.gmatch
18:57.32cogwheel|work>>> for person in people:gmatch("(.-),?%s*?") do print(person) end
18:57.32cogwheel|work~poke cide
18:57.50purlACTION cuts down a small tree, sneaks up behind cide, pokes cide repeatedly, hilarity ensues.
18:57.52Cidetry now
18:57.52cogwheel|work>>> for person in people:gmatch("(.-),?%s*?") do print(person) end
18:57.52Cidecogwheel|work: [string "for person in people:gmatch("(.-),?%s*?") d..."]:1: attempt to index global 'people' (a nil value)
18:58.07cogwheel|work>>> for person in ("me, you, him, her"):gmatch("(.-),?%s*?") do print(person) end
18:58.07Cidecogwheel|work:
18:58.17cogwheel|workmust have the pattern wrong
18:58.39CanuteI've worked with regular expressions before, but that doesn't look like anything like it
18:58.50cogwheel|work>>> for person in ("me, you, him, her"):gmatch("(.-),?") do print(person) end
18:58.50Cidecogwheel|work: "",  "",  "",  "",  "",  "",  "",  "",  "",  "",  "",  "",  "",  "",  "",  "",  "",  ""
18:58.56cogwheel|workCanute: lua.org/pil
18:59.56cogwheel|work>>> for person in ("me, you, him, her"):gmatch("(.-),?") do print(person) end
18:59.56Cidecogwheel|work: "",  "",  "",  "",  "",  "",  "",  "",  "",  "",  "",  "",  "",  "",  "",  "",  "",  ""
19:00.01cogwheel|workerr... mt
20:52.39*** join/#wowi-lounge purl (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
20:52.39*** topic/#wowi-lounge is Paste Code Here: http://wowi.pastey.net/ Wisdom for the day: Guys, no shirt, no service. Girls, no shirt, no charge.
20:53.25cogwheel|workI can't think of any reason you *would* be able to do it any other way...
20:53.51cogwheel|workat least not without changing the code for the standalone interpreter
20:55.01kasofair enough >.< i had hoped to be able to do something whilst the script was running instead of it eating 100% cpu but i guess i can cope
20:55.06cogwheel|workeven in an OnUpdate handler that checks its elapsed time, you're still doing pretty much the same thing its just that wow does other things on its own when your handler returns. The lua interpreter is just blocked waiting for input
20:55.24pastamancerhmm, it would be nice if there were an os.sleep function
20:55.46kasoit would
20:58.08cogwheel|workthat would require non-standard functions... Lua is all ANSI C
20:58.31kasoill cope with my while true
21:01.29*** join/#wowi-lounge dinesh-work (n=chatzill@c-68-36-168-161.hsd1.nj.comcast.net)
21:05.20*** join/#wowi-lounge Guillotine (n=Guilloti@ns.motek-services.com)
21:07.10*** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@74.92.248.14)
21:12.24*** join/#wowi-lounge purl (i=ibot@pdpc/supporter/active/TimRiker/bot/apt)
21:12.24*** topic/#wowi-lounge is Paste Code Here: http://wowi.pastey.net/ Wisdom for the day: Guys, no shirt, no service. Girls, no shirt, no charge.
21:12.31foxlitQuestion: is there any reason SecureButton:SetAttribute("spell","Abolish Poison"); would make it not cast Abolish Poison?
21:12.47foxlit(whereas, in the same setup, "Remove Curse" works?)
21:13.45cogwheel|workHow certain are you that the conditions are the same except for the spell?
21:14.33cogwheel|work(i.e. if "unit" is "target", do you have a target? Is your target friendly? Do the spells have different mechanics (like one only casts if the malady exists on the target in the first place)?)
21:24.24Kirkburn|afkTogether now ... awwwwwwww!!! http://www.wowinsider.com/2007/03/20/food-on-the-flying-mount-wing/
21:25.16cogwheel|workyou should see my cat trying to get something on our wall when we're using our projector ><
21:25.54foxlitcogwheel|work: buttons are created per unit with a valid ID
21:26.14foxlitAbolish Poison should work irregardless of whether the target is affected by poison
21:26.31*** join/#wowi-lounge Adys (n=Miranda@APoitiers-256-1-152-222.w90-30.abo.wanadoo.fr)
21:28.37cogwheel|workKirkburn|afk: quoth the wife "OMG that is soooo cute!"
21:28.46Kirkburn|afk:)
21:31.32Kirkburn|afkSpot the WoW reference! http://www.myextralife.com/wp-content/uploads/2007/03/robin-thing-1.jpeg
21:33.17Kirkburn|afkYou have to read closely ...
21:34.15KasoThats ui.worldofwar.net isnt it?
21:34.25CidemethACEtopan?
21:34.37Cide:P
21:35.18Mr_Rabies2i don't see a reference and i read carefully like 3 times :X
21:35.18Kirkburn|afkYou can just make out this page - http://ui.worldofwar.net/ui.php?id=3900
21:35.26CideWorld of Warcraft .. something something
21:35.31Cidein the paper
21:35.35Kirkburn|afkFourth panel
21:35.37Mr_Rabies2hahaha
21:35.43Cidesomething about powerful add-on
21:35.46Kirkburn|afkCheck the words next to Page 1  or 2 :P
21:35.51Kirkburn|afk*of
21:37.34*** join/#wowi-lounge wobin (n=wobin@218-214-59-86.people.net.au)
21:42.31*** join/#wowi-lounge gnor (n=jaydee@cpe-76-81-38-253.socal.res.rr.com)
21:43.05cogwheel|workhaha
21:50.45*** join/#wowi-lounge Gngsk (n=gngsk@c-69-138-213-251.hsd1.md.comcast.net)
21:51.58*** join/#wowi-lounge TC_Working (n=Thunder_@NOC-004.sylmark.com)
21:57.40*** join/#wowi-lounge Bleeter (n=Bleeter@guifications/developer/bleeter)
22:00.45Temthat's odd
22:00.52TemI wonder why that's in there
22:07.56IndustrialI dont understand fishing in wow..
22:08.29IndustrialMy ping is 50. I get a spash and I immediately (read, 0.1, 0.2 msec) click the bobber. "Your fish got away."
22:08.37foxlitA button's NormalText is aligned to the center because... (a) It has justifyH="CENTER" or (b) It has <Anchor point="CENTER"/> ?
22:08.42Industrialare you supposed to only get fish half of the time?
22:09.00foxlitFish getting away and response time isn't correlated
22:09.23foxlitIn my experience, you have approximately the same chance of pulling it out after 10s as you did immediately
22:09.38Industrialhm
22:09.44TC_Workingi dunno about that
22:09.53foxlit(That's how I leveled fishing 150->300 - clifk fish, alt-tab out, click bobbler in 25s)
22:10.00IndustrialI thought skill would be involved (speed, etc)
22:10.15foxlitSkill determines the probability of pulling the fish out, sure.
22:10.28foxlitBut I doubt responsetime affects it significantly, if at all :)
22:12.00TC_Working""Your fish got away!"
22:12.01TC_WorkingThis means you are fishing in an area that is difficult for your skill level. If you receive this message a lot or all of the time, you need to go to a lower level fishing area. If you only receive this message part of the time, you're in the right area to gain skill-ups. You can reduce this from happening by getting a better fishing pole, applying powerful bait, getting a fishing enchant or item, or by raising your skill (which these items
22:12.05cogwheel|workfoxlit: both?
22:12.13cogwheel|work(re: NormalText)
22:12.16TC_Working""No fish are hooked"
22:12.16TC_WorkingThis means you clicked on the fishing bobber at the wrong time. Try again."
22:12.49IndustrialI get "your fish got away" all the time
22:13.02*** join/#wowi-lounge Andalia (i=xx@p54ac8849.dip0.t-ipconnect.de)
22:13.24KasoWait
22:13.29KasoThat text is wrong
22:13.36Kasoyou can get fishing skillups in any area
22:14.12foxlitcogwheel|work: It could be both. I doubt it is, though.
22:14.20foxlitJust as effectively, too.
22:14.23kergothyou can level fishing to any level just sitting in orgrimmar
22:14.24kergothheh
22:14.59cogwheel|workfoxlit: if it's not anchored in the center, then it would have to be anchored left and right
22:15.14TC_Workingthat came from blizz's website
22:15.27TC_Workinghttp://www.worldofwarcraft.com/info/professions/fishing.html
22:16.51*** join/#wowi-lounge Nom- (n=nom@standen.id.au)
22:17.05*** join/#wowi-lounge Adys (n=Miranda@APoitiers-256-1-152-222.w90-30.abo.wanadoo.fr)
22:18.06IndustrialCatching a fish will be a test of your reaction time, as you have to right-click the bobber immediately after you see it dip into the water indicating you've caught something.
22:18.10Industriali should fraps this
22:19.15TC_Workingyea, cuse thats not going to give you lag
22:19.35Industrial:P
22:20.16kergothIndustrial: get fishping, the wav you drop into Data to hear a loudish ping noise when theres a bite
22:20.26kergoththats how i manage it, can usually even alt tab back into wow and get hte fish
22:20.35kergothbrowse the web or bs on irc while fishing ftw
22:20.44Industrialk
22:20.58kergothi know its on curse, its just a few wave files with instructions
22:24.58*** join/#wowi-lounge ag` (n=ag`@0x503e793a.bynxx18.adsl-dhcp.tele.dk)
22:28.57*** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@64.193.93.197)
22:29.49foxlitThis seems bad: ow:GetTextFontObject():SetJustifyH("LEFT");
22:29.52foxlitWhere ow is a button
22:29.58*** join/#wowi-lounge ckknight (n=ckknight@198.199.136.146)
22:30.52foxlitGetTextFontObject() seems to get the inherited font itself, and thus sets EVERYTHING done in the same style to align to the left
22:31.09*** join/#wowi-lounge sioraiocht (n=rtharper@cpe-74-71-116-245.twcny.res.rr.com)
22:31.39*** join/#wowi-lounge ChanServ (ChanServ@services.)
22:31.39*** mode/#wowi-lounge [+o ChanServ] by irc.freenode.net
22:33.02Industrialkergoth: this is great im already 31, just started
22:35.03kergothdamn :)
22:35.07kergothwhat char you playing now?
22:36.51Industriala level 9 warrior :> gnome
22:37.07IndustrialIm just playing what I feel like tbh, got my hunter to 38 yesterday
22:37.45Industrialwhen does warrior get dual wielding? 20?
22:38.28nevcairielyea
22:39.05Industrialfishing 50 :>
22:39.20Industrialguess i have enough food for now
22:52.24*** join/#wowi-lounge nuoHep (n=nuoHep@85.192.55.7)
22:53.00*** join/#wowi-lounge Karrion (n=kieron@corp-gw01.imrworldwide.com)
23:02.21cogwheel|workas much as I love the idea of the profiling features, I think it's going to be absolute hell for authors ...
23:02.33*** join/#wowi-lounge Esamynn (n=chatzill@207.6.94.35)
23:03.02*** mode/#wowi-lounge [+v Esamynn] by ChanServ
23:03.41nevcairielbecause people bitch and complain, since they dont understand the values and implications?
23:06.14foxlitMeh, as long as the default UI doesn't come with a profiler.
23:08.51cogwheel|workfoxlit: it will, to some extent...
23:09.01cogwheel|workthere will be a way to see the top 3 memory-using addons...
23:09.29cogwheel|work(at least I remember reading that somewhere...)
23:10.29nymbiayeah
23:10.42ShadowedShouldn't it be more accurate then addons like Warmup though?
23:10.48nymbiayup
23:11.10cogwheel|workwhich means people will be more "correct" when they get on your case about your addon :P
23:11.10ShadowedSo at least if people are complaining about memory, it's somewhat more of an accurate view then what Warmup gave
23:11.28nymbiawarmup's load-time only
23:11.57ShadowedWont LUA errors no longer being shown by default cause more issues for addon authors in general
23:12.20cogwheel|workprobably...
23:12.24nymbiayup
23:12.50nymbiabut that's not the point, the point is to get people off blizzard's back when they've got red text popping up
23:13.05nevcairielhow i understood it
23:13.15nevcairielif you have an addon like bugsack
23:13.17nymbiawe'll just have to tell people to get an error handler addon when shit's not working
23:13.20nevcairielit will still always catch them?
23:13.29Shadowed"so if you already have an improved error message AddOn, this will not affect you. "
23:13.32nymbiayeah seterrorhandler() will still work just fine
23:13.33nevcairielor do you have to turn the cvar on too ?
23:14.14nevcairielah.
23:14.14nevcairielokies
23:14.15ShadowedWell it is a CVar, so addons can turn it on themselfs
23:14.20nymbiayeah
23:15.27foxlitShadowed: no red text in middle of the screen = <3
23:15.35foxlitEspecially if some infinite loop is sweping it out
23:15.51ShadowedNot if you have a user asking why X feature wont work :p
23:15.56foxlitwell, rephrase, it's being spewed out consistently
23:17.00cogwheel|workMy two favorite upcoming changes so far:
23:17.02cogwheel|work* You can provide several conditional clauses for a single action, which will be performed if any of the clauses evaluates to true. e.g. /cast [target=target,help,nodead] [target=targettarget,help,nodead] [target=player] Flash of Light
23:17.10cogwheel|work* Added a generalized state driver that uses conditional macro syntax. e.g.: RegisterStateDriver(header, "stance", "[stance:1] 1; [stance:2] 2; [stance:3] 3; [stance:4] 4; [stance:5] 5; [stance:6] 6; [stance:7] 7; 0");
23:17.12*** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@64.193.93.197)
23:18.20*** join/#wowi-lounge batrick (i=batrick@d00-64-106-86-242.dhcp.unm.edu)
23:20.26foxlithttp://img259.imageshack.us/img259/7167/fragment2zu.png
23:20.38foxlitError reporting for the masses :P
23:21.19nevcairieli love the footnote
23:21.20nevcairiel:D
23:21.29cogwheel|workI was looking for that a while back :)
23:21.38Karrionlol nice flavour text
23:22.32foxlitI've fixed wrapping since then, but the issue never came up
23:24.38foxlit(It's part of the EventLib.lua strap to stuff like RABuffs and PvPShuffle, feel free to nick it :P)
23:26.20*** join/#wowi-lounge stavmar (n=chatzill@cpe-72-179-61-149.austin.res.rr.com)
23:29.57*** join/#wowi-lounge sergio (n=sp@unaffiliated/sergio)
23:57.09Nom-How annoying...
23:57.14Nom-My computer crapped itself last night :(

Generated by irclog2html.pl by Jeff Waugh - find it at freshmeat.net! Modified by Tim Riker to work with blootbot logs, split per channel, etc.