00:02.21 | *** part/#wowi-lounge wereHamster (n=tomc@gw.ptr-62-65-141-13.customer.ch.netstream.com) |
00:09.25 | Kirkburn | Dammit, I wish I hadn't heard how season 1 ended :( |
00:13.42 | Esamynn | oh, silly me zespri I know how, just a sec |
00:14.15 | Esamynn | SendChatMessage("message" |
00:14.20 | Esamynn | SendChatMessage("message", "EMOTE") |
00:16.19 | zespri | Already found =) thank you, Esamynn |
00:17.01 | Elviso | Iriel, getting an error from DevTools, want to hear about it? |
00:17.29 | Iriel | sure |
00:17.38 | Elviso | [string "--DevTools_Dump()..."]:14: `)' expected (to close `(' at line 9) near `<eof>' |
00:17.48 | Elviso | when I run "print(string.format("%.3f", GetTime())" from tinypad |
00:18.30 | Esamynn | well you did forget a closing bracket |
00:18.51 | Iriel | Indeed, it's devtools telling your input is bad |
00:20.33 | Elviso | oh, hehe |
00:20.54 | Elviso | trying to work on something between ouro tries, only partially focused |
00:21.43 | Esamynn | never doubt the "almightly" DevTools! ;) |
00:21.51 | Elviso | I should've known better, heh |
00:21.59 | Elviso | I <3 it |
00:27.07 | groll | anyone know of an updated clean minimap addon? |
00:27.29 | Elviso | i think id` has one |
00:28.09 | groll | hmm on wowinterface? |
00:28.22 | Elviso | was looking for it, don't see it |
00:28.50 | Elviso | http://www.wowinterface.com/downloads/fileinfo.php?id=4564 |
00:29.55 | groll | thanks might be usable for me :D |
00:49.02 | cmunn | I heard the best quote about trying to mode CT_RA yesterday |
00:49.51 | cmunn | When polling my new guild about modding interest, one brave soul said he wanted to do some modding on CT_RA but was having a bit of trouble with it... |
00:50.16 | cmunn | I asked if there was a particular section that I could help him with and got this response: |
00:50.53 | cmunn | "I'm just having trouble understanding everything. It's like I'm trying to get from Dallas to LA and all I have to work with is a map of New Jersey written in Hebrew." |
00:51.06 | Tem | cmunn: lol |
00:51.28 | cmunn | but now, dinner calls |
01:08.42 | *** join/#wowi-lounge ToastTheif (i=ToastThe@24-177-162-9.dhcp.mrqt.mi.charter.com) |
01:09.08 | ckknight | can someone approve my addon? |
01:09.52 | ckknight | it's a crucial bugfix |
01:10.20 | Iriel | which one? |
01:10.26 | ToastTheif | eehh |
01:10.28 | ToastTheif | where's Ciar |
01:10.30 | ToastTheif | cair* |
01:10.48 | ckknight | she left |
01:10.49 | ckknight | FuBar |
01:10.52 | ckknight | and DewdropLib |
01:10.59 | ToastTheif | yeah |
01:11.18 | ToastTheif | she needs to approve them.. Im not likeing the dropdown bug |
01:11.21 | ckknight | without it, people's menus are broken |
01:11.28 | ToastTheif | KAel |
01:11.34 | ToastTheif | can't you do it? :O |
01:11.40 | Iriel | I'm doing it already |
01:11.43 | ckknight | okay |
01:11.46 | ToastTheif | yay for Iriel |
01:11.59 | ToastTheif | <3 |
01:14.33 | Kirkburn | Yay for ckknight too for fixing it :P (and yay for iriel, and cool that you're a WoWI admin now :) |
01:14.43 | ckknight | I had fixed it pretty fast |
01:14.48 | ckknight | and uploaded like over an hour ago |
01:15.43 | ckknight | yea, it is pretty cool that you're an admin |
01:16.11 | Iriel | Im nowhere near as 'always looking' as cair tho |
01:16.19 | Iriel | so you'll have to tell me if there's something urgent waiting |
01:16.33 | ToastTheif | well atleast we can come here and tell you to look :) |
01:17.28 | Iriel | Indeed |
01:17.43 | Iriel | I'm extra slow today because I'm working |
01:18.25 | cladhaire | Cairenn says hello, they made it down here safely =) |
01:18.47 | ckknight | cool stuff |
01:20.27 | *** join/#wowi-lounge tragywydd (n=Tragywyd@cpe-24-59-191-241.twcny.res.rr.com) |
01:22.57 | ToastTheif | oh she's gone? |
01:23.12 | cladhaire | yeah, Cair headed down my way for the evening. |
01:23.16 | cladhaire | so behave =) |
01:23.38 | ToastTheif | ckknight = boss? |
01:23.44 | ckknight | yep |
01:23.56 | ToastTheif | ooh |
01:23.57 | ToastTheif | ok |
01:24.00 | ckknight | honestly, I should change my name on the site to ckknight |
01:24.17 | ToastTheif | lol |
01:24.30 | ToastTheif | or just on IRC ;) |
01:24.59 | cladhaire | i'm jnwhiteh everywhere, except here-- since cladhaire was born =) |
01:26.20 | ToastTheif | Im ToastTheif everywhere! muwhahaha |
01:26.30 | ToastTheif | well except the actually WoW forums |
01:26.34 | tragywydd | you're a misspelling EVERYWHERE? |
01:26.41 | ToastTheif | there Im Kwako/Twinkd/Twidge |
01:26.42 | tragywydd | that would drive me INSANE |
01:26.46 | ToastTheif | yes, I am |
01:26.47 | cladhaire | =) I just started a new RP character, and I'm not sure how I feel about it-- I dont have any backstory yet, and I dont like the name |
01:27.00 | tragywydd | What's wrong with Laoch? |
01:27.11 | ToastTheif | I figure there might already be an actual ToastThief on some site |
01:27.17 | ToastTheif | so I did ToastTheif |
01:27.23 | cladhaire | haha.. decent reason =) |
01:27.30 | cladhaire | plus its a conversation starter. |
01:28.04 | Iriel | You can pronouce it differently too, like Toast Thife, if you feel strange |
01:28.35 | tragywydd | I like that better, then it's just a new word and thus not misspelled |
01:28.54 | Tem | it's too late for Tem |
01:29.14 | Tem | the misspelling is firmly ingrained |
01:29.21 | Kirkburn | Is your real name Tim? ;) |
01:29.40 | Kirkburn | (no, I know it's not!) |
01:29.43 | tragywydd | no, it's not a misspelling, your name is just Tem, end of discussion. |
01:30.06 | Tem | I was talking about ToastTheif |
01:30.17 | Tem | it's too late for me to try to think of it as anything other than a misspelling |
01:30.17 | Kirkburn | Sure you were ... |
01:30.18 | cladhaire | oic =) |
01:30.28 | tragywydd | ...so you were talking about yourself in the third person? |
01:30.33 | Tem | but, yes, I wish I was here under a different nick |
01:30.41 | Tem | Tem likes to talk in third person from time to time |
01:31.51 | ckknight | how would I go about changing my name for WoWI? |
01:31.51 | Kirkburn | Try talking in the second person then ... |
01:31.51 | Tem | ckknight: PM Cair |
01:31.51 | cladhaire | ckknight: Talk to Cairenn =) |
01:31.51 | ckknight | works for me |
01:31.51 | Tem | oh, maybe Iriel can help you now? |
01:31.52 | Kirkburn | lol |
01:31.52 | tragywydd | LOL |
01:32.31 | Everyone_here | laughs |
01:32.57 | Tem | (yes, I totally did this project backwards) |
01:33.21 | Tem | (I hate string parsing... procrastination ftw!) |
01:33.45 | cladhaire | Tem: In java? |
01:33.47 | Tem | yeah |
01:33.57 | cladhaire | Boo.. use lua in the java project =) |
01:34.05 | tragywydd | I'm sure that's not allowed... |
01:34.08 | Kirkburn | No, in Hawaii ... |
01:34.11 | Tem | if I was allowed to, I wouldn't anyway |
01:34.27 | Iriel | Tem: I spent most of yesterday and this morning working on string parsing of HTML |
01:34.38 | Kirkburn | Look, stop responding before I can get my rubbish jokes in, okay? |
01:35.10 | Tem | Iriel: I know from bad experiences how much of a pita that is. |
01:35.19 | Tem | because lua's regex is even less appealing to me than java's for this task |
01:35.20 | tragywydd | mmm, pita |
01:35.31 | Kirkburn | You're making me hungry |
01:35.36 | Tem | regardless, the parsing isn't my issue right now |
01:35.57 | Tem | I went and made my operators retardedly generic so I feel bad hardcoding my tokenizer |
01:36.35 | Iriel | heh |
01:36.39 | Iriel | You have to hard code something somewhere |
01:37.01 | Iriel | Even if it's just creating a runtime rules structure to feed into your entirely generic tokenizer |
01:37.05 | Kirkburn | I almost made a incredibly rude joke about fone operators then :s |
01:37.32 | Tem | lol Kirkburn |
01:37.41 | Kirkburn | Perhaps I should go to bed :P ... see ya'll tommorrow! |
01:37.48 | Tem | later |
01:38.02 | Kirkburn | Sleep well everyone :) |
01:39.25 | Tem | Iriel: I made that OperatorTokenFactory even more generic than I was planning to... it now handles literals as well |
01:40.36 | Iriel | It's not an OperatorTokenFactory anymore then is it? |
01:40.41 | Iriel | it's a NodeTokenFactory? |
01:40.44 | Tem | yeah |
01:41.07 | Tem | I was pleasantly surprized at how cleanly Eclipse changed the name for me |
01:42.27 | Tem | I just need to figure out a clean way to use the registration calls there to tell the Tokenizer class how to create the right tokens |
01:43.07 | Tem | or, I can hard code it and be done very soon |
01:43.17 | *** join/#wowi-lounge duke|ib (i=dukeku@c-67-160-162-146.hsd1.or.comcast.net) |
01:47.26 | tragywydd | what's IB mean? |
01:47.42 | Tem | IB? |
01:47.54 | Tem | what's the context? |
01:47.55 | tragywydd | duke | ib...i assume ib is his status? |
01:48.07 | Tem | oh |
01:48.13 | Tem | no idea... |
01:48.25 | Tem | Eraphine|Lab has been at the lab for 8 months... |
01:48.36 | tragywydd | sorry, that's doesn't have much procrastination potential |
01:49.32 | tragywydd | i can try and come up with a more invovled question if you like |
01:51.34 | Tem | no, I really do need to get to work on this |
01:51.37 | Tem | it's due in 3 hours |
01:51.42 | tragywydd | hehe |
01:52.06 | Tem | it really annoys me that every project we've had in this class has invovled string parsing of some kind |
01:52.25 | tragywydd | well, what's the subject? |
01:52.25 | Tem | meanwhile we haven't been formally tought jack shit about string parsing |
01:52.42 | Tem | it's a general OO class |
01:52.48 | tragywydd | that's lame |
01:53.09 | Tem | last project was parsing html |
01:53.17 | Tem | which drove me completely insane for 2 weeks |
01:53.33 | Tem | though, I was vindicated for the extra effort I put in... |
01:53.51 | Tem | the class average on that one was 14.8/20, but I got the full 20/20 |
01:53.55 | tragywydd | yeah don't look at me, strings + java + me = total annihilation |
01:54.42 | Tem | It's really not *that* bad. I just really dislike doing it |
01:55.07 | tragywydd | is your class a req or an elective? |
01:55.33 | Tem | I think at one point it was an elective, but it's required now |
01:56.31 | tragywydd | bummer |
01:57.14 | Tem | not really |
01:57.19 | Tem | I've enjoyed the class |
01:58.24 | tragywydd | just not he assignments? |
01:58.36 | tragywydd | or do you get a sense of satisfaction after the mind numbing work? |
01:58.37 | Tem | just not bits and peices of the assignments |
01:58.57 | Tem | the string parsing has only been a part of each assignment |
01:59.08 | Tem | the rest of them have had fun things to do |
02:11.07 | ToastTheif | Tem |
02:11.09 | ToastTheif | need something? |
02:11.31 | Tem | ? |
02:12.13 | ToastTheif | u said my name |
02:12.17 | ToastTheif | I just read it though |
02:12.18 | ToastTheif | nvm lol |
02:12.27 | ToastTheif | I was AFK, had to pick up mt little sis |
02:12.36 | ToastTheif | gtg now though, MC time |
02:12.38 | ToastTheif | cya |
03:04.58 | Miravlix_ | Perhaps downloading all 5 FireFox winner movies at once wasn't a good idea |
03:06.20 | Miravlix | I'm thinking, I should invest in a second ADSL line and setup routing of some kind to load balance. |
03:31.04 | Elviso | you offer alot of downloads? |
03:31.22 | Elviso | or just use the net alot |
03:31.38 | Elviso | oh, downloading 5 movies at once.. |
03:41.27 | Miravlix | I play WOW a game thats transfair time dependent, not bandwith |
03:41.57 | Miravlix | So every time I do *anything* with my internet connection besides WoW it has a cost. |
03:42.44 | Miravlix | If it was the bandwith, I could just pay for more on the line I have. |
03:43.39 | *** join/#wowi-lounge snurre (n=snurre@AVelizy-153-1-5-108.w83-199.abo.wanadoo.fr) |
03:46.29 | Miravlix | I've always wondered why T1 technoligy and ADSL seems to work so differently, I have 20-40 ppl at work on one line at everything works fine, but I'm one computer and one person on an ADSL and it works badly. |
03:48.17 | *** join/#wowi-lounge Crispix (n=Crispy@c-24-7-241-103.hsd1.in.comcast.net) |
03:52.22 | *** join/#wowi-lounge Crispix (n=Crispy@c-24-7-241-103.hsd1.in.comcast.net) |
04:02.43 | *** join/#wowi-lounge ForgottenLords (n=Forgotte@059.216-123-195-0.interbaun.com) |
04:15.53 | duke|ib | oh, yeah |
04:15.54 | duke|ib | really late |
04:15.56 | duke|ib | but i'm dukeku |
04:16.00 | duke|ib | on my ibook ;( |
04:16.28 | Miravlix | Bet late than never. |
04:16.34 | dukeku | of course |
04:16.45 | dukeku | :) |
04:17.15 | Miravlix | Hmm, this addon is 341 lines alreayd and I haven't written a single line of code yet. |
04:17.47 | Miravlix | Maybe I should rethink my strategy when that much of the code is re-use. |
04:22.32 | ForgottenLords | I need to do a major rewrite of my UI mod... it just reeks of sloppyness |
04:51.27 | Miravlix | In WoW, Inventory is your paperdoll? |
04:53.29 | ForgottenLords | Inventory generally refers to your bags |
04:53.44 | Miravlix | No |
04:53.59 | Miravlix | All the API calls that says inventory is for the paperdoll |
04:54.52 | Miravlix | So calling my addon SeaInventory when it caches Bag information seems confusing? |
04:55.14 | ForgottenLords | in non-UI terminology, Inventory is your bags |
04:55.33 | ForgottenLords | using API terminology in a mod name would probably confuse the most people |
04:55.40 | Miravlix | No |
04:55.43 | Miravlix | It's a library |
04:56.12 | Miravlix | So I should prolly rename it to SeaBags or SeaContainers |
05:07.59 | *** join/#wowi-lounge Crispix (n=Crispy@c-24-7-241-103.hsd1.in.comcast.net) |
05:17.29 | Tem | Iriel: you around? |
05:17.33 | Miravlix | SeaBIC Sea Backpack, Bag, Bank, Inventory, Container |
05:19.36 | Iriel | 1/2 around |
05:20.46 | Tem | I'm seeing something rather curious |
05:21.14 | Tem | HashMap seems to be ignoring equals |
05:21.26 | Tem | oh, hmm |
05:21.31 | Tem | one sec |
05:23.16 | Iriel | It shouldn't be |
05:23.25 | Iriel | did you define your class-level hashCode and equals properly? |
05:23.33 | Iriel | (i.e. any class you define equals for you also define hashCode for) |
05:23.46 | *** join/#wowi-lounge Crispix (n=Crispy@c-24-7-241-103.hsd1.in.comcast.net) |
05:25.24 | Tem | yeah |
05:25.32 | Tem | I think it's a completely different problem |
05:25.48 | Tem | my registration code isn't working all of a sudden |
05:25.57 | Tem | and I haven't tested it in a bit so I'm not sure when I broke it >< |
05:30.34 | Tem | alright... 2 questions |
05:31.00 | Tem | 1: is there any reason a static block in a class definition would be run? |
05:31.51 | Tem | scratch the second question, it was stupod |
05:31.54 | Tem | stupid* |
05:32.14 | Iriel | when the class is loaded inot the classloader |
05:32.29 | Tem | er, would *not* be run |
05:33.48 | Iriel | if the class isn't loaded by the classloader |
05:33.48 | *** join/#wowi-lounge Qaarh (i=Qaarh@c-e51c72d5.029-112-6c6b701.cust.bredbandsbolaget.se) |
05:33.55 | Tem | why would that happen? |
05:34.52 | Tem | none of my registration code appears to be running at all causing attempts to get a factory for any particular token to fail in spectacular fassion... |
05:35.07 | Iriel | let me guess, you put registration into static blocks? |
05:35.12 | Tem | aye |
05:35.16 | Iriel | The problem is you didn't arrange for any of your classes to be loaded |
05:35.34 | Iriel | You need some kind of stub class to reference them all |
05:35.48 | Iriel | You may able to use some of the reflection code to find them at runtime |
05:36.33 | Tem | too complex |
05:36.50 | Tem | what all do I have to do to force a class to be loaded? |
05:37.13 | Iriel | Just reference it |
05:37.22 | Tem | thanks |
05:39.59 | Tem | I'm clearly braindead |
05:40.18 | Tem | can you be more specific about the reference? |
05:41.07 | Iriel | A piece of RUNNING code has to instantiate the object, or reference a static method from it ,or it's Class object |
05:42.36 | Tem | alright |
05:42.38 | Tem | ugly hack time |
05:43.41 | Kaelten | night guys |
05:49.47 | Tem | later Kaelten|sleeping |
05:49.57 | Tem | Iriel: yeah it works almost perfectly now |
05:50.09 | Tem | somewhere though * == + |
05:50.30 | Tem | so 2 3 * becomes 2 + 3 |
05:50.32 | Tem | >< |
05:50.44 | Tem | curse my bad copy/paste skills |
05:51.23 | Tem | lol found it |
05:51.41 | Tem | my OperatorTimesFactory was creating a new OperatorPlus |
05:52.22 | Tem | yay it all works nicely now |
05:52.42 | Tem | wow... I did *way* more work that was needed here |
05:53.02 | Tem | oh well.. night everyone |
05:55.10 | Iriel | nite |
06:02.16 | Tem | hmm |
06:02.36 | Tem | is it a bad thing if you trigger your "holy shit I don't know wtf just happened code"? |
06:03.10 | Iriel | usually |
06:04.46 | Tem | oh, whoops, forgot to catch my "you screwed up when you typed it in" exception |
06:13.52 | Tem | alright that's all the perverse situations I can think of |
06:13.56 | Tem | I'm satisfied |
06:16.09 | *** join/#wowi-lounge Eraphine|Lab (n=Eraphine@brenna.human.cornell.edu) |
06:29.58 | Tem|Sleep | oh that's gratifying |
06:30.13 | Tem|Sleep | it just took 30 second to add a factorial operator |
06:41.34 | Kaelten|sleeping | math.min ignores 0 doesn't it? |
06:43.30 | Iriel | it shouldnt |
06:43.38 | Kaelten|sleeping | hmm |
06:45.24 | Elviso | sleep-coding? :) |
06:45.47 | Kaelten|sleeping | ya |
06:46.00 | Kaelten|sleeping | I couldn't get this out of my head and I was afraid I wouldn't remember as well in the morning |
06:46.08 | Kaelten|sleeping | but now I'm having a weird bug. |
06:46.28 | Elviso | sleep on it...it helps in more ways than one |
06:46.48 | Kaelten|sleeping | true |
06:46.55 | Kaelten|sleeping | although the results of math.min(unpack(array) or 0) |
06:46.59 | Kaelten|sleeping | should be fairly standard |
06:50.46 | Elviso | Tem> none of my registration code appears to be running at all |
06:51.07 | Elviso | happened to me earlier....turns out I forgot to add the .lua to my .toc or .xml, lol |
06:51.23 | Tem|Sleep | I was in java land at the time |
06:52.33 | Tem|Sleep | gah why am I still awake >< |
06:57.24 | *** join/#wowi-lounge Wobin_ (n=Wobin@221.221.35.108) |
07:05.14 | *** join/#wowi-lounge Wobin_ (n=Wobin@221.221.35.108) |
07:22.42 | *** join/#wowi-lounge [MoonWolf] (n=moonwolf@f176182.upc-f.chello.nl) |
07:52.30 | *** join/#wowi-lounge duke|ib (i=dukeku@c-67-160-162-146.hsd1.or.comcast.net) |
07:54.55 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
08:13.45 | *** join/#wowi-lounge Wobble (n=Wobin@221.221.29.245) |
08:45.38 | *** join/#wowi-lounge wereHamster (n=tomc@gw.ptr-62-65-141-13.customer.ch.netstream.com) |
09:11.35 | *** join/#wowi-lounge Andalia (n=xx@p54ADC020.dip0.t-ipconnect.de) |
09:18.18 | wereHamster | morning |
09:21.07 | sarf|stuff | Greetings, meatbucket. |
09:22.36 | *** join/#wowi-lounge Shouryuu (n=Shouryuu@147.11.103-84.rev.gaoland.net) |
09:22.37 | Shouryuu | rawr |
09:23.22 | *** join/#wowi-lounge Shouryuu_ (n=Shouryuu@147.11.103-84.rev.gaoland.net) |
09:35.53 | *** part/#wowi-lounge wereHamster (n=tomc@gw.ptr-62-65-141-13.customer.ch.netstream.com) |
09:38.02 | *** join/#wowi-lounge wereHamster (n=tomc@gw.ptr-62-65-141-13.customer.ch.netstream.com) |
09:43.26 | *** join/#wowi-lounge Stylpe (n=Stylpe@210.80-202-248.nextgentel.com) |
09:44.42 | Stylpe | Chuuu! |
09:44.47 | Shouryuu | halo |
09:47.30 | ckknight | I uploaded stuff to WoWI, if someone could approve it, that'd be great |
09:48.02 | ckknight | sadly, Kael is the only one who can, and he's sleeping |
10:37.21 | Miravlix | I'm sure they do there best to approve as quickly as possible. |
10:40.01 | Miravlix | Though I wonder why they don't across the board approve authors. |
10:43.12 | Wobin_ | You have to be a featured artist |
10:44.03 | Miravlix | I'm not an artist, so that wont happend. |
10:44.45 | Miravlix | Atleast I'm not arrogant enough to think my code is art. :) |
10:49.04 | Miravlix | Though with the very loss lua syntax maybe I could make my code into Ascii art |
10:49.11 | *** join/#wowi-lounge Shouryuu_ (n=Shouryuu@147.11.103-84.rev.gaoland.net) |
10:49.54 | *** join/#wowi-lounge Shouryuu_ (n=Shouryu@147.11.103-84.rev.gaoland.net) |
11:45.20 | *** join/#wowi-lounge Andalia_ (n=xx@p54AD8FD7.dip0.t-ipconnect.de) |
12:29.00 | Shouryuu_ | hummm |
12:32.36 | Shouryuu_ | If 5 people have an addon that sends the same chat message on the same event, will parsing the chat log for the chat message prevent them from saying it 5 times in ar ow? |
12:34.25 | Shouryuu_ | Because there is an order in which the message will appear |
12:34.37 | Shouryuu_ | so I'm guessing some people will say it before others |
12:36.39 | Shouryuu_ | but that order is due to lag |
12:37.16 | Shouryuu_ | so if some people are slowing in receiving the event, they'll be as slow to see the quickest person's mssage.. |
12:48.51 | *** join/#wowi-lounge Miravlix_ (i=dragon@0x3e42aafc.adsl.cybercity.dk) |
13:07.53 | groll | anyone familiar with discord? |
13:08.04 | Shouryuu_ | not I |
13:13.09 | Codayus | some |
13:34.51 | *** join/#wowi-lounge Gryphen (n=masked@c-67-183-238-150.hsd1.wa.comcast.net) |
13:44.51 | *** join/#wowi-lounge Shouryuu_ (n=Shouryuu@147.11.103-84.rev.gaoland.net) |
13:46.10 | Kaelten | ello |
13:47.15 | wereHamster | ello |
13:49.34 | Shouryuu_ | rawr |
14:13.05 | *** join/#wowi-lounge Maldivia (i=the_real@85.24.45.208) |
15:11.04 | *** join/#wowi-lounge Kirkburn (n=George@151.56.195.89) |
15:24.53 | *** join/#wowi-lounge Osagasu (n=Kronus@208.104.133.240) |
15:31.12 | *** join/#wowi-lounge Cide (i=Cide@81-226-233-5-no60.tbcn.telia.com) |
15:46.32 | *** join/#wowi-lounge Parak (n=profi@user-0cev737.cable.mindspring.com) |
15:47.52 | krka | any way to get the height of a line in an editbox? |
15:48.12 | krka | taking wraparound into account |
15:50.47 | krka | hm... maybe GetHeight() on an editbox that doesn't have its height forceably set |
15:52.15 | *** join/#wowi-lounge MentalPower_ (n=chatzill@host-70-45-84-10.onelinkpr.net) |
16:01.07 | krka | too quiet here... |
16:01.40 | Shouryuu_ | hehe |
16:02.58 | krka | i want to show line numbers to the left of an editbox but can't figure out any way to do it |
16:07.45 | *** join/#wowi-lounge Ktron (i=khamer@student2a-64.unh.edu) |
16:07.55 | Ktron | morning |
16:10.33 | Shouryuu_ | gud murning |
16:28.08 | *** join/#wowi-lounge Kalroth (n=kalroth@port114.ds1-hj.adsl.cybercity.dk) |
16:36.21 | Kalroth | offtopic: anyone here killed twin emps or have worked on them? |
16:38.15 | Ktron | I've a friend down the hall who's guild has... but I haven't at all |
16:43.19 | Cide | I've killed them, yes |
16:47.18 | Kalroth | Cide: We had a gimp that went afk outside of the room, so the emps went after him and didn't bother to come back |
16:47.27 | Cide | if someone is outside of their room and in combat |
16:47.31 | Cide | they despawn, yep |
16:47.44 | Kalroth | Cide: do you know if a soft reset is required? I've read somewhere that they respawn after 15 mins or so |
16:47.56 | Cide | I heard 30 min, we've never had it happen ourselves |
16:48.05 | Kalroth | but we've been waiting for 20 mins now, so that's kinda moot >< |
16:48.08 | Kalroth | oh, 30 mins |
16:49.07 | Kalroth | I guess we'll wait another 10 mins then |
16:51.25 | Kalroth | it was 25 mins on the spot :) |
16:51.29 | Kalroth | thanks though! |
16:55.42 | Cide | ah, okay :) glad they're up again, at least |
17:29.55 | *** join/#wowi-lounge ForgottenLords (n=Forgotte@059.216-123-195-0.interbaun.com) |
17:40.00 | Shouryuu_ | I can't believe my BG addon has more downloads than my loto addon |
17:40.30 | Shouryuu_ | well I *can* believe it, but the work/download ratio isn't respected :p |
17:41.46 | krka | it never is |
17:41.51 | Shouryuu_ | hehe |
17:41.56 | krka | really |
17:42.02 | krka | that's a fact |
17:42.37 | Ktron | heh, I rarely feel like the lotto needs improvement... BG interface, a bit more so :) |
17:42.52 | Shouryuu_ | yeah the loto I droped |
17:43.09 | Shouryuu_ | my guild doesn't even organise a loto |
17:45.44 | Kirkburn | Lotto? |
17:45.54 | Shouryuu_ | lotery |
17:46.01 | Kalroth | lottery :) |
17:46.05 | Kirkburn | Ah, er, it's double-t :P |
17:46.20 | Kirkburn | Different in french and english, then? |
17:46.20 | Shouryuu_ | =( |
17:46.30 | Kalroth | maybe that's why you've got so few downloads on it :P |
17:46.39 | Shouryuu_ | hehe |
17:46.58 | Shouryuu_ | Kirkburn I have no idea, my spelling is worst in french than it is in english |
17:47.05 | Kirkburn | lol |
17:47.25 | Shouryuu_ | I lose like 7 marks per french test because of it =( |
17:48.32 | Ktron | heh |
17:48.43 | Shouryuu_ | awwww |
17:48.48 | Ktron | I thought you meant like /roll lotteries or roll for item stuff |
17:48.50 | Kirkburn | So what is your 'first' language then? |
17:48.59 | Shouryuu_ | well |
17:49.03 | Ktron | Shourese, obviously |
17:49.08 | Shouryuu_ | hehe |
17:49.23 | Ktron | heh, no, jk, he first language is IRC |
17:49.32 | Kirkburn | rawr |
17:49.53 | Shouryuu_ | lol |
17:50.29 | Shouryuu_ | I learned english before French, but I've worked more on my french than on my english |
17:57.14 | Kirkburn | Ah, I see |
17:57.33 | *** join/#wowi-lounge tragywydd (n=Tragywyd@cpe-24-59-191-241.twcny.res.rr.com) |
18:26.22 | *** join/#wowi-lounge Cide- (i=Cide@81-226-233-5-no60.tbcn.telia.com) |
19:13.20 | krka | <PROTECTED> |
19:21.12 | *** join/#wowi-lounge Suntiger (n=moonwolf@f176182.upc-f.chello.nl) |
19:25.18 | ckknight | hey all |
19:25.38 | krka | hey |
19:26.00 | krka | my god... nxml for emacs is simply the best xml editor i've found yet |
19:26.48 | krka | may even be possible to write xml for wow now... :P |
19:27.14 | *** join/#wowi-lounge [MoonWolf] (n=moonwolf@f176182.upc-f.chello.nl) |
19:27.19 | *** join/#wowi-lounge Miravlix (i=dragon@0x3e42aafc.adsl.cybercity.dk) |
19:29.17 | *** join/#wowi-lounge Eraphine (n=Eraphine@cpe-24-59-107-221.twcny.res.rr.com) |
19:30.44 | Eraphine | Anyone know if there's an addon with "manual" mana conserve featuers? |
19:30.54 | Codayus | Yeah |
19:31.10 | Eraphine | i.e. repeated mashing of buttons cancels spell if targets health rises over certain threshold. |
19:31.22 | Codayus | I hacked it into AceHeal |
19:31.26 | Eraphine | mind giving me a linky? |
19:31.39 | Eraphine | hrm.. |
19:31.45 | Codayus | Sure...hmm |
19:32.32 | Codayus | Current version: |
19:32.36 | Codayus | http://svn.wowace.com/dl.php?repname=Ace+SVN&path=%2Fbranches%2FAceHeal%2FDevla%2FAceHeal%2F&isdir=1 |
19:32.46 | Eraphine | you're devla? |
19:32.50 | Codayus | No. |
19:32.59 | Codayus | Devla is currently distributing it. |
19:33.03 | Eraphine | ahhh ok |
19:33.23 | Codayus | I'm just the one who hacked mana concerve into it, which is currently included in Devla's version, which is what I just linked to. :-) |
19:33.25 | Eraphine | how does that work with click casting? |
19:33.32 | Eraphine | yeah i've been using deval's vesrion |
19:33.42 | Eraphine | there was a string gsub error on the one from Friday |
19:33.45 | Codayus | Just click a bunch, and mana conserve kicks in. |
19:34.00 | Eraphine | Can you bind it to a macro? |
19:34.08 | Codayus | Hmmm |
19:34.47 | Codayus | Just the mana conserve bit? |
19:35.08 | Eraphine | well - basically, with any spell, the repeated mashing of the button that trigger that heal. |
19:35.15 | Eraphine | or I guess mashing anther button would owrk. |
19:35.36 | Codayus | Yeah |
19:36.17 | Codayus | It's currently set up so that, say, if shift-right click on a unit frame is flash heal, if you keep shift-right clicking, it'll cast flash heal, and cancel if neccesary |
19:36.42 | cladhaire | boo for mana conserve. |
19:36.52 | Eraphine | forget about mana conserve then |
19:36.59 | Eraphine | how do I check to see if a spell is casting |
19:37.05 | Codayus | I know, but I'm a lazy bastard. |
19:37.17 | cladhaire | its more work imo |
19:37.19 | cladhaire | *shrug* |
19:37.26 | Eraphine | i.e. If Spell IsCasting, SpellStopCasting, else Cast Spell ? |
19:37.30 | Eraphine | damn... hrm. |
19:37.32 | Codayus | Do you want to know if ANY spell is casting, or if AceHeal is casting a spell? |
19:37.54 | Codayus | AceHeal keeps track of it in: AceHealVar["casting spell"] |
19:38.14 | Eraphine | Not sure what I want yet, just a way to have a heal button stop a spell if a spell is already casting |
19:38.29 | Codayus | And AceHealVar["casting spell"].started AceHealVar["casting spell"].unit and so on |
19:40.33 | Codayus | Well, as it stands in my version of AceHeal (and Devla's AFAIK), all heals cast through AceHeal (no matter how you cast them) call AceHeal:CastHeal() |
19:41.10 | Codayus | And CastHeal() calls AceHeal:ManaConserver(), which checks if your currently casting, and if you are, checks if the heal should be cancelled, and if it does, cancells it. |
19:49.50 | *** join/#wowi-lounge Elkano (n=elkano@ip-213-135-2-179.handshake.de) |
20:12.18 | Tem | cladhaire: is the current trunk of PR safe to use? |
20:26.38 | cladhaire | Tem: trunk, yes. Its 0.3-Beta from wowi release |
20:26.56 | Tem | I had reverted to r868 for a few days... |
20:33.48 | *** part/#wowi-lounge ForgottenLords (n=Forgotte@059.216-123-195-0.interbaun.com) |
20:40.58 | *** join/#wowi-lounge Tem (n=Tem@adsl-33-201-228.lft.bellsouth.net) |
20:52.05 | *** join/#wowi-lounge Warol (n=Warol@adsl-75-4-159-33.dsl.emhril.sbcglobal.net) |
21:14.15 | *** join/#wowi-lounge Cairenn (n=Cairenn@CPE001217452e29-CM014500004571.cpe.net.cable.rogers.com) |
21:14.15 | *** mode/#wowi-lounge [+o Cairenn] by ChanServ |
21:15.58 | *** join/#wowi-lounge NeT- (n=net@dslb-088-064-177-156.pools.arcor-ip.net) |
21:20.46 | groll | anyone got some chmod knowledge? |
21:21.20 | groll | what does this mean is it 777 they mean or what? http://wow.pastebin.com/691104 |
21:35.08 | Elkano | nope, itr's not 777 since they only get read and execute, but not write |
21:36.18 | groll | hmms |
21:36.33 | Elkano | I think the resulting files should have sth like 755 (since you want to still be able to write, don't you? ;) ) |
21:37.06 | krka | 7 is 1 + 2 + 4 (read + write + execute) |
21:37.12 | krka | the first number is for the owner |
21:37.15 | krka | second is for group |
21:37.18 | krka | third is for anyone |
21:37.41 | Elkano | wasn't third other? |
21:37.58 | krka | yeah |
21:38.27 | Elkano | hmmm.. |
21:38.34 | *** join/#wowi-lounge sss (n=phlak@69.5.35.18) |
21:39.53 | Elkano | (u)ser, (g)roup, (o)thers, (a)ll |
21:40.25 | *** part/#wowi-lounge sss (n=phlak@69.5.35.18) |
22:07.21 | *** join/#wowi-lounge Iriel (n=daniel@adsl-71-158-244-138.dsl.pltn13.sbcglobal.net) |
22:07.32 | *** mode/#wowi-lounge [+o Iriel] by ChanServ |
22:08.34 | Miravlix | someone talk slouken into adding a 'control char' that makes the build in chat system ignore that line. ala /say ctrl-a<ext> will make the build in chat functions ignore printing that line. |
22:09.08 | Iriel | Why would you do that? |
22:09.47 | Miravlix | because then I could use real channels for control information |
22:10.09 | Iriel | So you want explicit backchannel support, basically? |
22:10.18 | Corrodias | i don't understand! eek! |
22:10.24 | Iriel | I'm pretty sure they'll never give it to us |
22:10.33 | Iriel | But it gets asked for quite a bit |
22:10.57 | Miravlix | With only 10 channels and 6 of those now default channels |
22:10.58 | Corrodias | increasing the channel limit is probably also popular, eh? |
22:11.13 | Miravlix | It's gettig impossible to create Addon control channels |
22:11.18 | Iriel | Corrodias : Yes, it is |
22:11.31 | krka | could probably encode messages in lots of other ways |
22:11.47 | Cide- | hmm, is anyone familiar with how /combatlog works? |
22:11.48 | Miravlix | My guild, requires me to be in 2 channels + I like to be in 5 of the default ones |
22:12.00 | Cide- | it says enabled, but nothing is getting saved there |
22:12.02 | Iriel | The channel count limitation is likely **MORE** important for addons than normal people |
22:12.07 | Iriel | Cide-: it's heavily buffered |
22:12.09 | Iriel | Cide-: log out |
22:12.13 | Cide- | ah |
22:12.14 | Iriel | Cide-: And it should flush the buffer |
22:12.18 | Corrodias | i wonder if i should have a nap. |
22:12.22 | Miravlix | Thats 7 channels. 1 Sky, 1 SkyParty, 1 xtensiontooltip |
22:12.23 | Cide- | what about /combatlog again? |
22:12.24 | Gryphen | that was a reason for Sky |
22:12.25 | Cide- | would that flush it? |
22:12.33 | Miravlix | Not even room for SkyRaid, SkyGuild or anything |
22:12.50 | Iriel | Cide: No |
22:12.57 | Cide | oh well |
22:13.01 | Iriel | Cide: otherwise people would just do that OnUpdate 8-) |
22:13.02 | Cide | I'll relog after each attempt, then :) |
22:13.25 | krka | i hate it when addons try to save users from themselves |
22:13.53 | Miravlix | Has it been requested that you can type a <code> on a chat line to make it be hidden by the normal UI? |
22:14.06 | Iriel | Miravlix : A much more generalized request was made |
22:14.12 | Iriel | Miravlix : Essentially a flag to SendChatMessage |
22:15.05 | Miravlix | All we would need was for Slouken to add if string.find("^<code>") then return end |
22:15.16 | krka | iriel, since you're an emacs user, what do you use for xml? |
22:15.23 | Iriel | krka: nxml-mode |
22:15.33 | Miravlix | Seems so little work it might be possible to get. |
22:15.35 | krka | why didn't you tell me about that before, i found that todaty :/ |
22:15.47 | Iriel | krka: I say it every time someone asks what IDE I use |
22:15.54 | Iriel | krka: You just didn't notice |
22:15.58 | krka | possibly |
22:16.05 | Iriel | krka: I have a .rnc for UI.xsd too |
22:16.11 | krka | i was just gonna ask for that |
22:16.12 | krka | :P |
22:16.41 | krka | any nifty .emacs settings too? |
22:16.54 | Miravlix | lua tab settings |
22:16.57 | krka | i actually think i could tolerate writing xml uis with this |
22:17.10 | krka | since indentation actually works in nxml |
22:17.18 | Miravlix | (setq lua-indent-level 8) |
22:17.18 | Miravlix | (require 'psvn) |
22:17.27 | Miravlix | Second line is to activate SVN support |
22:17.28 | Iriel | http://www.vigilance-committee.org/wow/downloads/random/ |
22:17.29 | Iriel | Ui.rnc |
22:17.42 | Iriel | 8!? |
22:17.42 | krka | Miravlix, talking about xml now, not lua |
22:17.43 | Iriel | Jeez |
22:17.43 | Miravlix | Have to download psvn |
22:18.10 | Miravlix | You can SVN xml files too |
22:18.17 | Iriel | krka: It doesn't like the namespace decl at the top, but im too lazy to fix it |
22:18.40 | krka | hm |
22:18.53 | Iriel | krka: If you notice any issues, let me know, I may have to tweak my script (it's generated from UI.xsd) |
22:19.02 | krka | whoa.. that's a complete grammar, it looks like |
22:19.05 | Iriel | krka: But completion and everything works fine |
22:19.19 | krka | where do i plug it in and stuff? :) |
22:19.33 | Iriel | krka: Do you want the 'quick' or the 'proper' answer? |
22:19.53 | krka | both? :) |
22:20.25 | Iriel | quick is you can just do 'set schema' in the nxml menu when you have a file open |
22:21.13 | krka | i want it to figure it out automatically |
22:21.24 | Iriel | proper is, grab schemas-wow.xml from the URL above |
22:21.29 | Iriel | put it in the same directory as Ui.rnc |
22:22.05 | Iriel | then do |
22:22.16 | Iriel | M-x customize-group<enter>relax-ng<enter> |
22:22.32 | Iriel | open the "Rng Schema Locating Files" entry |
22:22.38 | Iriel | and add the full path to that .xml file |
22:22.54 | Iriel | then hit "State" and select "Save for future session" |
22:24.40 | krka | cool |
22:25.03 | krka | now i just have to figure out keybindings for all usefull commands |
22:25.24 | Iriel | with nxml-mode the 2 you need most are: |
22:25.25 | Iriel | <TAB> |
22:25.28 | Iriel | C-<Enter> |
22:25.51 | krka | auto-complete faild... hm |
22:26.12 | Iriel | Did you open that file AFTER setting up the schema locator? |
22:26.33 | krka | no |
22:26.48 | Iriel | You can do |
22:26.53 | Iriel | set schema -> automatically |
22:26.55 | krka | YAY |
22:26.57 | Iriel | and it should pick it up |
22:26.58 | krka | thanks Iriel |
22:27.02 | krka | you're the best |
22:27.04 | Iriel | One last thing |
22:27.10 | Iriel | in the nxml customization group |
22:27.18 | Iriel | I enable "Nxml Slash Auto Complete Flag" |
22:27.19 | krka | both attributes and element ... sweet |
22:27.27 | Iriel | attribute values, too |
22:27.35 | Iriel | orientation="<C-Enter> FTW |
22:29.09 | krka | this is awesome |
22:29.35 | krka | i am used to having ctrl-space for auto-complete, since eclipse |
22:29.38 | krka | but i'll get used to it |
22:29.57 | Iriel | You could rebind it |
22:30.00 | Iriel | but I wouldn't recommend that |
22:30.04 | Iriel | since Ctrl-space is 'set mark' |
22:30.16 | krka | yeah i know :) |
22:30.36 | krka | man... this will make it virtually impossible to write bad xml-files |
22:30.44 | Iriel | heh |
22:31.02 | krka | even knows which child types are legal |
22:31.25 | Iriel | C-c C-n takes you to the next error |
22:31.49 | Iriel | And, one of my favorites... |
22:32.19 | Iriel | C-x h M-x indent-region |
22:32.34 | Ktron | how 'hard' is it to make a 'popup dialog' in WoW? |
22:32.42 | Ktron | s\'\\ |
22:33.09 | Iriel | YOu mean of the 'do you want to do this' variety? |
22:33.24 | Ktron | Heh, let me try again |
22:33.38 | krka | Iriel, isn't that what you bind tab to? |
22:33.54 | Ktron | I'm releasing a guild addon package, I want to have a few pages of howtos that I will write that they can access via probably ultimately a minimap button |
22:33.57 | Iriel | krka: Tab idents the current line |
22:34.09 | Ktron | I'm trying to get a sense of whether this is way beyond my skill or not |
22:34.10 | krka | seems much more useful to indent everything |
22:34.11 | Iriel | krka: indent region re-indents all text in the region |
22:34.24 | Ktron | I'm fairly confortable with LUA, not so much with xml |
22:34.28 | Iriel | well, once everything is indented, the current line is al you have to worry abotu as you're coding |
22:34.49 | krka | yeah, but i tend to stea^H^H^H^Hcopy+paste a lot of xml |
22:35.19 | Iriel | Ktron: It wouldn't be "hard" really, personally i may suggest looking athe ItemText frames |
22:35.43 | Iriel | Ktron: You may even be able to just invoke those, I cant' remember how tightly coupled they are to the events and API |
22:35.44 | Ktron | Iriel, I'm assuming these are default blizzard things that I should look up on wowwiki |
22:35.45 | krka | here's a challenge for you btw, Iriel, i got the idea of adding visual line numbers to the left of an editbox |
22:35.53 | krka | but haven't figured out how i know where to place them |
22:36.05 | Iriel | Ktron: the ItemText ones are things you want to extract from FrameXML and look at |
22:36.18 | krka | i.e. how do you know the visual height of lines |
22:36.22 | Iriel | krka: do you need to? |
22:36.32 | Iriel | krka: can you just do "1\n2\n3\n4\n" and use the same font? |
22:36.34 | Ktron | Iriel, ah, okay |
22:36.43 | krka | i don't want to put the line numbers inside the same editbox |
22:37.00 | Iriel | krka: I know, I mean, in a FontString beside the editbox |
22:37.12 | krka | yes, but the lines in an editbox may be wrapped |
22:37.28 | krka | so a line may be several lines |
22:37.46 | Iriel | krka: ah, then that will be rather difficult |
22:37.48 | Ktron | krka, wouldn't that still only be one line? |
22:37.56 | Ktron | as in, one one number per edit box? |
22:37.59 | krka | (i want to catch the compilation error from loadstring so then showing the line number for each line may be useful |
22:38.19 | Iriel | krka: you may have to do some funky experiments with off-screen font strings to see when things will wrap |
22:38.26 | krka | Iriel, unless you can GetHeight on an editbox somehow |
22:38.45 | Iriel | krka: That doesn't help you find a specific line |
22:38.52 | krka | not sure what you mean Ktron |
22:38.57 | Iriel | krka: Wouldn't it be easier to somehow just highlight the offending content? |
22:39.04 | Ktron | then you should probably ignore it, it probably didn't make sense |
22:39.22 | krka | the easiest thing would be to have a button that sets the cursor to the offending line |
22:39.56 | krka | and show line / row as numbers below the editbox |
22:40.30 | krka | but showing the line numbers to the left is nice, because it also gives a very clear indication of which lines are wrapped |
22:40.58 | krka | hmm |
22:41.06 | *** join/#wowi-lounge Parak (n=profi@user-0cev737.cable.mindspring.com) |
22:41.15 | krka | a fontstring with the same width and the same text as a line in the editbox, would GetHeight on that work? |
22:44.37 | Iriel | it might |
22:44.41 | Iriel | you'd need to try it 8-) |
22:44.55 | Iriel | That is the first thing that came to mind to me also, though |
22:44.58 | krka | yeah that's always an option |
22:45.17 | wereHamster | does anyone know where kirburn lives? |
22:45.28 | krka | maybe the height is always fixed though |
22:46.41 | krka | testing is always my option #2, asking in here is #1, since most of the time, someone in here has tested it before :) |
22:46.55 | Ktron | heh, I think I'm going to have to look for something more basic |
22:47.07 | Ktron | there must be an XML guide I can dig up |
23:00.34 | zespri_work | Iriel, can I bother you with a question? |
23:00.42 | Iriel | sure |
23:00.47 | zespri_work | It's here http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=370438&p=1&tmp=1#post370438 |
23:02.05 | Iriel | When both are called, what order are they called in? |
23:02.50 | zespri_work | I'm not sure and I can't test it right now. Let's assume that we know the order =) |
23:04.26 | krka | should be easy to test order |
23:05.22 | zespri_work | yeah, I just need a pc with WoW and internet connection =) |
23:05.33 | krka | zespri_work, one easy solution is this: |
23:05.37 | Iriel | Well, if you know the order, AND OnTextSet comes first, you should be able to eliminate those OnTextChanged's that aren't yours |
23:05.44 | Iriel | though hooking SetText seems easier |
23:05.44 | krka | hook SetText and nil the handlers |
23:06.08 | krka | nil handlers, orig SetText, restore handlers |
23:06.26 | Iriel | you dont even need to nil them |
23:06.26 | krka | then you'll never get OnTextChanged for SetText |
23:06.35 | Iriel | you can just set a flag on SetText and clear it when you see OnTextChanged |
23:06.54 | krka | true |
23:07.47 | zespri_work | will this work? I mean am I guaranteed that OnTextChanged is called *before* SetText call has finished. Maybe this even is just queued and called later? |
23:08.01 | ckknight | I need a name for a FuBar plugin that attaches the experience and reputation bars to the panel itself |
23:08.03 | Iriel | I dont know without testing it. |
23:08.16 | Iriel | but you might not care (with the flag version) |
23:08.30 | Iriel | FuBarGlueXP |
23:09.24 | zespri_work | How do I know that particular OnTExtChanged corresponds to particular SetText? |
23:09.37 | zespri_work | with the flag version |
23:09.46 | Iriel | If you care that much, make the flag the actual text |
23:09.50 | krka | if flag then flag = nil else process() end |
23:10.05 | Kirkburn | wereHamster, why did you ask where I live? |
23:10.15 | Iriel | How precise you have to be depends heavily on what you intend to DO with the data |
23:10.23 | Kirkburn | If you'd spelt my name right, the window would have got flagged up :) |
23:10.40 | krka | he's like that... i had to move twice and change my phone number thrice because of wereHamster :( |
23:10.46 | Kirkburn | lol |
23:12.12 | krka | time to sleep! |
23:12.14 | wereHamster | hi Kirkburn |
23:12.16 | krka | *gone* |
23:12.20 | Kirkburn | Bye krka |
23:12.26 | krka | will have to make my lua editor tomorrow |
23:12.44 | Kirkburn | Have fun with that :) |
23:12.53 | Kirkburn | And hello wereHamster :) |
23:13.59 | wereHamster | Kirkburn, I wanted to know around what time you are here in this channel |
23:14.05 | Ktron | I'm sure I'm overlooking one or more obvious things, but any help would be great... http://wow.pastebin.com/691301 |
23:14.18 | Ktron | Just want to see a (green?) frame with a button on it |
23:14.42 | Kirkburn | Central Europe Time, in the evenings ... so from about 8 hours ago until now |
23:14.53 | Kirkburn | I'm in Italy atm |
23:15.18 | wereHamster | nice .. holidays? |
23:15.23 | Ktron | that GMT+2? |
23:15.35 | haste | CEST = GMT+1 |
23:15.38 | haste | If I'm not wrong |
23:15.54 | haste | which I hope I'm not, since I live in europe :p |
23:15.59 | Kirkburn | no :( University and I'm not liking it much. Mostly because I wish I was back at my 'proper' uni in Bristol, UK with my girlfriend |
23:16.00 | wereHamster | it's now 1:15 in CET |
23:16.07 | Kirkburn | Yup, 1:15 |
23:16.36 | wereHamster | where exactly in italy? |
23:16.51 | Kirkburn | Perugia, Umbria |
23:17.14 | Kirkburn | What about you :) |
23:17.54 | Kirkburn | I'm hoping terrorists are not about to target Perugia ... ? |
23:18.08 | wereHamster | hm.. I'd say 300-400km north of you |
23:18.20 | Kirkburn | Milan? |
23:18.31 | wereHamster | not in italy.. |
23:18.31 | zespri_work | ok thank you Iriel and krka |
23:18.38 | wereHamster | switzerland.. |
23:18.48 | Kirkburn | Ah, further than Milan :P |
23:19.30 | Iriel | Ktron: I dont suppose you know how RelDimension works exactly? Is it parent-relative, specifically? |
23:19.55 | wereHamster | about the fixed width number font in ClearFont... I think ClearFontNumber.ttf has fixed-width numbers, right? |
23:20.08 | Kirkburn | Nope, not yet :( |
23:20.23 | Kirkburn | I'm working on it |
23:20.25 | Iriel | Ktron: And you might want to put parent="UIParent" and topLevel="true" on your frame |
23:20.31 | Ktron | wowwiki seemed to think so... |
23:20.52 | wereHamster | I've tried searching for fixed-width fonts myself, but I couldn't find any nice fonts :( |
23:20.55 | Iriel | Ktron: And you shouldn't need :Show() in your OnLoad, just put hidden="false" on your frame |
23:21.07 | haste | wereHamster: BitStream vera |
23:21.07 | Ktron | Iriel, ah, I'll add those, and yeah, wowwiki suggests that what I have there should make a frame that half the width and half the height of my ui |
23:21.27 | wereHamster | do you create the fonts yourself? or did you copy the font from somwplace? |
23:21.35 | Iriel | Ktron: That sounds right. |
23:21.48 | Kirkburn | There's microsoft's, gonna be in Vista |
23:21.52 | Kirkburn | *they're |
23:22.28 | Ktron | changed into http://wow.pastebin.com/691318 ... still not seeing a frame when I load though, and I think I should be? |
23:22.36 | wereHamster | Bitstream Vera Sans Mono |
23:22.58 | Iriel | Ktron: Did you fully log out of the client and back in? |
23:23.00 | haste | wereHamster: the mono version is _very_ mono also :p |
23:23.06 | Iriel | Ktron: i.e. do you know wow is seeing your .xml file |
23:23.09 | Ktron | Iriel, no, is that required for xml file changes? |
23:23.19 | Iriel | Ktron: I mean since you created the file |
23:23.25 | Ktron | Iriel, oh, yes, I have |
23:23.27 | zespri_work | Iriel, more or less here is what happening. In Khaos config you can switch of and option and then all the dependant options will be sitched off and their value become default. This defaults will be reflected in UI but won't be stored in the khaos option. so when you switch the option back on the old value is restored because in fact it never were overwritten. It does work for everything but editboxes, because in editboxes we rely on OnTextChange |
23:23.38 | Iriel | Ktron: what does /dump GhostPackGuide_main give you? |
23:23.51 | Ktron | um... think I need to snag devtools again first |
23:23.53 | Kirkburn | I take that back, the number font *is* fixed width |
23:24.17 | Iriel | Ktron: try message(tostring(GhostPackGuide_main)) |
23:24.20 | haste | wereHamster: I currently useVeraSe.ttf |
23:25.11 | Kirkburn | I just checked the number font (Lucida Sans Demibold Roman) and it's fixed width |
23:25.24 | Iriel | Ktron : Oh, you're missing a </Layer> |
23:25.30 | Iriel | Between </Texture> and </Layers> |
23:25.31 | Ktron | I already got devtools.... it tells me it is nil... hm? |
23:25.32 | Kirkburn | (or at least, it is in Word) |
23:25.43 | Ktron | so I am |
23:26.15 | Ktron | fixed that |
23:26.27 | Ktron | http://wow.pastebin.com/691324 , still nothing, but dump returned something |
23:27.02 | Ktron | got 'GhostPackGuide_main={ [0]=<userdate GhostPackGuide_main[0]> } |
23:27.18 | Iriel | Well, your frame exists now |
23:27.45 | Iriel | Shouldn't a be 1, and not 0? |
23:27.47 | Ktron | I think I've got the button to show now |
23:27.48 | Iriel | in your color? |
23:28.03 | Ktron | yeah, doh |
23:28.15 | Ktron | heh... I'm quite new to this stuff... that's it Iriel, you win |
23:28.36 | Ktron | Now time to attach fonts... and borders perhaps... |
23:28.37 | Kirkburn | wereHamster, I'm hoping they 'release' a new version of the main font I use with fixed width numbers, but I'm doubtful it will occur :( |
23:28.54 | wereHamster | alrighty.. Bitstream Vera Sans, style: Bold works fine, the font string doesn't jump around as the number change (unlike with ClearFontNumber.ttf) .. |
23:29.30 | Kirkburn | I'm confused now :s |
23:30.22 | Kirkburn | The number font included in v11000-4 is fixed width |
23:31.03 | Kirkburn | (example from someone elses addon: http://www.wowinterface.com/downloads/preview.php?id=2533) |
23:32.10 | wereHamster | Kirkburn, sure.. that's my addon ;) |
23:32.22 | Kirkburn | Wait, what really?! |
23:32.35 | Kirkburn | You're Shag? |
23:32.38 | wereHamster | <= aka Shag |
23:33.08 | Kirkburn | Well, this is much fun |
23:33.17 | zespri_work | Iriel, another question this time thoretical =) About your embeded lib. Several questions actually. First, does a embedded library always embedded? Or is it possible in some cases have this library on the top level in Addons folder and all the addons that depend from it will still work whether or not they have their own copy? |
23:33.28 | Miravlix | Huh! |
23:33.38 | Kirkburn | And now I'm totally and completely confused |
23:33.44 | Iriel | zespri: yes, because essentially you're just embedding it with nothing else |
23:33.47 | Miravlix | somefunc = func() |
23:33.49 | Miravlix | return |
23:33.57 | Miravlix | if this then do something end |
23:33.59 | Miravlix | end |
23:34.06 | Iriel | syntax error, I would hope |
23:34.07 | Miravlix | That result in a lua error |
23:34.16 | Iriel | return **MUST** be the last statement in a block |
23:34.19 | Iriel | as must break |
23:34.22 | Iriel | you can cheat and do |
23:34.31 | Iriel | somefunc = func() do return end if this then do something end end |
23:34.49 | Miravlix | You can't be bloody serious |
23:35.10 | Iriel | It makes no sense to put anything after a return |
23:35.13 | Iriel | so why the incredulity? |
23:35.33 | Kirkburn | Ah well anyway, I should be getting to bed |
23:36.03 | wereHamster | let me describe my problem: because the font string will always have 5 characters (AB:CD) I thought I could align it in the center of the frame. but, with ClearFontNumber.ttf it doesn't work. When the last number changes to '1' the font string somehow becomes narrower and moves a couple of pixes to the right. |
23:36.16 | zespri_work | So, Iriel, my question is mainly what do you think should be put in toc files for different scenarios. It's not clear should you put the embeddedlibrary #Depends in toc of your addon or not. |
23:36.36 | Iriel | zespri: If you're emebdding the library, you wouldn't add a dependency |
23:36.43 | Iriel | the whole point of embedded libraries is to avoid them |
23:36.54 | Kirkburn | wereHamster, that's odd, it doesn't show that in Microsoft Word. I'll have a look tomorrow! |
23:37.04 | Iriel | The embedding mechanism will sort everything out if more than one instance of itself shows up |
23:37.33 | Miravlix | Actually, if you use the Sea model |
23:37.48 | Miravlix | Then you should put ## OptionalDeps: Sea, SeaHooks |
23:37.58 | Miravlix | To make the other two load first |
23:38.12 | Miravlix | For one thing Sea isn't embedded |
23:38.32 | Miravlix | It supports an embedded loader to run after it's loaded |
23:39.01 | Kirkburn | Ta for the info wereHamster/Shag/Mr. Switzerland |
23:39.12 | zespri_work | in this case something bad can happen. Let's assume that you have an addon that may use an embeddable library if it's present. It doesn't list this library in its toc file. in OnLoad it checks if the library is there and it is not because it didn't get chanse to load yet. but then it gets loaded and when the addons tries to use this library in it's main business logic it actualy fails because initialization code in OnLoad didn't execute because |
23:39.18 | Kirkburn | I'm off to bed now ... night night all! |
23:39.32 | zespri_work | and if you add toc dependency it's whole another can of worms |
23:39.43 | wereHamster | night |
23:40.28 | Ktron | http://wow.pastebin.com/691348 does this look like I should have text to look at on my frame now? |
23:40.41 | zespri_work | Mira, I have a problem exactly with see hooks, I'll explain you what the problem is in a bit if you are interested, I'm just asking Iriel if his approach has the same problem =) |
23:41.41 | Iriel | My approach avoids explicit dependencies completely |
23:41.50 | Iriel | Each addon carries the version of the library it needs |
23:41.59 | Iriel | The stub sorts out the mess later (if there is one) |
23:42.14 | Iriel | Ktron : 2 things.. (1) it's toplevel not topLevel, I gave you the wrong name earlier |
23:42.18 | zespri_work | Ok so it's just doesn;t cater for situation of optionaly used library. Got it. |
23:42.18 | Miravlix | Yeah, but you don't have Cosmos |
23:42.20 | Iriel | Ktron: (2) Backdrops dont havea name |
23:42.39 | Miravlix | For Cosmos it's important to give the user less crap when running the full system |
23:42.50 | Ktron | heh, the backdrop thing I picked up from a guide, that was nearly copy and paste |
23:42.55 | Iriel | I'm not sure how that's relevant to this discussion M. |
23:42.57 | Ktron | and I'll fix the toplevel bit |
23:42.58 | Miravlix | So Sea does not support Embeding |
23:43.06 | Iriel | At least, with respect to embedding |
23:43.14 | Iriel | When all's said and done, only the 'active' instance stays in memory |
23:43.22 | Iriel | Though it's true each addon is slightly larger |
23:43.45 | Iriel | But if something's large enough that's a real issue, it probably should be a traiditonal dependency rather than embedded |
23:43.59 | Miravlix | Yes, precisely and in a big system many little things make one big pile of crap |
23:44.43 | Miravlix | So to avoid this, we don't use Embedding in the full version |
23:45.05 | Miravlix | So it's a requirement that you have ## OptionalDeps: FullLibrary |
23:45.25 | snurre | hm.. Miravlix = played AO? |
23:45.35 | Miravlix | Hej Snurre, er det dig? |
23:45.38 | snurre | yup |
23:46.15 | snurre | long time no see |
23:46.19 | zespri_work | Iriel, thank you again =) |
23:46.27 | Ktron | up to http://wow.pastebin.com/691360 -- I assume it's okay to use RelDimension to specify offsets too... |
23:46.36 | Miravlix | You seen the light and joined the WoW hordes? |
23:46.52 | Iriel | I dont see much value in the |
23:47.02 | Iriel | approach of 'use this libary if it's here but do it a different way if it's not |
23:47.09 | Iriel | at least, not for true multipurpose libraries |
23:47.32 | Iriel | I can see that for inter-addon operability, in which case the Optional dependencies route is the right one |
23:47.44 | Miravlix | Isn't it pretty clear by now that we have significantly different approches to certain programming issues? |
23:47.46 | Iriel | but the idea with an embedded library is that your addon needs to use it |
23:47.48 | ckknight | I make sure to use OptionalDeps for all my embeds |
23:48.01 | Iriel | if you didn't need it, you wouldn't carry it with you |
23:48.05 | ckknight | right |
23:48.05 | Miravlix | I'm more concerned about 100 addons working well together than an addon works alone |
23:48.06 | zespri_work | Iriel, I know exactly what you mean. I myself doubt this approach every know and then, the problem is that sometimes users just doen't want an additional library and are ready to sacrifies part of functionality for it |
23:48.15 | ckknight | you should have both the embedded and the OptionalDep |
23:48.25 | ckknight | that way, if you install a new version, it can go straight in your addons folder |
23:48.27 | ckknight | etc. |
23:48.41 | Ktron | maybe I can use Warmup's text frame |
23:48.54 | Iriel | ckknight : Well, I dont really see embedded libaries as things that would stand alone |
23:49.06 | ckknight | yea |
23:49.09 | ckknight | but mine all "can" |
23:49.19 | ckknight | even though they typically won't |
23:49.37 | Miravlix | Our approch work in 3 modes. Full Library Addon, Part Library Addon, Embedded Addon |
23:49.44 | ckknight | why? |
23:50.22 | Miravlix | When we are done you can have Sea as 15 addons or one big Library. |
23:50.47 | ckknight | oh well, do what you will |
23:50.50 | Iriel | Miravlix : that works great if you've got the infrastructure for an updater, and version consistency, etc |
23:50.56 | Iriel | Miravlix : Cosmos is really one big addon in little pieces |
23:51.48 | Iriel | Miravlix : I have no problem with dependencies, they're appropriate in a large number of cases, but also rquire their own care and attention |
23:51.51 | zespri_work | Ok I'm off to lunch break. Thanks again everybody and Iriel in particular. |
23:52.18 | Iriel | Miravlix : But they solve a different problem., and **DONT** solve other problems that embedded set out specifically to address. |
23:53.01 | Miravlix | We both support being used Embedded for standalone operation or in a big UI system |
23:53.25 | Miravlix | We use OptionalDeps to control load order, thats all. |
23:53.36 | Iriel | That's where it gets odd |
23:53.46 | Iriel | How can you support standalone operation and then use optionaldeps? |
23:54.18 | Iriel | Or by'support standalone operation' do you just mean 'we bundle an embedded version but is'not used if you have the main one' ? |
23:54.25 | Iriel | Which is essentially what the embedding stub does |
23:54.50 | Miravlix | Actually if you have an old Sea |
23:55.01 | Miravlix | The Embedder will upgrade the part of Sea it's loading |
23:55.25 | Iriel | also what the embedding stub does |
23:56.00 | Iriel | So, in that world, what purpose is sea-as-its-own-addon serving? Or do you have some addons that DONT carry an embedded copy and use a required dependency? |
23:56.26 | Miravlix | Most of Cosmos has a Required Sea dependency |
23:56.41 | zespri_work | Miravlix, read what Iriel wrote here http://www.iriel.org/wow/addondev/embedlibrary1.html if you haven't read it already. This way it's easier to understand what he means |
23:56.45 | Iriel | Aha, then it makes sense |
23:56.53 | Iriel | But you didn't mention REQUIRED dependencies until now |
23:57.05 | Miravlix | Hmm? |
23:57.10 | Tem | I still don't see the point in an optional dep |
23:57.19 | Miravlix | You have a required dependency thats why you Emebbed |
23:57.25 | Iriel | Tem: The theory is the 'standalone' sea will be the most recent version |
23:57.31 | Miravlix | No |
23:57.35 | Tem | you can't guarantee that at all |
23:57.40 | Iriel | You can't GUARANTEE it |
23:57.42 | Miravlix | You guys is overlooking the complication of Sea here |
23:57.53 | Tem | *cough* |
23:57.54 | Miravlix | Sea.wow.spellbook |
23:57.58 | Miravlix | Sea.utils.hooks |
23:58.00 | Iriel | but if if it's the most frequent case, making it load first is advantageous |
23:58.05 | Miravlix | Sea.utils.somethingelse |
23:58.31 | Tem | dubious benefit imo |
23:58.42 | Iriel | Tem: Well, you dont HAVE to add the dependency 8-) |
23:58.46 | Iriel | Tem: it is optional 8-) |
23:58.46 | Miravlix | So Sea has to load first to set everything up |
23:58.59 | Iriel | Miravlix : So is only SOME of sea embeddable? |
23:59.14 | Iriel | Miravlix : Is this conversation not about embedding sea and a dependency on sea... |
23:59.18 | Miravlix | Right now SeaHooks, SeaSpellbook is embeddable |
23:59.25 | Iriel | Miravlix : but more about embedding sub-libraries of sea, and trying to get it all loaded together |
23:59.30 | Miravlix | Sea has no embedding support |
23:59.32 | zespri_work | Iriel, btw download link on this page http://www.iriel.org/wow/addondev/embedlibrary4.html is broken, points to 0.1 and there is no 0.1 there, 0.2 only |
23:59.35 | ckknight | I need a name for a plugin that'll attach the Exp + Rep bars to FuBar |
23:59.48 | Iriel | ckknight : I gaveyou a name earlier 8-( |
23:59.55 | ckknight | what was that? I forget |
23:59.57 | ckknight | sorry |