00:08.06 | SynthosX | did the BAG_UPDATE event change at all? |
00:08.27 | SynthosX | does 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.30 | MentalPower|ZZzz | SynthosX: 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.28 | Mortius | Anyone happen to know what the blizz party frames are called? I tried PartyFrame but that didn't work |
00:34.34 | YammYgirlcoding | Cairenn hello! \o/ |
00:34.40 | Cairenn | hi YammYgirlcoding |
00:34.57 | Bleeter | heya Cairenn, how was the concert? |
00:35.12 | Cairenn | it was good, had fun |
00:35.16 | YammYgirlcoding | Cairenn darling, how long does it take from upload time to accepting time on new mods upload to site? |
00:35.25 | Bleeter | Cairenn: great to hear :) |
00:35.37 | Cairenn | lol, usually about 2 minutes |
00:35.42 | YammYgirlcoding | Is Cairenn a musician? |
00:36.01 | Cairenn | no no, went to a MeatLoaf concert Friday |
00:36.03 | YammYgirlcoding | Cairenn oh. i uploaded a new mod few hours ago |
00:36.20 | YammYgirlcoding | aah right. :) I do play electric guitar, so was wondering ^^ |
00:36.22 | Cairenn | well, there's nothing in the queue, so presumably it's already been approved |
00:36.33 | YammYgirlcoding | hmm let me check :) |
00:37.35 | Mortius | kinda 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.35 | Tain | Woah you went to Meatloaf? |
00:37.48 | Bleeter | Cairenn: did you throw your knickers onto the stage? :-P |
00:37.54 | Cairenn | :p |
00:38.02 | YammYgirlcoding | O.o !!!!! I uploaded the mod 2 hours ago and it already have 50 downloads?!?? omg !! |
00:38.03 | Cairenn | no, I didn't |
00:38.25 | Bleeter | prolly a wise move ;) |
00:38.55 | Cairenn | it was very very hard to behave myself and not spend the entire concert dancing |
00:39.04 | Tain | I got to see Meatloaf a few years ago in a small club, 3000 people. |
00:39.11 | Tain | I was 10 feet from him. |
00:40.27 | Bleeter | smaller 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.40 | Bleeter | (it was a benefit gig for a local environmental alliance) |
00:41.07 | Tain | Damn environment. |
00:41.53 | YammYgirlcoding | yay!! my first mod up and now online ready to dl ! =^^= http://www.wowinterface.com/downloads/info6998-AdvancedTradeSkillWindowLevelsplugin.html |
00:42.35 | Bleeter | YammYgirlcoding: grats! |
00:43.51 | YammYgirlcoding | Cairenn 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.43 | Cairenn | to whit? |
00:46.10 | YammYgirlcoding | when I uploaded the mod, i missed a field asking me the addon's dependencies |
00:46.36 | YammYgirlcoding | I 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.14 | Mortius | Anyone know why this would give me an error: /script PartyFrame:Hide(); |
00:48.31 | zenzelezz | which error? |
00:48.39 | Mortius | returns a nil value |
00:49.07 | zenzelezz | I'm not sure I understand, what you posted doesn't ask for a return value |
00:49.21 | Mortius | it says "PartyFrame" is a nil value |
00:49.54 | zenzelezz | are you sure that's the right name then? |
00:50.55 | Mortius | "Attempt to index global "PartyFrame" (a nil value) |
00:50.56 | Mortius | That's what the frame is called inside of FrameXML |
00:53.24 | YammYgirlcoding | is there a short path to our addon on site? this link is too big to put in guild info :( |
00:53.28 | Mortius | okay 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.47 | YammYgirlcoding | is Cide over there? |
01:04.05 | YammYgirlcoding | or any ct coder |
01:04.38 | zenzelezz | Cide doesn't seem to be here right now, but he usually is |
01:05.11 | YammYgirlcoding | <PROTECTED> |
01:05.41 | YammYgirlcoding | When I click open all selected mails in mailbox, it always forget to retrieve the last 2 |
01:06.29 | zenzelezz | now that sounds like an interesting problem |
01:06.34 | Bleeter | I seem to recall cide alluding to latency in the mail system causing that sort of stuff |
01:07.03 | YammYgirlcoding | is it a known issue? |
01:07.18 | zenzelezz | hang around and ask him when he shows up |
01:07.25 | YammYgirlcoding | oky :) |
01:08.09 | Bleeter | if 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.38 | zenzelezz | aye, but it sounds weird if it's always exactly the last two it doesn't get |
01:08.42 | Bleeter | I'm guessing this 'coz I asked him about the 'internal mail db' error messsage, asking what that was about. he said latency |
01:09.40 | YammYgirlcoding | It'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.04 | zenzelezz | you often have that many mail? O_O |
01:10.06 | YammYgirlcoding | now that you said It do seems to be some latency issue |
01:10.11 | YammYgirlcoding | I do :) |
01:10.22 | YammYgirlcoding | mail from AH returned ¬¬ |
01:10.26 | zenzelezz | aha |
01:11.54 | *** join/#wowi-lounge Antiarc (n=Chris@wsip-70-184-82-98.ph.ph.cox.net) |
01:17.00 | batrick | anybody 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.03 | batrick | while not in combat |
01:17.14 | batrick | hide the frame* |
01:17.40 | batrick | i 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.27 | Mortius | If I do PartyMemberFrame1:UnregisterAllEvents(); ... it shouldn't show up anymore right? |
01:20.09 | zenzelezz | not unless some other frame decides to show it |
01:20.41 | Mortius | yeah, its work for all other blizzard frames, but when I join a party it's still showing up |
01:21.09 | zenzelezz | think I've heard of people hooking/chaning the Show() function on the frame to avoid that |
01:21.15 | zenzelezz | *changing |
01:21.32 | Mortius | ok man, I'll try that, thanks :) |
01:24.52 | batrick | mortius are you sure PartyMemberFrame1 isn't the player? |
01:25.16 | zenzelezz | the player isn't party1 at least |
01:30.04 | Mortius | no, partymemeberframe1 is the first person in the party. playerframe is the player |
01:30.21 | Nom- | What's a memeber ? |
01:30.26 | Mortius | there is partymemberframe1, 2, 3, 4. no 5, as is always excludes you |
01:30.42 | Mortius | no clue. they just threw that in there to confuse me |
01:31.23 | Mortius | It should of been "PartyFrame1", etc.. |
01:45.16 | SynthosX | ugh |
01:45.26 | SynthosX | is there anything special i need to do to parse itemlinks? |
01:46.00 | SynthosX | I keep getting nil argument errors when trying to string.find |
01:46.38 | Nom- | What are you trying to find? |
01:46.47 | SynthosX | the itemstring instead |
01:47.00 | SynthosX | i'm trying string.find(item_Link, "^|%x+|H(.+)|h%[.+%]"); |
01:47.27 | Nom- | well ^, unless i'm mistaken searches at the start of a string |
01:47.27 | SynthosX | but i'm getting arg#1 as nil for some reason |
01:48.47 | SynthosX | well, item_LInk i can print to the chat, and it's fine |
01:49.02 | SynthosX | but attempting to pass it to string.find gives a nil argument error |
01:49.53 | zenzelezz | always or sometimes? |
01:50.02 | SynthosX | always |
01:50.04 | SynthosX | http://wowi.pastey.net/8661 |
01:50.36 | SynthosX | omg |
01:50.40 | SynthosX | ignore me |
01:50.42 | *** join/#wowi-lounge ckknight (n=ckknight@198.199.136.146) |
01:50.57 | zenzelezz | do tell :-p |
01:51.24 | SynthosX | i'm not checking if it's nil |
01:51.32 | SynthosX | and so the first blank slot it finds |
01:51.37 | zenzelezz | hehe |
01:51.40 | SynthosX | it's of course nil |
01:51.42 | Nom- | lol that's an even more silly problem |
01:51.47 | SynthosX | <expetive> |
01:52.02 | SynthosX | <expletive> |
01:52.43 | zenzelezz | easy mistake to make |
01:53.26 | zenzelezz | I 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.21 | Nom- | lol |
01:54.31 | Nom- | quit while you're not too far behind? :P |
01:54.34 | Nom- | j/k |
01:55.22 | *** join/#wowi-lounge snarkyFish (n=noone@c-67-176-1-65.hsd1.co.comcast.net) |
01:56.28 | snarkyFish | Does 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.56 | Kaso | Im pretty sure thatd be impossible |
01:56.57 | Shadowed | correct, we don't have the information |
01:57.44 | Shadowed | Kaso: 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.48 | snarkyFish | the 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.26 | Kaso | yah, and it wouldnt account for people just steering upwards |
01:58.32 | snarkyFish | I want an 'altimeter' : ( so i can judge if dropping off my mount is surviveable or not. |
01:58.54 | Shadowed | Maybe you could account for that using the same stuff they were talking about regarding calculating what angle you're flying out kaso |
01:59.31 | Mr_Rabies2 | you can get vastly different damage numbers from the same height, seemingly |
01:59.54 | Kaso | Fall damage is done by % of total hp ? |
01:59.54 | zenzelezz | on the same character or different characters? |
01:59.55 | snarkyFish | you can? they throw a random element in there? |
01:59.55 | Mr_Rabies2 | sometimes i survive thunder bluff jumps, sometimes i can't |
01:59.57 | Shadowed | Yeah Kaso |
02:00.19 | Shadowed | when you survive the jump, how much do you survive it by? |
02:00.29 | Mr_Rabies2 | depends :x |
02:00.42 | snarkyFish | jumps off of the elevator at the aldor rise always seem to be the same for me. |
02:00.58 | Mr_Rabies2 | i'm scryer and a druid so that doesn't apply to me :p |
02:01.00 | zenzelezz | jumping 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.08 | Mr_Rabies2 | i died once jumping off it at level 60 |
02:01.34 | Shadowed | Well how you jump off can effect it |
02:01.38 | Mr_Rabies2 | nothing like playing chicken with the ground |
02:02.09 | Mr_Rabies2 | seeing how close you can get from a flight ceiling fall to the ground and live |
02:02.19 | Shadowed | If 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.30 | Shadowed | 99. = 99.5 |
02:03.39 | Shadowed | I don't think anyones really looked into fall damage that much besides it being percentage based |
02:03.58 | Kaso | can you still set the camera to particular angles? |
02:05.04 | Kaso | if 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.06 | Kaso | ground |
02:05.42 | snarkyFish | yeah.. 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.37 | Kaso | you can attach an image to the mouse no problem |
02:06.50 | Shadowed | Not sure how you'd do that Kaso |
02:06.56 | Kaso | but without a set angle on the camera you couldnt do the math properly |
02:07.12 | Shadowed | but (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.29 | Shadowed | ~logs |
02:08.32 | purl | hmm... 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.32 | snarkyFish | oh... kaso, so you mean like.. a ui element |
02:09.26 | snarkyFish | yeah... 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.55 | Kaso | yah i was thinking of that, but it'd be more flexible if the camera was at a angle pointed down |
02:11.24 | Shadowed | How did you plan on checking the screen scale though |
02:11.25 | snarkyFish | like a bomb sight? ; ) |
02:11.41 | snarkyFish | well.. you couldn't point directly down... you'd need an angle of some sort. |
02:11.48 | Shadowed | Don't think we have access to those |
02:12.05 | Kaso | i thought we had some pre-set camera angles we could select? |
02:12.13 | snarkyFish | well.. it'd be a crappy mod.. you'd have to probably specify that it be used at a specific scale |
02:12.39 | Shadowed | You 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.19 | snarkyFish | i 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.11 | Kaso | basically it isnt possible without a crappy implentation |
02:17.27 | snarkyFish | yup.. pretty much |
02:18.23 | snarkyFish | which 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.55 | zenzelezz | only if it's deep enough |
02:18.56 | Shadowed | Actually some computers don't load the water fast enough and you die anyway |
02:18.56 | snarkyFish | also.. 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.06 | snarkyFish | heh! really? |
02:19.10 | zenzelezz | jump from a sufficiently high altitude and you fall deeper into the water |
02:19.14 | Shadowed | You do? |
02:19.17 | Shadowed | never had it like that for me |
02:19.25 | zenzelezz | try it form way in the air in Zangarmarsh |
02:19.29 | zenzelezz | *from |
02:19.47 | zenzelezz | I may be wrong, but it seemed so to me anyway |
02:19.52 | snarkyFish | well.. yeah.. hip high water is out... as it's pretty much ground.. ; ) |
02:19.53 | Shadowed | Yeah, the water needs to be deep enough that you can swim in it and not be running |
02:20.31 | Shadowed | Used 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.49 | snarkyFish | that's really weird. |
02:21.04 | zenzelezz | but like I said, try it from just over the water and then from way up, I'm semi-confident |
02:21.07 | snarkyFish | the water this time definitely exceeded my draw distance.. (which is short as it is) |
02:21.30 | Shadowed | How deep is the water zenzelezz? Were you able to stay mounted in it? |
02:22.13 | zenzelezz | stay mounted? I said you'd dismount and fall |
02:22.38 | Shadowed | No I mean, can you mount up on the ground and run into the water and be dismounted |
02:22.53 | zenzelezz | I'm talking the middle of the huge lake |
02:23.04 | zenzelezz | try falling into it from different height |
02:23.07 | Shadowed | ahh |
02:25.35 | snarkyFish | so... 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.50 | snarkyFish | an 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.39 | SynthosX | snarkyFish: you can now do the warrior paratrooper charge :D |
02:49.41 | SynthosX | minus the plate |
02:53.24 | *** join/#wowi-lounge Mortius (i=Mortius@ppp-71-128-198-227.dsl.sndg02.pacbell.net) |
02:54.26 | Mortius | Can 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.54 | SynthosX | yeah you don't really want to create your owne |
02:55.05 | SynthosX | because there's lots of mods that add stuff to tooltops |
02:55.09 | SynthosX | *tootips |
02:55.10 | Kaso | <PROTECTED> |
02:55.11 | SynthosX | :( |
02:55.50 | SynthosX | GameTooltip:SetOwner(button, "ANCHOR_LEFT"); |
02:55.50 | Mortius | damn i thought I looked everywhere on wowwiki |
02:55.52 | Mortius | thanks kaso! |
02:56.08 | Mortius | yes, that is what I was trying actually I found that code in a mod |
02:56.39 | Mortius | trying to figure out how I would show that on hover |
02:57.02 | Mortius | that code gave me an error too... but I put it on the onclick to test it |
02:57.15 | Mortius | there is no <OnHover> so im still looking into how to do it |
02:57.49 | batrick | Mortius, it's pretty easy to do, search tooltip in my xml, and lua: http://unm.edu/~batrick/files/Spellcraftv0.75.zip |
02:57.54 | batrick | it's like, 3 lines |
02:58.15 | Mortius | kk thanks |
02:58.49 | batrick | "Tooltip" |
02:59.01 | SynthosX | <OnEnter> i beleive is what you want |
02:59.17 | Mortius | Ahhh! I thought that was when someone press the enter button.. ROFL |
02:59.23 | SynthosX | nope |
02:59.34 | Mortius | when someone enters the frame with the cursor I'm guessing |
02:59.40 | SynthosX | yep |
02:59.48 | SynthosX | hey uh |
02:59.55 | batrick | OnEnter is dangerous tho, with OnLeave for some things : / |
02:59.58 | SynthosX | have you unpacked framexml yet? |
03:00.06 | Mortius | yes |
03:00.17 | SynthosX | batrick: how is it dangerous? |
03:00.26 | subbawt | nightbane down yay |
03:00.31 | SynthosX | check out ContainerItemButtonTemplate.xml |
03:00.31 | batrick | well not dangerous so much as buggy |
03:00.36 | subbawt | (he's nerfed) but still yay |
03:00.52 | SynthosX | what kind of issues does it have? |
03:01.23 | batrick | well 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.31 | batrick | i.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.21 | SynthosX | ah |
03:02.31 | SynthosX | so the onleave can get fired after the onenter |
03:02.32 | Tim | Hi |
03:02.42 | batrick | something like that |
03:02.43 | SynthosX | it's a race condition |
03:02.44 | Tim | Wheres block fathom deeps |
03:03.08 | batrick | i think they were using a functiont that switched states |
03:03.22 | *** part/#wowi-lounge Tim (n=qwertyui@75.35.61.166) |
03:03.39 | batrick | for both on leave and on enter |
03:03.41 | batrick | meh |
03:03.49 | JoshBorke | /who tim |
03:04.02 | JoshBorke | or he could leave... |
03:04.08 | JoshBorke | after 30 seconds |
03:04.14 | *** join/#wowi-lounge Iriel (n=daniel@adsl-71-158-244-138.dsl.pltn13.sbcglobal.net) |
03:04.24 | batrick | anybody 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.27 | batrick | while not in combat |
03:04.43 | batrick | i can only get one or the other... : / |
03:04.51 | *** mode/#wowi-lounge [+o Iriel] by ChanServ |
03:04.55 | Iriel | You can use PostClick can't you? |
03:05.14 | SynthosX | that's a pretty good answer.... |
03:05.24 | batrick | <PostClick> ? |
03:05.27 | SynthosX | err... question i guess.. but implied answer |
03:05.32 | batrick | I didn't know that existed :O |
03:05.56 | SynthosX | http://forums.worldofwarcraft.com/thread.html?topicId=64187212&sid=1 |
03:05.56 | Iriel | You should re-read (or read) the 2.0.x changes thread 8-) |
03:06.00 | SynthosX | it's posted there |
03:06.18 | batrick | lol |
03:07.54 | batrick | purl hug iriel |
03:08.13 | batrick | sigh |
03:09.09 | *** join/#wowi-lounge ckknight (n=ckknight@198.199.136.150) |
03:20.22 | JoshBorke | night all |
03:20.23 | JoshBorke | purl, hug Cairenn |
03:41.42 | SynthosX | ok |
03:41.54 | SynthosX | mt |
03:41.56 | *** join/#wowi-lounge Adys (n=Miranda@APoitiers-256-1-5-176.w81-49.abo.wanadoo.fr) |
03:49.16 | Bleeter | rm -rf /dev/brain |
03:50.45 | SynthosX | ssh Bleeter |
03:51.12 | Bleeter | no route to host |
03:51.26 | SynthosX | ping Bleeter |
03:51.34 | Bleeter | ack |
03:51.48 | SynthosX | ssh Bleeter anonymous |
03:51.59 | Bleeter | connection timed out |
03:52.07 | SynthosX | ... |
03:52.23 | Bleeter | relay denied |
03:52.29 | SynthosX | for true; do ping Bleeter end |
03:52.47 | Bleeter | > |
03:53.25 | Bleeter | for true;do cat /dev/food |/dev/mouth;end |
03:54.05 | SynthosX | stack overflow |
03:54.57 | Bleeter | <PROTECTED> |
03:55.21 | Bleeter | grrr,, this is NOT getting any work done, mildly amusing tho it is ;) |
03:55.25 | SynthosX | ;) |
03:55.40 | SynthosX | i haven't used linux in a long time :D |
03:56.00 | Bleeter | MacOS? |
03:56.06 | SynthosX | crapdows |
03:56.14 | Bleeter | ah |
03:56.26 | Bleeter | was gunna suggest you'd be happy at getting POSIX at the next release |
03:56.40 | SynthosX | hehe |
03:57.12 | SynthosX | i think when i have two computers i'll try to switch (again) |
03:57.24 | SynthosX | i used gentoo for a while |
03:57.28 | SynthosX | and didn't like it |
03:57.28 | Bleeter | get vmware, have a play. |
03:57.55 | Bleeter | gentoo's ok behind the hands of a decent user. it's the users that let any distro down. |
03:58.26 | Bleeter | debian's imploding |
03:58.57 | Bleeter | the founder quit to go work for Sun, he's that pissed with it |
03:58.57 | Iriel | That's funny, last time I paid attention it was gentoo imploding |
03:59.19 | Bleeter | as a #gaim person, I *wish* gentoo would implode ;) |
03:59.25 | SynthosX | I just probably shouldn't have started on gentoo |
03:59.48 | Bleeter | SynthosX: if one's relatively new to *nix, Ubuntu's the way to go. |
03:59.55 | SynthosX | So i've heard |
03:59.58 | SynthosX | Been pondering it |
04:00.51 | Bleeter | if 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.17 | SynthosX | bah |
04:01.40 | Bleeter | oh, Iriel.. I found a page *just* for you yesterday.. lemme grab the URL |
04:01.50 | SynthosX | this'll be good ^_^ |
04:02.32 | Bleeter | make 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.12 | Iriel | Hm, i'll bookmark the first.. Never did like the C64 much, so the latter can languish 8-) |
04:06.00 | Nom- | How's AfterCough coming along? ^_^ |
04:07.09 | Bleeter | Iriel: 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.17 | Tierrie | Hey Iriel |
04:07.31 | Tierrie | clad told me yesterday you wrote this little bit about how "this" has been depreciated |
04:07.35 | Tierrie | I've been looking for that post since |
04:07.51 | Iriel | Tierrie: It should (may?) be in the 2.0.x changes thread |
04:08.00 | Tierrie | I looked all over those forums |
04:08.02 | Iriel | Nom-: It's become AfterWork |
04:08.05 | Tierrie | especially that thread |
04:08.19 | Tierrie | I also looked in the wowwiki's 2.0 changes |
04:08.34 | Nom- | aww :( |
04:08.49 | Tierrie | http://forums.worldofwarcraft.com/thread.html?topicId=64187212&sid=1 <-- this is the thread you're talking about right? |
04:08.52 | Nom- | AfterNextExPac? :/ |
04:09.14 | Iriel | Script Handlers |
04:09.16 | Iriel | Frame 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.33 | Tierrie | I read that, and along with the events passewd |
04:09.37 | Iriel | Nom- Not that bad, just got to get through a couple of work issues before I have time to fiddle. |
04:09.39 | Tierrie | But nothing about "this" being depreciated |
04:09.42 | Iriel | Well, 'this' isn't one of the locals |
04:09.50 | Iriel | So by inference it's not "recommended" 8-) |
04:09.52 | Nom- | omg @ Second Life |
04:09.55 | Nom- | Total Residents: 4,806,583 |
04:09.55 | Nom- | Logged In Last 60 Days: 1,570,532 |
04:09.55 | Nom- | Online Now: 24,521 |
04:09.55 | Nom- | US$ Spent Last 24h: $1,488,890 |
04:09.56 | Nom- | LindeX Activity Last 24h: $226,784 k |
04:10.11 | Tierrie | Iriel: so let me get this right, using "this" is still OK |
04:10.17 | Nom- | That looks rather insane |
04:10.18 | Iriel | For now |
04:10.39 | Tierrie | ok, well, its sometimes necessary to pass the calling frame to the script |
04:10.48 | Iriel | At some point, if we're lucky, blizzard will re-write all of their code to not use it anymore |
04:10.54 | Iriel | And use the explicit 'self' instead |
04:11.05 | Tierrie | self refers to the parent object |
04:11.09 | Tierrie | which is not the same as the calling frame |
04:11.23 | Tierrie | so i still think its necessary to have two variables |
04:11.23 | Iriel | eh? |
04:11.43 | Iriel | In all of the places where blizzard code calls a handler, 'this' and 'self' have the same value |
04:11.51 | Iriel | 'self' is local, 'this' is global |
04:11.51 | Tierrie | *blinks* |
04:12.03 | Nom- | omg Second Life looks insane...you actually pay additional $$ for ingame land |
04:12.04 | Tierrie | certainly not in my code :P |
04:12.11 | Iriel | (where 'self' is the first parameter of the function) |
04:12.12 | Nom- | That sounds like an absolutely pointless monkey sink |
04:12.24 | Tierrie | for me, self refers to the namespace about 80% of the time |
04:12.27 | Iriel | Nom- It's somewhat more complicated than that. It's an odd place for sure. |
04:12.36 | Tierrie | while this refers to the calling frame |
04:12.42 | Iriel | Tierrie: Then I'm assuming you're not calling frame:SetScript with one of your 80% functions |
04:12.56 | Nom- | Iriel: Have you played it ? |
04:12.59 | Tierrie | that's correct, some of my scripts are set in xml |
04:13.08 | Nom- | It sounds like it's just somewhere for rich people to blow their millions |
04:13.34 | Iriel | So, in the XML, if you do <OnEvent> TierrieNamespace:SomeMethod(self, event, ...)</OnEvent> |
04:13.55 | Tierrie | something like that except with a period |
04:13.59 | Iriel | Then declare your method as function TierrieNamespace:SomeMethod(this, event, ...) |
04:14.14 | Tierrie | well my functions are SomeMethod(self,event,...) |
04:14.17 | Iriel | Then you'll have self as your namespace, and 'this' as the frame |
04:14.32 | Tierrie | oh ok I get what you're saying |
04:14.44 | Tierrie | I grok! |
04:15.05 | SynthosX | hmmm I'm not sure if my code does that... |
04:15.31 | Iriel | The 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.42 | Tierrie | how do you access a frame globally then? |
04:15.57 | Iriel | Hm? |
04:16.05 | Iriel | You can still USE globals, I have no inherent hate for globals |
04:16.07 | SynthosX | http://wowi.pastey.net/8674 |
04:16.18 | Tierrie | lets say I have a <Frame name="someConfigFrame"> |
04:16.19 | Iriel | It's just using globals that change with every even that's bad |
04:16.21 | Tierrie | how do I access it? |
04:16.29 | SynthosX | btw Iriel a question for you: is using frames as table keys bad mojo? |
04:17.07 | SynthosX | Tierrie you have to use globals to get a frame by name |
04:17.14 | Tierrie | that's what I thought as well |
04:17.15 | SynthosX | a frame handle, rather |
04:17.59 | Tierrie | i do try to keep operational frames created dynamically in my namespace though, so TierrieNamespace.MainFrame actually refers to that frame |
04:18.42 | Iriel | Sorry about that, chatzilla went wonky |
04:18.43 | Tierrie | well 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.56 | Iriel | So, 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.09 | Iriel | If you plan on referencing it FREQUENTLY, grab a local reference to the global |
04:19.26 | Iriel | As for frames as table keys, nothing wrong with that at all if it's what you want to be doing 8-) |
04:19.29 | Tierrie | Iriel: i usually store the frequently referenced frames in my namespace |
04:19.39 | Tierrie | i don't know why i told you that |
04:19.39 | SynthosX | shouldn't a global become local if it's passed through as a parameter though? |
04:19.52 | Tierrie | but i expect a cookie now |
04:19.56 | Iriel | SynthosX: You'll have a local reference then, yes |
04:19.59 | SynthosX | ah |
04:20.05 | SynthosX | perfect |
04:20.18 | Tierrie | also, how are you feeling Iriel? |
04:20.41 | Iriel | Mostly better though still coughing/sniffling. |
04:20.47 | Tierrie | well you know what |
04:20.51 | Tierrie | you should watch 300 |
04:20.52 | SynthosX | like 4 guys at work are sick |
04:20.58 | Tierrie | that'll make you feel better |
04:21.01 | Tierrie | made me feel better |
04:21.27 | Tierrie | i have sudden infant death syndrome :( |
04:22.45 | *** join/#wowi-lounge Veritas_ (n=r00t@d141-57-156.home.cgocable.net) |
04:23.03 | Cairenn | Tierrie: *blink* |
04:23.18 | Cairenn | Tierrie: I am incredibly sorry to hear that :( |
04:23.38 | Veritas_ | allo |
04:23.42 | Cairenn | hi |
04:23.50 | SynthosX | Well.. if an adult gets sudden infant death syndrome as an adult.... |
04:23.52 | SynthosX | do they die? |
04:24.18 | SynthosX | maybe if they act really immature.... |
04:25.05 | Cairenn | unless it is meant in the way that I read it, as in they just lost their child to it .... |
04:25.35 | SynthosX | well. |
04:25.48 | SynthosX | if that is the case then I feel like an absolute shit tard. |
04:26.12 | Veritas_ | I'm new to addon creation, and would like to learn...hopefully without reading the entire LUA Reference Manual |
04:26.24 | SynthosX | wowwiki.com is your best friend |
04:26.32 | Tierrie | Cairenn: its ok I got better |
04:26.41 | Tierrie | oh no i was kidding |
04:26.47 | Tierrie | i read it in one of the comics |
04:26.51 | Cairenn | oh |
04:26.53 | Tierrie | there's this hypochrondiac frog |
04:26.56 | Tierrie | who keeps going to the doctor |
04:27.03 | Tierrie | and he keeps making up ailments |
04:27.10 | Tierrie | mostly stuff he read on the internet |
04:27.26 | Tierrie | so one day he walks into the doctor's office and tries to get treated for SIDS, sudden infant death syndrome |
04:27.30 | Cairenn | in 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.33 | Veritas_ | 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.41 | Tierrie | so 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.49 | Tierrie | and the frog got better, before the injection |
04:28.14 | Tierrie | the syringe was like 3 gallons of something |
04:28.32 | SynthosX | what comics are these exactly? |
04:28.51 | Cairenn | lol, 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.21 | Cairenn | Veritas_: 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.26 | Tierrie | Cairenn: http://www.libertymeadows.com/uncengal/thumbnails/153.jpg |
04:30.57 | Tierrie | then http://www.libertymeadows.com/uncengal/pages/154.htm |
04:30.58 | Nom- | LOL |
04:31.03 | Cairenn | Veritas_: 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.04 | Nom- | Death and Taxes raids 6 days a week? |
04:31.56 | SynthosX | yes |
04:32.05 | Nom- | no wonder they're powering through the content |
04:32.14 | Veritas_ | well |
04:32.16 | Nom- | We barely manage 2, although i'd be quite happy with more |
04:32.25 | SynthosX | Try to do the majority yourself, some people ask so many questions it'd be *faster* to write it myself |
04:32.29 | Veritas_ | I'm an experienced programmer, just not in LUA |
04:32.37 | SynthosX | oh good |
04:32.44 | Cairenn | :) |
04:32.50 | SynthosX | that makes a huge difference |
04:32.58 | Veritas_ | I understand the general concepts of programming |
04:33.01 | Thrae | Final Destination was a hoot. I should have downloaded it years ago. |
04:33.34 | Veritas_ | data types and variables and im pretty sure string manipulation and if statements are pretty generic |
04:34.19 | SynthosX | tables are a big deal in lua |
04:34.34 | SynthosX | they're like a one size fits all condom |
04:34.39 | Thrae | Veritas_: Lua prides itself with using C-style syntax |
04:34.45 | Veritas_ | so ive noticed |
04:35.02 | *** join/#wowi-lounge rophy (n=Miranda@220-132-204-186.HINET-IP.hinet.net) |
04:35.06 | batrick | ^ lol |
04:35.33 | Veritas_ | Am i going to need to learn XML as well? I've gotten mixed replies on that one |
04:35.42 | batrick | depends on what you want to do |
04:35.52 | Veritas_ | Just a simple dialog |
04:36.02 | Veritas_ | like you standard extended /who output |
04:36.08 | Cairenn | that was quite the analogy SynthosX :p |
04:36.28 | SynthosX | actually I've rethought the statement and it doens't make much sense anymore... |
04:36.29 | Cairenn | a visual I really could have done without :p |
04:36.42 | Thrae | You 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.50 | batrick | Veritas_, you want to just add onto the functionality of /who? |
04:37.09 | SynthosX | the XML for the Widgets isn't too tough to learn |
04:37.17 | SynthosX | I recommend this tutorial (grabbing the link) |
04:37.32 | SynthosX | http://fara.webeddie.com/frames/ |
04:37.41 | Veritas_ | lol |
04:37.43 | Veritas_ | i just clicked that |
04:37.47 | SynthosX | hehe |
04:37.49 | Veritas_ | * Farang's Frames Tutorial - http://fara.webeddie.com/frames/ |
04:37.49 | Veritas_ | - An excellent beginner's guide to creating GUIs for your addon. |
04:37.51 | Thrae | If you're a coder, I'd suggest using the WoW Lua API for Widgets |
04:38.02 | Veritas_ | yea, i like that idea better |
04:38.34 | Thrae | It gets you into the thick of things, and you don't have to deal with learning two separate languages |
04:38.37 | SynthosX | Although, You will probably need to make templates at some point |
04:38.54 | SynthosX | and afaik you can't make virtual (template) frames from LUA |
04:38.55 | Thrae | SynthosX: You can make Widget templates in Lua since 1.10 ;) |
04:38.59 | SynthosX | ! |
04:39.11 | SynthosX | with CreateFrame? |
04:39.39 | Thrae | Well |
04:39.45 | Iriel | Let's be careful here.. You can INSTANTIATE templates with CreateFrame |
04:40.05 | Nom- | pftt XML is easy |
04:40.10 | Iriel | You can create the effect of an XML template in lua, but you're basically scripting a bunch of CreateFrame/Template/FontString calls |
04:40.19 | Cairenn | oh yes, and before we forget - Iriel is like, god |
04:40.25 | Veritas_ | I've heard its possible to do the whole thing without any XML file at all |
04:40.26 | SynthosX | yeah. |
04:40.29 | Thrae | Yeah, that's what I meant |
04:40.39 | Nom- | Oh, and Cairenn is our resident window dressing |
04:40.42 | Nom- | She's hawt |
04:40.52 | Cairenn | that's me, all fluff, no brains |
04:41.11 | Veritas_ | I've yet to find such a tutorial that doesnt immediately say OK, make a toc, lua and xml file |
04:41.15 | Thrae | A virtual template, as I know it, is just an instruction to use certain settings in/after the creation of the frame |
04:41.22 | Veritas_ | where is the sans-xml tutorial :P |
04:41.24 | SynthosX | oh ok so you can't set the inheriter for Frames, but you emulate the frame creation etc... |
04:41.43 | SynthosX | Veritas_: I don't know of one |
04:41.51 | Veritas_ | hmm |
04:42.02 | Thrae | So a function that calls other functions, etc. and returns a frame would be basically the same thing, just a functional approach |
04:42.12 | SynthosX | alright |
04:42.20 | Thrae | Veritas_: www.wowace.com, look at the Ace community, they hate XML |
04:42.34 | Veritas_ | Is there anyway i can popup a simple dialog via LUA? |
04:42.36 | Iriel | The sans xML tutorial is all of the above, just skip the XML file 8-) |
04:42.45 | Veritas_ | surely blizzard has predefined functions for this kinda stuff |
04:43.02 | Iriel | Veritas_: there's a "StaticPopup" thing that the main UI provides |
04:44.15 | Iriel | Look at StaticPopup.lua |
04:45.31 | SynthosX | Veritas_: 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.12 | Veritas_ | hmm |
04:47.19 | Veritas_ | various types of static popups can be called |
04:47.38 | Iriel | And you can add your own to the table |
04:48.04 | Iriel | I'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.30 | Nom- | I'm looking forward to this weeks' Kara :) |
04:50.13 | Nom- | HAHA |
04:50.26 | Nom- | There's a shadow priest who's going to try and one-shot himself on Curator |
04:50.30 | Nom- | That'd be funny to watch |
04:50.39 | Veritas_ | I've got like 3 browsers open all with 3 tabs open inside of each |
04:52.46 | Nom- | lol |
04:52.50 | Nom- | Curator looks fun |
04:52.58 | Nom- | We skipped him this week :9 |
04:53.00 | Nom- | :( |
04:53.15 | Nom- | Or didn't get to him...either way |
04:56.48 | SynthosX | would 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.20 | Veritas_ | bah |
05:00.49 | Veritas_ | 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.55 | Veritas_ | *at |
05:01.02 | Iriel | SynthosX: Possibly, it depends on whether you ever need to test if an event has any entries in the table |
05:01.36 | Iriel | SynthosX: The metatable method will automatically create a new table for any key you ask for (Unless you use rawget) |
05:01.42 | Veritas_ | 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.09 | SynthosX | Iriel: Yeah I have to check if it exists |
05:02.28 | SynthosX | ah well |
05:02.56 | SynthosX | although, when i check if it exists i add something there right away |
05:05.59 | Iriel | I meant in other places than the snippet you included |
05:06.13 | Iriel | that snippet would be just fine to use an auto-creating metaindex |
05:06.29 | SynthosX | yeah here i'll paste the whole function |
05:06.49 | SynthosX | http://wowi.pastey.net/8676 |
05:07.12 | Iriel | The question is, where do you READ from that table |
05:07.18 | Iriel | because that's where it can get twitchy |
05:07.45 | Iriel | You're fine if you're always using pairs/next because it will only visit 'real' keys |
05:07.55 | SynthosX | http://wowi.pastey.net/8674 |
05:08.02 | Iriel | But if you start doing things like if (EventMatrix[someRandomEventString]) then ... |
05:08.14 | SynthosX | ahh i see what you mean |
05:08.32 | Iriel | It'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.39 | SynthosX | yep |
05:08.42 | Iriel | So, if it's update/add/iterate -- the metatable trick is cook |
05:08.51 | Iriel | if it's update/add/random-query -- not so cool |
05:08.54 | Iriel | cook = cool |
05:09.05 | SynthosX | thanks ;) |
05:10.40 | SynthosX | what I'm working on,btw is a reworked EngInventory... if you ever used that mod |
05:11.14 | SynthosX | it's basically and all in one inventory but sorts your items |
05:12.28 | SynthosX | http://img407.imageshack.us/img407/9154/enginvcx5.jpg |
05:12.45 | *** join/#wowi-lounge Anomaly`iM (n=Zonezero@24.34.136.45) |
05:14.24 | Iriel | How odd looking |
05:15.14 | SynthosX | yeah |
05:15.19 | SynthosX | partly why i'm reworking it |
05:15.32 | SynthosX | well, maybe reworking is a bad word for it |
05:15.45 | SynthosX | rewriting from scratch is probably better |
05:16.34 | Iriel | I 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.55 | SynthosX | oooo |
05:17.07 | SynthosX | and every time you hit or miss you get a yoda saying |
05:17.30 | Iriel | Only when you miss |
05:17.35 | Iriel | Extra incentive for hitting |
05:18.27 | SynthosX | mm |
05:19.15 | SynthosX | should I add a random chance for it to sell a random number of items whenever you visit a vendor? |
05:19.21 | SynthosX | or maybe |
05:19.31 | Iriel | Better ifi t BUYS a random number of items |
05:19.36 | SynthosX | instead of a random chance every time you miss it queues one item to sell |
05:19.51 | SynthosX | not only buys them |
05:19.58 | SynthosX | but doesn't show them in the inventory |
05:20.18 | Iriel | Just takes away a slot? |
05:20.24 | SynthosX | sort of |
05:20.42 | SynthosX | once it buys enough grey equipment |
05:20.51 | SynthosX | it'll sell all of your original gear and replace it with greys |
05:22.04 | SynthosX | you technically could create an addon bomb by uploading a hacked up addon to curse gaming... that would do all that stuff |
05:27.49 | SynthosX | damn. |
05:27.53 | SynthosX | http://www.wowace.com/wiki/ArkInventory |
05:32.00 | Guillotine | <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.03 | Guillotine | actually, we check that |
05:32.17 | SynthosX | ah |
05:32.20 | Guillotine | obviously not in every addon, but in quite a few |
05:32.21 | SynthosX | that's good ^_^ |
05:32.25 | Guillotine | and whenever we get a report |
05:33.23 | Guillotine | just don't obfuscate it or I'll kill you. I hate having to spend an hour unobfuscating code >< |
05:33.38 | Guillotine | luckly, most people make it easy so it ONLY takes an hour |
05:34.49 | Nom- | What's it with all the random people contacting me in ICQ lately |
05:34.50 | Thunder_Child | damn, hes onto us |
05:34.50 | Thunder_Child | abort abort |
05:34.50 | Thunder_Child | :) |
05:34.50 | Guillotine | Nom-: if you give me your ICQ I can tell you |
05:34.54 | Guillotine | that more people will be contacting you >.> |
05:37.05 | Nom- | I should just go dark |
05:37.10 | Nom- | It's not like I use it for anything |
05:37.42 | Guillotine | anyway, gn all |
05:37.48 | Guillotine | btw dolby, <3 the new search. its aweosme :D |
05:38.27 | Guillotine | s/aweosme/awesome |
05:43.53 | *** join/#wowi-lounge Jocco_S (n=jocco@217-210-128-16-no18.tbcn.telia.com) |
06:03.03 | Nom- | wooooot |
06:03.14 | Nom- | STALKER: Shadow of Chernobyl went gold |
06:03.18 | Nom- | WTB lol |
06:04.40 | Corrodias | /w Nom- i have 1 [lol] for 20g |
06:04.55 | Nom- | SOLD |
06:05.28 | Nom- | That game looked SOOOO awesome |
06:07.55 | Tierrie | using $parent in the FrameXML's <OnEvent></OnEvent> doesn't work does it? |
06:08.06 | Nom- | It's a new concept for an FPS game to sme extent |
06:08.16 | Nom- | You can run around wherever you want, but you have objectives |
06:08.35 | Nom- | There's another similar game...trying to recall the name |
06:08.53 | Nom- | But that had shitty graphics, this has awesome graphics :) |
06:09.05 | Legorol | Hello folks |
06:09.58 | Legorol | I have recently been explained two methods by which someone can easily hearthstone home even if their HS is on cooldown. |
06:10.18 | Legorol | These methods are commonly known and are widely used, does anyone know whether these are considered exploits? |
06:10.58 | Legorol | Also, 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.36 | Nom- | 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.55 | Nom- | Why the heck do you think everyone goes to Orgrimmar or Stormwind for the Auction house instead of other cities? :) |
06:12.06 | Legorol | I hardly doubt that being able to HS back to Shatt from anywhere anytime is an intended mechanic. |
06:12.33 | Nom- | It's not anywhere at any time |
06:12.45 | Legorol | the orgri/sw mechanics are restricted to those cities, yes |
06:12.46 | Nom- | It's from inside and instance, and it takes 90 seconds to happen |
06:12.51 | Legorol | the other mechanic is anywhere anytime |
06:13.11 | Corrodias | i'm only aware of instance-hearthing, myself |
06:13.14 | Nom- | The other mechanic is clicking on your cooled down hearthstone... |
06:13.21 | Legorol | and 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.40 | Nom- | Why? |
06:13.40 | Corrodias | an orgrimmar-only teleportation method? |
06:13.43 | Legorol | Uh, it's because not everyone is aware of the other mechanic that i am not spelling it out |
06:13.54 | Legorol | There are two methods i am aware of: |
06:13.55 | Nom- | The other mechanic i suspect is BG queuing |
06:13.57 | Nom- | And that's intended too |
06:14.04 | Legorol | One involves a free Orgri->Shatt or SW->Shatt teleport |
06:14.07 | Nom- | That's been around since day 1 as far as i know |
06:14.11 | Corrodias | unstick won't help you |
06:14.16 | Legorol | The other involves an instant, anytime anywhere teleport to your HS location |
06:14.30 | Legorol | not BG queuing, that's fine i am sure |
06:14.35 | Nom- | Legorol: The boots then? |
06:14.42 | Legorol | no boots |
06:14.51 | Legorol | i am not going to explain the mechanic if you are unaware of it |
06:14.52 | Nom- | There's some instant cast boots you can get which hearth you |
06:14.52 | Corrodias | i can't tell you if something is an exploit unless i know what it is |
06:15.02 | Legorol | Ok, but does it sound like an exploit to you? |
06:15.06 | Corrodias | they're not instant as of this patch, i think, Nom |
06:15.09 | Thrae | BG 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.14 | Corrodias | the way you have described it, it sounds like one |
06:15.14 | Legorol | norgs: which is why i took the precaution of not explaining it |
06:15.46 | norgs | the only ways i know of are instance, bg/arena and unstuck |
06:15.56 | Legorol | It is however straightforward, you use standard UI elements to achieve it, and doesn't involve much trickery |
06:16.02 | Corrodias | and unstuck won't help you if your HS is on cooldown anyway, it'll just nudge you forward |
06:16.11 | Thrae | unstuck isn't "free", it uses your hearthstone |
06:16.34 | norgs | Thrae: but you can use it while your HS is in cooldown |
06:16.35 | Legorol | i guess i'd have to explain it, which i obviously can't |
06:16.40 | Thrae | The Instance used to use your hearthstone, but doesn't anymore |
06:16.51 | Legorol | ok since everyone knows about the instance method, we can discuss it |
06:16.57 | Corrodias | norgs: if your HS is on cooldown, or you don't have a HS, it'll just nudge you forward a little |
06:17.00 | Thrae | norgs: Like Lego said, I think it just tries to do a random teleport |
06:17.02 | Nom- | Legorol: The chances are you're thinking it does something which it doesn't do |
06:17.02 | Legorol | that's been around a long time, but it's been pretty useless |
06:17.09 | Corrodias | the event is also recorded by the game. if you do it multiple times, they'll notice. |
06:17.19 | norgs | Corrodias: i have used it while hs is in cooldown, and it does HS |
06:17.27 | Legorol | Nom-: i have tried it to verify and it works |
06:17.30 | norgs | admittedly, i was really stuck at the time |
06:17.30 | Corrodias | jigga wha? |
06:17.45 | Corrodias | now that can't be intended |
06:17.45 | Thrae | Hmm, I guess the game can tell when you are "stuck" and when you are not |
06:17.49 | Legorol | the auto-unstuck does get you to your HS location, even if HS is on cooldown, if you are stuck |
06:18.06 | Legorol | if it is unable to just nudge you out |
06:18.11 | Nom- | Well you'd have to say what it is in order for us to say if it's an exploit or not |
06:18.17 | Tierrie | Hey 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.17 | Legorol | obviously |
06:18.22 | Legorol | so let's talk about the instance one instead |
06:18.26 | Nom- | My suspicion is it's an intended game mechanic which you're thinking is something more |
06:18.28 | Corrodias | i see, you'd have to wedge yourself into an unescapable location |
06:18.29 | Legorol | The thing with the instance teleport is this: |
06:18.37 | Bleeter | unstuck abuse is logged |
06:18.42 | Corrodias | i bet it is |
06:18.53 | Legorol | In the past, it's been near useless |
06:18.56 | Legorol | consider Org/SW for example |
06:19.07 | Legorol | there isn't much point in using the instances in there to go over to say IF |
06:19.24 | Legorol | the instance teleport's utility dramatically rose with the one way Shatt->Azeroth portals |
06:19.27 | Corrodias | i 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.53 | Legorol | Corrodias: 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.58 | Corrodias | and when i say "we" i mean "somebody who actually posts" |
06:20.07 | Thrae | I 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.09 | Legorol | and since i don't want to be responsible for describing an exploit, i won't do it |
06:20.25 | Corrodias | how long has it been around? |
06:20.28 | Legorol | So, my question is then: would you consider intentional instance porting an exploitative behaviour? |
06:20.34 | Legorol | It's been around since a very early patch |
06:20.41 | Corrodias | then i serously doubt it's an exploit |
06:20.44 | Legorol | it's post release, but within a few patches |
06:20.53 | norgs | intended game mechanics |
06:20.55 | Corrodias | or considered one |
06:20.57 | Legorol | well there is difference between a mechanic and how you use the mechanic |
06:21.06 | Thrae | Legorol: I'd put it in with the "Who the hell cares" catagory |
06:21.11 | Corrodias | you're not enlightening us by being vague |
06:21.20 | Legorol | i am talking about the instance portal method, Corrodias |
06:21.27 | norgs | Legorol: no, i don't think there is a difference |
06:21.32 | Thrae | To do an Instance Free Hearth, you need to go FIND an instance, and also find someone to make a quick party with |
06:21.34 | Corrodias | if it's been around for many patches, i don't think it needs to be a secret |
06:21.41 | Corrodias | "instance portal" doesn't ring a bell |
06:21.47 | Legorol | norgs: sure there is, there is difference between PvP and griefing for example |
06:21.50 | Corrodias | but i don't keep up on these things |
06:22.06 | Legorol | i am happy to explain the instance portal method, as that one's obviously known by most of you guys here |
06:22.09 | Corrodias | i didn't even know that unstuck would use the HS on cooldown |
06:22.13 | norgs | if 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.27 | Legorol | Corrodias: 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.43 | Legorol | People abuse this by walking into Orgri/SW instances, and porting to Shatt |
06:23.06 | Nom- | Yea, which is really no different than getting a warlock summon or mage portal |
06:23.09 | Nom- | Just quicker |
06:23.09 | Legorol | norgs: you know very well that such a hard and fast rule has never been applicable |
06:23.20 | Legorol | even certain ways of pulling bosses in instances have been deemed exploits |
06:23.26 | Legorol | even though the game allowed it |
06:23.41 | norgs | Legorol: i also know blizzard would never ban somebody for using such a game mechanic |
06:23.55 | Legorol | i didn't talk about banning ;-) |
06:23.58 | norgs | they would simply fix the mechanic |
06:24.00 | Legorol | i asked two things: |
06:24.04 | Legorol | 1) is this an exploit |
06:24.10 | Legorol | 2) what's the best forum to ask blizzard about it |
06:24.15 | Thrae | Legorol: There are exploits that Blizzard cares about, and there are those that really don't do much harm |
06:24.22 | Nom- | Well just found thi commented: |
06:24.23 | Nom- | If your hearthstone is not up yet, use the auto-unstuck option in the help menu to get a free hearth. |
06:24.25 | Legorol | (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.42 | Legorol | Nom-: uh? where |
06:24.49 | Nom- | http://mmomusing.blogspot.com/2007/02/weekend-of-warcraft-1-battlegrounds.html |
06:25.02 | Nom- | 60 second good search for 'free hearthstone warcraft' |
06:25.05 | Nom- | *google |
06:25.13 | Thrae | Remember 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.43 | Legorol | Well i'm pretty sure Blizzard would care about an immediate free HS from anywhere in the world |
06:26.01 | Thrae | Legorol: If you're talking about the Instance one, it's not anywhere in the world |
06:26.05 | Legorol | I think they also care about the instance portal, since in my opinion their intentions (note the emphasis on intention) |
06:26.07 | norgs | Legorol: no cooldown? |
06:26.14 | Legorol | no cooldown |
06:26.21 | Legorol | Thrae: i'm kinda mixing them up, sorry |
06:26.24 | Legorol | i will separate them |
06:26.25 | norgs | in combat? |
06:26.34 | Legorol | never tried in combat |
06:26.41 | Legorol | tried it once, worked, voila |
06:26.43 | Nom- | I think you'll find it'll fail in combat |
06:26.45 | Legorol | it smelled like an exploit |
06:26.58 | Thrae | Legorol: So which two are we talking about? Exiting a BG as well? |
06:26.59 | Legorol | doesn't matter much to me if it works in combat or not |
06:27.02 | Nom- | So there's no real harm |
06:27.05 | Legorol | Thrae: no |
06:27.22 | Nom- | pfft you can instant exit a BG at any time |
06:27.23 | Thrae | What's the "anywhere free hearth"? |
06:27.24 | Nom- | It's called /afk |
06:27.34 | Legorol | Thrae: i'm not going to explain the details of that one |
06:27.45 | Legorol | let's go back to the instance one, since everyone knows that |
06:27.46 | Corrodias | there's no point in asking us if something is an exploit if you won't explain it |
06:27.51 | Legorol | yes, i agreed on that |
06:28.02 | Legorol | i primarily therefore ask what's the best way to ask Blizzard about it ;-) |
06:28.05 | Nom- | Yeah, it's the auto unstuck thing I think you'll find |
06:28.07 | Legorol | and i also want to discuss the instance method |
06:28.21 | Nom- | And seriously, if it's in the default WoW UI, it's something they can change |
06:28.33 | Nom- | They can't *really* call it an exploit |
06:28.54 | Thrae | Legorol: Email a GM, you'll have to do it via email unless you want the problem solved quickly |
06:28.59 | Nom- | 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.07 | Corrodias | GM's dont know jack |
06:29.22 | Thrae | The GMs / Tech Support people review it first, then pass it along |
06:29.28 | Nom- | 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.38 | Corrodias | it sure is |
06:29.50 | Corrodias | i'm kidding, maybe you'll get an informed response via email |
06:29.55 | Thrae | Most are doing Trained Monkey Acts, but that doesn't stop them from passing it along |
06:30.08 | Thrae | I doubt he'll get a response unless they say "working as intended" |
06:30.09 | Nom- | I think you'll find that there are a few GM's working @ Blizzard who are smarter than you :) |
06:30.29 | Corrodias | of course; most people are |
06:30.39 | Nom- | We had at one stage a guy with a double PHD working on our helpdesk |
06:30.45 | Nom- | Just because he couldn't find anything else |
06:30.50 | Thrae | Legorol: Anyway, email away, then your responsibility is over |
06:31.08 | Thrae | Nom-: What were his PHDs in? Obscure dead languages? |
06:31.23 | Nom- | ermm no, not sure |
06:31.44 | Nom- | I believe one was Physics related |
06:31.48 | Thrae | If they were in Computer Science, then what kind of hick town did you live in ;) |
06:31.49 | Nom- | Not sure what the other one was |
06:31.57 | Bleeter | I once worked on the helpdesk for a system I co-developed three years earlier. |
06:32.02 | Thrae | Ahh yes Physics |
06:32.18 | Bleeter | Annoying 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.19 | Nom- | We, right now, have CCNP trained staff on our Helpdesk |
06:32.28 | Bleeter | and then the vendor had to work it out |
06:32.35 | Nom- | Network jobs are hard to come by at the moment' |
06:32.36 | Bleeter | of course, they'd ring me and ask what I thought was up |
06:32.46 | Thrae | Not in Maryland |
06:32.47 | Nom- | Either that, or they don't want to work in that field |
06:32.52 | Bleeter | I'd start with 'this place is a joke'.. and tell them the details |
06:32.57 | Thrae | Maryland is IT heaven due to the government |
06:33.29 | Thrae | "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.29 | Legorol | It's sometimes so difficult with you people... *sigh* |
06:34.38 | Legorol | I agree that Blizz probably won't ban anyone over the instance porting thing |
06:34.45 | Corrodias | you're the one who speaks in riddles and you call us difficult |
06:34.46 | Bleeter | Legorol: maybe the hacks@ email address would be the one to ask |
06:35.00 | Legorol | But do you not think that it's an exploitative behaviour of unintended side effect of a game mechanic? |
06:35.12 | Legorol | Bleeter: thanks |
06:35.29 | Bleeter | don't quote me fully on the LHS of the address, I just know there's one for that |
06:35.37 | Bleeter | sorry for not bringing it to mind sooner |
06:35.38 | Thrae | Legorol: Are you asking that for an ethical definition or a definitive one? |
06:35.50 | Legorol | ethical |
06:35.58 | Legorol | becuase there is no definitive, at least not in this channel |
06:36.03 | Legorol | only Blizz has the definitive |
06:36.39 | Legorol | For example, contrasting it with exploitative pulling of bosses in raid instances |
06:36.47 | Legorol | magnitude is not the same obviously |
06:37.04 | Corrodias | it 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.18 | Corrodias | but i have set more conditions on this than you have |
06:37.45 | Thrae | If 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.04 | Corrodias | as for decisions of ethics and morality, i defer those to the flying spaghetti monster |
06:38.15 | Corrodias | he tells me he doesn't really care one way or the other about hearthing |
06:38.55 | Thrae | You know, we really should be tackling the REAL ethical questions here... |
06:38.56 | Nom- | Corrodias++ |
06:39.02 | Thrae | Namely, the Bubble-Hearth implications! |
06:39.12 | *** join/#wowi-lounge Cera (n=Cera@67.169.136.42) |
06:39.14 | Corrodias | oh no, the paladins will be unstoppable! |
06:39.15 | Nom- | 1. Should you really care? It's a virtual world. |
06:39.42 | Nom- | 2. If the answer to question 1 is 'Yes', then why do you care, it's a virtual world? |
06:39.44 | Thrae | I remember that comic where a Blood Elf Paladin and Dwarf Paladin spot each other, and they both bubble-hearth. Classic. |
06:39.50 | Corrodias | yes, i play the game and i care what happens |
06:39.56 | Bleeter | bypassing 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.04 | Corrodias | what -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.22 | Corrodias | Bleeter: you're wrong |
06:40.30 | Bleeter | because 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.38 | Corrodias | what are you, some kind of false prophet? |
06:40.54 | Bleeter | ? |
06:40.58 | Bleeter | WOT?! |
06:41.46 | Thrae | I think everyone should have a free teleport to --somewhere-- with no cooldown |
06:42.17 | Thrae | Call it the "Hopelessly Lost" teleport. Those that get lost often would probably have their HS on cooldown ;) |
06:42.18 | Bleeter | Thrae: roll a mage! :P |
06:42.33 | Thrae | Bleeter: Or Shaman or Druid |
06:42.54 | Tem | that's the one thing I miss the most about being a mage |
06:42.57 | Bleeter | mages got more destinations |
06:43.01 | Bleeter | tem++ |
06:43.03 | Corrodias | mages 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.23 | Bleeter | Corrodias: mages use *magic* to do it. 'coz, they're like.. mages |
06:43.26 | Tem | Corrodias, play a mage for a long while then level something else |
06:43.35 | Tem | the hearthstone cooldown is a killer |
06:43.38 | Bleeter | Tem: yup, that sux. |
06:43.39 | Thrae | I'm not talking something as complex as Mage Portals or a hearth to the capital cities |
06:43.43 | Corrodias | yeah... i have a mage alt. |
06:43.55 | Tem | I'm *constantly* wanting to port when it's on cooldown |
06:44.00 | Thrae | I'm talking something like Druid's Teleport: Moonglade |
06:44.31 | Tem | on my shaman it was a lot easier, though |
06:44.32 | Thrae | I know, no matter how lost or surrounded by high-level mobs I get into, I can always just go to Moonglade |
06:44.38 | Bleeter | while we're at it, I think boat/zepp travel times are too long. it should all be instananeous. |
06:44.47 | Bleeter | same with flying |
06:44.59 | Bleeter | actually, fighting mobs takes too long as well. they should just all die when I login |
06:45.05 | Thrae | The beauty of Teleport: Moonglade's balance is that it takes freaking forever to go anywhere |
06:45.06 | Corrodias | moonglade is 6 minutes from orgrimmar, but better than nothing |
06:45.06 | Tem | back 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.20 | Tem | so I took my shaman to shatt and set his hearth there |
06:46.21 | Bleeter | Tem: I got my 55 LW to shat via a mage portal on live, in I think around 2.0.5 for training |
06:46.21 | Tem | so I was a mage every 15 minutes |
06:46.21 | Corrodias | apparently you can get low level characters into outland that way, but not in netherstorm. from what i hear. |
06:46.21 | Corrodias | someone told me netherstorm doesn't allow warlock summoning or something. :/ |
06:46.21 | Tem | yeah I don't really care about netherstorm |
06:46.21 | Corrodias | netherstorm is poo |
06:46.21 | Thrae | Corrodias: The free one is ~7-8 minutes to Thunder Bluff, the ~30s one is ~2-3 minutes to Ogrimmar |
06:46.21 | Tem | I'm more interested in the shatt -> azeroth portals |
06:46.40 | Corrodias | it takes that long to get to Winterspring, and from there it still has to go to Org |
06:47.00 | Thrae | Corrodias: Well it's still a lot shorter then going to TB |
06:47.17 | Bleeter | well, 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.56 | Bleeter | I 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.11 | Thrae | Bleeter: I don't think "Teleport: Moonglade" was ever intended as a "free anytime teleport" |
06:48.13 | Corrodias | it can't possibly be the best solution because that wouldn't benefit me |
06:48.19 | Thrae | So maybe I've been exploiting all these years! |
06:48.45 | Bleeter | Thrae: i dunno 'bout that. Druids look after themselves...? 9as a propsition, not as fact) |
06:48.48 | Corrodias | teleport: moonglade is more situational than midget gorilla repellant. |
06:49.04 | Thrae | I use it when my HS is up |
06:50.05 | Thrae | Bleeter: Anyway, your sarcasm doesn't fit into this particular conversation |
06:50.55 | Thrae | World 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.56 | Corrodias | i hear priests want more pvp survivability |
06:51.05 | Corrodias | why don't they just ask for permanent invincibility? GOD! |
06:52.44 | Corrodias | this exploits forum doesn't list anything about free hearths (although it has multiple threads about setting a hearth point outside cities) |
06:53.15 | Thrae | Bleeter: 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.20 | exge | hi |
06:53.25 | exge | can some1 help me with my mod |
06:53.32 | exge | http://www.file-post.com/view_code.php?id=242 |
06:53.35 | Corrodias | i probably can't, but maybe someone else |
06:53.58 | exge | ok .. so who can =( |
06:54.31 | *** part/#wowi-lounge Cera (n=Cera@67.169.136.42) |
06:54.34 | Thrae | The right side of my brain is asleep, sorry |
06:54.38 | exge | lol |
06:54.47 | exge | know any forums i can go to? |
06:55.10 | Thrae | wowinterface has forums, wowace.com has forums, worldofwarcraft.com has forums |
06:55.24 | Legorol | Mage portals can stil take you to Outland at any level |
06:56.04 | Cairenn | someone 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.33 | exge | lol yea |
06:56.35 | Tierrie | I fixed my problem |
06:56.37 | Tierrie | so happy |
06:56.40 | Tierrie | ok which guy |
06:56.45 | Corrodias | i don't know enough about wow/lua |
06:56.45 | Calliee|Work | exge: the actuall files in the SV folder only get written when the UI reloads or you exit the game |
06:56.50 | Tierrie | exge? |
06:56.54 | exge | yes |
06:56.59 | exge | it writes but its blank |
06:57.10 | exge | i dont quite understand the tutorial for this on wowiki |
06:57.17 | Calliee|Work | ok, let me take another look real quick |
06:57.19 | exge | see here http://www.file-post.com/view_code.php?id=242 |
06:57.41 | nuoHep | "t" is not really a good name for a saved var %) |
06:57.55 | Thrae | exge: Did you declare the database under "SavedVariables: YourAddonDB" in your TOC file? |
06:58.01 | exge | yes |
06:58.06 | exge | all my files are here http://www.file-post.com/view_code.php?id=242 |
06:58.57 | Tierrie | what seems to be the problem? |
06:59.13 | exge | he table that gets written to the external file is always t = {} |
06:59.19 | exge | even though i added users in game |
06:59.37 | Tierrie | when write to the file? |
06:59.44 | exge | yes |
06:59.46 | *** join/#wowi-lounge seebs_ (n=seebs@mail.seebs.net) |
06:59.51 | Tierrie | well you localized it at line 4 |
06:59.55 | exge | yea |
07:00.04 | Tierrie | so it creates a local copy of t = {} |
07:00.08 | exge | i was folloiwng the tut |
07:00.16 | exge | ok, so i remove the local? |
07:00.17 | Tierrie | oh link the tutorial |
07:00.27 | exge | kk wait |
07:00.41 | exge | http://www.wowwiki.com/HOWTO:_Save_Variables_Between_Game_Sessions |
07:00.42 | nuoHep | it does not create anything. table_users is pointer to t |
07:01.29 | Thrae | exge: 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.41 | exge | ok i'll try |
07:03.08 | Thrae | exge: 2) On "ADDON_LOADED" with arg1="YourAddonName", do "if not GuildKarmaDB then GuildKarmaDB = {} end" |
07:03.33 | Calliee|Work | yeah, best to use the addon's name for your SV file, that way it's easily identifiable |
07:04.52 | Thrae | exge: After that if, do "table_users = GuildKarmaDB". (change the "local table_users = t" line to "local table_users") |
07:05.11 | exge | i dont have ADDON_LOADED |
07:05.27 | Calliee|Work | you need to add that line |
07:05.36 | Thrae | exge: 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.04 | exge | ok .. http://www.file-post.com/view_code.php?id=243 .. is it like this |
07:17.15 | exge | now i get |
07:17.26 | *** join/#wowi-lounge ckknight (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com) |
07:17.37 | exge | bad argument #1 to 'insert' (table expected got nil) |
07:20.45 | Tem | generally, in irc, @ is channel op, + is voiced... |
07:20.48 | Tem | what is %? |
07:21.01 | Calliee|Work | a screwed up @ |
07:21.34 | Tem | I was kinda hoping for "half op" |
07:21.36 | Thrae | Tem: half-op. All the powers of an op, but an op still trumps them. |
07:21.48 | Tem | so they can't lift a ban by an op? |
07:22.37 | Thrae | Tem: 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.55 | Tem | oh good |
07:23.02 | Tem | there's a renegade op who doesn't like me |
07:23.04 | exge | ermm .. i still cant get it |
07:23.09 | Tem | but I'm buddy buddy with the half ops |
07:23.47 | exge | all i need is to store,view,and write to a table like so {{1st col}{2nd col}} |
07:24.08 | Tem | (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.28 | Tem | some people have really obvious buttons |
07:24.34 | Tem | it's so hard to resist pushing them... |
07:25.02 | Tem | Thrae, what's above op? |
07:25.18 | Thrae | Tem: You Ace and Dongle devs, sheesh... |
07:25.32 | Tem | hmm? |
07:25.40 | Thrae | Tem: ircop |
07:25.44 | Cairenn | Tem: network staff |
07:25.45 | Tem | ~, for example |
07:25.58 | Tem | what's that one stand for? |
07:26.08 | Calliee|Work | exge: you need to also change your insert |
07:26.13 | Thrae | Uhh, he likes to surf? |
07:26.39 | *** join/#wowi-lounge batrick (i=batrick@d00-64-106-86-242.dhcp.unm.edu) |
07:26.43 | Calliee|Work | you'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.48 | exge | so i change from table_users to GuildKarmaDB ?? |
07:27.56 | Thrae | Tem: 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.15 | ckknight | I take offense, Thrae |
07:29.19 | Legorol | that's because spirited debates are fun! |
07:29.24 | Legorol | and i even get convinced sometime |
07:29.36 | Corrodias | Tem: i believe ~ as a channel rank is administrator/owner/whatever you want to call it |
07:29.47 | Bleeter | norgs: i dun wanna know how |
07:29.47 | Tem | ah okay |
07:29.49 | Legorol | norgs: who said anything about sleep |
07:29.52 | Tem | then I'm only missing one |
07:29.53 | Tem | & |
07:30.12 | *** join/#wowi-lounge tedrock (n=tedrock@d235-157-65.home1.cgocable.net) |
07:30.13 | Corrodias | meh, these tricks are all old and crusty |
07:30.43 | norgs | nevermind... i thought you were meant to be heading to slumberland |
07:30.44 | Thrae | ckknight: I'm just saying, you all have "strong convictions" ;) |
07:30.44 | Calliee|Work | exge: post your current code (I'm really guessing here cuz I can't see the current code) |
07:30.57 | ckknight | yea, not gonna argue that |
07:31.12 | Thrae | exge: use pastey.net for posting code, it has Lua syntax highlighting |
07:31.25 | Thrae | As well as WoW API highlighting |
07:31.29 | Tem | and diffs! |
07:31.32 | Tem | <3 diffs |
07:31.53 | Cairenn | Paste Code Here: http://wowi.pastey.net |
07:31.58 | Cairenn | (from the channel topic) |
07:32.03 | exge | ok i repaste |
07:32.34 | Nom- | So sleepy |
07:33.29 | Calliee|Work | work? |
07:33.59 | Nom- | Yeah, work :( |
07:34.00 | Cairenn | ppft, trivial details |
07:34.19 | exge | ok its here http://wowi.pastey.net/8680 |
07:34.31 | Nom- | Calliee|Work: Where abouts are you? |
07:36.25 | Calliee|Work | ok, part of the problem is that you've got your table_users defined as part of the conditional |
07:36.41 | exge | ermm .. ok which line is that |
07:36.50 | Calliee|Work | swap lines 20 and 21 |
07:37.01 | wereHamster | is there a point in having table.bsearch()? why not simply use table_users[player] ? |
07:37.34 | exge | wereHamster:0o .. i didnt know that existed .. thx |
07:37.46 | Calliee|Work | actually I live in Fargo, I just work nights |
07:37.59 | Nom- | oic |
07:38.05 | exge | ok i swapped line 20 and 21 testing now |
07:38.29 | wereHamster | exge, http://lua-users.org/wiki/TablesTutorial -> Tables as dictionaries |
07:38.38 | exge | still get error |
07:38.49 | exge | table expected got nil |
07:39.04 | Calliee|Work | ok, then there's more to the problem, let me take another look |
07:39.10 | exge | ok thx |
07:40.28 | norgs | maybe i'm blind, but I can't see where Addon_Loaded() is getting called |
07:40.41 | exge | errm .. im not sure too |
07:41.05 | *** join/#wowi-lounge Elkano (i=Elkano@client1014.vpn.uni-saarland.de) |
07:41.10 | Nom- | err |
07:41.22 | Nom- | move the table_users out of the conditional |
07:41.33 | exge | now it is |
07:41.52 | exge | that code ... is old now .. i just made the changed that Calliee told me |
07:41.52 | Nom- | then chances are that arg1 isn't "Guild Karma" ? |
07:41.55 | Nom- | Try outputting that |
07:42.05 | exge | ok i try |
07:42.09 | Nom- | print out arg1 as debug info |
07:42.18 | Calliee|Work | good thought |
07:42.56 | norgs | I don't know what's in the .xml file, but are you sure Addon_Loaded is being called? |
07:43.38 | exge | addon loaded is not called |
07:43.44 | exge | the xml just calls the onload function |
07:44.09 | Nom- | Well thar's ya problem |
07:44.25 | Calliee|Work | hehe |
07:44.25 | exge | erm .. ok .. what do i put in the xml file |
07:44.31 | exge | i currently have onload,onevent |
07:44.41 | norgs | what's in OnEvent? |
07:44.47 | exge | its blank |
07:45.41 | Nom- | Ok, from what I can see |
07:45.46 | Nom- | ADDON_LOADED != OnLoad |
07:45.57 | exge | ?? |
07:46.03 | Nom- | ADDON_LOADED is generally what you'd use to trap another addon being loaded ? |
07:46.15 | exge | o |
07:46.21 | Nom- | 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.32 | exge | thrae told me to add that line |
07:46.49 | Nom- | I could be wrong, but that's what I would think... |
07:47.00 | exge | this is actually my 1st addon .. |
07:47.06 | Shadowed | Nom-: What line you talking about? |
07:47.08 | exge | so i wouldnt be surprised if its totally wrong |
07:47.12 | norgs | ok, 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.12 | Thrae | Nom-: I told him to initialize his database in ADDON_LOADED |
07:47.33 | Cairenn | night guys |
07:47.39 | Nom- | Thrae: Shouldn't that be done in OnLoad ? |
07:47.41 | exge | night |
07:47.48 | exge | errmm ..ok im very confused |
07:48.07 | exge | can you make a small mod for me that does nothing cept allow you to save,read from a db file |
07:48.14 | exge | and the rest i'll go figure myself |
07:48.58 | Calliee|Work | I think you're right, we should be using OnLoad |
07:49.19 | Thrae | I've always used ADDON_LOADED myself *shrugs* |
07:49.45 | Nom- | ADDON_LOADED is fired whenever any addon is loaded |
07:50.00 | Thrae | Nom-: Which is why you check for arg1==YourAddonName |
07:50.07 | Nom- | 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.09 | Thrae | Which is what I told exge to do |
07:50.25 | Nom- | That's a very evil way to do it :) |
07:50.32 | exge | i think its easier if some1 makes a mod doing just db IO, and i can figure out from there |
07:50.40 | Nom- | There's an OnLoad method on addons for a reason :) |
07:51.02 | Thrae | Nom-: OnLoad is for the frame, not the addon. Frames are not "attached" to any particular addon. |
07:51.43 | Nom- | Yeah, i know, but the OnLoad handler is there for a reason |
07:51.58 | exge | errm .. ok when you decided whats the best way ... teach me |
07:52.07 | Nom- | ok well it hink i can see the issue tho |
07:52.12 | Nom- | function OnLoad() |
07:52.16 | Nom- | That MUST be called somewhere |
07:52.20 | exge | it is |
07:52.28 | exge | its called in the XML file <Onload> |
07:52.33 | Nom- | And you need to register Addon_Loaded as a handler fo the ADDON_LOADED event |
07:52.47 | Thrae | Nom-: Wouldn't using OnLoad to initialize your addon be just as evil, as it is "intended" for initializing a frame? |
07:52.55 | exge | ok i think i get it ... lemme try |
07:53.48 | Nom- | So, I mean, that's all good and well that you've registered for events ADDON_LOADED |
07:53.52 | Thrae | Really, the whole "you need a frame to capture events" thing is kinda silly to me. |
07:54.00 | norgs | ok, but isn't a frame's OnLoad called before VARIABLES_LOADED? |
07:54.01 | Nom- | but you need to trap that event somwhere and call the Addon_Loaded function |
07:55.00 | exge | erm ... im very confused now |
07:55.17 | exge | just show me how you do it ... i prefer to learn from sources |
07:55.23 | Thrae | RegisterEvent, UnregisterEvent, and SetScript should be given to UIObject |
07:55.29 | Nom- | this:RegisterEvent("ADDON_LOADED"); just says that your addon wants to know about those events |
07:56.25 | Nom- | http://www.wowwiki.com/Events_(API) |
07:56.36 | Nom- | <PROTECTED> |
07:56.40 | Nom- | Look @ that |
07:57.30 | exge | i looked at that |
07:57.40 | Thrae | Or maybe a new widget, "UIState", etc. |
07:58.00 | Nom- | So you've setup a <OnEvent></OnEvent> section in your XML ? |
07:58.04 | exge | yes |
07:58.23 | Nom- | Which method does it call in that code ? |
07:59.04 | exge | its just there cos its there ... its <OnEvent></OnEvent> ... its blank |
07:59.12 | Nom- | Right, you need to call a method from there |
07:59.18 | norgs | (maybe it'd be good to pastey your xml file as well |
07:59.28 | Nom- | Probably the OnEvent method you've setup |
07:59.43 | exge | ok .. i re paste everything ... then hopefully ... you can help me ... |
08:01.06 | exge | ok http://wowi.pastey.net/8681 |
08:02.23 | Nom- | <OnEvent> MyEventHandler(self, event, ...) |
08:02.24 | Nom- | </OnEvent> |
08:02.40 | Nom- | http://www.wowwiki.com/UI_Best_Practices <-- just look at that...it's about 3/4 down the page |
08:03.06 | Nom- | "XML calling Lua function" is the heading |
08:04.39 | exge | errm .. ok .. why dont you try and see whats wrong with my code |
08:04.55 | Nom- | You need to call your event handler in the XML like in that example |
08:05.16 | Nom- | And then you need some LUA (again like that example) to forward to your Addon_Loaded method |
08:05.44 | Corrodias | interesting |
08:06.21 | Corrodias | these 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.38 | Nom- | lol which post Corrodias ? |
08:06.56 | Corrodias | eh, i shouldn't even start this. it's an argument that's been played out for years and continues raging |
08:07.01 | Corrodias | http://www.notaddicted.com/forums/showthread.php?t=975 |
08:07.51 | Corrodias | i suppose if he likes a game like that, i hope he finds one, but i'd never play it |
08:08.00 | Corrodias | i like to enjoy my games :P |
08:09.44 | exge | still dont work |
08:10.05 | exge | its easier if i have a mod that just does DB IO ... and im ok |
08:12.32 | Corrodias | "The Blood Elves are Blizzards answer to their biggest competitor; Saved by the Bell re-runs." |
08:13.39 | wereHamster | exge, define DB IO |
08:14.19 | Nom- | exge: What have you done so far? |
08:14.45 | exge | i posted it in pastey |
08:14.59 | exge | DB IO = Database Input/Output |
08:15.27 | wereHamster | exge, your OnEvent function is still empty |
08:15.31 | Nom- | Yeah, what have you changed since the last post? |
08:15.43 | exge | ok i'll re update |
08:15.52 | Nom- | Just reply to the pastey with the changes |
08:17.13 | exge | ok i replied http://wowi.pastey.net/8682 |
08:18.03 | wereHamster | you sure arg1 is "Guild Karma" ? |
08:18.07 | exge | yes |
08:18.10 | Nom- | ok in MyEventHandler you need to check the type of event |
08:18.23 | Nom- | if event == "ADDON_LOADED" then ... |
08:18.43 | exge | can you reply there |
08:19.14 | wereHamster | do siomething like: DEFAULT_CHAT_FRAME:AddMessage("OnEvent called on frame "..tostring(frame)..", "event is "..event..", arg1="..(arg1 or "nil")) |
08:20.29 | exge | errm .. ok .. this is my 1st addon .. so im realllyy new at this stuff |
08:20.59 | exge | can some1 just make a mod for DB IO ... and i can handle it |
08:21.24 | Nom- | Why don't you just grab one of the many addons out there and have a look' |
08:21.30 | exge | i did |
08:21.38 | exge | but they have too much other distracting code |
08:21.52 | Nom- | Basically you're halfway there, I think, you're just not following the idea of catching events end sending those calls off |
08:22.10 | exge | yea .... im not lol |
08:22.50 | exge | surely when you 1st modding, you have some crap projects that have just what i need? |
08:23.08 | exge | well ... i did when i was learning c |
08:24.11 | wereHamster | http://wowi.pastey.net/8683 |
08:25.14 | exge | thx ... i'll try to work with that |
08:26.01 | Nom- | That's what I was trying to direct you to without writing it for you lol |
08:26.48 | exge | Nom:ahh .. well i learn by looking at src ... thats always been the case for me |
08:27.01 | wereHamster | it wasn't that hard.. just a few lines.. certainly less than you've written here in this IRC channel :P |
08:27.39 | exge | do i still need this line |
08:27.39 | exge | table_users = GuildKarmaDB |
08:28.08 | wereHamster | not needed. you can use GuildKarmaDB directly |
08:28.18 | exge | ok thx ... im gonna try now |
08:29.03 | *** join/#wowi-lounge [dRaCo] (i=drc@p5485BDDC.dip0.t-ipconnect.de) |
08:30.02 | exge | i dont think i can use this |
08:30.04 | exge | GuildKarmaDB = {} |
08:30.08 | exge | cos i need a 2 col table |
08:30.13 | Calliee|AFK | Break time, bbiab |
08:30.24 | wereHamster | '2 col' ? |
08:30.39 | exge | 2 columns |
08:30.48 | exge | PlayerName | Points |
08:31.24 | wereHamster | GuildKarmaDB[PlayerName] = Points |
08:31.30 | wereHamster | .. only one table needed |
08:31.42 | exge | ok |
08:31.57 | wereHamster | 08: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.19 | exge | ok .. assuming i prefer 2 columns tables ... how do i do it |
08:34.02 | exge | nvm i still get a error |
08:34.10 | exge | bad argment #1 |
08:34.20 | exge | to insert table expected got nil |
08:34.37 | Corrodias | day in, day out, all we know: things are better with rock |
08:35.35 | wereHamster | having 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.47 | exge | ahh ok |
08:36.47 | exge | i use that then |
08:36.47 | exge | il go test |
08:36.58 | exge | yes! it works thanks |
08:37.05 | exge | now ... for problem number 2 |
08:37.11 | exge | how do i read data from it |
08:38.37 | wereHamster | local Points = GuildKarmaDB[PlayerName] |
08:39.34 | exge | ahh ok thx |
08:39.38 | exge | testing again |
08:42.35 | exge | ok works again! |
08:45.48 | exge | ermm ok .. why doesnt sum(GuildKarmaDB) work |
08:45.48 | wereHamster | whats sum() ? |
08:45.48 | wereHamster | what does it do? |
08:45.50 | exge | im trying to get total num of rows |
08:46.05 | wereHamster | did you write it? |
08:46.09 | wereHamster | .. the function? |
08:46.13 | exge | no |
08:46.18 | exge | lol ... |
08:46.23 | exge | how do i count total rows |
08:46.24 | wereHamster | why did you assume it exists? |
08:46.32 | exge | idk really |
08:46.52 | exge | so how do i do it |
08:51.17 | wereHamster | table.getn() or '#' works only on tables with integer indices.. so you'll have to write your own sum() |
08:52.16 | exge | err .. ok how do i go about it |
08:52.40 | wereHamster | function sum(t) local i=0; for _ in pairs(t) do i=i+1; end return i; end |
08:57.48 | exge | ok thx ... how do i get the row numbr of player |
08:59.11 | wereHamster | if you use teh table as a dictionary, then there's no 'row' |
08:59.24 | Corrodias | what's the auchindoun instance with exarch maladaar? |
08:59.45 | exge | o ok |
08:59.50 | exge | so how do i do table.remove |
09:00.16 | wereHamster | GuildKarmaDB[PlayerName] = nil |
09:00.58 | exge | that will remove only the points .. i want to remove the player completely |
09:01.13 | wereHamster | it wil lremove the player completely |
09:01.24 | exge | ok thx |
09:03.26 | exge | when i did it ... it removed the points only |
09:03.29 | exge | the player remained |
09:03.46 | wereHamster | what do you mean by 'the player remained'? |
09:03.55 | krka | probably in the game |
09:04.03 | krka | we don't really have the authority to ban people from lua |
09:05.05 | exge | its not ban |
09:05.19 | exge | just that when a player leaves the guild .. i no longer want to keep him in the list |
09:05.39 | wereHamster | GuildKarmaDB[PlayerName] = nil wil lremove him from the table.. completely |
09:06.24 | exge | idk ... mine just removed the points .. ahh well ... thats minor thx |
09:06.46 | wereHamster | what makes you think he's still in teh table? |
09:07.03 | wereHamster | GuildKarmaDB[PlayerName] will return nil, and sum() won't count him anymore.. |
09:07.13 | exge | cos i opened the file manually lol |
09:07.53 | wereHamster | .. so you didn't save the updated GuildKarmaDB |
09:08.00 | exge | ?? |
09:08.30 | wereHamster | did you log out/log in or at least reloaded the UI after you 'GuildKarmaDB[PlayerName] = nil' ? |
09:08.55 | exge | i logged out |
09:09.11 | exge | if you cant fix it its ok |
09:09.22 | exge | the main problem has been fixed and im very happy lol |
09:12.47 | wereHamster | exge, can you post your lua code? I'd liek to take a look why the saved variables aren't saved properly |
09:13.57 | exge | now its saved properly lol |
09:14.03 | exge | ok i'll post it |
09:16.59 | exge | http://wowi.pastey.net/8684 |
09:19.57 | wereHamster | http://wowi.pastey.net/8684?hi=87 - why? |
09:20.48 | exge | errmm then what do i do |
09:21.24 | wereHamster | you usually use the table as a dictionary or as a list, but not both at the same time |
09:21.41 | wereHamster | besides.. you insert, but never remove |
09:21.42 | exge | ok thx |
09:21.46 | exge | now it works hehe |
09:23.03 | exge | thx all |
09:23.10 | wereHamster | you really should read some tutorials.. lua-users.org and wowwiki.com |
09:23.27 | exge | ahh ok |
09:23.34 | exge | cyas all |
09:25.28 | norgs | wham, bam, ... |
09:49.51 | Shadowed | Whoo, second person ever to ask me to move an addon to ace |
09:51.06 | Elkano | I don't know what you coded, but please convert it to Ace! ;) |
09:51.16 | Shadowed | ~bonk Elkano |
09:52.10 | Shadowed | I think the bot died :( |
09:53.30 | nevcairiel | ~slap |
09:53.56 | Elkano | ~ping |
09:53.57 | purl | pong |
09:54.13 | Elkano | ~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.26 | MegaMan | 4,00heyall |
11:55.34 | nevcairiel | you should seriously get rid of the colors |
11:55.55 | MegaMan | Done ;p |
11:56.05 | nevcairiel | better |
11:56.06 | nevcairiel | :) |
11:56.15 | MegaMan | so howz yall doin ? |
11:57.14 | MegaMan | so its like a WOW chatroom ? |
11:57.19 | *** join/#wowi-lounge Srosh (n=Srosh@c155246.adsl.hansenet.de) |
11:57.33 | nevcairiel | its a chatroom for wow addon developers |
11:58.05 | MegaMan | OUCH |
11:58.36 | MegaMan | humm so im lookin 4 some info bout the game , where should i go ? |
11:58.48 | MegaMan | (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.53 | clad|work | hrm |
12:23.57 | clad|work | that was interesting |
12:26.10 | zenzelezz | I don't usually think of sleep as interesting |
12:28.24 | wereHamster | dreams can be interesting.. |
12:28.40 | zenzelezz | if you remember them |
12:28.45 | zenzelezz | I usually don't :-/ |
12:31.00 | clad|work | i meant MegaMan =) |
12:31.12 | *** join/#wowi-lounge Lej (n=WinNT@81-235-141-90-no63.tbcn.telia.com) |
12:32.46 | Calliee|Work | hehe |
12:51.05 | Lej | If 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.32 | wereHamster | Lej, google for "site:wowwiki.com hook function" |
12:55.46 | Lej | I'm reading there now :) |
13:01.27 | Lej | It's the module: in the function name that is cunfusing me. Trying to find what it means. function module:OrganizeFrame(needs) |
13:02.16 | Lej | I 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.25 | wereHamster | local oldfunc = module.OrganizeFrame; module.OrganizeFrame = function(self, needs) ... oldfunc(self, needs) end |
13:04.08 | Lej | module.OrganizeFrame when it's called mudule:OrganizeFrame? :/ |
13:04.09 | wereHamster | module:OrganizeFrame(arg1) is just syntactic suggar for module.OrganizeFrame(self, arg1) |
13:04.22 | Lej | ok |
13:04.25 | Lej | I see |
13:06.20 | Lej | so 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.13 | wereHamster | yes |
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.21 | Lej | hmm when hooking, how would I make sure that the other addon has loaded first? |
13:37.44 | wereHamster | addon dependecies |
13:38.05 | Lej | ok I used than, so then something else is wrong. |
13:38.23 | Lej | Maybe it has to do with it beeing an ace2 addon |
13:38.31 | Lej | or I just suck |
13:40.01 | Lej | got 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.28 | JoshBorke | it means module doesn't exist |
13:41.31 | Lej | wereHaster was telling me that was the way to save a function defined with "function module:OrganizeFrame(needs) ... end" |
13:41.54 | haste | "wereHaster" :D |
13:42.02 | Lej | oops |
13:42.05 | Lej | wereHamster |
13:42.28 | Lej | either it not or I'm doing something wrong |
13:42.35 | kaso | Lej |
13:42.47 | wereHamster | Lej, true, but the error message you're getting tries to tell you that 'module' is nil, eg. does not exist |
13:42.50 | kaso | if its a Ace Addon it is entirely possible that module is local to that addon |
13:42.54 | JoshBorke | you're probably trying to hook a function that uses embedded design |
13:43.22 | Lej | kaso: ok, and that means no way to hook? |
13:44.00 | JoshBorke | what are you trying to hook? |
13:44.03 | JoshBorke | OneBag? |
13:44.05 | Lej | yes |
13:44.09 | kaso | depends how the addon is layed out really |
13:44.27 | JoshBorke | you 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.52 | Lej | ok, that didn't give an error at least |
13:49.23 | *** join/#wowi-lounge beerke (n=beerke@5353E179.cable.casema.nl) |
13:49.42 | Lej | OneBag.OrganizeFrame = OneBagPockets_OrganizeFrame(needs); doesn't seem to work tho? |
13:50.05 | JoshBorke | you need: OneBag.OrganizeFrame = OneBagPockets_OrganizeFrame(self,needs); |
13:53.13 | Lej | ok now it runs once at load. I made OneBagPockets_OrganizeFrame() just print "hooked" |
13:54.11 | Lej | which is weird as after looking through the code I thought it ran everytime it needed to place the itemslots |
13:54.48 | Lej | time to look closer |
13:57.54 | kaso | How do you put an item in a particular slot, rather than just a bag? |
13:58.31 | JoshBorke | PickUpContainerItem(<bag>,<slot>)? |
13:58.46 | kaso | does that put it down if the slot is empty? |
13:59.10 | JoshBorke | it puts something down if something is on the mouse |
13:59.18 | kaso | ah didnt know that |
13:59.20 | kaso | awesome thanks |
13:59.29 | JoshBorke | pretty sure that's how it is done anyway |
13:59.36 | *** join/#wowi-lounge bindi (n=indigo@d54C68DEA.access.telenet.be) |
14:03.37 | Lej | Hm still having trouble |
14:04.10 | Lej | If I add a print text to the function in OneCore.lua it's printed everytime the slot layout is changed |
14:04.16 | Lej | but if I hook like |
14:04.36 | Lej | JoshBorke recommended it only prints the text once at laod |
14:05.07 | JoshBorke | hook OneCore.OrganizeFrame then |
14:05.13 | Lej | same problem |
14:05.15 | Lej | tried |
14:06.32 | wereHamster | < JoshBorke> you need: OneBag.OrganizeFrame = OneBagPockets_OrganizeFrame(self,needs); |
14:06.58 | wereHamster | that can't be right.. you're _calling_ OneBagPockets_OrganizeFrame and assigning the result of it to OneBag.OrganizeFrame |
14:07.29 | JoshBorke | oh yea, he's right |
14:07.31 | wereHamster | OneBag.OrganizeFrame = OneBagPockets_OrganizeFrame; |
14:07.36 | JoshBorke | what werehamster said |
14:07.42 | Lej | oh, of course |
14:08.05 | JoshBorke | OneBagPockets_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.23 | Lej | heh nice how organizeframe is run 18 times when you open you bag. |
14:12.09 | kaso | Bag events are notoriously bad |
14:12.28 | kaso | blizzzard just says "oh yah something happened in there" |
14:14.01 | kaso | I've just mailed 150 individual spiced bread to my guildie :> |
14:14.30 | wereHamster | .. manually or using a script? |
14:14.33 | kaso | script |
14:15.06 | wereHamster | .. and he'll write a script to collect them all :P |
14:15.34 | kaso | luckly he cant write scripts! |
14:15.38 | Lej | sneak in a 100g COD in there and let's hopw for a stupid script ;) |
14:15.53 | kaso | thats a touch too evil! |
14:15.59 | kaso | i dont wanna be kicked out |
14:16.02 | kaso | just annoy him |
14:16.29 | Lej | Is there any way to access local vars from the addon Im hooking into? |
14:17.06 | wereHamster | local to the file? no |
14:17.23 | Lej | It got it's options saved in a local var :/ |
14:17.58 | wereHamster | OneBagDB.bla.bli = blu |
14:17.59 | Lej | and I don't just want to add something that happens before or after the function is called, but inside :/ |
14:18.10 | wereHamster | SV have to be global |
14:22.06 | *** join/#wowi-lounge sioraiocht (n=rtharper@cpe-74-71-116-245.twcny.res.rr.com) |
14:22.23 | kaso | you may have to write your own branch of the addon in that case. |
14:23.54 | Lej | trying to avoid that |
14:24.07 | Lej | but I think I solved it |
14:24.42 | Lej | they 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.27 | kaso | thats a localised string |
14:26.06 | Lej | ah ok, so it's Bottom on the english locale at least |
14:26.09 | Lej | works for now |
14:29.15 | kaso | Ace's system of localsiation is pretty i mustadmid |
14:29.19 | kaso | must admit |
14:39.35 | Lej | if I do local sizes = { 7, 6, 3 } will sizes[1] return 7 or 6? |
14:39.55 | Lej | >>> local sizes = { 7, 6, 3 }; return sizes[1]; |
14:40.14 | wereHamster | should 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.52 | kaso | what? |
14:41.52 | kaso | that return 7 |
14:41.52 | kaso | unless you table.sort() it |
14:41.55 | kaso | then itd return 3 |
14:42.32 | kaso | Lej the question you ask is, things in lua work of 1 based indices not 0 based |
14:42.39 | Lej | exaclty |
14:48.12 | *** join/#wowi-lounge leethal (n=leethal@kri1-1x-dhcp239.studby.uio.no) |
14:52.25 | wereHamster | err.. me stupid -.- |
14:53.26 | kaso | been programming too much in "normal" languages :<> |
14:54.39 | kaso | what are they callled, Curly bracket programming languages |
14:56.51 | krka | to be more specific, lua table creation and a couple of the standard functions starts counting with 1 |
14:56.57 | krka | ipairs is one of them |
14:57.18 | krka | this works fine though: local sizes = {[0] = 7, 6, 3} |
14:57.58 | zenzelezz | will 6 and 3 be [1] and [2] then? |
14:58.01 | krka | yes |
14:58.13 | *** join/#wowi-lounge Andalia (i=xx@p54ac8849.dip0.t-ipconnect.de) |
14:59.11 | krka | sizes = {[-1] = 7, 6, 3} gives keys -1, 1 and 2 |
14:59.59 | Lej | what's the correct way to do optional arguments in a udf? |
15:00.20 | krka | unified document format? |
15:00.31 | Lej | user defined function :< |
15:01.03 | nevcairiel | lol |
15:01.03 | krka | what do you mean by correct |
15:01.07 | Lej | is there a standard way? |
15:01.15 | krka | personally i like to compare the arguments to nil |
15:01.20 | wereHamster | '...' |
15:01.21 | krka | if they're nil, they're not specified |
15:01.27 | nevcairiel | i think something like function(a = 1) doesnt work in lua, if you mean that. |
15:01.42 | nevcairiel | you have to check it in your func |
15:02.29 | Lej | so if I do: function foo(a, b, c) and then called it by foo(1) b and c will be nil? |
15:02.36 | nevcairiel | yup |
15:04.37 | krka | yes, lua both truncates and fills the argument list to patch the function parameters |
15:06.36 | Lej | http://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.00 | Lej | oh |
15:07.01 | Lej | lol |
15:07.04 | Lej | don't look |
15:07.08 | wereHamster | Sum({ 7, 6, 3 }) -> first is nil |
15:08.08 | nevcairiel | first != 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.31 | Lej | yes ;) |
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.51 | TC_Working | ~moo |
15:49.52 | purl | mooooooooo! 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.26 | Lej | how do you set the font when you create a fontstring with :CreateFontString()? |
16:03.04 | cogwheel|work | either inherit something, or set it after you create it |
16:03.51 | Lej | but how do you set it, can't find a command for it on wowwiki |
16:03.58 | cogwheel|work | :SetFont |
16:03.59 | wereHamster | http://www.wowwiki.com/API_FontInstance_SetFont |
16:04.09 | cogwheel|work | it's a widget api, not a global api |
16:04.47 | Lej | oops 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.10 | Lej | if I create a frame from a virtual frame with a fontstring in it with name $parent_FontString: |
16:14.12 | Lej | pocket.Frames[curPocket] = CreateFrame("Frame", frameName, UIParent, "OneBagPocketsFrame"); |
16:14.53 | Lej | the fontstring will then be called frameName_FontString ? |
16:18.54 | Tierrie | it depends on what you named the virtual frame |
16:19.09 | Tierrie | most people have name="$parentFontString" or "$parent_FontString" |
16:19.38 | Tierrie | so it would be frameNameFontString in the first case, and frameName_FontString in the second |
16:20.02 | Lej | virtual frames name it "OneBagPocketsFrame" the fontstring in it is called "$parent_FontString" |
16:20.13 | Tierrie | then it would be frameName_FontString |
16:20.41 | Lej | problem is I get an error when I do: |
16:20.48 | Lej | local fontStringName = frameName.."_FontString"; |
16:20.58 | Lej | fontStringName:SetText("TEST"); |
16:21.23 | kaso | because fontStringName is a string not a frame :> |
16:21.34 | kaso | you need _G[fontStringName]:SetText("TEST") |
16:22.06 | wereHamster | _G doesn't exist by default, does it? |
16:22.26 | kaso | yah it has since 2.0 iirc |
16:22.50 | wereHamster | nice |
16:22.59 | Lej | _G is? |
16:23.14 | wereHamster | global environment |
16:23.22 | kaso | a table of all global variables indexed by their names |
16:23.39 | kaso | so _G["TEST"]=TEST |
16:23.43 | kaso | as it were |
16:23.47 | wereHamster | http://lua-users.org/wiki/CoreFunctionsTutorial |
16:24.43 | kaso | just doubled checked and yes _G is part of wow enviroment nowadays by default |
16:54.58 | Mr_Rabies2 | so my server -literally- just came up and it's already full |
16:54.58 | Mr_Rabies2 | @_@ |
16:55.17 | cogwheel|work | oh yeah... i actually forgot it was tuesday today >< |
16:55.26 | Mr_Rabies2 | like, 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.21 | Canute | How 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.41 | cogwheel|work | Canute: you have to use http://www.wowwiki.com/API_ListChannelByName and respond to the event it generates |
17:08.42 | Canute | never mind |
17:08.42 | kaso | Canute |
17:08.46 | Canute | heh, found it :) |
17:08.53 | kaso | damn beaten twice! |
17:09.16 | cogwheel|work | That 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.33 | kaso | I 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.25 | wereHamster | does anyone know Cimber of Maelstrom ? |
17:11.46 | wereHamster | http://www.google.ch/search?q=armory+character-sheet |
17:14.12 | Harperjg | Hello everyone! |
17:14.29 | Mr_Rabies2 | castlevania hits xbox live arcade tomorrow /dance |
17:15.06 | Harperjg | !status Tanaris |
17:21.38 | Lej | can 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.59 | Lej | like how you would do array[] = 1 in php for example |
17:22.16 | Lej | would add another index with the value 1 |
17:22.51 | wereHamster | table.insert(array, 1) |
17:23.03 | wereHamster | would append '1' at the end of array |
17:24.41 | Lej | ok, 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.45 | mahiro | hi, 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.13 | kaso | nope |
17:46.40 | kaso | oh wait |
17:46.42 | mahiro | so the check for a~=b uses the same amount as if i dont check that? |
17:46.47 | kaso | let me read your question in more detail |
17:47.50 | kaso | it 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.00 | Canute | so basicly you're wondering if "if a~=b" uses less processing power then "a=b"? |
17:49.14 | mahiro | maybe 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.23 | mahiro | now the question is whether the check saves something or is the same as if the frame updates everytime |
17:50.38 | cogwheel|work | mahiro: you don't need to do multiple ifs... just use the "and" operator |
17:51.15 | cogwheel|work | if c==1 and a ~= b then a = b end |
17:51.40 | mahiro | does it make a difference? |
17:52.03 | cogwheel|work | it's easier to read, for one thing |
17:52.27 | mahiro | well in this example it is^^ |
17:52.29 | cogwheel|work | lua 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.48 | cogwheel|work | s/be end/b end/ |
17:53.13 | cogwheel|work | but you might want to ask in #lua to be on the safe side... |
17:53.18 | Lej | if I have a function that's been passed "self" as an arg can I get the frame name somehow? |
17:53.32 | mahiro | so 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.39 | cogwheel|work | chances are a simple variable copy is cheaper than a comparison unless you're doing a lot more processing |
17:54.22 | wereHamster | mahiro, an assignment doesn't cost anything in lua |
17:54.52 | *** join/#wowi-lounge sioraiocht (n=rtharper@syru196-082.syr.edu) |
17:55.02 | cogwheel|work | mahiro: you should just use RegisterUnitWatch |
17:55.55 | mahiro | cogwheel|work: what does that do? |
17:56.38 | wereHamster | an assignment in lua doesn't copy any data, it's just a pointer assignment, which doesn't cost 'anything' |
17:56.59 | cogwheel|work | wereHamster: the problem isn't the variable copying... it's the call to unitwatch |
17:57.06 | cogwheel|work | s/unitwatch/unitexists/ |
17:58.18 | *** join/#wowi-lounge Jens (i=Jens@pdpc/supporter/active/Jens) |
17:58.29 | cogwheel|work | mahiro: RegisterUnitWatch lets you have a frame change states when a unit comes into/goes out of existence |
17:58.41 | cogwheel|work | you can use the state change to trigger code in your addon |
17:59.40 | mahiro | i cant find any docu on this on wowwiki, do you know where i can find some infos about it? |
18:00.02 | cogwheel|work | FrameXML\UnitWatch.lua |
18:00.35 | mahiro | ahh 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.09 | cogwheel|work | maybe i'm still not quite following what you're trying to do... |
18:09.57 | mahiro | set 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.29 | cogwheel|work | By "set names" do you mean for a unit frame? |
18:18.37 | cogwheel|work | for a variable in your mod? |
18:18.43 | mahiro | yes |
18:18.58 | cogwheel|work | which? >< |
18:19.03 | cogwheel|work | both? |
18:19.10 | mahiro | for a unit frame |
18:19.38 | cogwheel|work | then just update all of your frames whenever RAID_ROSTER_UPDATE or PARTY_MEMBERS_CHANGED fires... |
18:20.33 | mahiro | ok that makes sense:D |
18:20.35 | cogwheel|work | and checking whether the name needs to be changed or not will hardly make even a negligible difference |
18:21.28 | mahiro | ok thx for the help |
18:22.26 | mahiro | hmm 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.29 | mahiro | by 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.19 | cogwheel|work | well, when are you changing it? |
18:31.01 | mahiro | i have a slider in the menu for that |
18:32.18 | mahiro | but i guess that wont change the format till the event is fired... |
18:47.28 | Canute | I 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.01 | cogwheel|work | Canute: 1) you *aren't* using a table. 2) that's not how the split function works. |
18:50.33 | Canute | that's what the answer i hoped to get :) |
18:50.53 | cogwheel|work | strsplit takes the "split" string as its first argument which means you can't use the method syntax like that |
18:51.26 | cogwheel|work | (well, if you did want to use the method syntax it would be (", "):split(people)) |
18:51.54 | Canute | hehe |
18:52.08 | cogwheel|work | Second, it returns multiple values, not a table. |
18:52.38 | cogwheel|work | oh... actually, you're using someone else's split function... |
18:52.58 | cogwheel|work | there's no need... wow has its own built in split function which is what I was thinking about... |
18:53.00 | Canute | didn'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.39 | cogwheel|work | in fact, the way you have that, you'd be breaking split for anyone using string.split in wow... |
18:54.49 | Canute | oh my |
18:54.49 | cogwheel|work | There'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.32 | cogwheel|work | >>> for person in people:gmatch("(.-),?%s*?") do print(person) end |
18:57.32 | cogwheel|work | ~poke cide |
18:57.50 | purl | ACTION cuts down a small tree, sneaks up behind cide, pokes cide repeatedly, hilarity ensues. |
18:57.52 | Cide | try now |
18:57.52 | cogwheel|work | >>> for person in people:gmatch("(.-),?%s*?") do print(person) end |
18:57.52 | Cide | cogwheel|work: [string "for person in people:gmatch("(.-),?%s*?") d..."]:1: attempt to index global 'people' (a nil value) |
18:58.07 | cogwheel|work | >>> for person in ("me, you, him, her"):gmatch("(.-),?%s*?") do print(person) end |
18:58.07 | Cide | cogwheel|work: |
18:58.17 | cogwheel|work | must have the pattern wrong |
18:58.39 | Canute | I've worked with regular expressions before, but that doesn't look like anything like it |
18:58.50 | cogwheel|work | >>> for person in ("me, you, him, her"):gmatch("(.-),?") do print(person) end |
18:58.50 | Cide | cogwheel|work: "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" |
18:58.56 | cogwheel|work | Canute: lua.org/pil |
18:59.56 | cogwheel|work | >>> for person in ("me, you, him, her"):gmatch("(.-),?") do print(person) end |
18:59.56 | Cide | cogwheel|work: "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" |
19:00.01 | cogwheel|work | err... 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.25 | cogwheel|work | I can't think of any reason you *would* be able to do it any other way... |
20:53.51 | cogwheel|work | at least not without changing the code for the standalone interpreter |
20:55.01 | kaso | fair 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.06 | cogwheel|work | even 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.24 | pastamancer | hmm, it would be nice if there were an os.sleep function |
20:55.46 | kaso | it would |
20:58.08 | cogwheel|work | that would require non-standard functions... Lua is all ANSI C |
20:58.31 | kaso | ill 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.31 | foxlit | Question: is there any reason SecureButton:SetAttribute("spell","Abolish Poison"); would make it not cast Abolish Poison? |
21:12.47 | foxlit | (whereas, in the same setup, "Remove Curse" works?) |
21:13.45 | cogwheel|work | How certain are you that the conditions are the same except for the spell? |
21:14.33 | cogwheel|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.24 | Kirkburn|afk | Together now ... awwwwwwww!!! http://www.wowinsider.com/2007/03/20/food-on-the-flying-mount-wing/ |
21:25.16 | cogwheel|work | you should see my cat trying to get something on our wall when we're using our projector >< |
21:25.54 | foxlit | cogwheel|work: buttons are created per unit with a valid ID |
21:26.14 | foxlit | Abolish 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.37 | cogwheel|work | Kirkburn|afk: quoth the wife "OMG that is soooo cute!" |
21:28.46 | Kirkburn|afk | :) |
21:31.32 | Kirkburn|afk | Spot the WoW reference! http://www.myextralife.com/wp-content/uploads/2007/03/robin-thing-1.jpeg |
21:33.17 | Kirkburn|afk | You have to read closely ... |
21:34.15 | Kaso | Thats ui.worldofwar.net isnt it? |
21:34.25 | Cide | methACEtopan? |
21:34.37 | Cide | :P |
21:35.18 | Mr_Rabies2 | i don't see a reference and i read carefully like 3 times :X |
21:35.18 | Kirkburn|afk | You can just make out this page - http://ui.worldofwar.net/ui.php?id=3900 |
21:35.26 | Cide | World of Warcraft .. something something |
21:35.31 | Cide | in the paper |
21:35.35 | Kirkburn|afk | Fourth panel |
21:35.37 | Mr_Rabies2 | hahaha |
21:35.43 | Cide | something about powerful add-on |
21:35.46 | Kirkburn|afk | Check the words next to Page 1 or 2 :P |
21:35.51 | Kirkburn|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.05 | cogwheel|work | haha |
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.45 | Tem | that's odd |
22:00.52 | Tem | I wonder why that's in there |
22:07.56 | Industrial | I dont understand fishing in wow.. |
22:08.29 | Industrial | My 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.37 | foxlit | A button's NormalText is aligned to the center because... (a) It has justifyH="CENTER" or (b) It has <Anchor point="CENTER"/> ? |
22:08.42 | Industrial | are you supposed to only get fish half of the time? |
22:09.00 | foxlit | Fish getting away and response time isn't correlated |
22:09.23 | foxlit | In my experience, you have approximately the same chance of pulling it out after 10s as you did immediately |
22:09.38 | Industrial | hm |
22:09.44 | TC_Working | i dunno about that |
22:09.53 | foxlit | (That's how I leveled fishing 150->300 - clifk fish, alt-tab out, click bobbler in 25s) |
22:10.00 | Industrial | I thought skill would be involved (speed, etc) |
22:10.15 | foxlit | Skill determines the probability of pulling the fish out, sure. |
22:10.28 | foxlit | But I doubt responsetime affects it significantly, if at all :) |
22:12.00 | TC_Working | ""Your fish got away!" |
22:12.01 | TC_Working | This 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.05 | cogwheel|work | foxlit: both? |
22:12.13 | cogwheel|work | (re: NormalText) |
22:12.16 | TC_Working | ""No fish are hooked" |
22:12.16 | TC_Working | This means you clicked on the fishing bobber at the wrong time. Try again." |
22:12.49 | Industrial | I get "your fish got away" all the time |
22:13.02 | *** join/#wowi-lounge Andalia (i=xx@p54ac8849.dip0.t-ipconnect.de) |
22:13.24 | Kaso | Wait |
22:13.29 | Kaso | That text is wrong |
22:13.36 | Kaso | you can get fishing skillups in any area |
22:14.12 | foxlit | cogwheel|work: It could be both. I doubt it is, though. |
22:14.20 | foxlit | Just as effectively, too. |
22:14.23 | kergoth | you can level fishing to any level just sitting in orgrimmar |
22:14.24 | kergoth | heh |
22:14.59 | cogwheel|work | foxlit: if it's not anchored in the center, then it would have to be anchored left and right |
22:15.14 | TC_Working | that came from blizz's website |
22:15.27 | TC_Working | http://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.06 | Industrial | Catching 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.10 | Industrial | i should fraps this |
22:19.15 | TC_Working | yea, cuse thats not going to give you lag |
22:19.35 | Industrial | :P |
22:20.16 | kergoth | Industrial: get fishping, the wav you drop into Data to hear a loudish ping noise when theres a bite |
22:20.26 | kergoth | thats how i manage it, can usually even alt tab back into wow and get hte fish |
22:20.35 | kergoth | browse the web or bs on irc while fishing ftw |
22:20.44 | Industrial | k |
22:20.58 | kergoth | i 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.49 | foxlit | This seems bad: ow:GetTextFontObject():SetJustifyH("LEFT"); |
22:29.52 | foxlit | Where ow is a button |
22:29.58 | *** join/#wowi-lounge ckknight (n=ckknight@198.199.136.146) |
22:30.52 | foxlit | GetTextFontObject() 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.02 | Industrial | kergoth: this is great im already 31, just started |
22:35.03 | kergoth | damn :) |
22:35.07 | kergoth | what char you playing now? |
22:36.51 | Industrial | a level 9 warrior :> gnome |
22:37.07 | Industrial | Im just playing what I feel like tbh, got my hunter to 38 yesterday |
22:37.45 | Industrial | when does warrior get dual wielding? 20? |
22:38.28 | nevcairiel | yea |
22:39.05 | Industrial | fishing 50 :> |
22:39.20 | Industrial | guess 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.21 | cogwheel|work | as 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.41 | nevcairiel | because people bitch and complain, since they dont understand the values and implications? |
23:06.14 | foxlit | Meh, as long as the default UI doesn't come with a profiler. |
23:08.51 | cogwheel|work | foxlit: it will, to some extent... |
23:09.01 | cogwheel|work | there will be a way to see the top 3 memory-using addons... |
23:09.29 | cogwheel|work | (at least I remember reading that somewhere...) |
23:10.29 | nymbia | yeah |
23:10.42 | Shadowed | Shouldn't it be more accurate then addons like Warmup though? |
23:10.48 | nymbia | yup |
23:11.10 | cogwheel|work | which means people will be more "correct" when they get on your case about your addon :P |
23:11.10 | Shadowed | So at least if people are complaining about memory, it's somewhat more of an accurate view then what Warmup gave |
23:11.28 | nymbia | warmup's load-time only |
23:11.57 | Shadowed | Wont LUA errors no longer being shown by default cause more issues for addon authors in general |
23:12.20 | cogwheel|work | probably... |
23:12.24 | nymbia | yup |
23:12.50 | nymbia | but 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.05 | nevcairiel | how i understood it |
23:13.15 | nevcairiel | if you have an addon like bugsack |
23:13.17 | nymbia | we'll just have to tell people to get an error handler addon when shit's not working |
23:13.20 | nevcairiel | it will still always catch them? |
23:13.29 | Shadowed | "so if you already have an improved error message AddOn, this will not affect you. " |
23:13.32 | nymbia | yeah seterrorhandler() will still work just fine |
23:13.33 | nevcairiel | or do you have to turn the cvar on too ? |
23:14.14 | nevcairiel | ah. |
23:14.14 | nevcairiel | okies |
23:14.15 | Shadowed | Well it is a CVar, so addons can turn it on themselfs |
23:14.20 | nymbia | yeah |
23:15.27 | foxlit | Shadowed: no red text in middle of the screen = <3 |
23:15.35 | foxlit | Especially if some infinite loop is sweping it out |
23:15.51 | Shadowed | Not if you have a user asking why X feature wont work :p |
23:15.56 | foxlit | well, rephrase, it's being spewed out consistently |
23:17.00 | cogwheel|work | My two favorite upcoming changes so far: |
23:17.02 | cogwheel|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.10 | cogwheel|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.26 | foxlit | http://img259.imageshack.us/img259/7167/fragment2zu.png |
23:20.38 | foxlit | Error reporting for the masses :P |
23:21.19 | nevcairiel | i love the footnote |
23:21.20 | nevcairiel | :D |
23:21.29 | cogwheel|work | I was looking for that a while back :) |
23:21.38 | Karrion | lol nice flavour text |
23:22.32 | foxlit | I've fixed wrapping since then, but the issue never came up |
23:24.38 | foxlit | (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.09 | Nom- | How annoying... |
23:57.14 | Nom- | My computer crapped itself last night :( |