00:00.14 | *** join/#wowi-lounge spathi (n=spathi@c-67-163-45-166.hsd1.il.comcast.net) |
00:00.28 | Chaotic_D | eh... this isn't specifically in-game, but is there any way to code something so that I can ping a list of IPs and get the results back in the list? currently it's just a table in an HTML file. |
00:01.11 | *** join/#wowi-lounge AnduinLothar (n=AnduinLo@ip72-211-209-199.oc.oc.cox.net) |
00:02.35 | Valaron|Work | Code in what language? |
00:02.36 | *** join/#wowi-lounge Rallion (i=HydraIRC@cpe-24-195-130-102.nycap.res.rr.com) |
00:03.42 | Chaotic_D | I dunno. anything I can manage. I don't think I have a C++ compiler so... ehhh... that's not helpful. :S (even though I know C++, I can never figure out the libraries that easily) |
00:05.06 | Valaron|Work | If it was just a text file with IP addresses, then I'd say use a shell script. |
00:05.12 | Valaron|Work | Perl |
00:05.23 | [dRaCo] | yeah, a shell script would be the easiest |
00:05.27 | [dRaCo] | bash or w/e |
00:06.13 | Valaron|Work | for i in `cat text_file_name` do; ping -1 $i; done |
00:08.17 | Chaotic_D | hrm... well... I'm not really dumb, but I can be a bit slow... depends how hard it is to set that up. I bloody hate setting up compilers and programs that require initialization and accounts and connecting from one app to another. (databases) |
00:09.41 | Valaron|Work | Are you on a Linux box or Windows? |
00:09.57 | Valaron|Work | ...or Mac. |
00:09.59 | Chaotic_D | WinXP. |
00:10.19 | Valaron|Work | Hmm |
00:10.27 | Valaron|Work | Is the html file on your XP machine? |
00:10.41 | Xuerian | Chaotic_D: Why not just use python or lua? |
00:10.53 | Valaron|Work | That might work. |
00:11.06 | Valaron|Work | I've gotten some scripts to work with ActivePerl. |
00:11.40 | Chaotic_D | well, I'm just learning Lua, so I don't think it would give me much of an advantage... *shrugs* plus I still need a program, since I don't think WoW's Lua lets you diddle with local files and ping IPs... |
00:11.44 | Valaron|Work | Wait. How many IP addresses are we talking about here? |
00:12.03 | Chaotic_D | someone gave me a list of IPs for the WoW servers. :) |
00:12.06 | Xuerian | lua.org o_0 |
00:12.16 | Chaotic_D | I won't ping them all at the same time though. :> |
00:12.53 | Xuerian | Chaotic_D: Why not use RealmStatus? |
00:13.00 | Chaotic_D | "Compiling Perl from source code under Windows is possible, but most installations lack the requisite C compiler and build tools. This also makes it hard to install modules from the CPAN, particularly such modules that are partially written in C." |
00:13.08 | Chaotic_D | Uhg. I knew it wouldn't be straight-forward. -_-; |
00:13.21 | Chaotic_D | if I need a C compiler, why the hell do I need Perl? |
00:13.24 | *** join/#wowi-lounge JoshBorke (n=Josh@r35h14.res.gatech.edu) |
00:13.42 | Valaron|Work | You might be in over your head. |
00:14.04 | Chaotic_D | does RealmStatus give pings? *looks* I don't see anything useful here. |
00:14.17 | MatthewS | why do you need to ping the servers? |
00:14.33 | Xuerian | No, doesn't give pings. What about this, "What is your goal?" |
00:14.39 | Chaotic_D | so I can find out what server has a good ping? :S |
00:14.50 | Lunessa | ... |
00:14.57 | Legorol | Chaotic_D: you wanted ways of coding stuff without having to install much, right? |
00:14.59 | Xuerian | what about one of the sites that list what side of the continent the servers are on, among other things? |
00:15.06 | Legorol | you have several options in WinXP out of the box: |
00:15.13 | Legorol | you can write batch files, but they are not very powerful |
00:15.28 | Legorol | you can write VisualBasic scripts and JavaScript scripts, which windows can execute out of the box |
00:15.36 | [dRaCo] | even a batch file is capable of handling multiple pings |
00:15.40 | Legorol | they are not very powerful, but might do the job |
00:15.44 | Lunessa | Suddenly, I need several of these: http://www.wired.com/culture/lifestyle/magazine/15-09/st_pocketshots |
00:16.14 | Chaotic_D | VB AND JavaScript? or just one or the other? |
00:16.15 | Legorol | writing visualbasic scripts is a matter of opening notepad, typing in the script (ifyou know what you are doing), saving the text files with .vbs extension, and doubleclicking it |
00:16.22 | Legorol | you can use whichever you want |
00:16.33 | Legorol | the key is getting hold of the documentation for the API avaialble |
00:16.41 | Valaron|Work | Seems like an awful lot to ping a few machines. |
00:16.59 | Valaron|Work | With that said, I'm going home to pay bills. |
00:17.03 | Legorol | if you want something that works out of the box on every winxp machines, i'd go with a simple vb script |
00:17.19 | Valaron|Work | I concur. |
00:17.45 | Chaotic_D | alright. I guess I'll hunt around. see if this is managable. |
00:17.46 | MatthewS | Lun: send me a couple too please |
00:17.50 | *** join/#wowi-lounge Ominous_ (n=Ominous@81-178-101-40.dsl.pipex.com) |
00:18.24 | Legorol | Chaotic_D: open window's help and support center, and type "windows script host" into the search box |
00:18.33 | Chaotic_D | I didn't know JavaScript could ping and handle files though. |
00:18.47 | Legorol | it's not the language that matters |
00:18.58 | Legorol | you can do anything in any language if the API is available for it |
00:22.21 | Chaotic_D | CScript Error: Windows Script Host access is disabled on this machine. Contact your administrator for details. |
00:22.40 | Chaotic_D | no, nevermind. I'll figure it out. :S |
00:22.57 | Legorol | what's wrong with windows help? |
00:23.05 | Legorol | reading help files is great way of learning.. that's what they are for :) |
00:23.15 | Legorol | http://msdn2.microsoft.com/en-us/library/9bbdkx3k.aspx |
00:23.26 | Legorol | that's the main site for windows scripting, with complete documentation |
00:23.37 | Legorol | it explains what windows script host is, how to write/execute scripts in windows, |
00:23.48 | Legorol | documentation on javascript and vbscript as available in windows, |
00:23.51 | Legorol | what API you have etc. |
00:23.57 | Chaotic_D | windows help files are the Fisher Price of documentations. :S |
00:24.08 | Chaotic_D | "to open a file, click on file, then open." |
00:24.53 | Lunessa | such hate, and yet you're using Windows. |
00:25.11 | Chaotic_D | one of these days I'm going to have to bite the bullet and learn some graphics programming. (or, some libraries so that I can do it AGAIN, that is) |
00:25.25 | Chaotic_D | it's partially self-loathing. |
00:28.29 | *** join/#wowi-lounge Cidan (i=feh@ip68-98-130-180.dc.dc.cox.net) |
00:29.09 | Cidan | god damn it I hate windows |
00:29.38 | Cidan | I give it a static IPv6 address and then it picks up an autoconfigured IPv6 address from radvd |
00:34.27 | Chaotic_D | god. absolutely nothing I'm reading on that website makes any sense. it says to upgrade the client, go to this site. and then... I'm totally lost on that topic. but topic after topic is like that. |
00:34.49 | Chaotic_D | ok nevermind. I don't need to upgrade. |
00:34.56 | ckknight | ~comfort Cidan |
00:34.57 | purl | There, there, Cidan. It's OK. I'm here for you. |
00:35.01 | JoshBorke | user error imo |
00:35.37 | Cidan | :( |
00:35.53 | Cidan | linux doesn't do it |
00:36.55 | bleeter | here's an interesting ToS question... wife of guildie logs on, says 'hiya', then logs off. guildie says 'hmm, odd, she normally doesn't use that word, and she's in Texas visiting family - I believe nowhere near a computer'.. tries her cell phone, no answer or out of order or similar |
00:37.15 | Chaotic_D | Is WinXP a "millenium edition"? |
00:37.42 | Chaotic_D | "Windows Script Host is built into Microsoft Windows 98, 2000, and Millennium Editions." |
00:38.03 | bleeter | so, he does what he beleive to be the correct thing, logs the account in and changes the password - a breach of the ToS. He's being pro-active protecting his wife, and thus Blizz, against possible hacks. Do you think Blizz would appreciate this if it was found out, or just ban him and her anyways? |
00:38.31 | bleeter | he can't contact his wife to get her to contact the accounts dept to get them to lock the account until she returns to reset her p/w |
00:38.50 | Cidan | no |
00:38.56 | bleeter | anyone got any thoughts? |
00:38.56 | Cidan | Blizzard will likely not do anything |
00:39.20 | Cidan | I let others login to my account at times |
00:39.23 | Cidan | no big issue |
00:41.00 | bleeter | yeah, but it's still a technical breach. the question is what people may think Blizz's reaction would be if it were found out... I suspect 'looked upon kindly' |
00:41.40 | Cidan | if that's the case, I'd say a good 1/4th of all accounts would be banned |
00:41.43 | Cidan | don't worry about it |
00:42.44 | bleeter | yup, my thoughts exactly, just wanted to run it by someone else before saying too much to the guildie.. thx Cidan :) |
00:42.52 | Cidan | yeppers |
00:45.21 | Chaotic_D | well, no windows scripts. it's disabled. and I can't figure out why. |
00:45.59 | Chaotic_D | microsoft doesn't document me having the same registry settings. maybe it's only for Win2K. |
00:46.01 | [dRaCo] | windows scripting host disabled |
00:47.00 | Chaotic_D | yes |
00:48.12 | [dRaCo] | enable it, it's a service, should be in your control panel |
00:49.39 | Chaotic_D | I can't find it. |
00:51.00 | Chaotic_D | found services! |
00:52.26 | Chaotic_D | not under Windows. not under Scripting... :S |
00:54.59 | Lunessa | OMG - A guildee just released this - I don't know if I should laugh, cry or what - http://mmovie.voig.com |
00:55.35 | Chaotic_D | doesn't seem to be in there... |
00:57.40 | Chaotic_D | ah. it's one of those things that they recommend be disabled. fun. :> *opens Pandora's box* |
01:00.11 | *** join/#wowi-lounge GomiNoSensei (i=tonyd@d207-216-212-145.bchsia.telus.net) |
01:00.36 | Chaotic_D | this is why I hate trying to do this. |
01:00.57 | Kaydeethree | gah. need to fix this... when mythv's recording something in the background, I hear it through the speakers |
01:02.13 | *** join/#wowi-lounge Guillotine (n=Guilloti@wsip-70-169-228-252.oc.oc.cox.net) |
01:03.56 | *** join/#wowi-lounge cogwheel (n=chatzill@c-67-164-121-134.hsd1.ca.comcast.net) |
01:05.25 | *** join/#wowi-lounge GofG (n=Gofg@cpe-069-134-155-140.nc.res.rr.com) |
01:06.21 | Lunessa | ~lart Lunessa |
01:06.21 | purl | forces Lunessa to use Outlook Express |
01:06.38 | Lunessa | Suddenly, work doesn't seem so bad. |
01:08.30 | *** part/#wowi-lounge Wobwork (n=Wobin@203-206-178-228.perm.iinet.net.au) |
01:17.08 | Thunder_Child | ~lart Lunessa |
01:17.08 | purl | puts Lunessa into a headlock and administers a mighty noogie, rubbing half of Lunessa's hair of |
01:17.24 | Lunessa | ZOMG - Typo in purl |
01:17.38 | Lunessa | And FYI, IRL, I'm bald as a cueball |
01:19.11 | Thunder_Child | ~bald Lunessa |
01:19.22 | Thunder_Child | ....meh, nothing |
01:19.27 | Lunessa | See, he can be taught. |
01:20.10 | Thunder_Child | ~haircut Lunessa |
01:20.22 | Thunder_Child | ~polish Lunessa |
01:20.39 | Thunder_Child | mah |
01:20.43 | Thunder_Child | meh* |
01:20.55 | Lunessa | ... Thunder_Child are you coming on to me? |
01:21.37 | *** join/#wowi-lounge Wobwork (n=Wobin@203-206-178-228.perm.iinet.net.au) |
01:21.47 | Wobwork | hehe |
01:21.48 | Thunder_Child | thats you idea of comming on> |
01:21.52 | Thunder_Child | coming on ?* |
01:22.00 | Wobwork | that MMovie is great |
01:22.26 | Lunessa | hey, polish is often a euphemism for ... activities. |
01:22.41 | Thunder_Child | hmm..true |
01:22.43 | Kaydeethree | everything's a euphemism. |
01:22.55 | Kaydeethree | to a sufficiently twisted mind, that is |
01:23.16 | Lunessa | Yeah, one of the guys involved with that site is a guildee. That's the only project of his I've actually liked. |
01:23.24 | Lunessa | Kaydeethree: Yup. |
01:24.07 | Legorol | lol, can i spam 5 lines from bash.org? |
01:24.17 | Legorol | i'd been reading the quotes and this is the funniest out of the last 50 i read.. |
01:24.28 | Legorol | <Belial`> you still cant say anything with certainty though |
01:24.28 | Legorol | <Belial`> since the bible has like, a fucking black hole between jesus being a kid and his preaching days |
01:24.28 | Legorol | <Catoptromancy> Phase 1, birth |
01:24.28 | Legorol | <Catoptromancy> Phase 2, ??? |
01:24.28 | Legorol | <Catoptromancy> Phase 3, Prophet |
01:24.40 | cogwheel | yeah... i saw that today too >< |
01:24.56 | Lunessa | ... got to add bash.org to my daily read list. |
01:25.09 | Thunder_Child | are they spelled the same...i was wondering |
01:25.31 | cogwheel | i was particularly fond of the goodphptutorials.com one, myself |
01:25.47 | cogwheel | profit vs prophet (or polish vs polish? ) |
01:26.05 | Thunder_Child | second one |
01:26.13 | Thunder_Child | guess so |
01:26.20 | Kaydeethree | Lunessa, bad idea... I lost way too much time doing that years ago |
01:26.32 | Lunessa | Kaydeethree: I work for a university. |
01:26.37 | Lunessa | At night |
01:26.53 | Lunessa | Unless the server room is on FIRE, I can read a lot. |
01:26.55 | cogwheel | yeah... i think i've read about half of bash.org :\ |
01:28.46 | Legorol | cogwheel: i loved the goodphp one |
01:29.04 | cogwheel | heh... my very first crit on a new server was 1337 |
01:29.44 | bleeter | cogwheel: hax |
01:30.25 | Lunessa | Thraebot accused me of always haxing today. I lalwed |
01:30.35 | cogwheel | did the same thing to me on monday :P |
01:33.40 | bleeter | I think ThraeBot is hax, pot kettle black |
01:33.48 | Thunder_Child | i dont hack....i just win |
01:34.32 | Lunessa | So, Lozareth announced he's done. Finally. Does it come as a shock to anyone? |
01:35.30 | *** join/#wowi-lounge Lej (n=mail@81-235-141-90-no63.tbcn.telia.com) |
01:35.46 | Lunessa | (Original mastermind behind the Discord addons.) |
01:36.07 | Thunder_Child | no...he had been laging for a while |
01:36.07 | Lej | This creates the button just fine, but why doesn't the text show up? http://wowi.pastey.net/72599 |
01:37.18 | Lunessa | I don't see your text defined? |
01:37.52 | Lunessa | Ah there it is. |
01:38.09 | Lej | f:SetText("Add Pocket") |
01:40.23 | Lunessa | I don't know. I usually do XML for gui elements and I'm not very experienced at making/hacking frame in lua. I was just looking for quick obvious problems. :( |
01:40.52 | Guillotine | Lej: does OneBagFrame have a text element? |
01:41.07 | Guillotine | wait, nm. thats parent |
01:41.23 | Guillotine | was thinking it was inherited for some reason |
01:41.31 | Lunessa | And is -45, -6 still on the button? |
01:41.39 | Wobwork | Lunessa: Done? |
01:41.45 | Wobwork | As in finished the next version |
01:41.49 | Wobwork | or throwing in the towel? |
01:42.12 | Lunessa | Hey, if you know the answer, help the man. |
01:42.27 | Lej | (-45, -6) is where the button is relative to the parentframes topright corner |
01:42.44 | Lunessa | Instead of watching me flounder. :P |
01:43.15 | Lej | I think at least... |
01:43.41 | Lunessa | Doesn't the text element need a postion defined? |
01:43.48 | Lunessa | position even. |
01:43.51 | Guillotine | Lej: yes, it is |
01:44.15 | Guillotine | Lej: Are you sure buttons have text areas by default? I think that may be a part of the template "GameMenuButtonTemplate" |
01:44.16 | cogwheel | I think murky should start dancing on demand if you dance with it while wearing the murloc costume |
01:44.32 | Lunessa | cogwheel: /agree |
01:44.38 | Lej | Guillotine: No idea :P |
01:44.41 | Guillotine | I always use "GameMenuButtonTemplate" and it works fine, so I'm really not sure |
01:44.53 | Lunessa | And maybe sing the song "Hello my honey... " |
01:44.55 | Guillotine | try just inheriting that and see if it works |
01:44.56 | Lej | So I could just use that instead of "Button"? |
01:45.00 | Guillotine | no |
01:45.03 | Guillotine | add taht after the parent |
01:45.10 | Lej | ah ok |
01:45.27 | Guillotine | e.g. local f = CreateFrame("Button", "OBP_btnAddPocket", OneBagFrame, "GameMenuButtonTemplate") |
01:45.49 | Lej | yes now the text shows up, it's placed weirdly tho |
01:46.28 | Guillotine | then move it :P |
01:46.52 | Lej | do I still have to set the textures when inheriting "GameMenuButtonTemplate"? |
01:46.55 | *** join/#wowi-lounge Tuller (n=chatzill@c-76-27-166-119.hsd1.va.comcast.net) |
01:47.13 | Guillotine | not if you want the default textures |
01:47.27 | Lej | and is there some list of templates? |
01:47.59 | Guillotine | probably |
01:48.11 | Guillotine | though I don't know where it is >.> |
01:48.24 | Corrodias | as much as i like mik scrolling battle text, half the time it misses my Clearcasting events! |
01:48.35 | Guillotine | I just look for something in the default ui that looks like what I want and look at whats used in the source |
01:48.36 | *** join/#wowi-lounge Kody- (n=nope@69.109.103.158) |
01:50.07 | Guillotine | Lej: all templates at http://wdn.wowinterface.com/code/2136898/FrameXML/UIPanelTemplates.xml |
01:50.15 | Guillotine | obviously its not the easiest to read, but... |
01:50.37 | Guillotine | you got the text moved ok? |
01:50.54 | Lej | yes, it fixed itself when I removed the custom textures |
01:51.06 | Lej | I used the same ones as the template anyawy |
01:51.42 | Guillotine | ah, ok |
01:51.52 | *** mode/#wowi-lounge [+v Guillotine] by ChanServ |
01:53.09 | Kaydeethree | wow |
01:53.17 | Lej | is there some kind of frame:toggle() isdtead of using if's with show and hide? |
01:53.17 | Kaydeethree | "Bull in a china shop" -- busted |
01:55.21 | Guillotine | Lej:nope |
01:55.32 | *** join/#wowi-lounge chuckg (i=chuckg@66-239-58-32.starstream.net) |
01:55.50 | Guillotine | you have to do *some* sort of a if-type statement. You could use a couple binary operators instead, but you have to use something like that |
01:59.19 | Corrodias | or maybe i just often miss when i get clearcasting |
02:02.27 | *** join/#wowi-lounge weab (n=asdf@cpe-70-112-136-88.austin.res.rr.com) |
02:05.21 | Corrodias | no, i distinctly see it NOT giving me the Clearcasting! message sometimes |
02:07.25 | Lunessa | mmmmm.. kebab |
02:10.00 | *** join/#wowi-lounge AnduinLothar (n=AnduinLo@ip72-211-209-199.oc.oc.cox.net) |
02:10.09 | *** mode/#wowi-lounge [+v AnduinLothar] by ChanServ |
02:12.03 | Lunessa | http://forums.worldofwarcraft.com/thread.html?topicId=1230603224&sid=1 |
02:12.30 | KarlThePagan | current debuff limit is 40 right? |
02:14.05 | cogwheel | last i heard, yes |
02:21.33 | *** join/#wowi-lounge Thelyna (n=burp@222-153-104-78.jetstream.xtra.co.nz) |
02:22.00 | *** join/#wowi-lounge abug (n=ABUGABUG@c-71-59-82-173.hsd1.pa.comcast.net) |
02:32.28 | Lej | mhur |
02:32.28 | Lej | why would I get: |
02:32.28 | Lej | CreateFrame(): Couldn't find inherited node "OBP_Pocket" |
02:32.28 | Lej | when I define it in the xml: |
02:32.29 | Lej | <Frame name="OBP_Pocket" virtual="true"> ... |
02:35.13 | Shirik | potentially you're loading it at the wrong time |
02:35.21 | Shirik | (i.e., before the XML has loaded) |
02:35.24 | Shirik | what's your TOC look like? |
02:35.47 | Lej | ## lines and then |
02:35.47 | Lej | OneBagPockets.xml |
02:35.56 | Shirik | well then... |
02:36.00 | Shirik | where does that CreateFrame() come from? |
02:36.21 | Wobwork | Well |
02:36.31 | Wobwork | When a mummy frame and a daddy frame love each other very much... |
02:36.34 | Shirik | .... |
02:36.35 | Garoun|Loupana | oh, and I never did figure out what mod dings when I a hostile targets me :P |
02:36.36 | Lej | in the xml there's a dummy fram with a onload script. That runs the CreateFrame |
02:36.46 | Shirik | Lej: Show me the entire file |
02:36.50 | Lej | oki |
02:36.56 | Lej | it's messy ;/ |
02:37.34 | Lej | lua: http://wowi.pastey.net/72600 |
02:38.13 | Shirik | that is definitely not xml |
02:38.30 | Lej | wait I fail at validation spam protection |
02:39.12 | Shirik | also, Lua is not an acronym |
02:39.20 | Shirik | (line 9) |
02:39.36 | Thunder_Child | LUA! |
02:39.54 | Wobwork | yes, my child? |
02:40.25 | Thunder_Child | ~LUA |
02:40.25 | purl | extra, extra, read all about it, lua is a powerful light-weight programming language designed for extending applications. It is often used as a configuration language. See http://www.lua.org/. |
02:41.17 | Lej | my fucking god |
02:41.28 | Lej | I can't figure out that evil pastebin spam protection |
02:41.30 | Wobwork | You have one of those? |
02:41.39 | Lej | I feel so ... stupid.. |
02:42.07 | Lej | ok |
02:42.11 | Lej | http://wowi.pastey.net/72602 |
02:42.58 | Shirik | ok |
02:43.03 | Shirik | we're definitely not communicating well here |
02:43.07 | Shirik | I don't see any CreateFrame |
02:43.23 | *** join/#wowi-lounge Cairenn (n=Cairenn@MMOI/Administratrix/Cairenn) |
02:43.23 | *** mode/#wowi-lounge [+o Cairenn] by ChanServ |
02:43.23 | Lej | luya file line 26 |
02:43.32 | Shirik | ok, so you have a Lua file |
02:43.41 | Shirik | but that Lua file isn't in your TOC? |
02:44.01 | Cairenn | bleeter: I like the smaller tabs |
02:44.03 | Lej | no, it's in the beginning of the XML |
02:44.15 | Shirik | oh I missed that |
02:44.18 | Shirik | but fyi, that's deprecated now |
02:44.34 | Lej | ok, so how should it look in the lua? |
02:44.37 | Lej | toc I mean |
02:44.44 | Shirik | ok |
02:44.48 | Shirik | your OBP frame is loading first |
02:44.54 | Shirik | then the OBP_Pocket frame |
02:45.01 | Shirik | which means OBP_OnLoad() is called before OBP_Pocket exists |
02:45.12 | Shirik | which is the cause of your problem |
02:45.17 | Shirik | flip the two around in your XML File |
02:45.58 | Lej | that worked wonders |
02:46.07 | Lej | thanks |
02:46.12 | Shirik | To answer your other question |
02:46.21 | Shirik | in your TOC file, you should have file.lua then file.xml |
02:46.24 | Shirik | two separate lines |
02:46.37 | Lej | I see |
02:46.39 | Shirik | the TOC file specifies the order of loading |
02:46.52 | Lej | and remove the <Script file="OneBagPockets.lua"/> from the XML? |
02:47.01 | Shirik | yup |
02:47.45 | *** join/#wowi-lounge Kirkburn (n=Kirkburn@adsl-76-203-124-78.dsl.pltn13.sbcglobal.net) |
02:49.50 | bleeter | Cairenn: you must be about the first non-dev to state as much rofl |
02:50.15 | Cairenn | people are bitching about the smaller size? |
02:50.28 | Cairenn | morons |
02:50.59 | Cairenn | then again, I suppose I'm probably one of the few "non-devs" that has as many tabs open at any given time as one of the "devs" |
02:52.09 | bleeter | win32 users also bitching about losing 2 pixels in the 'tray' section of the chat window (where the typing notification is) |
02:52.13 | clad|sleep | night all |
02:52.17 | bleeter | gnight clad|sleep |
02:52.17 | Cairenn | night clad |
02:53.00 | bleeter | Cairenn: thing is, you're a step or three above the usual IM users... you've been known to display the fact that you have more than one braincell ;) :P |
02:54.10 | Lunessa | ... What's a braincell? :P |
02:54.17 | Cairenn | the only change you guys have made lately that I'm less than thrilled about (although I can work around it, it was just convenient) is the fact that I can't click on the channel topic and change it there any more, I have to actually use /topic now |
02:54.43 | Cairenn | but as I said, that is as much convenience as anything, and it's not something I'm stressed over |
02:57.18 | Cairenn | but I really do love the smaller tabs! |
03:01.12 | bleeter | Cairenn: have you tried double clicking the topic? |
03:01.32 | Cairenn | thanks a lot, make me look stupid :p |
03:02.09 | bleeter | hehe, np |
03:02.10 | Cairenn | I tried single click, per old, I tried right click, duh, never tried doube |
03:02.20 | bleeter | it was changed to stop non-ops thinking they can change it ;) |
03:02.20 | Cairenn | double* |
03:03.00 | bleeter | at least I think that's the reason, I haven't actually tried in a # I'm not an op in |
03:03.04 | Cairenn | remember what you were saying about me occasionally displaying the fact I have more than one brain cell? :p |
03:03.13 | Kirkburn | What have I missed? |
03:03.22 | Lunessa | He did say 'occasionally'. |
03:03.30 | Kirkburn | As in, what on earth is this discussion about? |
03:03.32 | *** join/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |
03:03.52 | bleetah | hmm, well as non-op I can double click, I guess that's so I can copy/paste if I wish |
03:03.53 | Cairenn | besides me making myself appear to be a complete moron? not much :p |
03:03.57 | *** part/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |
03:04.45 | Kirkburn | It sounds all controversial and interesting :O |
03:05.02 | bleeter | just the current pidgin release, nothing exciting whatsoever really |
03:05.30 | Lunessa | So I used to be in this barbershop quartet in Skokie, Illinois and there was this girl she was fat; I mean like orca fat ... |
03:05.58 | Kirkburn | Ooh, never seen it before bleeter |
03:06.07 | Kirkburn | Is it good? ;) |
03:07.04 | bleeter | nah |
03:16.08 | *** join/#wowi-lounge GomiNoSensei (i=tonyd@d207-216-212-145.bchsia.telus.net) |
03:16.14 | Lunessa | Interesting story at Wired about drug-testing the water at sewage treatment facilities. |
03:18.00 | *** join/#wowi-lounge MentalPower (n=MPower@WoWUIDev/Norganna/Administrator/MentalPower) |
03:18.01 | *** mode/#wowi-lounge [+v MentalPower] by ChanServ |
03:23.37 | Kaydeethree | oh wow |
03:23.44 | Kaydeethree | (how many times have I said that tonight?) |
03:23.47 | Kaydeethree | 30-3 |
03:24.05 | Kaydeethree | rangers-orioles. biggest baseball score in the modern era |
03:25.23 | Cairenn | 30? baseball? You're kidding, right? |
03:25.30 | Kaydeethree | http://scores.espn.go.com/mlb/boxscore?gameId=270822201 |
03:25.40 | *** join/#wowi-lounge andross_ (n=andross@66.225.8.145) |
03:27.07 | Shirik | wow |
03:27.08 | Shirik | 30 |
03:28.23 | Kaydeethree | and wow again |
03:28.27 | Kaydeethree | (#4?) |
03:28.30 | Kaydeethree | "Wii officially outsells Xbox 360 and PS3." |
03:29.15 | Shirik | not entirely surprising |
03:29.33 | Kaydeethree | nah. just kinda surprised it took this long |
03:29.34 | Shirik | the wii offers something new and is actually affordable |
03:29.42 | Shirik | ah |
03:33.14 | ckknight | if the wii, PS3, and XBox were all the same price, I'd still get a Wii |
03:33.16 | ckknight | it's more fun. |
03:36.36 | Lej | can you "attach" a table to a frame somehow? |
03:37.15 | Shirik | eh |
03:37.17 | Shirik | what do you mean |
03:37.32 | Corrodias | man, we 1-shotted everything tonight in karazhan except nightbane, who took two tries (for our guild third kill, right behind the other kara group who got the second guild kill) |
03:39.02 | Thunder_Child | ckknight...which direction...as low as the wii or as high as the highest? |
03:39.06 | Lej | I create tables that look like { i = 1, frame = CreateFrame(...) } the frame created is a controlplanel that supposed to be able to change the value of i. I need to make the buttons able to modify the i value of the correct table |
03:40.04 | Lej | so on the click event of the buttons I somehow need to get the correct table to work with |
03:40.49 | ckknight | Thunder_Child: seeing as they'd all be relative to each other in the situation I gave, it doesn't matter. |
03:41.04 | Shirik | Lej: Frames are just tables |
03:41.10 | Shirik | you should be able to just stik em right on top of them |
03:41.15 | Shirik | alternatively, frames can be keys to another table |
03:41.18 | Thunder_Child | well it does...cheap as the wii offers an inxepensive hd-dvd/blu-ray player |
03:41.19 | Shirik | you can make a map like |
03:41.37 | Shirik | list = {}; list[frame1] = myTable1; list[frame2] = myTable2; |
03:41.37 | ckknight | Thunder_Child: I wouldn't use it to play movies anyway. |
03:41.44 | Shirik | Then look it up via list[thisFrame] |
03:41.53 | Thunder_Child | cheaper than anything else |
03:42.10 | ckknight | Thunder_Child: why would I use it as a media player? I have a computer |
03:42.25 | Thunder_Child | you dont have a bluray/hddvd on it |
03:42.27 | Thunder_Child | do you? |
03:42.37 | ckknight | depends on what the torrent seeds provide. |
03:42.49 | Thunder_Child | heh, physical media |
03:42.49 | Lej | frames are tables? You mean I could do something like frame1[i] = 1 |
03:42.56 | ckknight | yes, Lej |
03:43.04 | ckknight | though you should do frame1.i = 1 |
03:43.12 | ckknight | Thunder_Child: why would I get physical media? |
03:43.19 | ckknight | it's overly expensive |
03:43.24 | Lej | oh that makes it easier |
03:43.27 | Thunder_Child | you may actualy want to by a product...they will get cheaper |
03:43.38 | ckknight | why would I want to buy movies? |
03:43.39 | Thunder_Child | besides, i agree with you as a console...wii all the way.. but still |
03:43.55 | ckknight | just seems silly |
03:44.33 | Shirik | ckknight |
03:44.38 | Shirik | frame1[i] and frame1.i |
03:44.40 | Shirik | are two different things |
03:45.06 | ckknight | no shit, sherlock, I was going by his original question { i = 1 } |
03:45.18 | Shirik | ah |
03:45.29 | Shirik | limited memory while healing |
03:45.42 | Lej | I'm a bit confused right now :P |
03:45.59 | ckknight | after however many addons and libraries I've written, one would hope I'd know the difference |
03:46.18 | ckknight | Lej: { i = 1 } => { ["i"] = 1 } |
03:46.24 | ckknight | therefore, if i = 5 |
03:46.26 | Shirik | ckknight: You'd be surprised what people can do while still being completely incompetent :P |
03:46.31 | Shirik | not saying you are |
03:46.32 | ckknight | { [i] = 1 } => { [5] = 1 } |
03:46.45 | ckknight | today's my birthday, I'm old now |
03:46.47 | ckknight | gonna go out to dinner |
03:46.58 | Shirik | k grats on 70 irl |
03:47.07 | Cairenn | happy birthday ckknight :) |
03:47.08 | Kaydeethree | what the hell are you doing on irc? go party |
03:47.12 | Lej | frame1.size = 1; local i = frame1.size |
03:47.13 | ckknight | I still demand a parade. |
03:47.18 | Lej | that works? |
03:47.21 | ckknight | Kaydeethree: I'm only 20, no new rights granted. |
03:47.30 | ckknight | Lej: yep |
03:47.34 | Kaydeethree | damn, and I feel old now... |
03:47.36 | ckknight | Lej: don't be afraid to make your locals longer. |
03:47.56 | Lej | NOt so much afraid as lazy :/ |
03:48.12 | Lej | It gets lovely when you haven't looked at the code for a week... |
03:48.16 | ckknight | lern2typefast |
03:48.27 | ckknight | be sure to document |
03:48.32 | Thunder_Child | /Praradeforckknight |
03:49.33 | ckknight | woo |
03:50.18 | ckknight | Shirik: I ding'd 47 today :-P |
03:50.35 | Wobwork | 23 to go! |
03:50.43 | Wobwork | You're playing a pally? |
03:51.00 | Wobwork | dinged? |
03:51.12 | Wobwork | dang |
03:51.24 | Wobwork | got done dinging |
03:54.10 | Shirik | dang? |
03:54.13 | Shirik | I like dang |
03:54.21 | Cairenn | started? |
03:54.42 | Shirik | ? |
03:54.51 | Cairenn | (11:50:05 PM) ckknight: Shirik: I ding'd 47 today :-P |
03:55.00 | Cairenn | s/ding'd/started/ |
03:55.03 | Cairenn | :p |
03:57.17 | Wobwork | You started 47 what? |
03:58.52 | Tain | I actually canceled my account. I think the first time since retail release. |
04:00.08 | Cairenn | wow |
04:00.52 | ScytheBlade1 | For WoW, that's like you just decided to commit suicide. :( |
04:01.21 | *** join/#wowi-lounge Shirik|AFK (n=nospam@ip68-100-86-112.dc.dc.cox.net) |
04:02.34 | Kaydeethree | I think it's time for me to get off of the forums for the night... http://forums.worldofwarcraft.com/thread.html?topicId=1230783308&postId=12305726574&sid=1#1 |
04:02.39 | Kaydeethree | <PROTECTED> |
04:02.46 | Tain | I haven't been playing for months, haven't been coding for a bit. I'll probably open it again at some point. |
04:04.09 | Kaydeethree | what's even worse is, now that I look at the poster. he just posted the thread I linked to |
04:05.07 | Cairenn | yeah, I noticed that right off the top |
04:12.14 | art3mis | thats some sorta never ending loop i think |
04:17.34 | Thunder_Child | sleep? |
04:19.16 | Shirik|AFK | Cairenn doesn't sleep |
04:19.18 | Shirik|AFK | wtf you talking about |
04:19.20 | Shirik|AFK | and why am I AFK |
04:19.25 | art3mis | sure she does |
04:19.31 | art3mis | but its oe of those eyes open creepy sleeps |
04:19.40 | art3mis | that and the rem is just spooky |
04:19.40 | Shirik | nick Shirik damnit! |
04:20.02 | Thunder_Child | well my other option was caerwheels around your house |
04:20.03 | art3mis | it appearantly hates you as well |
04:20.09 | Thunder_Child | cartwheels* |
04:20.14 | Thunder_Child | ...something like that |
04:20.16 | art3mis | hehe ncie typo |
04:20.29 | art3mis | cairwheels could be fun though |
04:20.54 | Kaydeethree | you could do what I do? yell at idiots until downloads finish... |
04:21.00 | Cairenn | heh |
04:21.35 | Cairenn | Kaydeethree: I'd like to be able to sleep, if I start actually reading the forums, I'll be too pissed off to be able to sleep |
04:21.44 | Cairenn | oh, and art3mis? I don't sleep with my eyes open |
04:21.51 | art3mis | lies! |
04:21.57 | Kaydeethree | that's why I've got artificial limits of downloads finishing, that way I can watch them in bed and crash |
04:22.15 | art3mis | so heres a question |
04:22.34 | art3mis | is there really any moticable not math related bebenfit to using amd64 nix images? |
04:23.11 | Cairenn | Tain: tuck me in? |
04:23.40 | Kaydeethree | same reason you use i686-compiled code on modern processors rather than i386 or i586 machine code |
04:24.51 | *** join/#wowi-lounge Chaotic_D (n=nothanks@ottawa-hs-64-26-148-206.d-ip.magma.ca) |
04:25.26 | Chaotic_D | hrm. this WoW server IP addresses don't respond. |
04:26.12 | art3mis | Kaydeethree: true but performancewise, all ive really noticed is that the 64bit stuff tends to be more of a pai to get media plugins and video drivers and the like working correctly |
04:26.14 | *** topic/#wowi-lounge by Cairenn -> #wowi-lounge: Paste Code Here: http://wowi.pastey.net | 2.1 ToC: 20100 | RTFPN please | What's the difference between a baseball bat and a bicycle |
04:26.22 | *** topic/#wowi-lounge by Cairenn -> #wowi-lounge: Paste Code Here: http://wowi.pastey.net | 2.1 ToC: 20100 | RTFPN please | What's the difference between a baseball bat and a bicycle? |
04:26.49 | Kaydeethree | there's a 32-bit environment in 64-bit systems afaik... |
04:27.01 | art3mis | yeah but most addon stuff doesnt work without hacking |
04:27.09 | art3mis | like flash/shockwave |
04:27.11 | art3mis | java |
04:27.19 | art3mis | ati drivers |
04:27.40 | art3mis | they all instal;l and behave like 32bit but if you're running 64bit firefox, alas things just arent gonna happen |
04:28.05 | art3mis | so im wondering if there is actually a noticeable performance difference or if its just a case of "i CAN run it so why wouldnt i |
04:29.51 | bleeter | ... http://www.moanmyip.com/ |
04:29.59 | bleeter | thought I'd share that address with all, (nsfw) |
04:30.26 | Shirik | that definitely deserves a "wow". |
04:30.56 | art3mis | man yer gopnna wear out shiriks F5 button |
04:31.16 | bleeter | heh |
04:31.54 | Shirik | ... |
04:32.31 | Wobwork | rofl |
04:32.35 | Wobwork | that's magnificent |
04:33.01 | Wobwork | Twooo..... |
04:33.02 | Thunder_Child | heh |
04:33.16 | Wobwork | so not work safe =P |
04:33.50 | Kaydeethree | what... the... hell?? |
04:34.08 | Thunder_Child | i would hardy call that nsfw |
04:34.38 | bleeter | I haven't heard it yet, but the header pic on the home page could be problematic in some environments |
04:34.40 | Thunder_Child | nsfw would be if they spelled out your ip with naked people |
04:35.03 | Thunder_Child | s/spelled/wrote/ |
04:36.40 | art3mis | http://www.break.com/index/the_internet_in_1993.html |
04:38.31 | Shirik | So I just discovered my illhoof mod |
04:38.34 | Shirik | totally works on that boss in botanica |
04:39.01 | Kaydeethree | "zomg target the chains!" |
04:41.04 | Wobwork | he has chains? |
04:41.25 | Wobwork | I thought he just sacrificed and you had to heal through it |
04:41.50 | Kaydeethree | something to that effect. I haven't run bot since I needed it for my arc key back in january |
04:43.49 | Shirik | yeah |
04:43.54 | Shirik | you just heal through it, no killing them |
04:47.40 | Thunder_Child | no, kill the chains...they heal him |
04:47.56 | Thunder_Child | dps to the chains during a sacrifice |
04:48.26 | Thunder_Child | then back to illgoof/(imp whos name i cant remeber) depending on your mt |
04:48.31 | Thunder_Child | illhoof* |
04:49.06 | art3mis | http://www.myndflame.com/index.php?categoryid=3&p803_sectionid=11&p803_fileid=111&p803_js_on=1 <-- great machinima |
04:51.07 | art3mis | mr.teeth mr.teeth mr.teeth |
04:53.51 | Wobwork | Thunder_Child: no I'm referring to the boss in Bot |
04:53.55 | Wobwork | not illy |
04:54.13 | art3mis | which one? |
04:54.18 | Thunder_Child | oh...yea, he is a pushover |
04:54.21 | Wobwork | Actually, the mmovie is one of the better mechanimas I've seen |
04:54.28 | Thunder_Child | dont even need to heal through it |
04:54.37 | Wobwork | and is it mechanima, or machanima like that page says? |
04:54.39 | art3mis | all of oblivious's stuff is great |
04:54.48 | art3mis | machine ima |
04:57.16 | *** join/#wowi-lounge Shirik (n=nospam@ip68-100-86-112.dc.dc.cox.net) |
04:58.20 | *** join/#wowi-lounge Shirik (n=nospam@ip68-100-86-112.dc.dc.cox.net) |
05:09.04 | Lej | how do I use :Show() on a child frame if I have the parentframe? |
05:09.38 | batrick | there is a frame method for getting children |
05:09.43 | Lej | OneBagPockets[curPocket] is the parent I got. The child is names $parent_Control |
05:09.46 | batrick | use that and iterate over them |
05:09.47 | Lej | ok |
05:10.12 | batrick | :GetChildren() |
05:11.37 | batrick | you can then check if they are frames (and can thus be shown using :Show() ) with :GetObjectType() |
05:16.28 | *** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@64.193.93.197) |
05:18.46 | *** join/#wowi-lounge Wobwork (n=Wobin@ppp244-111.static.internode.on.net) |
05:20.09 | Cairenn | bleh, still bored |
05:20.21 | Thunder_Child | ~lart Cairenn|afk |
05:20.21 | purl | pulls out a ClueBat (tm) and thwaps Cairenn|afk |
05:20.40 | Kirkburn|afk | Night Cairenn|afk |
05:20.54 | Cairenn|afk | night Kirkburn|afk |
05:21.16 | Thunder_Child | heh, night Cairenn|afk....x2 |
05:21.32 | Kirkburn|afk | Did you just one-up me? |
05:21.59 | Thunder_Child | no....this is the second time she said she was going to bed |
05:22.21 | Thunder_Child | afterthe 3rd she gets in trouble |
05:23.39 | Lej | no :GetParent() method for frames? |
05:23.44 | *** join/#wowi-lounge Leachim (n=Necroman@p508A36A4.dip0.t-ipconnect.de) |
05:24.03 | Lej | or buttons more specific |
05:24.35 | Lej | oh it was a region method |
05:24.51 | *** join/#wowi-lounge chuckg (n=chuckg@66-239-58-32.starstream.net) |
05:30.27 | Rallion | lol the last time I ran a PS1 emulator, my computer sure couldn't run a game in a window while I typed into an IRC client |
05:38.22 | Shirik | Lej: Buttons are frames, and frames are regions |
05:38.28 | Shirik | buttons should have a GetParent() method |
05:39.59 | Lej | yeah that's what I meant. They inherited it from Region. I only checked Button and Frame |
05:40.12 | Shirik | oh so you're trying to find these on wowwiki |
05:40.22 | Lej | yes |
05:40.22 | Shirik | yeah, some things are a bit difficult to find at first; you get used to it |
05:40.27 | Shirik | when all else fails, ctrl+f is your friend |
05:40.40 | Lej | that was what solved it :P |
05:42.57 | Lej | if I have the element of a table for example frame1 in this: Frames = { [1] = frame1, [2] = frame 2 } is it possible to get it's index in the Frames array? |
05:43.26 | Lej | *table, not array |
05:43.36 | Shirik | eh, that's technically an array too |
05:43.39 | Shirik | but anyway |
05:43.48 | Shirik | not directly |
05:43.53 | Shirik | you can always scan through the table to find it |
05:44.18 | Shirik | but why do you want its index? |
05:44.28 | *** join/#wowi-lounge GomiNoSensei (i=tonyd@d207-216-212-145.bchsia.telus.net) |
05:44.47 | Shirik | and if you really do need it, perhaps you're storing it backwards |
05:44.50 | Lej | frame1 got a child button that is supposed to change it's position in the table |
05:44.57 | Shirik | instead, try Frames = {[frame1] = 1, [frame2] = 2} |
05:45.02 | Shirik | then you can query Frames[frame1] |
05:45.33 | Lej | but how would I access the frame then? |
05:45.44 | Shirik | so you need to go both ways then? |
05:45.48 | Lej | yup |
05:46.02 | Shirik | either you make two tables (a reverse lookup) or you scan through the table |
05:46.03 | Lej | scanning will work |
05:46.10 | Lej | not very big arrays |
05:46.13 | Shirik | I would recommend that then |
05:53.15 | Chaotic_D | does TomTom have an arrow above the NPC pointing towards the waypoint, or does only Cartographer do that? |
05:53.41 | batrick | Lej, you can make the number of the child frame a value of the frame's table |
05:53.42 | Shirik | uh |
05:53.50 | Shirik | Chaotic_D: An arrow above the NPC? |
05:54.00 | Chaotic_D | you haven't seen that with Cartographer? |
05:54.03 | batrick | e.g. child.number = 1, child2.number = 2, ... |
05:54.06 | Shirik | what NPC? |
05:54.23 | Chaotic_D | actually, I think it's just in the middle of the screen, regardless. oops, I meant player, not NPC. |
05:54.31 | Lej | hmm yes, that might work. However I fucked something else up so nothings working atm :P |
05:54.32 | Shirik | ah |
05:54.38 | Thunder_Child | it's cart |
05:54.41 | Shirik | well I've never seen tomtom do that |
05:54.57 | Thunder_Child | it can be moved where you want it though |
05:55.00 | Shirik | Anyway, good night everyone |
05:55.05 | Thunder_Child | night Shirik |
05:55.07 | Shirik | tomorrow = hell |
05:55.08 | batrick | night Shirik |
05:55.12 | Chaotic_D | I really like that arrow. |
05:55.26 | Thunder_Child | and thats different from normal how?.... Shirik|zZz you wuss.... |
05:55.41 | Shirik|zZz | Ok, take what tomorrow usually is |
05:55.48 | Shirik|zZz | multiply its hellishness factor by 5 |
05:55.49 | Shirik|zZz | that's tomorrow |
05:55.59 | Thunder_Child | sounds like fun, enjoy |
05:56.00 | Shirik|zZz | anyway, night |
05:56.20 | Chaotic_D | I want Tekkub's TourGuide to look up the exact location with LightHeaded, so you don't have to look up specific information that might not be in the walkthrough you're transcribing into script, and it will also give you exact co-ordinates with a decimal place. |
05:57.33 | Chaotic_D | because really... otherwise it's just a reminder of stuff you already have to be familiar with. or maybe I'm just rusty from not playing in over a year. then again, I can also be a bit slow, especially under stress, so I really want all the help I can get. |
05:59.20 | Chaotic_D | is there a good time to check for the existance of other addons just once, or is it no big deal (and actually recommended) to call it every time you want to use them? |
06:01.55 | Chaotic_D | ... |
06:03.21 | Chaotic_D | is it better to check for the existance of other addons every time you want to use them, just in case they become disabled, or get loaded in a different order? (or do they all get loaded before they get run? maybe that's the difference between oninitialize and onenable) |
06:09.44 | Chaotic_D | I stopped rambling. that last one was a legitimate question. |
06:12.51 | Lej | is there no way to delete frames? |
06:15.58 | Wobwork | Lej: none |
06:16.03 | Wobwork | apart from /rl |
06:16.17 | Wobwork | Chaotic_D: You can check at any time |
06:16.24 | Wobwork | as long as you're not doing it every frame =) |
06:21.50 | Chaotic_D | m'kay. well, I guess it's not actually that often, so it shouldn't really slow things down. |
06:25.33 | Lej | is there any simple way to input a value, something like InputBox from vb |
06:28.16 | *** join/#wowi-lounge art3mis (n=art3mis@ool-18b9f13e.dyn.optonline.net) |
06:33.19 | Chaotic_D | uhg. it's been such a long time since I've done coding. |
06:33.47 | Chaotic_D | if you're calling a function that returns a dozen variables, how do you just dump all but one or two you want? |
06:34.12 | Chaotic_D | man, that's such a lazy question, isn't it. |
06:34.34 | Lej | a, _, _, b, _ = StupidFunc() |
06:34.39 | Lej | think you do it like that |
06:35.09 | Chaotic_D | underscores? |
06:35.50 | Lej | think so, not 100% sure though |
06:36.36 | *** join/#wowi-lounge N3cr0m4ncer (n=Necroman@p508A3BB9.dip0.t-ipconnect.de) |
06:37.06 | *** join/#wowi-lounge Aero1 (i=Aero1@c529cbb57.cable.wanadoo.nl) |
06:37.11 | Aero1 | Hello |
06:37.19 | Aero1 | can anyone tell me about the dead scar? |
06:39.36 | Chaotic_D | is _ like nil? |
06:40.05 | *** join/#wowi-lounge MoonWolf (n=MoonWolf@g34212.upc-g.chello.nl) |
06:40.09 | *** mode/#wowi-lounge [+v MoonWolf] by ChanServ |
06:40.13 | Lej | I think it just doesn't save the value returned. BUt I'm guessing. |
06:46.56 | Chaotic_D | ah yeah. I see LightHeaded using it. |
06:47.00 | *** join/#wowi-lounge Nargiddley (n=narg@203-97-236-74.cable.telstraclear.net) |
06:58.37 | ckknight | Wobwork: yea, I'm playing a pally |
06:58.54 | *** join/#wowi-lounge bleeter (n=bleeter@guifications/developer/bleeter) |
06:59.37 | Kirkburn|afk | Note: if you see a guy called Aero1 (i=Aero1@c529cbb57.cable.wanadoo.nl), kick him for private serverness advertising |
06:59.48 | Kirkburn|afk | Like the guy who appeared earlier >_> |
07:00.32 | *** join/#wowi-lounge bleeter (n=bleeter@guifications/developer/bleeter) |
07:02.21 | Corrodias | a good night to you all |
07:02.56 | Chaotic_D | goodnight. |
07:05.36 | *** join/#wowi-lounge bleeter (n=bleeter@guifications/developer/bleeter) |
07:06.09 | *** join/#wowi-lounge Kody- (n=kody@71.141.133.211) |
07:06.10 | *** join/#wowi-lounge Droolio (n=drool@87-194-188-170.bethere.co.uk) |
07:06.54 | Maldivia | no no, not goodnight, good morning all :9 |
07:12.15 | sag_ich_nicht | [08:58] <ckknight> Wobwork: yea, I'm playing a pally <--spec? :O |
07:12.30 | ckknight | prot |
07:13.08 | Lej | if you create several frames with the same name will that fuck up _G["name"]? |
07:13.18 | ckknight | Chaotic_D: it's the throwaway value, where you put stuff you won't use |
07:13.20 | ckknight | no, it uses the latest one |
07:13.23 | ckknight | I don't recommend doing it |
07:13.34 | Lej | is there any way to get a random name? |
07:13.37 | ckknight | sag_ich_nicht: how come? |
07:13.38 | Lej | anything but nil |
07:13.44 | ckknight | Lej: tostring(math.random()) |
07:14.08 | Lej | hmm I guess that's secure enough ^^ |
07:14.38 | *** join/#wowi-lounge Chardonnay (n=chardonn@cpe-76-172-80-36.socal.res.rr.com) |
07:16.36 | sag_ich_nicht | ckknight: i play a ret paladin :) |
07:16.46 | ckknight | how come? |
07:16.54 | sag_ich_nicht | how come what? |
07:17.13 | sag_ich_nicht | i think i am missing something here |
07:17.15 | sag_ich_nicht | >.> |
07:21.01 | sag_ich_nicht | ~poke ckknight |
07:21.02 | purl | ACTION cuts down a small tree, sneaks up behind ckknight, pokes ckknight repeatedly, hilarity ensues. |
07:23.44 | *** join/#wowi-lounge Punkie` (n=~@host86-138-93-24.range86-138.btcentralplus.com) |
07:25.18 | art3mis | eeeeeeeeeeeeeeeeeeeeeeeee |
07:25.30 | sag_ich_nicht | eee |
07:25.36 | bleeter | oOOooo |
07:25.41 | Punkie` | uuuuuuuuuuuuuuuuuuuu |
07:25.44 | art3mis | damn lemme try that again |
07:25.49 | art3mis | eeeeeeeeeeeeeeeeeeeeeeeee(tm) |
07:25.54 | sag_ich_nicht | eee |
07:26.09 | art3mis | ooooo eeeeee ooooooooo aaa aaaa ding dang |
07:26.20 | Punkie` | walla walla bing bang? |
07:26.22 | Thunder_Child | walla walla bing bang |
07:26.26 | art3mis | heh |
07:26.29 | Punkie` | owned tc! |
07:26.42 | Thunder_Child | no, yours has a "?" |
07:26.44 | art3mis | so i ordered 4 things from this new company thats been trying to get me to order through them for work |
07:27.00 | Thunder_Child | it wasnt a question, it was a statement |
07:27.06 | art3mis | and the 4 items were shipped in 3 seperate packages with 3 consecutive arrival days |
07:27.37 | art3mis | so i don't believe i'll be ordering from them anymore |
07:27.59 | art3mis | i dont relish the though of a big order requiring me to be at the office for a full week to make sure i dont miss anything |
07:28.02 | art3mis | thoughts |
07:28.05 | art3mis | thought |
07:28.19 | art3mis | and appearantly im allergic to typing correctly |
07:28.20 | Thunder_Child | can be some upsdies |
07:28.23 | Thunder_Child | upsides |
07:28.25 | Thunder_Child | me to |
07:28.32 | art3mis | like what? |
07:28.41 | Thunder_Child | less chance of things getting lost |
07:28.52 | Thunder_Child | new :suprise" each day |
07:28.57 | art3mis | that would be accomplished by using a slightly bigger box ;P |
07:28.57 | Thunder_Child | s/:/"/ |
07:29.08 | art3mis | heh |
07:29.13 | Thunder_Child | the more you have at once the more likely something is going to get lost |
07:29.16 | art3mis | on a plus side i get my 2gb for my laptop tomorrow |
07:29.35 | art3mis | it's coming ups |
07:29.42 | Thunder_Child | there may have been a reason for shiping it like that |
07:29.44 | art3mis | as far as im concerned the more boxes the more trouble ;P |
07:29.50 | Thunder_Child | i mean when it gets to you..not the shipper |
07:29.55 | art3mis | yeah because my account rep is an idiot ;P |
07:30.09 | art3mis | first she filed it under the wrong account |
07:30.16 | art3mis | then sent the confirmation to the wrong email |
07:30.33 | art3mis | then had the wrong billing phone number despite me telling her to change it 4 times in 4 seperate emails |
07:30.38 | art3mis | ;) |
07:31.07 | art3mis | oh well i gave em a chance, and now im just gonna skip the middle man and order directly from thier supplier instead ;P |
07:31.24 | Thunder_Child | a possibilty...your daming the company as whole for the actions of one person.....i know that who you interact with is a reprisentitive but if you explain your concerns they may fix it |
07:31.47 | art3mis | that may be but there really is no advantage to me ordering through them |
07:31.47 | Thunder_Child | besides, if they want you, they will bed over backwards to do what you want |
07:31.58 | art3mis | because THEY have to order from the aprent company |
07:31.59 | Thunder_Child | the supplier doesnt |
07:32.00 | art3mis | parent |
07:32.08 | art3mis | which iw as already ordering from |
07:32.21 | art3mis | i figured tha since they were local that stuff would get to me sooner |
07:32.25 | art3mis | such is not the case |
07:32.33 | art3mis | and its really just more of a hassle |
07:32.49 | Thunder_Child | like i said...you could try talking to them...or you could be human and not like what they do and ignore them |
07:33.01 | art3mis | ill give her annoyance points though she does email and call an aweful lot to see if i need anything though |
07:33.04 | Thunder_Child | (note: i dont vote for the human option) |
07:33.18 | Thunder_Child | just an opnion ofc |
07:33.24 | art3mis | oh i fully intend on adressing this once i get my stuff |
07:33.45 | *** join/#wowi-lounge Drool (n=drool@87-194-188-170.bethere.co.uk) |
07:33.53 | art3mis | but in all honesty it serves me no real benefit to call them to order and then they order from the company i was originally ordering to palce the order for me |
07:34.03 | art3mis | specially when service is no better |
07:34.38 | art3mis | it's like me hiring someone to walk across the street for me to get me coffee |
07:35.02 | art3mis | even though i still pay a bit more... it doesnt get me my coffee faster or more correct |
07:35.13 | art3mis | makes very little sense i suppose |
07:35.18 | *** join/#wowi-lounge Wobin (n=wobin@124-170-225-248.dyn.iinet.net.au) |
07:35.37 | art3mis | oh...my.god... wobin is an aussie? |
07:35.40 | art3mis | ;) |
07:35.45 | Thunder_Child | yep |
07:35.58 | art3mis | appeaantly im losing my sarcastic touch today |
07:36.04 | Thunder_Child | or he is spoofing |
07:36.18 | art3mis | was talking to my wifes hair dresser whos name is Hyam, and looks VERY isreali |
07:36.31 | art3mis | and he says yeah im going to isreal on vacation |
07:36.41 | art3mis | and i look at him and say You're isreali?!?! |
07:36.56 | art3mis | which got the serious response of yes, i thought dena had told you |
07:38.06 | art3mis | on a plus side today though i did find an old co-worker, that i thought was dead, on facebook |
07:38.19 | art3mis | and shes still sooooo yummy |
07:38.37 | Thunder_Child | dead? |
07:38.38 | Lej | is there any event that's fired when the saved variables are finished loading? |
07:38.39 | Thunder_Child | nice |
07:38.50 | art3mis | yeah she dropped off the face of the earth one day |
07:39.03 | art3mis | no-one knew where she went or had heard fromm her |
07:39.06 | Punkie` | Lej: You could probably use PLAYER_ENTERS_WORLD |
07:39.37 | Wobin | nothing wrong with aussies |
07:39.42 | Wobin | everyone knows aussies are sexy |
07:40.22 | Lej | becuase when I try to set some saved vars to nil OnLoad nothing happens |
07:41.25 | Lej | there is accually a "VARIABLES_LOADED" event |
07:41.34 | Lej | but how do I use these? |
07:44.53 | *** join/#wowi-lounge Lysistrata (n=yousuck@unaffiliated/lysistrata) |
07:52.02 | *** join/#wowi-lounge Telrin (n=test@klaagmuur.quince.nl) |
07:55.43 | zenzelezz | http://www.gucomics.com/comic/?cdate=20070822 |
07:59.19 | art3mis | so zen let me ask you this |
07:59.29 | art3mis | are any of those comics ever funny? |
07:59.42 | zenzelezz | I find your lack of faith disturbing |
08:00.41 | art3mis | you should see this growth in the middle of my back then |
08:02.39 | *** join/#wowi-lounge Saint-N (n=art3mis@pool-70-19-83-139.ny325.east.verizon.net) |
08:02.42 | *** join/#wowi-lounge Nargiddley` (n=narg@203-97-236-74.cable.telstraclear.net) |
08:07.07 | *** join/#wowi-lounge bleeter_ (n=bleeter@guifications/developer/bleeter) |
08:13.12 | Nom- | ugh finally |
08:13.14 | Nom- | ready to deploy code! |
08:13.21 | Nom- | <-- tired |
08:24.04 | *** join/#wowi-lounge Flexom (n=Flexom@83.80-202-153.nextgentel.com) |
08:24.28 | *** join/#wowi-lounge Legorol (n=legorol@stud-nat-blk12.trin.cam.ac.uk) |
08:24.28 | *** mode/#wowi-lounge [+v Legorol] by ChanServ |
08:40.21 | *** join/#wowi-lounge Lej (n=mail@81-235-141-90-no63.tbcn.telia.com) |
08:50.45 | *** join/#wowi-lounge JunkHead-Work (n=none@static-65-73-21-211.br1.atm.al.frontiernet.net) |
08:51.25 | Mr_Rabies2 | tugboattugboattugboat |
09:02.38 | *** join/#wowi-lounge Srosh (n=Srosh@c222201.adsl.hansenet.de) |
09:03.40 | Nom- | Ohio law permits anyone to walk into a county election office and obtain two crucial documents: a list of voters in the order they voted, and a time-stamped list of the actual votes. "We simply take the two pieces of paper together, merge them, and then we have which voter voted and in which way," |
09:03.45 | Nom- | ROFL |
09:06.21 | Mr_Rabies2 | sounds like that's gonna get crushed soon |
09:17.02 | Wobin | >< |
09:18.52 | Mr_Rabies2 | that's probably one of those laws that's been on the books for years that no one's bothered looking at in forever |
09:42.47 | Maldivia | here are some really stupid laws out there |
09:42.50 | Maldivia | there* |
09:48.15 | *** join/#wowi-lounge IleBur (i=ilebur@shell.node.fi) [NETSPLIT VICTIM] |
09:51.13 | Mr_Rabies2 | man |
09:51.22 | Mr_Rabies2 | this is a really strangely designed item |
09:51.23 | Mr_Rabies2 | http://www.wowhead.com/?item=33054#comments |
09:51.30 | Mr_Rabies2 | Moonkin ring? |
09:52.13 | Mr_Rabies2 | it's not a bad tanking ring for bears, but the damage and healing and resilience hurts the budget for pve |
09:55.56 | Chardonnay | seems like a pretty good "survivability" pvp ring for any caster |
09:56.40 | Arrowmaster | yeah theres 3 different pvp rings from SSC |
10:04.06 | *** join/#wowi-lounge Adys (n=Adys@APoitiers-257-1-51-227.w86-205.abo.wanadoo.fr) |
10:08.24 | Mr_Rabies2 | that one's pretty awesome for moonkins though |
10:08.31 | Mr_Rabies2 | since they get the armor bonus |
10:54.33 | *** join/#wowi-lounge Chompers (n=Chomp@cpc2-cove7-0-0-cust20.brhm.cable.ntl.com) |
10:59.08 | Mr_Rabies2 | rofl |
10:59.21 | Mr_Rabies2 | apparently our shaman took some lsd and is freaking out in our arcatraz run |
11:02.19 | sag_ich_nicht | lol |
11:03.44 | Mr_Rabies2 | he just left |
11:03.45 | Mr_Rabies2 | he was like |
11:03.55 | Mr_Rabies2 | "i can't stay at the computer any longer man" |
11:04.01 | Mr_Rabies2 | and he was doing so well too |
11:04.02 | Mr_Rabies2 | :[ |
11:09.17 | sag_ich_nicht | spec Mr_Rabies? |
11:10.14 | Mr_Rabies2 | enhancement |
11:10.21 | Mr_Rabies2 | it was nice having 3300 AP when my trinkets popped |
11:10.44 | Mr_Rabies2 | <3 good shamans |
11:11.06 | *** join/#wowi-lounge JoshBorke (n=Josh@r35h14.res.gatech.edu) |
11:21.14 | *** join/#wowi-lounge MoonWolf (n=MoonWolf@g34212.upc-g.chello.nl) |
11:21.14 | *** mode/#wowi-lounge [+v MoonWolf] by ChanServ |
11:41.12 | *** join/#wowi-lounge Lin (n=igor@unaffiliated/lincity) |
12:08.44 | *** join/#wowi-lounge dabujo (i=xx@p54ACA658.dip0.t-ipconnect.de) |
12:34.27 | *** join/#wowi-lounge Adys (n=Adys@APoitiers-257-1-51-227.w86-205.abo.wanadoo.fr) |
12:52.49 | *** join/#wowi-lounge Xuerian (n=core@wireless-216-222-130-182.citizip.com) |
12:52.54 | *** join/#wowi-lounge Cidan (i=feh@ip68-98-130-180.dc.dc.cox.net) |
12:56.04 | *** join/#wowi-lounge bindi (i=indigo@d54C68C7E.access.telenet.be) |
13:22.35 | *** join/#wowi-lounge herzogthc (i=wsmith@c-75-66-44-85.hsd1.tn.comcast.net) |
13:32.19 | *** join/#wowi-lounge dabujo_ (i=xx@p54AC9CB8.dip0.t-ipconnect.de) |
13:39.59 | *** join/#wowi-lounge anakha (n=anakha@81-229-94-165-no68.tbcn.telia.com) |
13:43.32 | *** join/#wowi-lounge ts|skrom (n=TS|Skrom@66.148.226.210.nw.nuvox.net) |
13:49.21 | *** join/#wowi-lounge [Ammo]_ (n=wouter@connected.dnd.utwente.nl) |
13:52.59 | *** join/#wowi-lounge QQngsk (n=Gngsk@c-69-138-213-251.hsd1.md.comcast.net) |
14:25.14 | *** join/#wowi-lounge Lopeppeppy (n=Lopeppep@141.222.30.79) |
14:33.13 | *** join/#wowi-lounge Legorol (n=legorol@stud-nat-blk12.trin.cam.ac.uk) |
14:33.13 | *** mode/#wowi-lounge [+v Legorol] by ChanServ |
14:41.53 | *** join/#wowi-lounge Gryphen (n=gryphon@71.216.187.10) |
14:50.32 | *** join/#wowi-lounge Wobin (n=wobin@124-170-225-248.dyn.iinet.net.au) |
14:51.45 | *** join/#wowi-lounge Umbra_ (n=Umbra@70.88.11.142) |
14:52.29 | *** join/#wowi-lounge Adys|sleep (n=Adys@APoitiers-257-1-51-227.w86-205.abo.wanadoo.fr) |
14:56.48 | *** part/#wowi-lounge Umbra_ (n=Umbra@70.88.11.142) |
14:58.02 | *** join/#wowi-lounge Cide (n=Cide@hus110a.bobbnet.com) |
14:58.02 | *** mode/#wowi-lounge [+v Cide] by ChanServ |
14:58.35 | *** join/#wowi-lounge Umbra_ (n=Umbra@70.88.11.142) |
15:00.27 | *** join/#wowi-lounge [Ammo] (n=wouter@connected.dnd.utwente.nl) |
15:09.05 | *** join/#wowi-lounge cog|work (n=chatzill@intra.kistlerwine.com) |
15:12.32 | *** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@64.193.93.197) |
15:14.43 | cog|work | It's too bad sony did a good job on Blu-ray. It would've been neat to make fun of them calling them Blu-rry discs... |
15:15.27 | ts|skrom | Could've made comparisons to Ray Charles |
15:16.16 | ts|skrom | you know... because he's blind and you blurry discs woudl suck |
15:16.19 | *** join/#wowi-lounge rophy (n=Miranda@220-132-204-186.HINET-IP.hinet.net) |
15:16.30 | Mr_Rabies2 | i'm still not getting one or an hd-dvd player until they're under a 100 bucks and one wins |
15:16.47 | Mr_Rabies2 | though i could get a 360 one for the equivalent of 30 bucks |
15:16.58 | Mr_Rabies2 | 170 bucks with 140 bucks worth of discs |
15:17.35 | nevcairiel | i wait for holographic versatile discs :shrug: |
15:17.43 | cog|work | My boss bought a PS3 shortly after it came out because it was one of the best Blu-ray players out there |
15:18.05 | cog|work | he's an early adopter... not exactly hurting for cash |
15:18.19 | *** join/#wowi-lounge Valaron|Work (n=esochan@techshop.ecst.csuchico.edu) |
15:19.04 | Mr_Rabies2 | nev |
15:19.15 | Mr_Rabies2 | i'm guessing the next standard will be digital distribution |
15:19.32 | nevcairiel | you mean like internetzzz? |
15:19.49 | Mr_Rabies2 | less work for the liscenser, more drm control |
15:20.04 | nevcairiel | still 3.9 TB of data on one disc has to rock |
15:25.50 | *** join/#wowi-lounge foxlit (n=me@0x573e6bae.albnxx18.adsl-dhcp.tele.dk) |
15:28.58 | *** join/#wowi-lounge Lysistrata124 (n=yousuck@unaffiliated/lysistrata) |
15:33.45 | Thunder_Child | Mr_Rabies2, people are still going to need solid state backups |
15:34.21 | Mr_Rabies2 | when has the movie industry cared about people's needs or wants? |
15:34.46 | Mr_Rabies2 | as long as they can make money off of something without having to pay money to print it, they will |
15:34.50 | Thunder_Child | i was talking about holo disks vs digital distubution |
15:35.14 | Mr_Rabies2 | hard drive? |
15:35.24 | Mr_Rabies2 | or a solidstate disc? |
15:35.46 | Thunder_Child | the holo disks nev mentioned |
15:37.44 | *** join/#wowi-lounge nuoHep (i=nuoHep@85.192.55.242) |
15:38.04 | Mr_Rabies2 | holodiscs as a storage medium or distribution medium? |
15:38.34 | Thunder_Child | storage |
15:38.54 | *** part/#wowi-lounge Lopeppeppy (n=Lopeppep@141.222.30.79) |
15:39.12 | Mr_Rabies2 | oh, well yeah |
15:39.26 | Mr_Rabies2 | i meant the next version of movie distribution |
15:39.35 | Mr_Rabies2 | will likely be digital via the internet |
15:39.43 | Mr_Rabies2 | as broadband rolls out more |
15:40.33 | Mr_Rabies2 | and as FIOS rolls out, definitely |
15:42.05 | foxlit | With all that bandwidth use |
15:42.32 | foxlit | I wonder what will happen to the internets my collegues have sent to me last week and I've only got it yesterday! |
15:43.16 | Mr_Rabies2 | iPlumbr |
15:48.06 | *** join/#wowi-lounge JoshBorke (n=Josh@r35h14.res.gatech.edu) |
15:50.01 | Mr_Rabies2 | oh no |
15:50.03 | Mr_Rabies2 | no no no |
15:50.07 | Mr_Rabies2 | that's not right at all |
15:50.13 | Mr_Rabies2 | what is this travesty? http://www.bays.com/recipes/recipe.php?iRecipeID=124&iMealType=3 |
15:50.25 | Mr_Rabies2 | "S'Morffins" |
15:57.55 | ScytheBlade1 | Yay for guild mergers! |
15:57.56 | ScytheBlade1 | ... |
15:58.21 | zenzelezz | ouch |
15:58.31 | zenzelezz | those don't usually work well |
15:58.50 | ScytheBlade1 | It'll be interesting |
15:58.56 | ScytheBlade1 | Have a combine player base of... 60. |
15:59.34 | Wobin | O.O |
15:59.40 | Wobin | S'Morffins? |
15:59.43 | Wobin | WTF? |
15:59.52 | Wobin | That looks horrific |
16:00.00 | ScytheBlade1 | They look incredible. |
16:00.25 | Wobin | It'd be like ice cream on toast =O |
16:00.32 | Wobin | -buttered- toast |
16:00.45 | ScytheBlade1 | ... stack it on top of some ice cream |
16:00.47 | nevcairiel | buttered muffins! |
16:01.00 | Mr_Rabies2 | i mean hell |
16:01.10 | Mr_Rabies2 | i'm a fatass and that makes my arteries hurt |
16:01.19 | Mr_Rabies2 | just reading the recipe |
16:01.27 | ScytheBlade1 | That is so not the point |
16:01.27 | nevcairiel | heh |
16:01.35 | Wobin | Serves 12 |
16:01.38 | Mr_Rabies2 | it doesn't even look that good |
16:01.38 | Wobin | Jesus =P |
16:01.46 | Wobin | yeah =\ |
16:01.49 | Mr_Rabies2 | it just looks like it's designed to be awful for you |
16:01.59 | ScytheBlade1 | Awfully awesome. |
16:02.08 | Mr_Rabies2 | if you're going to eat something awful for you at least let it be something that's not an english muffin covered in sugar |
16:02.10 | Wobin | The only way they could have done better... |
16:02.22 | Wobin | is to have a can of baking spray to spray on 'to taste' |
16:02.36 | Mr_Rabies2 | i can't eat anything sweet on english muffins |
16:02.42 | Wobin | Except maybe jam |
16:02.48 | Wobin | or honey |
16:02.50 | Mr_Rabies2 | nope, i can't |
16:02.53 | Mr_Rabies2 | tried it |
16:03.10 | Mr_Rabies2 | butter or cheese or marinara sauce |
16:03.20 | Wobin | They work best with savoury toppings |
16:03.42 | Wobin | In fact out of all those recipes |
16:03.49 | Wobin | it's only one of two that has a sweet topping |
16:04.11 | Wobin | and even the other one isn't really sweet |
16:04.12 | Mr_Rabies2 | probably because english muffins, especially bays, are terrible for sweet stuff |
16:04.17 | Wobin | yeah |
16:04.19 | Lin | hi there!! |
16:08.49 | *** join/#wowi-lounge Matrix110 (i=blubb@pD957EA15.dip.t-dialin.net) |
16:09.53 | Thunder_Child | hello Lin, have anything to add to english muffins? |
16:10.27 | Rallion | i would eat that. |
16:11.04 | Rallion | honestly, if you just completely removed the muffin, that's perfectly normal. |
16:11.16 | Wobin | yeh |
16:11.21 | Wobin | it's the muffin we're complaining about =) |
16:11.39 | Rallion | so odd. |
16:11.44 | Wobin | although a s'more of that size is ... scary |
16:12.19 | Rallion | yeah, but if you multiply the size of a normal s'more by the number of them that I want to eat once I have the first one, it's tiny :P |
16:12.37 | Wobin | well eating lots of tiny ones is different to eating one huge one |
16:12.51 | *** join/#wowi-lounge Elkano (n=elkano@ip-213-135-2-189.handshake.de) |
16:12.51 | Rallion | yeah...it sure is. |
16:13.10 | Wobin | for one thing, by the time you get halfway through, the chocolate would have hardened, the muffin would have cooled and the ice cream melted |
16:13.19 | Wobin | so yuck =\ |
16:13.21 | Lin | Thunder_Child: nothing |
16:13.24 | Rallion | yeah, I thought of that |
16:13.38 | Lin | Elkano: that made Elkano Buff Bars? |
16:13.39 | Rallion | I don't even know what you could possibly add in place of a muffin. |
16:13.48 | Rallion | cake is too soft |
16:13.53 | Lin | Elkano: nice addon. I use it ;-) |
16:14.23 | Rallion | the horrible thing is that somebody actually came up with that recipe |
16:14.35 | Elkano | ^^ |
16:14.40 | Rallion | they thought of it! in their own mind! without somebody else suggesting it! |
16:15.20 | Thunder_Child | hmm..speaking of your bars Elkano, is there a way for them to display who cast a spell on you? |
16:15.49 | Rallion | whoa |
16:16.04 | Rallion | Wii has supposedly surpassed the 360 |
16:16.28 | cog|work | Rallion: somehow that doesn't surprise me |
16:16.50 | Elkano | as long as Blizzard denys us that info: no |
16:17.04 | Thunder_Child | boo...k, thanks |
16:17.12 | Elkano | if it would be available via API I would have put it in ^^ |
16:17.58 | cog|work | It will be easy to know these things come 2.4 (as long as you don't log out) |
16:18.13 | Thunder_Child | well it could be stored |
16:18.19 | *** join/#wowi-lounge Adys|sleep (i=Adys@APoitiers-257-1-22-54.w90-38.abo.wanadoo.fr) |
16:18.29 | cog|work | storing doesn't help if you play on multiple comps |
16:18.37 | cog|work | unless you sync WTF folders every single time |
16:18.40 | nevcairiel | lol |
16:18.42 | Thunder_Child | bingo |
16:18.52 | Thunder_Child | or simply play on one comp |
16:18.58 | cog|work | pfft |
16:19.02 | cog|work | but then what would i do at work? |
16:19.07 | Elkano | problem is still to associate the data with the buffs correctly, eg for HoTs |
16:19.08 | Thunder_Child | laptop |
16:19.22 | cog|work | umm no :P |
16:19.36 | Thunder_Child | how would that be any different from any other buff? |
16:19.36 | cog|work | I like performance |
16:19.47 | Thunder_Child | ...fine, a *good* laptop |
16:19.56 | cog|work | and 24" monitors |
16:20.03 | cog|work | (emphasis on the S) |
16:20.09 | Thunder_Child | so hook it up to an external monitor |
16:20.44 | Thunder_Child | s/to an external monitor/external monitors/ |
16:20.46 | cog|work | and waste the $1000s i've already spent on my desktop? |
16:20.58 | Thunder_Child | purl you fail |
16:20.58 | purl | ACTION slaps you for calling her a failure. |
16:21.10 | cog|work | ~botsnack |
16:21.10 | purl | cog|work: :) |
16:21.41 | Wobin | TC: you fail at regexp substitution =) |
16:21.42 | cog|work | what next? |
16:21.44 | cog|work | :P |
16:21.59 | Thunder_Child | pfft, it's just money |
16:22.48 | cog|work | u buy me laptop kthxbye |
16:23.07 | cog|work | (and none of that OLPC crap...) |
16:23.23 | Thunder_Child | thats not an argument |
16:23.50 | cog|work | Thunder_Child: yes it's just money. But I can't get a gaming laptop until next year |
16:24.09 | Thunder_Child | just in time for 2.4 |
16:24.12 | Thunder_Child | works |
16:24.15 | cog|work | And even then, I don't like playing on laptops |
16:24.29 | cog|work | I like full-sized keyboards |
16:24.37 | cog|work | I can rearrange all the keys to match the dvorak layout |
16:24.40 | Thunder_Child | so take one along |
16:24.47 | cog|work | I don't like USB keyboards |
16:25.04 | cog|work | every single one I've used so far can't handle more than 2-3 keys at a time |
16:25.31 | Thunder_Child | most keyboards are usb keayboards |
16:25.38 | cog|work | Not the ones I use |
16:25.41 | Thunder_Child | mine handles 6-7 at a time or so |
16:25.43 | cog|work | I'm very picky |
16:25.52 | Thunder_Child | but then i am not usualy mashing my keayboard |
16:26.36 | Thunder_Child | link me the keyboard you use |
16:27.25 | Thunder_Child | still..they have ***->usb converters |
16:28.04 | cog|work | It's just a cheapo 104-key PS/2 |
16:28.16 | cog|work | no bells & whistles |
16:29.02 | cog|work | My biggest beef is that the backslash key must be between the backspace and enter keys. Some have the backslash right next to a tiny backspace key and enter takes up two rows |
16:29.30 | cog|work | Now let me ask you this: |
16:30.09 | cog|work | If I get a gaming laptop and have to bring two 24" monitors, a keyboard, and an extra mouse, how is that *more* convenient than playing on two computers and occasionally forgetting to sync WTF folders? |
16:30.32 | Thunder_Child | what bring? use what you have where you go |
16:31.01 | cog|work | But then I won't be able to use the computers at the places i go... |
16:31.06 | cog|work | Windowed mode 4tw |
16:31.34 | Thunder_Child | you wont need to use the comps at the places you go, you will have a better core |
16:31.45 | cog|work | Except that at work i need to do work |
16:32.00 | cog|work | and i sure as hell am not contaminating my laptop with the software we use at work |
16:32.17 | Thunder_Child | KVM |
16:32.31 | cog|work | blech |
16:32.39 | cog|work | i hate those even more than laptop keyboards |
16:33.00 | cog|work | defeats the purpose of running in windowed mode |
16:33.08 | cog|work | among other annoyances |
16:33.31 | Thunder_Child | windowed so you can still work at the same time you mean? |
16:33.36 | cog|work | yes |
16:34.34 | cog|work | I've often answered the phone while fighting when all the lines are tied |
16:34.54 | cog|work | and then needed to look the person up in our database |
16:36.10 | Thunder_Child | do you strech wow across both monitors? |
16:36.23 | Thunder_Child | or 1 for wow 1 for work? |
16:36.29 | cog|work | No, but I use both monitors for work |
16:36.49 | cog|work | (all of us have two monitors. it's pretty schweet :) ) |
16:37.01 | Thunder_Child | yea, i had that at my last job |
16:37.14 | Thunder_Child | only 19's though :( |
16:37.40 | cog|work | I don't think WoW would perform very well at 3520x1200 :P |
16:38.00 | Thunder_Child | depends on the system your running |
16:38.13 | cog|work | I would only want to span monitors if i had 3 |
16:38.30 | Thunder_Child | heh, couldnt handle the break in the middle |
16:38.43 | zenzelezz | spanning an even number is just ugly |
16:38.51 | cog|work | and I don't have enough of a UI to fill up an entire screen |
16:39.39 | Thunder_Child | blast, i do belive you have defeated me!! |
16:39.55 | Thunder_Child | option #2, external HD with wow installed on it |
16:40.22 | cog|work | Except i'm forgetful and would undoubtedly leave it at work some time |
16:40.24 | cog|work | :P |
16:40.33 | Thunder_Child | i dont know how fast/often wow reads from the HD..cant be much with it using all of the ram |
16:40.46 | cog|work | which is where this whole thing started with the forgetting to sync WTF |
16:41.06 | Thunder_Child | i thought it was pain of syncing...not forgeting |
16:41.19 | cog|work | nope. I don't mind... i just don't do sometimes... |
16:42.29 | Thunder_Child | ok, but back to the origional thin...if you log out with your buffs, it prolly doesnt matter by the time you next log in who cast them on you |
16:42.48 | cog|work | unless you get involuntarily d/c'ed |
16:42.54 | Thunder_Child | same system |
16:42.59 | cog|work | yep |
16:43.28 | Thunder_Child | well it can be saved on the system so thats not a problemn |
16:44.07 | cog|work | maybe it could give some indicatior that it's guessing |
16:44.33 | cog|work | if it loads from SV as opposed to encountering it during gameplay |
16:44.53 | Thunder_Child | well if it's on the same system it can save it so it doesnt need to guess, and if it is on a diff system then it dispalyes nothing |
16:45.26 | cog|work | well, it would still need to guess... it would have no way of knowing for certain whether it's the same buff or not |
16:45.30 | cog|work | even on the same system... |
16:45.47 | cog|work | what if you logged in from another computer and ended up logging out with the same buff? |
16:46.19 | Thunder_Child | eh? |
16:46.22 | Thunder_Child | try that again |
16:47.31 | Thunder_Child | besides you could compaire cast time duration, if it is higher than the name you have asociated with the buff it's wrong |
16:47.39 | cog|work | Comp 1: You get buffed by someone and log out. Comp 2: stuff happens, you end up buffed by someone else with the same buff. Back on comp 1: you log in with the same buff and it thinks you were buffed by the first person |
16:47.53 | Thunder_Child | see above |
16:48.02 | cog|work | that would only work half the time |
16:48.11 | cog|work | there's no reason you couldn't have less time on the buff |
16:48.14 | Shirik | >>> function f(...) return {...}; end t = f(1,nil,3); for k,v in pairs(t) print(k..": "..v); end |
16:48.14 | Cide | Shirik: [string "function f(...) return {...}; end t = f(1,nil,3); for k,v in pa..."]:1: 'do' expected near 'print' |
16:48.15 | cog|work | when you log in again |
16:48.20 | Shirik | >>> function f(...) return {...}; end t = f(1,nil,3); for k,v in pairs(t) do print(k..": "..v); end |
16:48.20 | Cide | Shirik: "1: 1", "3: 3" |
16:48.32 | Thunder_Child | the buff doesnt decay durning logout |
16:48.41 | Thunder_Child | when your loged out* |
16:48.43 | cog|work | no it doesn't. see above |
16:49.12 | cog|work | on comp 2, you could spend enough time buffed that when you log out it's less than what was left on comp 1's initial buff |
16:49.25 | Thunder_Child | then you have it check above and below |
16:49.32 | Thunder_Child | time wise |
16:49.35 | cog|work | my statement holds: it would have no way of knowing for certain whether it's the same buff or not |
16:49.47 | Shirik | don't you guys think you might be talking about an extremely "worst case" scenario? |
16:49.51 | cog|work | and there should be some indication that it could be different |
16:49.59 | Shirik | (jumping into the middle) |
16:50.13 | cog|work | Granted, it could be programmed to guess fairly accurately |
16:50.16 | Shirik | How many people are going to log onto another computer for about 15 minutes |
16:50.28 | cog|work | but there should be some indication that it may be incorrect |
16:50.30 | Thunder_Child | fine, you can have it to display nothing upon multiple login's/out's |
16:50.41 | *** join/#wowi-lounge Kaso (n=Kaso@host86-144-6-129.range86-144.btcentralplus.com) |
16:50.47 | Thunder_Child | must like Shirik says, it's unlikely |
16:50.53 | Thunder_Child | s/must/but/ |
16:51.06 | Thunder_Child | i dunno how i got must from but |
16:51.22 | cog|work | b is an aspirated m |
16:51.30 | ts|skrom | there's a gay joke in there somewhere, I know there is |
16:51.31 | cog|work | don't know where the s came from though |
16:51.43 | Shirik | eh, according to the japanese, b comes from f (or h) |
16:52.14 | Shirik | fu/hu -> pu -> bu |
16:52.15 | *** join/#wowi-lounge [Liquidor] (n=denras19@130.225.247.36) |
16:52.40 | Thunder_Child | except we arent talking in japanese...afaik |
16:52.43 | [Liquidor] | Any way to hook or read a jump? (default: space bar) |
16:52.52 | Shirik | Thunder_Child: Details =P |
16:53.24 | Shirik | [Liquidor]: Sorta, why? |
16:53.24 | Thunder_Child | indeed |
16:53.24 | cog|work | b is both a vocalized p and an aspirated m |
16:53.24 | [Liquidor] | Shirik, well any kind of movement? |
16:53.24 | cog|work | [Liquidor]: hooksecurefunc on any of the movement functions |
16:53.24 | Shirik | right |
16:53.43 | [Liquidor] | huh? |
16:53.49 | Shirik | do you know what hooksecurefunc is? |
16:54.03 | cog|work | [Liquidor]: http://www.wowwiki.com/API_hooksecurefunc |
16:54.15 | [Liquidor] | I know what hooking is and I know what the v2 securefunc is but I don't know what it is together |
16:54.34 | Shirik | note that you'll only be able to post-hook |
16:54.46 | Shirik | you can surely pre-hook all the movement functions etc but... that won't end well |
16:54.54 | ts|skrom | and sometimes cap'nhook |
16:54.55 | Shirik | I think it'll result in you not being able to move.. at all |
16:55.00 | Shirik | ~lart ts|skrom |
16:55.00 | purl | plops ts|skrom into a giant vat of herring |
16:55.00 | cog|work | yep |
16:55.13 | Mr_Rabies2 | why does this picture always make me laugh |
16:55.14 | Mr_Rabies2 | http://img112.imageshack.us/img112/9906/1184652143136ab6.jpg |
16:55.17 | Mr_Rabies2 | i don't understand |
16:55.18 | Thunder_Child | hooksecurefunc("JumpOrAscendStart") |
16:55.20 | Thunder_Child | i think |
16:55.35 | ts|skrom | cog|work do you prefer it "for the halibut" (hell of it) |
16:55.40 | cog|work | hooksecurefunc("JumpOrAscendStart", /yourfunction/) |
16:55.51 | ts|skrom | evil cat |
16:56.10 | Shirik | definitely evil cat |
16:56.22 | cog|work | "evil cat" is redundant |
16:56.38 | ts|skrom | point |
16:56.41 | Shirik | yup |
16:56.48 | cog|work | Cats are by far the cuddliest devil's spawn in the world |
16:56.51 | Shirik | just created a closure around JumpOrAscendStart |
16:56.56 | Shirik | WoW got rather mad |
16:57.00 | ts|skrom | I just wanted to make sure I wasn't misunderstood when I just said "cat" |
16:57.06 | ts|skrom | that could be a bit vague |
16:57.12 | cog|work | hep cat |
16:57.36 | Thunder_Child | Shirik, wht kind of mad? |
16:57.39 | Thunder_Child | what* |
16:57.45 | Shirik | not being able to jump mad |
16:58.04 | ts|skrom | You know what kind of trouble you can get into when you search for lyrics to the song "wet dreams"? |
16:58.06 | ts|skrom | oy |
16:58.08 | ts|skrom | http://www.com-www.com/musiclyrics/addottakip-wetdream.html |
16:58.11 | Thunder_Child | you broke your jump? |
16:58.13 | ts|skrom | "for the halibut" |
16:58.19 | Shirik | try it yourself =) |
16:58.34 | Thunder_Child | i'm not in |
16:58.36 | Shirik | do /script joas = JumpOrAscendStart; JumpOrAscendStart = function(...) joas(...) end |
16:58.52 | [Liquidor] | Does Ace support hooksecurefunc ? |
16:58.58 | Shirik | ... |
16:59.05 | Shirik | probably, but I wouldn't know |
16:59.16 | cog|work | ts|skrom: my wife has that song taped off the Dr. Demento radio show |
16:59.26 | Shirik | However, (shameless gloat) I wrote a function that securely hooks when needed as an addition to VFL :P |
16:59.29 | Thunder_Child | yes you would, stop lieing....we all know you aced RDX |
17:00.04 | Shirik | but.... [Liquidor], are you asking that because you can't figure out how to do it without Ace? |
17:00.18 | Shirik | Because if so, you are definitely at the wrong answer |
17:00.33 | [Liquidor] | Shirik, nah it's ok. I know how to do it without ace now but not _with_ ace :) |
17:00.37 | *** join/#wowi-lounge Funkeh` (n=funkydud@host217-44-96-5.range217-44.btcentralplus.com) |
17:00.43 | cog|work | why would you need Ace? |
17:00.50 | [Liquidor] | reading doc. on AceHook |
17:00.51 | Shirik | I know ace has a hooking library, that's it |
17:00.53 | zenzelezz | to complete the set |
17:00.53 | cog|work | it would only add another level of abstraction... |
17:01.09 | ts|skrom | Ace is the place |
17:01.18 | Thunder_Child | you have no idea what he is doing yet your alreasy bashing it |
17:01.22 | *** join/#wowi-lounge AD|sneg (i=sneg@maslov.intersv.com) |
17:01.24 | Thunder_Child | already* |
17:01.39 | cog|work | Thunder_Child: curiosity =/= bashing |
17:01.42 | AD|sneg | hi all, is it possible to ask a few quick questions regarding wow api? |
17:01.45 | cog|work | he might have a very good reason :P |
17:01.49 | cog|work | AD|sneg: don't ask to ask |
17:01.51 | zenzelezz | quite possible, yes |
17:01.57 | Mr_Rabies2 | this picture too, they just never get old to me :x |
17:01.59 | Mr_Rabies2 | http://img254.imageshack.us/img254/8494/1187887739588qc0.jpg |
17:01.59 | ts|skrom | ~asktoask |
17:02.00 | purl | This is IRC. Don't ask to ask a question. Just ask your question and if someone's around, they'll be glad to help. |
17:02.41 | ts|skrom | that was the picture that inspired that cars movie |
17:02.44 | ts|skrom | true story |
17:03.06 | Thunder_Child | "(10:01:00) (cog|work) it would only add another level of abstraction..." is not curiosity |
17:03.18 | AD|sneg | i am porting a simple addon from raw lua to wow api. afaik i m using all supported libs, nothing fancy or out of the ordinary. however, i m getting a few strange errors. is there any key differences between vanilla lua and wow api i need to know ? |
17:03.23 | Rallion | i love that picture. |
17:03.34 | AD|sneg | specifically regarding working with several files and using metatables |
17:03.35 | cog|work | Thunder_Child: nor was it bashing... merely an observation that led to my curiosity |
17:03.43 | cladhaire | AD|sneg: the io library doesn't exist |
17:03.44 | ScytheBlade1 | AD|sneg, all file I/O is gone |
17:03.44 | Shirik | AD|sneg: you can't access the I/O libraries |
17:03.45 | cladhaire | that's problem #1 |
17:03.45 | foxlit | AD|sneg: you can't work with files |
17:03.47 | ScytheBlade1 | Heh |
17:03.53 | ts|skrom | I/O gone |
17:03.57 | ts|skrom | ooops, late |
17:03.58 | Kaydeethree | bah for being tabbed out at the wrong time |
17:04.04 | Shirik | Kaydeethree = fail |
17:04.09 | AD|sneg | i mean i use different files for my source code |
17:04.11 | AD|sneg | no i/i |
17:04.14 | AD|sneg | i/o* |
17:04.17 | ScytheBlade1 | Oh. |
17:04.20 | ts|skrom | what about o/i? |
17:04.21 | Shirik | everything else is pretty much the same |
17:04.25 | Shirik | ~lart ts|skrom |
17:04.25 | purl | whips out his power stapler and staples ts|skrom's foot to the floor |
17:04.25 | Shirik | again. |
17:04.26 | Thunder_Child | gratz Adys|sleep, you manged to ask a question the *everyone* wanted in on |
17:04.27 | cladhaire | why don't we start with what errors you are having. |
17:04.28 | cog|work | AD|sneg: that's what the ToC file is for |
17:04.36 | cladhaire | Thunder_Child: grats on failed tab completino |
17:04.36 | ts|skrom | ouch |
17:04.44 | Thunder_Child | bah |
17:04.45 | cladhaire | which is clearly spanish for "completion" |
17:04.47 | AD|sneg | yep i didnt that, i removed all "require" and added all files to toc |
17:04.51 | [Liquidor] | Regarding whether to use Ace or not, well I got a big project of my own (ace'd) having a lot of features of my own creation so adding another feature into this addon of my own kinda requires ace... ofc I could do it without Ace but that question is up to each owns oppenion :) |
17:04.51 | Adys | What did I ask? oO |
17:04.56 | Kaydeethree | har |
17:04.57 | ScytheBlade1 | It's okay... at least he's not asking for full COM support ;P |
17:05.12 | Shirik | ha |
17:05.19 | Thunder_Child | Adys, my bad...lack of tab completion |
17:05.25 | AD|sneg | does it matter what order the files are in ToC? |
17:05.31 | Shirik | yes |
17:05.31 | Adys | <grin> |
17:05.38 | ts|skrom | yes |
17:05.38 | cladhaire | [Liquidor]: i think the point was, hooking a secure function is a single API call, and there's no need to use the abstraction of Ace for that specific thing.. not whether or not you should use Ace in an addon. |
17:05.39 | Shirik | The order in the ToC specifies the order of loading |
17:05.40 | ts|skrom | damn! |
17:05.47 | Rallion | sometimes this channel is awesome to just watch. |
17:05.51 | Shirik | order them in which you need to load the files |
17:06.00 | Mr_Rabies2 | sometimes |
17:06.01 | ts|skrom | then arrange them alphabetically |
17:06.04 | Mr_Rabies2 | sometimes i like to watch. |
17:06.07 | ts|skrom | then in spanish |
17:06.15 | AD|sneg | ok, so basically the "main" file goes last, that sort of thing? |
17:06.18 | AD|sneg | or the other way round? |
17:06.21 | Shirik | It can |
17:06.25 | Shirik | it is entirely dependent upon your code |
17:06.26 | ScytheBlade1 | *shrug* Whatever works for you |
17:06.32 | ts|skrom | depends what functions get called where ^^ |
17:06.32 | Shirik | For me, my root file is first |
17:06.35 | Shirik | since everything else is based off it |
17:06.54 | Thunder_Child | agreed Rallion, stupidity *is* fun to watch |
17:06.55 | [Liquidor] | I'm not native Eng so I'm not sure the meaning of "abstraction". AceHook is already loaded in the addon for other features. |
17:07.06 | cog|work | [Liquidor]: if you're already using AceHook for something else, then by all means use its secure hooking facilities. |
17:07.11 | Shirik | [Liquidor]: What language is your first, out of curiosity? |
17:07.20 | [Liquidor] | Danish |
17:07.25 | Shirik | interesting |
17:07.41 | [Liquidor] | It's just a language, what's interesting about that? |
17:07.55 | Rallion | seriously. awesome to watch. |
17:07.58 | Shirik | something different :) I hear too much spanish and english in my area |
17:08.06 | Thunder_Child | it's not one we have around here often |
17:08.18 | [Liquidor] | I find it borring and devistating sometimes. In most occations I'd rather prefer Eng. |
17:08.18 | cog|work | [Liquidor]: analogy: "vehicle" is abstract. "compact car" is less abstract. "Red 2004 Mustang GT" is not abstract. |
17:08.34 | Thunder_Child | ~dict abstract |
17:08.46 | cog|work | ~dict 1 abstract |
17:08.54 | AD|sneg | alright my ToC seems ok. what about metatables? the error i m getting right now is saying i m trying to index a number value, but i m pretty sure its not :P |
17:09.01 | *** join/#wowi-lounge PProvost (i=PProvost@WoWUIDev/WAU/Admin/Pprovost) |
17:09.02 | AD|sneg | wasnt in raw lua atleast |
17:09.07 | Thunder_Child | neither of those work |
17:09.13 | [Liquidor] | So... |
17:09.15 | Thunder_Child | dict my ass |
17:09.20 | cog|work | AD|sneg: that means you have a variable storing a number and you're treating it like a table |
17:09.22 | [Liquidor] | abstract = disctract ? |
17:09.23 | cladhaire | AD|sneg: metatables work fine, I use them all over the place. |
17:09.28 | cladhaire | oh |
17:09.32 | cladhaire | are you using debug.setmetatable |
17:09.40 | cladhaire | ? |
17:09.49 | cog|work | [Liquidor]: no distract means to take someone's attention away from something |
17:09.56 | AD|sneg | nope just setmetatable(self, Token); |
17:10.14 | *** join/#wowi-lounge ckknight (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com) |
17:10.19 | [Liquidor] | cog|work, that I know, but still not getting the meaning of abstract. |
17:10.24 | cladhaire | then there's no reason it wouldn't work.. we can look at the code if you want to paste some of it on wowi.pastey.net, or give us a netter description of the error. |
17:10.38 | cladhaire | [Liquidor]: securehookfunc() is the raw API function |
17:10.52 | cladhaire | AceHook provides an abstraction which will create wrapper functions for you, and handle the accounting of a hook such as that |
17:10.58 | AD|sneg | ok |
17:11.10 | Shirik | ~lart cladhaire |
17:11.10 | purl | slaps a compatible dib on cladhaire's head |
17:11.14 | cladhaire | its a higher level to accomplish the same thing.. maybe less parameters, more information, etc. |
17:11.14 | Shirik | hooksecurefunc :P |
17:11.16 | cog|work | [Liquidor]: are you familiar with object oriented programming? |
17:11.20 | AD|sneg | the func is sooooo simple i m just gona paste it here |
17:11.20 | AD|sneg | function sqrt(node) local a = node:getChild(1); local aResult = launchRule(a); return math.sqrt(aResult); end |
17:11.39 | [Liquidor] | cog|work, yeah and I tihnk I get the meaning of abstract now. |
17:11.41 | AD|sneg | on line local a = ... it f**ks up on load |
17:11.50 | cladhaire | you shoudln't be redefining sqrt in the global namespace, but that's just one problem |
17:12.06 | cog|work | cool :) |
17:12.24 | cladhaire | and it wouldn't give you an error at load time, only at runtime when you call sqrt() with a number. |
17:12.32 | AD|sneg | thats the point |
17:12.37 | AD|sneg | gives me straight away |
17:12.41 | AD|sneg | i didnt even run anything :) |
17:13.00 | cladhaire | whats the error. |
17:13.02 | [Liquidor] | What error do you get? |
17:13.04 | cladhaire | cause its not a syntax error, I can assure you that. |
17:13.08 | cog|work | Another example would be files on a computer. The operating system abstracts files so they can all be treated the same way (move, copy, delete, etc.) even though there are many different types of files |
17:13.16 | *** join/#wowi-lounge Garoun|Loupana (n=Garou@c-69-243-45-11.hsd1.va.comcast.net) |
17:13.24 | cog|work | (pictures, sounds, text files, etc.) |
17:13.30 | AD|sneg | k lemme quit wow and do it again |
17:13.44 | cladhaire | you can just /console reloadui |
17:13.46 | ts|skrom | <PROTECTED> |
17:13.48 | ts|skrom | DAMN |
17:13.48 | cladhaire | and it'll run it again |
17:13.51 | cog|work | Ace abstracts a lot of basic operations of the UI system so they follow a similar pattern |
17:13.54 | [Liquidor] | AD|sneg /rl (if Ace is running) |
17:14.14 | ts|skrom | I'm too slow today :( |
17:14.21 | [Liquidor] | cog|work I guess /rl is an abstraction then? |
17:14.22 | Shirik | ~lart ts|skrom |
17:14.22 | purl | whips ts|skrom with a wet and grimy noodle just because |
17:14.25 | Shirik | for the third time today |
17:14.39 | AD|sneg | attempt to index local 'node' (number value) |
17:14.43 | AD|sneg | on load |
17:14.48 | AD|sneg | w t f |
17:14.50 | cladhaire | first off. |
17:14.57 | cladhaire | DON'T redefine the global sqrt function |
17:14.58 | cladhaire | that's a bad thing. |
17:15.01 | Shirik | code? |
17:15.05 | AD|sneg | k lemme change it |
17:15.09 | cladhaire | second.. _something_ is calling sqrt with a number |
17:15.15 | [Liquidor] | Shirik: function sqrt(node) local a = node:getChild(1); local aResult = launchRule(a); return math.sqrt(aResult); end |
17:15.17 | cladhaire | if the function is only needed in your code, make it local |
17:15.19 | Shirik | thanks :) |
17:15.26 | cladhaire | Shirik: lrn2scroll |
17:15.28 | Shirik | and yes, sqrt is a very bad name for that |
17:15.35 | Shirik | hey, when you make a priest, then you can yell at me |
17:15.36 | *** join/#wowi-lounge Ominous (n=Ominous@userc182.dsl.pipex.com) |
17:15.41 | cladhaire | that's not a compile time error.. its a runtime error. |
17:15.48 | cladhaire | Shirik: O.o? I have a priest as my main O.o |
17:15.51 | Shirik | I know :P |
17:16.08 | *** kick/#wowi-lounge [Shirik!n=cladhair@WoWUIDev/WoWI/Featured/Dongle/cladhaire] by cladhaire (I wish you speaked another language natively so i could pretend that's why you dont make sense) |
17:16.08 | *** join/#wowi-lounge Shirik (n=nospam@ip68-100-86-112.dc.dc.cox.net) |
17:16.14 | *** join/#wowi-lounge ckknight (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com) |
17:16.15 | Shirik | "speaked" |
17:16.18 | Shirik | lol |
17:16.35 | *** kick/#wowi-lounge [Shirik!n=cladhair@WoWUIDev/WoWI/Featured/Dongle/cladhaire] by cladhaire (past tense mo-fo!) |
17:16.35 | *** join/#wowi-lounge Shirik (n=nospam@ip68-100-86-112.dc.dc.cox.net) |
17:16.43 | [Liquidor] | Am I the only one to see that the indexing of 'node' is wrong? |
17:16.45 | AD|sneg | function Calculator_OnLoad() |
17:16.45 | AD|sneg | <PROTECTED> |
17:16.45 | AD|sneg | <PROTECTED> |
17:16.45 | AD|sneg | <PROTECTED> |
17:16.45 | AD|sneg | end |
17:16.49 | Shirik | I do believe the past tense of "speak" is "spoke" |
17:16.51 | AD|sneg | this is onload function |
17:16.53 | cladhaire | so? :P |
17:16.58 | AD|sneg | no call to sqrt here :P |
17:17.03 | cladhaire | AD|sneg: i did not say your code called it. |
17:17.04 | Shirik | Adys: So what |
17:17.05 | cladhaire | but something does. |
17:17.07 | Shirik | Some other code is |
17:17.14 | cladhaire | post the entire file at wowi.pastey.net |
17:17.14 | AD|sneg | ah true |
17:17.18 | Adys | Shirik: hm? |
17:17.19 | Shirik | sqrt is a somewhat commonly used function |
17:17.23 | Shirik | Adys sorry T_T |
17:17.23 | Rallion | stop with the terrible tab completion! |
17:17.25 | AD|sneg | kk |
17:17.26 | cladhaire | and rename the function, since you're clobbering the global |
17:17.27 | Adys | lol |
17:17.33 | [Liquidor] | AD|sneg when you redefine a global function, some other addon uses sqrt as well and will call your function instead. |
17:17.41 | [Liquidor] | ...to fail. |
17:17.55 | AD|sneg | can i do local function <name> (args[..]) ? |
17:17.58 | Shirik | AD|sneg: If you have only one file, just make it local |
17:17.58 | Shirik | yes |
17:18.07 | AD|sneg | oki will do thnx guys |
17:18.32 | Shirik | p.s. cladhaire I am immune to your kicks |
17:18.33 | Shirik | foo! |
17:18.40 | *** mode/#wowi-lounge [+b Shirik!*@*] by cladhaire |
17:18.40 | *** kick/#wowi-lounge [Shirik!n=cladhair@WoWUIDev/WoWI/Featured/Dongle/cladhaire] by cladhaire (not so much) |
17:18.45 | *** join/#wowi-lounge Shirik2 (n=nospam@ip68-100-86-112.dc.dc.cox.net) |
17:18.47 | Shirik2 | =( |
17:18.51 | cladhaire | ;-) |
17:18.56 | ScytheBlade1 | ... lol |
17:19.08 | *** mode/#wowi-lounge [-b Shirik!*@*] by cladhaire |
17:19.21 | [Liquidor] | AD|sneg, you could also (with bigger projects) just prefix your function names. Usually with the initials of your addon. (Like you did with OnLoad) |
17:19.51 | cladhaire | AD|sneg: it worked in standalone, because the alias sqrt as a global only exists inside wow.. in lua its math.sqrt |
17:19.56 | cladhaire | btw |
17:21.05 | AD|sneg | oh? |
17:21.06 | [Liquidor] | So WoW API doesn't use math? |
17:21.11 | Shirik | sure they do |
17:21.13 | Shirik | they just made synonyms |
17:21.17 | Shirik | sqrt = math.sqrt |
17:21.17 | Shirik | etc. |
17:21.20 | [Liquidor] | Well that's what I meant |
17:21.24 | cladhaire | there are just aliases, a whole slew of them. |
17:21.29 | [Liquidor] | Do they have the math lib then? |
17:21.31 | foxlit | math is still there |
17:21.32 | cladhaire | no, sqrt is faster than math.sqrt |
17:21.33 | cladhaire | yes, they do. |
17:21.37 | [Liquidor] | kk |
17:21.51 | Shirik | cladhaire: sqrt and math.sqrt are the same function |
17:21.56 | cladhaire | yes, i know this |
17:21.59 | cladhaire | but sqrt is faster |
17:21.59 | cladhaire | ... |
17:22.00 | Shirik | the only reason sqrt would be faster would be the one less table access |
17:22.05 | cladhaire | no shit sherlock |
17:22.06 | cladhaire | still faster |
17:22.19 | [Liquidor] | cladhaire, to whom? The writer or the execution? |
17:22.20 | foxlit | >>> os.clock() |
17:22.21 | Cide | foxlit: 0.003 |
17:22.23 | foxlit | >>> os.clock() |
17:22.24 | Cide | foxlit: 0.003 |
17:22.30 | Shirik | you implied the function was faster, it's not :P "sqrt is faster" or "accessing sqrt is faster" :P |
17:22.30 | cladhaire | [Liquidor]: minimally, yes. |
17:22.41 | cladhaire | no, you read an implication into my words |
17:22.47 | [Liquidor] | :) |
17:22.56 | ts|skrom | I declare myself "sexy" |
17:23.00 | cladhaire | they were general. |
17:23.02 | cladhaire | you are the one who chose the wrong meaning. |
17:23.19 | cladhaire | lua> local s = os.clock(); local sqrt = getfenv(0).sqrt; for i=1,1e7 do local i = sqrt(169) end; print(os.clock() - s) |
17:23.27 | cladbot | cladhaire: sandbox.lua:140: maximum execution time (5s) exceeded |
17:23.30 | cladhaire | lua> local s = os.clock(); local sqrt = getfenv(0).sqrt; for i=1,1e6 do local i = sqrt(169) end; print(os.clock() - s) |
17:23.39 | cladbot | cladhaire: sandbox.lua:140: maximum execution time (5s) exceeded |
17:23.43 | cladhaire | wtf? |
17:23.48 | cladhaire | lua> local s = os.clock(); local sqrt = getfenv(0).sqrt; for i=1,1e5 do local i = sqrt(169) end; print(os.clock() - s) |
17:23.50 | cladbot | cladhaire: 1.234375 |
17:23.55 | [Liquidor] | So ehm... if sqrt is an alias, the execution time is actually bigger than using math.sqrt since with sqrt you'll have to lookup the alias table? |
17:23.59 | foxlit | >>> tab ={f=function(...) return ...; end}; f = tab.f; s1=os.clock(); for i=1,1e4 do a = f(1); end print(os.clock()-s1); |
17:24.00 | Cide | foxlit: 0.012 |
17:24.05 | cladhaire | lua> local s = os.clock(); for i=1,1e5 do local i = sqrt(169) end; print(os.clock() - s) |
17:24.07 | cladbot | cladhaire: 1.265625 |
17:24.08 | foxlit | >>> tab ={f=function(...) return ...; end}; f = tab.f; s1=os.clock(); for i=1,1e4 do a = tab.f(1); end print(os.clock()-s1); |
17:24.08 | Cide | foxlit: 0.016 |
17:24.12 | cladhaire | lua> local s = os.clock(); for i=1,1e5 do local i = math.sqrt(169) end; print(os.clock() - s) |
17:24.14 | cladbot | cladhaire: 1.296875 |
17:24.23 | cladhaire | foxlit: no, the alias is just a global table lookup, same as any global variable |
17:24.39 | Legorol | [Liquidor]: ithink you misunderstood the meaning of the word "alias" |
17:24.40 | cladhaire | it goes local variable, global variable, global lookup+table lookup |
17:24.55 | foxlit | cladhaire: I don't really see what you're talking about. |
17:24.58 | Legorol | Lua as a language doesn't have the concept of "aliases", it was meant in the English language sense |
17:25.08 | cog|work | [Liquidor]: re: /rl, yes... you could think of it as an abstraction. |
17:25.09 | [Liquidor] | What Legorol said |
17:25.14 | cladhaire | foxlit: i just tested, and showed you |
17:25.17 | AD|sneg | oki guys. it seems it works now. i will do a bit of testing and release it to my guild. if they like it I might see you on wowi :P gl all |
17:25.25 | foxlit | I think what I did is a pretty reasonable approximation of math.sqrt() vs sqrt() |
17:25.47 | cladhaire | what i did is a direct test of math.sqrt versus sqrt() |
17:25.50 | cladhaire | and sqrt is faster, as I said. |
17:25.52 | cladhaire | O.o |
17:26.01 | Shirik | barely, but it is |
17:26.03 | foxlit | Which is exactly the same as me? :) |
17:26.14 | Shirik | out of 10^5 operations you got a difference of what... .03 sec? |
17:26.20 | Shirik | but you can't deny it's faster |
17:26.28 | cladhaire | i'm not |
17:26.33 | Shirik | I know =) |
17:26.41 | cladhaire | ~stab shirik |
17:26.41 | purl | ACTION runs at shirik with an origami Swiss Army knife, and inflicts a nasty paper cut. |
17:27.00 | foxlit | "no, the alias is just a global table lookup, same as any global variable" that doesn't make sense - what are you saying "no" to? |
17:27.01 | [Liquidor] | Typical geek arguements :> |
17:27.40 | ts|skrom | We can start talking about some obscure sports team or perhaps the latest movie stars if it'll help |
17:27.42 | cladhaire | I was responding to the person I was having a conversation withm oddly enough |
17:27.45 | cladhaire | [Liquidor]: So ehm... if sqrt is an alias, the execution time is actually bigger than using math.sqrt since with sqrt you'll have to lookup the alias table?[Liquidor]: So ehm... if sqrt is an alias, the execution time is actually bigger than using math.sqrt since with sqrt you'll have to lookup the alias table? |
17:28.06 | [Liquidor] | You can only be a prof. if someone else is against your theories. |
17:28.10 | foxlit | [19:25] <cladhaire> foxlit: i just tested, and showed you |
17:28.14 | Shirik | heh |
17:28.17 | foxlit | Wrong quote, sec :) |
17:28.26 | cladhaire | there's no mystery |
17:28.31 | Legorol | [Liquidor]: ignore the use of the word "alias" and there are no problems |
17:28.32 | Shirik | But yeah, [Liquidor], there is no "alias table." You're just making another variable, named sqrt |
17:28.34 | foxlit | [19:24] <cladhaire> foxlit: no, the alias is just a global table lookup, same as any global variable |
17:28.47 | cladhaire | then it was a tab mis-complete. |
17:28.56 | cladhaire | apoligies |
17:28.59 | Shirik | lies, nobody ever incorrectly tab completes |
17:29.09 | [Liquidor] | But ehm |
17:29.20 | ts|skrom | You are so right Saint-N |
17:29.25 | zenzelezz | lol |
17:29.32 | [Liquidor] | Does WoW API calculate within sqrt() or does it forward you to math.sqrt? |
17:29.35 | ts|skrom | er ScytheBlade1 |
17:29.42 | ScytheBlade1 | er hi |
17:29.42 | Shirik | [Liquidor]: They are the same function |
17:29.44 | Shirik | like this |
17:29.49 | Legorol | [Liquidor]: neither to be precise, or both |
17:29.50 | foxlit | [Liquidor]: sqrt == math.sqrt |
17:29.51 | Legorol | they are the same thing |
17:29.53 | cladhaire | lua> math.sqrt == sqrt |
17:29.53 | cladbot | cladhaire: true |
17:30.02 | cog|work | ts|skrom: who are you referring to again? |
17:30.04 | Legorol | [Liquidor]: ok, fundamental introduction to Lua variables and functions |
17:30.07 | ts|skrom | ignore me ScytheBlade1 you were the vehicle for a joke ;-) |
17:30.08 | Shirik | >>> function foo() print("bar"); end; baz = foo; baz(); print(foo, baz); |
17:30.08 | Cide | Shirik: "bar", function: 007CCC88, function: 007CCC88 |
17:30.12 | Shirik | Notice the addresses are the same |
17:30.17 | Legorol | a Lua variable only contains the *reference* to a function |
17:30.25 | Shirik | The same concept exists for math.sqrt and sqrt |
17:30.28 | Shirik | They are the same thing |
17:30.31 | ScytheBlade1 | ts|skrom, consider you ignored! |
17:30.34 | [Liquidor] | So where and how does WoW store info saying that sqrt == math.sqrt ? |
17:30.35 | Legorol | when you do the assignment sqrt = math.sqrt, you make both variables refer to the same function |
17:30.41 | Shirik | [Liquidor]: sqrt is a variable, nothing more |
17:30.46 | Shirik | It was set to math.sqrt during load |
17:30.46 | [Liquidor] | Arh I see. |
17:31.02 | Shirik | functions are variables, btw. Very important concept in Lua |
17:31.06 | Legorol | nono |
17:31.07 | Shirik | s/variables/values/ |
17:31.08 | Legorol | Shirik: they are NOT |
17:31.11 | Legorol | yup |
17:31.14 | Shirik | sorry |
17:31.23 | Legorol | or, more precisely, function *references* are values |
17:31.27 | Legorol | that you can store in variables |
17:31.32 | Legorol | a function itself is not a value ;-) |
17:32.11 | Shirik | as a result, a table key can be a function (reference), or tables can store functions (references), etc. |
17:32.14 | Shirik | There's nothing wrong with this: |
17:32.18 | cog|work | wow... i think this is the first time #wowi-lounge has filled up chatzilla's history within 2 hours... |
17:32.26 | Legorol | rofl |
17:32.38 | ts|skrom | it's because I'm here <3 |
17:32.40 | Legorol | is anyone keeping tabs on the record number of people online? |
17:32.42 | Shirik | >>> function foo() print("bar") end; t = {}; t[foo] = 1; for k,v in pairs(t) do k(); print(v); end |
17:32.43 | Cide | Shirik: "bar", 1 |
17:32.43 | Legorol | 119 atm |
17:32.44 | [Liquidor] | cog|work, am I supposed to apologize for that? :) |
17:32.57 | cog|work | Thunder_Child and I started it, actually :P |
17:33.18 | Legorol | cog|work: you started something? what have you done again .. |
17:33.21 | *** join/#wowi-lounge PProvost_ (i=PProvost@WoWUIDev/WAU/Admin/Pprovost) |
17:33.32 | Shirik | In fact, [Liquidor], there are many people (myself included) who occasionally use this feature to simplify storing things |
17:33.37 | Shirik | using function references as indexes for tables |
17:33.39 | *** join/#wowi-lounge Droolio (n=drool@87-194-188-170.bethere.co.uk) |
17:34.32 | Legorol | [Liquidor]: the argument that the guys had earlier was if it's faster to call the function via the global variable sqrt, or via the table entry math.sqrt |
17:34.36 | [Liquidor] | Didn't know a function could have a value o.O |
17:34.38 | cog|work | Legorol: Thunder_Child and I were having a battle of Last Words |
17:34.45 | Legorol | they both would be calling the same function, because they are both variables that reference the same function |
17:34.55 | Legorol | [Liquidor]: no a function doesn't have a value |
17:35.05 | Shirik | [Liquidor]: PErhaps this will simplify things |
17:35.11 | Shirik | function foo() --[[code]] end |
17:35.13 | Shirik | is nothing more than |
17:35.17 | Shirik | foo = function() --[[code]] end |
17:35.19 | Legorol | but a variable that stores the reference toa function may be thought of as having a value |
17:35.26 | Shirik | i.e., foo is a variable, which is getting a function |
17:35.27 | Legorol | Shirik: good example |
17:35.33 | Legorol | no, it's not getting a function |
17:35.37 | Legorol | it's getting a reference to that function |
17:35.38 | Shirik | a function reference -_- |
17:35.43 | Legorol | very important distinction |
17:35.55 | Legorol | function foo() end |
17:36.00 | Legorol | bar = foo |
17:36.12 | [Liquidor] | but.. |
17:36.15 | Legorol | now we have too variables: foo and bar |
17:36.20 | [Liquidor] | >>> function foo() print("bar") end; t = {}; t[foo] = 1; for k,v in pairs(t) do k(); print(v); end |
17:36.21 | Cide | [Liquidor]: "bar", 1 |
17:36.22 | Legorol | and they contain the same value |
17:36.25 | Shirik | And you will find that those two vars are located at the same address |
17:36.25 | [Liquidor] | I don't get that one |
17:36.27 | Legorol | bcause they reference the same function |
17:36.31 | Shirik | [Liquidor]: Because, note it CALLS the key |
17:36.38 | Shirik | and foo's job is to print "bar" |
17:36.59 | Shirik | if you simply printed k instead of calling k, you would see a difference |
17:36.59 | AD|sneg | hm whats the alias for math.pow? |
17:37.00 | Legorol | >>> function () end; bar = foo; print(tostring(foo)); print(tostring(bar)) |
17:37.00 | Cide | Legorol: [string "function () end; bar = foo; print(tostring(foo)); print(tostrin..."]:1: '<name>' expected near '(' |
17:37.03 | [Liquidor] | I get it now |
17:37.04 | AD|sneg | __pow doesnt seem to work |
17:37.10 | cog|work | >>> function foo() end; bar = foo; function foo() end; print(foo, bar) |
17:37.10 | Cide | cog|work: function: 0089CC88, function: 0089CC68 |
17:37.14 | Legorol | >>> function foo() end; bar = foo; print(tostring(foo)); print(tostring(bar)) |
17:37.14 | Cide | Legorol: "function: 0016CD30", "function: 0016CD30" |
17:37.19 | Legorol | but also: |
17:37.27 | Legorol | >>> foo = function() end; bar = foo; print(tostring(foo)); print(tostring(bar)) |
17:37.28 | Cide | Legorol: "function: 002ACD30", "function: 002ACD30" |
17:37.36 | Legorol | note how the two exapmles are identical |
17:37.44 | Shirik | And most importantly .... |
17:37.49 | Shirik | >>> return sqrt, math.sqrt |
17:37.50 | Cide | Shirik: function: 0026A330, function: 0026A330 |
17:37.51 | Shirik | =) |
17:38.03 | Legorol | here is the key point: Lua only has the concept of variables, which store a reference to a function |
17:38.05 | cladhaire | AD|sneg: the metatable entry for pow? is __powe |
17:38.07 | cladhaire | __pow rather |
17:38.21 | Legorol | as Shirik said earlier, when you do function foo() ... end, you are technically not just creating a function, |
17:38.23 | AD|sneg | says its nil value |
17:38.24 | cog|work | Legorol: print takes vararg and does tostring on each one :P |
17:38.37 | Legorol | you are creating a function *and* making sure the variable foo is referencing it |
17:38.42 | cladhaire | AD|sneg: you're not making sense. |
17:38.48 | cladhaire | AD|sneg: What are you trying to do? |
17:38.50 | Legorol | cog|work: i know that very well |
17:39.05 | Legorol | i wanted to emphasise the point that the contents of the variable is being converted to a string representation |
17:39.13 | AD|sneg | well i tries to replace math.pow with its wow api alias. so i said __pow(x, y); it gives an error |
17:39.14 | Legorol | that point gets lost if you do print(foo) |
17:39.18 | AD|sneg | tried* |
17:39.25 | cladhaire | AD|sneg: no.. just use math.pow |
17:39.28 | Legorol | AD|sneg: who said that __pow exists |
17:39.32 | Legorol | it doesn't |
17:39.34 | AD|sneg | wowwiki did :) |
17:39.39 | cladhaire | AD|sneg: __pow only comes into play when you're defining a metamethod |
17:39.40 | Legorol | wowwiki is lying |
17:39.42 | Shirik | AD|sneg: That's a metamethod |
17:39.46 | cladhaire | i sincerely doubt that |
17:39.52 | Legorol | or you read the wrong page the wrong way :) |
17:39.57 | [Liquidor] | AD|sneg link |
17:40.00 | cladhaire | you don't need to change any of the math. functions |
17:40.03 | cladhaire | just use them |
17:40.03 | AD|sneg | http://www.wowwiki.com/Lua_functions |
17:40.06 | AD|sneg | first in the list |
17:40.11 | AD|sneg | cant miss it |
17:40.15 | cog|work | doesn't Lua use a __pow index metamethod on the global environment to define the behavior of the ^ operator? |
17:40.21 | Legorol | as i said, wowwiki is lying |
17:40.40 | Shirik | yeah |
17:40.42 | Shirik | who wrote that |
17:40.46 | Shirik | I want to ~lart them too |
17:40.46 | Legorol | there is no __pow in WoW, or standard Lua, as a global variable |
17:40.47 | cladhaire | cog|work: it wouldn't be on the genv, it would be on the number metatable. |
17:40.57 | cog|work | ah |
17:40.57 | [Liquidor] | What about just pow() ? |
17:41.06 | Legorol | nope |
17:41.11 | AD|sneg | nop |
17:41.13 | AD|sneg | tried |
17:41.15 | AD|sneg | :D |
17:41.18 | *** join/#wowi-lounge KarlThePagan (n=andross@lanip-170-65.go180.net) |
17:41.21 | [Liquidor] | Then make your own pow() |
17:41.23 | [Liquidor] | :) |
17:41.26 | AD|sneg | haha |
17:41.27 | cog|work | or just use ^ |
17:41.30 | Shirik | fixed wowwiki :P |
17:41.35 | cladhaire | damnit |
17:41.39 | cladhaire | you were right ahead of me. |
17:41.44 | cladhaire | lua> pow |
17:41.44 | cladbot | cladhaire: nil |
17:41.48 | cladhaire | lua> exp |
17:41.48 | cladbot | cladhaire: function: 0x806f700 |
17:41.48 | Shirik | victorious again! |
17:41.54 | cladhaire | use math.pow() |
17:41.58 | cladhaire | there's absolutely 0 reason not to. |
17:42.06 | cog|work | why not use the operator? |
17:42.13 | Legorol | global variables that reference functions as of patch 2.1.3 whose name is all lowercase: |
17:42.13 | Legorol | http://wowi.pastey.net/72624 |
17:42.14 | Shirik | because the operator shouldn't exist -_- |
17:42.19 | cog|work | lua> 2^8 |
17:42.19 | cladbot | cog|work: 256 |
17:42.20 | Shirik | This is one thing I detest about lua |
17:42.22 | cladhaire | cog|work: if you want the function |
17:42.30 | cog|work | ah |
17:42.42 | Rallion | ^ means binary xor! |
17:42.49 | AD|sneg | is there anyway to stop addon code execution? |
17:42.54 | Shirik | Rallion: Wrong language :P |
17:42.55 | AD|sneg | something like error()? |
17:42.58 | Shirik | AD|sneg: exactly |
17:43.01 | krka | yes |
17:43.14 | Rallion | Shirik, I am speaking not of a specific language, but of truth! |
17:43.18 | Shirik | assert will also, if that's something you're looking for |
17:43.19 | AD|sneg | i can just use error() ? |
17:43.24 | cog|work | yop |
17:43.25 | Shirik | AD|sneg: If you want |
17:43.27 | cog|work | s/o/e/ |
17:43.33 | cladhaire | krka: oh, i foudn an issue with the loop detection code I added to WowLua and I'm not sure how to solve it. |
17:43.34 | Shirik | There are certain cases when it won't stop execution |
17:43.35 | Legorol | lol cog|work |
17:43.46 | Shirik | such as from within a protected environment |
17:43.50 | Shirik | but you shouldn't have to worry about that |
17:43.58 | [Liquidor] | What's wrong with function pow(a,b) return math.pow(a,b) end; ? |
17:44.01 | AD|sneg | hm... will that bring up a window with a lua eror ingame? |
17:44.12 | cog|work | [Liquidor]: because that adds an extra layer |
17:44.12 | cladhaire | [Liquidor]: there's no good reason, whatsoever to define that. |
17:44.17 | Legorol | [Liquidor]: that'll be significantly slower than pow = math.pow |
17:44.26 | [Liquidor] | oh yeah |
17:44.31 | Shirik | AD|sneg: Yes |
17:44.34 | [Liquidor] | pow = math.pow --- forgot that -.- |
17:44.34 | AD|sneg | cus i would rather print my error message in red in a chat window and just stop execution |
17:44.37 | Shirik | Assuming they have errors turned on |
17:44.40 | krka | cladhaire: interesting |
17:44.48 | Legorol | [Liquidor]: if you do it your way, you are creating a new function, which is calling math.pow |
17:44.52 | Legorol | sloooow |
17:44.53 | cladhaire | [Liquidor]: just call exp() or use the operator |
17:44.56 | Shirik | AD|sneg: Then you can wrap a protected environment, set an error handler, or just structure your code better |
17:44.57 | cog|work | AD|sneg: change the error handler for your addon |
17:45.14 | krka | cladhaire: do elaborate |
17:45.20 | cog|work | <PROTECTED> |
17:45.23 | AD|sneg | error handler? :) |
17:45.52 | Shirik | AD|sneg: I would strongly suggest you don't do that right now |
17:45.53 | [Liquidor] | Legorol, I know. I'm still not good at functions, variables and values being mixed. |
17:46.03 | Shirik | instead, think about why you're using error(), and rework your code so you don't need it |
17:46.06 | Legorol | [Liquidor]: i know, that's why we keep pointing out these things |
17:46.10 | Shirik | I think your code can be structured better |
17:46.19 | Shirik | error() should really only be used in cases of actual errors |
17:46.19 | Legorol | we are nitpicking, yes, but that's because you'll find that most people here like to be precise and get technical |
17:46.23 | Legorol | that's the way you can learn |
17:46.24 | cladhaire | krka: its my error, just need to work it out.. essentially the end-value of 5 seconds from instantiation is an upvalue.. so if the function ever goes above 5 seconds, it never gets run again :P |
17:46.29 | Shirik | such as in an API, detecting when bad inputs are given |
17:46.34 | krka | [Liquidor]: lua actually most certainly does NOT mix functions, variables, and values |
17:46.36 | AD|sneg | hm... well i found a syntax error in a users code |
17:46.40 | krka | variables and values are very much distinct |
17:46.43 | AD|sneg | and i want to stop executing |
17:46.44 | krka | function is a type of value |
17:46.49 | Shirik | ok that's a decent reason to do it |
17:46.53 | Legorol | krka: incorrect |
17:46.55 | Shirik | but if it's users code, I would recommend using a pcall then |
17:46.58 | Legorol | function reference is a type of value ;-) |
17:47.03 | Legorol | that's how i like to say it anyway |
17:47.10 | Legorol | a function is more abstract than that |
17:47.12 | krka | isn't that what i said? |
17:47.14 | krka | right |
17:47.15 | AD|sneg | i can print a message to chat window and then do return nil |
17:47.18 | Shirik | Let me figure this out, you're doing loadstring() right? |
17:47.19 | krka | i actually know all that you know :P |
17:47.21 | Shirik | and then calling it? |
17:47.23 | [Liquidor] | Now I'm getting confused... |
17:47.26 | AD|sneg | that way i wouldnt need an error() |
17:47.30 | Legorol | krka: i know that you know more than i know |
17:47.31 | cladhaire | Legorol: that has a negative way of putting things as well |
17:47.33 | cog|work | LUA |
17:47.36 | cog|work | :( |
17:47.38 | Shirik | ~lart cog|work |
17:47.38 | purl | blames cog|work for all the evil in the world |
17:47.40 | cog|work | krka: i loved your bot |
17:47.40 | Legorol | cladhaire: i agree |
17:47.52 | Shirik | AD|sneg: So you're getting the user's code and then loadstring() it and then call it, right? |
17:47.52 | krka | cladhaire: oh i see |
17:48.00 | cladhaire | Legorol: you can't claim Lua has first class values, if you only ever get the reference. |
17:48.17 | cladhaire | s/values/functions/ |
17:48.20 | cladhaire | semantics, but still an issue. |
17:48.26 | Legorol | cladhaire: true, but on the other hand i like to separate the notion of functions from function references |
17:48.32 | Shirik | you get more than the reference :D |
17:48.35 | cladhaire | then use prototypes, and functions |
17:48.35 | Shirik | string.dump! |
17:48.39 | Legorol | otherwise you can't explain properly why function f() end is the same as f=function() end |
17:48.44 | [Liquidor] | local bar = 1; local foo = bar; ---- variables aight? So if bar == function() --something end; then what is the term called for doing local foo = bar; ? |
17:48.48 | cladhaire | yes you can, its syntactic sugar |
17:48.56 | cladhaire | changed by the compiler. |
17:49.01 | krka | Legorol: for discussions that doesn't actually require the semantics of function, closure, prototype, et.c. i just say "function" since that's what lua calls the closure type |
17:49.04 | cladhaire | there's no more magic than that. |
17:49.05 | *** kick/#wowi-lounge [Shirik!n=Cairenn@MMOI/Administratrix/Cairenn] by Cairenn (Cairenn) |
17:49.06 | *** join/#wowi-lounge Shirik (n=nospam@ip68-100-86-112.dc.dc.cox.net) |
17:49.12 | Shirik | >.> |
17:49.12 | cladhaire | lol |
17:49.13 | Legorol | krka: ok |
17:49.16 | Cairenn | ;) |
17:49.26 | Mr_Rabies2 | catblimp |
17:49.34 | *** kick/#wowi-lounge [cog|work!n=Cairenn@MMOI/Administratrix/Cairenn] by Cairenn (Cairenn) |
17:49.37 | Legorol | Cairenn: what's the wink! give us your secret |
17:49.40 | *** join/#wowi-lounge cog|work (n=chatzill@intra.kistlerwine.com) |
17:49.50 | Cairenn | feel loved now cog|work? |
17:49.51 | krka | cladhaire: do you have to store the timer as an upvalue? you could use the environment instead, no? |
17:49.53 | Thunder_Child | hey Shirik, i thought autojoin was forbidden here... |
17:49.54 | cladhaire | Legorol: if you have difficulty explaining why function f() end is the same as f = function() end, I would challenge you to alter your description, not change the words and the meanings of them entirely. |
17:50.03 | Shirik | Thunder_Child: I am full of forbidden.... stuff |
17:50.04 | cog|work | who wouldn't love getting kicked by Cairenn? |
17:50.10 | Cairenn | lol |
17:50.11 | Thunder_Child | ewww |
17:50.20 | Cairenn | Thunder_Child: since when? |
17:50.24 | cladhaire | krka: i can calculate it at the start of the block, I think.. I'll have to look at it some more. I also had an issue with funtions with return values, where it inserted the code before the return, and the end. |
17:50.27 | cladhaire | fixed that one straight away |
17:50.29 | Thunder_Child | that eww was @ Shirik |
17:50.30 | Legorol | cladhaire: all right, how about this: function f() end. Now tell me: what is f? |
17:50.38 | Mr_Rabies2 | i've never understood the hatred of autojoin |
17:50.40 | Shirik | a variable! |
17:50.47 | Legorol | exactly |
17:50.50 | Mr_Rabies2 | if you don't want them coming back instantly, ban them for as long as you want them to stay :O |
17:50.51 | [Liquidor] | But isn't function f() end; the same as f = function() end; ? I know that one takes up more memory than the other but...? |
17:50.52 | cladhaire | f is a variable, which is bound to the created function. |
17:50.52 | Shirik | it's also the letter that comes before g |
17:50.53 | Legorol | and what is that variable storing? |
17:50.56 | krka | f is a variable pointing the function closure just created |
17:51.02 | krka | +to |
17:51.02 | Shirik | and after e |
17:51.03 | cladhaire | exactly. |
17:51.08 | Cairenn | I was referring to the comment suggesting that autojoin was forbidden, Thunder_Child |
17:51.09 | *** join/#wowi-lounge Kirkburn (n=kirkburn@adsl-68-123-140-18.dsl.pltn13.pacbell.net) |
17:51.19 | AD|sneg | Guys, what about i introduce a global ADDONNAME_STOP. i check it at a required time and use an if statement to stop execution, will that be ok ? |
17:51.20 | Shirik | [Liquidor]: They are the same |
17:51.24 | Shirik | and they take equal amount of memory |
17:51.34 | AD|sneg | cus i cant use return nil :/ nature of my application doesnt allow it |
17:51.36 | Shirik | AD|sneg: Did you see my earlier suggestion? |
17:51.41 | AD|sneg | oops |
17:51.46 | AD|sneg | will do in a sec:P |
17:51.47 | *** join/#wowi-lounge Kaso_ (n=Kaso@host217-43-221-77.range217-43.btcentralplus.com) |
17:51.47 | Shirik | Are you using loadstring() for a user's code? |
17:51.51 | krka | [Liquidor]: they are compiled to exactly the same bytecode |
17:51.54 | Legorol | [Liquidor]: they are completely identical |
17:51.58 | Thunder_Child | Cairenn, i thought that was a freenode rule...i remeber you guys bitching at someone way way way back when for doing that |
17:52.00 | Shirik | if so, there is a much simpler way |
17:52.02 | [Liquidor] | So what's the prob? :) |
17:52.06 | AD|sneg | no i get it from a command line |
17:52.11 | Shirik | er |
17:52.16 | Shirik | but what do you do with the stuff from command line |
17:52.18 | Legorol | there is no problem, it's just the usual krka vs. Lego vs. clad arguments |
17:52.22 | Legorol | (not sure who is on whose side atm) |
17:52.26 | AD|sneg | i parse it |
17:52.26 | cladhaire | krka and i aren't arguing |
17:52.27 | Thunder_Child | Cairenn, err..autorejoin or something along thoes lines |
17:52.28 | cladhaire | :P |
17:52.32 | Shirik | you parse it? It's not lua code? |
17:52.37 | AD|sneg | no |
17:52.40 | Cairenn | no, the person we were bitching at was someone that wasn't welcome in the channel, and we were trying to get them to just be decent and not come back, without requiring a +b |
17:52.40 | Legorol | usually i'm the one on the wrong side :) |
17:52.41 | krka | oh sorry, this is abuse |
17:52.43 | AD|sneg | its maths :P |
17:52.47 | krka | arguments are down the hall to the right |
17:52.59 | cog|work | AD|sneg: then just print a message and exit from the function that parses it... |
17:53.00 | cladhaire | i disagree with you changing words due to inability to explain a concept! |
17:53.01 | Legorol | discussion then, fine! |
17:53.06 | Legorol | you want to argue about that, krka? ;-) |
17:53.24 | krka | you can't just say the opposite of what i'm saying and call that arguing! |
17:53.29 | krka | "yes i can" |
17:53.33 | cladhaire | no you can't. |
17:53.43 | Legorol | cladhaire: i never failed to explain the concept |
17:53.50 | Legorol | what gave you that idea? |
17:53.54 | AD|sneg | how do i exit from the function ? :) exit() ? :) |
17:53.57 | ts|skrom | Okay what happened last year in the summer months (jun, jul, aug 2006) |
17:54.03 | Legorol | AD|sneg: return |
17:54.12 | ts|skrom | every game company I've looked at's stock has PLUMMETED during that time |
17:54.16 | AD|sneg | i cant do that |
17:54.22 | cog|work | why not? |
17:54.24 | Legorol | sure you can |
17:54.26 | cladhaire | Legorol: "otherwise you can't explain properly why function f() end is the same as f=function() end" |
17:54.29 | Legorol | you can always use return whenever you like |
17:54.44 | Shirik | well, within reason |
17:54.45 | Legorol | ok, ok you win |
17:54.47 | AD|sneg | well, my parser is a series of recursive calls to BNF rules |
17:54.52 | krka | ts|skrom: autotravel was alive at those months, causing blizzard to gain an enormous amount of new players, causing all other game companies to suffer |
17:54.54 | [Liquidor] | Usually I prefer to do local variable = function() end; to create a couple of functions I use repeatidly (for easier reading as well) however in most occations I'm having trouble with passing on variables, specially when it comes to OO and self :-/ |
17:55.02 | Legorol | krka: lol |
17:55.05 | AD|sneg | so you might have /calc (2+2/4)^(2-) |
17:55.07 | Shirik | you can't do "function return foo return () return end" |
17:55.07 | cladhaire | lol |
17:55.18 | Shirik | Adys: There's a much easier way :P |
17:55.20 | krka | hmm... or maybe that was 2 years ago |
17:55.22 | Shirik | if that's all you want to do |
17:55.23 | AD|sneg | if i return nil at a point of (2-<no value here doh>) |
17:55.31 | Shirik | sorry Adys!! |
17:55.40 | AD|sneg | then i m just gona have a tree structure with a nil as a child somewhere |
17:55.48 | clad|away | Headed to the store.. I'll be back in a bit. |
17:55.50 | AD|sneg | its too involved to check all the tree |
17:55.58 | *** join/#wowi-lounge Cidan- (i=aj@2001:5c0:8fff:fffe:0:0:0:709) |
17:56.05 | Cairenn | later clad |
17:56.05 | cog|work | AD|sneg: so you're using recursion to parse it then? |
17:56.09 | Shirik | >>> function SV.calc(str) local f = assert(loadstring(str)); return f(); end |
17:56.09 | Cide | Shirik: nil |
17:56.19 | AD|sneg | kind of. |
17:56.25 | Shirik | >>> SV.calc("(2+2/4)^(2-3)") |
17:56.26 | Cide | Shirik: [string "function SV.calc(str) local f = assert(load..."]:1: [string "(2+2/4)^(2-3)"]:1: syntax error near '^' |
17:56.27 | AD|sneg | recursive bnf rules |
17:56.33 | Shirik | hrm |
17:56.37 | Shirik | oh oops |
17:56.43 | Shirik | >>> function SV.calc(str) local f = assert(loadstring("return "..str)); return f(); end |
17:56.44 | Cide | Shirik: nil |
17:56.48 | AD|sneg | something like mainexp : unaryopt ( ( PLUS^ | MINUS^ ) term )* |
17:56.50 | Shirik | >>> SV.calc("(2+2/4)^(2-3)") |
17:56.51 | Cide | Shirik: 0.4 |
17:56.58 | Thunder_Child | bah!, c & l stay to close on my client...what i saw was "(10:56:12) (@Cairenn) later dad" |
17:57.12 | Shirik | hai Cidan |
17:57.15 | [Liquidor] | What's SV. ? |
17:57.18 | Shirik | saved variables |
17:57.24 | Legorol | Cide: why not do return assert(loadstring(str))() |
17:57.25 | krka | >>> SV = nil |
17:57.26 | Shirik | normally any globals you make are just thrown out when done |
17:57.26 | Cide | krka: nil |
17:57.29 | cog|work | AD|sneg: as Shirik is trying to show you, all you need to do is use lua's buil-in parser |
17:57.40 | Shirik | anything in the SV table will persist |
17:57.41 | cog|work | damn you krka |
17:57.46 | Shirik | krka T_T |
17:57.47 | cog|work | >>> SV |
17:57.48 | Cide | cog|work: { ["GetRandomArgument"] = function: 007CC8E8, ["Cide_domath"] = function: 00366D60, ["poo"] = false, ["mathwithops"] = { ["-"] = function: 007CCA08, ["/"] = function: 007CCA48, ["+"] = function: 007CC... (exceeded 200 characters) |
17:57.50 | Shirik | ha! |
17:57.51 | Shirik | win. |
17:57.55 | cog|work | thwarted! |
17:58.04 | krka | >>> SV = {} |
17:58.05 | Cide | krka: nil |
17:58.07 | Shirik | T_T |
17:58.09 | krka | SV |
17:58.11 | cog|work | >>> SV |
17:58.11 | Cide | cog|work: { ["GetRandomArgument"] = function: 007CC8E8, ["Cide_domath"] = function: 00216D60, ["poo"] = false, ["mathwithops"] = { ["-"] = function: 007CCA08, ["/"] = function: 007CCA48, ["+"] = function: 007CC... (exceeded 200 characters) |
17:58.16 | Shirik | rethwarted! |
17:58.17 | clad|away | my SV can't be nuked :P |
17:58.17 | Shirik | <3 Cide |
17:58.18 | krka | hehe :) |
17:58.19 | clad|away | lua> SV |
17:58.20 | cladbot | clad|away: { ["GetRandomArgument"] = function: 0x80e32c0 } (#1) |
17:58.21 | AD|sneg | its not challenging :P |
17:58.31 | ckknight | >>> for k in pairs(SV) do SV[k] = nil end |
17:58.31 | Cide | ckknight: nil |
17:58.31 | AD|sneg | i wanted to write my own and see whether i can do it |
17:58.32 | krka | >>> for k, v in pairs(SV) do SV[k] = nil] end |
17:58.32 | Cide | krka: [string "for k, v in pairs(SV) do SV[k] = nil] end"]:1: unexpected symbol near ']' |
17:58.37 | ckknight | >>> SV |
17:58.37 | Cide | ckknight: { ["GetRandomArgument"] = function: 0018C8E8, ["Cide_domath"] = function: 00166D60, ["poo"] = false, ["mathwithops"] = { ["-"] = function: 0018CA08, ["/"] = function: 0018CA48, ["+"] = function: 0018C... (exceeded 200 characters) |
17:58.41 | ckknight | ah, damn |
17:58.44 | Shirik | Stop trying to kill my stuff T_T |
17:58.45 | cog|work | cide wins |
17:58.52 | ckknight | >>> for k in pairs(SV) do SV[k] = false end |
17:58.52 | Cide | ckknight: nil |
17:58.54 | ckknight | >>> SV |
17:58.55 | Cide | ckknight: { ["GetRandomArgument"] = false, ["Cide_domath"] = false, ["poo"] = false, ["mathwithops"] = false, ["mathops"] = false, ["domathpart"] = false, ["calc"] = false, ["Shirik_domath"] = false, ["mathopsm... (exceeded 200 characters) |
17:58.57 | ckknight | win! |
17:58.58 | Shirik | damn it! |
17:59.08 | cog|work | poo |
17:59.14 | clad|away | lol |
17:59.16 | krka | >>> for i = 1, 1e6 do SV[i] = i^2 end |
17:59.20 | ckknight | sorry, it's my natural instinct to break things |
17:59.28 | Cide | krka: nil |
17:59.30 | ckknight | lol, krka |
17:59.32 | krka | >>> SV |
17:59.33 | Cide | krka: { } (#1) |
17:59.34 | ckknight | >>> SV |
17:59.34 | Cide | ckknight: { } (#1) |
17:59.41 | ckknight | hehe? |
17:59.51 | Shirik | >>> SV.GetRandomArgument = function(...) local n = select('#', ...); return (select(math.random(1,n), ...)) end |
17:59.51 | Cide | Shirik: nil |
17:59.59 | Shirik | >>> SV.GetRandomArgument(1,2,3,4,5) |
17:59.59 | Cide | Shirik: 2 |
18:00.21 | krka | i really want native functions for handling ... stuff |
18:00.27 | krka | ...[i] and #... FTW |
18:00.31 | krka | (in constant time) |
18:00.36 | ckknight | >>> SV.fib = setmetatable({[0]=0,[1]=1}, {__index=function(self, key) local v = self[key-2]+self[key-1]; self[key] = v; return v}) |
18:00.37 | Cide | ckknight: [string "SV.fib = setmetatable({[0]=0,[1]=1}, {__index=function(self, ke..."]:1: 'end' expected near '}' |
18:00.53 | ckknight | >>> SV.fib = setmetatable({[0]=0,[1]=1}, {__index=function(self, key) local v = self[key-2]+self[key-1]; self[key] = v; return v; end}) |
18:00.53 | Cide | ckknight: nil |
18:00.56 | Legorol | krka: i wish it was possible to have varargs in the middle of an argument list |
18:01.01 | ckknight | >>> SV.fib[10] |
18:01.01 | Cide | ckknight: nil |
18:01.02 | Legorol | or in other words, list concatenation |
18:01.03 | cog|work | ckknight: i used that on a test at a job interview >< |
18:01.05 | krka | you and your arguments |
18:01.08 | krka | you mean your discussion list |
18:01.09 | ckknight | >>> return SV.fib[10] |
18:01.09 | Shirik | Legorol: Do any languages let you do that? |
18:01.09 | Cide | ckknight: nil |
18:01.14 | ckknight | wtf? |
18:01.16 | Shirik | I know C++ doesn't... |
18:01.17 | Legorol | krka: but i know why it's not possible |
18:01.21 | ckknight | does SV not save metatables? |
18:01.26 | Shirik | nor does Java |
18:01.29 | Shirik | ckknight: Maybe not |
18:01.32 | cog|work | ckknight: maybe not |
18:01.37 | Shirik | cog|work get out of my head! |
18:01.41 | [Liquidor] | ckknight, maybe not |
18:01.44 | cog|work | Shirik: get out of my head |
18:01.51 | art3mis | lies java can do anything! |
18:01.51 | Legorol | Shirik: it doesn't matter, i'm equivalent asking for being able to do v = (a,b,c)..(x,y,z) in some fashion |
18:01.56 | art3mis | it says so on thier page |
18:02.01 | Legorol | but Lua doesn't allow for that because of its design |
18:02.10 | krka | >>> SV[100] |
18:02.10 | Cide | krka: nil |
18:02.11 | cog|work | wow... my chat history has < 1/2 hour now... |
18:02.17 | krka | >>> for i = 1, 1e3 do SV[i] = i^2 end |
18:02.17 | Shirik | haha |
18:02.17 | Cide | krka: nil |
18:02.20 | krka | >>> SV[100] |
18:02.20 | Cide | krka: 10000 |
18:02.25 | krka | >>> SV |
18:02.25 | Cide | krka: { 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 225, 256, 289, 324, 361, 400, 441, 484, 529, 576, 625, 676, 729, 784, 841, 900, 961, 1024, 1089, 1156, 1225, 1296, 1369, 1444, 1521, 1600, 1... (exceeded 200 characters) |
18:02.30 | Shirik | .... |
18:02.31 | ckknight | >>> getmetatable(SV.fib) |
18:02.31 | Cide | ckknight: nil |
18:02.35 | ckknight | bah. |
18:02.36 | Shirik | >>> getmetatable(SV) |
18:02.36 | Cide | Shirik: nil |
18:02.40 | Shirik | hrm |
18:02.56 | Shirik | anyway, I do need to get my car inspected |
18:03.00 | Shirik | I should probably go do that |
18:03.09 | krka | >>> for i = 1e3, 1e4 do SV[i] = i^2 end |
18:03.10 | Cide | krka: nil |
18:03.14 | krka | >>> for i = 1e4, 1e5 do SV[i] = i^2 end |
18:03.15 | Cide | krka: nil |
18:03.16 | ckknight | >>> SV |
18:03.19 | krka | >>> for i = 1e5, 1e6 do SV[i] = i^2 end |
18:03.29 | Shirik | good job guys you broke Cide :P |
18:03.33 | ckknight | lol. |
18:03.35 | krka | you bastards! |
18:03.37 | ckknight | that was the general point |
18:03.46 | Shirik | Just when we thought we had everything worked out |
18:03.46 | krka | bots are made to be broken |
18:03.54 | Shirik | running user code sucks |
18:03.57 | krka | >>> for i = 1e5, 2e5 do SV[i] = i^2 end |
18:04.22 | Shirik | anyway, AD|sneg, seriously, that's the easiest way to do it |
18:04.28 | krka | if the SV is saved using luas own mechanism, i can easily break it |
18:04.32 | Shirik | if you really want to restrict to only math, you just have to restrict the incoming characters |
18:04.34 | foxlit | >>> print("dead"); |
18:04.35 | krka | just by overflowing number of constants to store |
18:04.40 | art3mis | http://www.joe-ks.com/archives_feb2007/StickHumour.htm |
18:05.01 | cog|work | krka: the constant limit is per-file, correct? |
18:05.08 | krka | cog|work: correct |
18:05.10 | *** join/#wowi-lounge Lunessa (n=chatzill@129.7.95.73) |
18:05.14 | krka | or, per chunk, more accurately |
18:05.20 | cog|work | was just going to say that:P |
18:05.50 | krka | i think 2.6e5 is fairly close to the limit (2^18) |
18:05.56 | krka | so i probably messed it up |
18:06.03 | *** part/#wowi-lounge herzogthc (i=wsmith@c-75-66-44-85.hsd1.tn.comcast.net) |
18:06.03 | *** join/#wowi-lounge herzogthc (i=wsmith@c-75-66-44-85.hsd1.tn.comcast.net) |
18:06.09 | herzogthc | desynchronization is awesome |
18:06.25 | [Liquidor] | Could someone hit my head with a big hammer please? Just enough to force my brain to understand metatables.... |
18:06.26 | Cide | ckknight: { 1, 4, 9, 16, 25, 36, 49, 64, 81, 100, 121, 144, 169, 196, 225, 256, 289, 324, 361, 400, 441, 484, 529, 576, 625, 676, 729, 784, 841, 900, 961, 1024, 1089, 1156, 1225, 1296, 1369, 1444, 1521, 1600, 1... (exceeded 200 characters) |
18:06.26 | Cide | krka: nil |
18:06.37 | ckknight | lol |
18:06.39 | [Liquidor] | Cide is recovering |
18:06.44 | ckknight | no, he's not. |
18:07.10 | Rallion | Cide is a robot. |
18:07.14 | krka | >>> #SV |
18:07.14 | Cide | krka: 0 |
18:07.16 | Shirik | lua> function clean(s) for x = 1, #s do local c = string.byte(string.sub(s, x, 1)); if not ((c > '0' and c < '9') or (c == '+' or c == '-' or c == '*' or c == '/' or c == '^' or c == '(' or c == ')')) then error("Unexpected character "..c); end end clean("123") |
18:07.16 | cladbot | Shirik: sandbox.lua:260: Compilation failed: [string "function clean(s) for x = 1, #s do local c = string.byte(string..."]:1: 'end' expected near '<eof>' |
18:07.18 | Shirik | bleh |
18:07.23 | Shirik | well something like that |
18:07.23 | Shirik | so yeah |
18:07.40 | Cide | yay, I'm alive |
18:07.43 | Shirik | hi Cide |
18:07.49 | Shirik | I promise I didn't do it |
18:07.53 | krka | Cide: how are you loading your saved variables? |
18:07.56 | foxlit | Shirik: string.match("[Boo-Hiss]") |
18:08.06 | Shirik | oh yeah |
18:08.10 | Shirik | lol |
18:08.13 | Cide | krka: loaded into lua? loadstring, iirc |
18:08.16 | Shirik | I was thinking C man |
18:08.18 | Cide | or dofile |
18:08.19 | krka | ah i see |
18:08.24 | herzogthc | ahhh ok I understand the function now |
18:08.30 | krka | what happens if loading SV fails? |
18:08.41 | Shirik | death and destruction |
18:08.43 | Shirik | the end of the world |
18:08.43 | Cide | pretty sure it's pcalled |
18:09.03 | ckknight | >>> SV.fib = {}; SV.fib[1] = SV.fib |
18:09.04 | Cide | ckknight: nil |
18:09.08 | ckknight | >>> SV.fib |
18:09.08 | Cide | ckknight: { <table: #1> } (#1) |
18:09.13 | ckknight | *shrug* |
18:09.45 | krka | so SV is nil if it fails to load? |
18:09.47 | krka | interesting |
18:09.55 | Cide | no, it should be empety |
18:09.59 | Cide | empty* |
18:10.14 | foxlit | How do some functions differentiate between foo() and foo(nil)? |
18:10.23 | krka | for i=1,2^18 do SV[i] = true end |
18:10.28 | krka | >>> for i=1,2^18 do SV[i] = true end |
18:10.30 | Cide | krka: nil |
18:10.38 | krka | >>> SV |
18:10.39 | Cide | krka: { } (#1) |
18:10.42 | Cide | the SV table that's visible is just the front end.. it uses another table that it copies the data from (to stop it from being nilled) |
18:11.01 | krka | and that it copies data _to_? |
18:11.13 | Cide | yes, that too |
18:11.14 | krka | foxlit: they use ... and use select |
18:11.29 | krka | foxlit: or if they're c functions, they can directly check number of passed parameters |
18:11.41 | Cide | so you can add stuff and change stuff, but not delete (well - creating 2^18 entries does that trick) |
18:11.57 | krka | indeed! |
18:12.05 | krka | you should make your own table loader :) |
18:12.08 | AD|sneg | so can you use the lua parser in game? |
18:12.12 | krka | AD|sneg: yes |
18:12.20 | Cide | krka: clearly :) |
18:12.34 | AD|sneg | nifty |
18:12.38 | cog|work | AD|sneg: but only for text. can't load precompiled code. |
18:13.03 | AD|sneg | thats very nice. now i can dump my addon |
18:13.04 | AD|sneg | :))) |
18:13.26 | cog|work | AD|sneg: speaking of dump, check out DevTools |
18:13.38 | cog|work | you can use its /dump command just like you're /calc command |
18:13.45 | cog|work | and a whole lot more |
18:14.04 | cog|work | s/you're/your/ |
18:14.19 | foxlit | Did DevTools ever its coroutine support fixed? |
18:14.23 | foxlit | *get |
18:14.34 | AD|sneg | mmm, its interesting to see how much longer my parser takes to do things than the lua one |
18:14.39 | foxlit | ./dump coroutine.create(function() end); |
18:14.41 | AD|sneg | i guess i can time it |
18:21.01 | cog|work | woah |
18:21.07 | cog|work | that was... abrupt |
18:24.24 | *** join/#wowi-lounge Kaso_ (n=Kaso@host217-43-223-38.range217-43.btcentralplus.com) |
18:26.22 | Shirik | AD|sneg: DevTools is god |
18:26.23 | Shirik | get it. |
18:26.32 | Cairenn | ~devtools |
18:26.32 | purl | Iriel's DevTools, a highly useful set of debugging tools for developers on WoW. Found at http://www.wowinterface.com/downloads/fileinfo.php?id=3999 Why isn't it in the default client yet? |
18:27.30 | Shirik | and on that note |
18:27.33 | Shirik | time to get my car inspected |
18:27.36 | Shirik | take care |
18:32.27 | Lunessa | Good afternoon folks. |
18:32.33 | Cairenn | hey Lunessa |
18:36.05 | Lunessa | It has nothing to do with anything other than my personal satisfaction... but DAMN this kebab is good. |
18:36.20 | cog|work | grats |
18:36.33 | cog|work | I make pretty good kebabs, myself... |
18:36.38 | cog|work | nothing but beef & bbq sauce :P |
18:36.56 | Lunessa | ... BBQ sauce? on Kebab? HEATHEN |
18:37.21 | cog|work | kebab's just food with a stick through it cooked over radiant heat... |
18:37.24 | AD|sneg | <Shirik> Calculators are in demand among iliterate barbarians, who havent mastered the art of programming yet :) |
18:37.47 | AD|sneg | my mistake was that i havent researched lua well enough |
18:37.53 | Lunessa | bah... I'm a fan of middle eastern style kebab |
18:37.59 | AD|sneg | and wrote shitloads of crap noone needs |
18:38.05 | AD|sneg | :)) |
18:38.08 | AD|sneg | but it was fun |
18:38.51 | Cidan | Shirik|AFK, you're not allowed to get an inspection! |
18:39.00 | cog|work | Lunessa: i've actually never had those before :( |
18:39.06 | Shirik|AFK | AD|sneg: You don't need to know programming |
18:39.13 | Shirik|AFK | Cidan: o.o |
18:39.48 | Lunessa | cog|work: you must remedy this at the soonest opportunity. You will kick yourself for not having done so sooner. |
18:40.07 | AD|sneg | hm, well yes true. ur right. but as i said it was fun. this is my first work on lua |
18:40.13 | Shirik|AFK | >>> SV.calc = function(s) s = assert(loadstring(s), "Unable to process expression"); return s(); end |
18:40.13 | Cide | Shirik|AFK: nil |
18:40.14 | AD|sneg | wrote it in my free time |
18:40.18 | Shirik|AFK | that's good though :) |
18:40.21 | Shirik|AFK | writing parsers aren't easy |
18:40.30 | Shirik|AFK | >>> SV.calc("1+2*3"); |
18:40.31 | Cide | Shirik|AFK: [string "SV.calc = function(s) s = assert(loadstring..."]:1: Unable to process expression |
18:40.32 | foxlit | SV.calc("SHARDALLEPIX()") |
18:40.34 | Shirik|AFK | =( |
18:40.41 | AD|sneg | i can post you my code :0 |
18:40.43 | Shirik|AFK | >>> SV.calc = function(s) s = assert(loadstring("return "..s), "Unable to process expression"); return s(); end |
18:40.44 | Cide | Shirik|AFK: nil |
18:40.47 | Shirik|AFK | >>> SV.calc("1+2*3"); |
18:40.47 | Cide | Shirik|AFK: [string "SV.calc("1+2*3");"]:1: attempt to call field 'calc' (a nil value) |
18:40.54 | Shirik|AFK | =( |
18:40.56 | AD|sneg | on this linky cladhaire gave me |
18:41.00 | Shirik|AFK | Cide? |
18:41.06 | Cide | Shirik|AFK: hm? |
18:41.07 | *** join/#wowi-lounge Kazie (n=k@port207.ds1-vg.adsl.cybercity.dk) |
18:41.09 | Shirik|AFK | what's that all about |
18:41.14 | Shirik|AFK | >>> SV.calc |
18:41.14 | Cide | Shirik|AFK: nil |
18:41.28 | Cidan | Shirik|AFK, go get your car inspected |
18:41.30 | Shirik|AFK | >>> SV.calc = function(s) s = assert(loadstring("return "..s), "Unable to process expression"); return s(); end |
18:41.30 | Cide | Shirik|AFK: nil |
18:41.31 | Cide | maybe krka borked it |
18:41.33 | Cidan | quit being a nerd on IRC, :D |
18:41.34 | Shirik|AFK | >>> SV.calc |
18:41.34 | Cide | Shirik|AFK: nil |
18:41.46 | Shirik|AFK | Cide: It's wierd because the first time, it worked |
18:41.47 | AD|sneg | i got very interested in how parsers work after writing a compiler for my coursework |
18:41.57 | AD|sneg | so i wrote a mini parser in lua for wow :) |
18:42.05 | *** join/#wowi-lounge ThraeBot (n=ThraeBot@c-68-49-121-90.hsd1.md.comcast.net) |
18:42.09 | Shirik|AFK | Cidan: It is my job |
18:44.01 | Shirik|AFK | foxlit: I proposed the solution to that a while back |
18:44.54 | foxlit | The last one I saw didn't fix "(\"pants\"):repeat(1e7)" |
18:45.49 | Shirik|AFK | SV.clean = function(s) for x = 1, #s do if not s:sub(x, 1):find("[ 0-9\+\-\^\*\/\(\)]") then error("Unexpected character in expression: "..s:sub(x,1)); end end |
18:45.53 | Shirik|AFK | >>> SV.clean = function(s) for x = 1, #s do if not s:sub(x, 1):find("[ 0-9\+\-\^\*\/\(\)]") then error("Unexpected character in expression: "..s:sub(x,1)); end end |
18:45.53 | Cide | Shirik|AFK: [string "SV.clean = function(s) for x = 1, #s do if not s:sub(x, 1):find..."]:1: 'end' expected near '<eof>' |
18:46.03 | Shirik|AFK | >>> SV.clean = function(s) for x = 1, #s do if not s:sub(x, 1):find("[ 0-9\+\-\^\*\/\(\)]") then error("Unexpected character in expression: "..s:sub(x,1)); end end end |
18:46.03 | Cide | Shirik|AFK: nil |
18:46.04 | Shirik|AFK | there! |
18:46.23 | foxlit | wth is that? |
18:46.29 | Shirik|AFK | that is me checking the characters |
18:46.35 | *** join/#wowi-lounge Chaotic_D (n=nothanks@ottawa-hs-64-26-170-129.d-ip.magma.ca) |
18:46.35 | Shirik|AFK | now... |
18:46.37 | foxlit | Why are you doing it that way? |
18:46.41 | foxlit | MADNESS! |
18:46.41 | Cidan | Shirik|AFK, car, now! |
18:46.44 | Cidan | NO |
18:46.46 | Cidan | SPARTAAAAAAAA |
18:46.59 | Shirik|AFK | >>> SV.parse = function(s) SV.clean(s); return SV.calc(s); end |
18:47.00 | Cide | Shirik|AFK: nil |
18:47.06 | Shirik|AFK | >>> SV.parse("1+2*3"); |
18:47.06 | Cide | Shirik|AFK: [string "SV.clean = function(s) for x = 1, #s do if ..."]:1: Unexpected character in expression: |
18:47.09 | Shirik|AFK | =( |
18:47.09 | foxlit | function isClean(t) return t:match("[^0-9\+\-\^\*\/\(\)]"); |
18:47.21 | Shirik|AFK | oh |
18:47.23 | Shirik|AFK | yeah |
18:47.26 | foxlit | function isClean(t) return not t:match("[^0-9\+\-\^\*\/\(\)]"); end |
18:47.52 | foxlit | I don't think you have to do all that escaping, either |
18:48.04 | foxlit | function isClean(t) return not t:match("[^0-9+-^*/()]"); end |
18:48.12 | Shirik|AFK | >>> SV.clean = function(s) return not s:find("[^0-9\+\-\^\*\/\(\)]"); end |
18:48.12 | Cide | Shirik|AFK: nil |
18:48.14 | Shirik|AFK | I tend to be safe |
18:48.22 | Shirik|AFK | >>> SV.parse("1+2*3"); |
18:48.22 | Cide | Shirik|AFK: [string "SV.parse = function(s) SV.clean(s); return ..."]:1: attempt to call field 'calc' (a nil value) |
18:48.27 | Shirik|AFK | grrr |
18:48.29 | Shirik|AFK | Cide! Fix that T_T |
18:48.32 | Chaotic_D | anyone know how in LightHeaded I can get the quest starter/ender NPC from the QuestID or Quest Title & Level? |
18:48.35 | Shirik|AFK | And now I shall go to get my car inspected |
18:48.52 | Cide | >>> SV.foo = function() return "hi" end |
18:48.53 | Cide | Cide: nil |
18:48.55 | Cide | >>> SV.foo() |
18:48.55 | Cide | Cide: "hi" |
18:49.05 | krka | i didnt bork it! |
18:49.08 | Shirik|AFK | >>> SV.foo |
18:49.08 | Cide | Shirik|AFK: function: 007C9748 |
18:49.11 | Shirik|AFK | =( |
18:49.17 | Cide | try now |
18:49.22 | Cide | I erased the SV file |
18:49.25 | krka | >>> for i=1,2^18 do SV[i] = true end return #SV |
18:49.29 | Cide | krka: 262144 |
18:49.33 | Shirik|AFK | >>> SV.clean, SV.calc, SV.parse |
18:49.34 | Cide | Shirik|AFK: nil, nil, nil |
18:49.37 | Shirik|AFK | =( |
18:49.47 | Shirik|AFK | I need to go, I'll play later :P |
18:49.56 | Cide | you fail |
18:50.00 | Cide | I deleted it after you defined them |
18:50.02 | Shirik|AFK | don't want to retype them all :P |
18:50.22 | krka | >>> SV.test = "w00t" |
18:50.22 | Cide | krka: nil |
18:50.26 | krka | >>> SV.test |
18:50.27 | Chaotic_D | LightHeaded is pretty small, but it does so much. It's hard to tell what it's doing. |
18:50.27 | Cide | krka: "w00t" |
18:50.30 | krka | >>> for i=1,2^18 do SV[i] = true end return #SV |
18:50.34 | Cide | krka: 262144 |
18:50.36 | krka | >>> SV.test |
18:50.37 | Cide | krka: nil |
18:50.45 | Shirik|AFK | I think it's best that you do something like |
18:50.59 | Shirik|AFK | if name == "krka" then error("You ain't gots access anymores noob!"); end |
18:51.07 | krka | >>> SV.wipe = function() for i=1,2^18 do SV[i] = true end return #SV end |
18:51.08 | Cide | krka: nil |
18:51.30 | krka | Shirik|AFK: hah! i can easily circumvent that |
18:51.46 | foxlit | I got a better solution |
18:52.06 | Shirik|AFK | if name ~= "Shirik" then error("You are not worthy"); end |
18:52.16 | Shirik|AFK | /afk |
18:52.27 | foxlit | SVc = 0; SV = setmetatable(SV, {__newindex=function(t,k,v) SVc = SVc + 1; if SVc > 100 then return; end ... end}); |
18:52.44 | krka | i could still bork it :P |
18:52.51 | krka | want to see how? |
18:53.18 | krka | >>> local t = {} for i=1,2^18 do t[i] = true end SV.wipet = t |
18:53.20 | Cide | krka: nil |
18:53.30 | Chaotic_D | can I run Lua commands from the WoW chat menu? like Print(LightHeaded.QIDToTitleLevel(2345)) ?? |
18:53.33 | krka | >>> SV.wipet |
18:53.34 | Cide | krka: nil |
18:53.53 | krka | see what i did there foxlit? :) |
18:54.01 | foxlit | Yes, but I can work around that |
18:54.08 | krka | i can work around your workaround |
18:54.31 | foxlit | Check that incoming tables have a sane number of entries |
18:54.41 | foxlit | Assign the same limiter metatable to the nested tables |
18:54.46 | krka | what if i make a huge binary tree instead? |
18:55.07 | foxlit | Count any sort of added value to anywhere in SV as 1 addition :) |
18:55.30 | krka | the proper solution of course is to make a custom lua table loader |
18:56.30 | *** join/#wowi-lounge Kaso (n=Kaso@host86-147-120-62.range86-147.btcentralplus.com) |
18:58.39 | *** join/#wowi-lounge Kaso_ (n=Kaso@host86-147-120-62.range86-147.btcentralplus.com) |
18:58.53 | Chaotic_D | ah crap. I forgot it has different files for the quests. where does it keep track of that? :S I don't think LightHeaded was meant to be called by other addons. |
18:59.54 | *** join/#wowi-lounge ts|skrom (n=TS|Skrom@66.148.226.210.nw.nuvox.net) |
19:02.26 | ts|skrom | what *IS* the difference between a baseball bat and a bicycle? |
19:02.48 | Chaotic_D | god, I'm getting nowhere. I need a new strategy. |
19:03.00 | ts|skrom | try dinner, flowers and a movie |
19:04.50 | Thunder_Child | there is no difference ts|skrom, if you ride either to hard your going to have a sore crotch |
19:05.13 | Thunder_Child | s/crotch/crotch or ass/ |
19:05.30 | Thunder_Child | need to be politicly correct here |
19:05.30 | art3mis | a bunch of letters, over all functionality, one is easier to beat people with, there's no wheels on a bat, . |
19:05.47 | art3mis | thunder you mean rectum |
19:05.58 | Chaotic_D | unless you're Batman. |
19:06.01 | Chaotic_D | I'm Batman. |
19:06.09 | Thunder_Child | depends on what your doing with it |
19:06.10 | krka | baseball bats dont have wheels, typically |
19:06.18 | krka | while bicycles do, typically |
19:06.27 | art3mis | "rectum?! damn near killed'em" |
19:06.46 | *** join/#wowi-lounge clad|away (n=cladhair@cpe-74-79-41-65.twcny.res.rr.com) |
19:06.46 | Thunder_Child | /sigh |
19:06.49 | Lunessa | Why is a raven like a writing desk? |
19:06.54 | ts|skrom | "poker? I hardly know 'er" |
19:07.29 | *** mode/#wowi-lounge [+o clad|away] by ChanServ |
19:07.56 | art3mis | liquor.... |
19:08.32 | Thunder_Child | hooker.... |
19:08.53 | art3mis | no thanks i never did like rugby |
19:09.02 | ts|skrom | smoker! |
19:09.33 | art3mis | striker..striker...striker..striker!!....*slaps the lady* Ted? |
19:09.59 | Thunder_Child | woot, love that movie |
19:10.21 | Cairenn | ts|skrom: an orange, because ducks don't have armpits |
19:10.21 | art3mis | mister, can i ask you a question? Sure what is it? it's an interogative statement used to derive knowledge, but thats not important right now. |
19:10.51 | art3mis | cairenn: it's Whats the difference between an orange? Snakes don't have armpits. |
19:11.11 | Cairenn | actually, nope, that's the "updated" version |
19:11.21 | art3mis | How long is a piece of string? Twice as long as half the length. |
19:11.47 | art3mis | and ducks do have armpits ;P |
19:12.00 | art3mis | has cartoons taught you nothing? |
19:12.04 | Cairenn | no they don't, they have wingpits, sheesh |
19:12.20 | Kaydeethree | gah, I'd forgotten how painful it is to play SSBM after giving blood |
19:12.29 | Thunder_Child | heh |
19:12.33 | Thunder_Child | ssbm ftw |
19:12.45 | art3mis | you should play ddr in the arcade RIGHT after you give blood |
19:12.49 | art3mis | THAT is fun |
19:13.01 | art3mis | right up until you pass out |
19:13.02 | Kaydeethree | meh, was thinking about getting my pads out and playing downstairs |
19:13.15 | Chaotic_D | man, all I want to do is use LightHeaded to find the NPC quest starter/ender's location! I already gave up on trying to match the quest titles without having a quest level, and instead I was just going to stick in LightHeaded internal database #'s to match things. |
19:15.16 | Chaotic_D | I think I need to skip finding the NPC through the Quest ID#, and just go straight to the NPC ID#. -_-; see if I can manage THAT. |
19:19.41 | anakha | what is the easiest addon to do for a beginner? |
19:20.22 | anakha | an extra health bar for my pet or something like that i assume.. |
19:20.44 | *** join/#wowi-lounge Lin (n=igor@unaffiliated/lincity) |
19:20.48 | foxlit | That's an odd question |
19:21.40 | Chaotic_D | the easiest ones to do are ones where they tell you everything to type and you don't actually do anything except copy the text. :> |
19:22.01 | *** join/#wowi-lounge tedrock (n=tedrock@d235-159-230.home1.cgocable.net) |
19:22.41 | Chaotic_D | there's a couple here: http://www.wowwiki.com/UI_FAQ/Addon_Author_Resources#Tutorials |
19:23.19 | Chaotic_D | (the bottom two out of four... there might be some in the 2nd link as well) |
19:25.39 | Chaotic_D | damn. where's that one with the health bar or something. it was really ugly. :) |
19:26.09 | AD|sneg | how do i check variable type? |
19:27.21 | Lunessa | "Caveat daunlodor." *chuckle* |
19:28.06 | foxlit | http://home.blarg.net/~tyroney/wow/uitutorial/ |
19:28.11 | foxlit | type(variable) |
19:28.20 | AD|sneg | thanks! |
19:28.46 | *** join/#wowi-lounge Cidan (i=Cidan@2001:5c0:8d2b:0:0:0:0:2) |
19:31.49 | *** join/#wowi-lounge JoshBorke (n=Josh@r35h14.res.gatech.edu) |
19:32.15 | Chaotic_D | where can I find Lua documentation that explains this?: local c,z,x,y,note = link:match("^lhref:zcoord:([^:]+):([^:]+):([^:]+):([^:]+):(.+)") |
19:32.35 | JoshBorke | Chaotic_D: look up the string.match section in the lua manual |
19:32.47 | Chaotic_D | what about all those symbols? |
19:32.53 | JoshBorke | which simbols? |
19:32.59 | JoshBorke | s/im/ym/ |
19:33.11 | JoshBorke | [^:] means anything that is not a : |
19:33.21 | Chaotic_D | I don't even know if lhref is a variable or... I don't think "zcoord" is ever in any of the strings. |
19:33.37 | JoshBorke | "^lhref:zcoord is part of the string |
19:33.38 | Chaotic_D | yeah, those symbols. |
19:34.00 | AnduinLothar | anyone know the pally agil>crit ratio? |
19:34.12 | Chaotic_D | I thought since it was in double-quotes, that maybe some of it would be taken just the way it looks, but I can't tell. |
19:34.40 | JoshBorke | no, " is just another ' |
19:35.10 | Chaotic_D | I mean as a string, instead of as variables and whatnot. |
19:35.20 | Chaotic_D | instead of code. |
19:35.28 | JoshBorke | anything between "'s is a string |
19:36.00 | Chaotic_D | except [^:] isn't just... like... text... in a string. |
19:36.14 | JoshBorke | it's part of the match string |
19:36.47 | Chaotic_D | right. I wanted to know where to find that. |
19:36.57 | JoshBorke | the string.match section of the lua manual |
19:37.31 | Chaotic_D | I'm guessing... the OTHER colons, as well as the () brackets are read normally, not interpretted to mean something else... not sure about the +'s. I suspect that's got something to do with the [^:] before them... |
19:38.16 | Chaotic_D | no. string.match doesn't mention things like [] |
19:38.35 | Chaotic_D | http://www.lua.org/manual/5.1/manual.html#pdf-string.match |
19:39.10 | JoshBorke | http://lua-users.org/wiki/PatternsTutorial |
19:39.14 | JoshBorke | you're right, it was in PiL |
19:39.38 | End | http://www.lua.org/manual/5.1/manual.html#5.4.1 |
19:39.44 | *** join/#wowi-lounge Ominous (n=Ominous@userc182.dsl.pipex.com) |
19:39.46 | End | it's in the manual too |
19:39.52 | End | just not right next to string.match |
19:40.54 | Chaotic_D | ah, a trick question! |
19:41.58 | End | in the 5.0 manual it was documented under a function's documentation (I thought it was gsub, but maybe it was match), but in the 5.1 manual they moved it to it's own subsection |
19:42.26 | Chaotic_D | thank you very much. sorry for not having the patience to have read both books all the way through. |
19:42.47 | Chaotic_D | (that was not sarcasm. just the facts, ma'am.) |
19:42.52 | Valaron|Work | That's how I felt while trying to read LotR |
19:43.21 | zenzelezz | heathen |
19:43.46 | Lunessa | double heathen |
19:44.27 | Chaotic_D | can they tell you to RTFM when it comes to LotR? :> |
19:45.06 | Lunessa | Especially if you're playing the MMO |
19:48.51 | Chaotic_D | Why did he use match without a pattern? it doesn't show that as being an optional argument. |
19:49.47 | Chaotic_D | "If pattern specifies no captures, then the whole match is returned" I don't know what "Specifies no captures" means, and what can it possibly match it to if there's nothing to match it to? |
19:50.39 | clad|away | Chaotic_D: There's an API for getting NPC quest locations... |
19:51.08 | foxlit | Chaotic_D: Captures are sub-parts of the pattern that you may wish to be stored in separate variables |
19:53.12 | Chaotic_D | oh. ... I see what it does. (although I don't know how to describe it) |
19:53.30 | clad|away | Chaotic_D: Also, the code in LightHeaded is not open for copying or using. if you'd like to access the LH database, you need to use the API, and if the data is being used, there is a requirement for including some attribution to wowhead |
19:53.59 | clad|away | local c,z,x,y = LightHeaded:IterateNPCLocs(id) |
19:54.01 | clad|away | that's all you need |
19:54.32 | art3mis | sweet |
19:54.41 | art3mis | clad go apply at blizzard for a gm spot ;P |
19:54.48 | Chaotic_D | so there's an API... |
19:54.51 | art3mis | so we can all abuse your new found power ;P |
19:55.32 | cog|work | Lunessa: http://forums.worldofwarcraft.com/thread.html?topicId=1230643923#2 |
19:55.39 | art3mis | and as a side note |
19:55.47 | Chaotic_D | I would put in that WoWHead logo if I could actually make anything that works. :> |
19:55.52 | art3mis | i despise toilkens writing style |
19:55.55 | Lunessa | Bah |
19:56.14 | art3mis | i dont think i read any of his books without 3-4 month gaps every 8 or so chapters |
19:56.35 | ts|skrom | cog|work win |
19:57.01 | cladhaire | Chaotic_D: please use the API, and if its not sufficient, tell me what API you need |
19:57.13 | cladhaire | the database can and will change.. and it should only be access through the API |
19:57.20 | cladhaire | (not chastising.. simply stating) |
19:57.20 | Chaotic_D | oh! |
19:57.22 | art3mis | and speaking of reading comprehension... you lose luney! |
19:57.43 | Chaotic_D | I remember something I wanted to suggest. :) boat launch locations! |
19:58.03 | cladhaire | those are static.. you could get those coords yourself trivially |
19:58.42 | art3mis | clad you should add an odometer |
19:58.53 | cladhaire | i was thinking about it :p |
19:58.56 | cladhaire | and a spedometer :P |
19:58.57 | Chaotic_D | but they're some of the few things which can't be located with an NPC, like bankers, flightpath guys... |
19:58.58 | art3mis | so i can figure out how many calories i burned running from org to xroads ;P |
19:59.08 | art3mis | hahah |
19:59.10 | art3mis | a fitness addon |
19:59.15 | art3mis | for inside of wow |
19:59.19 | cog|work | cladhaire: if you make a speedometer, can you make it analog, pls? |
19:59.21 | cog|work | :P |
19:59.32 | art3mis | with revving sounds ;P |
19:59.38 | cladhaire | hehe :P |
19:59.48 | Chaotic_D | ... in-game callories, or real-life callories? I don't even know if you could measure the callories you burn sitting on your ass in front of a computer. :> |
19:59.49 | cladhaire | it would be a trivial addon with Astrolabe |
19:59.55 | *** join/#wowi-lounge Lej (n=mail@81-235-141-90-no63.tbcn.telia.com) |
20:00.01 | art3mis | in game calories |
20:00.17 | art3mis | you dont want yer character getting pudgey |
20:00.26 | Lej | If I set an addon as a optional dep for my addon. If that addon is present will my addon always load after it? |
20:00.26 | Chaotic_D | how about both? it would show you what you COULD be doing instead of playing WoW. |
20:00.31 | art3mis | add in food values and stuff |
20:00.48 | art3mis | so that you can plan your daily diet and exercise regime ;P |
20:01.12 | Chaotic_D | open up treadmills in the towns. |
20:01.30 | ts|skrom | Lej, yes |
20:02.08 | cog|work | http://forums.worldofwarcraft.com/thread.html?topicId=1230503217 moar plx |
20:05.12 | Mr_Rabies2 | whoa |
20:05.17 | Mr_Rabies2 | i think this song has a digeridoo |
20:05.31 | art3mis | wow cog |
20:05.38 | art3mis | your potrait has a HUGE nose |
20:05.43 | art3mis | portrait |
20:06.35 | art3mis | they should extend the ogre costume multiple use and bop ;P |
20:06.43 | art3mis | man i'd run around in that thing all day |
20:06.49 | cog|work | art3mis: gnomes have big noses |
20:06.54 | cog|work | The real me: http://cogwheel.wowinterface.com/portal.php |
20:07.05 | art3mis | is that to keep them balanced when running? |
20:07.07 | cog|work | (tabard's different now... just transferred realms) |
20:07.11 | cog|work | art3mis: prolly |
20:07.40 | art3mis | you sure thats a cog and not a sproket? |
20:07.46 | art3mis | sprocket |
20:08.11 | Industrial | in other news yay 4k downloads >_> |
20:08.23 | art3mis | heh the picture didnt load the first time so i thought you were being funny with your avatar pic ;P |
20:08.29 | cog|work | art3mis: oh... heh |
20:08.34 | Chaotic_D | in LightHeaded, could I do this to get NPC data from quest ID? _,_,_,_,_,_,sid,_,_,eid,_,_,_ = LightHeaded:GetQuestInfo( LightHeaded:QIDToTitleLevel(qid) ) id=sid LightHeaded:IterateNPCLocs(id) |
20:08.41 | cladhaire | no |
20:08.48 | cladhaire | hold on a sec. |
20:08.50 | cladhaire | lemme look :P |
20:09.02 | cladhaire | well maybe, i misread what you said :p |
20:09.18 | cog|work | art3mis: google define: sprocket :P |
20:09.40 | Chaotic_D | I should test that out. man, it only took me... like an hour and a half to figure that out. |
20:09.57 | Chaotic_D | and I already came across that stuff before, but I figured I was missing something. |
20:10.01 | art3mis | the jetsons suddenly makes WAY more sense |
20:10.12 | cog|work | haha |
20:10.18 | art3mis | when i was little i always thought they wee different things |
20:10.21 | art3mis | ;) |
20:10.23 | cladhaire | Chaotic_D: you dont want to do it all in one |
20:10.27 | cladhaire | try to convert the QID FIRST |
20:10.35 | Lunessa | I see I'm going to be having one of /those/days., |
20:10.53 | cladhaire | then get the sid, eid as you do |
20:10.55 | cladhaire | then when you get that, call for c,z,x,y in LightHeaded:IterateNPCLocs(sid) |
20:11.26 | Chaotic_D | you mean divide it up so it's not calling one LightHeaded function within another? |
20:11.37 | Chaotic_D | ah, that is what you said. |
20:11.42 | Chaotic_D | bad coding practice? |
20:12.29 | cladhaire | make sure you have a result before feeding it to something else |
20:12.35 | Shirik | psh |
20:12.40 | cladhaire | consindering QIDToTitle will fail if they dont' have that addon enabled. |
20:12.48 | Shirik | cladhaire should see some of my C code :P |
20:12.53 | Shirik | side effects ftw |
20:12.55 | cladhaire | i'd hunt you down |
20:12.57 | Shirik | haha |
20:13.22 | Lunessa | They would never find the body? |
20:13.22 | AnduinLothar | what's LightHeaded? |
20:13.28 | Shirik | while(foo = bar?Function1():Function2(foo)) |
20:13.30 | Shirik | I had something like that before |
20:13.31 | Shirik | it was fun |
20:13.38 | cladhaire | http://www.wowinterface.com/downloads/info7017-LightHeaded.html |
20:13.47 | AnduinLothar | ah right |
20:14.24 | Shirik | and then I have that Lua gem.... |
20:14.48 | Shirik | _MakeCB(w, "Druid", "DRUID", _MakeCB(w, "Hunter", "HUNTER", _MakeCB(w, "Warlock", "WARLOCK", _MakeCB(w, "Paladin", "PALADIN", _MakeCB(w, "Shaman", "SHAMAN", _MakeCB(w, "Rogue", "ROGUE", _MakeCB(w, "Mage", "MAGE", _MakeCB(w, "Priest", "PRIEST", last_cb)))))))); |
20:15.16 | cog|work | i've already smacked you around a bit for that one |
20:15.19 | Shirik | hehehe |
20:15.32 | Shirik | I promise, I only wrote it because I could, it was commented out :P |
20:15.32 | cladhaire | lua> getnames("Pooface") |
20:15.33 | cladbot | cladhaire: Poofach, Poofaci, Poofack, Poofaco, Poofact, Poofacu, Poofacy, Poofada, Poofadd, Poofade, Poofadh, Poofadi, Poofado, Poofadu, Poofady, Poofaeb, Poofaec, Poofaed, Poofaef, Poofaeg, Poofaeh, Poofaej, Poofaek, Poofael, Poofaem, Poofaen, Poofaep, Poofaeq, Poo... (result truncated) |
20:15.59 | Industrial | o_O |
20:16.04 | Industrial | w.. what? |
20:17.03 | Chaotic_D | I wonder if I can convince Tekkub to stick in LightHeaded functionality into TourGuide. :> easier to look up QID than at least 1 or 2 decimal-place locations for NPCs. (I don't think I can easily get quest objective locations through LightHeaded though) |
20:17.10 | Industrial | lua> #{getnames('pooface')} |
20:17.10 | cladbot | Industrial: poofach, poofaci, poofack, poofaco, poofact, poofacu, poofacy, poofada, poofadd, poofade, poofadh, poofadi, poofado, poofadu, poofady, poofaeb, poofaec, poofaed, poofaef, poofaeg, poofaeh, poofaej, poofaek, poofael, poofaem, poofaen, poofaep, poofaeq, poo... (result truncated) |
20:17.13 | Industrial | .. |
20:17.25 | Shirik | oops |
20:17.27 | Industrial | boo :p |
20:17.32 | Shirik | I think getnames does a print :P |
20:17.37 | Mr_Rabies2 | man |
20:17.38 | Mr_Rabies2 | http://forums.worldofwarcraft.com/thread.html?topicId=1230603968&sid=1 |
20:17.40 | cladhaire | yeah it does, sorry :P |
20:17.44 | Mr_Rabies2 | funzo really freaking won this thread |
20:17.48 | Industrial | ^^ np lol |
20:17.55 | Industrial | what is getnames, though? |
20:18.03 | Shirik | lua> t = {}; print = function(s) table.insert(t, s); end; getnames('pooface'); return #t; |
20:18.04 | cladbot | Shirik: poofach, poofaci, poofack, poofaco, poofact, poofacu, poofacy, poofada, poofadd, poofade, poofadh, poofadi, poofado, poofadu, poofady, poofaeb, poofaec, poofaed, poofaef, poofaeg, poofaeh, poofaej, poofaek, poofael, poofaem, poofaen, poofaep, poofaeq, poo... (result truncated) |
20:18.05 | Shirik | =( |
20:18.25 | cladhaire | i can fix it if you want |
20:18.29 | cladhaire | Industrial: its a name generator, heh |
20:18.29 | Industrial | se |
20:18.31 | Industrial | sec |
20:18.32 | Industrial | ah k |
20:18.35 | *** join/#wowi-lounge Cidan (n=feh@2001:5c0:8d2b:0:0:0:0:2) |
20:18.46 | cladhaire | it uses gen_next() to generate combinations of characters |
20:19.02 | *** join/#wowi-lounge GofG (n=Gofg@cpe-069-134-155-140.nc.res.rr.com) |
20:19.09 | JoshBorke | lua> getnames(clad) |
20:19.10 | cladbot | JoshBorke: a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, ba, bb, be, bh, bi, bo, bu, by, ca, cc, ce, ch, ci, ck, co, cu |
20:19.14 | cladhaire | lua> local s; for i=1,1000 do s = gen_next("abcdefghijklmnopqrstuvwxyz", s) print(s) end |
20:19.17 | Shirik | I don't think Cidan ever saw that code though, because it was part of a module that never came to be =( |
20:19.17 | cladbot | cladhaire: a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z, aa, ab, ac, ad, ae, af, ag, ah, ai, aj, ak, al, am, an, ao, ap, aq, ar, as, at, au, av, aw, ax, ay, az, ba, bb, bc, bd, be, bf, bg, bh, bi, bj, bk, bl, bm, bn, bo, bp, bq, br, b... (result truncated) |
20:19.18 | Cidan | Hmm, there we go. |
20:19.20 | Cidan | What? |
20:19.23 | Cidan | I did what now who? |
20:19.25 | cladhaire | JoshBorke: clad is a variable, not a string. |
20:19.33 | JoshBorke | lua> getnames('claddy wadd') |
20:19.34 | cladbot | JoshBorke: |
20:19.47 | Shirik | here, see line 13: http://wowi.pastey.net/72625?hi=11,12,13 |
20:19.47 | JoshBorke | lua> clad="clad" getname(clad) |
20:19.47 | cladbot | JoshBorke: [string "clad="clad" getname(clad)"]:1: attempt to call global 'getname' (a nil value) |
20:19.49 | Shirik | Did I ever show you that? |
20:19.53 | JoshBorke | forget it |
20:20.10 | Shirik | something I wrote for RDXC_HealerAssignments |
20:20.17 | Cidan | no? |
20:20.44 | Shirik | I liked it |
20:20.51 | Industrial | lua> local a={} for k,v in getnames('pooface'):gmatch('%w') do table.insert(a, v) end print(#a) |
20:20.52 | cladbot | Industrial: poofach, poofaci, poofack, poofaco, poofact, poofacu, poofacy, poofada, poofadd, poofade, poofadh, poofadi, poofado, poofadu, poofady, poofaeb, poofaec, poofaed, poofaef, poofaeg, poofaeh, poofaej, poofaek, poofael, poofaem, poofaen, poofaep, poofaeq, poo... (result truncated) |
20:20.56 | Industrial | :( |
20:21.03 | cladhaire | Industrial: redefine print :P |
20:21.26 | Industrial | oh.. duh |
20:21.33 | Bleeter | hey, word up WoW Winers... 2.2, can people try out using ARTS+ALSA under wine, there's a report that this combo works |
20:21.42 | cladhaire | i think it uses print, actually.. not sure.. might use the local :P |
20:22.01 | Cidan | blergh, xchat supports ipv6 in windows, but it's sooo ugly. |
20:22.05 | Cidan | I'd rather use bitchx |
20:22.56 | Cidan | mIRC doesn't support ipv6, there is a patch but it's buggy. :/ |
20:23.15 | JoshBorke | why do you need ipv6? |
20:23.18 | Bleeter | works fine here on this platform! :P |
20:23.27 | deltron | ipv6? wut |
20:23.28 | Cidan | dunno, just may as well make use of it |
20:23.38 | Industrial | mIRC, whats that? |
20:23.45 | Cidan | I'm on it now, just, meh |
20:23.53 | Industrial | irssi \o/ |
20:23.56 | Bleeter | gah, someone missed it |
20:24.01 | Industrial | (no idea about ipv6) |
20:24.16 | Bleeter | CTCP VERSION reply from Bleeter: mIRC on C= Vic20 |
20:24.28 | Industrial | http://svn.irssi.org/repos/irssi/trunk/INSTALL |
20:24.35 | Industrial | Cidan: apparently so |
20:24.51 | Industrial | --enable-ipv6 gogo o/ |
20:24.58 | Cidan | well, let's try it out then |
20:25.21 | cog|work | Shirik: http://wowi.pastey.net/72626 4tw |
20:25.35 | Shirik | Look at all that garbage! |
20:25.49 | cog|work | Shirik: it only runs once though, right? |
20:25.54 | Mr_Rabies2 | welp |
20:26.06 | cog|work | clarity > garbage imo |
20:26.08 | *** join/#wowi-lounge blq (i=Bl@dslb-088-064-144-168.pools.arcor-ip.net) |
20:26.14 | Mr_Rabies2 | they recently decided to revoke all ETAs on illegal danish, escape from orgimmar |
20:26.19 | Mr_Rabies2 | dammit myndflame |
20:26.21 | Mr_Rabies2 | >;[ |
20:26.25 | Shirik | cog|work: Screw clarity! |
20:26.25 | blq | hi |
20:26.28 | Shirik | blq: Hi |
20:26.31 | Mr_Rabies2 | hello blq |
20:26.39 | *** join/#wowi-lounge Cidan (i=feh@ip68-98-130-180.dc.dc.cox.net) |
20:26.42 | Cide | garbage implies that it's a waste :) |
20:26.51 | Cidan | forget that, rather use bitchx |
20:27.02 | Shirik | In reality, I do mostly agree with cog|work that clarity is important |
20:27.18 | Shirik | unfortunately, this WoW world is ridden with people that insist on going "wtf memory usage, horrible addon! /delete" |
20:27.24 | Shirik | even when they have no idea what the hell is going on |
20:28.01 | Industrial | Funkeh`: you. win. http://www.wowace.com/forums/index.php?topic=8082.new#new |
20:28.04 | Chaotic_D | is this valid for level not being -1? :> if level^=-1 then |
20:28.18 | Chaotic_D | no wait... !=? |
20:28.27 | Shirik | ~= |
20:28.32 | blq | last time I was here someone gave me a link to a page about lua but I forgot to bookmark it ... I'm not sure but I think it wasn't just lua.org ... what page do you generally recommend to lua-wow-addon-scripting-newbies? |
20:28.49 | Funkeh` | lol Industrial |
20:28.50 | Shirik | (@ Chaotic_D) |
20:29.00 | Shirik | blq: PiL |
20:29.01 | Shirik | ~pil |
20:29.01 | purl | methinks pil is Programming in Lua. The first edition is available free online at http://www.lua.org/pil and covers Lua 5.0. The second edition is available in hardcover and covers Lua 5.1. |
20:29.34 | Shirik | wtf is MC Hammer doing in my playlist |
20:29.35 | cog|work | >>> http://wowi.pastey.net/72627 |
20:29.36 | Cide | cog|work: 1.015625 |
20:29.48 | Bleeter | Shirik: can't touch that |
20:29.49 | blq | Thank you! that's the page I was looking for! |
20:29.54 | JoshBorke | ha, my plan has been enacted |
20:29.57 | Industrial | Funkeh`: look again |
20:30.04 | Shirik | cog|work: |
20:30.17 | Chaotic_D | yeah, I shoulda just looked up "Relational Operators" |
20:30.18 | JoshBorke | i have cleverly instructed ckknight to write a mod for me |
20:30.21 | Shirik | >>> http://wowi.pastey.net/72625 |
20:30.23 | Cide | Shirik: [string " last_cb = _MakeCB(w, "Warrior", "WARRIO..."]:1: attempt to call global '_MakeCB' (a nil value) |
20:30.24 | Shirik | oops |
20:30.26 | Shirik | bleh |
20:30.31 | Shirik | guess I can't do that |
20:30.35 | Industrial | Funkeh`: BAM :P |
20:30.35 | Funkeh` | Industrial: lol |
20:30.51 | Funkeh` | JoshBorke: OMG awesome reply |
20:30.51 | ckknight | JoshBorke: I don't remember this |
20:31.36 | Shirik | anyway, cog|work this should be cheaper |
20:31.37 | JoshBorke | ckknight: ck the thread indie posted |
20:31.40 | Shirik | if I did want to do it that way |
20:31.48 | ckknight | link? |
20:31.52 | Shirik | >>> http://wowi.pastey.net/72629 |
20:31.56 | JoshBorke | scroll up some |
20:32.15 | cog|work | yep |
20:32.33 | Cide | no http |
20:32.39 | Shirik | ? |
20:32.39 | Cide | I believe |
20:32.43 | Cide | remove http:// |
20:32.45 | Shirik | worked for cog :/ |
20:32.49 | cog|work | Cide: worked before |
20:32.49 | Cide | heh |
20:32.51 | Shirik | >>> wowi.pastey.net/72629 |
20:32.51 | Cide | nevermind then |
20:32.53 | Cide | Shirik: 0.34375 |
20:32.55 | Shirik | -_- |
20:32.57 | Shirik | fine |
20:32.59 | Shirik | I see how it is |
20:33.12 | Cide | you probably added some invisible chars :P |
20:33.22 | Shirik | probably my client did it on its own trying to be "helpful" |
20:34.14 | cog|work | >>> http://wowi.pastey.net/72631 |
20:34.24 | JoshBorke | >>> wowi.pastey.net/72631 |
20:34.25 | Cide | JoshBorke: 0 |
20:34.43 | Shirik | so wierd |
20:34.44 | JoshBorke | i succeeded where cog failed, that means i'm superior to cog, right? |
20:34.55 | Shirik | 162:292:23 12‹cog|work12› >>> http://wowi.pastey.net/72627 |
20:34.55 | Shirik | 162:292:25 12‹+Cide12› cog|work: 1.015625 |
20:34.57 | Shirik | !! |
20:35.04 | Shirik | it only worked once |
20:35.05 | Shirik | lol |
20:35.10 | cog|work | Shirik: twice |
20:35.14 | Shirik | twice? |
20:35.14 | JoshBorke | >>> http://wowi.pastey.net/72627 |
20:35.15 | cog|work | he gave you an error |
20:35.16 | Cide | JoshBorke: 1.015625 |
20:35.19 | JoshBorke | >>> http://wowi.pastey.net/72627 |
20:35.21 | Shirik | oh right |
20:35.22 | Cide | JoshBorke: 1.015625 |
20:35.24 | cog|work | <Shirik>>>> http://wowi.pastey.net/72625 |
20:35.26 | Shirik | ~lart JoshBorke |
20:35.26 | purl | takes a rusty axe and swings it violently, taking JoshBorke's head off |
20:35.26 | cog|work | <Cide>Shirik: [string " last_cb = _MakeCB(w, "Warrior", "WARRIO..."]:1: attempt to call global '_MakeCB' (a nil value) |
20:35.32 | JoshBorke | ~lart Shirik |
20:35.32 | purl | hooks into a hydrant and hoses Shirik down |
20:35.35 | ckknight | Industrial: interesting proposal, I was actually going to incorporate in the next few days |
20:35.40 | Shirik | ~whaleslap JoshBorke |
20:35.41 | purl | ACTION beats JoshBorke upside and over the head with a freakishly huge killer whale named Hugh |
20:35.55 | JoshBorke | botmail for Shirik ACE RDX KTHXBAI. Oh yea, and use CTL! |
20:36.01 | JoshBorke | ~botmail for Shirik ACE RDX KTHXBAI. Oh yea, and use CTL! |
20:36.10 | Shirik | purl, kill JoshBorke |
20:36.10 | purl | ACTION shoots a excited photon gun at JoshBorke |
20:36.12 | JoshBorke | ~whaleparry Shirik |
20:36.12 | purl | ACTION uses a slightly less-huge but eminently more agile killer whale named Edwardo to parry Shirik's attacks. |
20:36.13 | ckknight | granted, the infrastructure of wowace is quite alright in my eyes, as well as the general branding system set in place |
20:36.27 | Shirik | too much yellow on my screen now o.o |
20:36.31 | JoshBorke | purl, kill Shirik |
20:36.32 | purl | ACTION shoots a super-inverse electron gun at Shirik |
20:36.32 | cog|work | branding system? |
20:36.32 | JoshBorke | lol, yea |
20:36.51 | Chaotic_D | what are the variable (state,c,z,x,y) keeping track of for LightHeaded:IterateNPCLocs(id) ? |
20:37.10 | cladhaire | continent, zone, x and y |
20:37.40 | Chaotic_D | ohhh. here I thought it was faction, height and scale or something. :> |
20:38.05 | *** join/#wowi-lounge Antiarc (n=Antiarc@wsip-70-184-82-98.ph.ph.cox.net) |
20:38.29 | ckknight | cog|work: "Ace" has a branding |
20:38.38 | ckknight | and I don't feel like creating a new brand |
20:38.45 | Chaotic_D | it doesn't actually use that stuff in LightHeaded, does it? |
20:41.09 | Chaotic_D | hrm. I'll look at that later. |
20:44.04 | cladhaire | Chaotic_D: yes it does, absolutely. |
20:44.23 | cladhaire | Chaotic_D: its how the system knows how to put the NPC location in Ironforge when you're in Duskwood |
20:46.25 | Chaotic_D | ah, that'll take me another hour or two to figure out. :> |
20:46.37 | cladhaire | why? |
20:46.38 | cladhaire | \what do you mean |
20:47.08 | Chaotic_D | I'm slow. It takes me a while to follow other people's code. |
20:47.43 | cladhaire | well, there's really nothing in Lightheaded for you to follow |
20:48.03 | Chaotic_D | I'm a newbie, there's tons to follow. |
20:48.51 | Chaotic_D | like I have no idea what the hell all this is: text = text .. "\n|cFF0066FF|Hlhref:zcoord:"..c..":"..z..":"..x..":"..y..":"..name.."|h["..x..", "..y.."]|h|r" |
20:49.29 | cladhaire | its making a long string |
20:49.34 | *** join/#wowi-lounge nuoHep` (i=nuoHep@85.192.55.242) |
20:49.38 | cladhaire | its really nothing you need to worry about |
20:49.47 | cladhaire | lightheaded is NOT the mod to look at if you want to learn what you're doing |
20:50.00 | Chaotic_D | heh. :> |
20:51.45 | Shirik | rofl |
20:52.06 | Shirik | cladhaire's like "I ain't writing no kiddie code here, this is the real deal" |
20:52.12 | cladhaire | LH was written in an airport, along with the parser |
20:52.20 | cladhaire | so it doesn't have much more than shit thrown together to get a job done |
20:52.29 | cladhaire | at this point the parser is prettier than the LH code :P |
20:52.31 | Lunessa | Really, the two example mods from blizzards aren't a bad place to start, and Tyroney put together a decent tutorial as well: http://home.blarg.net/~tyroney/wow/uitutorial/ |
20:53.23 | Chaotic_D | meh. I gotta find a good jumping off-point for me. I'm just as discouraged from stuff I already know as stuff I can't make any sense of. |
20:53.57 | Chaotic_D | that Tyroney one is just about frames. |
20:54.41 | cladhaire | I'd rather you learn from one of my other addons, to be completely honest. |
20:54.43 | cladhaire | LH is a beast |
20:54.45 | cladhaire | and copyright |
20:55.10 | cog|work | Chaotic_D: unless you want to start by using a library (which I don't really recommend as a beginner) you need to know some basics about frames (at least for event handling) |
20:56.35 | Chaotic_D | I know some basics about frames. |
20:56.57 | Chaotic_D | "and you know how I feel about homeless people. they're people... and they have no homes." |
20:58.02 | Lej | local tempFrame = OneBagFrame; tempFrame:GetName() why doesn't that work when OneBagFrame:GetName() works? |
20:58.06 | Industrial | ckknight: i can read the future |
20:58.15 | ckknight | ? |
20:59.00 | cog|work | Lej: what happens if you don't use local, out of curiosity? |
20:59.21 | Industrial | < ckknight> Industrial: interesting proposal, I was actually going to incorporate in the next few days |
20:59.46 | Lej | hmm then it works |
20:59.53 | Industrial | anyway nn |
20:59.58 | ckknight | mostly cause it was my birthday yesterday |
21:00.07 | cog|work | Lej: it says "OneBagFrame"? |
21:00.11 | Mr_Rabies2 | hrmm |
21:00.15 | ckknight | and by incorporating now, I can build up my credit score immensely within a few years |
21:00.17 | cog|work | or "tempFrame"? |
21:00.20 | Mr_Rabies2 | fel strength or major agility for a feral druid |
21:00.21 | Mr_Rabies2 | hrmmm |
21:00.22 | Lej | a sec |
21:00.55 | Lej | OneBagFrame |
21:02.23 | Lej | if it's local it says: "attempt to index global 'pocketParent' (a nil value)" |
21:02.34 | Shirik | no |
21:02.51 | Shirik | well |
21:02.54 | Shirik | those two don't match up |
21:03.32 | Shirik | Lej: I'm convinced |
21:03.39 | Shirik | you're setting that local way too early |
21:03.43 | Shirik | before OneBagFrame exists |
21:04.06 | Chaotic_D | why in LightHeaded is there GetQuestInfo and IterateQuestInfo, with the only difference being the latter has local qinfo = data and data[1] and the former just has data[1] ? |
21:04.22 | *** join/#wowi-lounge Drool (n=drool@87-194-188-170.bethere.co.uk) |
21:05.09 | Chaotic_D | huh. it uses iterate once in GetPageText... |
21:05.09 | cog|work | [13:57]<cladhaire>I'd rather you learn from one of my other addons, to be completely honest. |
21:05.11 | cog|work | LH is a beast |
21:05.12 | cog|work | and copyright |
21:05.26 | Chaotic_D | well I'm just trying to find out which function to call. :> |
21:05.31 | Lej | seems unlikly as this runs in a hooked OneBagFrame.OrganizeFrame function |
21:05.44 | Shirik | show the code? |
21:05.59 | *** join/#wowi-lounge THECraZY (n=f@bas5-montreal02-1096553578.dsl.bell.ca) |
21:06.04 | Chaotic_D | huh... GetQuestInfo isn't called at all. :S |
21:06.07 | Lej | a sec |
21:06.25 | cog|work | Chaotic_D: most likely the "is a beast" part... |
21:06.37 | THECraZY | Doesnt anyone know if there is an issue with PlaySoundFile() and Combat lockdown? |
21:06.42 | THECraZY | Does* |
21:06.50 | cog|work | shouldn't be |
21:07.02 | Kaso | mm, that'd be a bug if it does exist |
21:07.08 | Kaso | What are you experiencing? |
21:07.27 | Lej | http://wowi.pastey.net/72634?lang=lua |
21:07.42 | Kaso | dear god, ive only been working in customer relations and its already getting to me |
21:07.42 | Lej | OneBagPockets\OneBagPockets.lua:273: attempt to index global 'pocketParent' (a nil value) |
21:07.47 | Kaso | I mean "What went wrong?" |
21:07.50 | Chaotic_D | bah. I like a challenge. |
21:08.21 | Chaotic_D | also, this looks a lot like the kind of line he told me not to do. :> for qid,sharable,level,reqlev,stype,sname,sid,etype,ename,eid,exp,rep,series in self:IterateQuestInfo(title, level) do |
21:08.25 | cog|work | Lej: your locals are in the wrong place |
21:08.26 | Shirik | Lej: That local is out of scope |
21:08.26 | Kaso | Lej, |
21:08.31 | cog|work | they only exist to the end of the if |
21:08.33 | Lej | haha |
21:08.33 | Kaso | holy crap |
21:08.40 | THECraZY | well, i have an arena addon that im making play a wav file when an opponent dies (i get the info by parsing the combat log) and visualy my addon updates to say the target is dead but sometimes the wav doesnt play at all or its delayed and plays when im out of combat |
21:08.43 | Kaso | scope spam :> |
21:08.48 | Lej | I see |
21:08.57 | Lej | So I decalre them before and set them inside? |
21:09.00 | Shirik | http://www.wowwiki.com/Lua_scoping |
21:09.02 | cog|work | yes |
21:09.03 | Kaso | theres a section of pil that deals with scope isnt there? |
21:09.12 | Shirik | uh |
21:09.13 | Shirik | http://www.wowwiki.com/Lua_Scope |
21:09.23 | Shirik | pil has nothing on my wowwiki article! |
21:09.27 | cog|work | Kaso: which is why i always tell people to read PiL even if they're kicking & screaming :P |
21:09.45 | Kaso | Pil is our bible! |
21:09.54 | cog|work | Yes, i know you want to start writing addons. But it's just not going to happen if you don't understand Lua :P |
21:10.02 | Kaso | actually that wiki page is pretty good Shirik congrats :> |
21:10.03 | cog|work | Kaso: there will be a new bible soon :P |
21:10.23 | Shirik | Kaso: <3 |
21:10.53 | Chaotic_D | I have a feeling I'm included in the RTFM. :> |
21:10.54 | Lej | yay now it crasheds with an entirely different error, success |
21:11.02 | cog|work | grats! |
21:11.04 | cog|work | :P |
21:11.06 | Kaso | THECraZY, "sometimes" ? any idea what causes those sometimes |
21:11.29 | cog|work | THECraZY: probably a sound channels issue |
21:11.36 | cog|work | the game can only play so many sounds at once |
21:11.37 | THECraZY | no clue thats what im trying to figure out, i make the unit frame turn red when the enemie is dead and it works everytime but the wav doesnt play all the time |
21:11.38 | Kaso | http://www.lua.org/pil/4.2.html is the PIL chapter if anyone is curious. |
21:11.55 | cog|work | maybe try using PlayMusic instead? |
21:11.56 | THECraZY | when i use PlaySoud() it allways work |
21:12.17 | THECraZY | then we would need music enabled for it to play right? |
21:12.23 | cog|work | true |
21:12.36 | THECraZY | and i hate playsound cause its only for predefined sounds i think |
21:13.09 | THECraZY | funny thing is sometimes 3 ppl die in the game and the wav is played 3 times in a row at the end of the match |
21:13.11 | THECraZY | really weird |
21:14.04 | cog|work | Kaso: worse is when www.whatever.com brings you to a different page from whatever.com |
21:14.18 | Bleeter | Kaydeethree, other WoW Winers: http://www.wowwiki.com/Linux/Wine#Direct3D_error_in_OpenGL_mode |
21:14.49 | THECraZY | this is my code http://wowi.pastey.net/72635 for the wav part http://wowi.pastey.net/72635 |
21:15.05 | THECraZY | oops posted url twice |
21:15.29 | Bleeter | something seems to have changed during the login phase, and is blocking/crashing WoW Winers in OpenGL mode, but it's a transient issue that appears easy to work around. Most odd. |
21:15.29 | THECraZY | anyways i dont think anything is wrong with it everything else happens fine and ALF_Sound is set to 1 when i check the variable |
21:16.31 | cog|work | THECraZY: i still bet it's a channels issue. Perhaps PlaySound pushes the oldest one out? |
21:16.51 | THECraZY | hum... anything that can be done about channel issues? |
21:16.56 | cog|work | I know when I'm playing and there's a lot of activity, I don't hear some of my own combat sounds that "should" be there |
21:17.08 | cog|work | no. it's all handled by the game engine |
21:17.10 | THECraZY | your right |
21:17.30 | THECraZY | damn so unless blizz puts priority on the playsoundfile function theres no way to fix it |
21:17.47 | cog|work | yep. post about it in my suggestions thread :) |
21:17.52 | cog|work | (unless you're EU) |
21:17.57 | THECraZY | US |
21:18.00 | THECraZY | weres your thread? |
21:18.09 | cog|work | http://forums.worldofwarcraft.com/thread.html?topicId=101150523&sid=1 |
21:18.11 | THECraZY | thx |
21:22.18 | Mr_Rabies2 | that thread is pretty depressing |
21:22.27 | Mr_Rabies2 | what with all the "denied" |
21:22.39 | cog|work | Mr_Rabies2: the Added is bigger than the pending though... |
21:22.47 | cog|work | and both are bigger than the denied |
21:23.02 | THECraZY | hey Cog do you think playing a .mp3 file instead of .wav would change anything? |
21:23.13 | cog|work | and many of the denied follow a known pattern (the main reason i put them there was for illustrative purposes) |
21:23.13 | THECraZY | well i guess not if its a channel problem |
21:23.23 | cog|work | THECraZY: shouldn't have any effect |
21:23.27 | Bleeter | cog|work: re that thread... "# Per-realm saved variables" Norgs asked for it about three months ago, was told No |
21:23.53 | cog|work | Bleeter: that's why it's in the "Declined" section... |
21:24.09 | Bleeter | gah, I'm blind! aargh, how am I gunna pass my Uni prac today! :( |
21:24.15 | Bleeter | cog|work: apologies |
21:24.22 | cog|work | :P |
21:24.38 | THECraZY | ah well i posted in your thread thx for the info guys |
21:27.11 | cog|work | sorry we couldn't give you anything more encouraging |
21:31.13 | Shirik | anyone know what port WoW runs on? |
21:31.21 | Shirik | I can't figure it out from netstat :/ |
21:32.29 | Bleeter | 3762.. off top of my head... lemme triple check tho |
21:32.42 | Kaso | 3724 i seem to remeber |
21:32.51 | Shirik | I have a 3724 in there |
21:32.52 | Shirik | thanks |
21:33.16 | Shirik | except apparently my wow server does not accept pings |
21:33.17 | Shirik | wtf |
21:33.18 | Bleeter | yeah, 3742 for game /me failes |
21:33.41 | Bleeter | yeah, cant ping the server, only the gateway in front of their network |
21:33.49 | Shirik | know the address to it? |
21:34.16 | herzogthc | Shirik: traceroute to it and then snag it :P |
21:34.36 | Shirik | someone's saying he and their guild has been seeing me jump all over the place over the past week |
21:34.41 | Shirik | trying to see if there's packet loss, etc. |
21:34.49 | Shirik | I haven't noticed anything |
21:35.07 | herzogthc | it probably has something to do with the shot up cable lol |
21:35.11 | Shirik | rofl |
21:35.16 | Shirik | But yeah anyway, tracert is no help |
21:35.29 | Shirik | it ends at 63.251.160.18 -- my server is 72.5.213.100 |
21:35.34 | herzogthc | well, tracert should at least tell if theres any packet loss leading UP to wow |
21:36.29 | *** join/#wowi-lounge Osagasu (n=Kronus@208.104.156.29) |
21:41.24 | *** join/#wowi-lounge Kyahx (n=Kyahx@74-46-188-117.dsl2.mond.mn.frontiernet.net) |
21:41.51 | *** join/#wowi-lounge Nargiddley (n=narg@203-97-236-74.cable.telstraclear.net) |
21:55.53 | cladhaire | Chaotic_D: *sigh* Are you just not going to listen to me at all? |
21:56.43 | *** join/#wowi-lounge Aurum[2] (i=Alex@66.158.227.29) |
21:58.01 | *** join/#wowi-lounge kadrahil (i=webfreak@fallingsnow.net) |
21:59.32 | *** part/#wowi-lounge Aurum[2] (i=Alex@66.158.227.29) |
22:02.49 | Chaotic_D | I'm not planning on taking parts of your code or editing it. |
22:03.56 | cladhaire | I understand, but i wish you would be forthcoming about what you're trying to do |
22:04.00 | cladhaire | so i can show/tell you what needs to be done |
22:04.11 | cladhaire | its more frustrating for both of us to meddle through it piecemeal, I suspect |
22:05.01 | Chaotic_D | well I have to wade through more because I'm jumping ahead instead of RTFM. |
22:05.12 | cladhaire | Well, that kind of annoys me |
22:05.27 | cladhaire | considering i'm sitting here having to answer your questions, rather than giving you the information you need. |
22:05.29 | cog|work | we'll have a book to throw at people soon |
22:05.56 | Chaotic_D | that would just mean I'm asking the wrong questions, perhaps. |
22:06.00 | Kaso | Best getting working on that matter teleportation over IP protocol. |
22:06.09 | zenzelezz | 15 tries on Karathress before he died |
22:06.13 | Tain | cladhaire, stop trying to reason with people. |
22:06.23 | cladhaire | Chaotic_D: This is very very very very simple. |
22:06.24 | cog|work | Chaotic_D: which is why he wants you to tell him your ultimate goal |
22:06.26 | cladhaire | tell me what you want to do |
22:06.31 | cladhaire | and i will tell you how to do it, and where to look |
22:06.38 | cladhaire | it doesn't get any easier, or involved than that. |
22:06.42 | Chaotic_D | anyways, right now I'm just trying to do that first statement that you said would actually work. |
22:07.04 | Chaotic_D | but the code I'm mucking about in isn't working. |
22:07.08 | cog|work | Chaotic_D: showing you how to do a statement is meaningless without knowing the ultimate goal |
22:07.23 | cog|work | there's every chance that the statement could be completely irrelevant |
22:07.58 | cladhaire | state this: "Cladhaire, I'd like to get a list of the npc locations, given a particular quest title and level" |
22:08.10 | cladhaire | i will then respond with magical code, which you can then figure out how it works, why it works, and how to tweak it to do what you need it to. |
22:08.12 | Chaotic_D | well I'm also doing it just to figure things out, because... I'm mucking about in someone ELSE'S addon that isn't mine. |
22:09.17 | Chaotic_D | which of course I wouldn't show in it's entirety except to the original author. |
22:10.01 | Chaotic_D | <PROTECTED> |
22:10.01 | Chaotic_D | 16:13:26 <cladhaire> no |
22:10.23 | cladhaire | do you have a qid? |
22:10.28 | cladhaire | are we at that point? |
22:11.14 | Chaotic_D | sort of. I have it, but it doesn't seem to be getting this far. |
22:11.41 | cladhaire | well everything in the database operates on titles and levels, so start there |
22:11.46 | cladhaire | pick a quest title, and the level of the quest |
22:12.07 | cladhaire | local sid,_,_,eid = LightHeaded:GetQuestInfo("Some Quest Name", 50) |
22:12.14 | cladhaire | see if you can get an sid and an eid using that |
22:12.15 | cladhaire | err |
22:12.20 | Chaotic_D | oh, that's true. |
22:12.20 | cladhaire | local sid,_,_,eid = select(7, LightHeaded:GetQuestInfo("Some Quest Name", 50)) |
22:13.15 | Chaotic_D | oooh, select is nifty. |
22:13.27 | Chaotic_D | sorry. newbness for not RTFM. |
22:16.18 | *** part/#wowi-lounge Punkie` (n=~@host86-138-93-24.range86-138.btcentralplus.com) |
22:17.14 | *** join/#wowi-lounge Kaso_ (n=Kaso@host86-137-33-188.range86-137.btcentralplus.com) |
22:17.26 | cladhaire | are you getting an sid, eid? |
22:17.40 | cladhaire | (conversations work better when you report back *grin*) |
22:19.21 | *** join/#wowi-lounge Kyah1 (n=Kyahx@74-46-188-117.dsl2.mond.mn.frontiernet.net) |
22:20.24 | *** join/#wowi-lounge ckknight (n=ckknight@udp195707uds.hawaiiantel.net) |
22:21.57 | Chaotic_D | guh. it's not even getting to that part of the program. |
22:22.47 | cog|work | so then what's the point in asking about it? :\ |
22:23.12 | Chaotic_D | because it was supposed to get to that part of the program. |
22:23.30 | cladhaire | well work on that, and let me know |
22:23.35 | cladhaire | but don't jump ahead damnit :P |
22:23.48 | cog|work | you don't really mean " :P " do you? :P |
22:25.50 | cladhaire | lol |
22:26.22 | *** join/#wowi-lounge Cairenn (n=Cairenn@MMOI/Administratrix/Cairenn) |
22:26.22 | *** mode/#wowi-lounge [+o Cairenn] by ChanServ |
22:27.13 | Thunder_Child | ~lart emoticons |
22:27.13 | purl | nukes emoticons with a single large nuke |
22:28.13 | Chaotic_D | alright. now we're getting somewhere! I can't call print from an unregistered... dongle. |
22:28.50 | cladhaire | don't call self:Print() from an unregistered dongle then :P |
22:28.59 | Chaotic_D | yeah I know. :) |
22:28.59 | cladhaire | use message() or ChatFrame1:AddMessage() |
22:37.10 | *** join/#wowi-lounge Nargiddley` (n=narg@203-97-236-74.cable.telstraclear.net) |
22:37.44 | Chaotic_D | thanks. |
22:38.02 | Chaotic_D | wooo! debugging! |
22:38.06 | cladhaire | hehe |
22:38.19 | art3mis | ahhh my laptop feels so muchnicer to use with 2g of ram |
22:38.27 | Chaotic_D | this is where I change something randomly and see if it fixes it. ;> |
22:43.37 | Lunessa | Interesting story: http://www.foxnews.com/story/0,2933,293920,00.html |
22:44.46 | cog|work | old news... |
22:45.09 | cog|work | there were similar stories when someone dismissed their pet with some debuff from ZG |
22:45.32 | cog|work | and then brought it out in orgrimmar |
22:47.01 | cog|work | oh heh |
22:47.12 | cog|work | it's the same event... and they're just now writing about it again |
22:47.16 | cog|work | stupid fox news |
22:47.29 | Thunder_Child | they are not rehasing it...read... |
22:47.32 | cog|work | (or as some people say: faux news) |
22:48.46 | Chaotic_D | huh... this is strange. it tells me I'm in the right loop, but after a couple statements, it doesn't print the next debug. |
22:48.48 | art3mis | they're talking about the scientists that monitored the spread of it to apply to real world epidemics without having to infect citys |
22:49.16 | Lunessa | Yes, cog, I recall, but that's a news story from today. It's just a story about how it made an interesting simulation. |
22:50.03 | Thunder_Child | 2 things come to mind upon reading that. 1. while players dont like to die, there is a differance between your char dieing and you dieing. 2. i wonder how the scientists got the kind of data they needed for their studys...doesnt seem like the kinda thing blizz would be recording |
22:50.42 | Lunessa | MMO as life-simulator for disaster events. |
22:51.57 | Chaotic_D | ok. it doesn't mind the statements before. but it doesn't print this: ChatFrame1:AddMessage("debug:"..title..level) |
22:53.29 | Kaydeethree | woo for being lazy and finally buying ff12... eb had a collector's edition for $30, new |
22:54.34 | Cidan | it's a good game |
22:54.37 | Cidan | some people knock it |
22:54.39 | Kyahx | I hated it |
22:54.40 | Cidan | but I liked it a lot |
22:55.19 | Kaydeethree | only wish the metal case wasn't scratched up a little, but ah well |
22:55.25 | Kyahx | I thought the gameplay was really good, I liked the battle system a lot |
22:55.29 | Chaotic_D | Ok, cladhaire. I don't know how to debug or figure this out any more. this doesn't work. ChatFrame1:AddMessage("debug:"..title..level) coming out of local title,level = LightHeaded:QIDToTitleLevel(qid) |
22:55.32 | Kyahx | but the story just was...slow |
22:55.42 | cladhaire | why are you using qids now? |
22:55.44 | Cidan | I agree, the story was slow |
22:55.47 | cladhaire | and what error are you getting |
22:56.12 | cladhaire | "this doesn't work" isn't very helpful when helping you :P |
22:56.30 | Cidan | Then again, I loved FF8's story |
22:56.31 | Chaotic_D | I mean it doesn't print that. I don't even get "debug". |
22:57.01 | cladhaire | do you have Lua errors enabled? |
22:57.03 | cladhaire | if so, then you're not getting to that point, so I can't help you. |
22:57.05 | cladhaire | If not, you should enable them |
22:58.40 | *** join/#wowi-lounge Wobin (n=wobin@124-170-225-248.dyn.iinet.net.au) |
22:59.21 | Bleeter | talk like a pirate day suggestion thread -> /sign as you see fit! http://forums.worldofwarcraft.com/thread.html?topicId=1230504230&sid=1 |
22:59.48 | Chaotic_D | apparantly Lua errors are enabled. there's no error. |
23:00.12 | cladhaire | Chaotic_D: then i can't help you until you figure out why its not getting to your line of code. |
23:00.14 | cladhaire | i'm not magical =/ |
23:00.19 | cladhaire | well that magical anyway! |
23:03.13 | cog|work | O.o |
23:03.25 | cog|work | why does searching for "vista" on the UI & Macros forum turn up 0 results? |
23:03.50 | Bleeter | http://forums.worldofwarcraft.com/search.html?forumId=11114&stationId=1&sid=1&searchText=vista&x=0&y=0 |
23:03.53 | Bleeter | wfm |
23:04.09 | Kaydeethree | forum search has /always/ been hit-or-miss? |
23:04.12 | cog|work | Bleeter: i clicked on that link and it says "there are no matching results!" |
23:05.24 | Chaotic_D | I tried printing them out individually, first one, then the other. neither print. I can't imagine what's wrong with those variables. |
23:05.31 | Bleeter | cog|work: *guess* logged in on an account that's been blocked from the forums? :P |
23:05.34 | cog|work | Odd... works for me in IE :\ |
23:05.44 | cog|work | Bleeter: been posting all day |
23:05.53 | Bleeter | cog|work: heh, aye, didn't think that'd be it ;) |
23:06.10 | AnduinLothar | works in camino |
23:06.54 | Chaotic_D | I don't know why there's no Lua error if it just craps out and stops right there. aren't the Lua errors supposed to be in the chat window? or... a popup? |
23:06.57 | cog|work | still no go :\ |
23:07.41 | cog|work | cleared cookies and it works :\ |
23:07.51 | cog|work | gg blizz web devs |
23:08.53 | cladhaire | Chaotic_D: yes... it isn't stopping right there.. unles you can see it print a line right before it |
23:09.00 | Chaotic_D | AHAH! finally got an error! |
23:09.03 | cladhaire | again no one can give you anything without looking at the block of code, which you haven't posted. |
23:09.34 | Lunessa | I need more caffeine. |
23:10.09 | *** join/#wowi-lounge GofG (n=Gofg@cpe-069-134-155-140.nc.res.rr.com) |
23:10.27 | Chaotic_D | value is nil. can't concatenate. |
23:10.45 | clad|afk | because you're using the QID conversion function without telling me why |
23:10.49 | clad|afk | and not showing me how you're calling it |
23:11.03 | clad|afk | i.e. you skipped completely away from where we were, and are now working on something else entirely |
23:11.09 | clad|afk | we left with you getting the sid and eid from the quest title, and level |
23:11.15 | clad|afk | what happened to that, and why |
23:12.27 | Chaotic_D | what happened? I was still going by the original plan of using qid. |
23:12.39 | clad|afk | no, the last time we talked you were using title and level |
23:12.42 | clad|afk | and that's the code i gave you |
23:12.49 | clad|afk | and told you to do that, and print them out to see if you got values. |
23:12.56 | clad|afk | i can post the backlog if you want. |
23:13.06 | clad|afk | why do you need to use qid? |
23:13.56 | Chaotic_D | well, whatever is easiest to script for the walkthroughs... |
23:13.59 | clad|afk | and the reason your function is failing, is because QIDToTitleLevel doesn't load that conversion table. |
23:14.47 | clad|afk | because up until now, its been an internal api |
23:15.26 | clad|afk | if you need to call that function, you need to first call LightHeaded:LoadQIDData(qid) |
23:15.43 | clad|afk | that is a large database, so its only loaded when the user specifically CLICKS on a qid href |
23:24.25 | cog|work | err... http://forums.worldofwarcraft.com/thread.html?topicId=1230504111#5 |
23:24.36 | Chaotic_D | ... are the combination of quest titles and quest levels completely unique? because Tekkub had given up on trying to find a way to distinguish chained quests with identical titles, since the description texts sometimes have parts that change based on class/gender/race/faction/etc. |
23:24.36 | cog|work | (Silken) |
23:25.41 | Lunessa | Wow - Silken is full of bitter hate - I bet it would distill to fine whiskey. |
23:27.10 | clad|afk | Chaotic_D: No, as we went through three days ago, they are not unique. |
23:27.39 | clad|afk | s/three/two/ |
23:27.40 | clad|afk | i think |
23:27.58 | Chaotic_D | oh right. I thought maybe it was Tekkub I talked to about it. :S |
23:28.05 | Lunessa | OMG cog|work You helped someone named WTB Implants. |
23:28.06 | clad|afk | no |
23:28.10 | Cidan | Silken is just looking for a "flaw" to point out in someone who is much smarter and capable than him |
23:28.13 | *** join/#wowi-lounge dockler (n=sox@c-68-36-190-162.hsd1.nj.comcast.net) |
23:28.36 | Cidan | Idiots do that all the time. |
23:28.38 | dockler | Hi Iinstalled ClearFont2 and ClearFont2_FontPack and want to know where I install additional fonts |
23:28.39 | cog|work | Lunessa: i never (rarely) pay attention to character names when posting :P |
23:28.41 | Chaotic_D | I don't get how you get the quest from your database with the title and level then... |
23:28.57 | cog|work | though I've been known to give people grief for illegal characters ;) |
23:29.00 | cog|work | anyway... time for home |
23:29.15 | Cidan | dockler, er... I dunno? |
23:29.18 | Chaotic_D | must be a similar thing to Tekkub, in that it keeps track of chained quests. |
23:29.18 | Lunessa | I know, I know... but still it gave me a chuckle. |
23:29.20 | clad|afk | Chaotic_D: Because, my database doesn't distinguish between title and level. |
23:29.23 | clad|afk | no |
23:29.29 | clad|afk | if three quests have the same title and level |
23:29.34 | clad|afk | then i display all comments for all three, in the same spot. |
23:29.47 | Chaotic_D | huh. ok. |
23:29.50 | clad|afk | again, had you been up front about what you were trying to do, rather than beating around the bush, I could have told you that. |
23:29.53 | clad|afk | so use title, level |
23:29.54 | clad|afk | <PROTECTED> |
23:29.57 | Cidan | try asking in #wowace |
23:30.03 | Cidan | for FontPack2 stuff |
23:30.30 | Cidan | er, ClearFont, whatever |
23:30.32 | Cidan | bah, need food. |
23:30.36 | dockler | i did ask in there |
23:30.39 | dockler | i was told to ask in here |
23:30.46 | Cidan | lol |
23:30.47 | Cidan | wtf? |
23:31.23 | Cidan | ah well, anyways, you need to elaborate a bit. |
23:32.22 | dockler | where do i put fonts that I download, so like if I want to use one of them in-game |
23:32.46 | clad|afk | i would suggest reading the readme in clearfont |
23:32.49 | clad|afk | or on clearfont.co.uk |
23:32.50 | Cidan | not sure you can just do that |
23:33.08 | Chaotic_D | hrm... one of these identical quests doesn't have identical starting and ending NPCs. not sure how to handle that... maybe manually readjust it in the script. |
23:33.36 | Cidan | In fact, looking at the code for the font pack, you can't just drop font files in |
23:33.46 | Cidan | You can however, drop them in and add them in the code. |
23:33.52 | Chaotic_D | I dunno. maybe it worked better before. :S |
23:33.53 | *** join/#wowi-lounge TC-Holding (i=Thunder_@cpe-76-171-184-46.socal.res.rr.com) |
23:34.30 | TC-Holding | stupid BSoD |
23:34.35 | Cidan | Just look in ClearFont2_FontPack\core.lua, it's pretty straight forward. |
23:34.39 | *** join/#wowi-lounge Neebler (n=BuM@adsl-75-0-199-45.dsl.chi2ca.sbcglobal.net) |
23:36.14 | *** join/#wowi-lounge weab (n=asdf@cpe-70-112-136-88.austin.res.rr.com) |
23:37.59 | Cidan | I really do wish WoW had a self-contained file scanner of some sort, so we can at least get a list of files from something in our own mod directory. |
23:38.33 | Thunder_Child | there is a self-contained file scanner.....your eyes |
23:39.09 | clad|afk | afk |
23:39.25 | Cidan | bleh |
23:39.34 | Cidan | I mean so we can scan and load lua files |
23:39.45 | Cidan | So people can drop their own mods into the folder |
23:40.11 | Cidan | or something like font scanning and loading so you don't have to actually edit lua files |
23:40.15 | Cidan | it'd just be nice |
23:43.45 | Corrodias | our GL has decided we're poking our heads into SSC tonight since we finished kara in 2 days |
23:44.02 | Corrodias | it's simple, cidan |
23:44.12 | Cidan | eh? |
23:44.23 | Corrodias | make a .toc file that loads every possible alphanumeric combination of letters for filenames up to, say, 20 letters |
23:44.30 | Cidan | rofl? |
23:44.38 | Corrodias | sure, the .toc will be a few megabytes, but thus is the price of progress! |
23:46.15 | clad|afk | lua> gen_next("abcdefghijklmnopqrstuvwxyz", "blahblah") |
23:46.15 | cladbot | clad|afk: blahblai, |
23:53.21 | *** part/#wowi-lounge Wobwork (n=Wobin@ppp244-111.static.internode.on.net) |
23:54.55 | *** join/#wowi-lounge DT__ (i=user@lal-98-182.ResHall.Berkeley.EDU) |
23:54.56 | *** join/#wowi-lounge GomiNoSensei (n=tonyd@d207-216-212-145.bchsia.telus.net) |
23:55.19 | *** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@64.193.93.197) |
23:56.00 | DT__ | Hey all, anyone have time to help with a quick problem? |
23:57.01 | clad|afk | ~asktoask |
23:57.01 | purl | This is IRC. Don't ask to ask a question. Just ask your question and if someone's around, they'll be glad to help. |
23:57.25 | DT__ | Hehe sorry ;) I can't seem to get the UNIT_SPELLMISS event to fire |
23:57.35 | DT__ | I get resists/dodges/etc but the event is never called for my frame |
23:58.24 | DT__ | I'm sure I'm making some silly little mistake but even /script f = CreateFrame("Frame", nil, UIParent) f:RegisterEvent("UNIT_SPELLMISS") f:SetScript("OnEvent", function(self, event, ...) ChatFrame1:AddMessage("Test") end) won't work for me |