| 00:03.06 | Industrial | why is my own addon not in the list :@:@ |
| 00:04.13 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 00:05.08 | Natasem | what are all teh comands for purl? |
| 00:05.14 | Natasem | ~purl |
| 00:05.15 | purl | purl is probably the same blootbot as apt, ibot, and jbot, or at http://blootbot.sourceforge.net/ |
| 00:05.15 | Industrial | do ~help |
| 00:05.25 | Natasem | ~help |
| 00:05.29 | Natasem | thanks |
| 00:05.39 | Natasem | booooo |
| 00:05.54 | Natasem | ~purl help |
| 00:06.55 | Industrial | ~help |
| 00:07.09 | Industrial | *shrug* |
| 00:07.17 | Industrial | works for me |
| 00:07.37 | Natasem | whats the one that starts with an e ~e |
| 00:08.15 | Iriel | emulate? |
| 00:08.37 | Natasem | ~emulate Natasem |
| 00:08.50 | Natasem | boooo |
| 00:08.51 | Industrial | ~emulate Industrial |
| 00:08.53 | purl | I'm project-less for like 2 years now :| I'm like. not making monies at all lately if you know what i mean :| |
| 00:08.57 | Stylpe | ~emulate me |
| 00:08.58 | purl | ACTION asks people to act like her. Talk about crazy |
| 00:08.59 | Industrial | Natasem: it doesnt just have something for you |
| 00:09.17 | Stylpe | ~emulate stylpe |
| 00:09.20 | purl | Y'know, sometimes I wish I could just pause RL for a day or two, just so I could do what I want, without anything or anyone interfering. |
| 00:09.20 | Industrial | lol that purl response... |
| 00:09.30 | Industrial | "project" |
| 00:09.38 | Industrial | i meant "girl" there |
| 00:09.40 | Industrial | :P |
| 00:09.44 | AnduinLothar | hmm, I'm actually discovering that because I've been studying linguistics and syntax in school I can actually legitamitely lengthen the length of my sentances by a significant amount which, when combined with my proclivity towards often ostentatiously immoderate vocabulary usage, impetrates a exorbitant supply of patience to absorb by most readers... |
| 00:10.03 | Industrial | AnduinLothar: correct |
| 00:10.38 | AnduinLothar | although 'lengthen the length' should be shortenned to just 'lengthen' |
| 00:10.47 | *** join/#wowi-lounge Malivil (n=Alaerand@209-6-253-11.c3-0.frm-ubr2.sbo-frm.ma.cable.rcn.com) |
| 00:11.22 | AnduinLothar | lengthen the length of' == 'lengthen' when using syntactic compression |
| 00:11.36 | Tain | Here I'd just settle for people saying, "you" instead of, "u" |
| 00:11.51 | Iriel | or increase the length |
| 00:11.56 | AnduinLothar | SpellChecker2 handles that for me in wow |
| 00:12.15 | Malivil | It fixes other perople's chat? |
| 00:12.21 | Malivil | *people's |
| 00:12.25 | Natasem | theres a mod called spellchecker? that checks my spelling? if so /y there is a god |
| 00:12.29 | AnduinLothar | or increase the length == lengthen, correct |
| 00:12.36 | Malivil | Does it fix your own? |
| 00:12.42 | AnduinLothar | both |
| 00:12.48 | Malivil | sweet |
| 00:12.51 | AnduinLothar | but if is jusy a find/replace |
| 00:12.52 | Malivil | *downloads* |
| 00:12.53 | Industrial | theres a mod called spellchecker? |
| 00:13.00 | Industrial | how absolutely obsolete |
| 00:13.01 | AnduinLothar | doesn't have any similarity engine |
| 00:13.04 | Industrial | waste of ram |
| 00:13.06 | Industrial | my god.. |
| 00:13.15 | Kiliek | Typically written communication is best when terse. |
| 00:13.18 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 00:13.40 | Industrial | communication is best when understood |
| 00:13.51 | Kiliek | ... |
| 00:13.54 | Malivil | actually no, i wont get it |
| 00:14.01 | Natasem | trust me when i am gettin beat on by 3 mobs in UBRS and i need help my spelling is horrid (mainly cuz i am a priest and trying to keep the tanks up) it usually looks like this |
| 00:14.08 | Kiliek | Pictures are best when seen ! |
| 00:14.10 | Natasem | o sguyrt get t7off me |
| 00:14.18 | kremonte | lol Natasem |
| 00:14.23 | Industrial | get voice |
| 00:14.28 | Industrial | typing in game < voice |
| 00:14.39 | futrtrubl | just because I understand the l33t speakers doesn't mean I will listen or respond or even believe |
| 00:14.43 | kremonte | vent FTW |
| 00:14.48 | AnduinLothar | tersness is often best, except when causing confusion |
| 00:14.49 | Industrial | "hey wanna group? sure whats you <insert voice app> server ip/pass?" |
| 00:14.58 | Tain | Not me, mine's more like, "Pardon me good comrades, I do seem to have a slight situation of being overpowered by multiple of these brutes. Would one of you do me the honor of lending me some assistance?" |
| 00:15.11 | Natasem | i always seem to break my mic's they work for like 3 days then i get drunk and try to do a MC raid and somehow at the end of the run my mic doesn't work |
| 00:15.13 | Industrial | Tain: lmao |
| 00:15.41 | Industrial | Tain: and then They're like 'Have at thee, fiend!' while /assisting you |
| 00:15.54 | futrtrubl | is that a "lengthened" version of "Help, I'm being ganked"? |
| 00:16.00 | AnduinLothar | there's an rp addon for that |
| 00:16.07 | Industrial | futrtrubl: i'd just say |
| 00:16.09 | Industrial | ADD |
| 00:16.10 | Industrial | ... |
| 00:16.11 | AnduinLothar | i'm not kiddin |
| 00:16.26 | Tain | It's not really realistic though, since I'm the one who usually has to save them. |
| 00:16.37 | Industrial | riiight back to my addon |
| 00:16.38 | Industrial | :p |
| 00:16.49 | futrtrubl | l;'] |
| 00:17.00 | Tain | I am mighty! |
| 00:17.11 | AnduinLothar | right, the addon in question allows you to set a macro to a random list of responses that mean the same thing |
| 00:17.14 | futrtrubl | cool, my smiley has hair |
| 00:17.29 | Industrial | ~:) |
| 00:17.31 | purl | extra, extra, read all about it, :) is honeypea |
| 00:17.31 | futrtrubl | or a horn |
| 00:17.51 | Natasem | so i just made a macro thati mash when the poop hits the fan |
| 00:17.53 | Natasem | /y *** GET THEM THE FORK OFF ME OR WE ARE GONA WIPE*** |
| 00:17.55 | Natasem | /raid told ya |
| 00:17.56 | Natasem | /me uses SS |
| 00:19.27 | Industrial | when does poop hit fans? |
| 00:19.45 | AnduinLothar | <PROTECTED> |
| 00:19.49 | AnduinLothar | end |
| 00:20.07 | Industrial | how about knowing whos a pally and casting the right spell? |
| 00:20.39 | Industrial | "oh, gotta have a macro for making macro's" |
| 00:20.40 | *** join/#wowi-lounge red64fx (n=broken_a@69.182.210.5) |
| 00:20.42 | Industrial | >_> |
| 00:20.43 | red64fx | hey all |
| 00:20.46 | Industrial | lo red64fx |
| 00:20.46 | AnduinLothar | i actually made a shield-hearth macro once.. |
| 00:20.51 | Industrial | sigh |
| 00:21.00 | Natasem | when some lv 56 runs into UBRS thinking he won't draw agro then goes in and touches al teh dam eggs and yells /y LEEEEERRRROOOOYYYYY JJJJEEEENNNKKKKIIINNNSSSS |
| 00:21.01 | red64fx | ive got a question about installing mods |
| 00:21.11 | Natasem | red the answer is no |
| 00:21.13 | kremonte | how, AnduinLothar? doesnt shield trigger global cooldown? |
| 00:21.14 | red64fx | lol |
| 00:21.18 | red64fx | no seriously |
| 00:21.21 | AnduinLothar | no |
| 00:21.24 | red64fx | hahaha |
| 00:21.25 | kremonte | the answer is always no |
| 00:21.30 | red64fx | good point |
| 00:21.38 | Natasem | there is no spoon |
| 00:21.42 | red64fx | indeed |
| 00:21.43 | kremonte | you should have used #capitalone |
| 00:21.46 | AnduinLothar | fork you |
| 00:21.52 | Natasem | ok |
| 00:21.57 | Industrial | anyone have experience with WOW UI Designer? please pm me? |
| 00:22.06 | Industrial | having wee bit troubles figuring it out |
| 00:22.07 | AnduinLothar | ew pm... |
| 00:22.08 | Industrial | :| |
| 00:22.11 | Tain | I downloaded it. |
| 00:22.21 | Tain | I can help up to that point. |
| 00:22.25 | AnduinLothar | knowledge is for everyone, share the spam |
| 00:22.29 | Industrial | very well |
| 00:22.34 | Industrial | theres this tutorial thingy |
| 00:22.36 | Industrial | and i am doing it |
| 00:22.44 | Industrial | i made this tutorial addon |
| 00:22.47 | Natasem | oooo u said DON'T PM u |
| 00:22.50 | Industrial | following the steps described |
| 00:22.56 | red64fx | so anyway. ive recently reinstalled wow on my comp and i want to install my mods. i created an interface folder and an addons folder in the interface folder. now my problem is that one the mods are installed and two there is no addons button at my character screen. any suggestions? |
| 00:23.03 | Natasem | wait i am confuzeled |
| 00:23.08 | AnduinLothar | lol |
| 00:23.17 | AnduinLothar | ya, read the ui forum... |
| 00:23.19 | Natasem | bah comin off my coffee high and crashng hard |
| 00:23.25 | Industrial | but it looks different |
| 00:23.26 | red64fx | is my answer in there? |
| 00:23.30 | Iriel | red64fx: Do you you have TWO installs of WoW now, and di dyou just put all your addons in the wrong one? |
| 00:23.31 | Industrial | then the example screenshots |
| 00:23.32 | Iriel | red64fx |
| 00:23.33 | AnduinLothar | most definitely |
| 00:23.39 | red64fx | no only one |
| 00:23.44 | Industrial | right see |
| 00:23.46 | Iriel | red64fx : Also, note that the addon button is slightly broken, and only works when you FIRST log in |
| 00:23.49 | Industrial | thats why i asked for a pm |
| 00:23.54 | Industrial | :| |
| 00:23.55 | AnduinLothar | :P ind |
| 00:24.12 | red64fx | so how would i know whether my mods have installed? |
| 00:24.29 | AnduinLothar | learn to co-habitate and multitask multiple conversations at once |
| 00:24.31 | Tain | You can get it back at the char screen by hitting server select, and going back to yours. |
| 00:24.32 | Iriel | It's there when you first log in, before you enter the world.. |
| 00:24.36 | Tain | A tleast that works for me. |
| 00:24.47 | red64fx | ok let me give it a shot |
| 00:25.20 | Industrial | so |
| 00:25.25 | Iriel | red64fx : Otherwise, go to www.wowinterface.com and read the FAQ's, they have a troubleshooting section |
| 00:25.30 | Industrial | no one has experience with it? |
| 00:25.54 | red64fx | ok no dice ill look at that site |
| 00:25.54 | Natasem | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=265713 |
| 00:26.07 | Industrial | Iriel: no? =( |
| 00:26.09 | Natasem | red |
| 00:26.13 | Natasem | red go here http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=265713 |
| 00:26.30 | Natasem | or go there |
| 00:26.31 | Natasem | eh |
| 00:28.16 | red64fx | interesting |
| 00:28.18 | Industrial | great, i love being ignored |
| 00:28.30 | red64fx | everything is installed right |
| 00:28.35 | red64fx | folders are in the right spot |
| 00:28.41 | red64fx | but no mods and no addon button |
| 00:28.45 | red64fx | interesting |
| 00:29.11 | red64fx | any ideas? |
| 00:29.34 | Natasem | did u read my link? |
| 00:29.36 | red64fx | yeah |
| 00:29.37 | Iriel | Industrial : No, I haven't played with it. |
| 00:29.39 | Industrial | look at me im an emo goth kid, give me attention |
| 00:29.42 | Industrial | :| |
| 00:29.45 | Industrial | Iriel: ok |
| 00:29.48 | Natasem | <PROTECTED> |
| 00:29.48 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 00:29.56 | Industrial | Natasem: WHOA THERE! |
| 00:29.58 | red64fx | * gives industrial attention |
| 00:30.01 | Industrial | :P |
| 00:30.04 | red64fx | lol |
| 00:30.09 | Natasem | eh told ya i can't spell |
| 00:30.13 | End | o_I |
| 00:30.15 | End | er |
| 00:30.16 | End | o_O |
| 00:30.19 | Industrial | hah |
| 00:30.19 | Industrial | :D |
| 00:30.23 | Industrial | im keeping that one |
| 00:30.31 | Industrial | <Natasem> /cumfort Industrial |
| 00:30.33 | Industrial | :p |
| 00:30.42 | Natasem | that should be my purl |
| 00:30.43 | red64fx | any ideas? |
| 00:31.35 | Industrial | World of Warcraft/Interface/AddOns/<addon folder>/ |
| 00:31.36 | Industrial | ? |
| 00:31.59 | Industrial | hehe i have lots of irc quotes |
| 00:32.13 | Industrial | some are not for this audience |
| 00:32.13 | Industrial | :> |
| 00:32.18 | red64fx | yeah the folders are correct |
| 00:32.18 | Natasem | lol |
| 00:32.58 | Industrial | red64fx: screenshot me |
| 00:32.59 | Industrial | :) |
| 00:33.11 | red64fx | once sec |
| 00:33.17 | red64fx | wait how would i do that |
| 00:33.47 | Industrial | print screen button |
| 00:33.57 | Industrial | ms paint |
| 00:34.01 | Industrial | ctrl+p |
| 00:34.02 | red64fx | how would i sent it to u |
| 00:34.04 | Industrial | err |
| 00:34.07 | Industrial | ctrl+v |
| 00:34.11 | Industrial | save it as jpg |
| 00:34.16 | Industrial | open the browser |
| 00:34.22 | Industrial | http://imageshack.us |
| 00:34.28 | Industrial | copy the link |
| 00:34.30 | Industrial | paste it here |
| 00:34.36 | Industrial | spam: |
| 00:34.38 | Industrial | <azul> holy crap my page looks different now |
| 00:34.38 | Industrial | <Forr> yah, its called "admin access |
| 00:34.38 | Industrial | <azul> no no |
| 00:34.38 | Industrial | <azul> theres a bit of salami on it |
| 00:34.39 | Industrial | <azul> but yeah the admin access is there |
| 00:34.50 | Industrial | :P |
| 00:34.54 | red64fx | lol |
| 00:35.23 | Natasem | bah /kick Industrial |
| 00:35.58 | red64fx | lol |
| 00:36.08 | Industrial | ;x |
| 00:37.11 | Industrial | http://synapse.redphive.org/wow/fixedtier2.jpg |
| 00:37.13 | Industrial | poonage |
| 00:37.29 | kremonte | those "vending machine" jokes are not funny anymore |
| 00:37.41 | kremonte | they really werent ever funny |
| 00:38.07 | kremonte | 1 mage isnt gonna be making 8 stacks of water for everyone in a 40 man raid |
| 00:38.33 | AnduinLothar | esp not crystal water |
| 00:38.39 | Natasem | sweet perminant mage water |
| 00:38.47 | red64fx | lol |
| 00:38.49 | red64fx | funny pic |
| 00:39.40 | Guillotine_ | haha industrial. that is freaking hilarious |
| 00:40.19 | AnduinLothar | even if only half are casters, u usually only give 1-5 people 20-40 crystal waters. and since it's nearly impossible to do high level instances without mages (unless u have 40 pallies), u usally split the load |
| 00:40.34 | kremonte | exactly >>; |
| 00:41.03 | kremonte | it's a contagious disease, ive seen level 30 mages crying that they get so many resists |
| 00:44.43 | Cair | ahhhh, Friday night ... time for a drink me thinks |
| 00:44.58 | kergoth | excellent idea |
| 00:45.10 | *** join/#wowi-lounge Parak (n=profi@user-12hdr8d.cable.mindspring.com) |
| 00:45.35 | AnduinLothar | or pick up another hobby |
| 00:45.49 | Tain | I have another hobby. |
| 00:45.50 | Industrial | kergoth: any experience with wow ui designer? |
| 00:45.50 | Tain | Drinking. |
| 00:45.55 | Industrial | or Tain |
| 00:45.55 | Industrial | :p |
| 00:45.58 | kergoth | fraidnot |
| 00:46.01 | Tain | I downloaded it. |
| 00:46.04 | Tain | I can help you up to that point. |
| 00:46.12 | Industrial | kay |
| 00:46.15 | Cair | thank you Natasem, but pass |
| 00:46.26 | Natasem | cool more for me |
| 00:46.37 | Natasem | and to think i warmed it up fo you and everything too |
| 00:46.41 | Cair | Now, if you'd care to stand a lass to a Scotch, that I'd take ye up on an' gladly |
| 00:47.07 | Natasem | bah Irish Guinness is much stronger than crotch |
| 00:47.10 | Natasem | scotch * |
| 00:47.12 | Natasem | sorry |
| 00:47.25 | AnduinLothar | preferably the kind that enertains you enough to keep you from sleep for long periods rather that one that encourages more sleep the more you partake. |
| 00:47.31 | Cair | I don't like Beer, even Guinness, sorry |
| 00:48.26 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 00:48.31 | Natasem | ahhh Lothar is talking about Vodca(sp) and redbull |
| 00:48.48 | Tain | As if fortold by the prophets, my roommate just called to say he's bringing home rum and Wendys. |
| 00:49.08 | kergoth | hmmm |
| 00:49.12 | kergoth | tempted to order a pizza |
| 00:49.12 | Natasem | who's wendy? |
| 00:49.21 | Cair | Ah, so we're all drinking this evening, are we? Should be a pleasant evening in the channel then .. |
| 00:49.38 | AnduinLothar | i wont, have work |
| 00:49.43 | Tain | She's this redhead who has nice buns |
| 00:50.19 | AnduinLothar | her name is plural? |
| 00:50.49 | Tain | Well there are lots of them. |
| 00:51.28 | Natasem | eh ok i have to clean up my Clean Room (ironic ain't it) so i'll be AFK |
| 00:52.47 | Cair | mmmmmmmmmmmmmmmmm *licks her lips* |
| 00:54.18 | Tain | Tasty scotch? |
| 00:54.27 | Cair | Mudslide |
| 00:54.37 | Tain | Ahh just going to slide right into the evening then. |
| 00:55.37 | AnduinLothar | mmm, a kitty that fetches mixed drinks.. |
| 00:55.56 | AnduinLothar | sounds liek a circus act |
| 00:56.13 | Tain | Center ring attraction |
| 00:56.39 | AnduinLothar | or reality television for those of you a bit younger |
| 01:01.05 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 01:04.59 | shouryuu | ma chair est blanche, ma chair est belle, ma chair rougit a la lame |
| 01:05.02 | shouryuu | rawr |
| 01:06.18 | *** join/#wowi-lounge Stylpe (n=Stylpe@15.84-48-162.nextgentel.com) |
| 01:06.49 | AnduinLothar | ok guy i need some help |
| 01:06.52 | AnduinLothar | guys* |
| 01:07.05 | Cair | 'sup? |
| 01:07.25 | AnduinLothar | i need a way to pass two unknown numbers or arguments to a function, preferably with creating a table |
| 01:07.34 | AnduinLothar | without* |
| 01:07.51 | Iriel | well, you have two choices... |
| 01:07.56 | Iriel | One is give up and use a table |
| 01:08.05 | Iriel | And the other is to make the caller create the table 8-) |
| 01:08.08 | Tain | Yay tables! |
| 01:08.19 | AnduinLothar | what if I pass the arguments alternately |
| 01:08.41 | AnduinLothar | arg1a, arg1b, arg2a, arg2b, arg3a, arg3b... |
| 01:09.01 | Iriel | well, if there are unknown numbers of them, that has to end somewhere |
| 01:09.02 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 01:09.12 | Iriel | though that's a reasonable interleaving scheme |
| 01:09.35 | AnduinLothar | right, well for the purpose of ... it has been safe to assume 20 is the max # of arguments |
| 01:09.52 | Iriel | within that world, I think interleaving is the best approach |
| 01:10.15 | AnduinLothar | and for wow ui functions i dont think any are over 11 arguments.. |
| 01:11.10 | AnduinLothar | ok and what's the best way of processing those if need be back into tables? |
| 01:11.18 | AnduinLothar | a while loop? |
| 01:11.47 | AnduinLothar | nah, cant getglobal on them |
| 01:11.52 | AnduinLothar | is there a getlocal? |
| 01:12.15 | AnduinLothar | there should be.. |
| 01:13.15 | Iriel | no, there isn't |
| 01:13.17 | Iriel | there couldn't really be |
| 01:13.29 | Natasem | Just a little heads up ya'll I do believe the Test Server will soon have Patch 1.9 ready. Why do I say this you might ask... well normally they will wipe all the threads just before they reopen the Server And all the threads were wiped today (in the last few hours) see for your self http://forums.worldofwarcraft.com/board.aspx?fn=wow-realm-test |
| 01:13.30 | Iriel | they've been turned into register entries by the time your code runs, their names have no runtime meaning |
| 01:13.45 | pfault | hmm |
| 01:13.45 | pfault | 106g |
| 01:13.51 | pfault | long way off from an epic mount |
| 01:14.05 | AnduinLothar | hmm |
| 01:14.15 | AnduinLothar | then how does getglobal work? |
| 01:14.29 | Industrial | any vim heroes in here? |
| 01:14.34 | Industrial | vim.org |
| 01:14.36 | Industrial | ? |
| 01:14.38 | Iriel | it reads from the global environment, which is NOT register bound |
| 01:14.43 | Iriel | it's only locals that are your problem |
| 01:14.47 | AnduinLothar | hmm |
| 01:14.52 | pfault | I like to say I kick ass in vim |
| 01:14.54 | Iriel | a 1.9 test server would be nice |
| 01:14.56 | pfault | but I don't |
| 01:15.00 | Industrial | pfault: but do you |
| 01:15.02 | Industrial | heh k |
| 01:15.16 | AnduinLothar | ok, so i have to forloop through 40 args then |
| 01:15.35 | Iriel | well, you can't programatically iterate over them, because they're not a table |
| 01:15.36 | Industrial | pfault: how do i do something for only one filetype? e.g. set tabstop=2 for lua and 3 for asp jscript (work) and default 4 |
| 01:15.37 | Industrial | :P |
| 01:15.44 | Codayus | Industrial: I can help you with vim. I can tell you to switch to emacs. There, wasn't that helpful? :-D |
| 01:15.53 | Industrial | Codayus: certainly not |
| 01:15.54 | Iriel | heh, i'm a diehard emacs user too 8-) |
| 01:16.07 | Industrial | I can't afford the time it takes to switch |
| 01:16.10 | pfault | Industrial, I have no clue |
| 01:16.22 | pfault | I would probably write a perl script to do it before I would learn how to do it in vim |
| 01:16.30 | pfault | heh |
| 01:16.32 | Industrial | .. |
| 01:16.33 | Industrial | :| |
| 01:16.33 | pfault | heh |
| 01:16.35 | Industrial | lol |
| 01:17.04 | pfault | this may be a stupid question |
| 01:17.05 | pfault | but here it goes |
| 01:17.07 | pfault | what is a 'pug' |
| 01:17.23 | Codayus | A hellish test of sanity. Also: Pick Up Group |
| 01:17.41 | Industrial | ~dict pug |
| 01:18.02 | pfault | which means what if you are joining a pug |
| 01:18.14 | Industrial | s/what/that/ |
| 01:18.22 | Codayus | Oh, it's also a type of dog, but for your purposes, see my first comment. :-) |
| 01:18.45 | AnduinLothar | writing this hook thing has actually been useful.. i've already come up with another feature and another way to optimize that we didn't catch in the 10 months we've been using/writing this method |
| 01:22.34 | kergoth | pfault: i'm down to 80g :( |
| 01:22.48 | pfault | I sold a ton of enchantment mats |
| 01:22.57 | pfault | apparently something I bought for like 2g months ago |
| 01:22.59 | pfault | is not worth like 40g |
| 01:23.00 | End | I'm down ...er....up to 48g |
| 01:23.02 | pfault | err now |
| 01:23.22 | pfault | it just shows you what gold farmers/buying will do to the economy |
| 01:24.21 | Natasem | <PROTECTED> |
| 01:24.27 | pfault | I don't need to spend money on training and such now |
| 01:24.29 | AnduinLothar | is getglobal("func")() significantly longer or more work than func() ? |
| 01:24.31 | pfault | so I can just save up |
| 01:24.43 | kergoth | i hope the lua devs add a metamethod for the table size (#t in lua 5.1) |
| 01:25.15 | Iriel | AnduinLothar: if 'func' is a constant, then yes |
| 01:25.23 | Natasem | ok ya'll see ya in like 3 hrs when i get home.... traffic BLOWZ |
| 01:25.25 | Iriel | It's still 'very fast' though |
| 01:25.51 | AnduinLothar | mmk |
| 01:26.17 | AnduinLothar | off course concatonating or parsing takes longer |
| 01:26.22 | AnduinLothar | of course* |
| 01:26.29 | kergoth | i dont see the point of getglobal. just define _G = getfenv(0) the way lua normally does automatically. then you can local foo = _G["part1" .. "foo" .. a] rather than doing a getglobal on that assembled string |
| 01:26.31 | Iriel | since getglobal("func") has to look up the symbol 'getglobal', and then pass control to it, and then look up the name of func, and then return that |
| 01:26.32 | kergoth | silly blizzard |
| 01:26.41 | Iriel | Well, we didn't HAVE getfenv(0) earlier |
| 01:26.47 | kergoth | ah. |
| 01:26.54 | kergoth | again, silly blizzard :) |
| 01:27.21 | AnduinLothar | mmm, that works eh? |
| 01:27.33 | AnduinLothar | might have to start using that |
| 01:28.13 | Iriel | Grabbing a local reference to the global table would be pretty quick |
| 01:28.25 | Iriel | just do local _G = getfenv(0) at the top of your file |
| 01:28.27 | AnduinLothar | mmm, problematic tho in my particular issue since the function passed doesn't necissarily have to be global |
| 01:28.44 | Iriel | Well, if it was passed by name, it HAS to be a global |
| 01:28.50 | Iriel | you can't GET to non-globals by name |
| 01:28.51 | Iriel | ever |
| 01:28.58 | AnduinLothar | can now :) |
| 01:29.00 | kergoth | yeah. pass by reference if you want to allow that |
| 01:29.08 | AnduinLothar | Sea.util.getValue |
| 01:29.31 | Iriel | I stand by my statement 8-) |
| 01:29.47 | AnduinLothar | ? |
| 01:29.56 | Iriel | You can't get to non-globals by name |
| 01:30.02 | Iriel | I should rephrase |
| 01:30.09 | Iriel | You can't get to LOCAL variables by name |
| 01:30.11 | kergoth | non-globals are in registers. they dont really exist |
| 01:30.11 | Iriel | programatically |
| 01:30.18 | AnduinLothar | that's better :P |
| 01:30.23 | kergoth | the names are converted to register numbers |
| 01:30.30 | kergoth | ah right |
| 01:31.08 | kergoth | AnduinLothar: still easy. define _G at the top of your file. if they pass an alternate table rather than global, index into that rather than _G |
| 01:31.09 | Iriel | You should be able to represent ANY by-name symbol lookup as a table + name tuple |
| 01:31.10 | AnduinLothar | ok, so is there a way to save the getfenv and get the local by name later? |
| 01:31.12 | kergoth | unless i'm misunderstanding the situation |
| 01:31.26 | kergoth | "get the local by name"? |
| 01:31.48 | Iriel | for normal globals you have getfenv(0) as your table, and for other functions (methods, etc) you pass the owning table. |
| 01:32.17 | AnduinLothar | so what is that if you defined the func using local var? |
| 01:32.28 | Iriel | then you can't hook it by name later |
| 01:32.35 | kergoth | they have to pass it by reference instead |
| 01:32.37 | Iriel | it's not available to BE hooked, it has no name, it just 'is' |
| 01:32.48 | Iriel | You can't pass functions by reference though, they're simple values |
| 01:32.48 | kergoth | i wish i understood half of what goes on in #lua |
| 01:32.56 | AnduinLothar | can you get the current getfenv when you defien the local? |
| 01:33.08 | Iriel | getfenv has nothing to do with locals, really |
| 01:33.15 | Iriel | locals are a COMPILE TIME construct |
| 01:33.25 | AnduinLothar | mmk |
| 01:33.28 | kergoth | hm? everything in lua is by reference. if i pass that which is of type function, its done by reference. |
| 01:33.28 | Iriel | Once parsing is complete, the names cease to be important. |
| 01:33.39 | Iriel | well, it depends on your definition of 'by reference' |
| 01:33.52 | AnduinLothar | right |
| 01:33.59 | Iriel | the 'function pointer' is a reference to the function yes. |
| 01:34.04 | kergoth | i think of reference the way most languages do. c++ references, for example. |
| 01:34.07 | Iriel | But you cannot pass a reference to the 'function pointer' |
| 01:34.20 | Iriel | you cannot, in lua do the same as C++'s void someFunction(int &i) |
| 01:34.25 | kergoth | in that context a reference /is/ a pointer, just with different semantics |
| 01:35.00 | Iriel | there is no pass by reference ability in the language, HOWEVER, many of the data types are reference data types 8-) |
| 01:35.13 | Iriel | but the references themselves are passed by value |
| 01:35.39 | Iriel | Isn't programming fun 8-) |
| 01:35.53 | kergoth | semantically, foo = function() end otherfunc(foo) is just like references in c++, even if the implementation is different |
| 01:35.58 | kergoth | which is what i meant. |
| 01:36.25 | Iriel | It's unfortunate that even the word 'reference' is overloaded 8-( |
| 01:36.43 | kergoth | well, its ambiguous. |
| 01:36.54 | kergoth | any number of ways to reference something :P |
| 01:36.55 | AnduinLothar | gg english+programming |
| 01:37.24 | kergoth | hehe |
| 01:37.41 | AnduinLothar | that's what u get when the most innovating people and environment is using a non-definite communication system |
| 01:37.52 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 01:38.05 | Iriel | Either way, you cannot use a library like sea to hook a local functoin. |
| 01:38.19 | AnduinLothar | can if u define a refrence |
| 01:38.23 | Iriel | Unless you encapsulate that local function within a table |
| 01:38.40 | AnduinLothar | just not by name |
| 01:38.44 | AnduinLothar | kthx |
| 01:38.45 | Iriel | HOW? |
| 01:38.56 | Iriel | If I write local function MyFunction() return "wibble"; at the top of my file |
| 01:39.08 | Iriel | and at the bottom do xyz = MyFunction() |
| 01:39.24 | Iriel | You tell me how anything I call between those two points that is not an assignment to MyFunction can hook it |
| 01:39.51 | AnduinLothar | what? |
| 01:40.27 | Iriel | Let me take a step back |
| 01:40.43 | Iriel | if I have a file with some lua code, and start with function MyFunction() return "wibble"; end |
| 01:40.58 | Iriel | and at the end of the file, I have DEFAULT_CHAT_FRAME:AddMessage(MyFunction()); |
| 01:41.15 | Iriel | Then in the middle, call sea to hook "MyFunction" and replace it with function() return "wobble"; end |
| 01:41.18 | AnduinLothar | mmm, you could argue that the innovation and environment is a partial result of the language... |
| 01:41.30 | Iriel | then sea CAN hook it, and you'd get "wobble" in your chat window, right? |
| 01:41.57 | AnduinLothar | right |
| 01:42.08 | Iriel | Now, If I put the word local in front of my function definition |
| 01:42.09 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 01:42.13 | Iriel | You can NOT hook it via Sea |
| 01:42.14 | AnduinLothar | but sea cant handle manual hooks that are defined after the sea hook, no |
| 01:42.42 | AnduinLothar | sure it could |
| 01:43.09 | AnduinLothar | mmm |
| 01:43.09 | Iriel | Sorry, I should have said: |
| 01:43.15 | Iriel | You can NOT hook it via Sea without an ASSIGNMENT to MyFunction |
| 01:43.23 | Iriel | in my file |
| 01:43.51 | AnduinLothar | well currently it uses a string, but i could easily make it accept either string or function refrence |
| 01:43.58 | Iriel | but that doesn't help you |
| 01:44.06 | AnduinLothar | sure it does |
| 01:44.06 | Iriel | Let me throw up a simple challenge example 8-) |
| 01:44.18 | Cair | ewww, no throwing up in the channel! |
| 01:44.50 | End | lol |
| 01:46.13 | Iriel | http://wow.pastebin.com/434952 |
| 01:46.31 | AnduinLothar | i'm positive i wont be able to solve it without looking as i'm sure it isn't what you described :P |
| 01:46.57 | AnduinLothar | hate lua coloring on that.. |
| 01:47.04 | Iriel | yeah, likewise |
| 01:47.10 | AnduinLothar | the cosmos one has much better syntax colors :P |
| 01:47.14 | kergoth | a local function isnt in any environment. without an environment, you cant hook. |
| 01:47.16 | kergoth | its that simple. |
| 01:47.25 | kergoth | erm |
| 01:47.34 | Iriel | Just to be absolutely sure we're on the same page: |
| 01:47.54 | Iriel | To hook function X means you subvert the calling of X to call some other function (instead, or before, or after) |
| 01:48.57 | Iriel | I agree you can use any function you like as the NEW function that you replace it with |
| 01:49.04 | Iriel | by name, reference, whatever |
| 01:49.20 | kergoth | i think anduin wants "other function" in your definition to be local, not what's actually being hooked |
| 01:49.41 | Iriel | yes, I think that may be what he's thinking too, but that's not what we were discussing 8-) |
| 01:50.11 | Iriel | And cair, i'd never throw up on your nice clean channel. |
| 01:50.21 | Iriel | At least, not willingly |
| 01:50.27 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 01:50.27 | Cair | *chuckles* |
| 01:50.46 | Cair | Clean? We need to do something about that .... |
| 01:51.09 | Cair | It's Friday night, I think the channel can afford to get a little dirty ;) |
| 01:51.11 | Iriel | Clean as in there's no vomit on the floor. |
| 01:51.17 | Iriel | Not as in it's wholesome and good |
| 01:51.32 | AnduinLothar | mmm, u defined the hook within the function |
| 01:51.32 | Cair | *laughs* |
| 01:51.44 | AnduinLothar | why? |
| 01:52.05 | AnduinLothar | i never said that |
| 01:52.32 | AnduinLothar | i said it would work if the Sea call and the local were within the same function |
| 01:53.00 | AnduinLothar | if SeaChallengeHookingCode("TestFunction", TestFunction); were before function SeaChallenge() { for example |
| 01:53.01 | Iriel | You can put the Sea call wherever you want to |
| 01:53.18 | Iriel | Let me extend the puzzle 8-) |
| 01:53.47 | AnduinLothar | it's not a puzzle, your' just not understanding what i'm asking |
| 01:53.54 | Iriel | http://wow.pastebin.com/434955 |
| 01:54.34 | Iriel | And it's entirely possible I'm not understanding what you're not asking 8-) |
| 01:54.52 | AnduinLothar | ok, that's easily done |
| 01:54.57 | Cair | So Iriel, are you saying that this channel isn't wholesome and good? |
| 01:55.10 | Iriel | not always, no 8-) |
| 01:55.13 | Cair | ;) |
| 01:55.20 | Iriel | And I think that's just the way you want it |
| 01:56.02 | Cair | Hey, we're all adults, or a close facsimile there of |
| 01:56.10 | Tain | Even if we don't all act like it. :) |
| 01:56.46 | AnduinLothar | ok, that sounds right then. you are correct. |
| 01:57.22 | AnduinLothar | unless you allowed for the return of the function |
| 01:57.38 | Iriel | exactly |
| 01:57.58 | Iriel | but it'd be strange to be using a hook in most environments in which that would be viable |
| 01:58.12 | AnduinLothar | right |
| 01:58.48 | AnduinLothar | but anyway... that wasn't what i was talking about |
| 01:58.54 | Iriel | 8-) |
| 01:58.57 | Iriel | figures! |
| 01:59.19 | AnduinLothar | i was talking about hooking a global function with a local one |
| 01:59.25 | AnduinLothar | which is easy |
| 01:59.33 | Iriel | You know, you could do a really quick hook lookup if you stored all your (non-SetScript) hooks in hookTable[scopeTable][name] |
| 01:59.40 | Iriel | completely random side. |
| 01:59.42 | Iriel | aside, even |
| 01:59.53 | Iriel | Yeah, you can hook WITH anything, all you need is the function reference then, agreed |
| 02:00.08 | AnduinLothar | what? |
| 02:00.14 | AnduinLothar | there already is a hook table |
| 02:00.35 | AnduinLothar | Sea.util.Hooks |
| 02:00.59 | AnduinLothar | Sea.util.Hooks.origFuncName.type |
| 02:01.16 | Iriel | yes but that only handles global scope |
| 02:01.21 | Iriel | I was just saying you could make it scope agnostic |
| 02:01.29 | AnduinLothar | u can only hook globals tho |
| 02:01.30 | Iriel | so you could hook method calls with the exact same hook table |
| 02:01.45 | AnduinLothar | huh? |
| 02:01.46 | Iriel | i.e. hooking ChatFrame1.AddMessage |
| 02:01.55 | AnduinLothar | right... it already does that |
| 02:02.03 | Tain | I think I have a local hooktable around here... |
| 02:02.11 | AnduinLothar | but not with the scope |
| 02:02.30 | Iriel | well, 'scope' might have been a poor choice of words.. Namespace, perhaps |
| 02:02.33 | AnduinLothar | u can still hook ChatFrame1.AddMessage |
| 02:02.52 | Tain | hookTable["Candy"] hookTable["Trixie"] hookTable["Foxy"] |
| 02:02.53 | Iriel | Do you use the String 'ChatFrame1' or the object to identify the hook? |
| 02:03.13 | AnduinLothar | Sea.util.hook("ChatFrame1.AddMessage", yourfunc, "replace") works fine |
| 02:03.19 | AnduinLothar | string |
| 02:03.39 | AnduinLothar | but it's set when the hook is galled |
| 02:03.49 | Iriel | The only downside of that is it requires that the toplevel table be globally visible |
| 02:03.52 | Iriel | But if instead it was |
| 02:04.06 | Iriel | Sea.util.hook(ChatFrame1,"AddMessage", yourfunc, "replace") |
| 02:04.12 | AnduinLothar | what other fenv's are there? |
| 02:04.23 | Iriel | any table is a logical 'environment' |
| 02:04.27 | Iriel | in that sense |
| 02:04.47 | AnduinLothar | so what non-global tables does that include? |
| 02:05.08 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 02:05.50 | Iriel | Well, some addons (possibly only those I've written 8-) hold local function references to their tables, and dont expose them directly, instead doing it through accessor functions |
| 02:06.06 | Iriel | So it'd be something like GetBlahTable().AddMessage |
| 02:06.14 | Iriel | or more likely GetBlahTable():AddMessage |
| 02:06.17 | Iriel | when calling it. |
| 02:06.36 | Iriel | But there's no real reason why Sea couldn't hook that |
| 02:06.57 | Iriel | Similarly, storing by object instead of by name resolves problems like hooking ChatFrame1.AddMessage and DEFAULT_CHAT_FRAME.AddMessage |
| 02:07.01 | AnduinLothar | only for ondemand table generation rather than global |
| 02:07.08 | Iriel | which are often, but not always, the same thing |
| 02:07.34 | Iriel | I have a feeling i'm not making things any clearer so i'll be quiet now 8-) |
| 02:07.59 | AnduinLothar | ur not, but i think i got it |
| 02:09.26 | Codayus | Hmmm |
| 02:09.35 | Codayus | Everyone seent this about paladin changes yet? |
| 02:09.38 | Codayus | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-general&t=5832290&p=1&tmp=1#post5832290 |
| 02:10.06 | AnduinLothar | if u defined DEFAULT_CHAT_FRAME.AddMessage after defining DEFAULT_CHAT_FRAME = ChatFrame1 would it change the AddMessage in ChatFrame1? |
| 02:10.10 | AnduinLothar | i thought so.. |
| 02:10.52 | AnduinLothar | but redefining DEFAULT_CHAT_FRAME wouldn't change ChatFrame1 |
| 02:12.01 | AnduinLothar | if that's the case then hooking DEFAULT_CHAT_FRAME.AddMessage while DEFAULT_CHAT_FRAME = ChatFrame1 would be identical to hooking ChatFrame1. AddMessage |
| 02:12.05 | Iriel | Well, a more perverse example is... |
| 02:12.10 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 02:12.16 | Iriel | DEFAULT_CHAT_FRAME=ChatFrame1 |
| 02:12.24 | Iriel | Hook DEFAULT_CHAT_FRAME.AddMessage |
| 02:12.27 | Iriel | DEFAULT_CHAT_FRAME=ChatFrame2 |
| 02:12.29 | Iriel | Hook DEFAULT_CHAT_FRAME.AddMessage |
| 02:12.42 | Iriel | Sea will add the 2nd hook to the first frame |
| 02:12.45 | Iriel | probably |
| 02:12.52 | Iriel | or will end up moving the 1st hook to the 2nd frame |
| 02:12.58 | Iriel | depending on how it's written |
| 02:13.10 | Iriel | either way, if you're using the string DEFAULT_CHAT_FRAME it'll be twitchy |
| 02:13.28 | Iriel | Or maybe it wont and you guys figured out a neat solution to that |
| 02:13.29 | Iriel | 8-) |
| 02:13.49 | AnduinLothar | mmm, nah, that'd be fine as long as the hooks are in that order |
| 02:13.52 | Iriel | Oh, and yes, I spend all day thinking up pathalogical test cases to break things 8-) |
| 02:14.51 | AnduinLothar | except it would actually be hooking ChatFrame1.AddMessage and ChatFrame12.AddMessage and then if DEFAULT_CHAT_FRAME were reassigned it would no longer be effected |
| 02:16.14 | Iriel | I thought sea remembered which methods it has hooked and treats re-hooks differently? |
| 02:16.18 | Iriel | but maybe i'm mistaken |
| 02:17.01 | Iriel | i.e. I thought that no matter how many times you'd hooked a given method with sea, it'd only injected one function into the normal call chain, and THAT function calls the actual sub-hooks |
| 02:17.03 | AnduinLothar | mmm, it redefines the stored func, but since you didn't specify i assumed u mean hook with the same func |
| 02:17.35 | AnduinLothar | mmm, ah. recently we destoryed rehooking, right |
| 02:17.39 | Iriel | Ah no, I meant hook with a 'before' function, it may be the same or different |
| 02:17.53 | AnduinLothar | it conflicted with hooks called between sea hooks |
| 02:18.03 | Iriel | conflicted how? |
| 02:18.09 | Iriel | I could see that you'd have problems with ordering |
| 02:18.12 | AnduinLothar | no before isn't a func, it's a type |
| 02:18.31 | kergoth | hehe. i dont think of pathological test cases persay, but my mind often runs over various codepaths of various threads.. its a necessity in order to avoid deadlocks and have proper use of hte synchronization primitives in a threaded environment |
| 02:18.34 | Iriel | but (unless you made the same mistake everyone else does) it shouldn't have functionally broken anything |
| 02:19.14 | Iriel | (that mistake being 'forgetting to check if anyone else had hooked a function before trying to remove yours') |
| 02:19.29 | Iriel | Yeah, I figured it was a type, which is the best oe to show this example |
| 02:19.30 | kergoth | heh |
| 02:19.36 | kergoth | thats the one that bit ace, isnt it? |
| 02:19.42 | Iriel | whee, multiple interleaved conversations. |
| 02:19.49 | kergoth | hehe |
| 02:19.59 | AnduinLothar | currently sea doesn't rehook if you pass two funcs with the same name of the orig func |
| 02:20.07 | Iriel | EXACTLY |
| 02:20.09 | AnduinLothar | but it will store the new hook func |
| 02:20.23 | Iriel | And in my pathalogical case, that will make it break |
| 02:20.38 | Iriel | where break == not do what it's really supposed to do |
| 02:20.56 | AnduinLothar | mmm, it would mean ChatFrame2.AddMessage would not be hooked |
| 02:21.21 | AnduinLothar | and neighter would DEFAULT_CHAT_FRAME.AddMessage |
| 02:21.23 | Iriel | So.. instead of using "ChatFrame2.AddMessage" as yor key |
| 02:21.33 | Iriel | You use a 2 table structure |
| 02:21.38 | Iriel | [ChatFrame2]["AddMessage" |
| 02:21.42 | AnduinLothar | ChatFrame1.AddMessage would be hooked |
| 02:21.47 | Iriel | Where the first key is the OBJECT, and the second is the name |
| 02:21.50 | AnduinLothar | with the 2nd hook func passed |
| 02:22.05 | Iriel | If it's a global function, you use [getfenv(0)]["GlobalName"] |
| 02:22.43 | AnduinLothar | right, problem is that's not revers compatible, we'd have to add it to the end again |
| 02:22.57 | AnduinLothar | which is possible |
| 02:23.12 | Iriel | Do you mean API wise? Or do you mean functionally? |
| 02:23.17 | AnduinLothar | api |
| 02:23.37 | Iriel | Yeah, though you could easily make the hook function understand both calling schemes |
| 02:23.41 | Iriel | It only has 3 arguments 8-) |
| 02:23.59 | Iriel | so giving it 4 and looking to see if the first one is a table isn't too hard |
| 02:24.04 | AnduinLothar | however i still dont understand how you would get the current scope if it weren't global |
| 02:24.22 | Iriel | For the non-global examples, you would have ot pass it in |
| 02:24.33 | AnduinLothar | how would u get it? |
| 02:24.35 | Iriel | Sea.util.hook(GetMyObject(), "SomeFunction", ...) |
| 02:24.51 | Iriel | Woul be a request to hook SomeFunction in the given unnamed object |
| 02:24.57 | AnduinLothar | it would still be current to the hook definition and not the hook call |
| 02:25.51 | AnduinLothar | mmm, unless u stored it |
| 02:26.25 | AnduinLothar | in which case it could be local or global and we could go on forever defining scopes |
| 02:27.21 | AnduinLothar | Sea.util.hook(GetMyObject(), "SomeFunction", ...) wouldn't work then |
| 02:27.21 | Iriel | You'd store the table reference, to the 'scope' |
| 02:27.36 | AnduinLothar | that would call GetMyObject() on definition |
| 02:27.50 | Iriel | yes, which gives you the object youre looking SomeFunction up inside |
| 02:27.54 | Iriel | and you'd hook its method |
| 02:27.58 | Iriel | and you'd be done |
| 02:28.11 | AnduinLothar | except that the table is redefines when u call GetMyObject() |
| 02:28.14 | Iriel | Of course, if GetMyObject() returned a different object every time, it wouldn't be very useful |
| 02:28.20 | AnduinLothar | right |
| 02:28.24 | AnduinLothar | that's what i was saying |
| 02:28.33 | Iriel | But the case I was referring to is one where you get the same table, but it doesn't have a NAME in the global scope |
| 02:28.54 | Iriel | i.e. my code looks something like this |
| 02:28.58 | Iriel | local myObject; |
| 02:29.17 | Iriel | function GetMyObject() if (not myObject) myObject=ExpensiveLoadOperation(); end; return myObject; end |
| 02:29.58 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 02:30.16 | AnduinLothar | ok... so that's still called on hook definition |
| 02:30.20 | Iriel | yes |
| 02:30.30 | Iriel | but it returns the same object every time |
| 02:30.37 | AnduinLothar | why not just pass a function then |
| 02:30.41 | Iriel | (it doesn't have to of course, but you'll only have hooked the one you called it for) |
| 02:30.51 | Iriel | (Sea isn't a mind reader, nor would we expect it to be) |
| 02:31.15 | AnduinLothar | no but it could easily detect whether ur hooking a global by string name or a function |
| 02:31.33 | Iriel | yes, agreed. |
| 02:31.48 | Iriel | I guess my underlying point was more about the STORAGE of that hook information |
| 02:31.53 | AnduinLothar | and why would than be any worse than your passign the fenv? |
| 02:33.09 | AnduinLothar | i still have to have a constant to put in the storage table for later refrencing |
| 02:33.37 | Iriel | well, 2 'constants' |
| 02:33.45 | Iriel | You DO need the function name as a string |
| 02:34.02 | AnduinLothar | currently, but not necissarily |
| 02:34.11 | Iriel | but you also use the 'scope' object itself as a constant (Since you can happily use tables as keys to tables) |
| 02:34.15 | AnduinLothar | since tables can take functions as keys |
| 02:34.28 | Iriel | yes but a function key doesn't help you |
| 02:34.35 | Iriel | you're about to replace the original function with your own |
| 02:34.56 | Iriel | and unhooking or changing hooks becomes infeasible if you store the hooked function instead of the name |
| 02:35.03 | AnduinLothar | right, which is why it's not done |
| 02:35.10 | Iriel | Especially in the presence of other addons that might hook after you |
| 02:35.15 | kergoth | .. |
| 02:36.31 | AnduinLothar | i still dont understand how calling them both OnHook would make any difference |
| 02:37.14 | *** part/#wowi-lounge Malivil (n=Alaerand@209-6-253-11.c3-0.frm-ubr2.sbo-frm.ma.cable.rcn.com) |
| 02:37.26 | AnduinLothar | you can't have a global storage as well as a dynamic definition |
| 02:37.52 | AnduinLothar | you have to define OnHook |
| 02:38.15 | Iriel | onHook is your 'function to call' ? |
| 02:38.20 | Iriel | instead of the original? |
| 02:38.38 | Iriel | if so, I agree you dont need to keep its name around, just its reference |
| 02:38.41 | AnduinLothar | OnHook is the event representing when you call the hook fucntion in your code |
| 02:39.02 | AnduinLothar | but u do need it's name |
| 02:39.08 | AnduinLothar | it's refrence can change |
| 02:39.20 | AnduinLothar | its* |
| 02:40.08 | AnduinLothar | go make some demo code then. i dont see how it's useful |
| 02:43.36 | Iriel | Hey, I have a suggestion to make your code faster |
| 02:43.53 | Iriel | Instead of passing 'name' into the hook handler, pass the hook table |
| 02:44.29 | Iriel | You should also bind Sea.util.Hooks[name] to a local so you dont look it up a million times |
| 02:46.09 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 02:46.15 | AnduinLothar | local is possible, also means u cant debug from it |
| 02:46.30 | Iriel | http://wow.pastebin.com/434985 |
| 02:47.16 | Iriel | Well, for something that's supposedly caring about performance, Sea.util.hookHandler is getting about a 'D' in my book |
| 02:47.18 | Iriel | Just for that |
| 02:47.27 | Iriel | it looks up Sea.util.Hooks[name] time and time and time again |
| 02:47.31 | Iriel | A total waste of CPU |
| 02:47.49 | AnduinLothar | oh, u mean inside the function, ok that's doable |
| 02:47.56 | Iriel | Oh yes, inside the function |
| 02:47.57 | AnduinLothar | thought u meant addon local |
| 02:48.13 | Iriel | Ah no, that would break the embeddedness too |
| 02:48.17 | Iriel | I just mean do the lookup once |
| 02:48.18 | AnduinLothar | right |
| 02:48.27 | AnduinLothar | ok, will do |
| 02:48.33 | Iriel | Though, since hookHandler doesn't even NEED the name |
| 02:48.39 | Iriel | I still think passing in the whole table is cleaner |
| 02:48.49 | AnduinLothar | ? |
| 02:48.54 | AnduinLothar | how so? |
| 02:49.09 | Iriel | Well, in hookFunction |
| 02:49.22 | Iriel | You create an anonymous local function that calls hookHandler and passes the locally bound name |
| 02:49.30 | AnduinLothar | right |
| 02:49.36 | Iriel | You could just pass Sea.util.Hooks[Orig] instead |
| 02:49.42 | Iriel | and it'll bind the table instead |
| 02:49.50 | Iriel | then the hookHandler doesn't even need to do ANY lookup of the table |
| 02:49.57 | Iriel | because it'll have it right there |
| 02:50.41 | Iriel | The only downside is if you 'lose' your Sea.util.Hooks table, then you can't get back to it |
| 02:51.10 | Iriel | So that's really the question, do you want to make every call to the function have to resolve Sea.util.Hooks[name], or can you make your code promise it knows where to find it. |
| 02:51.24 | Iriel | The latter wouldn't be TOO hard, and it would make your hook a little more efficient, but it might be overkill |
| 02:51.29 | AnduinLothar | mm, u wouldn't be able to rehook |
| 02:51.47 | Iriel | You would, you just would have to not throw away Sea.util.Hooks[name] if you weren't using it |
| 02:51.47 | AnduinLothar | first hook would be lost |
| 02:51.52 | Iriel | You'd keep it there and just add to it |
| 02:52.16 | Iriel | You can do anything you want inside that table and the hook handler would see it, only the table reference is bound, not its contents |
| 02:52.37 | pfault | argh |
| 02:52.42 | pfault | the horde really sucks at pvp on my server |
| 02:52.57 | Iriel | The horde are assholes on my pvp server |
| 02:53.09 | AnduinLothar | ok, well how bout u recode it in a way that you think is more efficient and i'll tell u what it breaks |
| 02:53.11 | pfault | we always get zerged by the alliance |
| 02:53.17 | pfault | and everyone else is off doing something else |
| 02:53.25 | Iriel | 8-) |
| 02:53.37 | AnduinLothar | and if it doesn't break anything, i'll adopt it |
| 02:53.50 | AnduinLothar | if it's backwards compatible too |
| 02:54.00 | pfault | I go out of my way to kill nightelf hunters too |
| 02:54.01 | pfault | :) |
| 02:54.31 | Iriel | heh |
| 02:54.39 | Iriel | Ah, my hunter is on an RP server |
| 02:54.41 | pfault | there are too many of them |
| 02:54.41 | AnduinLothar | anyway. i have work, gtg |
| 02:54.42 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 02:54.42 | Cair | AnduinLothar: where the hell is Legorol these days? |
| 02:54.50 | Iriel | I'm a Gnome mage on the PvP server |
| 02:54.56 | AnduinLothar | no idea |
| 02:55.00 | Cair | grrr |
| 02:55.05 | Cair | he needs to get his ass in here |
| 02:55.06 | pfault | I am going to hate it when the blood elves come |
| 02:55.08 | kremonte | i go out of my way to kill undead rogues :D |
| 02:55.09 | Cair | *grumps* |
| 02:55.12 | pfault | all the lame kiddies will come over to the horde :( |
| 02:55.33 | kremonte | i like going into a full party on the way to an instance, and just killing the undead |
| 02:55.35 | kremonte | then leaving |
| 02:55.42 | pfault | iron forge chat turned me off the alliance for good |
| 02:55.56 | kremonte | there's chat in IF? yeesh. all it is here is enchant spam |
| 02:56.12 | pfault | here it's pretty much people calling eachother random lame insults |
| 02:56.18 | kremonte | nice ;| |
| 02:56.25 | AnduinLothar | iriel, if i set local hookInfo = Sea.util.Hooks[orig]; then will hookInfo.before = {}; change Sea.util.Hooks[orig].before ? |
| 02:56.34 | Cair | to have another or not to have another |
| 02:56.42 | pfault | I might roll an alliance on another server |
| 02:56.45 | pfault | I want to see the other areas |
| 02:56.49 | Tain | First things I do with a new character is leave the general chat, trade, lfg, etc |
| 02:57.28 | Cair | I leave general on, but I name the window it is in "spam" and tuck it up out of the way where it won't bug me |
| 02:57.48 | Cair | then if I'm bored I can read it, but otherwise I just ignore it |
| 02:58.03 | Cair | I *never* have LFG or Trade on :p |
| 02:58.08 | pfault | hehe |
| 02:58.21 | pfault | ne1 doing nightelf nude dances? pst |
| 02:58.47 | pfault | hehe |
| 02:58.54 | pfault | on argent dawn thats all they did in the inn's |
| 02:59.14 | Cair | There are only a couple people that can get my nightelf dancing, and none of them ever ask in general, I can tell you |
| 02:59.23 | pfault | haha |
| 02:59.44 | pfault | I just hate how some kids ruin the game for everyone else |
| 02:59.59 | Cair | those would be the same people that have seen me belly dance in real life |
| 03:00.07 | pfault | interesting |
| 03:00.11 | kremonte | is there any documentation on communicating with mod users via a channel w/o sky? |
| 03:00.20 | kremonte | or should i open up CTRA and disect |
| 03:00.43 | pfault | in SWG they could get experience for dancing |
| 03:01.43 | Cair | yeah, well, that was lame |
| 03:01.59 | pfault | it was |
| 03:02.01 | Cair | considering what was meant by "dancing" in that was "stripping" :p |
| 03:02.04 | pfault | you could play the entire game without killing a single thing |
| 03:02.54 | kremonte | how would you get xp by dancing :| |
| 03:04.20 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 03:04.23 | pfault | entertaining |
| 03:04.27 | pfault | if that was your profession |
| 03:04.41 | Iriel | I celebrated the day I dropped my last weapon skill in SWG |
| 03:04.57 | kremonte | lol >.> |
| 03:05.22 | Iriel | Iriel: Master Tailor / Master Architect |
| 03:05.40 | Iriel | I think that was the right terminology anyway, it's been a while 8-) |
| 03:05.52 | pfault | hehe |
| 03:06.38 | kremonte | hmm, is there any way to stop a sound playing from PlaySoundFile()? |
| 03:06.51 | futrtrubl | I liked the fact you could play that entire game without fighting |
| 03:07.01 | futrtrubl | was a master ArmorSmith ;'] |
| 03:07.17 | futrtrubl | without the funky capitalization |
| 03:07.22 | Iriel | heh |
| 03:07.37 | Iriel | I had a pretty impressive harvesting operation too, to support the architecture |
| 03:08.04 | Iriel | paired with a merchant / droid engineer to keep costs down |
| 03:08.12 | Iriel | That was back when the droids were entirely useless tho |
| 03:08.20 | futrtrubl | I had an impressive storage houses/facs to keep my UBER resources ;'] |
| 03:08.43 | futrtrubl | delete the "an" |
| 03:08.55 | Iriel | I even wrote some nifty web apps for resource and harvester tracking, as well as to calculate build sheets for complex schematics, lots of fun |
| 03:08.59 | futrtrubl | why can't I say a single sentence without making a mistake? |
| 03:09.14 | Iriel | because your name looks like a typo? |
| 03:09.22 | futrtrubl | ever went to SWGCraft? |
| 03:09.32 | futrtrubl | probalby the reason Cair ;'] |
| 03:09.44 | Iriel | I used to use their XML feeds as input for some resource specs |
| 03:10.09 | Iriel | but their coverage on my server was usually a bit 'late' |
| 03:10.14 | futrtrubl | those were the days... before the nurf...s |
| 03:10.26 | kremonte | soo noone is talking about wow rightn ow? :P |
| 03:10.29 | futrtrubl | what server where you on? |
| 03:10.31 | Iriel | The excitement of logging in and seeing a fresh new high spec mineral and running to find a good vein |
| 03:10.35 | Iriel | Corbantis |
| 03:10.47 | kremonte | is there any way to check game settings? like if music is enabled |
| 03:10.47 | futrtrubl | Tarquinas here |
| 03:10.56 | Iriel | Most of them are CVars I think |
| 03:11.04 | Iriel | So GetCVar("whatever") |
| 03:11.09 | Iriel | Look in your config.wtf for the values |
| 03:11.18 | Iriel | Or just look at blizzard's options panel code |
| 03:11.20 | kremonte | thanks |
| 03:11.40 | futrtrubl | thanks for th reminder kremonte, what would I need to do to automatically enable health/name plates over npcs like pressing "v" |
| 03:11.53 | Iriel | if ( GetCVar("EnableMusic") == "1" ) then |
| 03:12.11 | Iriel | ShowNameplates() HideNameplates() |
| 03:12.37 | kremonte | thanks iriel |
| 03:12.39 | Iriel | the NAMEPLATES_ON global tells you what the game thinks they're at, update that if you want to stay consistent |
| 03:12.40 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 03:13.07 | Iriel | So ShowNameplates(); NAMEPLATES_ON = 1; |
| 03:13.17 | Iriel | or HideNameplates(); NAMEPLATES_ON = nil; |
| 03:13.34 | futrtrubl | thanks Iriel |
| 03:13.50 | futrtrubl | I wish the setting was persistent on its own.. |
| 03:16.10 | Iriel | You could write an addon which saved that as a SavedVariable |
| 03:16.13 | Iriel | it would be very simple |
| 03:16.19 | Iriel | and then just set it appropriately on ADDON_LOAD |
| 03:16.40 | Iriel | The RememberMyGoddamnNameplates addon |
| 03:16.40 | futrtrubl | that's what I will be doing |
| 03:17.05 | Iriel | As long as you save THAT variable, you dont even have to do anything post-load |
| 03:17.08 | futrtrubl | and I will be calling it exactly that now ;'] |
| 03:17.37 | futrtrubl | it's a small thing but having to press v every single time is anoying ;'] |
| 03:18.28 | Cair | 'scuse for the interruption guys ... anyone got a link for an IRC proggy that works on Macs? |
| 03:19.07 | Iriel | No idea Cair, sorry |
| 03:19.22 | Tain | http://www.irchelp.org/irchelp/mac/ |
| 03:19.31 | Tain | There's a bunch there. |
| 03:19.40 | Tain | err.. looks like 2. |
| 03:19.48 | Cair | found a link for ircle |
| 03:19.51 | Cair | that should work |
| 03:20.11 | Tain | Snak and Ircle are the two I've heard people use, os I'm sure it must be ok. |
| 03:20.57 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 03:21.47 | kremonte | so, no documentation of sorts on addon communication via channels? (besides sky) |
| 03:22.43 | *** join/#wowi-lounge Stylp1 (n=Stylpe@15.84-48-162.nextgentel.com) |
| 03:25.33 | Iriel | kremonte: Not really, I mean basically you create and join a channel, you hook the ChatFrame event handlers to stop them showing the channel, and you use SendChatMessage to send messages |
| 03:25.48 | kremonte | ah, so i got a bit of learning to do |
| 03:25.48 | Iriel | Watch out for flooding if you're programatically sourcing data or you get disconnected. |
| 03:25.50 | kremonte | thanks :) |
| 03:26.01 | Iriel | And if you want to be good, then try and leave the channel on logout |
| 03:26.11 | Iriel | I'd say looking at the CTRA code wouldn't hurt |
| 03:26.18 | Iriel | if youw ant to avoid Sky |
| 03:26.25 | kremonte | i'm really lost right now looking in the ctra dir, lol |
| 03:26.54 | Iriel | Well, split the problem into pieces |
| 03:27.19 | Iriel | 1) Joining/Finding the channel 2) Sending to the channel 3) Getting stuff from the channel 4) Hiding the channel from the user |
| 03:27.34 | Iriel | If you do them in that order, testing is easy |
| 03:27.41 | kremonte | :) thaks |
| 03:27.48 | Iriel | (Well, relatively easy) |
| 03:29.13 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 03:29.23 | Tain | Who would have thought that MouseOver doesn't trigger if you move the frame under the mouse cursor instead of the cursor ontop of the frame. :) |
| 03:31.50 | Iriel | That doesn't surprise me 8-) |
| 03:32.03 | Iriel | Report it in the forum as a bug just to see slouken's reaction tho |
| 03:32.29 | Tain | haha reaction would probably be, "Why are you doing that?" |
| 03:33.40 | Iriel | He rarely asks Tem that question |
| 03:33.54 | Tain | Yeah he just says, "You shouldn't be doing that." |
| 03:33.55 | Tain | <PROTECTED> |
| 03:34.11 | Iriel | Now THAT I could see |
| 03:34.39 | Iriel | I guess he could argue that iut's not a MouseOver but a FrameUnder, and he doesn't support those |
| 03:35.02 | Tain | Yep. As soon as you move the mouse again at all the MouseOver triggers. |
| 03:35.32 | Tain | Actually, it's more than that. A lot of interactions with the ui make it trigger. Hitting Enter for the chat window for example. |
| 03:35.51 | Tain | Which makes me curious about the nature of the updates, and what other things update like that. |
| 03:36.27 | Iriel | I suspect it's an optimization -- if no part of the user input system state changes, dont waste time doing the tests |
| 03:38.01 | *** join/#wowi-lounge Geometrix (i=ge0@c-24-34-185-31.hsd1.ma.comcast.net) |
| 03:39.21 | Iriel | Ok.. time to go pick up my other half at the airport. have fun everyone |
| 03:40.24 | Cair | later Iriel :) |
| 03:40.30 | Cair | give your lovely lady a hug from me |
| 03:42.49 | Stylp1 | Hey, does anyone know how/if it's possible to set an alternate nick in Gaim? |
| 03:43.34 | Tain | Not sure. |
| 03:43.41 | Tain | Never used Gaim. |
| 03:43.45 | Cair | Tools |
| 03:43.47 | Cair | Accounts |
| 03:43.55 | Cair | Pick your IRC channel, hit modify |
| 03:44.43 | Cair | Does anyone know how you add a *channel* to auto-connect? |
| 03:45.05 | Cair | the server isn't a problem, but haven't figured out how to add individual channels |
| 03:45.40 | Cide | to join on the server? |
| 03:45.52 | Cide | to join one, I just do /server -m serveraddr -j #channel |
| 03:46.39 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 03:46.57 | Tain | No, I type mine in every time. heh |
| 03:47.19 | kremonte | Cide, what file in CTRA would i look to scavenge how to work with channels and the likes? =O |
| 03:48.18 | Cide | CT_RAMenu.lua handles the menu part |
| 03:49.00 | Cide | and it also holds the CT_RA_Join function that handles channel switching |
| 03:49.19 | Cide | CT_RaidAssist.lua has the raid chat scan for channel broadcasts |
| 03:50.33 | kremonte | yeesh, 151kb of code just in this one file |
| 03:51.18 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 03:51.20 | Cide | the mod itself is only 21000 lines |
| 03:51.21 | Cide | have fun |
| 03:51.25 | kremonte | :| |
| 03:51.31 | kremonte | hory clap |
| 03:51.49 | kremonte | lol, and all i wanna do is find out how to hide and listen on a channel |
| 03:51.56 | Cide | hide is easy |
| 03:52.09 | Cide | you hook ChatFrame_OnEvent (done in CT_RaidAssist.lua) |
| 03:52.29 | Cide | check if it's from the channel we want to hide |
| 03:52.33 | Cide | if so, return |
| 03:52.39 | Cide | otherwise, pass it on to the default handler |
| 03:53.43 | Cide | see line 432 in CT_RaidAssist.lua (more specifically 449-456) |
| 03:54.45 | kremonte | arg9 = channel name? |
| 03:55.07 | Cide | yes |
| 03:55.12 | kremonte | ah, ok |
| 03:55.16 | *** topic/#WoWI-lounge by Cair -> WoWI-Lounge. Kick back, relax, hang out. Keep the signal output higher than the noisel. Get along or get out. |
| 03:55.27 | *** topic/#WoWI-lounge by Cair -> WoWI-Lounge. Kick back, relax, hang out. Keep the signal output higher than the noise. Get along or get out. |
| 03:55.38 | *** topic/#WoWI-lounge by Cair -> WoWI-Lounge. Kick back, relax, hang out. Keep the signal output higher than the noise. Don't spam the damn bot. Get along or get out. |
| 03:55.42 | Stylpe | LOL |
| 03:55.43 | kremonte | lol |
| 03:55.52 | Stylpe | Poor Purl |
| 03:56.06 | kremonte | ~botsnack |
| 03:56.06 | purl | :), kremonte |
| 03:56.27 | Stylpe | purl rocks! |
| 03:56.28 | purl | yes I do |
| 03:56.34 | kremonte | stop spamming the bot omg |
| 03:56.51 | kremonte | ;) |
| 03:57.14 | Cair | wb cladhaire |
| 03:57.15 | kremonte | ah Cide, so all i really need to hide is that 7 line snippet? |
| 03:57.18 | cladhaire | Heyas all |
| 03:57.21 | kremonte | wb clad |
| 03:57.44 | Cide | kremonte: pretty much |
| 03:58.02 | kremonte | CT_RA_ParseMessage(nick, msg) is where you recieve the message too, i assume? |
| 03:58.05 | Cide | and the part where you hook the old function and pass it through if we don't want to hide it |
| 03:58.15 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 03:58.25 | Cide | that receives messages from the channel (not related to the ChatFrame) and then parse what they mean |
| 04:00.09 | kremonte | argh, trying to read this code and WoW is hating me at the same time, trying to run to my corpse in BRD and it's teleporting me to thorium point >.> |
| 04:00.21 | Cide | hehe, sounds like a bad combo |
| 04:01.36 | Stylpe | I wonder.... |
| 04:01.39 | Stylpe | ~spam |
| 04:01.40 | purl | ACTION sings, Spam, Spam, Spam, Spam, Spam, Wonderfull spam! |
| 04:02.14 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 04:02.28 | Cair | Stylpe |
| 04:02.30 | Cair | stop |
| 04:03.15 | Cair | I've asked you guys a couple of times ... if there is nothing going on, then fine (sorta), but when there is a conversation going on, don't spam the damn bot or I'm going to ask for it to be removed |
| 04:03.33 | kremonte | hmm Cide, correct me if i'm wrong - i use ChatFrame_OnEvent to hide the channel in the chatframe, and otherwise i can use regular OnEvent for CHAT_MSG_CHANNEL to do stuff when certain text is recieved? |
| 04:03.42 | Cide | yes |
| 04:03.53 | kremonte | wow, that is a lot simpler than i though |
| 04:03.55 | kremonte | thought* |
| 04:03.57 | kremonte | thanks a lot =( |
| 04:03.57 | Cide | since you can stillr eceive chat_msg_channel events, you just don't want them to reach the chat frame |
| 04:03.59 | kremonte | =)* lol |
| 04:04.03 | Cide | np |
| 04:05.29 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 04:05.50 | kremonte | 1 more question, i hope - i can listen for CHAT_MSG_CHANNEL_JOIN and hide that from the chat frame too, if it's my channel right? |
| 04:05.56 | Stylpe | Cair: Sorry, sorry =P |
| 04:06.13 | Cide | yeah |
| 04:06.17 | Cide | my code does that |
| 04:06.19 | kremonte | sweet |
| 04:06.34 | Cide | it lets system messages and /chatlist messages through though |
| 04:07.27 | kremonte | hm, why are you doing strsub(event, 1, 16) == "CHAT_MSG_CHANNEL"? the event name is more than that? |
| 04:07.42 | Cide | there are a lot of chat_msg_channel onevents |
| 04:07.48 | kremonte | oh yeah |
| 04:07.52 | *** join/#wowi-lounge Tain (i=Shrubber@c-66-31-196-19.hsd1.ma.comcast.net) |
| 04:08.03 | Cide | it hides all but CHAT_MSG_CHANNEL_CHATLIST and CHAT_MSG_CHANNEL_SYSTEM |
| 04:13.52 | kremonte | do i need to register CHAT_MSG_CHANNEL? |
| 04:15.05 | Cide | ya, that's what I register |
| 04:16.16 | Cair | later Guillotine_ |
| 04:16.19 | Guillotine_ | lol |
| 04:16.22 | kremonte | ~wave Guillotine_ |
| 04:16.23 | purl | Bye, Guillotine_ |
| 04:16.29 | guillotine | have to switch my name before I leave... |
| 04:26.57 | Cair | Yeah, I'm real inclined to help this guy: "WTF! JESUS! OK I LOOKED THROUGH ALL OF THE NETWORKS AND FREENODE OR WOW I LONGUE OR WHATEVER HAS CAME UP! ASK SOMEONE WHO HAS A MAC TO INSTANT MSG ME WITH MAS AT Lakerssuck08@hotmail.com PLEASE AND THANK YOU!" ... sure buddy, I'm gonna help you any further after that .. |
| 04:27.21 | kremonte | o_o wtf? |
| 04:27.29 | Tain | He seems so sincere |
| 04:27.36 | kremonte | PLEASE AND THANK YOU! |
| 04:27.39 | kremonte | he said please and thank you |
| 04:28.34 | Tain | hehe yes that makes it all better. |
| 04:31.09 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 04:34.08 | futrtrubl | is there anyway to wait for savedvars to be loaded with a xml less addon? |
| 04:36.28 | kremonte | omg, i wrote a mod and the first time i loaded it it worked |
| 04:36.39 | kremonte | that has never happened to me writing anything ever |
| 04:36.51 | kremonte | especially something i barely know |
| 04:37.51 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 04:38.04 | End | kremonte is...A WITCH |
| 04:38.17 | cladhaire | BURN HER! |
| 04:38.18 | kremonte | :O NOOO |
| 04:38.21 | kremonte | him* |
| 04:38.30 | cladhaire | yeah yeah.. it was a quote =) |
| 04:38.41 | kremonte | you can stikll say BURN HIM |
| 04:38.54 | Tain | He turned me into a newt! |
| 04:38.57 | cladhaire | yeah i know |
| 04:39.02 | Cair | I got better ... |
| 04:39.05 | Tain | hehe :) |
| 04:39.45 | cladhaire | 62/67 3:52 to go |
| 04:39.50 | cladhaire | =( then sleep |
| 04:40.56 | *** join/#wowi-lounge Stylpe (n=Stylpe@15.84-48-162.nextgentel.com) |
| 04:40.59 | End | <3 |
| 04:42.50 | futrtrubl | kremonte turned me into a newt!!!... Well.. I got better. |
| 04:43.46 | futrtrubl | my version was better! stop thinking at me like that |
| 04:44.28 | cladhaire | me too |
| 04:44.57 | futrtrubl | was it good? |
| 04:45.05 | cladhaire | i think theh director hit it head on |
| 04:45.13 | futrtrubl | thank god |
| 04:45.36 | Tain | Good |
| 04:45.44 | Osagasu | Voldemort is more badass looking than I ever imagined him |
| 04:45.48 | Tain | I'll take my parents this weekend. |
| 04:45.54 | cladhaire | heheh its true... the actor is perfect |
| 04:45.55 | Tain | I've taken them to all of them so far. heh |
| 04:46.21 | Osagasu | "I want to see the color leave your eyes" |
| 04:46.38 | *** join/#wowi-lounge Stylpe (n=Stylpe@15.84-48-162.nextgentel.com) |
| 04:49.02 | cladhaire | ok folks.. im off. |
| 04:49.07 | cladhaire | have a good night |
| 04:49.08 | Tain | It's so sad that Ron dies at the end though. :( |
| 04:50.59 | Osagasu | "Why so tense, Potter? My father and I have a bet, you see. I don't think you're going to last ten minutes in this tournament. He disagrees. He thinks you won't last five!" |
| 04:51.38 | Osagasu | I woulda had ferret meat if I were Mad-Eye |
| 04:52.20 | Cair | night Clad |
| 04:54.24 | Cide | night everyone |
| 04:54.44 | Cair | night Cide |
| 04:55.57 | *** join/#wowi-lounge Devla (n=chatzill@69.49.156.29) |
| 04:56.02 | Devla | err hi |
| 04:56.21 | Devla | my name is devla and I'm an alcoholic |
| 04:56.21 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 04:56.26 | kremonte | :( |
| 04:56.46 | Cair | Devla!!!!! |
| 04:56.53 | Tain | I'm not an alcoholic. I can stop anytime the bottle is empty. |
| 04:57.07 | Devla | at least my words won't be edited here :p |
| 04:57.33 | Cair | They wouldn't be at WoWI, either |
| 04:57.40 | Devla | how does one hug someone to bits |
| 04:57.57 | Cair | dunno, for a while ;) |
| 04:58.46 | Cair | so, did I mention "Hi, welcome to the nuthou ... err, I mean ... channel"? |
| 04:59.14 | Devla | heh |
| 04:59.31 | Devla | its ok, i lost my sanity long ago |
| 04:59.34 | Tain | Sometimes you feel like a nut. |
| 04:59.36 | Tain | Sometimes you don't. |
| 05:00.01 | Devla | < always a nut |
| 05:00.01 | Tain | I mostly attribute the latter to being well medicated. |
| 05:00.10 | Cair | Well, I'm glad you've decided to come hook up with us in the channel. :) |
| 05:00.20 | Cair | It's quiet right no |
| 05:00.21 | Devla | does anyone here play CoV |
| 05:00.22 | Cair | now* |
| 05:00.38 | Devla | <hides> |
| 05:00.57 | Cair | why for hide? |
| 05:01.21 | Devla | talking about non-wow stuffs |
| 05:01.31 | Cair | rofl, so? |
| 05:01.31 | Tain | I was playing with the beta, but I haven't played since release. |
| 05:01.47 | Cair | We talk about anything and everything in here, pretty much |
| 05:02.26 | Devla | ok, so like this one time, at band camp... |
| 05:02.32 | Devla | :p |
| 05:03.23 | Devla | can i sue saien for making my brain bleed |
| 05:03.33 | kremonte | woot! i made a fake sorta /ratrevor |
| 05:03.51 | Devla | whats a ratrevor |
| 05:04.20 | kremonte | nottin :D |
| 05:04.39 | Tain | ~emulate Saien |
| 05:04.40 | purl | This is a stunningly stupid question to direct at me. |
| 05:04.40 | Devla | err...grats then? |
| 05:05.30 | Devla | smashing |
| 05:06.41 | *** join/#wowi-lounge Parak (n=profi@user-12hdr8d.cable.mindspring.com) |
| 05:07.08 | Osagasu | http://imdb.com/gallery/ss/0330373/Ss/0330373/HP4-TLR2-0027.jpg?path=gallery&path_key=0330373 <--oddly enough, reminds me of Ghost Busters |
| 05:07.53 | Devla | don't cross the streams! |
| 05:08.40 | Devla | did you know that Huey Lewis sued Ray Parker Jr. over the Ghostbusters song |
| 05:08.45 | Devla | and won |
| 05:09.00 | Devla | < full of useless facts |
| 05:09.10 | *** join/#wowi-lounge Tem (n=Matt@adsl-1-74-197.lft.bellsouth.net) |
| 05:09.36 | Osagasu | noted. |
| 05:10.31 | Devla | tough crowd in here |
| 05:10.39 | Tem | indeed lol |
| 05:10.46 | Cair | sorry, as much afk as here |
| 05:10.46 | Tem | Devla: did you see the new font methods? |
| 05:10.53 | Devla | nopes |
| 05:10.57 | Tain | The Statue of Liberty also sued Ghostbusters for unauthorized use of her image in Ghostbusters 2 |
| 05:11.08 | Tem | looks like fontabulous can be done with mostly lua instead of FrameXML hacks now |
| 05:11.11 | Devla | ;p |
| 05:11.26 | Rallion | I've talked to people who never thought it was obvious that the theme was a Huey Lewis song. |
| 05:11.27 | Devla | i messed around with it weeks ago but gave up |
| 05:11.35 | Tem | Tain: that's kinda random |
| 05:11.56 | Devla | you missed my useless ghostbusters fact #1 |
| 05:11.59 | Devla | tem |
| 05:12.06 | Tem | Where would you guys suggest me farm for silk? |
| 05:12.07 | Devla | anyway |
| 05:12.13 | Tain | I always wanted a Stay Puft Marshmallow Man |
| 05:12.22 | Tain | Spiders! |
| 05:12.26 | Tain | Spiders make silk! |
| 05:12.31 | Devla | silk cloth? |
| 05:12.31 | Tem | not that kind of silk |
| 05:12.34 | Tem | silk cloth |
| 05:12.48 | Cair | hey! |
| 05:12.50 | Devla | kolkar in 10k |
| 05:12.51 | Devla | ? |
| 05:12.54 | Tain | erm sweatshops in Cambodia? |
| 05:13.03 | Cair | I just remembered what ToastThief used to go by :p |
| 05:13.05 | Tem | Tain: no! bad tain |
| 05:13.11 | Tem | Random |
| 05:13.13 | Cair | Yeah |
| 05:13.15 | Devla | lol |
| 05:13.27 | Cair | He was trying to remember, and none of us could :p |
| 05:13.28 | Tain | Hey! Did you hear that Gary Glitter is on the run from police in Vietnam? |
| 05:13.45 | Tem | I think he only went with Toast because "Random" is already registered on this server |
| 05:13.51 | Tain | Does anyone know who Gary Glitter is... |
| 05:14.06 | Tem | Tain: Signal to noise |
| 05:14.12 | Rallion | i silkfarm in SM. |
| 05:14.22 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 05:14.22 | futrtrubl | interesting... the addons button in my char selection screen just disappeared |
| 05:14.25 | Tem | Rallion: that's what I was thinking |
| 05:14.42 | Tain | That's been happening since the last patch, futrtrubl |
| 05:15.00 | Tem | futrtrubl: your name screws with my brain |
| 05:15.03 | Tain | For me it comes back if I hit the server select, and go back to my server. |
| 05:15.15 | Tain | Some people say you have to log out entirely. |
| 05:15.25 | futrtrubl | change server worked for me |
| 05:15.37 | Tain | It is pretty annoying though. |
| 05:15.37 | futrtrubl | thanks tain |
| 05:16.05 | futrtrubl | it is indeed, and here I was thinking that the people complaining about it were doing something wrong ;'] |
| 05:16.05 | Tem | I've never had that happen. I wonder what causes it |
| 05:16.27 | Tem | ~seen slouken |
| 05:16.33 | purl | slouken <n=slouken@ip68-5-42-243.oc.oc.cox.net> was last seen on IRC in channel #wowi-lounge, 3d 22h 22m 43s ago, saying: 'only briefly. I'm drowning in chat, so I think I'm going to get some sleep. :)'. |
| 05:16.34 | futrtrubl | do you know what my name means Tem? |
| 05:16.42 | Tain | It was something from the last patch, a bunch of people have complained about it. |
| 05:16.46 | Tem | futrtrubl: nope, but I'd like to know |
| 05:16.59 | futrtrubl | ~emulate futrtrubl |
| 05:17.00 | purl | what DOES my name mean anyway? the world may never know |
| 05:17.02 | Tain | It never happens it seems on the first login, it's if you log out of your character. |
| 05:17.25 | Tem | so, um |
| 05:17.30 | Tem | what does your name mean? |
| 05:17.39 | futrtrubl | that was guiloteens gift ;'] |
| 05:17.54 | Tem | ~emulate me |
| 05:17.55 | purl | ACTION asks people to act like her. Talk about crazy |
| 05:18.05 | futrtrubl | my name stems from my wannabe hacker script kiddie days, and it is leet for future trouble ;'] |
| 05:18.06 | Tem | Abuuh? |
| 05:18.17 | Rallion | lol I figured that out |
| 05:18.18 | Tem | ~literal emulate tem |
| 05:18.19 | purl | "emulate tem" is "<reply> Dammit, that's it. I'm breaking a new [something]!" |
| 05:18.49 | Tem | someone changed my emulate |
| 05:18.54 | futrtrubl | emulate me has been defined and so overrides the emulate |
| 05:18.55 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 05:18.57 | Tem | ~factinfo emulate tem |
| 05:18.57 | purl | emulate tem -- last modified 2d 8h 16m 42s ago by Guillotine!n=Guilloti@63.203.120.57; it has been requested once, last by Guillotine, 2d 8h 16m 32s ago. |
| 05:19.00 | futrtrubl | gul again ;'] |
| 05:19.04 | Devla | emulate is overrated |
| 05:19.12 | futrtrubl | guil* again |
| 05:19.29 | futrtrubl | ~factinfo emulate me |
| 05:19.29 | purl | emulate me -- last modified 10h 24m 59s ago by Guillotine!n=Guilloti@63.203.120.57; it has been requested 3 times, last by Tem, 1m 34s ago. |
| 05:20.04 | Tem | guillotine broke it |
| 05:20.05 | kremonte | i broke my game :( |
| 05:20.10 | Tain | ~emulate tain |
| 05:20.11 | purl | Why the hell am I still sober? |
| 05:20.19 | Tain | But purl, I'm not. |
| 05:20.25 | Devla | cheap beer? |
| 05:20.27 | Tem | emulate me is supposed to replace "me" with the talker's name |
| 05:20.41 | Tain | Yeah, someone broke it. |
| 05:20.47 | Tem | guillotine did |
| 05:20.50 | Tem | I shall fix it |
| 05:21.01 | kremonte | how would you fix that :o |
| 05:21.25 | Tem | ~literal emulate kergoth |
| 05:21.26 | purl | "emulate kergoth" is "<action> wields a mean polished, spiked cluebat||<action>hacks on bitbake, OpenEmbedded, OpenZaurus, and other projects||<reply>Ooh look, shiny! Erm, I know I was supposed to be doing something. I wonder what it was || <action> hmmms. || <reply> $who: Why don't you leave, and come back when you've got some clue?" |
| 05:21.36 | Tain | Actually it was before that, guillotine was trying to fix it if he could. |
| 05:21.39 | kremonte | ~literal emulate me |
| 05:21.40 | purl | "emulate me" is "<action> asks people to act like her. Talk about crazy" |
| 05:21.46 | kremonte | bah |
| 05:21.49 | kremonte | he did break it |
| 05:21.52 | Tem | purl, no emulate me is <reply> see emulate $who |
| 05:21.53 | purl | Tem: okay |
| 05:22.01 | Tem | ~emulate me |
| 05:22.02 | purl | Dammit, that's it. I'm breaking a new [something]! |
| 05:22.06 | Tem | bam |
| 05:22.09 | Tain | yay |
| 05:22.09 | kremonte | nice |
| 05:22.33 | Devla | my brain hurts |
| 05:22.34 | kremonte | didn't know you can do "see" |
| 05:22.43 | Tem | yeah it's how we did emulate stewie |
| 05:22.49 | Tem | ~literal emulate stewie |
| 05:22.50 | purl | "emulate stewie" is "<reply> see emulate stewie1 || <reply> see emulate stewie2" |
| 05:22.54 | Cair | Devla, did you see my response to your PM? |
| 05:23.29 | kremonte | ~emulate stewie |
| 05:23.30 | purl | Yes, I rather like this God fellow. He's very theatrical, you know, a pestilence here, a plague there. Omnipotence. Gotta get me some of that. |
| 05:23.58 | Tem | mmm stewie is funny |
| 05:24.58 | Tem | o well off to grind for my robe |
| 05:26.51 | futrtrubl | RememberMyGoddamnNameplates addon is finnished ;'] |
| 05:27.46 | futrtrubl | Hew control that thing. |
| 05:27.51 | futrtrubl | Hey* |
| 05:30.20 | Devla | ack! yes i saw it |
| 05:30.37 | Cair | okay |
| 05:30.56 | Cair | Well, you know you are welcome *any* time at all ... in a heartbeat |
| 05:31.05 | Devla | tyvm |
| 05:31.46 | Cair | And they still are ... it was conversation in this channel that made me know that they still are |
| 05:32.08 | Devla | i dunno i'm just disgusted, i'll leave it at that |
| 05:32.16 | Cair | *nod* |
| 05:32.26 | Devla | just know that its not my doing |
| 05:32.49 | Cair | I know |
| 05:33.12 | kremonte | hmm, hooking the chat frame isnt working |
| 05:33.25 | kremonte | copy/pasted from ctra, not sure what i missed =X |
| 05:34.09 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 05:39.51 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 05:52.45 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 05:55.46 | *** join/#wowi-lounge Iriel (n=daniel@adsl-66-123-190-42.dsl.sntc01.pacbell.net) |
| 05:56.02 | Cair | wb Iriel :) |
| 05:56.34 | Iriel | Hi again! |
| 05:57.14 | Tain | I have achieved... success. |
| 05:57.32 | Iriel | That sounds impressive, what was the success at ? |
| 05:57.42 | Tain | Auto Tracking Alerting addon. :) |
| 05:58.50 | *** join/#wowi-lounge duke|ib (i=dukeku@c-67-160-162-146.hsd1.or.comcast.net) |
| 05:58.52 | *** join/#wowi-lounge Nomad_Wanderer (n=NomadWan@cpe-66-67-110-36.rochester.res.rr.com) |
| 05:59.02 | Nomad_Wanderer | Howdy. |
| 05:59.15 | Cair | hi Nomad_Wanderer |
| 05:59.59 | Tain | Ok, I want to throw this version up right now, but I'm going to force myself to wait until tomorrow and actually polish it up. |
| 06:00.02 | Nomad_Wanderer | Is there a Local StringB = String.Trim(StringA); function? |
| 06:00.21 | Nomad_Wanderer | Whats the best way to get rid of leading and trailing spaces in strings? |
| 06:01.03 | Tain | Lua pattern matching, which takes a bit to figure out. |
| 06:01.28 | Codayus | Tain: Oh? I'd be interested in testing that. :-) |
| 06:01.45 | Iriel | string.gsub(stringA, "^%s*(.-)%s*$", "%1") |
| 06:01.47 | Iriel | I think |
| 06:01.55 | Nomad_Wanderer | ?!?! |
| 06:01.57 | Tain | heh |
| 06:02.00 | Tain | http://www.lua.org/manual/5.0/manual.html#5.3 |
| 06:02.12 | Iriel | from my cut buffer: http://www.lua.org/manual/5.0/manual.html#5.3 |
| 06:02.14 | Iriel | 8-) |
| 06:02.16 | Tain | That'll tell you all about string manipulation in lua! |
| 06:02.18 | Nomad_Wanderer | I'm reading that exact page :) |
| 06:02.24 | Tain | confusing, isn't it? :) |
| 06:02.47 | Codayus | And to think - I've seen people insult *perls* syntax... :-) |
| 06:02.59 | Tain | It's taken me weeks of reading it over and over again and seeing peoples examples, and testing myself to get a small handle around it. |
| 06:03.00 | Nomad_Wanderer | It is.. the pattern part is not entirely clear at first. |
| 06:04.36 | Codayus | Hmm, actually, that syntax isn't too bad... |
| 06:04.41 | Tain | Iriel's example looks right, or at least a good start. '^' matches the beginning of the string you'r elooking for, '%s' matches spaces, so '^$s*' should match any spaces. |
| 06:05.14 | Iriel | The .- in the middle is a non-greedy match, so that you get the spaces at the end taken off |
| 06:05.20 | Iriel | if you put .* in the middle you'd find it didn't work |
| 06:05.23 | Tain | Oh hell I was going to explain everything as best I could but I've been drinking a lot and probably shouldn't. |
| 06:06.06 | Codayus | Yeah, looks right. I find lua's choice of operators dubious and inelegant...but that looks simple enough... |
| 06:10.18 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 06:14.43 | Nomad_Wanderer | Another question about patterns.. is the example in the Lua Doc right? s = "hello world from Lua"; for w in string.gfind(s, "%a+") do; t[k] = v; end; prints out 1 word of the string per line? In the second arg of gfind, are you specifying the token/delimiter, or the contents of the matching pattern? I think it's the latter.. am I right? |
| 06:15.50 | Iriel | the latter, yes |
| 06:16.10 | Iriel | you can even put captures into the pattern and it'll return all of those |
| 06:16.26 | Nomad_Wanderer | Whoa.. watch it. my brain might melt :) |
| 06:16.39 | Iriel | but with no captures, it defaults to the pattern you match |
| 06:16.49 | Nomad_Wanderer | I'm used to specifying the token... But I think I got it, as long as I'm using very simple patterns.. |
| 06:17.18 | Tain | Ok that's enough for me for tonight. Have a good one all! |
| 06:17.43 | Cair | night Tain |
| 06:17.47 | Iriel | g'night Tain |
| 06:19.25 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 06:34.05 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 06:40.03 | pfault | 20 man raid got wiped in ZG |
| 06:47.56 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 06:51.34 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 06:53.43 | Nomad_Wanderer | Am I allowed to do this? tell = {}; for i=1, v in string.gfind(arg1, "%a+") dotell[i] = v;end |
| 06:54.52 | Iriel | sure |
| 06:55.12 | Iriel | oh.. no.. sorry |
| 06:55.18 | Nomad_Wanderer | Hmm.. okay.. I'll keepdebugging.. something else might be ... |
| 06:55.22 | Nomad_Wanderer | okay.. whats the problem? |
| 06:55.30 | Iriel | you tricked me there with the i=1 bit 8-) |
| 06:55.35 | Nomad_Wanderer | :) |
| 06:56.13 | Iriel | try tell={}; local i=0; for v in string.gfind(arg1,"%a+") do i=i+1; tell[i]=v; end |
| 06:56.22 | Iriel | or |
| 06:56.43 | Iriel | try tell={}; for v in string.gfind(arg1,"%a+") do table.insert(tell, v); end |
| 06:57.15 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 07:02.58 | Nomad_Wanderer | Hehehe. Your manually incrementing I.. it works though.. I'll take t. |
| 07:03.02 | Nomad_Wanderer | it |
| 07:03.43 | Iriel | well, table.insert is handy if you dont want to mess with an index |
| 07:04.31 | Nomad_Wanderer | Indeed. I forgot about that too :) |
| 07:11.26 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 07:22.02 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 07:27.18 | Nomad_Wanderer | Iriel? |
| 07:27.30 | Iriel | aye? |
| 07:27.41 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 07:27.45 | Nomad_Wanderer | There isn't a String.InitCaps() is there? |
| 07:27.50 | Nomad_Wanderer | I didn't think so. |
| 07:27.59 | kergoth | lua.org |
| 07:28.00 | kergoth | documentation |
| 07:28.02 | kergoth | read up |
| 07:28.13 | Iriel | You'd need to get creative with string.gsub |
| 07:28.35 | Nomad_Wanderer | Okay.. more pattern stuff then :) |
| 07:29.48 | Nomad_Wanderer | What about a normal sub that took the first char and passed it into upper, and another sub that took the remainder and passed it into lower? |
| 07:29.55 | Nomad_Wanderer | I think that could work. |
| 07:30.34 | Iriel | You could do one pattern that captures the first character, and then the rest of the string |
| 07:30.59 | Nomad_Wanderer | would it be more efficient using the pattern/captures than the subs? |
| 07:31.31 | Iriel | it depends on whether you're doing the whole string, or each word separately |
| 07:32.09 | Iriel | i.e. is it "iriel" -> "Iriel" or is it "this is a string" to "This Is A String" ? |
| 07:32.29 | Nomad_Wanderer | It's one word.. My DKP list has the names in InitCaps, but most people are not going to put things in init when they /w me, I want to take their input, pass it to lower, and then upper the first char, then look it up in the Multi-layer DKP bag. |
| 07:32.47 | Iriel | then subs should be fine |
| 07:32.52 | Nomad_Wanderer | Cool Thanks! |
| 07:32.55 | Iriel | just make sure it works for 1 letter names without breaking 8-) |
| 07:34.31 | Iriel | Hey Kergoth, I've been looking at svk to solve a specific vendor issue at work, it has definite promise |
| 07:34.37 | Nomad_Wanderer | 1 letter names? :p that might be a little too much defense :) |
| 07:36.55 | kergoth | glad to hear it :) |
| 07:41.26 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 07:43.21 | pfault | we give up |
| 07:43.23 | pfault | she is so hard |
| 07:49.35 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 07:53.21 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 08:09.27 | Nomad_Wanderer | I'm sorry for all the questions It's starting to get late, and I just want to get this last bit done. To iterate over a bag, do you use table.foreach(table, f)? In the docs it says "Executes the given f over all elements of table. For each element, f is called with the index and respective value as arguments. If f returns a non-nil value, then the loop is broken, and this value is returned... |
| 08:09.29 | Nomad_Wanderer | ...as the final value of foreach." |
| 08:09.41 | Nomad_Wanderer | I think that means I have to build a two arg function to go with table.foreach |
| 08:10.17 | Iriel | Well, most people iterate just using for |
| 08:10.26 | Iriel | for key,value in pairs(tableName) do .. stuff .. end |
| 08:10.33 | Nomad_Wanderer | Pairs.... |
| 08:11.18 | Nomad_Wanderer | I see it.. I skipped right to the table minupulation part of the manual.. right over the basic commands :) |
| 08:11.20 | Nomad_Wanderer | thanks |
| 08:24.19 | kergoth | pfault: level 60 finally. |
| 08:24.25 | kergoth | first time |
| 08:24.28 | kergoth | :) |
| 08:25.03 | kergoth | titan xpstatus says the xp needed to level 60 is -6221 (-0.2%) |
| 08:25.04 | kergoth | hehe |
| 08:26.12 | Iriel | congratualations |
| 08:26.18 | Iriel | spelled correctly |
| 08:26.40 | kergoth | thanks :) |
| 08:28.59 | Nomad_Wanderer | Congrats! |
| 08:29.54 | Cair | congratulations kergoth :) |
| 08:31.41 | kergoth | it feels weird playing and not having to go get xp. |
| 08:32.09 | Iriel | logging out ANYWHERE is odd for a while too |
| 08:32.14 | Iriel | though I still use inns because i'm lazy |
| 08:32.17 | kergoth | hehe |
| 08:32.26 | kergoth | didnt think about that. that will be odd |
| 08:32.58 | kergoth | 90% of the time i astral recall back to org to check auctions and things before logging out anyway |
| 08:35.15 | Nomad_Wanderer | The thing I don't like is not being afraid any more. |
| 08:35.29 | Nomad_Wanderer | at 60, there are very few places in the outside world you are in danger. |
| 08:35.59 | Nomad_Wanderer | You can shrug off and run from just about anything. |
| 08:36.06 | Cair | night folks |
| 08:36.10 | kergoth | night cair |
| 08:36.13 | kergoth | sleep well |
| 08:42.44 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 09:01.46 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 09:03.36 | Iriel | Time for me to go sleep now too. |
| 09:03.38 | Iriel | Take care |
| 09:07.51 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 09:18.50 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 09:19.40 | Nomad_Wanderer | purl, sleep |
| 09:19.42 | purl | from memory, sleep is overrated, and a poor substitute for caffeine. |
| 09:19.47 | Nomad_Wanderer | I agree |
| 09:20.19 | kergoth | ~botsnack |
| 09:20.19 | purl | kergoth: :) |
| 09:28.42 | AnduinLothar | xchat is the best mac irc program btw cair|sleep |
| 09:29.47 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 09:30.40 | AnduinLothar | under 'server list' the channel auto join is simple (except u have to know the syntax for passwords if u use them) |
| 09:34.09 | AnduinLothar | ChatFrame_OnEvent is dangerous to replace hook carelessly kremonte, so be sure you understand what you're understand and run a grep on a few comm addons to see how they do it. the sky hook of 'processEvent' is it's hook and has a lot of comments if u want help |
| 09:34.28 | AnduinLothar | ^krem^afk |
| 09:34.58 | kremonte | im fake afk :po |
| 09:35.22 | kremonte | well i talked to cide about it, and from what i understood i did it right.. but it won't work |
| 09:35.28 | kremonte | i see all chat, but i want to hide my channels' |
| 09:35.39 | kremonte | i'll look at sky though, thanks |
| 09:35.53 | kremonte | only reason i'm not using it is that my mod is too small to warrant a library |
| 09:36.14 | AnduinLothar | that's what they all say |
| 09:36.25 | AnduinLothar | most of the ace addons are smaller than ace |
| 09:36.31 | kremonte | lol. it's less than 2kb :P |
| 09:36.35 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 09:36.36 | AnduinLothar | libraries are meant to be large |
| 09:37.02 | kremonte | all it does is play trevor.mp3 when someone says "trev" in the channel, and stops it when someone says "stop trev" |
| 09:37.07 | kremonte | (/ratrevor :D) |
| 09:37.26 | AnduinLothar | if you write a mini-library i'm seeing, people usually just cut and paste ur code, if it's not embeddable |
| 09:37.46 | AnduinLothar | just a test i assume |
| 09:37.51 | kremonte | yea pretty much |
| 09:37.57 | AnduinLothar | as otherwise u could use a normal chat channel |
| 09:37.58 | kremonte | i'm still learning, albeit late :P |
| 09:38.09 | kremonte | that's all it is now |
| 09:38.24 | kremonte | i just want to hook the function and hide all chat in it, auto join on load and auto leave when you quit |
| 09:38.39 | *** join/#wowi-lounge MoonWolf (i=MoonWolf@ip51ccaa81.speed.planet.nl) |
| 09:38.41 | AnduinLothar | right. then ur excuse for not using sky is really that u feel like writing the lib to learn how |
| 09:38.51 | kremonte | yea, i guess pretty much :) |
| 09:39.36 | AnduinLothar | you might figure out that working out all the bugs in a system that complex will take weeks, if not months. but i spose if u enjoy it.. |
| 09:39.58 | kremonte | lol, see it's not complex |
| 09:40.07 | kremonte | it's just joining, leaving, hiding it, and doing stuff on text :P |
| 09:40.24 | AnduinLothar | you also have to optimize it and document it if you want it publicly used |
| 09:40.35 | kremonte | publically used my arse :P |
| 09:40.44 | AnduinLothar | up to you |
| 09:40.59 | kremonte | i dont think theres any reasonable use to play magical trevo |
| 09:41.02 | kremonte | trevor* |
| 09:41.16 | AnduinLothar | sky is definitely more complicated than most addons require, i've thought about chopping it into smaller addons |
| 09:41.27 | kremonte | i'd dig it |
| 09:41.56 | AnduinLothar | but atm i'm doing that to Sea atm, so later perhaps |
| 09:42.02 | AnduinLothar | atm |
| 09:42.13 | AnduinLothar | ~atm |
| 09:42.14 | purl | rumour has it, atm is (Asynchronous Transfer Mode) A networking protocol designed to move multimedia data around with high reliability and speed. Some ISPs use ATM as the protocol for their backbones. at the moment At The Moment. an automated teller machine |
| 09:42.24 | kremonte | ~literal atm |
| 09:42.26 | purl | "atm" is "(Asynchronous Transfer Mode) A networking protocol designed to move multimedia data around with high reliability and speed. Some ISPs use ATM as the protocol for their backbones. at the moment At The Moment. an automated teller machine" |
| 09:42.34 | AnduinLothar | u lose |
| 09:42.37 | AnduinLothar | :P |
| 09:43.02 | kremonte | purl, no, atm is (Asynchronous Transfer Mode) A networking protocol designed to move multimedia data around with high reliability and speed. Some ISPs use ATM as the protocol for their backbones. at the moment At The Moment. an automated teller machine. "ATM" is also an acronym for "at the moment" |
| 09:43.04 | purl | kremonte: okay |
| 09:44.03 | AnduinLothar | that's redundant |
| 09:44.10 | kremonte | ? |
| 09:44.11 | AnduinLothar | "at the moment At The Moment. an automated teller machine. "ATM" is also an acronym for "at the moment" |
| 09:44.30 | kremonte | why is that in there |
| 09:44.32 | kremonte | lol |
| 09:44.41 | kremonte | ohhh |
| 09:44.46 | AnduinLothar | cause it was there to begin with :P |
| 09:44.49 | kremonte | wait wah |
| 09:44.53 | kergoth | people using the bot's "is also" to append content |
| 09:44.53 | kremonte | at the moment At The Moment. an automated teller machine" |
| 09:44.57 | kremonte | hm |
| 09:44.57 | kergoth | whose semantics have changed |
| 09:44.59 | kremonte | oh you know |
| 09:45.11 | kremonte | i think that's my irc script |
| 09:45.39 | kremonte | nope, no it's not |
| 09:45.44 | kremonte | i'm so confused /doh |
| 09:45.54 | kremonte | someone fix it so i don't break it more /cry |
| 09:46.55 | AnduinLothar | purl, no, atm is (Asynchronous Transfer Mode) A networking protocol designed to move multimedia data around with high reliability and speed. Some ISPs use ATM as the protocol for their backbones. "atm" is also an acronym for: at the moment; automated teller machine; a tall man... |
| 09:46.56 | purl | AnduinLothar: okay |
| 09:47.06 | kremonte | thanks :P |
| 09:49.11 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 09:49.50 | AnduinLothar | mmm iriel made a nice contribution to SeaHooks, nice to get more devs excited about optimizing a lib |
| 09:50.14 | kremonte | getting devs excited about anything is good :p |
| 09:50.47 | AnduinLothar | true, but i especially like colaborative projects |
| 09:51.47 | AnduinLothar | it feels good to help produce something successful, intuitively useful, efficient and well liked. |
| 09:52.05 | kremonte | :D |
| 09:54.51 | AnduinLothar | I've written over 20 addons, trust me I've experienced distast, abuse, thanks, whining, failure, success... I like being right. When someone likes your project enough to suggest good changes or even contribute with a posittive additude: that's the best |
| 09:55.29 | kremonte | ah yeah |
| 09:55.41 | kremonte | woot woot loading a 1.5gb file into memory, this should be fun |
| 09:56.00 | AnduinLothar | mpq? |
| 09:56.04 | kremonte | ya |
| 09:56.08 | kergoth | gah, fucking with my frames and accidentally generated a relative parenting cycle |
| 09:56.11 | kremonte | trying to find the file name of dreadsteed skin |
| 09:56.15 | kergoth | glad they're fixing that crash in 1.9 |
| 09:56.23 | kremonte | relative parenting cycle = w..ah? |
| 09:56.44 | kremonte | gah, working with php for 2 years has severely limited my knowledge of everything |
| 09:56.44 | kergoth | frame a's relative parent is frame b, frame b's relative parent is frame c, frame c's relative parent is frame a |
| 09:56.50 | kergoth | for example |
| 09:56.51 | kremonte | =| |
| 09:56.55 | kremonte | so |
| 09:56.56 | AnduinLothar | cant be as bad as debugging conflicts from 3 way circular dependancy |
| 09:56.58 | kremonte | none of them load |
| 09:57.04 | kremonte | and your game goes BOOM |
| 09:57.05 | kremonte | ? |
| 09:57.06 | kergoth | circular deps are easy |
| 09:57.16 | kremonte | aww! Run-time error'6' Overflow |
| 09:57.17 | kergoth | i've dealt with them in maintaining packages for just about every linux distribution in existance |
| 09:57.30 | kremonte | i just want the file name of this damn skin >_< |
| 09:57.33 | AnduinLothar | not if u dont know it's a circular dep problem |
| 09:57.52 | kergoth | it isnt a hard thing to check, unless you're blizzard |
| 09:57.55 | kergoth | ~lart blizzard |
| 09:58.04 | kergoth | ~botsnack |
| 09:58.04 | purl | kergoth: aw, gee |
| 09:58.28 | kremonte | does reloadui reload models/skins? |
| 09:58.43 | AnduinLothar | yes |
| 09:58.57 | kergoth | their SV outputter / table serializer isnt safe against cycles either, and the damn example serializer code _in the lua docs_ shows how to protect against that |
| 09:59.37 | AnduinLothar | which is why /eval ChatFrame1 used to crash wow |
| 10:00.01 | kremonte | wow seriously. technical chat has never made me so confused |
| 10:00.18 | AnduinLothar | heh |
| 10:00.38 | AnduinLothar | u follow that conversation of me and iriel erlier about hooks and scoping? |
| 10:00.46 | kremonte | i dont know wtf scoping is |
| 10:00.48 | kremonte | :( |
| 10:00.56 | kergoth | :( |
| 10:01.00 | kergoth | learn! |
| 10:01.02 | kergoth | :D |
| 10:01.15 | kremonte | i dont even know what its related to, so i dont know where to start :/ |
| 10:01.25 | kremonte | in other news, my dreadsteed is now the tauren cat form |
| 10:01.28 | kergoth | wikipedia is your friend |
| 10:01.37 | AnduinLothar | local i="hi"; for i=1,10 do print(i); end print(i); |
| 10:01.49 | kergoth | http://en.wikipedia.org/wiki/Scope_%28programming%29 |
| 10:01.51 | AnduinLothar | would print 1,2,3,4,5,6,7,8,9,10,hi |
| 10:02.02 | kergoth | kremonte: read that link |
| 10:02.05 | AnduinLothar | because the second i is scoped to the for loop |
| 10:02.06 | kremonte | i am :) |
| 10:02.22 | AnduinLothar | and the first i is scoped to the containing function |
| 10:02.31 | kremonte | i'm beginning to see the wiki <3 tho |
| 10:02.33 | AnduinLothar | i use both |
| 10:02.35 | kergoth | then use google to search wikipedia |
| 10:02.36 | kergoth | :) |
| 10:02.41 | kremonte | see you just confused me! |
| 10:02.46 | kergoth | wikipedia is a community maintained encyclopedia |
| 10:02.50 | kergoth | it is not a web page search engine. |
| 10:04.19 | AnduinLothar | google search text: "site: http://en.wikipedia.org/ your search string" |
| 10:04.29 | kremonte | i know that :P |
| 10:04.39 | kremonte | never used wikipedia tho really |
| 10:05.12 | AnduinLothar | good if u want info rather than oppinnions and examples |
| 10:05.47 | AnduinLothar | sometimes has good links at the bottom |
| 10:05.52 | AnduinLothar | sometimes pics |
| 10:05.58 | AnduinLothar | but best at info |
| 10:06.04 | kergoth | its great for all sorts of things. i've learned a lot of programming concepts which i wasnt familiar with, lacking formal education in that area |
| 10:06.16 | kergoth | encyclopedias are our friends |
| 10:06.28 | kergoth | electronic ones even more so, rather than ponderous books |
| 10:06.34 | AnduinLothar | i have formal education, but i tend to learn most things in practice before they teach it to me :/ |
| 10:06.50 | kremonte | i cant have formal education, my school doesnt offer past vb :( |
| 10:06.55 | kremonte | which im taking next semester |
| 10:07.41 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 10:07.54 | kergoth | i'm a college dropout working as a professional programmer in the embedded linux arena |
| 10:08.03 | AnduinLothar | ah, i'm in the only school on the west coast if not the us with a School of Information and Computer Science not just a department |
| 10:08.03 | kergoth | everything i know has been self taught and open source project work |
| 10:09.39 | AnduinLothar | got a >$10 million 'anonymous' (just means he doesn't get his name on a building or school) grant to found the school at UCI a couple years ago |
| 10:10.03 | AnduinLothar | started with just an ICS major, now has 4 or 5 majors |
| 10:12.11 | kremonte | well ill try to understand this when im less tired |
| 10:12.12 | kremonte | nn |
| 10:12.27 | AnduinLothar | I got in cause it was my safty school i was guerenteed admission to.. aplied at harvey mudd, cal tech and berkley and they all turned me down. I was pretty sad, but when a school of ICS was founded the year i was accepted I was like "wow, God must know what he's doing.." |
| 10:13.34 | AnduinLothar | must be those 'mysterious ways' |
| 10:20.58 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 10:24.23 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 10:38.22 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 10:47.54 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 10:50.56 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 11:01.04 | AnduinLothar | if i'm using red (FF0000) for errors, what's a good warning orange color? |
| 11:06.03 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 11:10.27 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 11:11.31 | *** join/#wowi-lounge Industrial (n=tom@hellsblade.xs4all.nl) |
| 11:18.52 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 11:28.23 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 11:40.22 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 11:55.27 | *** join/#wowi-lounge shouryuu (n=nicolass@29.239.97-84.rev.gaoland.net) |
| 11:55.32 | shouryuu | rawr |
| 11:56.23 | Industrial | lo |
| 11:58.15 | shouryuu | ok |
| 11:58.29 | shouryuu | is there even anything REMOTTLY wrong with this toc |
| 11:58.44 | shouryuu | http://pastebin.com/435259 |
| 11:59.04 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 12:05.33 | AnduinLothar | dont need comam after end of SavedVariables |
| 12:05.38 | AnduinLothar | comma* |
| 12:06.08 | AnduinLothar | and NamesTable and editBox are horrable global names |
| 12:09.47 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 12:10.07 | krem`afk | what is a loto, shouryuu =O |
| 12:10.10 | krem`afk | ~dict loto |
| 12:10.22 | krem`afk | oh, lotto? |
| 12:10.40 | AnduinLothar | EU spelling |
| 12:10.48 | krem`afk | ohh |
| 12:11.39 | shouryuu | hehe |
| 12:12.02 | shouryuu | I can't get these variales to save it's killing me |
| 12:12.12 | shouryuu | I can't get an onEvent function to fire |
| 12:14.22 | shouryuu | meh nvm |
| 12:17.06 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 12:28.38 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 12:32.12 | *** join/#wowi-lounge Grumpey (i=icechat5@norfolk-209-163-97-223.dynamic-dialup.coretel.net) |
| 12:34.53 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 12:42.20 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 12:46.30 | AnduinLothar | mmm, with this hook diagnostic debug for SeaHooks it should make identifying conflicts super easy |
| 12:52.58 | AnduinLothar | O.o |
| 12:55.25 | *** join/#wowi-lounge Trilian (n=Miranda@dyndsl-085-016-008-055.ewe-ip-backbone.de) |
| 13:03.23 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 13:07.37 | Amicester | mornin. |
| 13:07.44 | AnduinLothar | so it is |
| 13:08.25 | AnduinLothar | i think i tried to change too many things at once... hate when i do that |
| 13:08.31 | Amicester | Heh yeah. |
| 13:08.39 | AnduinLothar | takes 10x too long, cause i have to keep rereading my code |
| 13:08.53 | Amicester | If we had a nice testing sandbox it'd be a lot easier. |
| 13:09.30 | AnduinLothar | haven't ven gotten past coding to bug testing yet tho |
| 13:09.42 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 13:09.57 | Amicester | Yeah for me it entirely depends on what I'm writing. |
| 13:10.07 | Amicester | I write everything and make assumptions. |
| 13:10.11 | Amicester | And then correct for incorrect assumptions later. |
| 13:10.17 | Amicester | Otherwise I lose my flow. |
| 13:10.24 | AnduinLothar | same for me usually |
| 13:10.48 | Amicester | So long as you error check its quite easy to go back and "Whoops I guess this doesn't return X" |
| 13:11.01 | AnduinLothar | wanna-be efficient code atm... 100 line long self debugging hook function |
| 13:11.03 | Amicester | But then again all of my projects are independet. |
| 13:11.10 | Amicester | +n |
| 13:11.24 | AnduinLothar | +n? |
| 13:11.29 | AnduinLothar | ah |
| 13:11.31 | Amicester | I missed an n in indepedent. |
| 13:11.32 | AnduinLothar | nm |
| 13:11.41 | Amicester | gr nm its too early to start correcting typos haha. |
| 13:11.43 | Amicester | I'll be at it all day. |
| 13:11.54 | AnduinLothar | right, just not used to that notation for chat correction |
| 13:11.59 | Amicester | So you're embedding some form of tracing logic in the hook? |
| 13:12.55 | Amicester | or you're looking over someone elses? |
| 13:12.59 | AnduinLothar | it's hopefully simple logic that only runs if you have the debug global var enabled that will print out either simply error messages or verbose progress indicators and warnings |
| 13:13.36 | Amicester | ah. |
| 13:13.39 | AnduinLothar | and it's a master hook regulation/registration addon |
| 13:13.55 | Amicester | so in theory it should still be efficient as before in non-debug mode then. |
| 13:14.10 | AnduinLothar | for 1 line, VERY flexible, compatible and hopefully efficient code |
| 13:14.14 | AnduinLothar | right |
| 13:14.57 | AnduinLothar | cept it does end up checking that debug var a LOT. i might have to just sepperate it into a debug and a non-debug func |
| 13:15.08 | AnduinLothar | and just diferentiate at the beginning |
| 13:15.12 | Amicester | hm. |
| 13:15.33 | AnduinLothar | but for the time being i dont want to fork it till it works |
| 13:15.49 | Amicester | but a standard condition shouldn't warrant that much performance change even if it is called a lot. |
| 13:16.13 | AnduinLothar | theoreticly no, but it is a global and not a local... |
| 13:16.57 | AnduinLothar | and it's being checked at least 7 times + however many hooks there are * 2 |
| 13:17.08 | Amicester | hm. |
| 13:17.26 | AnduinLothar | generally speaking that's less than 10 |
| 13:17.29 | Amicester | Yeah thats kind of out of my scope, I never have much issue with performance because everything I do is entirely local and independent of everything else. |
| 13:17.51 | AnduinLothar | right, performance is critical in libs |
| 13:17.59 | AnduinLothar | it must be Perfect |
| 13:18.09 | Amicester | Otherwise it defeats the purpose in the first place. |
| 13:18.16 | AnduinLothar | which is what makes it a challenge that i enjoy :) |
| 13:18.24 | Amicester | indeed. |
| 13:18.47 | AnduinLothar | sometimes i forget where i was when coding so i run it to find the error msg line :) |
| 13:19.06 | Amicester | heh yeah. |
| 13:19.09 | Amicester | if ( |
| 13:19.12 | Amicester | oop that must be it. |
| 13:19.17 | AnduinLothar | and work backwards |
| 13:19.33 | AnduinLothar | well, it's not usually that obvious, but ya, sometimes |
| 13:19.42 | Amicester | I have difficulties stopping if I'm not complete with something, but thats probably why I work on small things that I can usually wrap up in one sitting. |
| 13:19.59 | Amicester | It would just bug me ... every moment I wasn't finishing it. |
| 13:20.04 | AnduinLothar | oh man.. i have exactly the same problem |
| 13:20.12 | AnduinLothar | becomes obsessive |
| 13:20.19 | Amicester | But in certain situations you have to stop. |
| 13:20.22 | AnduinLothar | which is why i'm up at 5am |
| 13:20.24 | Amicester | And I've had to, its tough stopping and starting. |
| 13:20.38 | Amicester | Thats why I'm glad that my professional position doesn't involve large development projects. |
| 13:20.58 | *** join/#wowi-lounge Ro (n=chatzill@pool-70-16-108-139.port.east.verizon.net) |
| 13:20.59 | Amicester | My work position doesn't require me to actually code at all, but I do to make things to make my job easier. |
| 13:21.08 | Amicester | So that's a nice relief. |
| 13:21.19 | Amicester | Some of the developers where I work are cracked out. |
| 13:21.22 | Amicester | Day in, day out, start, stop. |
| 13:21.26 | Amicester | Years on end. |
| 13:21.31 | Amicester | that'd drive me insane. |
| 13:21.39 | AnduinLothar | it's so bad when i'm working on something and either have class or hw i need to do. quality of non project work goes out the window and attention span drops to zero when not concerning the project. |
| 13:21.53 | Amicester | Yeah I can see that. |
| 13:22.00 | Amicester | You're just trying to get it out of the way so you can work on what you want to. |
| 13:22.15 | *** part/#wowi-lounge Ro (n=chatzill@pool-70-16-108-139.port.east.verizon.net) |
| 13:22.35 | AnduinLothar | i go to class so i don't feel too guilty, but most of the time i'm thinking about the project or planning it on paper |
| 13:22.49 | Amicester | So the debug variable itself is not local to the lib? |
| 13:23.11 | Amicester | Seems weird to me that outside components would need access to it. |
| 13:23.12 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 13:23.21 | *** join/#wowi-lounge Trilian (n=Miranda@dyndsl-085-016-008-055.ewe-ip-backbone.de) |
| 13:23.31 | AnduinLothar | nah, haven't figured out if i can do that with an embedded, possibly duplicated lib.... |
| 13:23.39 | Amicester | ah. |
| 13:24.26 | Amicester | So are you going to have the situation where mod authors include it with their addon and multiples could be loading and you load the most recent one kind of situation? |
| 13:24.36 | AnduinLothar | ya |
| 13:24.47 | Amicester | Whew. Yeah thats a whole can of worms I don't ever wanna touch =P |
| 13:24.58 | kremonte | http://dan-rouse.com/rightathome.jpg |
| 13:24.58 | kremonte | :P |
| 13:24.59 | Amicester | But I will inevitably. |
| 13:25.15 | Amicester | heh. |
| 13:25.24 | AnduinLothar | ya. seems too many people are anti-library for them to be globally effective |
| 13:25.37 | AnduinLothar | i'm trying to make this very critical one more attractive |
| 13:25.47 | Amicester | I'm not anti-library, I just don't need them usually. If I ran into a complex situation where it would make something I'm doing a lot easier, hell yeah I'd use it |
| 13:26.03 | Amicester | But you know that goes back to that I just do small simple stuff. |
| 13:26.32 | AnduinLothar | to programmers by efficiency, simplicity, self conflict debugging, embedability requiring 2 line install... |
| 13:26.42 | Amicester | When its so small, I'd feel bad double the size of it to use a lib. |
| 13:27.01 | Amicester | In most situations the lib would be longer than my addon heh. |
| 13:27.11 | kremonte | lol, i JUST said that before |
| 13:27.27 | AnduinLothar | and to the public by name as well as the ability to allow them to be ignorent of the embed if the author decides |
| 13:27.36 | Amicester | Yeah embedding is a good idea. |
| 13:27.39 | Amicester | I like that over dependency. |
| 13:27.43 | Amicester | Because I don't like to install other shit. |
| 13:27.47 | Amicester | If you just install it, but don't tell me. |
| 13:27.49 | Amicester | I'm cool with that. |
| 13:27.51 | Amicester | =P |
| 13:27.52 | AnduinLothar | right, common sentiment |
| 13:28.06 | kremonte | embed=? |
| 13:28.13 | AnduinLothar | one reason why linux isn't more popular |
| 13:28.33 | kremonte | wow, linux is a perfect example :o |
| 13:28.40 | Amicester | Yeah. Its suffering from unembedded library syndrome. |
| 13:28.48 | AnduinLothar | peopel hate installing dependancies. |
| 13:28.50 | kremonte | speaking of which, i still don't know of a good distro to start out using |
| 13:28.53 | Amicester | When you go to compile tsomething and there are a list of 15 |
| 13:29.03 | AnduinLothar | devs dont want the users to hate by association |
| 13:29.08 | Amicester | "Requires this lib" That lib, the other lib, some weird lib, lib 2.4.1 NOT 2.4.3a |
| 13:29.18 | Amicester | its just like AUGH! |
| 13:29.40 | AnduinLothar | even if u have an automatic installer for the libs it is percieved by the user to take longer |
| 13:29.51 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 13:29.56 | Amicester | What the user doesn't know doesn't hurt them. |
| 13:30.01 | Amicester | Fake it up a little bit. |
| 13:30.01 | Amicester | =P |
| 13:30.02 | AnduinLothar | usually |
| 13:30.07 | Amicester | Well |
| 13:30.08 | kremonte | any ideas on a distro to start out using? that's not too painful, but not easy mode =O |
| 13:30.09 | Amicester | unless you're name is Sony. |
| 13:30.20 | Amicester | your |
| 13:30.26 | AnduinLothar | i don't use linux... |
| 13:30.36 | Amicester | I haven't used it in quite some time. |
| 13:30.37 | AnduinLothar | i just command-line unix on my mac |
| 13:30.39 | kremonte | boo |
| 13:30.50 | AnduinLothar | I <3 good gui |
| 13:30.53 | kremonte | i dont want to punch my monitor again |
| 13:30.53 | Amicester | I used to use debian for desktop, and freebsd for server side mud stuff. |
| 13:30.54 | *** join/#wowi-lounge Ro (n=chatzill@pool-70-16-108-139.port.east.verizon.net) |
| 13:31.13 | Amicester | that goes back about 6 years though. |
| 13:31.19 | Amicester | So I have no idea what condition either are in now. |
| 13:32.09 | AnduinLothar | if it's not intuitive, flexible as well as functional and visually appealing it has failed in my book |
| 13:32.19 | AnduinLothar | which is why i use a mac |
| 13:32.33 | AnduinLothar | and am willing to pay more for the hardware |
| 13:32.35 | Amicester | eh I don't really care about how something looks heh. |
| 13:32.38 | Amicester | But if it is going to look like anything |
| 13:32.43 | Amicester | it'd better be intuitive and functional interface. |
| 13:32.51 | Amicester | If you can't make an intuitive and functional interface |
| 13:32.54 | Amicester | just keep it commandline =P |
| 13:33.00 | AnduinLothar | and yet u use windows? |
| 13:33.04 | Amicester | I'm entirely cool with commandline. |
| 13:33.14 | kremonte | i want a mac =( |
| 13:33.20 | Amicester | Windows works well after you spend ages getting it how you like it. |
| 13:33.33 | AnduinLothar | mmm, when did u last use OS X? |
| 13:33.39 | Amicester | Yesterday. |
| 13:33.46 | Amicester | I do lots of testing on macs at work. |
| 13:33.49 | Amicester | For web compatibility. |
| 13:33.58 | AnduinLothar | hmmm |
| 13:33.59 | Amicester | I learned to program pascal on mac back in the day =P |
| 13:34.05 | Amicester | I'd buy a mac. |
| 13:34.10 | Amicester | I can't afford one, but I'd buy one. |
| 13:34.26 | AnduinLothar | right. that's one of the two legal responses |
| 13:34.33 | Amicester | I have no problem with either or really. |
| 13:34.44 | AnduinLothar | ignorance or price |
| 13:34.46 | Amicester | Most of the software that I use, is windows, and that benefits me now. |
| 13:34.54 | Amicester | But there is lots I'd use on mac as well. |
| 13:35.02 | Amicester | Its just a matter of situation really. |
| 13:35.25 | AnduinLothar | sometimes |
| 13:35.28 | Amicester | I'm not one of those anti-mac people. |
| 13:35.48 | Amicester | I use them on a regular basis and they don't bother me. I wish some things were different, but you know you wish that about anything. |
| 13:35.53 | Amicester | Everyone always wishes it was tailored just for them. |
| 13:35.57 | Amicester | But thats something that takes time. |
| 13:36.08 | Amicester | When you own a machine you slowly tailor it to your liking. |
| 13:36.30 | AnduinLothar | right, those tend to be people who are either bitter that they can't afford one or ingorant having very little experience with them |
| 13:36.35 | Amicester | Because nothing is ever exactly as you want it, or you'd find no intrigue in buying it =P |
| 13:36.57 | AnduinLothar | mmm, utility is a big factor too |
| 13:37.01 | AnduinLothar | esp corprately |
| 13:37.22 | AnduinLothar | tho in corprate tast values less and price values more |
| 13:37.27 | AnduinLothar | taste* |
| 13:37.38 | Amicester | Yeah, cheap effective solution. |
| 13:38.08 | AnduinLothar | unfortunetly often times effection ~= effecient |
| 13:38.18 | AnduinLothar | wow, that was bad.. |
| 13:38.24 | Amicester | heh. |
| 13:38.26 | Amicester | effection. |
| 13:38.34 | AnduinLothar | effective ~= efficient |
| 13:38.42 | Amicester | yep. |
| 13:39.00 | Amicester | That is one thing I enjoy about using a mac. |
| 13:39.08 | Amicester | Is that since I myself don't own one, yet still use it on a regular basis. |
| 13:39.09 | AnduinLothar | effection is like a new word made up by an online dating service to rate similar people |
| 13:39.17 | Amicester | I have no trouble figuring stuff out because its intuitive. |
| 13:39.31 | Amicester | If I was a mac user, and using windows. |
| 13:39.33 | Amicester | I'd suffer horribly. |
| 13:39.39 | Amicester | Because windows is not very intuitive. It requires learning. |
| 13:39.54 | AnduinLothar | Sally has an E-ffection rating of 10 compared to your personal profile. |
| 13:39.58 | Amicester | hehehe. |
| 13:40.03 | Amicester | "personality profile" |
| 13:40.11 | AnduinLothar | ya |
| 13:40.14 | AnduinLothar | that |
| 13:40.15 | Amicester | and your number isn't nearly complex enough. |
| 13:40.22 | AnduinLothar | sry |
| 13:40.26 | AnduinLothar | 7.92 |
| 13:40.52 | Amicester | heh. |
| 13:41.01 | AnduinLothar | If I was a mac user, and using windows...I'd suffer horribly. ?¿? |
| 13:41.51 | AnduinLothar | u mean going from more to less intuitive, not having developed your skills at guestimating the programmer's intent? |
| 13:42.45 | Amicester | Yeah. |
| 13:42.53 | Amicester | You don't have to think "How would they have done this" on a Mac. |
| 13:42.57 | Amicester | Its generally "How would you do it" |
| 13:43.02 | AnduinLothar | probably why adults that grew up on a mac find it painful to use windows |
| 13:43.38 | AnduinLothar | windows user..."Demand more, expect less" |
| 13:43.47 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 13:43.55 | AnduinLothar | from the os anyway |
| 13:43.58 | Amicester | I've grown up around both. |
| 13:44.05 | AnduinLothar | so have i |
| 13:44.10 | Amicester | Though in my younger years I found macs to not be as functional. |
| 13:44.16 | Amicester | Simply because they didn't have the support. |
| 13:44.27 | Amicester | But that age is long since gone. |
| 13:44.34 | Amicester | And many people hang on to that situation. |
| 13:44.38 | Amicester | And its why they hate macs. |
| 13:44.47 | AnduinLothar | right |
| 13:45.24 | AnduinLothar | but if ur still stuff on that you prolly aren't the type to be tempted by an OS update every year either |
| 13:45.30 | AnduinLothar | stuck* |
| 13:45.38 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 13:45.38 | Amicester | Yeah the whole purchasing an os update bothers me. |
| 13:46.09 | AnduinLothar | ya, it does to me too, least for some upgrades, i still haven't bought 10.4 |
| 13:46.10 | Amicester | I mean having no experience with it I can't really say. |
| 13:46.33 | AnduinLothar | 10.3 was DEFINITELY worth is over any of the previous OS X's |
| 13:46.39 | AnduinLothar | worth it* |
| 13:46.44 | Amicester | When you have as many problems as microsoft, you just have to give out the upgrades for free. |
| 13:47.05 | Amicester | and its not like they can't afford to. |
| 13:47.25 | AnduinLothar | but I just wasn't as excited by 10.4 I would love it, but i wasn't working till recently so money was a premium |
| 13:47.49 | AnduinLothar | spotlight is it's main draw |
| 13:48.07 | AnduinLothar | hear it's a tad faster too |
| 13:48.36 | AnduinLothar | but nothing else grabs by desire like Exposé did |
| 13:48.58 | AnduinLothar | Exposé is the god of my productivity now |
| 13:48.59 | Amicester | heh. |
| 13:49.08 | Amicester | You sound like you're talking about magazines. |
| 13:49.17 | Amicester | Spotlight and Exposé |
| 13:49.31 | AnduinLothar | Jobs has a flair for naming |
| 13:49.47 | AnduinLothar | he's not really a programmer |
| 13:49.57 | AnduinLothar | any more |
| 13:50.03 | Amicester | yeah. |
| 13:50.35 | Amicester | I'm sure that gates isn't much of a programmer either. |
| 13:50.42 | AnduinLothar | we think of him as marketing genious, communications master, business tycoon, turtle-neck guy |
| 13:50.51 | Amicester | turtle-neck guy heh. |
| 13:51.12 | Amicester | man Eraph needs to check sumthin. |
| 13:51.14 | AnduinLothar | and the pic of gates that comes to mide highly resembes the bord.. |
| 13:51.15 | Amicester | Thats just not right. |
| 13:51.25 | AnduinLothar | arg |
| 13:51.30 | Amicester | Gates always looks like a young kid in a suit thats too big for him. |
| 13:51.39 | AnduinLothar | "and the pic of gates that comes to mind highly resembes the borg.." |
| 13:51.41 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 13:52.16 | AnduinLothar | he just doesn't have the public presense at all |
| 13:53.14 | AnduinLothar | seems he just has a good business might and exploitative/subversive methods as far as i can tell. tho that's biassed of course |
| 13:53.19 | AnduinLothar | mind* |
| 13:53.28 | AnduinLothar | jobs has his dark side too |
| 13:53.50 | Amicester | Apple swings and misses on occasion, but thats not to say everyone else doesn't either. |
| 13:54.01 | Amicester | At least they try different stuff. |
| 13:54.09 | Amicester | And don't just steal someone elses idea =P or buy it off them. |
| 13:54.21 | AnduinLothar | but honestly, Jobs has always been a role model of mine... |
| 13:54.44 | AnduinLothar | but i've come to realize i might have different tallents |
| 13:54.52 | AnduinLothar | different personality |
| 13:56.02 | AnduinLothar | but he's good at what he does and he does whatever he's interested in. |
| 13:56.24 | Amicester | yeah. |
| 13:56.55 | AnduinLothar | i cannot settle down in a career i'm only marginally interested in |
| 13:57.06 | AnduinLothar | cannot. i need to love it |
| 13:58.03 | AnduinLothar | but not for the money, not to become a workaholic. but close.... on the edge or obsessed |
| 13:58.05 | AnduinLothar | of* |
| 13:58.51 | AnduinLothar | always kinda idealized my self an an eccentric research scientist with a social life... |
| 13:59.30 | AnduinLothar | we'll see how that goes.. |
| 13:59.44 | AnduinLothar | anyway. i'm done with my own little exposé |
| 13:59.49 | Amicester | heh. |
| 14:00.00 | AnduinLothar | back to coding.. |
| 14:00.02 | Amicester | get back to your self diagnostic hooking function |
| 14:00.08 | AnduinLothar | ;) |
| 14:00.19 | Amicester | it probably misses you |
| 14:00.21 | Amicester | it's like "Where'd he go?" |
| 14:00.42 | AnduinLothar | nah, my code is always with me, in my head |
| 14:01.13 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 14:02.00 | AnduinLothar | it's code, it evaluates my priorety variables before the judgement/assignment algorithm kicks in. |
| 14:02.45 | AnduinLothar | it musta noticed i was tired an ahving trouble focussing |
| 14:07.39 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 14:07.59 | AnduinLothar | ban next time cair come son.. |
| 14:08.55 | AnduinLothar | ok... so if both replace and after hooks can replace the returned variables.. |
| 14:10.57 | AnduinLothar | and the replace ones also return callOrig to set whether the orig func gets called |
| 14:11.41 | AnduinLothar | wait.. |
| 14:12.04 | AnduinLothar | ah ok |
| 14:13.12 | AnduinLothar | and then after ones return a modifyOutput to set whether the return values replace the existing ones (from orig or last replace unc) |
| 14:14.39 | AnduinLothar | so i want the orig to be called only if callOrig is returned from a 'replace' and there are no other 'replace' hooks called afterwards that return callOrig as false |
| 14:16.59 | AnduinLothar | ok, so if more than one 'replace' returns callOrig as false i need to print a warnign debug |
| 14:18.00 | AnduinLothar | and if one returns callOrig as true after but not before one that returns callOrig as false, then print a diff error |
| 14:18.00 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 14:18.27 | AnduinLothar | might be inhibitoraly complex |
| 14:18.41 | AnduinLothar | but could still work for the debug only function |
| 14:19.59 | AnduinLothar | this is also good because replacing manual hooks with sea hooks is liek a 4 line deletion and 1 line addition. so it's very easy to do, even if it's not ur code |
| 14:20.56 | AnduinLothar | so u could theoreticly convert potentially conflicting non-seahook addons to use SeaHooks and then automaticly debug them for you |
| 14:21.51 | AnduinLothar | ok, that sounds liek excelent reason to throw hyper-efficiency to the wind and make a slower full debug function |
| 14:23.24 | AnduinLothar | not sure i want to, but i could also throw in a frame to call a debug func onvarsloaded or later that autodetects if any of your hooked functions have been manually hooked on top |
| 14:26.38 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 14:26.45 | AnduinLothar | only problem then is duplicated named frame warnigns in the FrameXML.log transperent to user |
| 14:28.46 | AnduinLothar | lol, why does this silly thing have 3 flags instead of 1... |
| 14:29.24 | *** join/#wowi-lounge shouryuu (n=nicolass@29.239.97-84.rev.gaoland.net) |
| 14:29.28 | shouryuu | rawr |
| 14:29.37 | AnduinLothar | is that on auto-join msg? |
| 14:29.42 | shouryuu | nope |
| 14:29.44 | AnduinLothar | ;) |
| 14:29.52 | shouryuu | it's just me |
| 14:29.52 | shouryuu | :P |
| 14:29.54 | AnduinLothar | just givin u a hard time |
| 14:30.08 | AnduinLothar | u missed my numerous rants |
| 14:35.40 | shouryuu | ohh |
| 14:35.50 | shouryuu | what were you ranting about? |
| 14:36.03 | AnduinLothar | mmm, it kinda meandered |
| 14:36.30 | AnduinLothar | most recently was thinking out loud about hook management auto-debugging |
| 14:36.55 | AnduinLothar | before that was operating systems |
| 14:37.00 | shouryuu | that means nothing to me |
| 14:37.08 | shouryuu | I emphasise on nothing |
| 14:38.05 | AnduinLothar | and we got there by an analogy i made to linux being like a wow environment where every addon is requiring multiple libraries so no one wants to use custom ui's |
| 14:39.01 | shouryuu | dang I have to run again |
| 14:39.04 | shouryuu | studies suck |
| 14:39.06 | shouryuu | hard-core |
| 14:39.13 | AnduinLothar | cyaz |
| 14:39.14 | shouryuu | they take your mind of WoW add-on :P |
| 14:39.17 | shouryuu | rawr |
| 14:39.23 | AnduinLothar | sad day |
| 14:39.35 | AnduinLothar | got those 3 down to 1.. |
| 14:40.01 | AnduinLothar | just involved reusing some 20 temporary locals :D |
| 14:41.39 | AnduinLothar | oo and removed 3 assignments |
| 14:43.13 | Industrial | http://www.wow-europe.com/shared/wow-com/images/underdev/patch1p9/shiftingsands/ss2.jpg |
| 14:44.32 | AnduinLothar | hmm, it's really not as bad as i thought unless u have a func heavily hooked |
| 14:45.12 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 14:45.24 | AnduinLothar | in which case the number of debug tests is O(n) in relation to the number of hooks |
| 14:45.31 | AnduinLothar | that's not bad at all |
| 14:45.57 | AnduinLothar | nice pic, who took it, GM's? |
| 14:46.30 | Industrial | dunno |
| 14:46.32 | Amicester | yeah looks like they're showing off armor sets. |
| 14:46.34 | AnduinLothar | or did someone somehow organize all the top pvp players on a server on vent |
| 14:46.41 | Industrial | i lovvvee the warlock set |
| 14:46.45 | Industrial | and the undead on the left |
| 14:47.00 | Industrial | read the full url |
| 14:47.05 | Industrial | i think its blizzard ;) |
| 14:47.06 | AnduinLothar | the pally looks godly, even in the dress |
| 14:47.23 | Industrial | that helmet owns |
| 14:47.34 | AnduinLothar | glowy eyes ftw |
| 14:47.54 | AnduinLothar | he and the rogue are the only ones with helms visible |
| 14:48.01 | AnduinLothar | wonder if they did that on accident |
| 14:48.22 | AnduinLothar | wait, lock has horns |
| 14:48.29 | AnduinLothar | must be a headpiece |
| 15:07.23 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 15:10.10 | Amicester | haha. There's a post in genfor by someone named Catass, asking why they're forcing them to change their name. |
| 15:10.26 | AnduinLothar | lol |
| 15:10.30 | Amicester | Its amazing how far ignorance goes. |
| 15:11.55 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 15:14.18 | Amicester | man ... Eraph is having seizures still? |
| 15:16.29 | AnduinLothar | mmm, vebose debugging would be a LOT of spam.. |
| 15:17.00 | AnduinLothar | mmm, 2x # of hooks |
| 15:17.10 | AnduinLothar | guess that's not THAT bad.. |
| 15:17.21 | AnduinLothar | i feel like i've said this b4... |
| 15:18.14 | AnduinLothar | time to boot it up and watch the sparks fly |
| 15:20.13 | AnduinLothar | WOW.... zero errors.. |
| 15:20.29 | AnduinLothar | that can't be... |
| 15:20.35 | Amicester | No load time errors? |
| 15:20.37 | AnduinLothar | something Has to be wrong.. |
| 15:21.23 | Amicester | maybe it didn't load at all! =P |
| 15:21.24 | AnduinLothar | hmmm, ok. i see a hook conflict, wonder it that's a feature or a bug of my new changes |
| 15:21.34 | Amicester | call it a feature until its deemed it works incorrectly. |
| 15:21.35 | Amicester | heh. |
| 15:21.44 | AnduinLothar | it's Sea. if it didn't load 90% of my addons woulda croaked |
| 15:22.17 | AnduinLothar | thus why it is mission critical to get it perfect.. |
| 15:23.00 | AnduinLothar | mmm, looks like a bar options conflict |
| 15:23.08 | AnduinLothar | lemme turn on debug :) |
| 15:25.07 | AnduinLothar | i think it's a bit funny that the onyl word abreviated consistantly is orig |
| 15:25.37 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 15:25.48 | AnduinLothar | must have had a lot of issues spellign it at one time to cause such an unconsious paridigm |
| 15:27.19 | AnduinLothar | oh wow, fixed that typo and now what i thought was a conflict is fixed.. |
| 15:27.36 | AnduinLothar | easier than advertized... didn't even need to turn on debug.. |
| 15:30.19 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 15:36.32 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 15:39.07 | Amicester | I don't abbreviate that often, but usually its in the xml object names. |
| 15:39.36 | Amicester | since when you embed so many $parents often times your name gets so long that it borks. |
| 15:40.38 | AnduinLothar | i just have something against the word original |
| 15:40.50 | Amicester | I don't see a reason to use the word original. |
| 15:41.03 | Industrial | AnduinLothar: thats because of the word mass |
| 15:41.08 | Amicester | In a hook its only true the first time. |
| 15:41.15 | Amicester | Then you're not actually hooking the original, so its just a lie. |
| 15:41.19 | AnduinLothar | not for sea hooks |
| 15:41.31 | AnduinLothar | it stores the orig once |
| 15:42.07 | Amicester | But how do you know its the original? |
| 15:42.07 | AnduinLothar | and calls it if logic determines it should |
| 15:42.13 | Amicester | Its just the first one that sea has hooked. |
| 15:42.21 | Amicester | that doesn't deem it to be the original =P |
| 15:42.23 | AnduinLothar | u check ur log to see if sea loaded first, |
| 15:42.33 | AnduinLothar | ;) |
| 15:42.36 | Amicester | But if an addon is not sea dependent, it could load before it. |
| 15:42.36 | Amicester | =P |
| 15:42.42 | Amicester | and hook the function |
| 15:42.44 | Amicester | then sea hooks the function |
| 15:42.47 | Amicester | and now sea is not hooking the original. |
| 15:42.50 | Amicester | So its not an original. |
| 15:42.53 | AnduinLothar | so.. |
| 15:43.00 | Amicester | So original is a dumb word =P |
| 15:43.07 | AnduinLothar | if they aren't using sea it doesn't really matter |
| 15:43.17 | AnduinLothar | they're using a dumb method :P |
| 15:43.36 | Amicester | Well no I'm just saying that the word original doesn't make any sense. |
| 15:44.02 | Amicester | Previous maybe. |
| 15:44.11 | AnduinLothar | that's just confusing |
| 15:44.18 | Industrial | I'm going to walk my first steps into wow addon making now (again). This time i'm going to do it good, Ill begin with the fara frames tutorial (thank god for tutorials) and move on from there. Instead of trying to begine with 0 knowledge. |
| 15:44.22 | Amicester | So is using the word original =P |
| 15:44.44 | Amicester | I use some really stupid variable names though |
| 15:44.46 | Amicester | so I shouldn't talk. |
| 15:44.49 | AnduinLothar | it's less confusing since in sea it's at least standard |
| 15:45.15 | Amicester | heh. It just depends on how you're reading into it. |
| 15:45.20 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 15:45.21 | Amicester | If something I was using claimed something was an original. |
| 15:45.24 | Amicester | I'd assume original unmodified. |
| 15:45.31 | Amicester | meaning the function not hookd by anything else. |
| 15:45.38 | Amicester | And thats not necessarily the case, so it would confuse me. |
| 15:45.45 | AnduinLothar | there's a disclaimer in the addon text and how-to |
| 15:45.52 | *** join/#wowi-lounge eci (n=chatzill@pool-70-16-108-139.port.east.verizon.net) |
| 15:45.53 | AnduinLothar | so stop whining |
| 15:46.09 | Amicester | heh. Its their idea not mine =P |
| 15:46.19 | Amicester | You're expected to conform to the ideas of the code you're reading. |
| 15:46.20 | Amicester | Not your own ideas. |
| 15:46.30 | AnduinLothar | there's noo single word in english for orig as of some set time period |
| 15:46.45 | Amicester | Its the previous function |
| 15:46.55 | Amicester | prior to the hook. |
| 15:47.13 | Amicester | You can call it anything you want |
| 15:47.22 | AnduinLothar | ah, but hook is ambiguous. is that the hook definition or the replacement call? |
| 15:47.24 | Amicester | Call func 1 Bob and func 2 Joe. |
| 15:47.26 | Amicester | Bob meets Joe. |
| 15:47.38 | Amicester | It doesn't matter. |
| 15:47.44 | Amicester | Because its not in relation to a hook. |
| 15:48.16 | Amicester | Original function would mean the original unmodified function. Thats all I'm saying. |
| 15:48.16 | AnduinLothar | and is it the replacement function or the individual hooking functions called within it |
| 15:48.16 | Amicester | So using hook and original function doesn't correlate. |
| 15:48.16 | Industrial | This morning there was a jehova witness at my door. Woke me up at 9 when i intended to sleep until 1/2. Told him that all the trouble started with religion, i don't need religion to respect my fellow man and that religion goes against free speech. |
| 15:48.16 | Amicester | Since a hookd function is not original. |
| 15:48.16 | Industrial | then closed the door |
| 15:48.16 | Amicester | and the previous function before being hookd is not gauranteed to be the original heh. |
| 15:48.27 | Amicester | Not to say it matters. |
| 15:48.31 | Amicester | Peanut butter and Jelly. |
| 15:48.43 | Amicester | peanut butter hooks the jelly, I don't really give a shit heh. |
| 15:49.06 | Amicester | I thought you were complaining about the word "orig" |
| 15:49.08 | AnduinLothar | ~lart Amecester |
| 15:50.09 | Amicester | Man there is something in the wetlands that causes poor framerates can't figure out what it is. |
| 15:50.27 | AnduinLothar | ur face |
| 15:50.29 | Amicester | I look over here ... 41fps |
| 15:50.31 | Amicester | look over here ... |
| 15:50.31 | Amicester | 16 |
| 15:51.09 | Amicester | I'm not looking at my face I'm staring at the back of my head =P |
| 15:51.12 | Amicester | It should be culling my face. |
| 15:51.40 | Amicester | Must be these funk ass trees. |
| 15:51.55 | Amicester | The murlocs are eating my frames. |
| 15:52.30 | *** join/#wowi-lounge Osagasu (n=NOYB@rhhe10-109.2wcm.comporium.net) |
| 15:52.31 | AnduinLothar | usually active body model rendering, ya |
| 15:53.32 | Amicester | yeah I think its just the abundant foliage. |
| 15:53.37 | Amicester | Lots of it here. |
| 15:53.40 | Amicester | with all the water and stuff. |
| 15:54.07 | Amicester | somethin ... not like I can fix it anyway heh. |
| 15:56.10 | *** join/#wowi-lounge Cide (n=Cide@81-226-233-223-no60.tbcn.telia.com) |
| 15:57.13 | AnduinLothar | wb |
| 15:59.39 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 16:03.13 | *** join/#wowi-lounge eci (n=chatzill@pool-70-16-108-139.port.east.verizon.net) |
| 16:04.50 | *** join/#wowi-lounge pagefault (i=pagefaul@Toronto-HSE-ppp3857544.sympatico.ca) |
| 16:06.00 | Cide | morning |
| 16:06.07 | eci | heya |
| 16:06.17 | AnduinLothar | how goes? |
| 16:06.43 | Amicester | yo. |
| 16:07.13 | eci | i'm really confused on Ace. i just can't see how a mod can process events faster than the native game. anyone understand it? |
| 16:07.35 | Amicester | Thats not really what its doing. |
| 16:08.42 | Amicester | Its just a framework that mod authors can use. |
| 16:08.43 | eci | hmm i guess i understand less about it than i thought |
| 16:09.09 | Amicester | I don't really know that much about it either. |
| 16:09.12 | Amicester | But apparently its a framework, not a lib. |
| 16:09.16 | Amicester | If you call it a lib they'll hang you. |
| 16:09.26 | eci | yeah hehe i'm scared to post on their forum |
| 16:09.33 | Amicester | The only real difference is that a framework is something the mod is built off of. |
| 16:09.38 | Amicester | and a lib is a collection of common functions. |
| 16:09.43 | Amicester | I'd argue that its both a framework and a lib. |
| 16:09.47 | Amicester | Since they do more than skeleton out structure. |
| 16:10.12 | eci | so there are no inherit performance gains by using it? |
| 16:10.12 | Amicester | But they're free to call it whatever they want. |
| 16:10.20 | Amicester | If you code poorly there is. |
| 16:10.54 | eci | hmm i'll not bother i think. thanks :) |
| 16:10.55 | Amicester | Since things that you may have written poorly, may be written more efficiently or managed better by the framework. |
| 16:11.06 | Amicester | I don't use it. |
| 16:11.13 | Amicester | But none of my work I see as warranting using it. |
| 16:11.59 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 16:12.10 | Osagasu | Some people scare me |
| 16:12.19 | Amicester | Ace is stuck in that current stage that people aren't using it, and they're trying to encourage people to use it. |
| 16:12.23 | Amicester | THey just have very horrible pr. |
| 16:12.25 | Amicester | And so it hasn't helped. |
| 16:12.55 | AnduinLothar | ya, like to opp of cosmos which has great pr and bad rep |
| 16:12.57 | Amicester | I think they just care to much if people use it. |
| 16:13.15 | Amicester | If its such a great framework, just keep making addons with it and eventually it'll catch on. |
| 16:13.25 | Amicester | Let the power of its functionality and diversity strengthen its following as opposed to forcing people to look at it. |
| 16:13.38 | AnduinLothar | lol, i de-aced a mod once... they got pissed |
| 16:13.43 | Amicester | heh. |
| 16:13.49 | Amicester | I do that with lots of mods. |
| 16:13.53 | Amicester | That are integrated into compilations. |
| 16:14.19 | Osagasu | what did you De-Ace? |
| 16:14.21 | AnduinLothar | ya, the dep is only really good if u have multiple things using it |
| 16:14.39 | AnduinLothar | i made AH_Wipe into AH_Reset |
| 16:15.06 | Amicester | The only thing I can think off hand I did it with is a couple ct components. |
| 16:15.09 | AnduinLothar | cause i liked it, but thought it was too complicated in it's aceness |
| 16:15.30 | AnduinLothar | didn't even need sea for it's one docile hook |
| 16:15.51 | AnduinLothar | so i made it standalone and removed a feature or two i didn't use |
| 16:16.04 | Amicester | The thing with encouraging people to use a framework is that the people need to know when to justify the use of a framework or not. |
| 16:16.25 | AnduinLothar | super-light... can't beat that... even with ur 'light-weight' lib |
| 16:17.00 | Amicester | Yeah like a command line toggle or something ridiculous. |
| 16:17.13 | Osagasu | Personally I think Cosmos should use Ace, but meh. I know it ain't happenin. |
| 16:17.16 | Amicester | Why would you waste the time formatting it up to a framework, when you can write the straight lua in a couple minutes. |
| 16:17.59 | AnduinLothar | cosmos is moving towards smarter libs, with mcom we now have a lot of our optional slash commands auto-generated |
| 16:18.05 | Amicester | I mean granted every mod starts somewhere. |
| 16:18.15 | Amicester | and eventually mods usually build into bigger projects. |
| 16:18.20 | Amicester | Starting with a good base makes it a lot easier. |
| 16:18.41 | Amicester | yeah I don't see the worthfulness in converting something to ace. |
| 16:18.45 | Amicester | Writing it in ace sure. |
| 16:18.51 | Amicester | If you're starting from scratch anyway why not. |
| 16:18.55 | AnduinLothar | and we're probably moving to smarter/smaller mini-libs opposite strict ace-ness so as to attact more authors and viriety of addons |
| 16:18.58 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 16:19.27 | Amicester | I just wish Blizz would add a semi-standard addon control panel from the menu |
| 16:19.41 | Amicester | that would negate the strong use for compilations for centralizing control. |
| 16:19.55 | Amicester | I mean from a user standpoint its really nice to have all your options centrally located. |
| 16:20.03 | AnduinLothar | khaos |
| 16:20.04 | Amicester | Cosmos did that well and many other addons like cT |
| 16:20.15 | Amicester | But if it was defacto standard. |
| 16:20.19 | AnduinLothar | i'm prolly gonna have to rewrite all the libs myself |
| 16:20.20 | Amicester | There would be no question. |
| 16:20.52 | AnduinLothar | and make khaos no depend on earth, cause earth isn't being updated like alex promissed, so i want to chop it up |
| 16:21.14 | AnduinLothar | then i can post it on curse and other addon places and get it more popularized |
| 16:21.25 | Amicester | Khaos is the Cosmos predicessor, right? |
| 16:21.31 | AnduinLothar | once i get sea fully embedable that's one less lib |
| 16:21.43 | AnduinLothar | Khaos is the Cosmos Addon Successor |
| 16:21.50 | Amicester | successor |
| 16:21.53 | Amicester | I think thats the word I ment =P |
| 16:21.57 | Amicester | the next one. |
| 16:22.05 | AnduinLothar | Cosmos Addon is now obsolete, only the compilation is called Cosmos now |
| 16:22.11 | Amicester | ah. |
| 16:22.13 | AnduinLothar | we decentralized a bit |
| 16:22.23 | Amicester | Broke it up. |
| 16:22.25 | AnduinLothar | started when we wrote Sky |
| 16:22.40 | AnduinLothar | that was orig part of the CosmosChannel |
| 16:22.53 | AnduinLothar | which was the first channel comm we know of |
| 16:22.57 | Amicester | I wonder how the loading performance is going to be in 1.9 |
| 16:23.18 | Amicester | Slouken said its been "optimized" |
| 16:23.29 | AnduinLothar | we popularized channelcomm, but then when we made sky people saw it could be done so they made their own |
| 16:24.18 | AnduinLothar | and Earth had good intent but is too mamoth and alex stopped active development for various reasons |
| 16:24.21 | Amicester | I don't support independent addon communication really until Blizz adds some form of optimized system for passing variable information between multiple clients without using the chat interface. |
| 16:24.31 | AnduinLothar | not gonna happen |
| 16:24.35 | Amicester | the chat system blizzard has is inredibly horrible. |
| 16:24.44 | Amicester | I know its not going to happen. |
| 16:24.47 | AnduinLothar | i know |
| 16:24.55 | AnduinLothar | thus why we wrote sky |
| 16:24.58 | Amicester | Its just a really horrible system. |
| 16:25.12 | Amicester | And building on top of a cow pie is just going to be a sparkly looking cow pie. |
| 16:25.18 | Amicester | heh. |
| 16:25.20 | AnduinLothar | hell i had to rewrite a function just for checking is a channel was active |
| 16:25.38 | Amicester | Did they make a function for querying a channel who yet? |
| 16:25.47 | AnduinLothar | it's a mammoth wrapper. |
| 16:25.54 | Amicester | I mean if we had more channel functions it wouldn't be bad but the chat system is so segregated from the ui. |
| 16:26.24 | AnduinLothar | no, u still have to call it, set a flag and then call the funcs after the event |
| 16:26.31 | Amicester | man. |
| 16:27.10 | AnduinLothar | if blizz had a Sky.isChannelActive that would have saved me a month of dev time perfecting it |
| 16:27.24 | Amicester | and you can't rely on channel announcements to keep in sync because they will be turned off if no one is in the channel, and only the moderator can set the announcements. |
| 16:27.35 | Amicester | what do you mean active? |
| 16:27.55 | AnduinLothar | that's the problem, the vocab's not standard. i had to define my own |
| 16:28.05 | AnduinLothar | we coined the term 'undead' channel too |
| 16:28.20 | Amicester | Yeah the issue really is there is no solid channel api. |
| 16:28.29 | Amicester | you can't get or process the information well enough. |
| 16:28.42 | AnduinLothar | right, so that's what Sky does, it wraps the crap with a pretty api |
| 16:28.51 | Amicester | right. |
| 16:28.55 | Amicester | but its still crap with a bow on it =P |
| 16:28.57 | AnduinLothar | not just for channel comm, it wraps the whole thing |
| 16:29.22 | AnduinLothar | thus why it's not the simple, cute, embedable SimpleComm |
| 16:29.22 | Amicester | Sounds like more mod authors need to use sky. |
| 16:29.35 | Amicester | Too many addons have very poor interchannel communication |
| 16:29.41 | Amicester | that it just hurts performance functionality and ease of use in the end. |
| 16:29.54 | Amicester | and thats why I don't support authors doing it. |
| 16:30.09 | Amicester | obviously if you do it well enough =P |
| 16:30.35 | AnduinLothar | that's why i had to make a standard, but no one bothers to try, cause it has a bad rep from before i wrote it |
| 16:30.38 | Amicester | I'll have to look into sky |
| 16:30.40 | Amicester | I don't know much about it. |
| 16:30.42 | AnduinLothar | before people were educated |
| 16:31.00 | Amicester | its strictly a channel communication lib? |
| 16:31.24 | AnduinLothar | I did 90% of all channel comm research and api discovery when i rewrote it. and i dont think that's an overstatement. it might have been done elsewhere too, but i did it first |
| 16:32.19 | Amicester | yeah I don't really publish or display anything I just do most of my own research since I don't work with anyone else or anything. |
| 16:32.19 | *** join/#wowi-lounge Parak (n=profi@user-12hdr8d.cable.mindspring.com) |
| 16:32.40 | AnduinLothar | not strictly, one of it's flaws is it pretty much does a full replace of the ChatFrame_OnEvent function ( a horidly long oversized func that does too much) |
| 16:32.55 | Amicester | heh. |
| 16:32.57 | *** join/#wowi-lounge futrtrubl (n=not@24-117-41-234.cpe.cableone.net) |
| 16:33.07 | Amicester | I noticed some issues with chatframes when I was rewriting floating chat frames. |
| 16:33.09 | AnduinLothar | Sky also hadles a new Slash Command api |
| 16:33.22 | AnduinLothar | which was thrown in for convienience |
| 16:33.40 | Amicester | Should make that embeddable =P |
| 16:33.44 | AnduinLothar | but now people want to use it, but don't want all of sky along with it. so i'll be excizing that soon |
| 16:33.48 | AnduinLothar | right |
| 16:33.57 | Amicester | One step at a time, right? heh. |
| 16:34.03 | AnduinLothar | pretty much |
| 16:34.13 | AnduinLothar | only so much time to obsess |
| 16:34.22 | Amicester | Damn crocolisks!! |
| 16:34.24 | AnduinLothar | already devoted a year of my life to this stuff |
| 16:34.39 | Amicester | Why quit now? heh. |
| 16:35.08 | Amicester | Thats kind of why I don't do much public work and when I do its simply for convenience. |
| 16:35.22 | AnduinLothar | was trying to get hired by blizz, dont think they've filled that ui spot yet. but i don't think they'll go for me even if i drop to 12 units min full time school |
| 16:36.28 | AnduinLothar | plus it's probly not as much fun as freelance, but it's definitely better pay |
| 16:37.00 | Amicester | Well right you'd still be doing ui work. |
| 16:37.04 | Amicester | But you'd be doing what they want. |
| 16:37.12 | Amicester | Freelance you have the freedom to do what you want. |
| 16:37.49 | AnduinLothar | right, i also tend to program subversively, hacker style. making things do what they weren't designed to do |
| 16:38.02 | Amicester | mmhmm. |
| 16:38.14 | AnduinLothar | also love research, figuring out how best to do somehting |
| 16:38.46 | AnduinLothar | but what i excell at is actually fixing other people's code. making code do what the author meant it to do and more |
| 16:39.05 | AnduinLothar | rather than say, flat design |
| 16:39.12 | AnduinLothar | which was alex's specialty |
| 16:39.26 | Cide | does he still code? |
| 16:39.33 | Cide | haven't seen him around a lot |
| 16:39.53 | AnduinLothar | well at his school now he's on campus and irc is blocked |
| 16:40.18 | AnduinLothar | plus he's been trying to see what would happen to cosmos if he cut down his hours |
| 16:40.48 | AnduinLothar | i expect him to make an appearance for x-mas break and then i think he's moving off campus, so we might see more of him |
| 16:41.03 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 16:41.10 | AnduinLothar | he still does macro of the week, and occational bug fixes |
| 16:41.19 | AnduinLothar | but is hard to get a hold of |
| 16:42.42 | AnduinLothar | think he burned out and then got disgruntled by cosmos reputation and wasn't feeling motivated by Earth and Khaos, his main projects at the time once they were out of design and into public use. |
| 16:43.30 | Amicester | the public use part is a pain in the ass =P |
| 16:44.00 | AnduinLothar | essentially he'll design and think is doing a unit frame thing slowly now, but he depends on a lot of support now due to optimization expectations and bug fixing |
| 16:44.46 | AnduinLothar | plus i think he's a lil jealous of Ace ;) |
| 16:45.28 | Amicester | Ace the framework or is Ace a person? |
| 16:46.00 | Amicester | Yeah that question sound stupid but you never know heh. |
| 16:46.02 | AnduinLothar | it's a pretty nice piece of code, they just haven't had enough experience time to flush out all the bugs and fully optimize, and we've gotten tipically bad relations with them from the start since they're setting them selves up as almost direct competition |
| 16:46.21 | AnduinLothar | it has a diff ideology than cosmos tho |
| 16:46.54 | Amicester | Ace is geared toward the developer. |
| 16:46.58 | AnduinLothar | and it was more fun i think for alex when he was making new things rather than competing for who has the better optimization |
| 16:47.02 | Amicester | Aren't you guys geared toward the end user? |
| 16:47.05 | AnduinLothar | ya |
| 16:47.23 | AnduinLothar | tho we have a large dev base |
| 16:47.47 | AnduinLothar | it's just not as strong because it hasn't be rewoked recently, just added too |
| 16:47.55 | AnduinLothar | so, that's what im doing |
| 16:48.29 | eci | competition can be fun. except when you put public perception in the mix |
| 16:48.40 | AnduinLothar | ... i just beat a gryphon camping sergent general rogue with my healing gear on... |
| 16:48.58 | AnduinLothar | O.o |
| 16:48.59 | Amicester | go go healing gear. |
| 16:49.16 | AnduinLothar | only have 4300 ar... |
| 16:49.25 | AnduinLothar | 5k mana tho.. |
| 16:50.05 | AnduinLothar | he definitely didn't like my AQ_BuffBot + Concentration and a BFA9000 |
| 16:50.35 | AnduinLothar | oh and AQ_AutoPerception owns rogues |
| 16:50.51 | AnduinLothar | I am now a rogue killing machine |
| 16:51.07 | AnduinLothar | he came back for 2nds while i was drinking. one hit kill |
| 16:51.22 | AnduinLothar | <PROTECTED> |
| 16:52.19 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 16:57.45 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 16:59.43 | *** join/#wowi-lounge Trilian (n=Miranda@dyndsl-085-016-035-235.ewe-ip-backbone.de) |
| 16:59.54 | *** join/#wowi-lounge Cai1 (n=Cairenn@CPE001217452e29-CM014500004571.cpe.net.cable.rogers.com) |
| 17:00.22 | AnduinLothar | is cair alive too? |
| 17:02.56 | kergoth | bleh |
| 17:03.01 | kergoth | mornings are the devil |
| 17:03.55 | AnduinLothar | i didn't sleep, fixed that problem |
| 17:04.17 | Industrial | hey kergoth, can i bother you with a little q? |
| 17:04.18 | Industrial | :p |
| 17:04.53 | *** join/#wowi-lounge Eraphine|DiscoDo (n=Eraphine@brenna.human.cornell.edu) |
| 17:07.17 | Industrial | http://rafb.net/paste/results/1aXtec70.html |
| 17:07.32 | Industrial | im doing the fara frames tutorial |
| 17:07.45 | Industrial | but i don't know how this and self work |
| 17:08.00 | Industrial | and also what the difference between obj.blah and obj:blah is |
| 17:08.03 | Industrial | :> |
| 17:08.05 | Industrial | anyone? :D |
| 17:08.33 | AnduinLothar | : calls it with the current 'this' passed as 'self', the first argument |
| 17:08.53 | Cai1 | Last I checked I was |
| 17:09.01 | AnduinLothar | :) |
| 17:09.25 | Industrial | AnduinLothar: could you pastebin me an example? |
| 17:09.25 | AnduinLothar | how's the digging out from under a mudslide going? |
| 17:09.36 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 17:09.49 | *** join/#wowi-lounge pfault (i=pagefaul@Toronto-HSE-ppp3857544.sympatico.ca) |
| 17:09.51 | Cai1 | lol, I had 1 last night ... no digging out necessary |
| 17:10.00 | Cide | Frame:Hide() is equal to Frame.Hide(Frame) |
| 17:10.14 | Cide | Frame:SetAlpha(0.5) is equal to Frame.SetAlpha(Frame, 0.5) |
| 17:10.48 | AnduinLothar | :) |
| 17:10.48 | Industrial | what nonsense is that |
| 17:11.00 | Industrial | how about setAlpha(frame, 0.5) |
| 17:11.07 | Industrial | instead of frame.setAlpha |
| 17:11.14 | AnduinLothar | that function doesn't exist |
| 17:11.14 | Industrial | :S |
| 17:11.35 | AnduinLothar | it's a function assigned to a table key |
| 17:11.58 | Industrial | yeah but i mean.. obj.func(obj,arg1,argn) <-- thats weird |
| 17:12.00 | AnduinLothar | where Frame is the table and "SetAlpha" is the key |
| 17:12.27 | Industrial | oh right, we're stuffing it in a table |
| 17:12.49 | Industrial | ok |
| 17:12.50 | Industrial | :) |
| 17:12.51 | AnduinLothar | same as getglobal("Frame")["SetAlpha"](getglobal("Frame"), 0.5) if you really want.. |
| 17:13.03 | Industrial | hehe |
| 17:13.16 | kergoth | : does not call with current 'this' passed as self. it calls it with the containing object passed as self. Industrial: obj:func() is the same as obj.func(obj) |
| 17:13.22 | AnduinLothar | just syntactic candy |
| 17:13.30 | AnduinLothar | bah, w/e |
| 17:13.36 | AnduinLothar | i knew what i meant |
| 17:13.47 | Osagasu | You know, I love it when people start talking about one of the people in here when I'm in game |
| 17:14.02 | AnduinLothar | who was it this time? |
| 17:14.03 | Cai1 | huh? |
| 17:14.07 | Osagasu | well, more particularly one of your addons |
| 17:14.09 | AnduinLothar | peopel dont talk about me |
| 17:14.10 | Industrial | *fixes his lua a bit* |
| 17:14.23 | kergoth | i should actually /release/ one of my addons someday |
| 17:14.29 | kergoth | rather than having a big pile of incomplete ones |
| 17:14.29 | Osagasu | some people in my guild were flaming Cosmos worse than I ever would |
| 17:14.30 | Industrial | kergoth: yeah |
| 17:14.33 | AnduinLothar | they may talk about my addons but i dont think my name is household yet |
| 17:14.39 | Industrial | kergoth: i dont even know what you have hehe |
| 17:14.47 | Osagasu | I was like "I know Anduin, one of the authors, want me to talk to him?" |
| 17:14.49 | *** join/#wowi-lounge pfault_ (i=pagefaul@Toronto-HSE-ppp3857544.sympatico.ca) |
| 17:14.54 | Osagasu | They all got quiet real fast |
| 17:14.56 | kergoth | Industrial: yeah, that needs fixing :) |
| 17:14.58 | AnduinLothar | lol |
| 17:14.59 | Cai1 | ahhhhh |
| 17:15.01 | Industrial | kergoth: i know you are on irc and discuss crazy metatables with tem :P |
| 17:15.06 | kergoth | hehe |
| 17:15.16 | kergoth | i love crazy lua tricks |
| 17:15.33 | *** mode/#WoWI-lounge [+o Cair] by ChanServ |
| 17:16.53 | Industrial | hm so if i have foo={func1=function() func2('foobar') end, func2=function(bar) print(bar) end,} how would this,self . and : be applied? |
| 17:16.59 | Industrial | xD |
| 17:17.13 | AnduinLothar | I should finish ChatBar... started it in the mid of ArcanePartyBars, finished apb, started SeaHooks |
| 17:17.26 | AnduinLothar | it's pretty |
| 17:17.49 | AnduinLothar | got vynn to do the graphics for me |
| 17:17.56 | AnduinLothar | sicne that's his specialty |
| 17:18.49 | AnduinLothar | the frame layers for it was a pain tho for shadowed and speced, dynamicly color-changing buttons with mouse down/up/highlight and a FlashFrame |
| 17:19.05 | kergoth | Industrial: those functions dont even use self :P whats the point of calling them with :? but regardless, you'd do foo:func1() to pass foo as argument one |
| 17:19.08 | AnduinLothar | and the bg bar of course |
| 17:19.36 | Osagasu | Cair, you know you can ghost ghosts |
| 17:19.43 | Cair | yup |
| 17:19.51 | Osagasu | why didn't you? :? |
| 17:20.07 | Cair | because I wasn't really that worried about it? |
| 17:20.20 | Industrial | kergoth: so i'd do self:func2('foobar') ? |
| 17:20.33 | Osagasu | I just have it set to ghost on login |
| 17:20.43 | kergoth | Industrial: ? |
| 17:21.22 | kergoth | if you call foo:func2(), bar will be foo, in the function |
| 17:21.29 | Industrial | im my example how does func1 know where to find func2? its in a table (the same one hehe) |
| 17:21.51 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 17:22.07 | kergoth | foo={func1=function(self) self:func2('foobar') end, func2 = function(self, bar) print(bar) end} |
| 17:22.11 | kergoth | foo:func1() |
| 17:22.18 | Industrial | yes |
| 17:22.22 | Industrial | thats what i was thinking |
| 17:22.22 | Industrial | :> |
| 17:22.24 | Industrial | thanks |
| 17:22.29 | kergoth | np |
| 17:23.01 | kergoth | damnit. i hate it when i miss my stop on the zeppelin |
| 17:23.14 | kergoth | i miss that addon that deboarded you from ships automatically |
| 17:23.27 | AnduinLothar | AT? |
| 17:23.41 | AnduinLothar | AT owned |
| 17:23.42 | kergoth | nah it wasnt at, it did it without the user having to define routes |
| 17:23.46 | kergoth | that it did |
| 17:23.51 | Industrial | <PROTECTED> |
| 17:23.52 | Industrial | :P |
| 17:23.56 | kergoth | bah |
| 17:24.07 | AnduinLothar | does that work accross load? |
| 17:24.45 | kergoth | across load? |
| 17:24.55 | AnduinLothar | you could make an addon that would auto-follow the nearest person as soon as u zoned in from a ship |
| 17:25.07 | Cide | no |
| 17:25.19 | Cide | enabling toggling requires a hardware event as far as I know |
| 17:25.24 | Industrial | can you sotp following if you scan e.g. some guard near a ship? |
| 17:25.28 | Cide | err |
| 17:25.31 | kergoth | Cide: i'm talking about an addon that existed before they changed that. |
| 17:25.35 | kergoth | back when autotravel worked |
| 17:25.43 | AnduinLothar | they disabled followign now? used to be able to do it from a chat evernt |
| 17:25.43 | Cide | yeah kergoth, but I meant AnduinLothar's idea |
| 17:25.51 | kergoth | ah |
| 17:25.53 | Cide | yeah, I think you need a hardware event to enable following |
| 17:26.07 | AnduinLothar | isn't that how whisperfollow works? |
| 17:26.59 | Cide | apparently not |
| 17:27.14 | Cide | /script FollowUnit("target") worked fine from a chatbox |
| 17:27.20 | AnduinLothar | :) |
| 17:27.23 | AnduinLothar | told ya |
| 17:27.29 | AnduinLothar | addon it |
| 17:27.38 | kergoth | heh, and how exactly would you find the name of the nearest person? |
| 17:27.39 | *** join/#wowi-lounge Eraphine (n=Eraphine@cpe-24-59-106-252.twcny.res.rr.com) |
| 17:27.45 | AnduinLothar | TargetNearestFriend() |
| 17:28.03 | *** kick/#wowi-lounge [Eraphine|Disco!n=Cairenn@CPE001217452e29-CM014500004571.cpe.net.cable.rogers.com] by Cair (Cair) |
| 17:28.06 | kergoth | i hope they're on the boat, otherwise you could end up walking back onto it :) |
| 17:28.09 | Eraphine | Is anyone aware of an addon that parses chat input for bids? |
| 17:28.14 | *** kick/#wowi-lounge [Eraphine|Lab!n=Cairenn@CPE001217452e29-CM014500004571.cpe.net.cable.rogers.com] by Cair (Cair) |
| 17:28.15 | Eraphine | Thanks Cair. |
| 17:28.19 | Eraphine | and sorry :( |
| 17:28.22 | Cair | You're welcome Eraphine |
| 17:28.26 | Cair | no worries :) |
| 17:29.29 | AnduinLothar | on zone event check maplocation for coords within a specified area of near disembark. if there:TargetNearestFriend();FollowUnit("target") |
| 17:29.45 | AnduinLothar | add a 30 sec timer and cancit follow |
| 17:30.14 | kergoth | would be cool |
| 17:30.28 | AnduinLothar | i'll make it after i finish my current addon |
| 17:30.55 | AnduinLothar | someone wanna research the required map location coords for me? |
| 17:31.18 | AnduinLothar | i can only get the aliance ones aeasily |
| 17:31.29 | AnduinLothar | and it wont work for tram |
| 17:31.47 | AnduinLothar | but u can follow on that cause there's no zone |
| 17:43.44 | Industrial | http://rafb.net/paste/results/RqCofE83.html |
| 17:43.52 | Industrial | http://rafb.net/paste/results/nmoq5297.html |
| 17:43.58 | Industrial | http://fara.webeddie.com/frames/frame1.html |
| 17:44.03 | Industrial | i want a little blue frame =( |
| 17:44.54 | Industrial | *more caffeine* |
| 17:46.33 | AnduinLothar | pretty nifty: http://www.freewebs.com/astrodon/1.jpg |
| 17:47.50 | Industrial | only thing i dont like is how people block view to 40% of their UI |
| 17:47.56 | Cair | morning Tain |
| 17:48.03 | AnduinLothar | ya, i dont liek that either |
| 17:48.14 | Industrial | my ui is like |
| 17:48.16 | Industrial | 6% |
| 17:48.17 | Industrial | :p |
| 17:48.26 | AnduinLothar | but u say my last ss didn't u |
| 17:48.29 | AnduinLothar | saw* |
| 17:48.33 | Industrial | no? |
| 17:48.38 | Industrial | maybe.. |
| 17:48.39 | AnduinLothar | http://www.wowguru.com/gallery/files/beginning-of-a-ubrs-id931/ |
| 17:48.58 | Industrial | oh, yeah |
| 17:49.07 | AnduinLothar | dont have ctra in clean places then tho |
| 17:49.44 | Tain | I actually can't play with the middle of the screen hud. Not sure why, I just like my screen clear |
| 17:49.51 | AnduinLothar | it's so not symetrical :P |
| 17:50.19 | AnduinLothar | i of course think i did the mid screen hud first.. |
| 17:50.31 | Industrial | i prefer unit frames small and in the center. i dont like having to look into the corners of my screen, keeping watch of them actually, to look at how the fight is going |
| 17:50.47 | AnduinLothar | but i spose cosmos has had drag support on them since beta |
| 17:50.50 | Industrial | and comparable |
| 17:50.51 | Industrial | :P |
| 17:51.04 | Tain | I need everything along the edges. |
| 17:51.26 | Tain | Of course this is why it's so great that the UI is configurable. :) |
| 17:51.35 | Cair | I always have chat on the bottom left, self, party & target bars in the bottom center, combat chat on the bottom right |
| 17:51.38 | AnduinLothar | thus why i mad MobileFrames |
| 17:51.44 | Cair | that way my eyes can just stay in one place |
| 17:51.55 | Cair | basically |
| 17:52.01 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
| 17:52.40 | AnduinLothar | i find that if i keep my eyes stationary whilie doing ubrs runs i fall alseep.. |
| 17:53.39 | Eraphine | sorry cair I will log off eraphine alb |
| 17:53.41 | Eraphine | err lab |
| 17:53.44 | Eraphine | that's my other computer |
| 17:53.49 | Cair | no worries Eraphine |
| 17:54.12 | Tain | Oh actually I just realized, probably the biggest reason I don't like buttons in the middle anywhere is because I hotkey all of them. I rarely click on a button. |
| 17:54.14 | AnduinLothar | lol u been spamming bith this and cosmostesters all night |
| 17:54.23 | Industrial | im real clicker |
| 17:54.23 | Industrial | :p |
| 17:54.25 | Industrial | im a* |
| 17:54.30 | AnduinLothar | i do a lot of queue-clicking |
| 17:54.53 | Cair | I try to keep all my "clickables" clustered, so I don't have to move my mouse all over the place, too |
| 17:54.55 | AnduinLothar | and just keep a mob targetted |
| 17:55.00 | Tain | I need my mouse free! |
| 17:55.25 | AnduinLothar | i dont use those top left buffs much anymore... |
| 17:55.29 | Osagasu | I keep my buttons categorized, and I try to keep each category at least 1 button apart |
| 17:55.39 | AnduinLothar | have mods governing all my blessigns |
| 17:55.40 | Industrial | http://img339.imageshack.us/img339/2721/wowscrnshot1118052114565lo.jpg |
| 17:55.54 | Industrial | my clickab les are clustered too |
| 17:55.55 | Industrial | :p |
| 17:56.07 | AnduinLothar | either DivineBlessing or BuffBot or Whispercast as backup |
| 17:56.08 | Tain | Actually Cair I do have one bar of things I click, things like tradeskills, turning tracking on, things I generally don't have to click during combat. |
| 17:56.12 | Osagasu | Spells go on the bottom two bars and buffs/out of combat spells co at the bottom of the right bars |
| 17:56.29 | Industrial | kergoth: pmpm |
| 17:56.35 | AnduinLothar | I wish Whispercast would set defaults for buffbot or DB, that would rock |
| 17:56.48 | AnduinLothar | i should write a bridge addon |
| 17:56.51 | *** join/#wowi-lounge Stylpe (n=Stylpe@15.84-48-162.nextgentel.com) |
| 17:56.58 | AnduinLothar | or hack whispercast |
| 17:57.15 | Industrial | lol Stylpe |
| 17:57.17 | Industrial | lo* |
| 17:57.50 | Tain | Stylpe's got a nice looking UI if I remember right, even though I couldn't play with it. :) |
| 17:58.01 | AnduinLothar | wow, kidna surprised APB has so many dl's |
| 17:58.52 | futrtrubl | I use discord for most of my stuff |
| 17:59.11 | *** join/#wowi-lounge Devla (n=chatzill@69.49.156.29) |
| 17:59.33 | Devla | <pokes everyone> |
| 17:59.34 | Industrial | *twitch* |
| 17:59.36 | Industrial | lo Devla |
| 18:04.10 | Stylpe | I do? =P |
| 18:04.11 | futrtrubl | ~poke devla |
| 18:04.12 | purl | but then who will poke the pokers, futrtrubl? krem`afk? |
| 18:04.44 | AnduinLothar | ~poke futrtrubl |
| 18:04.46 | purl | but then who will poke the pokers, anduinlothar? Veight`? |
| 18:04.52 | Eraphine | Sorry to repeat,but I somehow remember there being some kind of addon where someone could send me bids in tells and it would parse it out into a table, collate, and output to a frame |
| 18:04.53 | futrtrubl | nobody will purl, the pokers poke anybody that tries |
| 18:05.01 | Eraphine | am I crazy? |
| 18:05.19 | futrtrubl | Accountant will do that as part of its operaion |
| 18:05.36 | Eraphine | I don't mean bids on the AH |
| 18:05.47 | futrtrubl | ahhh |
| 18:06.01 | Eraphine | It's not a hard addon to write, I just don't want to reinvent the wheel |
| 18:06.02 | Cair | hey Devla :) |
| 18:06.03 | Devla | how many pokes can a poker poke if a poker did get poked |
| 18:06.21 | Devla | aww |
| 18:07.04 | Devla | send bids in tells, hmm |
| 18:07.43 | Cair | other window, Devla |
| 18:08.23 | Cair | (presuming you are registered and thus getting the private window) |
| 18:09.24 | Devla | bleh |
| 18:09.28 | Devla | need to register |
| 18:09.38 | Cair | <PROTECTED> |
| 18:09.44 | *** join/#wowi-lounge Malivil (n=Alaerand@209-6-253-11.c3-0.frm-ubr2.sbo-frm.ma.cable.rcn.com) |
| 18:09.54 | Malivil | *wave* |
| 18:09.56 | Industrial | lo |
| 18:10.00 | Cair | hi Malivil |
| 18:10.05 | Malivil | Can someone help me figure out if a macro is possible please? |
| 18:10.18 | Malivil | It's prolly gonna be kinda long =-/ |
| 18:13.32 | Devla | what kind of macro |
| 18:13.40 | Malivil | Ok |
| 18:13.44 | Malivil | Here's what i want it to do |
| 18:14.03 | Malivil | If im not mounted, i want it to mount me and then say something and do an emote |
| 18:14.27 | Malivil | If i AM mounted, i want it to unmount me and then say something else and do another emote |
| 18:14.35 | Malivil | If it's too long, then you can shorten down to just hte first part |
| 18:15.13 | AnduinLothar | heh. i was gonna make another mini-lib for mounting on any char |
| 18:15.31 | AnduinLothar | but u can do it specificly for urs if u have IsMounted installed |
| 18:15.37 | Devla | lol |
| 18:15.45 | Devla | hiho silver |
| 18:16.40 | Amicester | Yeah the issue is that the only way to know if you're mounted is by searching through all your buffs and knowing the name of the mount buff. Right? |
| 18:17.01 | AnduinLothar | IsMounted does that for u efficiently |
| 18:17.02 | futrtrubl | ~purl x en fr My nostrils are on fire. |
| 18:17.07 | Devla | aye |
| 18:17.26 | Devla | its possible, probably have to do an inventory slot type macro |
| 18:17.46 | Malivil | So... |
| 18:17.54 | Malivil | Can someone wirte the macro for me if i get ISMounted? |
| 18:18.39 | AnduinLothar | what char do u play? |
| 18:18.58 | Devla | warlock and pally may be a bit tough |
| 18:19.08 | Devla | or easier |
| 18:19.09 | AnduinLothar | they're actually easier |
| 18:19.11 | Devla | i dunno really |
| 18:19.21 | Devla | < is a hack |
| 18:19.27 | Tain | I think I'll create an IsMounted addon called "Catherine the Great" |
| 18:19.30 | AnduinLothar | cause u can cast by name rather than having to know the bag slot |
| 18:19.41 | Devla | "Rawhide" |
| 18:20.05 | Devla | tru |
| 18:20.07 | Amicester | yeah easier I would think. |
| 18:20.37 | Devla | so what servers do you all play on |
| 18:20.50 | AnduinLothar | <PROTECTED> |
| 18:20.51 | Malivil | I play a rogue |
| 18:21.17 | AnduinLothar | then just define mountme in a func for your specific char's horse |
| 18:21.28 | Malivil | Uhh |
| 18:21.32 | Malivil | I dunno what that means |
| 18:22.29 | AnduinLothar | need to know what slot ur horse is in, put ur mouse over it and type /script ChatFrame1:AddMessage(GetMouseFocus():GetName()) |
| 18:22.57 | futrtrubl | IsMounted.GetMountBuffInfo() needs a short alias for use in macros |
| 18:23.13 | AnduinLothar | it's not meant for macros but yes i know what u mean |
| 18:23.31 | Malivil | what inventory clot? |
| 18:23.32 | Malivil | *slot? |
| 18:23.37 | Malivil | or what bar slot? |
| 18:23.43 | AnduinLothar | UnitIsMounted(unit) is the boolean option |
| 18:23.54 | Malivil | ....uhhh |
| 18:23.56 | AnduinLothar | mouse over ur horse in your bag |
| 18:23.59 | Malivil | I have NO idea what you are saying |
| 18:24.07 | Malivil | Its 4,2 |
| 18:24.07 | AnduinLothar | i wasn't talking to u |
| 18:24.11 | AnduinLothar | k |
| 18:24.14 | Malivil | o |
| 18:24.16 | Malivil | no |
| 18:24.16 | Malivil | 1,2 |
| 18:24.18 | Malivil | sorry |
| 18:24.19 | Malivil | lol |
| 18:24.26 | Malivil | 2 bag from the right, 2nd slot |
| 18:24.37 | AnduinLothar | <PROTECTED> |
| 18:24.49 | AnduinLothar | er |
| 18:24.50 | Malivil | So, i need IsMounted for that right? |
| 18:24.52 | *** join/#wowi-lounge rebb (n=got2@p54B8CA82.dip.t-dialin.net) |
| 18:24.53 | rebb | hi |
| 18:24.57 | Cair | hi |
| 18:25.02 | AnduinLothar | 2,2 ? what was 4,2? |
| 18:25.11 | Malivil | it's 1,2 |
| 18:25.17 | Malivil | I said 4,2 but i mean 1,2 |
| 18:25.32 | AnduinLothar | <PROTECTED> |
| 18:25.37 | rebb | i have a question - is it possible to "replace" a certain xml template - without needing to really replace the corresponding .xml file inside of FrameXML ? |
| 18:25.39 | Malivil | Ok |
| 18:25.44 | Malivil | So i just put that in a macro |
| 18:25.50 | AnduinLothar | correct |
| 18:25.53 | rebb | i would like to have the replacement.xml inside the /Addons/MyAddon dir |
| 18:25.57 | rebb | is that possible ? |
| 18:26.15 | AnduinLothar | but why don't u just put the horse in an action bar? |
| 18:26.30 | Malivil | Because you didnt read the rest of what i wanted |
| 18:26.30 | Malivil | lol |
| 18:26.46 | AnduinLothar | ah, emote |
| 18:26.50 | Malivil | I'm gonna make it say something when i mount and something different when i dismount |
| 18:26.53 | Malivil | yea, lol |
| 18:27.08 | Malivil | thanks for the help |
| 18:27.37 | AnduinLothar | SendChatMessage(msg, system); |
| 18:27.40 | Devla | I totally missed the screenshots of the new armor models |
| 18:28.01 | Malivil | system? |
| 18:28.05 | Malivil | So it would be like SAY |
| 18:28.08 | Malivil | or "SAY"? |
| 18:28.15 | AnduinLothar | ya |
| 18:28.20 | AnduinLothar | or EMOTE |
| 18:28.20 | rebb | did my question make any sense ? |
| 18:28.35 | Cair | hang on rebb, let them finish the one thing they are currently on |
| 18:29.03 | AnduinLothar | not easily or practically rebb |
| 18:29.18 | AnduinLothar | unless it's a very simple frame |
| 18:30.48 | AnduinLothar | u can hook the table var and loop through it's indexed functions and hook them to pass a different self tho |
| 18:32.07 | AnduinLothar | make that: loop through the table var and hook it's indexed functions to pass a different self |
| 18:32.16 | AnduinLothar | its* |
| 18:32.21 | rebb | hum, or is there a way to "dynamically" create a frame, based on a template ? something like local newFrame = Frame( blahTemplate ); |
| 18:32.35 | AnduinLothar | not if it's not a virtual frame |
| 18:32.48 | Malivil | i have a question, but ill wait. |
| 18:34.35 | AnduinLothar | ? |
| 18:34.49 | rebb | hrm, just ask yours - im going to poke around a bit more :) |
| 18:34.53 | Amicester | You can dynamically create virtual frames? I wasn't aware of that. |
| 18:34.58 | Malivil | why doesn't this work: /script local x,y=IsMounted.GetMountBuffInfo("player"); local q=SendChatMessage(); if x then CancelPlayerBuff(y); q(Come my horse, an adventure awaits!, SAY) else UseContainerItem(0,2) end; |
| 18:35.03 | AnduinLothar | u cant |
| 18:35.04 | Cide | you can't, no |
| 18:35.08 | Amicester | Oh. |
| 18:35.11 | Amicester | I must of read that wrong. |
| 18:35.22 | rebb | but can you dynamically create non-virtual frames ? |
| 18:35.27 | Cide | no |
| 18:35.28 | AnduinLothar | no |
| 18:35.32 | rebb | :( |
| 18:35.36 | Amicester | heh. He said "not if its not a virtual frame" so I thought so if you make a virtual frame you can is what I thought. |
| 18:35.39 | Amicester | Yeah everything has to be predefined. |
| 18:35.46 | AnduinLothar | unless u load a new addon using dynamic loading |
| 18:35.59 | AnduinLothar | but then it's still predefined |
| 18:36.07 | Malivil | See, this is why i was gonna wait |
| 18:36.08 | Malivil | lol |
| 18:36.11 | rebb | damn, i wish there was something like "inherits=", instead it would be "overloads=" |
| 18:36.45 | AnduinLothar | unless u somehow export to a file via the bindings exploit and have a 3rd party add modify your xml file before you dynamicly load it |
| 18:37.01 | Tain | The only ones you can easily fully replace are the ones that Blizzard defined under AddOns\Blizzard_ |
| 18:37.16 | rebb | :( |
| 18:37.17 | Tain | But you still have to do it when you initialize, you can't do it dynamically. |
| 18:37.30 | AnduinLothar | local q=SendChatMessage |
| 18:37.33 | AnduinLothar | not local q=SendChatMessage() |
| 18:37.39 | Malivil | i tried that |
| 18:37.42 | Malivil | same error |
| 18:37.54 | AnduinLothar | and "SAY" is default u dont need to explicit |
| 18:38.33 | Malivil | i found the problem |
| 18:38.36 | AnduinLothar | <PROTECTED> |
| 18:38.41 | AnduinLothar | er |
| 18:38.42 | Malivil | I needed "" around what i wanted to say |
| 18:38.47 | AnduinLothar | ya |
| 18:38.51 | Malivil | But now |
| 18:38.52 | AnduinLothar | was just gonna say that |
| 18:38.57 | Malivil | It mounts and doesn't say anything |
| 18:39.01 | AnduinLothar | <PROTECTED> |
| 18:39.10 | Malivil | And when i press the button it just says the thing |
| 18:39.15 | Malivil | and doesn't dismount |
| 18:39.31 | AnduinLothar | put the msg first |
| 18:39.44 | Malivil | huh? |
| 18:40.26 | Malivil | oops |
| 18:40.29 | AnduinLothar | <PROTECTED> |
| 18:40.54 | Industrial | gotta wub rp |
| 18:40.55 | AnduinLothar | <PROTECTED> |
| 18:42.32 | Amicester | Hah. Defining a local to the SendChatMessage function I never thought of that. |
| 18:42.57 | Malivil | saves characters |
| 18:42.58 | Malivil | loil |
| 18:42.59 | Malivil | *lol |
| 18:43.00 | Amicester | yeah it does. |
| 18:43.28 | AnduinLothar | 1,2 btw |
| 18:43.34 | AnduinLothar | <PROTECTED> |
| 18:43.56 | Malivil | 0,2 actually |
| 18:43.57 | Malivil | LOL |
| 18:43.59 | Malivil | Im so bad |
| 18:44.11 | Malivil | Uhhh |
| 18:44.14 | Malivil | 1 thing |
| 18:44.17 | AnduinLothar | ok,well... msgs are backwards anyway |
| 18:44.25 | Malivil | It doesn't dismount after saying the thing |
| 18:44.29 | Malivil | Yea, i fixed that |
| 18:47.17 | Malivil | So only 1 problem remaining |
| 18:48.50 | Cide | you can just click it again to cancel |
| 18:49.08 | Malivil | Uhh |
| 18:49.12 | Malivil | When i click it again |
| 18:49.16 | AnduinLothar | <PROTECTED> |
| 18:49.18 | Malivil | It says the "goodbye" message |
| 18:49.21 | Malivil | And then doesn't leave |
| 18:49.29 | Cide | if x then q("Leave me, Silver."); else q("Come my horse, an adventure awaits!"); end UseContainerItem(0,2) |
| 18:49.34 | Cide | or 1,2, not sure which one you use |
| 18:49.38 | Malivil | 0,2 |
| 18:49.41 | Cide | okay |
| 18:49.43 | Cide | try that one |
| 18:49.44 | AnduinLothar | the buff index thing is off by one it seems |
| 18:49.50 | Malivil | so y-1 |
| 18:50.05 | AnduinLothar | good to know |
| 18:50.13 | AnduinLothar | i should fix that |
| 18:50.21 | Malivil | YAY it works! |
| 18:50.30 | Malivil | Thanks for your help =-) |
| 18:50.40 | AnduinLothar | np |
| 18:51.02 | AnduinLothar | wonder if the index is on for texture |
| 18:51.40 | AnduinLothar | mmm, they start at 2 |
| 18:51.50 | AnduinLothar | tooltips start at 1 tho.. |
| 18:52.00 | AnduinLothar | buff frames start at 0 |
| 18:52.07 | AnduinLothar | odd |
| 18:52.23 | Tain | Yeah I think I remember reading that the texture index is off and will be changed in the next patch. |
| 18:52.33 | AnduinLothar | ah ok |
| 18:52.43 | AnduinLothar | well then i'll leave it alone for now |
| 18:52.51 | AnduinLothar | since it's half right |
| 18:52.59 | AnduinLothar | just post a notice |
| 18:53.02 | Tain | Half is better than none! |
| 18:59.27 | AnduinLothar | bag slots start at 1, right? |
| 19:00.05 | Cide | yes |
| 19:00.13 | Cide | containers at 0 |
| 19:00.29 | AnduinLothar | right |
| 19:00.48 | AnduinLothar | http://www.curse-gaming.com/mod.php?addid=2667#bottom |
| 19:04.25 | AnduinLothar | Cide, u any good at optimization? |
| 19:06.13 | Cide | not great |
| 19:06.18 | Cide | what are you thinking about? |
| 19:07.11 | AnduinLothar | wondering if u possibly had any input on an improved SeaHooks. I've made it into an embedable mini-lib as optimized and yet flexable and compatible as possible |
| 19:07.39 | AnduinLothar | also have hook conflict debug negotiation for SeaHooks |
| 19:07.57 | Cide | I probably won't be of much help |
| 19:08.17 | AnduinLothar | and since it's liek a 2-4 line change to update hooks to use sea u can basicly auto-debug hook conflicts with it |
| 19:09.09 | AnduinLothar | got iriel to suggest some changes, but i cant get them to work |
| 19:10.25 | AnduinLothar | figured u might be interested tho given the flexibility of the hooks and their embedded nature |
| 19:10.42 | AnduinLothar | did u abstract hooks at all for ct or just use all manual hooks? |
| 19:12.17 | Cide | just manual |
| 19:12.21 | Cide | I don't hook a lot of things |
| 19:12.37 | AnduinLothar | ya, well making ur own frames u dont have too much |
| 19:13.12 | AnduinLothar | which is like the oppositt of my approach |
| 19:13.57 | AnduinLothar | Archeaologist has 17 hooks |
| 19:14.30 | AnduinLothar | but things like BarOptions have like 100s of looped ones |
| 19:15.06 | AnduinLothar | u usually do replace funcs that call the orig at the end? |
| 19:18.42 | Cide | what do you mean? |
| 19:20.29 | AnduinLothar | well i could descripe the syntax or just let u read the notes |
| 19:20.43 | AnduinLothar | tho my essay on hooks isnt' done yet |
| 19:21.20 | AnduinLothar | http://www.wowinterface.com/downloads/fileinfo.php?s=&id=4349 |
| 19:24.00 | clad_sleep | AnduinLothar: Whats the issue you're looking at for hooks.. I just rewrote the entire Ace Hooking module.. |
| 19:24.43 | Cair | hey cladhaire :) |
| 19:24.56 | cladhaire | Heyas Cair =) |
| 19:25.22 | cladhaire | Just gonna stick around for a few.. then go play some XBox and Dreamcast at my friends house.. but discussions on hooking intrigues me.. cause i've been dreaming about hooks lately =) |
| 19:25.38 | Tain | That's scary. |
| 19:25.42 | Cide | I dunno about using a library for hooking |
| 19:25.56 | Tain | Yeah, you can't pick up hookers at a library. |
| 19:26.09 | Cide | Tain... :P |
| 19:26.22 | AnduinLothar | mmm, well the current issue is simply implimentign a suggestion of iriel to use a local ref to the table to assign to rather than requesting the variable parse everytime by the interpriter. |
| 19:26.37 | Cide | I mean, I guess it works, but I can customize it myself without a library |
| 19:26.50 | *** join/#wowi-lounge Damon (n=g@ppp-70-247-99-118.dsl.rcsntx.swbell.net) |
| 19:26.54 | AnduinLothar | but short of that I've already reworked massive changes into the SeaHooks mini-lib for 0.3 |
| 19:27.02 | cladhaire | *nod* |
| 19:27.22 | AnduinLothar | you can cide. but there are many benifits to a lib |
| 19:27.34 | AnduinLothar | i'll expound once i finish my essay |
| 19:27.37 | Cair | hi Damon ... hang on a sec, they are in the midst of something else |
| 19:27.42 | Damon | np :P |
| 19:28.01 | AnduinLothar | it's liek 5 pages double spaced atm |
| 19:28.11 | cladhaire | Cide: I prefer to use hooks without the library.. but the reason I rewrote AceHooks is because a.) it still has a purpose, especially within the OO contexts of Ace.. Not to mentino, all the hooking libraries (as of recently) had issues working with other non-library hooks |
| 19:28.30 | AnduinLothar | mmm, all? |
| 19:28.33 | Cide | so it's simpler to not use a library :) |
| 19:28.37 | AnduinLothar | sea fixed that months ago |
| 19:28.53 | cladhaire | recent is a very fluid concept ) |
| 19:28.54 | cladhaire | =) |
| 19:28.57 | AnduinLothar | simpler, less compatible, harder to debug, impossible to unhook |
| 19:29.22 | cladhaire | AnduinLothar: Not really.. I've done some pretty darn impressive things with standard hooks =) |
| 19:29.43 | AnduinLothar | if u use dirty flags |
| 19:29.49 | Tain | Yeah not impossible to unhook, just a good deal more complicatid. |
| 19:30.11 | cladhaire | Unhooking with standard hooks is still very easy.. I'm not sure where you see the difficulty come in Tain |
| 19:30.22 | AnduinLothar | u can unhook just fine, it's preserving hooks called after yours that it impossible with a full unhook |
| 19:30.37 | Tain | Well, complicated in that you don't know who else is hooking to make sure you're giving it back to the right place. |
| 19:31.11 | cladhaire | It doesn't matter who else is hooking when it comes down to it.. you just need to know whether you can fully replace the global function with YOUR original.. and if not.. kep yourself active and passthrough |
| 19:31.32 | AnduinLothar | yay for non standard termonology |
| 19:31.34 | Tain | Unless someone else does the same thing. :) |
| 19:31.49 | cladhaire | Tain: I'm not understanding what you mean |
| 19:32.02 | AnduinLothar | this argument will be pointless |
| 19:32.09 | Tain | What if someone else comes along to replace the global function as well, the same way you did? |
| 19:32.16 | Tain | It's not an argument, it's a discussion. |
| 19:32.17 | cladhaire | Lol its not an argument |
| 19:32.28 | Tain | And it isn't pointless, it's furthering understanding of hooks, even if it's only to me. |
| 19:32.35 | AnduinLothar | yay for nonstandard termonology |
| 19:32.46 | cladhaire | AnduinLothar: you keep saying that.. but what does it mean? |
| 19:32.48 | Tain | Could you explain that repeated comment? |
| 19:33.06 | AnduinLothar | well if u wait an hour i can post my thesis on the wiki |
| 19:33.09 | cladhaire | (Just trying to understand what you're trying to say by it) |
| 19:33.12 | Tain | Hey Damon, did you have a question? |
| 19:33.40 | AnduinLothar | but i'm currently debuging and it's destracting |
| 19:34.25 | cladhaire | The moral of a story is the best a developer can do is to ensure that their hooks will always behave properly, and be able to give you some clue as to whats gone wrong. It then becomes the responsibility of the ill-formed hooks to resolve the problem. |
| 19:35.12 | AnduinLothar | except if u simply replace the ill-formed ones with a 1 line Sea hook it'll debug the problem for you |
| 19:35.31 | cladhaire | AnduinLothar: But those aren't your hooks to be replacing.. |
| 19:35.52 | AnduinLothar | not publicly, but u can sure troubleshoot conflicts and report to the author |
| 19:36.21 | cladhaire | Naturally.. |
| 19:37.12 | AnduinLothar | if they're using Sea hooks as well you can not only debug, but disable their hooks and replace with yours that account for their code as well |
| 19:37.28 | kergoth | anduin, your shameless evangelism isnt helping anyone |
| 19:37.56 | AnduinLothar | ok, i'll go back to debugging |
| 19:37.59 | cladhaire | AnduinLothar: but everyone using Sea (or Ace) hooks is an unrealistic expectation.. for something that is easily taken care of in standard code. |
| 19:38.10 | cladhaire | Gotta go find my Dreamcast and games.. bbias |
| 19:38.18 | Tain | Crazy Taxi! |
| 19:38.19 | Cair | later cladhaire |
| 19:38.37 | Tain | Damn I love Crazy Taxi on the Dreamcast. |
| 19:39.04 | *** join/#wowi-lounge Nomad_Wanderer (n=NomadWan@cpe-66-67-110-36.rochester.res.rr.com) |
| 19:39.11 | kergoth | good game |
| 19:40.09 | Tain | Do you think people would get upset if I disabled their mouse for about a second and a half every 30 seconds or so when not in combat? heh |
| 19:40.23 | kergoth | heh |
| 19:40.38 | Nomad_Wanderer | I think so. :) |
| 19:40.49 | Tain | Yeah, me too. |
| 19:42.02 | Cair | Damon? |
| 19:42.23 | Tain | hrm. Can I "hook" mouse movement? I want to make a frame that isn't normally moveable move with the mouse for 1.5 seconds without getting too crazy. |
| 19:42.49 | Nomad_Wanderer | Like the cosmos Quickloot, snap to mouse feature? |
| 19:43.17 | AnduinLothar | u can get coords for cursor and then adjust the frame relatively |
| 19:43.33 | Nomad_Wanderer | Does anyone know about shift - click items in the game? For example, If I have some whisper me a link, I can see it as plain text, and can look it up in a local plain text item name key table. However, the Shift-click item name is more than just the Item name, there are some extra chars at the front and back? |
| 19:43.50 | Nomad_Wanderer | What are those extra chars? Are the consistent? |
| 19:43.55 | Nomad_Wanderer | the=they |
| 19:44.05 | Tain | There is a full template to how links work. |
| 19:44.16 | Nomad_Wanderer | where can I read more> |
| 19:44.23 | Tain | I'm afraid I don't know any more than that presonally. heh |
| 19:44.49 | Tain | have you looked through wowwiki.com? |
| 19:45.18 | Nomad_Wanderer | I've started to. |
| 19:46.52 | Tain | I'm not sure if there's anything there or not, it's just the first place I look. |
| 19:47.46 | Nomad_Wanderer | Cool. It looks like the format I'm recieving the item isn't the normal format.. .I.e it's usually ItemID (12345) or, Itemlink (item:12345:0:0:0), though when someone whispers me a link, I don't seem to get either of those.. |
| 19:47.48 | Tain | You might also have some luck looking through the code of some addons like KCItems, or.. ShoppingList, that might be a good one because it's small and puts links into chat. |
| 19:48.17 | Nomad_Wanderer | Yeah.. I thought about that.. but The different/weird thing I'm doing is having people whisper me links... |
| 19:48.33 | Nomad_Wanderer | I don't think those addons have player to player link communication.. They are system to player. |
| 19:49.04 | Nomad_Wanderer | But I think Looktlink may parse the chat log for adding items to the database... |
| 19:49.17 | Tain | Right, it was really more if you couldn't find the format of the links anywhere else. |
| 19:49.32 | Nomad_Wanderer | that might be a decent place to look.. but I worry that I'm getting into deep water too quickly :) |
| 19:49.57 | Nomad_Wanderer | Yeah.. lootlink.lua = 113k ! |
| 19:49.58 | Tain | That's the best way! Just jump right in and see if you can keep from drowning. ;) |
| 19:53.42 | Damon | Does anyone know how to upload table data to a panel of a frame? I'm trying to do a raid loot tracking window (left side is raid members, with the top few listed in accordance with the loot they won, and the right side is the loot that dropped) The table is organized as RaidBossList["Lucifron"].winner[1] would be the winner of the first piece of loot which is RaidBossList["Lucifron"].loot[1] |
| 19:55.44 | Damon | hope i didn't stump everyone :P |
| 19:55.52 | Tain | I'm not sure Damon, I haven't tried doing anything like that (which is usually when I learn something.) |
| 19:56.45 | Tain | I'm trying to think of other addons that would do something to display a table like that, right now I can only think of lootlink, but I'm sure there's more. |
| 19:57.21 | Damon | yea i was trying to find something that i could look at and try to mimic, but dunno if lootlink is even what i'm trying to do |
| 19:57.31 | Tain | Would it be like you click on a name and the loot they won would show up on the left? |
| 19:57.37 | Tain | (or right) |
| 19:57.39 | Damon | no it's just a list |
| 19:57.52 | Damon | http://www.reign.cc/phpBB/viewtopic.php?t=2168 |
| 19:57.57 | Damon | has a SS of what the frame looks like |
| 19:58.42 | Tain | Oh ok I see. |
| 19:59.25 | Tain | Really I was thinking lootlink to see how the window gets populated with data. The part that shows you everything it knows and you can search through. |
| 19:59.42 | Damon | hrmm k |
| 19:59.51 | Tain | I'm sure it's not the best example. |
| 19:59.58 | Tain | I'm just drawing a blank thinking of others. |
| 20:00.17 | Damon | anyone else know of some addon that does somethign similiar of what i want? otherwise i get to search through lootlink |
| 20:00.38 | AnduinLothar | Well if i were evangelizing Earth I'd tell you to use the EarthTree |
| 20:00.43 | Damon | lol |
| 20:00.53 | AnduinLothar | but u can prolly just cut it out and use it sepperately |
| 20:01.11 | Damon | i saw earth on wowwiki but wasn't sure exactly what it was |
| 20:01.27 | Damon | nor how it works |
| 20:01.37 | AnduinLothar | it's what PartyQuests and ChannelManager use for their list/trees, among other things |
| 20:01.46 | Damon | hrmm |
| 20:02.06 | AnduinLothar | but it's an unfinnished, nearly abandoned addon waiting to be scavenged. u may find it useful |
| 20:04.27 | AnduinLothar | mmm, i can take min-naps in between reloaduis... |
| 20:04.39 | Damon | lol yeap |
| 20:04.47 | Damon | i've found the lagpit in ironforge is great for loading faster |
| 20:06.53 | Tain | Yeah, especially in Ironforge I try to find some corner to reload in. |
| 20:07.36 | rebb | hum, hum - so the "quality" returned from GetContainerItemInfo() doesnt seem to be valid for certain items - is there a way to get the "proper" quality of these ? |
| 20:08.57 | Damon | is FauxScrollFrame something I will have to create a dependancy on? |
| 20:10.32 | Damon | anyone use WoW UI Designer? |
| 20:10.54 | AnduinLothar | yes, no |
| 20:24.02 | Nomad_Wanderer | Okay.. I think I found in lootlink where it's parsing the chat log, but there's a pattern here, and I'm terrible with Regexp/patterns. can someone help me decipher it? |
| 20:24.16 | Nomad_Wanderer | for item, name in string.gfind(msg, "|Hitem:(%d+:%d+:%d+:%d+)|h%[(.-)%]|h") do |
| 20:27.37 | *** join/#wowi-lounge eci (n=chatzill@pool-70-16-108-139.port.east.verizon.net) |
| 20:27.44 | Nomad_Wanderer | Though looking at this, I guess it's not important to understand the pattern.. it looks like this grabs all Item links in a given message.. I think I could use the same pattern and just not use the for loop If I only wanted the first one. |
| 20:34.20 | *** join/#wowi-lounge dukeku (i=dukeku@c-67-160-162-146.hsd1.or.comcast.net) |
| 20:48.15 | Damon | Ok I"m trying to add a FauxScrollFrame to my panel to scroll for the 40 raid members listed, This would be put inside the <Frame> tag of the raid list panel correct? But i have it listed in what I think is the right place but is obviously not |
| 20:57.52 | Damon | Ok.... I'm trying to add the ScrollFrame but it's not showing up |
| 21:32.20 | *** join/#wowi-lounge Guillotine (n=jacob@ns.motek-services.com) |
| 21:39.31 | Guillotine | purl, emulate me |
| 21:39.33 | purl | woohoo! spoofing links is fun! |
| 21:39.43 | Guillotine | is anyone here? |
| 21:39.47 | Guillotine | or do i just have to talk to purl? |
| 21:59.07 | futrtrubl | talk to me ;'] |
| 21:59.17 | Guillotine | make me |
| 21:59.20 | Guillotine | oops. i just did |
| 21:59.21 | Guillotine | oh well |
| 21:59.25 | futrtrubl | I win |
| 21:59.47 | Guillotine | dangit. just missed the AB I was waiting an hour for while browsing curse :/ |
| 22:00.08 | futrtrubl | ouch |
| 22:03.52 | Amicester | I am here. |
| 22:05.54 | *** join/#wowi-lounge Trilian (n=Miranda@dyndsl-085-016-004-247.ewe-ip-backbone.de) |
| 22:10.16 | Amicester | Why is there a function definition in ZoneText.xml instead of in ZoneText.lua? |
| 22:37.40 | Codayus | hmmm |
| 23:23.47 | futrtrubl | is there a ZoneText.lua? |
| 23:26.55 | Cide | too lazy to check! |
| 23:27.08 | Cide | ok I did check |
| 23:27.11 | Cide | ya, there is |
| 23:35.32 | *** part/#wowi-lounge Malivil (n=Alaerand@209-6-253-11.c3-0.frm-ubr2.sbo-frm.ma.cable.rcn.com) |
| 23:54.19 | Cair | hi kremonte |