| 00:00.06 | Legorol | they may or may not, but i have a distinct feeling that there is a lot more EU<->US communication in the community |
| 00:00.08 | Cair | aye, but I do know that we get posts from some KR/CN on WoWI |
| 00:00.24 | Legorol | also, most of the EU-German and EU-French players do seem to be able to speak English, |
| 00:00.29 | Legorol | and come post on the English forums when necessary |
| 00:00.34 | Beladona | in a perfect world, translations could be done on forum posts dynamically |
| 00:00.49 | Legorol | Beladona, if you could solve that, you'd be a very rich person |
| 00:00.55 | Beladona | no kidding |
| 00:00.58 | Legorol | :-) |
| 00:01.04 | Cair | *nod*! |
| 00:01.15 | Beladona | I keep telling people I will win the lottery too, even though I never play |
| 00:01.21 | Cair | heh |
| 00:03.37 | Iriel | Imagine a translator trying to work out if it should translate function names or not |
| 00:03.46 | Cair | oh lord |
| 00:04.00 | Beladona | that is where [code ] wrapping would be important |
| 00:05.06 | Legorol | Cair, thanks for the link |
| 00:05.08 | Iriel | What about comments? |
| 00:05.11 | Cair | welcome |
| 00:05.13 | Legorol | just finished reading the thread, interesting |
| 00:05.19 | Beladona | wouldn't that be part of the code wrap? |
| 00:05.22 | Beladona | oh wait, nm |
| 00:05.27 | Beladona | good point |
| 00:05.35 | Legorol | The thread is something of a miracle actually |
| 00:05.36 | Nomad_Wanderer | It could parse comments.. |
| 00:05.42 | Nomad_Wanderer | no different then color coding really |
| 00:05.54 | Beladona | and I speak from experience when I say, looking for comments in code is horrible |
| 00:06.01 | Nomad_Wanderer | Once you had a decent translation engine that is. |
| 00:06.04 | Beladona | from an interpreter standpoint |
| 00:06.10 | Nomad_Wanderer | heh |
| 00:06.34 | Beladona | my dreamweaver code color plugin still can't get them all |
| 00:06.45 | Beladona | but that is a limitation in dreamweaver |
| 00:07.07 | Stylpe | Iriel: What do you use to unpack the source code of WoW |
| 00:07.45 | Beladona | she once told me bintext can do some of it |
| 00:07.51 | Beladona | along with some special scripts |
| 00:07.55 | Iriel | Stylpe : The blizzard Custom Interface Kit |
| 00:08.09 | Beladona | oh thought you meant internal to the exe |
| 00:08.12 | Nomad_Wanderer | hehehe I'm not sure thats what Stylpe was asking :) |
| 00:08.37 | Nomad_Wanderer | Decompilers are terrorist weapons now adays with all the DRM stuff. |
| 00:08.40 | Stylpe | I meant for the default interface Lua source =) |
| 00:08.42 | Iriel | Hm, what is the question then? |
| 00:08.48 | Iriel | Ah, I DID answer the right one |
| 00:08.52 | Nomad_Wanderer | :) |
| 00:08.54 | Stylpe | yep |
| 00:09.04 | Beladona | I went for the more difficult one |
| 00:09.07 | Stylpe | Can I find it on the official site? |
| 00:09.08 | Beladona | stupid me |
| 00:09.10 | Iriel | (Though I use strings - WoW.exe | somePerlScript to extract likely symbols name) |
| 00:09.15 | Iriel | Stylpe : Yes, support tools |
| 00:10.00 | Cair | http://www.blizzard.com/support/wow/?id=aww01669p |
| 00:10.06 | Cair | Stylpe |
| 00:10.34 | Cair | as well: http://www.wowinterface.com/downloads/fileinfo.php?id=3990 |
| 00:12.13 | Stylpe | Already got it, thanks =) |
| 00:12.31 | Stylpe | Oh, not the WinMPQ one |
| 00:12.52 | Iriel | You only need WinMPQ if you want more than the UI |
| 00:13.06 | Cair | *nod* |
| 00:13.25 | Stylpe | I just need to see how tooltips are made from the action buttons =) |
| 00:14.14 | Iriel | GameTooltip:SetAction(ActionButton_GetPagedID(this)) |
| 00:14.24 | Beladona | beat me to it |
| 00:15.46 | Iriel | You want ActionButton_SetTooltip (Line 347 of FrameXML/ActionButton.lua if you want the glorious details involving anchoring too |
| 00:15.46 | Tem | The action buttons don't maintain a this.index? |
| 00:15.55 | Iriel | Tem: No |
| 00:16.00 | Tem | lazy |
| 00:16.22 | Iriel | Tem: I bugged slouken to make them more OO, he said it may be on the list at some point in the future |
| 00:16.31 | Lishan | <PROTECTED> |
| 00:16.43 | Cair | Iriel: has the "Upcoming changes" thread been updated since last tuesday, do you recall? |
| 00:17.43 | Iriel | Yes |
| 00:17.45 | Iriel | I changed it this morning |
| 00:17.56 | Cair | k, will update at WoWI then, thank you |
| 00:18.56 | Legorol | about this OO discussion, I have a question to the "professional" programmers |
| 00:19.23 | Legorol | it has been my understanding in the past that OO means a coding concept/style rather than the particular sintactic way of declaring functions/variables. |
| 00:19.54 | Legorol | So is the thing that is being discussed about global/encapsulated function declaration not a discussion of "namespaces" or some such, as opposed to OO vs. non-OO? |
| 00:20.20 | Legorol | Please do enlighten me if I misunderstood what OO stands for. |
| 00:20.39 | Nomad_Wanderer | I dont like open office either |
| 00:20.42 | Iriel | I use 'OO' fairly loosely myself, to me it's a way of thinking about code as 'objects' with 'methods' |
| 00:20.43 | Legorol | rofl |
| 00:20.47 | Beladona | it is a coding style |
| 00:21.09 | Iriel | the this/self pointer or an equivalent object identity is fairly important |
| 00:21.18 | Legorol | Iriel, that was my understanding too: a programming style where you have concepts such as objects, methods, fields, access to fields being isolated and done via methods etc. |
| 00:21.18 | Iriel | (Which differentiates it from simple namespaces) |
| 00:21.32 | Iriel | I dont feel there's anything "magic" about it |
| 00:21.34 | *** join/#wowi-lounge Lishan (n=edg@pool-71-244-218-89.chi01.dsl-w.verizon.net) |
| 00:21.44 | Beladona | <PROTECTED> |
| 00:21.45 | Iriel | I can write OO code in any sufficiently complex language, some just make it easier |
| 00:21.45 | Legorol | So I beleive that how you express those concepts sintactically is a matter of choice |
| 00:21.55 | Legorol | right, so we are on the same wavelength |
| 00:21.57 | Iriel | LUA has some 'standard idioms' for doing it |
| 00:22.02 | Lishan | Sorry 'bout that. Tiny bug in the Mac implementation of Chatzilla. |
| 00:22.23 | Beladona | how the coder does it isn't so much what matters |
| 00:22.34 | Beladona | it is how the code is structured as far as teh interpreter is concerned |
| 00:22.51 | Legorol | right |
| 00:22.54 | Beladona | there are at least 2 or 3 ways to do it with lua |
| 00:23.04 | Legorol | btw, who here has formal training in computer science/programming/IT whatever? |
| 00:23.08 | Iriel | Beladona: You mean 2 or 3 ways to achieve the same result? |
| 00:23.08 | Legorol | i'm just curious |
| 00:23.14 | Beladona | yes |
| 00:23.17 | Tem | I'm in the middle of one |
| 00:23.21 | Iriel | I have a degree in it |
| 00:23.25 | *** join/#wowi-lounge ToastTheif (i=ToastThe@24-177-157-200.dhcp.mrqt.mi.charter.com) |
| 00:23.31 | Beladona | no degree here, just experience |
| 00:23.44 | ToastTheif | WoW is installed |
| 00:23.44 | Legorol | that's a nice mixture :-) |
| 00:23.50 | Legorol | good job, ToastTheif |
| 00:23.53 | Legorol | your new computer arrived? |
| 00:24.01 | ToastTheif | mhmm |
| 00:24.32 | Beladona | the forum thread that Cair posted goes over a couple ways that people classically like to do OO in lua |
| 00:24.43 | ToastTheif | I wish |
| 00:24.51 | ToastTheif | I have school |
| 00:25.15 | Legorol | Beladona, it's that thread i just read that made me think |
| 00:25.28 | Legorol | and made me feel that the discussion there is not really about OO, but more like namespaces |
| 00:25.37 | Beladona | well, they go hand in hand |
| 00:25.57 | Legorol | ok, i guess you can look at it that way |
| 00:26.11 | Iriel | You cant really do OO without namespaces |
| 00:26.16 | Iriel | But you can do namespaces without OO |
| 00:26.29 | Beladona | aye |
| 00:26.37 | Legorol | hmm.. |
| 00:26.55 | Legorol | but i can do everything that i can in an encapsulated table in Lua by using TableName_Function instead in the global namespace, can't I? |
| 00:27.04 | Legorol | or am i missing something.. |
| 00:27.12 | Iriel | You can't use it as an object though |
| 00:27.17 | Legorol | let's say Lua couldn't store functions as table elements |
| 00:27.21 | Iriel | You can't go myObject:Function("hello") |
| 00:27.25 | Legorol | and all functions had to go in global namespace |
| 00:27.38 | Legorol | you could still pass references to tables to the function |
| 00:27.43 | Beladona | if that was the case, then OO would not be possible |
| 00:27.54 | Iriel | You'd still be able to object-oriented design but the code wouldn't really be OO code |
| 00:28.03 | Iriel | it'd be an OO design implemented without OO support |
| 00:28.05 | Legorol | ok, so what is it here that makes it "OO code" |
| 00:28.09 | Legorol | i think i am missing the key |
| 00:28.17 | Iriel | the notion of 'self' |
| 00:28.25 | Legorol | what if i had SomeClass_Function(self, ..) |
| 00:28.25 | Beladona | segmenting code into classes or objects |
| 00:28.25 | Iriel | that you are calling a function OF the object |
| 00:28.28 | Iriel | not WITH the object |
| 00:28.31 | Legorol | you could still pass all table references manually |
| 00:28.45 | Iriel | I agree that they're functionally equivalent |
| 00:28.49 | Legorol | Iriel, i agree that that's what OO concept is semantically |
| 00:28.52 | Iriel | But conceptually they're rather different |
| 00:28.52 | Beladona | it is like putting your clothes in a suitcase when you go on a trip, instead of just throwing them in the trunk |
| 00:29.07 | Legorol | I am trying to say that syntactically you could achieve the same semantics with access only to a global namespace of functions |
| 00:29.07 | Cair | Osagasu: one of the moderators of WoWI, owner/creator of wdn, and general cool guy |
| 00:29.11 | Iriel | Arguably Oo also includes polymorphism, and inheritance |
| 00:29.36 | Beladona | lol |
| 00:29.48 | Osagasu | well, at least when I go camping |
| 00:29.49 | Iriel | So for example, suppose you have a bunch of objects that all have a Print method |
| 00:29.54 | Legorol | yeah |
| 00:29.56 | Osagasu | no rummaging around in a pesky backpack |
| 00:29.59 | Iriel | with the OO model, you'd all randomObject:Print() |
| 00:30.02 | Legorol | yep |
| 00:30.03 | Iriel | and the right print method gets run |
| 00:30.13 | Iriel | With the non-OO model you need a bunch of if statements to pick the right one |
| 00:30.15 | Legorol | if you only had a global namespace, the language syntax would force you to use instead: |
| 00:30.21 | Iriel | or a single monolithic Print mfunction |
| 00:30.23 | Legorol | RandomClass_Print(this, arg1, arg2) |
| 00:30.36 | Iriel | Ah yes, but randomObject isn't of type RandomClass |
| 00:30.37 | Legorol | assuming randomObject is of type RandomClass |
| 00:30.45 | Iriel | It's of one of ClassA, ClassB, ClassC, ClassD |
| 00:30.57 | Iriel | With OO you dont need to know which, as long a syou know it implements Print |
| 00:31.00 | Legorol | right, 'cause you can have iheritance |
| 00:31.09 | Iriel | and/or polymorphism |
| 00:31.16 | Legorol | true enough |
| 00:31.19 | Beladona | it would be more like Class_Print(RandomClass, arg1, arg2) |
| 00:31.21 | Legorol | you couldn't do that with just a global namespace |
| 00:31.37 | Legorol | Beladona, not really, you would have to pass a reference to the object i think |
| 00:31.38 | Iriel | Correct, you move the intelligence of object identify from the object to all of the methods |
| 00:31.55 | Iriel | which breaks encapsulation |
| 00:31.57 | ToastTheif | hey Zeeg has the 1.8 patch up for dl on guru, right? |
| 00:31.59 | Legorol | ok, so in current AddOn coding standards though, |
| 00:32.02 | Iriel | to an extent, at any rate |
| 00:32.03 | Legorol | where people don't use metatables, |
| 00:32.07 | Legorol | we don't really have inheritance |
| 00:32.19 | Legorol | i am not saying noone uses metatables |
| 00:32.23 | Iriel | You can do inheritance-by-assignment |
| 00:32.30 | Legorol | hm |
| 00:32.36 | Iriel | Parent assigns methods, child overwrites them (or hooks them) |
| 00:32.36 | Beladona | but you use more code to get there |
| 00:32.54 | Iriel | A bunch of my addons essentially sub-class GameTooltip |
| 00:33.07 | Legorol | but GameTooltip is a particular object, |
| 00:33.12 | Iriel | by redefining one or more of the :Set methods |
| 00:33.12 | Legorol | an instance if you like in OO standards |
| 00:33.16 | Iriel | It's both an object and a type |
| 00:33.22 | Legorol | type in the XML sense |
| 00:33.23 | Iriel | wwhich is awkward |
| 00:33.29 | Beladona | OO by itself doesn't reduce the amount of code you are using, or save on memory. But how you use it can |
| 00:33.33 | Legorol | in the Lua namespace it's an instance, or that's how i'd phrase it |
| 00:33.37 | Legorol | ok GameTooltip is a bad example |
| 00:33.42 | Iriel | A bunch of my addons essentially make the GameTooltip instance a subclass of the GameTooltip object |
| 00:33.45 | Beladona | not to mention the logical way it is organized |
| 00:33.58 | Legorol | ok |
| 00:34.08 | Cair | (completely off-topic, but good for a laugh: http://www.cairenn-mmorpg.com/video/funnycats.wmv) |
| 00:34.18 | Legorol | i guess what i'm tryign to establish is how much of this mythical "OO" about syntax, and how much about semantics? |
| 00:34.25 | Legorol | i get the feeling it's a bit of both |
| 00:34.30 | Iriel | Well, some of that depends who you ask 8-) |
| 00:34.41 | Legorol | yeah |
| 00:34.47 | Iriel | I think a bit of both are involved to do it successfully |
| 00:35.02 | Beladona | OO doesn't really change syntax, since that is part of the lua standard itself |
| 00:35.02 | Legorol | right, i'd agree with you there |
| 00:35.11 | Legorol | Beladona, when i say syntax, what i mean is |
| 00:35.12 | Iriel | There are those who argue you need a specific rich language-provided feature set, like exception handling, and RTTI |
| 00:35.18 | Iriel | and reflection |
| 00:35.56 | Iriel | I'm much more of the opinion that it's just an approach, a design idiom, and that it's assisted/enabled by syntax |
| 00:36.04 | Beladona | it changes the way you write your code |
| 00:36.08 | Beladona | that is for sure |
| 00:36.17 | Iriel | It changes the way you DESIGN your code |
| 00:36.22 | Iriel | And I think that's the real key |
| 00:36.24 | Beladona | I like that better |
| 00:36.28 | Beladona | hehe |
| 00:36.33 | Iriel | namespaces change how you WRITE it too |
| 00:36.43 | Iriel | wwhich is I think the fundamental difference there |
| 00:37.05 | Legorol | right |
| 00:37.23 | Legorol | so that's where the syntax/semantics dual comes in, i think |
| 00:37.51 | Beladona | OO has many faces |
| 00:37.52 | Legorol | you have a particular way of designing code, and a particular way of expressing that design in the source |
| 00:37.58 | Iriel | It's remarkably easy to write 'essentially OO' code in a non-OO language when the problem your solving uses the same kind of concepts |
| 00:37.58 | Beladona | depending on what you are programming in |
| 00:38.13 | Legorol | Iriel, I think I was trying to say just that |
| 00:38.15 | Iriel | That's actually how I started using C++, I caught myself trying to do OO code in C |
| 00:38.43 | Legorol | so when i was talking about Lua not allowing functions in tables, that doesn't necessarily change how i design/think about my code |
| 00:38.49 | Legorol | sure it'd make it harder to actually write it |
| 00:38.55 | Legorol | but the design concept could still be the same |
| 00:39.19 | Legorol | for example, let's look at Blizzard's UI code |
| 00:39.27 | Legorol | they use a bunch of global functions: GameTooltip_OnEnter etc. |
| 00:39.34 | Legorol | but i'd say their code is essentially OO |
| 00:39.49 | Beladona | how so |
| 00:39.55 | Iriel | You'd end up having to do things like function CallMethod(object, method, ...) getglobal(method .. "_" .. object.getType)(object, unpack(arg)) end |
| 00:39.56 | Legorol | you clearly have notions of objects, defined in XML, and the associated methods |
| 00:40.03 | Tem | Iriel: are you intentionally typing "wwhich?" You've done it 2 or 3 times now |
| 00:40.10 | Iriel | I think blizzrd's UI code is clearly 2 separate things |
| 00:40.16 | Iriel | Tem: now |
| 00:40.22 | Iriel | ARGH! |
| 00:40.24 | Legorol | yeah i was going to say that too :-) |
| 00:40.25 | Tem | lol! |
| 00:40.26 | Iriel | No. |
| 00:40.33 | Iriel | I'm really lagged though |
| 00:40.37 | Legorol | they have a lot of functions that are specific to one particular object (instance if you like) |
| 00:40.38 | Beladona | Blizz uses OO and non OO |
| 00:40.50 | Legorol | and a lot which are generic templates and are used by several instances |
| 00:40.57 | Iriel | The frame structure is clearly OO, and I think came from slouken (C++ developer) |
| 00:40.59 | Tem | The XML objects lean towards an OO style |
| 00:41.10 | ToastTheif | man the blizz down loader takes for ever when you have to go from 1.0 to 1.8... |
| 00:41.11 | Beladona | aye |
| 00:41.13 | Legorol | well the associated Lua functions are fairly close to OO |
| 00:41.16 | Iriel | The actual UI itself is not so much, and was written by other people |
| 00:41.24 | Tem | however, the rest of that... stuff... in the interface is not OO at all |
| 00:41.28 | Legorol | that's a different issue, Iriel |
| 00:41.37 | Legorol | i was just thinking about the global namespace Blizzard Lua functions |
| 00:41.37 | Iriel | and I think there are varying skill levels across the UI team |
| 00:41.50 | Legorol | i'd claim they were OO in their design, even though they are all lumped in global namespace |
| 00:41.59 | Beladona | the fact that they are global pretty much ruins the OO idea |
| 00:42.00 | Tem | Iriel: I don't think that's the issue. I think they were drunk some days. |
| 00:42.02 | Iriel | Some are, some aren't |
| 00:42.05 | Legorol | Beladona: i don't agree there |
| 00:42.21 | Legorol | being "global" doesn't necessarily take away the OO concept |
| 00:42.25 | Iriel | The container code, for example, is quite OOish |
| 00:42.39 | Legorol | you have particular objects defined in the XML, and the associated functions, prefaced by the objects name |
| 00:42.43 | Legorol | now if this object is a virtual frame, |
| 00:42.50 | Legorol | you have more OO-ish feel to it |
| 00:43.10 | Legorol | that's how i'd put it |
| 00:43.12 | Beladona | that would imply that all global functions are OO in nature |
| 00:43.18 | Legorol | no i didn't say that |
| 00:43.19 | Beladona | which would imply that lua itself is OO |
| 00:43.31 | Legorol | i wouldn't say that a language is OO or not |
| 00:43.36 | Legorol | it's how you *use* the language |
| 00:43.48 | Legorol | some languages make it easier to implement OO concepts, as i said earlier |
| 00:43.50 | Beladona | exactly |
| 00:44.05 | Legorol | yes, so what i am saying is that the Blizzard Lua code, although only uses global functions, |
| 00:44.08 | Iriel | I think Legorol is trying to say that he feels that aspects of the stanard UI were coded with OO-ish designs, but non-OO implementations. |
| 00:44.12 | Legorol | carries OO concepts in nature |
| 00:44.25 | Legorol | Iriel, more or less |
| 00:44.26 | Beladona | definitely |
| 00:44.37 | Beladona | I guess I am drawing to hard a line |
| 00:44.40 | Beladona | too* |
| 00:44.42 | Legorol | i guess i am trying to say that less emphasis should be put on the nature of the implementation |
| 00:44.47 | Legorol | and more on the design |
| 00:45.04 | Beladona | I see it from the angle in which the interpreter sees it |
| 00:45.06 | Iriel | I dont think that this choice in the blizzard UI is necessarily GOOD though |
| 00:45.12 | Legorol | I'd say that the Blizz code is more OO than not, and the lack of what you'd call standard OO-ish implementation doesn't take away from that |
| 00:45.23 | Legorol | Iriel, that's a separate issue ;-) |
| 00:45.33 | Beladona | not really |
| 00:45.33 | Iriel | I think that addon authors could benefit from using the language syntax to implement OO ideas with OO solutions |
| 00:45.46 | Legorol | i agree with you there, provided it doesn't impact performance |
| 00:45.53 | Iriel | Which it doesn't |
| 00:45.59 | Tem | I think the reason that isn't there is because the concept of metatables is used to create that |
| 00:46.01 | Iriel | performance is overused as an excuse |
| 00:46.02 | Legorol | which is why i asked in the thread :-) |
| 00:46.14 | Beladona | often using both non OO and OO in the same feature set can be just as harmful as not using any OO |
| 00:46.19 | Beladona | in my opinion |
| 00:46.23 | Legorol | Ok, so my interpretation of the Blizzard code would be: |
| 00:46.23 | Tem | and metatables are a strange concept to get a hold of |
| 00:46.36 | Tem | and deadlines > metatables |
| 00:46.52 | Tem | er, deadlines > metatable understanding |
| 00:46.58 | Legorol | 1) it is OO design in nature 2) virtual frames' associated functions are like class methods in OO-code 3) non-virtual frames' functions are like static methods in OO-code |
| 00:47.05 | Beladona | learn metatables on the side |
| 00:47.10 | Beladona | when there is time |
| 00:47.17 | Beladona | don't make it a priority for addon release |
| 00:47.19 | Legorol | as long as i can draw that parallel, which i think i can, then i'd say that the Blizz code is essentially OO |
| 00:47.24 | Beladona | until you have it down |
| 00:47.27 | Legorol | just because it doesn't use any syntax for that does't matter |
| 00:48.18 | Legorol | ok well i think we have hashed this topic to pieces |
| 00:48.29 | Legorol | I see where you guys are coming from, and I am hoping you see a bit about where i am coming from |
| 00:48.36 | Legorol | thanks for the enlightening chat :-) |
| 00:48.38 | Beladona | I think we are starting to separate topics anyway |
| 00:48.51 | Anduin|Class | moo |
| 00:50.26 | Osagasu | sorry, reflex. |
| 00:50.28 | Osagasu | damn Tauren. |
| 00:50.40 | Beladona | the way I see it is, OO isn't so much about the way it is written in the lua scripts, as much as it is organized after the interpreter has processed it. |
| 00:50.48 | Beladona | and as a result how it is implemented from that |
| 00:51.07 | *** join/#wowi-lounge Parak (n=profi@user-12hdr8d.cable.mindspring.com) |
| 00:51.21 | Beladona | several ways to get to the same end result |
| 00:54.14 | *** join/#wowi-lounge MentalPower|PC (n=chatzill@eacb01-00-crlnpr-24-48-144-65.miamfl.adelphia.net) |
| 00:54.20 | Legorol | hi MentalPower ;_) |
| 00:54.27 | Legorol | oh.. it's just a clone :( |
| 00:54.29 | Cair | hey MentalPower |
| 00:54.44 | MentalPower|PC | Hey Legorol and Cair! :) |
| 00:54.53 | Legorol | the clone has spoken! :-) |
| 00:54.57 | Cair | heh |
| 00:55.06 | Legorol | well i saw there is a MentalPower and a MentalPower|PC |
| 00:55.15 | MentalPower|PC | its a clone because I'm running WoW fullscreen on my main PC :) |
| 00:55.16 | Legorol | so i thought the 2nd one that joined was just some dummy or clone or whatnot |
| 00:55.33 | Legorol | nvm, ignore me |
| 00:55.54 | MentalPower|PC | its k |
| 00:56.06 | Beladona | oh the cat video! I downloaded it and then forgot it |
| 00:56.08 | Cair | funny, isn't it? |
| 00:56.12 | ToastTheif | zomg does anyone know java? |
| 00:56.24 | Iriel | I do |
| 00:56.31 | Iriel | without the zomg in front, anyway |
| 00:56.39 | ToastTheif | wanna help me with a problem? |
| 00:56.53 | Iriel | it would depend what the problem is |
| 00:57.18 | ToastTheif | well, my fucntion called "contains" in my target class is working |
| 00:57.25 | ToastTheif | it's all pretty basic stuff |
| 00:57.38 | ToastTheif | Im a newbie at all languages :) |
| 00:59.51 | ToastTheif | http://pastebin.com/441708 |
| 01:00.04 | ToastTheif | line 165 is the function |
| 01:00.23 | ToastTheif | line 52 is where I try to use it... |
| 01:01.25 | Iriel | ok.... |
| 01:01.53 | ToastTheif | it's a cannon game =P |
| 01:01.55 | ToastTheif | you have to hit the target ^^ |
| 01:02.01 | ToastTheif | I told you it's basic |
| 01:02.08 | Beladona | no its java |
| 01:02.13 | Beladona | sorry, couldn't resist |
| 01:02.15 | Iriel | The contents of 'contains' seem rather dubious |
| 01:02.59 | Iriel | not to mention tha it's a 2d object but has to make its decision based on a single number |
| 01:03.04 | ToastTheif | there's that word againm, dubious |
| 01:03.21 | Legorol | Cair, something wrong with wowinterface.com? |
| 01:03.27 | Legorol | i can't read forum threads or submit reply |
| 01:03.38 | ToastTheif | hmm, I think I might now |
| 01:03.42 | ToastTheif | the whole 2d thing |
| 01:03.43 | Cair | check now Legorol |
| 01:03.49 | ToastTheif | yeah, let me try something... |
| 01:03.59 | Legorol | ok worked |
| 01:04.04 | Legorol | thanks :-) |
| 01:04.13 | Legorol | gerbils again? or hamsters on strike.. |
| 01:04.53 | ToastTheif | nope |
| 01:04.55 | *** part/#wowi-lounge Ratbert_CP (n=KCummins@204.128.192.11) |
| 01:05.19 | Legorol | whatever happened to mini-games as AddOns in WoW? |
| 01:05.21 | Cair | Tom: wowinterface is down, they are installing the nic card thats need for the db server |
| 01:05.21 | Cair | Tom: they didnt give me much noticed |
| 01:05.21 | Cair | Tom: called me on the phone and said they were going to do it hehe |
| 01:05.21 | Cair | Tom: lol that was fast... looks like its up now |
| 01:05.24 | Legorol | chess, checkers, etc. |
| 01:05.30 | Kolth | Leg; I thought they broke. |
| 01:05.38 | Kolth | And Vjeux quieted down. |
| 01:06.09 | Legorol | thanks Cair |
| 01:06.15 | AnduinLothar | vjeux's toys stopped ebing developed i believe |
| 01:06.33 | Kolth | QuestMinion2 never came out :| |
| 01:07.06 | AnduinLothar | ya, and raidminnion's pretty much abandoned too |
| 01:07.29 | *** join/#wowi-lounge phil__ (n=phil@ppp233-95.lns2.adl4.internode.on.net) |
| 01:07.46 | ToastTheif | does enabling peer to peer make blizz's dl go faster, or slower? |
| 01:07.59 | Iriel | For me, it's usually faster |
| 01:08.13 | ToastTheif | k |
| 01:08.18 | Kolth | Toast: It is supposed to. But it can kill your computer too. :P |
| 01:08.24 | ToastTheif | 62% |
| 01:08.24 | Iriel | It does somewhat depend on your network connectivity |
| 01:08.32 | Iriel | Are you DSL or cable, for example |
| 01:08.37 | Kolth | Peer to Peer likes to hurt my Router. |
| 01:08.45 | Iriel | Do you have dodgy routers 8-) |
| 01:08.52 | Kolth | Linksys WRT54G |
| 01:08.55 | Iriel | Ah |
| 01:08.58 | Iriel | I'm sorry |
| 01:09.00 | Kolth | I use a custom firmware though, which fixed the issue. |
| 01:09.10 | ToastTheif | cable here |
| 01:09.14 | Kolth | Apparently Linksys likes to cache connections even when I'm getting thousands per hour. |
| 01:09.26 | Kolth | So the custom firmware seems to clean that cache out more often, which is good. |
| 01:09.30 | Iriel | ToastTheif : You should be fine with p2p |
| 01:09.40 | ToastTheif | mmk |
| 01:09.44 | Iriel | Kolth : Linksys hardware has all sorts of problems with WoW it seems. |
| 01:09.49 | Kolth | Orly? |
| 01:09.52 | Natasem | so how goes the CT_raid? |
| 01:09.53 | Iriel | Kolth : I guess they made a few unsafe assumptions |
| 01:09.54 | Beladona | never had a problem here |
| 01:10.04 | Beladona | same router |
| 01:10.08 | Kolth | Iriel: What consumer-market router do you recommend? |
| 01:10.25 | Iriel | Dont get me wrong, I have a linksys access point bolted to my wall at home |
| 01:10.34 | Kolth | :) They're good and cheap, most of the time. |
| 01:10.37 | Iriel | I just noticed (and help friends troubleshoot) strange problems with them |
| 01:10.41 | MentalPower|PC | strange, I havent had any issues |
| 01:11.00 | Iriel | The newer firmware works, there was a time where some of the models wouldn't even let you PLAY WoW |
| 01:11.04 | Kolth | Linksys routers die a lot. |
| 01:11.08 | Iriel | you'd get disconnected about 3 minutes in |
| 01:11.12 | Iriel | Yeah, i'm on my 2nd one |
| 01:11.21 | Beladona | I had my previous one for 4 years |
| 01:11.23 | Iriel | But they're fairly cheap, and work most of the time |
| 01:11.28 | Beladona | and I only switched for the wireless |
| 01:11.42 | Iriel | Though I only buy access points |
| 01:11.47 | Iriel | I have a linux box serving as router |
| 01:14.14 | Iriel | That looks better Toast |
| 01:14.21 | Iriel | (your code, that is) |
| 01:15.43 | ToastTheif | hmm? I didn' |
| 01:15.43 | ToastTheif | t |
| 01:15.43 | ToastTheif | change it |
| 01:15.43 | AnduinLothar | my linksys works flawlessly as far as I can tell. The new firmware is better for configuring tho, ur right |
| 01:15.43 | Iriel | ToastTheif : You changed it earlier but I was in the middle of talking about something else |
| 01:15.49 | Iriel | ToastTheif : By the way, use Math.PI for PI |
| 01:16.06 | ToastTheif | oh |
| 01:16.12 | ToastTheif | didn't know that exsisted |
| 01:16.23 | Iriel | http://java.sun.com/j2se/1.4.2/docs/api/java/lang/Math.html |
| 01:17.00 | AnduinLothar | gj rtfm :P |
| 01:17.06 | ToastTheif | I'd open it, if the blizz downloader wasen't killing my connection |
| 01:20.01 | Beladona | be back later |
| 01:20.04 | *** part/#wowi-lounge Beladona (n=Beladona@70.124.60.115) |
| 01:21.51 | Iriel | Where oh where has my test server gone, where oh where can it be? |
| 01:21.58 | Legorol | what does the word "locale" mean? |
| 01:22.15 | AnduinLothar | location by language |
| 01:22.23 | Legorol | hmm |
| 01:22.40 | Legorol | are two different physical locations that use the same language considered to have the same locale? |
| 01:22.41 | AnduinLothar | enUS is english/US language |
| 01:22.56 | Iriel | Legorol : It depends on its use |
| 01:23.00 | AnduinLothar | enGB is english/Europe I believe |
| 01:23.10 | Legorol | i don't necessarily mean in WoW specific context |
| 01:23.38 | Legorol | so is the difference between enUS and enGB meant to be the variant of English used, or the location that English is used in? |
| 01:23.54 | Iriel | Legorol : In the computing 'internationalization' context, it's the discriminator between different language rules and confentions. |
| 01:23.59 | Iriel | The latter |
| 01:24.14 | Kolth | Leg: I'm a Googlewhore: "A subset of a user's environment that defines conventions for a specified culture, such as time formatting, numeric formatting, monetary formatting, and character classification, conversion,and collation." |
| 01:24.37 | Iriel | enUS "I need to fill up with gas" enGB "I need to fill up with Petrol" |
| 01:24.38 | AnduinLothar | http://en.wikipedia.org/wiki/Locale In computing, locale is a set of parameters that defines the user's language, country and any special variant preferences that the user wants to see in their user interface. Usually a locale identifier consists of at least a language identifier and a region identifier. |
| 01:24.55 | Legorol | right |
| 01:25.00 | Iriel | but, outside of computing/internationalization, it'd mean where you where |
| 01:25.09 | Iriel | where you were, even |
| 01:25.13 | Iriel | I cannot type today |
| 01:25.18 | Legorol | so Blizzard is wrong when they say that it's Ok for WoW to return enUS in the enGB client for GetLocale() |
| 01:25.26 | Kolth | Probably :P |
| 01:25.27 | Legorol | that goes against the accepted interpretation? |
| 01:25.56 | AnduinLothar | m-w.com a place or locality especially when viewed in relation to a particular event or characteristic |
| 01:26.23 | Legorol | because my interpretation was that it should refer to the language and physical location (or rather cultural properties e.g. time and date format), and since the latter is different, the return value should be different |
| 01:26.29 | Iriel | It's okay for WoW to return it because they did not do a full set of english translations |
| 01:26.38 | Iriel | Maybe there are some changes here and there in the UI layer |
| 01:26.43 | Legorol | yes there is |
| 01:26.45 | Iriel | But in-game, you get the same quest text, NPC text, spell names |
| 01:26.54 | Iriel | THAT is what, I believe, the locale refers to |
| 01:27.00 | Legorol | hmmm |
| 01:27.13 | Legorol | but i'd say as long as there is a subset of the data that differs, the locale should be different |
| 01:27.23 | Legorol | let's say i translated *half* the quest texts |
| 01:27.28 | Codayus | I wonder if the word "color" appears anywhere in spell or item text... |
| 01:27.28 | Iriel | But only part of the 'localization' is driven by GetLocale |
| 01:27.30 | Legorol | wouldn't you say it should return a different value? |
| 01:27.33 | Iriel | Yes. |
| 01:27.52 | Iriel | I would agree if you translated even 5 of them, it should return a different value |
| 01:28.06 | Legorol | so what if you had translated some strings in GlobalStrings.lua, and that was all? |
| 01:28.11 | Legorol | should still return different value? |
| 01:28.13 | Codayus | But not if you translated only 4? |
| 01:28.14 | Iriel | No |
| 01:28.26 | Iriel | GlobalStrings.lua has nothing to do with GAME CLIENT LOCALIZATION |
| 01:28.29 | Iriel | Codayus : Yes |
| 01:28.51 | Legorol | Iriel: but GlobalStrings.lua is different for different languages, i'd argue part of the localization is to translate that too |
| 01:28.57 | Legorol | let's look at it this way: |
| 01:29.03 | Iriel | I agree 'conceptually |
| 01:29.06 | Legorol | quest texts are just some of the data that the client displays to you |
| 01:29.10 | Legorol | there are other bits of text here and there |
| 01:29.10 | Iriel | but in reality, there are two different localizations at work |
| 01:29.21 | Iriel | One is managed by the 'C++' code, that uses GetLocale |
| 01:29.21 | Legorol | whether that's in the UI code or in an .mpq doesn't matter |
| 01:29.26 | Iriel | The other is managed by the UI code, and that doesn't |
| 01:29.37 | Legorol | ehm.. |
| 01:29.38 | Iriel | That's just how they decided to do it, for whatever reason |
| 01:29.42 | Legorol | wait a mo |
| 01:29.51 | Legorol | neither of those two things include quest texts? |
| 01:29.59 | Iriel | Quest text is the C++ one |
| 01:30.07 | Iriel | It comes FROM the game world TO the UI |
| 01:30.35 | Legorol | hmm, need to get my head around this |
| 01:30.46 | Legorol | ok i am confused |
| 01:30.53 | Legorol | GetLocale() is a Lua API function |
| 01:30.57 | Iriel | Yes |
| 01:31.08 | Legorol | what does that have to do with the C++ code or the data from the game world? |
| 01:31.10 | Iriel | It's your way of finding out which localization set the game client is using |
| 01:31.19 | Iriel | so when you get given quest text, that tells you which language it's in |
| 01:31.28 | Legorol | ehm.. |
| 01:31.29 | Iriel | when you see a spell, or zone, or monster name, that's the language it's in |
| 01:31.39 | Legorol | right |
| 01:31.56 | Iriel | i.e. GetLocale() tells you what language all of the other global API functions' localized results are in |
| 01:32.21 | Legorol | admittedly that's different from the UI layer |
| 01:32.23 | Iriel | There's a single coherent localization model for the API code, it just "works" |
| 01:32.41 | Legorol | ok i am just thinking, conceptually, why is the UI layer excluded from that model |
| 01:32.44 | Iriel | The UI layer then can, if it chooses, also use the result of GetLocale to pick between things, but it's doing so 'explicitly |
| 01:32.54 | Iriel | I dunno, ease of use I suppose |
| 01:33.17 | Legorol | i guess what i am thinking is, let's say i replace my globalstrings.lua with the french one but leave quest texts as english |
| 01:33.25 | Legorol | i'd say i have localized some of the client |
| 01:33.27 | Legorol | but not all of it |
| 01:33.48 | Legorol | from a user experience point of view, interface elements and quest texts are all the same, i'd argue |
| 01:34.01 | Iriel | I agree from the USER EXPERIENCE perspective they need to be consistent |
| 01:34.19 | Iriel | But from an IMPLEMENTATION perspective, it's two systems, which ideally work together. |
| 01:34.31 | Iriel | But the point, I think we started with, was why GetLocale() returns "enUS" in the UK version |
| 01:34.44 | Iriel | and the reason is, because the in-game content you get is all the same as we get |
| 01:34.51 | Legorol | hm ok so you are saying there is a boundary between the internal and UI code, and that GetLocale() respects this boundary |
| 01:35.01 | Legorol | by only returning info about the internal code |
| 01:35.07 | Iriel | BUT, someone did go the extra step of localizing the UI code, presumably because you need different URL's and support contacts |
| 01:35.11 | Iriel | Yes |
| 01:35.33 | Iriel | You get a different UI language because you have a different GlobalStrings |
| 01:35.35 | Legorol | ok, so now i just have to find an in-game data that is not in UI code that is different in the two locales :D |
| 01:35.40 | Iriel | not because you've got ALL of them and it picks the right one. |
| 01:35.45 | Iriel | I dont believe there IS any |
| 01:35.53 | Iriel | Which is why you're enUS |
| 01:35.56 | Iriel | and not enGB 8-) |
| 01:35.58 | Legorol | what about tabs on the realm selection screen? |
| 01:36.03 | Iriel | UI code |
| 01:36.04 | Legorol | US didn't have them for a while, did they? |
| 01:36.11 | Legorol | it's game code though.. |
| 01:36.12 | Legorol | i mean |
| 01:36.13 | Iriel | We did, then we didn't |
| 01:36.15 | Iriel | then we did again |
| 01:36.17 | Legorol | it's data coming from the server |
| 01:36.21 | Legorol | hmm |
| 01:36.28 | Legorol | all right |
| 01:36.30 | Iriel | Yes, but it could be data downloaded from the login server |
| 01:36.36 | Iriel | and you have different login servers |
| 01:36.43 | Iriel | Color is worth looking for |
| 01:36.55 | Legorol | color is color :( |
| 01:36.55 | Iriel | But it has to be from game text, not UI text |
| 01:37.06 | Iriel | Armor/Armour? |
| 01:37.10 | Legorol | armor :( |
| 01:37.13 | Iriel | Honor/Honour? |
| 01:37.14 | Legorol | they didn't localize any of it |
| 01:37.22 | Legorol | but there must be something ;-) |
| 01:37.32 | Legorol | i know about the login server URL (stored in realmList CVar) |
| 01:37.34 | Legorol | but i don't count that |
| 01:37.47 | Iriel | It's my understanding that the basic data in the MPQ's is binary-identical between enUS and enGB |
| 01:37.56 | Iriel | UI stuff notwithstanding |
| 01:38.10 | Legorol | with one exception that I know of |
| 01:38.15 | Legorol | the WoW.ini file |
| 01:38.39 | Iriel | Yeah, that's part of the realm config tho, so has to be different, i'm talking about in-game content |
| 01:38.54 | Legorol | btw, did you know that quest text is sent from server and depends on what locale the client reports to the server? |
| 01:39.18 | Legorol | so if in my enGB client i change WoW.ini to have deDE locale, i get german quest texts :D |
| 01:39.22 | Iriel | If I recall a conversation outside of the convention center at Blizzcon correctly, they thought about doing enGB localization but decided it was too much effort |
| 01:39.34 | Legorol | :( so unfair :( |
| 01:39.38 | Legorol | American is not English ;-) |
| 01:39.44 | Iriel | I can't say I disagree |
| 01:39.46 | Legorol | ok seriously though, i don't really mind the actual texts |
| 01:40.15 | Iriel | Afterall, It's a minor slight to my place of birth. |
| 01:40.19 | Legorol | hm ok what about border-line issues such as time format |
| 01:40.24 | Legorol | it's currently in the UI code |
| 01:40.24 | Iriel | But I understand the resource issue. |
| 01:41.03 | Iriel | The game API's report the components individually, so that makes sense |
| 01:41.12 | Legorol | yeah you are right |
| 01:41.17 | ToastTheif | ok my blizz dl is stuck at 81% for 10 minutes |
| 01:41.38 | Iriel | ToastTheif : Kill it and restart it |
| 01:41.46 | ToastTheif | wont that make it like... |
| 01:41.48 | Iriel | It'll pick up where it left off |
| 01:41.48 | ToastTheif | all restart? |
| 01:41.52 | ToastTheif | oh good |
| 01:41.52 | ToastTheif | ok |
| 01:41.54 | Iriel | No, it's incremental |
| 01:41.55 | Legorol | btw, Iriel, when i was messing with my client's locale, i found something interesting |
| 01:41.56 | Iriel | I promise 8-) |
| 01:42.13 | Iriel | The US servers aren't very locale friendly 8-( |
| 01:42.13 | Legorol | the server seems to at least cache if not remember permanently (until told otherwise) the locale of the client you use to access it |
| 01:42.30 | Iriel | Interesting, did you fire it up without one? |
| 01:42.35 | Legorol | not exactly, |
| 01:42.41 | Legorol | i changed the client locale in wow.ini to german |
| 01:42.47 | Legorol | then i connected, got german quest texts etc. |
| 01:42.58 | Legorol | changed client locale back to english and still was getting german quest text |
| 01:43.03 | Legorol | and yes, i did delete WDB ;-) |
| 01:43.11 | Iriel | Did you exit the game and log in again? |
| 01:43.17 | Iriel | Or did you just log out and in? |
| 01:43.18 | Legorol | hehe, yes of course |
| 01:43.22 | Legorol | i did exit game |
| 01:43.28 | Legorol | i tell you, it was semi-permanent |
| 01:43.33 | Legorol | i found a way to reset it back to english: |
| 01:43.44 | Legorol | i had to create a new character on a new realm where i haven't had a character before |
| 01:43.55 | Legorol | (whilst the client locale was set to english) |
| 01:44.09 | Legorol | so this suggested to me that they cache your locale setting on an account-level serverside |
| 01:44.27 | Legorol | but this was a long time ago |
| 01:44.48 | Legorol | they must do it differently nowadays, because you can download language packs, which allows you to play the game in different languages |
| 01:44.49 | ToastTheif | brb |
| 01:44.53 | Legorol | it's a split installation like the test client |
| 01:45.03 | Legorol | so you can have english, german and french client at the same time |
| 01:45.31 | Legorol | Actually my research on this semi-permanent locale caching came handy when, |
| 01:45.49 | Legorol | due to a bug, a number of EU players reported their quest texts suddenly turning german (they were english players) |
| 01:46.12 | Legorol | i looked at a couple of cases, and it seemed that the server changed their locale setting for some reason |
| 01:46.27 | Legorol | so i recommended to these people my solution for forcing a reset to english, and afaik, it worked in all cases |
| 01:49.07 | Cair|afk | did someone say something? |
| 01:50.08 | Legorol | nope, i was just talking to myself |
| 01:50.13 | Cair | *hug* |
| 01:50.19 | Legorol | poor Iriel, i must have bored him to death |
| 01:50.22 | Legorol | hug him instead ;-) |
| 01:50.39 | Legorol | don't worry 'bout me, i like typing out my thoughts, seriously :-) |
| 01:50.48 | *** join/#wowi-lounge ToastTheif (i=ToastThe@24-177-157-200.dhcp.mrqt.mi.charter.com) |
| 01:52.22 | Iriel | heh, was on the phone. |
| 01:52.37 | Cair | not worried, just apologizing for disappearing without warning there ... was chatting with my kiddo |
| 01:53.18 | Nomad_Wanderer | Hmm. I followed the instructions in the wiki, but I'm not able to save a variable.. |
| 01:53.37 | Nomad_Wanderer | It's more than just addin the ## SavedVariables: gdkp line huh? |
| 01:53.47 | Iriel | No, that's it |
| 01:53.53 | Iriel | Well, you have to SET the variable too |
| 01:53.56 | Iriel | and you can't make it local |
| 01:54.23 | Nomad_Wanderer | I'm loading the variable (table actually) via the xml.. is that okay? |
| 01:55.46 | Iriel | It wont be there when the XML loads |
| 01:56.07 | Nomad_Wanderer | wait. I'm doing something a little weird.. |
| 01:56.19 | Iriel | The simple test is this.. |
| 01:56.25 | Nomad_Wanderer | I'm taking in data from the addons folder, modifying it in game, and saving it to the wtf folder.. |
| 01:56.26 | Iriel | 1) do /dump YourVariable |
| 01:56.32 | Nomad_Wanderer | or at least that's what I'm trying to do. |
| 01:56.55 | Iriel | Assuming that works then log out and look in WTF\Account\SavedVariables\YourAddon.lua |
| 01:57.09 | Iriel | Oops there's an ACCOUNTNAME in there somewhere too |
| 01:57.21 | Nomad_Wanderer | The variable is there..I'm getting data from it.. perhaps I'm declaring the variable wrong in the TOC? if it's a table is there special syntax |
| 01:57.35 | Iriel | No special syntax |
| 01:57.40 | AnduinLothar | iriel, u tried fire yet? |
| 01:57.51 | Iriel | AnduinLothar : Nope, too much other stuff to do at the moment 8-( |
| 01:57.58 | AnduinLothar | of course |
| 01:58.34 | Nomad_Wanderer | Yep, /dump worked, but I'm not see a new file created in any of the places were a saved variables file should be. |
| 01:58.42 | Iriel | Nomad_Wanderer: Make sure you understand the load order, 1) Your addon's code is parsed and XML things are loaded 2) Your OnLoad and whatever are fired during that process then 3) Your saved variables are loaded and an ADDON_LOADED event fired |
| 01:59.00 | Iriel | Did you exit the game completely and log back in after you changed your .toc file? |
| 01:59.10 | Nomad_Wanderer | Yes. |
| 01:59.45 | Iriel | Cut and paste your .toc into wow.pastebin.com |
| 02:00.00 | Iriel | It's probably something silly |
| 02:00.24 | Nomad_Wanderer | Probably... gimme a minute tho AB que just popped. |
| 02:00.32 | *** join/#wowi-lounge cladhaire (n=jnwhiteh@cpe-24-59-51-225.twcny.res.rr.com) |
| 02:00.42 | Iriel | heh, priorities |
| 02:00.57 | cladhaire | Got it fixed.. my lan card was tossing something weird into my routing tables... so i had to spank it. |
| 02:03.37 | Cair | hrm |
| 02:05.12 | Cair | yet again with people uploading other people's mods without asking permission ... including WoWUIDesginer (Nulkris), Gyspy (Mondinga), Ace (AceTeam), Cosmos (Cosmos Team), and on and on and on |
| 02:05.38 | Nomad_Wanderer | Ban accounts for ppl doing that without permission |
| 02:05.47 | Cair | not on WoWI |
| 02:05.54 | Legorol | i think in most cases those are ignorant people that are trying to be helpful |
| 02:06.05 | Flisher_Coding | hum, Cosmos have no addons agains't their author will |
| 02:06.08 | Cair | most likely, but you'd think they'd learn |
| 02:06.09 | Legorol | they notice somethign they like is not on there, so they try to upload it |
| 02:06.16 | Cair | no no |
| 02:06.20 | Legorol | Cair, you mean there are repeat offenders? |
| 02:06.23 | Cair | not someone uploading to my site |
| 02:06.33 | Cair | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=271490&p=1&tmp=1#post271490 |
| 02:06.43 | Cair | someone creating their own, and uploading |
| 02:07.10 | Legorol | ah right |
| 02:07.31 | Legorol | well in that case it depends on what licence are the addons in question are distributed under |
| 02:07.54 | Legorol | for example, most authors implicitly allow inclusion and rehosting in compilations |
| 02:08.05 | Legorol | not everyone is happy with it, of course, and you should ask if in doubt |
| 02:08.21 | Legorol | unfortunately there being no legal text whatsoever with most addons means people don't know what they can/can't do with them |
| 02:08.22 | Codayus | ssb go -9 |
| 02:08.37 | Codayus | mt |
| 02:10.11 | Legorol | Cair, i'm confused.. what's that guy that you linked to? |
| 02:10.33 | Cair | he has created a site and uploaded a whack of mods for folks to download |
| 02:10.42 | Legorol | oh |
| 02:10.44 | Legorol | hm.. |
| 02:10.52 | Legorol | i can't find the mods on his site :( |
| 02:10.54 | Cair | hang on |
| 02:11.01 | Legorol | nvm, don't bother :-) |
| 02:11.05 | Legorol | waste of your time |
| 02:11.11 | Legorol | i take your word for it |
| 02:11.11 | Codayus | Hmm, his site seems badly designed. |
| 02:11.17 | Codayus | Er....configured |
| 02:12.00 | Osagasu | Iriel, my Civ 4 handle is Osagasu (or course) =D |
| 02:12.08 | Codayus | I followed the link, and my browser attempted to download the page, rather than display it... |
| 02:12.44 | *** join/#wowi-lounge Rowne (n=Wuff@81-178-121-210.dsl.pipex.com) |
| 02:13.00 | Legorol | hi Rowne |
| 02:13.05 | Cair | hey Rowne :) |
| 02:13.11 | Rowne | H'lo. |
| 02:13.17 | Codayus | Hi Rowne |
| 02:14.44 | Nomad_Wanderer | Civ4! |
| 02:15.15 | Rowne | It looks like krka was right. |
| 02:15.20 | Rowne | About Ogres being the new Alliance race. |
| 02:15.29 | Rowne | He cited that they have a connection to Outland, they lived there. |
| 02:15.30 | Rowne | And ... |
| 02:15.33 | Rowne | http://www.gameguidesonline.com/guides/articles/ggoarticleoctober05_02.asp |
| 02:15.39 | Rowne | This notes that Ogres actually have a dance! |
| 02:17.57 | Codayus | Yeah, they do...but...I dunno, ogres have a lot of connection to the horde, don't they? |
| 02:18.09 | Rowne | Other than they come from Outland, not really. |
| 02:18.11 | Iriel | There's an ogre suit you can get in game |
| 02:18.19 | Iriel | so the /dance has a justification |
| 02:18.20 | Rowne | I mean, there's only one neutral Ogre village. |
| 02:18.20 | AnduinLothar | they have a dance that u can do when on dm north tribute with the orge costume on |
| 02:18.28 | Rowne | Hm, ahhh. |
| 02:18.34 | Rowne | That explains it, damn. |
| 02:18.46 | Cair | Okay, I'm not the author of any of these, but if you *are* the author of one (or more of them), you need to tell the site owner whether he has permission for your mods to be on his site: http://www.cairenn-mmorpg.com/images/various/jackthe7th.gif |
| 02:18.49 | Rowne | That leaves Goblins then ... but they seem too mercantilist to 'ally'. |
| 02:19.21 | Legorol | Hehe, Blizzard getting their communication wires crossed inside the company :-) Hortus: http://forums.worldofwarcraft.com/thread.aspx?fn=wow-realm-test&t=94403&s=blizzard&tmp=1#blizzard VS. Post 219 by Slouken here: http://forums.worldofwarcraft.com/thread.aspx?FN=wow-interface-customization&T=238150&P=11 |
| 02:19.22 | Codayus | They'd never go alliance anyhow - to much conflict with gnomes... |
| 02:19.59 | Iriel | Awww.. one of mine IS there! XPToGo, I was about to feel left out. |
| 02:20.35 | Rowne | I can see one of mine, too. |
| 02:20.41 | Rowne | I don't rilly mind, though. |
| 02:21.01 | Codayus | None of mine are there! Oh noes! ....oh wait, I haven't released any yet... :-) |
| 02:21.55 | Cair | Not saying whether it's good or bad, just making people aware so they can decide if they want to do anything about it |
| 02:22.09 | Cair | I doubt Blizz is going to be happy seeing their files there, though |
| 02:22.11 | Tain | I say we form a lynch mob. |
| 02:22.13 | AnduinLothar | what is it? |
| 02:22.15 | Legorol | Iriel: how do you see the mods on that guy's site? |
| 02:22.20 | Tain | Anyone have pitchforks? |
| 02:22.25 | Iriel | I followed Cair's gif link |
| 02:22.38 | Legorol | i got to a site, with a single download link on it, |
| 02:22.43 | Legorol | for something called AIC |
| 02:22.48 | Legorol | i couldn't see anything else on the site :( |
| 02:22.50 | Cair | I downloaded the zip from his site, and then moved everything into a single folder |
| 02:23.00 | Cair | that's the zip Legorol |
| 02:23.06 | Legorol | oh righty |
| 02:23.13 | Cair | I just moved everything to a single level, so all could be listed for a SS |
| 02:23.30 | *** join/#wowi-lounge ToastTheif (i=ToastThe@24-177-157-200.dhcp.mrqt.mi.charter.com) |
| 02:23.39 | Cair | I"m not saying to lynch the guy or anything else, he is probably just trying to help |
| 02:23.43 | ToastTheif | woooooo |
| 02:23.48 | Cair | I'm just making people aware |
| 02:23.56 | ToastTheif | WoW is fully installed, all updates included! |
| 02:24.08 | ToastTheif | now I have to get all 55 of my addons installed... |
| 02:24.20 | Tain | I wanted to lynch. :( |
| 02:24.22 | Legorol | lol, i love it how all these people compiling stuff like this only ever include Cosmos.exe and not the actual zip with the addons in it |
| 02:24.23 | ToastTheif | brb |
| 02:25.30 | AnduinLothar | one of mine directly and 3 or 4 libs if u dont could cosmos.exe |
| 02:25.58 | Cair | cosmos core is there, along with the cosmos libraries |
| 02:26.10 | AnduinLothar | right, having both confuses me |
| 02:26.48 | Nomad_Wanderer | Okay.. Here's the TOC file http://pastebin.com/441778 |
| 02:27.22 | *** join/#wowi-lounge Iban (n=Masdas@h-67-101-221-45.snfccasy.dynamic.covad.net) |
| 02:27.33 | Rowne | Anyway, heading out for now, BBIAB. |
| 02:27.35 | *** part/#wowi-lounge Rowne (n=Wuff@81-178-121-210.dsl.pipex.com) |
| 02:27.36 | AnduinLothar | DefaultState: Enabled and LoadOnDemand: 0 are redundant as those are default |
| 02:28.10 | Nomad_Wanderer | Purl, Nomad_Wanderer? |
| 02:28.11 | purl | you are probably a lua Noob, but trying! |
| 02:28.11 | *** join/#wowi-lounge Iban (n=Masdas@h-67-101-221-45.snfccasy.dynamic.covad.net) |
| 02:28.21 | Legorol | lol |
| 02:28.22 | Iban | hey guys |
| 02:28.28 | Legorol | purl, Legorol? |
| 02:28.37 | Cair | hi Iban |
| 02:28.39 | Legorol | doesn't work :( |
| 02:28.41 | Iban | ~need help designing the xml layout for my mod, is there any program that can help me do this |
| 02:28.42 | purl | Iban: that's too long |
| 02:29.05 | Iriel | And you for sure dont have a WTF\Account\ACCOUNTNAME\SavedVariables\GENAH.lua file? |
| 02:29.06 | Codayus | Iban: Yeah, sorta. |
| 02:29.29 | Codayus | Try uh...actually, I forget the name. |
| 02:29.31 | Iban | designing an interface in purly xml doesnt sound fun :( |
| 02:29.38 | Codayus | Gee, I'm helpful today. |
| 02:29.45 | Cair | http://www.wowinterface.com/downloads/fileinfo.php?id=4222 |
| 02:29.50 | Codayus | The thing...with...uh...damnit. |
| 02:30.00 | Nomad_Wanderer | Yep... nothing there. |
| 02:30.03 | Iriel | bells? |
| 02:30.06 | Legorol | Nomad_Wanderer: in what places do you use the gdkp table, and for what purposes? |
| 02:30.13 | Legorol | you said somethig about it being used in the XML directly |
| 02:30.42 | Iriel | I was about to ask if you called a frame gdkp |
| 02:30.43 | Cair | Codayus: was that what you were thinking of? |
| 02:30.50 | Nomad_Wanderer | I'm doing a guild bidding program.. We have a EQDKP install that makes a DKP_List.lua file. This file is a properly formatterd Lua table of the People and their points. |
| 02:30.58 | Nomad_Wanderer | I'm loading this file in a script load tag in the XML |
| 02:31.12 | Iban | thx ill look into it |
| 02:31.14 | Legorol | right, does DKP_List.lua have a table named "gdkp"? |
| 02:31.20 | ToastTheif | brb |
| 02:31.20 | Nomad_Wanderer | I'm hosting auctions for Items, and I'm decreasing the values in the table. |
| 02:31.23 | ToastTheif | again... |
| 02:31.23 | Nomad_Wanderer | yep. |
| 02:31.30 | Codayus | Cair: Yep. Thanks! |
| 02:31.33 | Legorol | ok, and that data *is* available in-game? |
| 02:31.34 | Cair | ;) |
| 02:31.43 | Legorol | Cair, any idea how i can get purl to talk to me? |
| 02:31.48 | Legorol | like what commands it takes, etc. |
| 02:31.54 | Legorol | ~need help talking to purl |
| 02:31.56 | Cair | ~ <whatever> |
| 02:32.03 | Legorol | doesn't respond to me :( |
| 02:32.08 | Nomad_Wanderer | Correct. /dum gdkp is returning ino |
| 02:32.12 | Iriel | Nomad_Wanderer : Can you zip the whole addon and put it somewere |
| 02:32.19 | Nomad_Wanderer | Yes. |
| 02:32.19 | Cair | may not be programmed for whatever it is you are asking |
| 02:32.28 | Legorol | it doesn't respond to anything :( |
| 02:32.31 | Legorol | ~need help blah |
| 02:32.32 | Cair | what did you want? |
| 02:32.37 | Legorol | doesn't matter, any response |
| 02:32.46 | Legorol | can you give me an example of one command that works for sure? |
| 02:32.47 | Cair | ~botsnack |
| 02:32.47 | purl | Cair: :) |
| 02:32.52 | Nomad_Wanderer | It's my first addon tho.. so be gentle :) |
| 02:32.54 | Cair | ~emulate me |
| 02:32.55 | purl | ACTION purrs. |
| 02:32.59 | Legorol | ~botsnack |
| 02:32.59 | purl | Legorol: :) |
| 02:33.02 | Tain | ~Cairsnack |
| 02:33.08 | Legorol | ~emulate me |
| 02:33.09 | Cair | lol Tain |
| 02:33.11 | Tain | :) |
| 02:33.18 | Legorol | it didn't respond to ~emulate me or ~need help |
| 02:33.20 | Cair | Legorol, you'd have to tell it what you want |
| 02:33.21 | Legorol | Purl, Legorol? |
| 02:33.32 | Legorol | hm |
| 02:33.35 | Legorol | and how do i do that? |
| 02:33.42 | Cair | <PROTECTED> |
| 02:33.45 | Legorol | actually, is there a helpfile or list of commands somewhere? :-) |
| 02:34.03 | Cair | &/or "purl, emulate Legorol is <action> " |
| 02:34.10 | Cair | purl, Cair? |
| 02:34.13 | Iriel | purl, help |
| 02:34.15 | Legorol | Purl, Legorol is confused by purl |
| 02:34.17 | purl | Legorol: okay |
| 02:34.17 | Nomad_Wanderer | genguildusa.com/files/GenAH.zip |
| 02:34.20 | Iriel | do that lego |
| 02:34.24 | Legorol | Purl, help |
| 02:40.53 | *** join/#wowi-lounge purl (i=ibot@pdpc/supporter/active/TimRiker/bot/apt) |
| 02:40.53 | *** topic/#wowi-lounge is WoWI-Lounge. Kick back, relax, hang out. More signal, less noise. Don't spam the damn bot. Get along or get out. |
| 02:40.55 | Iriel | Blizzard are hiring CSR's/GM's |
| 02:41.01 | Iriel | http://www.worldofwarcraft.com/ |
| 02:41.19 | Tem`food | and I are full |
| 02:41.19 | Nomad_Wanderer | Move to California tho :( |
| 02:41.51 | Tem | I'm not sure being paid to work with a game would make me want to move to the left coast |
| 02:42.28 | Tain | Oh god no, not to do customer service. |
| 02:42.42 | Tain | They can't pay enough for that. |
| 02:42.43 | Nomad_Wanderer | I sold my ARCANITE REAPER GET IT BACK! |
| 02:42.58 | Legorol | if you haven't logged out/zoned out yet, you can buy it back |
| 02:43.03 | Nomad_Wanderer | I thiI was kidding ;) |
| 02:43.08 | Tain | I very briefly was even a guide in EverQuest way back when. It was horrible. |
| 02:43.19 | Nomad_Wanderer | I was kidding thats the type of messages a GM gets ;) |
| 02:43.37 | Cair | wb purl |
| 02:43.43 | Legorol | damn, Iriel, you beat me with the post: http://forums.worldofwarcraft.com/thread.aspx?ForumName=wow-realm-test&ThreadID=113240 |
| 02:43.51 | Cair | purl, Cairenn? |
| 02:43.52 | purl | it has been said that cairenn is one of the administrators of WoWInterface.com, also EQInterface, EQ2Interface and VGInterface |
| 02:44.01 | Iriel | heh, yours was more informative |
| 02:44.05 | Legorol | purl, Legorol is <reply> is confused by purl |
| 02:44.06 | purl | ...but legorol is already something else... |
| 02:44.17 | Legorol | purl, Legorol? |
| 02:44.18 | purl | from memory, legorol is confused by purl |
| 02:45.00 | Legorol | purl, emulate Legorol is <action> doesn't stop talking |
| 02:45.01 | purl | okay, Legorol |
| 02:45.06 | Legorol | purl, emulate me |
| 02:45.07 | purl | ACTION doesn't stop talking |
| 02:45.14 | Legorol | :D |
| 02:45.23 | Nomad_Wanderer | That did it. weird. |
| 02:45.24 | Tem | purl, no legorol is <action> is confused by purl |
| 02:45.25 | purl | Tem: okay |
| 02:45.33 | Tem | purl, legorol? |
| 02:45.35 | purl | ACTION is confused by purl |
| 02:45.57 | Tem | I'm almost scared to ask... |
| 02:46.01 | Tem | purl, tem? |
| 02:46.10 | Legorol | purl, no legorol is <reply> is confused by purl |
| 02:46.11 | purl | okay, Legorol |
| 02:46.18 | Legorol | purl, legorol? |
| 02:46.20 | purl | is confused by purl |
| 02:46.20 | Tem | good then |
| 02:46.27 | Legorol | hm |
| 02:46.30 | Nomad_Wanderer | I'm confused |
| 02:46.33 | Iriel | ~emulate Legorol |
| 02:46.35 | purl | ACTION doesn't stop talking to himself |
| 02:46.39 | Iriel | much better |
| 02:46.42 | Tem | ~emulate me |
| 02:46.44 | purl | Dammit, that's it. I'm breaking a new [something]! |
| 02:46.48 | Tem | >< |
| 02:46.52 | Tem | someone changed it |
| 02:47.08 | Tem | ~factinfo emulate tem |
| 02:47.08 | purl | emulate tem -- last modified at Wed Nov 16 21:02:15 2005 by Guillotine!n=Guilloti@63.203.120.57; it has been requested 3 times, last by Tem, 24s ago. |
| 02:47.10 | Nomad_Wanderer | uh oh.. I wonder what ppl said about me :) |
| 02:47.25 | Nomad_Wanderer | ~emulate me |
| 02:47.39 | Cair | lol, you're gonna flood him out again |
| 02:47.47 | Codayus | Hmmm. |
| 02:47.49 | Iriel | By the way, you can /msg purl if you dont want to spam the channel |
| 02:47.55 | Legorol | purl, no legorol is <reply> Legorol doesn't stop talking to himself |
| 02:47.57 | purl | okay, Legorol |
| 02:48.01 | Legorol | purl, legorol? |
| 02:48.02 | purl | Legorol doesn't stop talking to himself |
| 02:48.06 | Legorol | ok, Iriel :-) |
| 02:48.12 | Legorol | ~emulate Iriel |
| 02:48.32 | Legorol | yes i do get it |
| 02:48.35 | Iriel | ~emulate Iriel |
| 02:48.37 | purl | ACTION is beyond emulation. |
| 02:48.41 | Legorol | i wanted to set up a reply to the purl, legorol? question |
| 02:48.42 | Legorol | not to the emulate |
| 02:49.16 | Cair | purl, no, Legorol is <reply> frequently confused by purl |
| 02:49.17 | purl | okay, Cair |
| 02:49.22 | Cair | purl, Legorol? |
| 02:49.24 | purl | frequently confused by purl |
| 02:49.30 | Legorol | shouldn't that be: |
| 02:49.38 | Cair | ~factinfo Cairenn |
| 02:49.38 | purl | cairenn -- last modified at Wed Nov 16 21:01:45 2005 by Cair!n=Cairenn@CPE001217452e29-CM014500004571.cpe.net.cable.rogers.com; it has been requested 4 times, last by Cair, 5m 46s ago. |
| 02:49.41 | Legorol | purl, no, Legorol is <reply> Legorol is frequently confused by purl |
| 02:49.43 | purl | okay, Legorol |
| 02:49.45 | Legorol | purl, legorol? |
| 02:49.47 | purl | Legorol is frequently confused by purl |
| 02:49.54 | clad|golemagg | purl, cladhaire? |
| 02:49.56 | purl | from memory, cladhaire is the current author of WatchDog and AceHealStats |
| 02:50.00 | clad|golemagg | eew. |
| 02:51.18 | AnduinLothar | hey, my surround sound works again |
| 02:51.25 | AnduinLothar | silly card.. |
| 02:51.37 | Iriel | Probably a silly driver, or silly cable |
| 02:52.28 | AnduinLothar | mmm nope. i fully exhausted debugging hardware and software solutions a few months ago and determined it's pci buss noise |
| 02:52.57 | AnduinLothar | but after not using the card for 3 moths i guess it decided to start working |
| 02:53.37 | Tem | Arg! I hate lines to get into the server |
| 02:53.46 | Iriel | Can any of you get to the test server? I think it may just be me who can't. |
| 02:53.50 | Tem | oh, is the Test Server up? |
| 02:54.00 | Iriel | It deosn't appear to be |
| 02:54.00 | Tain | The test server is being testy. |
| 02:54.09 | Iriel | But people keep posting on the test forum |
| 02:54.09 | Tem | Tain! |
| 02:54.12 | Tem | I warned you... |
| 02:54.16 | Iriel | so i was starting to get paranoid. |
| 02:54.17 | Tain | :X |
| 02:54.30 | Cair | I just logged in with no problem |
| 02:54.37 | Tain | Just because you're paranoid doesn't mean they aren't out to get you. |
| 02:54.39 | Tem | Iriel, I'm able to log in |
| 02:54.42 | Cair | to the actual test server |
| 02:55.24 | AnduinLothar | i was in the test server earlier |
| 02:55.40 | Tem | Tip: There are a number of different loot options when in a group. The group leader can right-click their own portrait to change the options. |
| 02:56.08 | clad|domo | Tem: you love the tips.. admit it. |
| 02:56.30 | Tem | it does give me something to do while watching the loading bar... |
| 02:57.17 | Tem | I wish I had something to do while waiting to just log into my server.... |
| 02:57.27 | clad|domo | I wish I could mod at work |
| 02:57.32 | clad|domo | I'd be so much more productive,. |
| 02:57.53 | Iriel | it can be very very bad |
| 02:57.57 | Iriel | to mod at work |
| 02:58.00 | clad|domo | well.. depends on what is measuring my productivity =) |
| 02:58.17 | Tem | Garona is full! |
| 02:58.17 | Tem | Position on Queue: 8 |
| 02:58.17 | Tem | Estimated time: 5 minutes |
| 02:58.20 | clad|domo | well i work at a help desk at a technically-worthless company.. so a lot of my time is spent there doing nothing.. so i try to do what i can |
| 02:58.21 | Tem | WTF! |
| 02:58.22 | futrtrubl | what's the estimated time to live for 1.9? |
| 02:58.39 | Iriel | It's got to be at least a week |
| 02:58.49 | Codayus | 5 minutes to move 8 spots? Impressive. |
| 02:59.03 | Iriel | Can anyone tell me what the servername is in their WoWTest/realmlist.wtf ? |
| 02:59.06 | Codayus | Probably two, I suspect. |
| 02:59.14 | Tem | ok 7 people just cut |
| 02:59.19 | Tem | I'm not 15th in line |
| 02:59.21 | Tem | now* |
| 02:59.29 | Tem | and I'm totally confused |
| 02:59.29 | zeeg | set realmlist beta.us.logon.worldofwarcraft.com |
| 02:59.34 | *** join/#wowi-lounge ToastTheif (i=ToastThe@24-177-157-200.dhcp.mrqt.mi.charter.com) |
| 02:59.41 | Iriel | hm.. damn, I dont know why I can't get on then |
| 02:59.57 | Tem | Alright! I'm first in line now |
| 03:00.08 | Tem | In! |
| 03:00.24 | Codayus | you went from 8th to 15th? How does that work? |
| 03:00.33 | Tem`wow | Codayus: 7 people cut |
| 03:01.01 | Iriel | How does one cut in? |
| 03:01.08 | Codayus | omgwtf HAX!!11!, eh? |
| 03:01.24 | Cair | set realmlist beta.us.logon.worldofwarcraft.com for me as well, Iriel |
| 03:01.31 | clad|domo | the game detected your banned mods and pushed you back in line |
| 03:01.33 | Tem`wow | I'd swear blizzard has GM's whos job is watch me when I play |
| 03:01.35 | clad|domo | its their new defense =) |
| 03:01.36 | Iriel | Time to reboot silly windows |
| 03:01.55 | Tem`wow | HOLY CRAP!! He's trying to log in again! |
| 03:02.08 | Tem`wow | here, you guys go on ahead... |
| 03:04.49 | *** join/#wowi-lounge purl (i=ibot@pdpc/supporter/active/TimRiker/bot/apt) |
| 03:04.49 | *** topic/#wowi-lounge is WoWI-Lounge. Kick back, relax, hang out. More signal, less noise. Don't spam the damn bot. Get along or get out. |
| 03:06.03 | clad|domo | Wow.. not sure how I feel about that. |
| 03:06.06 | clad|domo | =) |
| 03:06.16 | Tain | Yeah, I was kind of hoping no one would say anything. |
| 03:06.28 | clad|domo | DevTools_Dump has a special place in my heart for my stub environment tho =) |
| 03:06.45 | clad|domo | omg.. i think purl, legorol and toast all just went to have a threesome.. |
| 03:07.55 | *** join/#wowi-lounge Cair (n=Cairenn@CPE001217452e29-CM014500004571.cpe.net.cable.rogers.com) |
| 03:07.56 | *** mode/#WoWI-lounge [+o Cair] by ChanServ |
| 03:07.57 | Tain | That's just wrong. |
| 03:08.09 | clad|domo | Hi Cair! |
| 03:08.16 | Cair | uh oh ... |
| 03:08.24 | Cair | what'd you do? |
| 03:08.43 | *** part/#wowi-lounge Cair (n=Cairenn@CPE001217452e29-CM014500004571.cpe.net.cable.rogers.com) |
| 03:08.50 | *** join/#wowi-lounge Cair (n=Cairenn@CPE001217452e29-CM014500004571.cpe.net.cable.rogers.com) |
| 03:08.50 | *** mode/#WoWI-lounge [+o Cair] by ChanServ |
| 03:09.07 | clad|domo | Nothing.. just you , purl and Legorol all left at the same time, we weren't sure if you needed time alone =) |
| 03:09.19 | Cair | lol |
| 03:09.50 | Nulkris | anyone know of a list of what frame types support what events? |
| 03:10.24 | clad|domo | Nulkris: Technically any frame can register for any event.. what in particular are you trying to do? |
| 03:11.31 | Nulkris | I want to call OnValueChanged for my ComboBox component (based on Button), when you select something |
| 03:12.10 | clad|domo | aah, so you're looking for handlers in particular. I'd check the wiki, there's a section on widget methods. |
| 03:12.31 | Nulkris | I presume I can do this:GetScript("OnValueChanged")() type of thing, but not sure whether it will just say unsupported |
| 03:12.57 | Iriel | Isn't there a HasScript method |
| 03:13.07 | Iriel | this:HasScript("OnValueChanged") ? |
| 03:13.39 | clad|domo | I wasn't sure if that was old, 1.9 or what-- i get so lost =) |
| 03:14.21 | Nulkris | Not from the wiki doco, but I thought that not all frame types supported all events |
| 03:14.53 | Nulkris | I don't have any spare CPU time atm to log in |
| 03:15.36 | Iriel | To be honest I dont remember the status of HasScript either |
| 03:15.54 | clad|domo | I know we're getting frame type information |
| 03:16.00 | Iriel | It's in 1.8 |
| 03:16.01 | clad|domo | but tahts the most recent i remember |
| 03:16.55 | Nulkris | wiki isn't updated for that |
| 03:17.11 | Iriel | My fault, sorry |
| 03:17.22 | Cair | All Iriel's fault! |
| 03:17.25 | Cair | Shame! |
| 03:17.26 | Iriel | I'm going to blame Blizzcon |
| 03:17.40 | clad|domo | Hahah good call |
| 03:20.15 | Iriel | now if I could only figure out why this afternoon I can't connect to wow, but this morning I could. |
| 03:20.33 | Cair | you angered the blizz gods? |
| 03:21.13 | Nulkris | well for the 3rd time this year, they can't seem to process my credit card |
| 03:21.26 | MentalPower|PC | <PROTECTED> |
| 03:21.37 | Cair | ummm, oops? |
| 03:21.40 | MentalPower | well that fun |
| 03:21.44 | Cair | lol |
| 03:21.45 | Legorol | not all frame types support all events, and if you try to have an XML element for a frame type that doesn't support it (e.g. OnClick for a Frame), then you get errors in the log |
| 03:21.50 | Legorol | or rather warnings |
| 03:21.56 | MentalPower | crud |
| 03:22.06 | Iriel | That's what HasScript is for |
| 03:22.15 | Iriel | frame:HasScript("OnClick"); |
| 03:22.18 | Legorol | this is particularly stupid because there is no reason why you shouldn't be allowed a virtual template taht is of type Frame, |
| 03:22.21 | Stylpe | MentalPower: Muahahaha! Now I have complete power over your life! |
| 03:22.21 | Nulkris | yeah I know, just need to know if Button will support OnValueChanged |
| 03:22.29 | MentalPower|PC | right |
| 03:22.29 | Legorol | but is then used as the basis for a Button say |
| 03:22.44 | Legorol | Nulkris, I don't think Button has OnValueChanged |
| 03:22.59 | Iriel | so find abutton, and do /dump someButton:HasScript("OnValueChanged") |
| 03:22.59 | Legorol | the quickest way to find out would be to add an <OnValueChanged> and check the framexml.log for a warning |
| 03:23.09 | Iriel | Legorol : Dont you need the actual frame type to match its virtual type? |
| 03:23.17 | Legorol | nope |
| 03:23.23 | Legorol | and there is no reason why you should need to |
| 03:23.34 | Legorol | why wouldn't i be allowed to base a Button on a virtual Frame? |
| 03:24.03 | Iriel | Well, I'm not sure, but i've always assumed they had to match |
| 03:24.18 | Iriel | Well, this is just strange.. |
| 03:24.18 | Legorol | they don't, i know that from experience |
| 03:24.39 | Legorol | at the moment, if you specify an "illegal" handler in the virtual Frame, all you get is a warning in the log |
| 03:24.43 | Cair | nulkris, do you have your nick registered? |
| 03:25.02 | Legorol | e.g. my virtual Frame has an OnClick, i get a warning, but when actually inheriting that virtual frame in a Button, the button correctly has the OnClick handler |
| 03:25.58 | Nulkris | no |
| 03:26.05 | Cair | should |
| 03:26.10 | Legorol | Cair, i have a question for you that is somewhat personal in nature: you have said before that you don't know much about this coding thing, you just like to organise and manage things |
| 03:26.20 | MentalPower|PC | you're all very nice people |
| 03:26.22 | Cair | Uh huh, and the question? |
| 03:26.24 | Legorol | So don't you get bored out of your mind with all the gibberish discussions in this channel ;-) |
| 03:26.30 | Cair | Heck no |
| 03:26.51 | MentalPower|PC | no one stole my registration after I posted my passeord :) |
| 03:27.05 | Cair | I learn bits and pieces |
| 03:27.08 | Legorol | i guess what i am curious about: how much does the discussion here sound like cantonese or taiwanese to you, and if it's amusing to listen to it :D |
| 03:27.16 | Tain | heheh there probably isn't many here who haven't done it at one point or another, MentalPower |
| 03:27.24 | Cair | no, it sometimes makes some sense to me |
| 03:27.36 | Cair | It isn't *completely* gibberish to me |
| 03:27.39 | Cair | just mostly ;) |
| 03:27.50 | Legorol | right, and that makes it less boring ;_) |
| 03:28.02 | Cair | meh, I enjoy it none-the-less |
| 03:28.41 | Cair | I *am* learning, just by osmosis... I may never know enough to be able to actually code for myself, but stuff does sink in, to one degree or another |
| 03:28.54 | Legorol | i beleive 3am is a time when lot of people surf the net |
| 03:28.59 | Cair | that will in turn make it easier for me to help out when and where I can |
| 03:29.02 | Legorol | they should interrupt service at a more reasonable say 8pm |
| 03:29.24 | Cair | no knowledge is a waste of time |
| 03:29.30 | Legorol | that's true |
| 03:29.48 | Cair | and yes, I am for real :p |
| 03:29.49 | Legorol | i also often find that having some knowledge allows one to direct a person in need of help to the right resource |
| 03:29.55 | Cair | precisely |
| 03:30.09 | Cair | I may not know the answer |
| 03:30.16 | Cair | but I'll damn well know who *does* |
| 03:30.25 | Cair | *that* is my strength |
| 03:30.37 | Legorol | i used to have a very enlightened physics teacher at school who said |
| 03:30.38 | Cair | I know enough to know where to send folks to get what they need |
| 03:30.49 | Legorol | don't bother learning all these formulae, but learn which books you can look them up in |
| 03:30.54 | Cair | *nod* |
| 03:31.13 | Tain | That's really the most important thing. |
| 03:31.22 | Legorol | 12 years later i still stick to that mantra... not many formulae are stuck in my head, that's for sure |
| 03:31.22 | Tain | It's more important to know where to find the answer than to know all the answers. |
| 03:32.17 | Cair | this is almost as dumb a conversation as the one we had earlier about how much I do or don't get paid for the time I put in on the sites ... who cares :p |
| 03:32.42 | Cair | It is what it is, including my hanging out here whether I actually understand it all or not |
| 03:33.43 | Cair | sorry, not calling you dumb |
| 03:34.04 | Cair | just, talking about me is dumb :p ... go back to talking about code :p |
| 03:36.16 | Legorol | Cair, you killed the conversation :-p |
| 03:36.20 | Cair | good! |
| 03:36.29 | Cair | it was a dumb conversation |
| 03:36.30 | Cair | :p |
| 03:37.05 | Legorol | *sigh* do we always have to talk about meaningful and creative code-related stuff? can't we do something brainless ... |
| 03:37.12 | Cair | sure |
| 03:37.20 | Cair | as long as it doesn't revolve around me |
| 03:37.21 | Cair | :p |
| 03:37.28 | Legorol | ok |
| 03:37.56 | Legorol | Aeus prefers ui.wow.net to curse :( |
| 03:38.05 | Legorol | i guess that's inevitable, considering curse has gold ads |
| 03:38.20 | Legorol | in fact Aeus has never mentioned curse ever in any post |
| 03:38.22 | Cair | who or what is Aeus? |
| 03:38.27 | Legorol | EU CM |
| 03:38.30 | Cair | ah |
| 03:38.32 | Legorol | English one |
| 03:38.36 | Legorol | one that actually visits the UI forums |
| 03:38.44 | Cair | So why doesn't he check out WoWI :p |
| 03:38.51 | Legorol | he's real nice guy, he's got lots of addons himself, so he is a clued up user, although not coder |
| 03:39.11 | Legorol | i think he knows about all the big ones, but in his blue posts prolly can't mention curse because of the gold ads :( |
| 03:39.11 | Legorol | which is a real shame |
| 03:39.21 | Cair | no gold ads on our site |
| 03:39.35 | Legorol | well his posts on the UI forums are fairly informal in the sense that |
| 03:39.40 | Legorol | he posts them from a user's perspective |
| 03:39.51 | Legorol | it's really nice, the most down-to earth posts (after slouken) that i have seen from a CM |
| 03:39.58 | Tem`wow | sounds interesting |
| 03:40.02 | Legorol | you get the feeling that he actually does play this game |
| 03:40.07 | Legorol | he even posted a screenshot of his UI |
| 03:40.07 | Cair | *nod* |
| 03:40.09 | Cair | that's cool |
| 03:40.30 | Legorol | so i was thinking, poor guy prolly his hands are tied |
| 03:40.31 | Tem`wow | speaking of slouken... I haven't seen him in here lately |
| 03:40.38 | Tem`wow | ~seen slouken |
| 03:40.41 | purl | slouken <n=slouken@ip68-5-42-243.oc.oc.cox.net> was last seen on IRC in channel #wowi-lounge, 4d 21h 10m 8s ago, saying: '... /nuts'. |
| 03:40.41 | Legorol | i guess my point is, Curse > wow.net |
| 03:41.04 | Cair | well, he was away (more or less) basically all weekend |
| 03:41.05 | Legorol | oh, that's his IP! |
| 03:41.10 | Legorol | woot, now i can find his address.. |
| 03:41.13 | Cair | for thanksgiving and stuff |
| 03:41.13 | Tem`wow | heh... |
| 03:41.37 | Legorol | ok maybe not his exact address.. |
| 03:41.47 | Legorol | but at least the area where he lives? maybe? |
| 03:41.59 | Legorol | i bet i find it's in Irvine, CA :D |
| 03:42.05 | Legorol | purl, legorol? |
| 03:42.06 | purl | Someone claimed that Legorol doesn't stop talking to himself |
| 03:42.12 | Legorol | you are right, purl! |
| 03:42.13 | Cair | lol |
| 03:42.13 | Tem | I'm pretty sure you can just ask Cair if you want to know that badly |
| 03:42.28 | Legorol | you ruin the fun.. |
| 03:42.34 | Legorol | where is hte detective work involved in that? |
| 03:42.38 | Cair | actually, I'm pretty sure I didn't make note of the precise street addy ;) |
| 03:42.40 | Legorol | besides Cair would remain forever loyal |
| 03:42.50 | Legorol | and not disclose the info |
| 03:43.17 | Cair | I could probably drive there from BlizzHQ |
| 03:43.23 | Cair | but the actual addy? /shrug |
| 03:43.33 | Legorol | you know, the next blockbuster horror movie ought to have the line "i know what your IP is" |
| 03:43.36 | Legorol | what do you think? |
| 03:43.39 | Cair | lol |
| 03:43.47 | MentalPower|PC | purl, mentalpower |
| 03:43.48 | purl | i heard mentalpower is playing WoW |
| 03:43.53 | MentalPower|PC | woot! |
| 03:43.57 | Cair | smart purl |
| 03:44.01 | Cair | ~botsnack |
| 03:44.01 | purl | thanks, Cair |
| 03:44.25 | Legorol | ~emulate mentalpower |
| 03:44.35 | Cair | nothing in for it yet |
| 03:44.48 | MentalPower|PC | havent set that one, how do you set that? |
| 03:45.19 | Cair | <PROTECTED> |
| 03:45.22 | purl | okay, Cair |
| 03:45.27 | Cair | grrrrrr |
| 03:45.30 | MentalPower|PC | lol |
| 03:45.34 | Cair | ~forget emulate mentalpower |
| 03:45.34 | purl | Cair: i forgot emulate mentalpower |
| 03:45.40 | Cair | there, blank |
| 03:45.59 | Legorol | purl, emulate purl is <action> tries to look like itself |
| 03:46.00 | purl | Legorol: okay |
| 03:46.04 | Legorol | ~emulate purl |
| 03:46.06 | purl | ACTION tries to look like itself |
| 03:46.06 | Cair | rofl |
| 03:46.21 | *** part/#wowi-lounge clad|domo (n=jnwhiteh@cpe-24-59-51-225.twcny.res.rr.com) |
| 03:47.05 | Cair | remind me to tease Clad when he gets back |
| 03:48.06 | MentalPower|PC | ~emulate mentalpower |
| 03:48.08 | purl | ACTION eating pizza with chocolate milk |
| 03:48.21 | Cair | that's a very odd pizza |
| 03:48.27 | Cair | O.o |
| 03:48.58 | MentalPower|PC | pizza and chocolate milk(shoud've said) |
| 03:49.08 | Tem | ~botmail for cladaire <action> teases you |
| 03:49.32 | Cair | to change it, use the same command line, but put "purl, no blahblah" |
| 03:50.30 | MentalPower|PC | ~emulate mentalpower |
| 03:50.32 | purl | ACTION is eating pizza with chocolate milk |
| 03:50.33 | Legorol | hehe, i ate a savoury deviate delight, which turned me into a ninja, then i went into ghostwolf form |
| 03:50.42 | Legorol | i didn't turn into the wolf, but i got the runspeed increase |
| 03:50.51 | Legorol | so now i am a ninja running around real quick |
| 03:51.47 | Tem | ew |
| 03:51.48 | Tem | a shaman |
| 03:52.46 | Legorol | just my latest char ;-) |
| 03:52.57 | Legorol | i have hte excuse i haven't tried one yet! |
| 03:53.32 | Tem | what's your main? |
| 03:59.09 | zeeg | anyone got the french client here? |
| 04:01.25 | Legorol | Tem, i have about 5 mains, and 1 or 2 alts :-) |
| 04:02.24 | Iriel | So all your characters are 'malts' ? |
| 04:02.39 | Tain | There can be only one! |
| 04:02.56 | Legorol | i suffer from althitis: chronic alt maker and leveler |
| 04:03.00 | Legorol | haven't got a l60 yet |
| 04:04.32 | Legorol | hm, interesting, if i fight as a ghostwolved ninja, my weapon damage is applied |
| 04:04.35 | Legorol | is this intended? |
| 04:05.07 | Tem | TcBo1~2005 |
| 04:05.26 | Tem | that was the admin password for the LSU computers last spring |
| 04:05.42 | Tem | (there can be only 1) |
| 04:06.12 | Legorol | what's LSU? |
| 04:06.25 | Tem | My university |
| 04:07.54 | Tain | I have lots of alts, but I do at least have 2 60s. |
| 04:07.59 | Tain | I'm not sure if that's a good thing though. |
| 04:09.17 | Iriel | Tem: I see slouken defeated you |
| 04:14.14 | Tem | yes indeed |
| 04:14.23 | Tem | well I was most perplexed by the problem |
| 04:14.30 | Tem | so I called tech support |
| 04:14.35 | Tem | (rare for me) |
| 04:14.42 | Tem | The guy I talked to had the same issue |
| 04:14.51 | Tem | he said post it in the UI forum |
| 04:15.44 | Tem | Arg! |
| 04:15.51 | Tem | Kaelten|AFK: you need to be back |
| 04:15.59 | Tem | I require your assistance |
| 04:17.45 | Tem | ~seen Kaelten |
| 04:17.49 | purl | kaelten <n=Kaelten@pcp0010773238pcs.mobilh01.al.comcast.net> was last seen on IRC in channel ##ace, 10h 28m 36s ago, saying: 'going well, just got to get ready for work'. |
| 04:18.22 | Tem | mobile huh? |
| 04:18.31 | Tem | well you shouldn't be at work in mobile right now |
| 04:20.26 | Tem | I've gotten NOTHING done today |
| 04:20.28 | Iriel | Could it be.... yes! I can go home now, the roads are clear of incidents! |
| 04:20.44 | Tem | is that what the british call accidents? |
| 04:21.01 | Iriel | It's more inclusive than 'accident' |
| 04:21.07 | Iriel | it covers things like, flooding |
| 04:21.09 | Iriel | debris |
| 04:21.11 | Iriel | whatever |
| 04:21.50 | Tem | last night it took me 3 hours to get home in a drive that normally takes <50 minutes |
| 04:22.22 | Tem | there were 6 accidents on the interstate between my parents house where I had been for thanksgiving and my appartment |
| 04:22.35 | Iriel | I've got one of those annoying commutes where the highway isn't so much a 'shortcut' as 'the only sane route' home |
| 04:22.49 | Tem | oh that stinks |
| 04:23.14 | Tem | I can't decide on the implementation details of my table structure |
| 04:23.26 | Tem | I've been mulling it over in my head for the last few days |
| 04:23.31 | Iriel | Try it one way, and if you're not happy with it, try the other. |
| 04:23.37 | Iriel | You'll know which one you dislike more then |
| 04:23.52 | Tem | everything I come up with will work, but none are clean enough for me |
| 04:24.06 | Tem | they all see to require ugly hacks that I don't want |
| 04:24.13 | Tem | I'm trying to get it as generic as possible |
| 04:25.23 | Tem | rewriting mods that have been out for a while is teh suck |
| 04:25.28 | Iriel | aye. |
| 04:25.44 | Iriel | Well, see you all later, from home.. |
| 04:25.49 | Tem | maybe I can go get some icecream... |
| 04:26.02 | Cair | oooo, ice cream! |
| 04:26.05 | Cair | I'm all out |
| 04:26.38 | *** join/#wowi-lounge Legorol|alt (i=legorol@cpc3-cmbg6-6-0-cust238.cmbg.cable.ntl.com) |
| 04:26.45 | Cair | wb Legorol |
| 04:45.19 | Cair | lalala |
| 04:45.25 | Cair | everyone stopped talking |
| 04:46.30 | Cair | fine, since I just started thinking about it ... if you could be anything in the world, have any job ... what would it be? |
| 04:48.24 | Kolth | I'd work for WoWI |
| 04:48.44 | Cair | LOL, suckup :p |
| 04:48.56 | Cair | seriously |
| 04:49.05 | Cair | what would be your dream job |
| 04:49.19 | Tain | Gigalo? |
| 04:49.36 | Cair | why does that not surprise me, coming from you Tain? |
| 04:49.42 | Tain | :D |
| 04:49.50 | Tain | I like to make people happy! |
| 04:49.57 | Tain | It's very generous and giving of me. |
| 04:50.49 | Cair | uh huh |
| 04:52.42 | Kolth | I would be an overseer of great worlds. |
| 04:52.54 | Kolth | Shepherd of new civilizations! |
| 04:53.21 | Tain | Dictator for Life! |
| 04:53.21 | Cair | okay ... |
| 04:53.30 | Legorol|alt | i'd be a house-husband |
| 04:53.35 | Kolth | houseband? |
| 04:53.36 | Kolth | wtf |
| 04:53.36 | Legorol|alt | you know, look after the kids, cook etc. |
| 04:53.43 | Legorol|alt | stay at home whilst wife works |
| 04:53.47 | Tain | Really, I don't know what my dream job would be. |
| 04:53.47 | Kolth | Play WoW! |
| 04:53.50 | Legorol|alt | so that i can play wow etc. |
| 04:54.18 | Stylpe | I'd be a former one-hit artist, living my life off royalties :D |
| 04:54.46 | Cair | lol Stylpe |
| 04:55.26 | Stylpe | or author |
| 04:55.31 | Cair | anyone else? |
| 04:55.51 | *** join/#wowi-lounge RasmusKL (i=RasmusKL@wnpgmb09dc1-117-2.dynamic.mts.net) |
| 04:56.01 | Cair | there's someone else! |
| 04:56.21 | RasmusKL | hey Cair |
| 04:56.40 | Cair | if you could be anything in the world, do anything, what would be your dream job? |
| 04:56.49 | Kolth | Czar |
| 04:56.53 | RasmusKL | uhm. |
| 04:56.56 | Kolth | of Kolthtonia. |
| 04:56.56 | RasmusKL | I don't know :-P |
| 04:56.58 | Cair | lol Kolth |
| 04:57.08 | Kolth | I'm serious. |
| 04:57.11 | Kolth | Power > * |
| 04:57.58 | Tain | ehn I don't need power |
| 04:58.18 | Tain | My dream job would simply bring me happiness. |
| 04:58.27 | Tain | Which isn't really all that simple. |
| 05:05.25 | Cair | boring peoples! |
| 05:05.34 | Cair | Paramedic |
| 05:07.35 | Cair | preferably on a MediEvac Helicopter, but even ground would be fine |
| 05:12.24 | Tain | I couldn't be a paramedic because I'd be too busy yelling at the people slowing down in their cars to look at what was going on. |
| 05:12.32 | *** join/#wowi-lounge RedcXe (i=RedcXe@cpe-72-225-160-49.si.res.rr.com) |
| 05:13.45 | Cair | heh |
| 05:14.21 | Tain | ooops I'm supposed to be sleeping |
| 05:15.00 | Cair | I'm thinking that when we move to ... wherever ... after daughter graduates, that I may look into rescue operator since that's as close as I'll ever get, now |
| 05:15.39 | Cair | can't do it around here because I'm not bilingual English/French |
| 05:19.24 | Cair | http://www.silverwing-studios.com/forums/images/smiles/blah.gif |
| 05:40.49 | *** join/#wowi-lounge Iriel (n=daniel@adsl-66-123-190-42.dsl.sntc01.pacbell.net) |
| 05:43.31 | Cair | Iriel, you'd probably know ... how high is the spanish speaking population in Cal? Like, for "official" (government) jobs is bilingual english/spanish a requirement? |
| 05:46.06 | Tem | next time I say anything about getting ice cream tell me not to go to sonic |
| 05:46.10 | Tem | Kaelten! |
| 05:46.24 | Tem | Kaelten: how do I make rundown work? |
| 05:46.25 | Kaelten | hey Tem |
| 05:46.27 | Iriel | It's large, and growing, but I believe dont believe all such jobs have bilingual requirements. |
| 05:46.32 | Cair | k |
| 05:46.36 | Tem | does it have no chat commands? |
| 05:46.47 | Iriel | I'm really not certain tho, I may have been here for 7 years but it doesn't mean I was paying attention |
| 05:46.48 | Iriel | 8-) |
| 05:46.55 | Cair | bleh |
| 05:47.12 | Kaelten | Tem: it hasn't been included in a release since .92 |
| 05:47.17 | Kaelten | its going to make a come back though |
| 05:47.23 | Cair | we (well, some of us at least) were talking about what our dream jobs would be |
| 05:48.26 | Iriel | What were the selections? |
| 05:49.10 | Kaelten | well guys I got to go afk again. |
| 05:49.54 | *** join/#wowi-lounge tekkub (n=tekkub@ip70-178-90-156.ma.dl.cox.net) |
| 05:50.01 | tekkub | REJOYCE! |
| 05:50.10 | tekkub | For, uhm... I'm here and stuff |
| 05:51.20 | Cair | well, lets see here ... Kolth be an overseer of great worlds, shepherd of new civilizations, czar of kolthtonia ... Tain would be a gigalo, or a dictator for life ... Legorol wants to be a house-husband ... Styple a former one-hit artist, living his life off royalties, or an author |
| 05:51.30 | Cair | later Kael |
| 05:51.54 | Iriel | A spectrum of aspirational magnitudes |
| 05:52.01 | tekkub | oh oh what am I? |
| 05:52.02 | zeeg | O.o |
| 05:52.08 | zeeg | What about me |
| 05:52.14 | Cair | that's for you guys to answer |
| 05:52.17 | zeeg | I'm hitler or something probably |
| 05:52.17 | tekkub | wait I'm already a house-husband |
| 05:52.24 | Cair | if you could be anything, do anything, what would be your dream job |
| 05:52.40 | Cair | ? |
| 05:52.45 | zeeg | I, may be one of many, love what I do |
| 05:52.49 | tekkub | writing stupid lil mods and getting paid for it |
| 05:52.58 | tekkub | I got the first half down |
| 05:53.11 | zeeg | tekkub, its a lot less fun when you're not doing it how you want to |
| 05:53.17 | zeeg | when you have to write stuff you dont enjoy |
| 05:53.17 | zeeg | trust me |
| 05:53.21 | tekkub | heh |
| 05:53.29 | zeeg | been there :) |
| 05:53.31 | zeeg | still am currently |
| 05:53.44 | tekkub | I know, I dropped out of college for a reason |
| 05:53.52 | Cair | so, what *would* be your dream job, zeeg? |
| 05:54.06 | zeeg | King of the World |
| 05:54.07 | zeeg | :p |
| 05:54.18 | tekkub | I took a comp job and realized it made me hate computers... decided I didn't want that to happen |
| 05:54.41 | tekkub | I love programming, I just hate users |
| 05:54.46 | tekkub | they always want crap |
| 05:55.01 | tekkub | "oh I can't type well make me a GUI" |
| 05:55.10 | zeeg | i used to think i wanted to be a programmer |
| 05:55.16 | tekkub | "I crashed the GUI make it harder for me to crash" |
| 05:55.22 | zeeg | now I know my heart is in busness |
| 05:55.28 | Cair | how about you, Iriel? |
| 05:55.41 | Iriel | I'm not sure, it's such a hard question to answer. |
| 05:55.49 | tekkub | oh Iriel's here, (sweets) |
| 05:55.59 | Stylpe | Ah Cair, you got it slightly wrong |
| 05:56.00 | tekkub | <-- Bear in the forums |
| 05:56.01 | Iriel | I guess I know lots of facets of such a job, but not what a job comprising them all would look like |
| 05:56.06 | Cair | this is where *all* the cool kids hang out |
| 05:56.14 | Stylpe | I'd be a former one-hit artist or author, living his life off royalties |
| 05:56.15 | zeeg | pfft |
| 05:56.22 | zeeg | where's net |
| 05:56.35 | Cair | good question, he isn't in any of the channels from what I see |
| 05:56.38 | tekkub | so am I thusly cool-by-proxy? |
| 05:56.45 | zeeg | i have to convince him the world will be in adestructive balance without him implementing wgp:// |
| 05:56.45 | Cair | he was here before |
| 05:56.56 | Legorol|alt | i need help with a quest :( |
| 05:56.56 | zeeg | :D |
| 05:57.02 | Legorol|alt | can i ask here? or is that off-topic |
| 05:57.08 | zeeg | go for it |
| 05:57.14 | tekkub | check alla! :) |
| 05:57.15 | Cair | of course you can, silly! |
| 05:57.16 | Legorol|alt | ok i will sush |
| 05:57.17 | zeeg | why dont you use thottbot, you *are* a cosmos member :P |
| 05:57.32 | Iriel | Things i'd like: Involement with a community of like-minded passionate individuals. An excuse to learn something every day. A role where I create. A role where I help others learn and create. One where I meet the people i'm creating things to help, so I can understand whatthey actually need. |
| 05:57.34 | Legorol|alt | it's not the location that matters |
| 05:57.49 | Legorol|alt | Helcular's revenge |
| 05:57.59 | Legorol|alt | horde quest from tarren's mill, around lvl 30-ish |
| 05:58.00 | zeeg | i think im gonna take next month off work |
| 05:58.13 | Legorol|alt | once i got the rod in the quest and charged at the 3 flames, |
| 05:58.23 | Legorol|alt | i am supposed to sneak into southshore and shove it into a grave there |
| 05:58.36 | Legorol|alt | what i don't get is, how on earth am i supposed to get into the graveyard inside southshore? |
| 05:58.48 | zeeg | very carefully! |
| 05:58.51 | Legorol|alt | guards attack me from miles away, i don't even go near the town yet alone inside it |
| 05:58.52 | Tem | different graveyard? |
| 05:59.02 | tekkub | why do all the horde quests have a fasination with sending you into SS |
| 05:59.03 | Tem | is the quest marked (PVP)? |
| 05:59.04 | Legorol|alt | has anyone here ever done this quest? |
| 05:59.08 | zeeg | are you a rogue? |
| 05:59.12 | Cair | yeah, sounds like maybe you are going to the wrong place? |
| 05:59.14 | Legorol|alt | i am not a rogue |
| 05:59.21 | Legorol|alt | it did occur to me.. |
| 05:59.29 | Legorol|alt | but there is a Decorated Headstone in that graveyard that i can mouseover |
| 05:59.37 | Tem | >< |
| 06:00.00 | Tem | well earthbind th |
| 06:00.01 | Tem | em |
| 06:00.09 | Legorol|alt | they resist it |
| 06:00.17 | tekkub | Bubble! wait you're not a pally |
| 06:00.17 | Legorol|alt | i'm 30, they are skull (55 i think if i remember correctly) |
| 06:00.21 | Tem | just drop your IWIN totem, and frostshock the guards |
| 06:00.28 | Legorol|alt | what iwin totem? |
| 06:00.29 | Tem | then you can run unmolested |
| 06:00.31 | Legorol|alt | and they resist all shocks |
| 06:00.35 | zeeg | lol |
| 06:00.42 | Tem | (I'm just being a dick about shamen) |
| 06:00.50 | Legorol|alt | that's fine, i don't mind that |
| 06:00.55 | Tem | (I'm an alliance mage; I hate shamen) |
| 06:00.56 | Legorol|alt | but which one is supposed to be the iwin totem ;-) |
| 06:00.58 | zeeg | He meant |
| 06:01.01 | zeeg | Drop the UWIN totem :P |
| 06:01.02 | Legorol|alt | i'd like to know for future reference :D |
| 06:01.08 | zeeg | all of them! |
| 06:01.09 | Cair | hrm, reading at alla's, yeah, you are at the right grave, and everyone is saying it sucks and isn't worth doing |
| 06:01.10 | zeeg | hah |
| 06:01.10 | Tem | Earthbind |
| 06:01.12 | Legorol|alt | yah mage seems to have a tough time :( |
| 06:01.15 | Cair | http://wow.allakhazam.com/db/quest.html?wquest=553 |
| 06:01.19 | Legorol|alt | i kept winning against a mage 2 lvls above me |
| 06:01.26 | tekkub | ./script GodMode(true) |
| 06:01.35 | zeeg | alla is so fucking slow |
| 06:01.40 | Tem | god |
| 06:01.40 | Legorol|alt | tekkub, i run scans of the API and there is no such function :-p |
| 06:01.41 | Cair | not for me |
| 06:01.49 | Legorol|alt | it must've elude dmy scan |
| 06:01.54 | Tem | What pisses me off about it is that it's not slow |
| 06:02.05 | Tem | it takes forever for it load it's ADS |
| 06:02.09 | Iriel | You have to do the scan when logged in as shaman |
| 06:02.10 | tekkub | do you scan as ally or horde? |
| 06:02.16 | Tem | and that slows down the rest of the page |
| 06:02.17 | Legorol|alt | i see, Iriel |
| 06:02.27 | *** join/#wowi-lounge Legorol (i=legorol@cpc3-cmbg6-6-0-cust238.cmbg.cable.ntl.com) |
| 06:02.34 | Stylpe | Is there a way to fade out the GameTooltip? |
| 06:02.51 | Tem | GameTooltip:Fade ? |
| 06:02.56 | Legorol | i vaguely remember there is |
| 06:03.02 | tekkub | GameTooltip:GoToHell() |
| 06:03.07 | Stylpe | lofl |
| 06:03.07 | Tem | indeed |
| 06:03.13 | Tem | tooltips should just go die |
| 06:03.20 | tekkub | ./spit GameTooltip |
| 06:03.30 | Legorol | btw, i can't trust that global function scanning is 100% accurate |
| 06:03.33 | Stylpe | Fade() didn't work |
| 06:03.40 | zeeg | ya |
| 06:03.41 | Tem | of course it didn't! |
| 06:03.42 | zeeg | Pally's have one too |
| 06:03.47 | zeeg | but its labeled Bubble |
| 06:03.47 | Legorol | ever since they snuck in a function that was made available to Lua only *after* all AddOns have finished loading |
| 06:03.49 | Tem | not in 1.9 |
| 06:03.49 | Legorol | that was nasty |
| 06:04.07 | Legorol | and that function would disappear from the Lua namespace if you did a reloadui |
| 06:04.08 | Tem | Legorol: what function is that? |
| 06:04.11 | tekkub | whazzat? |
| 06:04.18 | Iriel | I do my scanning on a clean login, after addons are loaded |
| 06:04.23 | Iriel | as a result of that |
| 06:04.26 | Legorol | it was something like ToggleCombatLogFileWrite or somethin' |
| 06:04.27 | Legorol | it's gone now |
| 06:04.42 | Legorol | I do my scans on a clean login, before blizz UI code loads |
| 06:04.43 | tekkub | oh, one of the means to get data out |
| 06:04.43 | Iriel | It was a bug, not a deliberate attempt to trick us |
| 06:04.47 | tekkub | ? |
| 06:04.51 | Legorol | to be able to tell apart Lua defined functions from internal ones |
| 06:04.52 | Tem | heh |
| 06:04.55 | Legorol | I know Iriel |
| 06:05.06 | Legorol | and when i posted this to slouken, it prompted him to do the whole chatlog revamp :D |
| 06:05.07 | zeeg | this weapon |
| 06:05.08 | zeeg | is so damn good |
| 06:05.12 | tekkub | oh hey, question/confirmation |
| 06:05.13 | Iriel | Well, I also parse all of blizzard's code to find out what symbols it defines |
| 06:05.14 | phil__ | legorol: I've done that lame helcular's quest a couple of times |
| 06:05.19 | zeeg | http://www.wowguru.com/db/items/dark-edge-of-insanity-id21134/ |
| 06:05.21 | tekkub | garbage collection |
| 06:05.22 | Tem | I'm scared to see what evil tricks they have planned for aprilfools |
| 06:05.24 | Legorol | phil__, tell me how |
| 06:05.36 | phil__ | the trick is to die a couple of times :-) |
| 06:05.40 | zeeg | their last april fools sucked |
| 06:05.43 | Kolth | tekkub: Does Eventful have an impact on load speed? |
| 06:05.43 | zeeg | ours was funny :P |
| 06:05.47 | Legorol | Iriel: what about setglobal("some".."string", function) :p |
| 06:05.50 | Legorol | can you catch that? |
| 06:05.52 | zeeg | we had these uber patch notes :D |
| 06:05.54 | tekkub | it looks like after a GC cycle the new threshold is set to the memory currently used *1.25... am I right there for sure? |
| 06:06.00 | Legorol | and tell that it's Lua defined as opposed to internal? |
| 06:06.11 | Tem | Legorol: it's easier to stick a metatable on the global enviroment |
| 06:06.12 | Legorol | at the moment i'd say it's more reliable to scan globals before any Blizz UI code loads |
| 06:06.16 | phil__ | once you know where the grave is, you can get it down to a single corpse run |
| 06:06.17 | Iriel | Legorol not directly, but i'd catch 'setglobals' and last time I eyeballed them, they weren't tehre |
| 06:06.32 | Legorol | fair enough, so do you actually catch setglobals ;-) |
| 06:06.36 | zeeg | hrmm i think i was still using evoarticles when i did that |
| 06:06.38 | zeeg | i cant find it |
| 06:06.44 | tekkub | koloth: don't think it does |
| 06:07.03 | Kolth | Not even a positive one? |
| 06:07.22 | Iriel | Yes, it's called once, in UIOptionsFrame.lua, with 2 arguments |
| 06:07.23 | tekkub | no it's just an info thing for devs |
| 06:07.33 | Kolth | Oh, I misread your desc. |
| 06:07.36 | Legorol | btw, i have a quesiton about metatables for those that are good at it |
| 06:07.39 | tekkub | to prove that BAG_UPDATE is OMGWTFINSANE! |
| 06:07.57 | Iriel | fire away, both Tem and I have metatableness |
| 06:07.59 | zeeg | mm |
| 06:08.03 | zeeg | http://web.archive.org/web/20040415034434/http://www.sieged.net/ |
| 06:08.05 | zeeg | i remember those days |
| 06:08.15 | Stylpe | Ok, this is too strange. After I use GameTooltip:FadeOut() it won't show again when I use Show() :S |
| 06:08.22 | Legorol | ehm.. i need to thinkt he question through |
| 06:08.41 | Legorol | ok question 1: |
| 06:08.45 | Iriel | Stylpe : Has the alpha been set to 0, do you have to set it back? |
| 06:08.53 | Legorol | i am looking at the pseudo-code for the "newindex" metamethod |
| 06:09.05 | Legorol | these lines: |
| 06:09.05 | Legorol | if type(table) == "table" then |
| 06:09.05 | Legorol | <PROTECTED> |
| 06:09.06 | Legorol | <PROTECTED> |
| 06:09.12 | Iriel | *nod* |
| 06:09.20 | Stylpe | Iriel: Now that you say it, that sounds logical, in a Blizzard-twisted sense |
| 06:09.21 | Legorol | does this mean that even if my metatable has a newindex metamethod defined, |
| 06:09.22 | Iriel | that does mean you can't use it to intercept updates |
| 06:09.30 | Iriel | which is what you were abotu to ask, I think |
| 06:09.31 | Iriel | 8-) |
| 06:09.38 | Legorol | as long as the key is actually in the table when i try to do table[key] = value, the metamethod doesn't get called? |
| 06:09.42 | Iriel | yes |
| 06:09.44 | Legorol | oops |
| 06:09.48 | Legorol | you preempted me |
| 06:09.53 | Legorol | right, so i understood that correctly |
| 06:10.03 | Iriel | I had the same question not so long ago (and tested it to make sure) |
| 06:10.16 | Legorol | well my solution was when i came across this was to intercept all index accesses, and instead store all key/values ina hidden table, and not the actual one |
| 06:10.32 | Legorol | so that i kept intercepting them still |
| 06:10.35 | Iriel | that works except you can't iterate over them |
| 06:10.35 | Tem | however, you can set up a proxy table to catch every index pretty easily |
| 06:10.45 | Legorol | why wouldn't you be able to iterate? |
| 06:10.46 | Iriel | so you then have to install the pairs metamethod hack |
| 06:10.47 | Tem | and Iriel beats me to where I'm going |
| 06:10.50 | Legorol | you can just catch next as well, can't you? |
| 06:11.12 | Iriel | you'd have to hook it, there's no next, or pairs, or ipairs metamethod |
| 06:11.12 | Tem | well you could hook next, but I don't think the generic for calls next directly |
| 06:11.24 | Tem | ^^ there should be |
| 06:11.35 | Iriel | BUT, you CAN just hook table.next and next, table.ipairs and ipairs, table.pairs and pairs |
| 06:11.39 | Iriel | and create one |
| 06:11.40 | Legorol | hm, so does an iteration involving next, |
| 06:11.51 | Legorol | not call the metamethods? |
| 06:11.56 | Iriel | correct |
| 06:12.00 | Legorol | bah |
| 06:12.04 | Iriel | the metamethods aren't consulted at all for iteration |
| 06:12.13 | Iriel | I dont think they're called for getn and setn either |
| 06:12.24 | Iriel | I'm not sure about insert/remove |
| 06:12.25 | Legorol | well anyway, this wasn't going to be my main question |
| 06:12.31 | zeeg | omg |
| 06:12.31 | zeeg | http://web.archive.org/web/20040129090335/http://ffxi.sieged.net/ |
| 06:12.34 | zeeg | that site was so uber |
| 06:12.34 | zeeg | :D |
| 06:12.48 | Legorol | hm, what was it again that was confusing me |
| 06:12.50 | Legorol | got to try and remember |
| 06:14.16 | Tem | Generic for iteration uses next |
| 06:14.24 | Tem | for k,v in table do ... end |
| 06:14.24 | Iriel | does pairs? |
| 06:14.27 | Tem | calls next |
| 06:14.40 | Legorol | pairs() uses next |
| 06:14.50 | Legorol | pairs afaik is just a function that returns next, table, nil |
| 06:14.52 | Tem | pairs does use next |
| 06:15.31 | Legorol | the structure "for k,v in table do ... end" is not technically correct in 5.0 and is only there for backwards compat |
| 06:15.37 | Iriel | does ipairs use the index iterator? |
| 06:15.38 | Legorol | i wouldn't trust its behaviour either way |
| 06:15.46 | Legorol | index iterator? |
| 06:15.50 | Tem | same question? |
| 06:15.50 | Legorol | there is such a thing? |
| 06:15.53 | Iriel | metamethod, sorry |
| 06:15.58 | Tem | which? |
| 06:16.06 | Tem | oh __index? |
| 06:16.13 | Tem | I doubt it |
| 06:16.27 | Legorol | it should od |
| 06:16.28 | Legorol | *do |
| 06:16.36 | Legorol | afaik it creates a closure and returns an iterator function |
| 06:16.51 | Legorol | the iterator function should be doing standard access |
| 06:16.58 | Legorol | but that's just my interpretation, never tested it |
| 06:17.13 | Legorol | ok, a small question here whislt i think further: a table can be its own metatable, right? |
| 06:17.25 | Tem | ipairs does not trigger __index |
| 06:17.39 | Tem | yea |
| 06:17.53 | Tem | a personal favorite of mine is: |
| 06:17.57 | Tem | t={} |
| 06:18.00 | Tem | t[t]=t |
| 06:18.06 | Tem | setmetatable(t,t) |
| 06:18.12 | Tem | t.__index=t |
| 06:18.19 | Stylpe | SetAlpha() isn't working either =( |
| 06:18.44 | Tem | Stylpe: if there is a FadeOut method, is there a FadeIn method? |
| 06:18.58 | Tem | you might have to call a Set method to pull it back |
| 06:19.04 | Legorol | lol Tem, my mind hurts from that one |
| 06:19.10 | Legorol | let me try tofigure out what it does :D |
| 06:19.21 | Tem | it does nothing |
| 06:19.35 | Stylpe | no |
| 06:19.41 | Tem | it's just a brain buster |
| 06:20.07 | Tem | Stylpe: you may need to call another set method to get it to come back (SetUnit, SetInventoryItem, ect) |
| 06:20.31 | Stylpe | SetAction won't work? |
| 06:20.42 | Legorol | ehm Tem, from what i can make of it, |
| 06:20.55 | Legorol | after you executed the above, any indexing access of t should cause a stack overflow |
| 06:21.01 | Legorol | t[a] => endless loo |
| 06:21.04 | Legorol | *loop |
| 06:21.08 | Legorol | that's my interpretation |
| 06:21.10 | Legorol | is that wrong? |
| 06:21.12 | Tem | I don't think so |
| 06:21.19 | Tem | never tried |
| 06:21.29 | Tem | I don't think it will hit the metatable twice |
| 06:21.52 | Iriel | It doesn't |
| 06:21.59 | Iriel | I tried that yesterday |
| 06:22.03 | Iriel | (nested metatables) |
| 06:22.10 | Tem | hey guess what |
| 06:22.11 | Legorol | ok, i have hte Lua man open at the "index" metamethod's pseudocode |
| 06:22.21 | Tem | > t = {} |
| 06:22.22 | Tem | > t[t] = t |
| 06:22.22 | Tem | > setmetatable(t,t) |
| 06:22.22 | Tem | > t.__index=t |
| 06:22.22 | Tem | > =t[1] |
| 06:22.22 | Tem | stdin:1: loop in gettable |
| 06:22.24 | Tem | stack traceback: |
| 06:22.26 | Tem | <PROTECTED> |
| 06:22.28 | Tem | <PROTECTED> |
| 06:22.30 | Tem | > |
| 06:22.38 | Legorol | :-) |
| 06:22.43 | Legorol | IWIN |
| 06:22.57 | Iriel | Oh.. that's not what I tested is it! |
| 06:23.09 | Tem | I wonder how wow would handle that |
| 06:23.13 | Legorol | hehe |
| 06:23.16 | Tem | hopefully poorly |
| 06:23.16 | Legorol | another way to crash? ;-) |
| 06:23.21 | Iriel | Probably the same way, or a stack overflow |
| 06:23.23 | Legorol | slouken wil be happy |
| 06:23.25 | Iriel | I'm betting the latter |
| 06:23.33 | Legorol | might be a client crash.. |
| 06:23.35 | Legorol | go go Tem |
| 06:23.36 | Iriel | Slouken will say 'So dont do that' or 'it's your keyboard' |
| 06:23.40 | Tem | I doubt a client crash |
| 06:23.41 | Legorol | lol |
| 06:23.52 | Tem | I'm going for a C Stack overflow |
| 06:23.57 | Legorol | i think this might be the craziest way yet you found of crashing the client if it works :-) |
| 06:24.10 | Legorol | yeah prolly just stack overflow |
| 06:24.24 | Tem | I wonder how t.__index = function () return t end |
| 06:24.28 | Tem | would do |
| 06:26.06 | Legorol | that'd do nothing much |
| 06:26.06 | Iriel | Damn it, I managed to break the client yesterday with SetScale and I can't today |
| 06:26.14 | Legorol | if you tried t[a], it would evaluate to t |
| 06:26.22 | Legorol | at least if i understand it corectly |
| 06:26.27 | Tem | but then assignment to that doesn't seem to change t |
| 06:26.30 | Legorol | metatables are always brainteasers |
| 06:26.34 | Tem | so I'm confuzled |
| 06:26.36 | Legorol | assignment is different |
| 06:26.46 | Legorol | assignment will change it, because that's __newindex, not __index |
| 06:26.58 | Legorol | and once you have assigned to t[a], it will then always just return the raw value |
| 06:27.06 | Iriel | *nod*@Legorol |
| 06:27.12 | Legorol | so after a t.__index = function () return t end, |
| 06:27.16 | Legorol | t[a] => t |
| 06:27.22 | Legorol | t[a] = 3 => works |
| 06:27.26 | Legorol | t[a] => 3 |
| 06:27.30 | Legorol | that's my bet |
| 06:28.11 | Tem | yeah that seems to be right |
| 06:28.17 | Tem | Aww |
| 06:28.22 | Tem | > t = {} |
| 06:28.23 | Tem | > t[t] = t |
| 06:28.23 | Tem | > setmetatable(t,t) |
| 06:28.23 | Tem | > t.__index=t |
| 06:28.23 | Tem | > =t[1] |
| 06:28.23 | Tem | stdin:1: loop in gettable |
| 06:28.25 | Tem | stack traceback: |
| 06:28.27 | Tem | <PROTECTED> |
| 06:28.29 | Tem | <PROTECTED> |
| 06:28.31 | Tem | > |
| 06:28.33 | Tem | oops |
| 06:28.35 | Tem | well that's the wrong button |
| 06:28.44 | Tem | <PROTECTED> |
| 06:29.02 | Tem | not even a stack overflow |
| 06:29.12 | Tem | Iriel: what were you doing to break things with SetScale? |
| 06:29.17 | Tem | that on the test server? |
| 06:29.18 | Legorol | lol, just managed Hecular's grave |
| 06:29.23 | Legorol | i ran into the grave, died to guards |
| 06:29.37 | Legorol | ressed just in front of the objective, and clicked at the button madly, whilst guards bashedme |
| 06:29.46 | tekkub | heh |
| 06:29.48 | Legorol | i was just quick enough to do it before i was dead |
| 06:29.54 | tekkub | deathhopping FTW! |
| 06:29.54 | Tem | that's lame |
| 06:30.08 | Stylpe | Gah! Stupid tooltip! |
| 06:30.09 | tekkub | you did it nude right? |
| 06:30.28 | tekkub | Iriel, do me a favour |
| 06:30.35 | Iriel | hm? |
| 06:30.38 | tekkub | pull some string with slouken |
| 06:30.51 | tekkub | and get GameTooltip:GoToHell() added |
| 06:30.53 | Tem | Tip: You can choose not to display your helm and/or cloak with an option from the interface options menu. |
| 06:31.20 | tekkub | I liked "Tip: Killing guards earns no honor" |
| 06:31.24 | Iriel | Stop it! |
| 06:31.45 | Iriel | Stop mocking the poor tips |
| 06:31.51 | Iriel | And make my code break |
| 06:31.53 | Iriel | PLEASE |
| 06:32.00 | tekkub | followed by Tip: Killing players whice are grey earns no honor |
| 06:32.11 | Tem | hmm? |
| 06:32.58 | tekkub | Tip: Don't try to force your eyes to stay open when you sneeze |
| 06:33.48 | End-food | na |
| 06:33.52 | End-food | oops |
| 06:34.14 | tekkub | Tip: Gnomes taste like chicken! |
| 06:34.41 | Legorol | go play WoW :D |
| 06:34.45 | tekkub | play? |
| 06:34.53 | tekkub | my duo partner isn't on |
| 06:34.55 | Cair | okay, sleep time for Cair, night all |
| 06:35.00 | Tem | Tip: Being polite while in a group with others will get you invited back! |
| 06:35.04 | Legorol | make a new char on an RPPvP server |
| 06:35.05 | Tem | Bye Cair |
| 06:35.14 | Stylpe | nn Cair |
| 06:35.17 | Legorol | nn |
| 06:35.19 | tekkub | oh I think I just though of the perfect one... |
| 06:35.26 | tekkub | and no I hate PvP |
| 06:36.03 | tekkub | Tip: Noone likes it when you type "u r" |
| 06:36.15 | Legorol | them make a char on an RP server |
| 06:36.18 | Legorol | that will lighten up your day |
| 06:36.21 | End | u r so noob |
| 06:36.28 | End | hmm |
| 06:36.30 | tekkub | RP is nice :) |
| 06:36.37 | End | even -I- don't like it when I type "u r" |
| 06:36.40 | Legorol | then make a char on the *other* RP server |
| 06:36.43 | tekkub | but wmy will to play solo is nada |
| 06:37.05 | tekkub | Tip: lern2type |
| 06:37.46 | tekkub | oh, you found Auctioneer Yarly yet? |
| 06:38.16 | Legorol | Tem, i have an idea for you to try: |
| 06:38.20 | Legorol | circular metatables |
| 06:38.29 | Legorol | setmetatable(a, b); setmetatable(b, a); |
| 06:38.30 | tekkub | Blue are a bunch of sneaky bastards |
| 06:38.53 | Legorol | that'll avoid the loop detection and give you your stack overflow hopefully |
| 06:39.06 | Legorol | or crash client if thigns are good :D |
| 06:39.28 | Legorol | yeah i've seen Yarly and Orly |
| 06:39.29 | Kaelten|PlayingW | Hmmm, slouken ignored my request for FontStrings to get GetParent() |
| 06:39.34 | Legorol | or whatever the 2nd one was called |
| 06:39.36 | tekkub | where's Orly? |
| 06:39.42 | Legorol | i think BB |
| 06:39.45 | Legorol | or was that Yarly? |
| 06:39.55 | Legorol | can't remember |
| 06:39.59 | Legorol | i think it was BB |
| 06:40.00 | tekkub | I only found 2 auc's in BB |
| 06:40.05 | tekkub | Yar's in UC |
| 06:40.20 | tekkub | might be everlook, I've never been there |
| 06:40.41 | Legorol | it's BB then |
| 06:40.49 | Legorol | i don't like 'em calling them orly/yarly |
| 06:40.50 | Legorol | that's lame |
| 06:41.16 | tekkub | well if Yarly had a pet owl named Orly it'd be funnier |
| 06:41.40 | Stylpe | BUTWHY? Calling GameTooltip:Show() and GameToolTip:IsShown() still returns nil |
| 06:42.06 | Iriel | Stylpe : Are you running into conflicts with an OnUpdate handler? |
| 06:42.12 | Iriel | There are some of them which interfere with tooltips |
| 06:42.19 | Iriel | Well, GameTooltip specifically |
| 06:42.19 | Stylpe | I'm doin git via /script |
| 06:42.46 | Stylpe | and trying to make it work on ly Visor action button's OnEnter |
| 06:42.49 | Stylpe | *my |
| 06:42.50 | Iriel | yeah, but the game will, under some circumstances, fiddle with GameTooltip OnUpdate |
| 06:43.37 | tekkub | ./hate GameTooltip |
| 06:45.14 | Legorol | tell me about it |
| 06:45.25 | Legorol | my first ever addon, i thought, will be a very simple one... and i wrote EquipCompare |
| 06:45.35 | Legorol | the most nightmarish tooltip related stuff ever i have encoutnered :( |
| 06:45.43 | tekkub | hehe |
| 06:45.44 | Legorol | i had plenty of incompatbility problems with other addons at the time |
| 06:45.46 | tekkub | EC FTW! |
| 06:46.03 | tekkub | I avoid Tooltips like the plague |
| 06:46.07 | Legorol | i had a bug once wich required no less than 4 addons plus their dependencies, 7 addons in total, to manifest itself |
| 06:46.14 | Legorol | turn off one of those 4 and bug is gone |
| 06:46.24 | tekkub | *snicker* |
| 06:46.31 | Legorol | that was a nightmare to track down |
| 06:47.10 | Tem | I used to like EC, but I got tired of it |
| 06:47.15 | Tem | mostly because I'm lazy |
| 06:47.21 | Tem | so I decided to write a replacement |
| 06:47.26 | Tem | I thought it would be easy |
| 06:47.29 | Tem | nightmare |
| 06:47.45 | Tem | It's "done" but very lacking |
| 06:48.04 | tekkub | I like EC, it's one of the simple must-haves in my library |
| 06:48.06 | Tem | oh and I need to beg slouken into giving me tooltip:InsertLine |
| 06:48.13 | tekkub | one of those "it just works" mods |
| 06:48.41 | Tem | I'm too lazy to look at two tooltips, so ItemCompare's job is to do that for me |
| 06:49.04 | tekkub | heh, I kinda tried to write something similar |
| 06:49.15 | tekkub | it "scores" the item based off stat weights |
| 06:49.27 | tekkub | but I got lazy and went back to looking at tooltips |
| 06:49.33 | Tem | Lemme find a SS of IC |
| 06:49.38 | tekkub | finding good weights took too much effort |
| 06:49.55 | tekkub | I like QuickInspect |
| 06:50.01 | Tem | yeah |
| 06:50.11 | Tem | I need to get it's parsing code |
| 06:50.16 | Tem | mine is too unreliable |
| 06:51.56 | Codayus | EC? |
| 06:52.09 | Legorol | so what is ItemCompare and QuickInspect? |
| 06:52.17 | Legorol | maybe i can glean a few things from them and put it into EC ;_) |
| 06:52.23 | Legorol | EC = EquipCompare, Codayus |
| 06:52.27 | Codayus | Oh, right. |
| 06:52.36 | Codayus | Yeah, I vaguely remember trying to play the game without it. |
| 06:52.37 | Legorol | shit! |
| 06:52.45 | Legorol | i just HS-d |
| 06:52.54 | Legorol | just to find out that i forgot to set my HS to tarren mill |
| 06:52.59 | Legorol | and i am back in thunderbluff :( |
| 06:53.03 | Codayus | Doh! |
| 06:53.05 | Legorol | that's going to be one long journey back |
| 06:53.11 | Tem | I'm trying to get a SS of ItemCompare |
| 06:54.13 | Codayus | Honestly, some of Bliz's UI decisions just mystify me. |
| 06:54.51 | Codayus | Like only sticking equipment comparison tooltips in a couple of places. Or not giving you an item tooltip for mail messages. Or not allowing frames to be draggable... |
| 06:55.10 | Legorol | have you tried CharactersViewer? |
| 06:55.19 | Codayus | Or the default player frames...there's just so MUCH wrong with them... |
| 06:55.19 | Legorol | it integrates very nicely with EquipCompare... |
| 06:55.34 | Legorol | CV shows you your alts' equipment |
| 06:55.47 | Tem | http://img316.imageshack.us/img316/8966/ss34pt.jpg |
| 06:55.54 | Tem | http://img316.imageshack.us/img316/1773/ss26zd.jpg |
| 06:55.56 | Codayus | I've played with similar mods, but it doesn't do much for me. |
| 06:55.58 | Legorol | my favourite mode is to have EquipCompare show your equipment, but if you hold down Alt, it shows your alt's equipment instead that you selected in CV |
| 06:55.59 | Tem | http://img316.imageshack.us/img316/3538/ss15ie.jpg |
| 06:56.18 | Codayus | I know what my alts have. :-) |
| 06:56.18 | Legorol | Tem, ItemCompare is your mod? |
| 06:56.28 | Legorol | some of us don't have such good memories :- |
| 06:56.30 | Legorol | :-) |
| 06:56.44 | Codayus | Hey, that's an interesting idea, actually. |
| 06:56.59 | Tem | Aye |
| 06:57.03 | Codayus | How does it handle items with completely different stats? |
| 06:57.07 | Legorol | but Tem, that only goes after stats |
| 06:57.12 | Legorol | yeah |
| 06:57.27 | Legorol | what about the special bonuses (green stuff at bottom) |
| 06:57.32 | Tem | It adds a +0 Stat (-N) line |
| 06:57.39 | Tem | and I haven't figured out how to do those yet |
| 06:57.46 | Codayus | Would you get a +0 spirit (+12) line if you were wearing a 12 spirit cloak? |
| 06:57.57 | Codayus | Er, -12, and ah, I see. |
| 06:58.01 | Tem | You would get a +0 Spirit (-12) |
| 06:58.03 | tekkub | oh I like that |
| 06:58.07 | Legorol | so you need to be able to insert lines in the middle of the tooltip |
| 06:58.10 | Legorol | how do you accomplish that? |
| 06:58.13 | Tem | well... |
| 06:58.21 | Legorol | the only method i know of involves shifting down all lines by one, |
| 06:58.23 | Tem | with great effort and much memory burning |
| 06:58.25 | Legorol | by copying the texts and colors |
| 06:58.26 | Tem | it works |
| 06:58.32 | Legorol | what's the method? |
| 06:58.40 | Tem | by clearing the tooltip and rebuilding the whole thing |
| 06:58.48 | Tem | you can't just move lines down |
| 06:59.02 | Legorol | you can if you do gettext/settext on the fontstrings |
| 06:59.04 | Codayus | ....um, that's gotta be a real pain, yes? |
| 06:59.04 | Tem | because that breaks line wrapping |
| 06:59.23 | Tem | Codayus: yep, and that's why I've been trying to pester slouken for a better way |
| 06:59.26 | Legorol | ehm.. so how do you introduce line wrapping when needed? |
| 06:59.41 | Tem | You rebuild the tooltip via ClearLines |
| 06:59.45 | Tem | and a for loot |
| 06:59.52 | Tem | loop with AddLine |
| 06:59.54 | Legorol | ok, and in hte loop, you do what, AddLines? |
| 06:59.58 | Legorol | how does that preserve color? |
| 07:00.05 | Legorol | do you first scan for colors |
| 07:00.06 | Tem | GetTextColor |
| 07:00.08 | Tem | aye |
| 07:00.12 | Tem | it's messy |
| 07:00.17 | Legorol | so prior to gettextcolor being introduced, you couldn't do this? |
| 07:00.19 | Tem | *very* messy |
| 07:00.25 | Tem | right |
| 07:00.31 | Legorol | so it's a recent mod then :-) |
| 07:00.32 | Codayus | Yeah...but the result is wicked. |
| 07:00.35 | Legorol | or at least this function |
| 07:00.41 | Legorol | and what about wrapping |
| 07:00.45 | Legorol | how do you force wrapped text? |
| 07:00.47 | Legorol | i don't know how to do that |
| 07:00.51 | Tem | the last param of AddLine |
| 07:00.57 | Tem | is a wrap flag |
| 07:00.57 | Legorol | there is a last param? |
| 07:01.14 | Legorol | that's a new one as well, isn't it? |
| 07:01.16 | Tem | but trust me you DON'T WANT TO DO THAT |
| 07:01.44 | Tem | At it's worst I've caused 900kb/sec memory usage |
| 07:01.52 | Legorol | so ehm.. what happens to text if you don't wrap it? does it truncate or just make a very wide tooltip |
| 07:02.01 | Tem | it makes a very wide tooltip |
| 07:02.12 | Legorol | how does it decide where to wrap? |
| 07:02.19 | Tem | I have no idea |
| 07:02.27 | Legorol | since the width of the tooltip is calculated from the contents itself normally |
| 07:02.30 | Tem | I call it magic wrapping |
| 07:02.31 | Legorol | this gives me a crazy idea: |
| 07:02.37 | Codayus | Ooh, 900kb/sec? Wicked! |
| 07:02.55 | Legorol | my guess is that it has nonwrapped lines, so takes the width of those, and wraps the wrapped lines accordingly |
| 07:02.57 | Tem | I managed to pull that down to 500kb/sec by memoizing the results of my tooltip parsing |
| 07:03.00 | Legorol | so why not try this: |
| 07:03.06 | Legorol | make a tooltip with *only* wrapped lines |
| 07:03.10 | Legorol | see if it crashes or shows at all ;-) |
| 07:03.32 | Tem | and then I made it go down some more to 200ish |
| 07:03.40 | Tem | and that's the lowest I can get it |
| 07:04.05 | Tem | now if I remove the inserts and do addlines to the end at peak it only adds about 10kb/sec |
| 07:04.29 | Legorol | isn't there a new fontstring method in 1.9 to set wrapping? |
| 07:04.40 | Iriel | That's just for wrapping of lines without spaces |
| 07:04.40 | Tem | I was hoping that was the answer |
| 07:04.43 | Tem | but it isn't |
| 07:04.46 | Legorol | right |
| 07:05.12 | Legorol | hm, i see, so no way to copy the "wrapped-ness" |
| 07:05.31 | Legorol | well, here is my suggestion: |
| 07:05.38 | Legorol | this is a little trick that i used myself |
| 07:05.53 | Legorol | you can make space and "shift" down lines by making a particular line taller, |
| 07:06.00 | Legorol | (change height with SetHeight I guess) |
| 07:06.09 | Legorol | and making sure the vertical adjust is set to bottom |
| 07:06.14 | Tem | the problem there is that it deost't reset later |
| 07:06.15 | Legorol | that way there is now empty space |
| 07:06.26 | Legorol | hm |
| 07:06.30 | Tem | you have to manually reset it |
| 07:06.41 | Tem | if you set the fontstring's width it wraps |
| 07:06.58 | Tem | but I can't figure how to clear that |
| 07:07.09 | Legorol | ok you lost me there |
| 07:07.12 | Legorol | it wraps waht? |
| 07:07.24 | Tem | ok, you have a tooltip |
| 07:07.33 | Tem | line 3 is long and wraps |
| 07:07.50 | Tem | you do line2:SetWidth(line:GetWidht()) |
| 07:08.08 | Tem | line2:SetText(line3:GetText()) |
| 07:08.33 | Tem | line2 will properly wrap the line 3 text |
| 07:09.02 | Legorol | haave you ever examined the actual string that you get from a GetText ona wrapped fontstring? |
| 07:09.07 | Legorol | maybe there are embedded \n ? |
| 07:09.11 | Tem | yeah |
| 07:09.13 | Legorol | in the string itself.. |
| 07:09.14 | Tem | and no there isn't |
| 07:09.26 | Legorol | ok, actually that makes sense |
| 07:09.42 | Legorol | so what you are saying is that the way the fontstrings behave, |
| 07:09.45 | Legorol | they wrap by default |
| 07:09.54 | Tem | however, the tooltip doesn't like it's fontstrings to have defined anchors |
| 07:09.56 | Legorol | if you set width, and fill it with text more than that width, it wraps |
| 07:09.59 | Stylpe | Where can I find the source for all the functions associated with the GameTooltip? |
| 07:10.07 | Tem | not anchors, dimensions |
| 07:10.18 | Legorol | they do have a height |
| 07:10.23 | Legorol | and the widths are set by the Setxxx methods |
| 07:10.28 | Tem | exactly |
| 07:10.31 | Legorol | when you call Setxxx, it sets the widths |
| 07:10.41 | Tem | their width is determined by their anchors |
| 07:10.47 | Tem | and their height is too |
| 07:10.51 | Legorol | nope, not the width |
| 07:10.58 | Legorol | the width is set via the Setxxx method |
| 07:11.09 | Tem | Their width is determined via the size of the tooltip |
| 07:11.10 | Legorol | afaik the algorithm is as follows, when you call Setxxx: |
| 07:11.18 | Legorol | Tem, the opposite way around |
| 07:11.30 | Legorol | Setxxx sets the fontstrings to a specific width and fills them with text |
| 07:11.34 | Tem | Tem needs to look at the GameTooltip Template |
| 07:11.37 | Legorol | *then* the tooltip is resized to be the same width |
| 07:11.46 | Legorol | this is all code inside the Setxxx methods |
| 07:11.50 | Legorol | you won't see this in the XML |
| 07:12.09 | Legorol | i know this, because you can force a tooltip to widen by calling SetWidth on one of its fontstrings, |
| 07:12.12 | Tem | I hope to get a clue from the xml |
| 07:12.13 | Legorol | then calling tooltip:Show() |
| 07:12.28 | Legorol | the actual layout of the tooltip (and evaluation of the tooltip width from the fontstring widths) is done in :show() |
| 07:13.23 | Legorol | Pseudo-code for Setxxx methods: |
| 07:13.31 | Legorol | * tooltip:ClearLines() |
| 07:13.41 | Legorol | * fill lines with text |
| 07:13.47 | Legorol | * adjust width and height of fontstrings |
| 07:13.51 | Legorol | * tooltip:Show() |
| 07:14.01 | Legorol | and in tooltip:Show(), you have |
| 07:14.09 | Legorol | * resize tooltip to match sizes of fontrsings |
| 07:14.16 | Legorol | * show the tooltip |
| 07:15.49 | Stylpe | HA! I had to SetOwner() as well |
| 07:16.18 | Stylpe | But now the position looks really funky |
| 07:16.40 | Legorol | SetOwner has an anchor parameter |
| 07:16.44 | Legorol | you have to get that one right |
| 07:17.13 | Legorol | if there is a conflict between the anchor param in SetOwner and the position the tooltip is anchored to via XML, you can get crazy stuff |
| 07:17.22 | Stylpe | I did get it right, but it's still wrong |
| 07:18.01 | Stylpe | Wait no I didn't =( |
| 07:19.00 | Legorol | in fact if i remember correctly a tooltip shouldn't have an <Anchors> tag in XML |
| 07:19.05 | Legorol | nor <Size> |
| 07:19.36 | Legorol | the only exception is if you use the ANCHOR_NONE anchor in SetOwner |
| 07:19.50 | Legorol | then you can anchor your tooltip using <Anchors> in XML or using SetPoint in Lua |
| 07:19.50 | Stylpe | What if I want to put it in the default tooltip position? |
| 07:20.00 | Legorol | you mean bottom right corner? |
| 07:20.07 | Tem | ANCHOR_NONE? |
| 07:20.07 | Legorol | there is a Blizz Lua function for that, i think |
| 07:20.20 | Stylpe | Yeah, except Tipster will move it |
| 07:20.23 | Legorol | GameTooltip_SetDefaultAnchor(tooltip, owner) |
| 07:20.26 | Legorol | or something like that |
| 07:20.43 | Legorol | well any tooltip mod that moves tooltips would start by hooking that function |
| 07:20.53 | Legorol | so if you want your tooltip to be moved by tooltip mods, i'd call that one |
| 07:21.14 | Legorol | you can find GameTooltip_SetDefaultAnchor in the Blizz UI code in GameTooltip.lua I think |
| 07:21.52 | Stylpe | ANCHOR:NONE made my tooltip blank =( |
| 07:22.02 | Legorol | ANCHOR_NONE |
| 07:22.04 | Legorol | not a colon |
| 07:22.11 | Stylpe | *ANCHOR_NONE =P |
| 07:22.14 | Stylpe | typo |
| 07:22.20 | Legorol | and make sure you did anchor it using SetPoint or Anchors in XML |
| 07:22.31 | Stylpe | eh? |
| 07:22.46 | Legorol | paste warning.. |
| 07:22.48 | Legorol | ===================== |
| 07:22.51 | Stylpe | I'm doing this in LuaSlinger and /script |
| 07:23.00 | Legorol | Anchor StringAppears atEquivalent point setting |
| 07:23.00 | Legorol | ----------------------------------------------------------------------------------------------------------------- |
| 07:23.00 | Legorol | ANCHOR_LEFTtopleftSetPoint("BOTTOMRIGHT","owner","TOPLEFT"); |
| 07:23.00 | Legorol | ANCHOR_RIGHTtoprightSetPoint("BOTTOMLEFT","owner","TOPRIGHT"); |
| 07:23.00 | Legorol | ANCHOR_TOPLEFTtop, left adjustedSetPoint("BOTTOMLEFT","owner","TOPLEFT"); |
| 07:23.02 | Legorol | ANCHOR_TOPRIGHTtop, right adjustedSetPoint("BOTTOMRIGHT","owner","TOPRIGHT"); |
| 07:23.04 | Legorol | ANCHOR_BOTTOMRIGHTbottomrightSetPoint("TOPLEFT","owner","BOTTOMRIGHT"); |
| 07:23.06 | Legorol | ANCHOR_BOTTOMLEFTbottomleftSetPoint("TOPRIGHT","owner","BOTTOMLEFT"); |
| 07:23.08 | Legorol | ANCHOR_NONEundefinedClearAllPoints(); |
| 07:23.10 | Legorol | Trying to call a SetInventoryItem or other contents modifying method on a tooltip that has had ClearAllPoints() (or "ANCHOR_NONE") automatically does a SetPoint("TOP",UIParent); |
| 07:23.13 | Legorol | bleh... |
| 07:23.15 | Legorol | that didn't come out right |
| 07:23.17 | Legorol | i will pastebin it |
| 07:23.39 | Legorol | http://wow.pastebin.com/441959 |
| 07:23.49 | Stylpe | What file are you reading? |
| 07:24.40 | Legorol | the stuff i pasted? |
| 07:24.51 | Legorol | it's some notes i made for myself wheni was playing around with this stuff |
| 07:25.02 | Legorol | i tend to forget stuff unless i write them down |
| 07:25.08 | Legorol | so when i research something i make little notes in notepad |
| 07:25.21 | Stylpe | The important question here is: Will it show my tooltip? =P |
| 07:25.28 | Legorol | that depends on what you do |
| 07:25.32 | Legorol | :-) |
| 07:25.43 | Legorol | the correct sequence should be, either: |
| 07:25.50 | Stylpe | I'm doing SetAction(somenumber) |
| 07:26.04 | Stylpe | but that apparently isn't enough |
| 07:26.14 | Legorol | 1) * call GameTooltip_SetDefaultAnchor(tooltip, owner) (order of arguments might be different) |
| 07:26.22 | Legorol | <PROTECTED> |
| 07:26.28 | Legorol | or alternatively: |
| 07:26.40 | Legorol | 2) * call tooltip:SetOwner(owner, "ANCHOR_NONE) |
| 07:26.45 | Legorol | <PROTECTED> |
| 07:26.55 | Legorol | <PROTECTED> |
| 07:27.01 | Legorol | * call tooltip:SetAction(number) |
| 07:27.35 | Legorol | oh uhm |
| 07:27.41 | Legorol | the clearallpoints there is probably superfluous |
| 07:28.06 | Stylpe | w00t, 1) worked! |
| 07:28.25 | Stylpe | Thankyouthankyouthankyou!!! |
| 07:28.35 | Legorol | yeah funnily enough you have to anchor first, then call SetAction |
| 07:28.40 | Legorol | whatever method you are using |
| 07:29.35 | Iriel | Ok.. i'm off to bed |
| 07:32.23 | Stylpe | Behold the fruits of my labor: https://opensvn.csie.org/traccgi/Ace/trac.cgi/wiki/VisorRecipes |
| 07:32.30 | Stylpe | (the PopBar part) |
| 07:33.02 | Stylpe | Now I gotta make some umm... breakfast?!? |
| 07:33.15 | Tem | Bye Iriel |
| 07:45.39 | Tem | Btw, everyone needs to log into the TestServer |
| 07:45.47 | Tem | so you can sign my guild charter |
| 07:46.15 | tekkub | remind me in.... 1:15 |
| 07:46.44 | Tem | I'm going to bed soon, so I'll catch you tommorow |
| 07:46.51 | tekkub | FINE! |
| 07:49.24 | futrtrubl | are there ocations when one table will mirror the changes of another table? I have 2 tables, one is a copy of the other. However, I change an element of the original table and I find the change in the copy, even though I didn't put it there |
| 07:51.11 | Tem | futrtrubl: unless you explicitly did a copy, tables are references |
| 07:51.18 | Tem | they always refer back |
| 07:51.23 | Tem | local t = {} |
| 07:51.27 | Tem | local b = t |
| 07:51.31 | Tem | b[1] = 2 |
| 07:51.39 | Tem | t[1] == 2 |
| 07:52.48 | futrtrubl | damn, didn't know they were just new links to the same table |
| 07:53.00 | futrtrubl | how about... |
| 07:53.10 | futrtrubl | local t = {} |
| 07:53.21 | futrtrubl | local b = {} |
| 07:53.28 | futrtrubl | b = t |
| 07:53.38 | futrtrubl | b[1] = 2 |
| 07:53.58 | futrtrubl | t[1] == ? (nil or 2?) |
| 07:54.37 | Stylpe | still 2 |
| 07:54.57 | *** join/#wowi-lounge MoonWolf (i=MoonWolf@ip51ccaa81.speed.planet.nl) |
| 07:54.58 | Stylpe | the table you create on line 2 is lost on line 3 |
| 07:55.27 | futrtrubl | ok... how would I copy t to b without them refrencing the same table? |
| 07:56.38 | Stylpe | I think the manual has something on that |
| 07:56.47 | Stylpe | but I have to go to bed =P |
| 07:56.53 | futrtrubl | ;'[ |
| 07:56.59 | Stylpe | I have an exam in 24 hours |
| 07:57.01 | futrtrubl | know which section? |
| 07:57.06 | Stylpe | tables |
| 07:57.17 | futrtrubl | will look there |
| 07:57.19 | Stylpe | I'll find it |
| 07:57.44 | Stylpe | hm, I was wrong |
| 07:59.10 | Tem | to copy you need to iterate |
| 07:59.25 | Tem | for k,v in a do b[k]=v end |
| 08:00.06 | futrtrubl | with checks for subtables.... |
| 08:00.18 | Stylpe | oh ok, I seemed to remember there was a builtin function for it |
| 08:00.27 | Stylpe | oh well, nn =P |
| 08:00.38 | Stylpe | (I'll be idling) |
| 08:01.24 | Tem | oh |
| 08:01.29 | Tem | sub tables.... |
| 08:01.42 | Tem | well that will get subtables, but they will be references =P |
| 08:02.00 | futrtrubl | yeah, those things, I think I will make a function, that calls itself for each subtable |
| 08:02.54 | Stylpe | Someone had a page with a function like that |
| 08:02.57 | Stylpe | Kergoth, I think |
| 08:03.08 | Stylpe | I'm really going to bed now =P |
| 08:03.17 | futrtrubl | g'night Stylpe |
| 08:03.17 | Tem | function deepcopy(a,b) for k,v in a do if type(v) == "table" then b[k] = {} deepcopy(v,b[k]) else b[k] = v end end end |
| 08:03.23 | Tem | bye Stylpe |
| 08:03.27 | Tem | I think that will work |
| 08:03.53 | Tem | or better: |
| 08:04.05 | futrtrubl | I'm suprised there's no table.copy() func or something |
| 08:04.50 | Tem | function deepcopy(a) local b={} for k,v in a do if type(v) == "table" then b[k] = deepcopy(v) else b[k]=v end end end |
| 08:04.54 | Tem | oops |
| 08:05.00 | Tem | function deepcopy(a) local b={} for k,v in a do if type(v) == "table" then b[k] = deepcopy(v) else b[k]=v end end return b end |
| 08:06.23 | futrtrubl | and since b is local the fact that the table you get will reference it doesn't matter... I like |
| 08:07.10 | Tem | wow that's the first time I've ever really tried to write a recursive function |
| 08:07.27 | Tem | In the past I've been like "Bah recursion hurts" |
| 08:07.32 | Tem | but that was pretty eays |
| 08:07.35 | Tem | easy* |
| 08:07.44 | futrtrubl | ;'] |
| 08:07.52 | futrtrubl | my stupidy helped someone |
| 08:08.17 | futrtrubl | <PROTECTED> |
| 08:09.39 | Tem | lol it took me a LONG time to see that typo |
| 08:10.25 | futrtrubl | I blame it on the time ;'] |
| 08:11.26 | Tem | holy crap |
| 08:11.30 | Tem | I think I've got it |
| 08:11.38 | Tem | an insert line method that doesn't suck |
| 08:11.49 | Tem | Legorol: check this out! |
| 08:12.41 | Tem | http://wow.pastebin.com/441990 |
| 08:14.17 | futrtrubl | any particular reason you use "return nil" instead of just "return"? |
| 08:14.38 | Tem | so that I can return an error |
| 08:14.54 | Tem | I needed to explicitly return nil so that nil is the first return |
| 08:14.55 | futrtrubl | ahh |
| 08:15.33 | Tem | so add a "return true" line to the end of the insert method |
| 08:16.00 | Tem | that will blow up with ui scaling |
| 08:16.18 | Tem | but as soon as GetEffectiveScale enters the test realm it will work with scaling |
| 08:16.47 | Mondinga | recursion is fun sometimes:) |
| 08:16.58 | Tem | yeah |
| 08:17.02 | Tem | but you have to be careful with it |
| 08:17.05 | Tem | esp in lua |
| 08:17.07 | Mondinga | my first table print function was so cool |
| 08:17.10 | Tem | you can blow the stack pretty easily |
| 08:17.12 | Mondinga | hehe for sure |
| 08:18.33 | Tem | gipsy? |
| 08:18.46 | tekkub | *snicker* |
| 08:18.49 | Mondinga | eh? |
| 08:18.56 | Mondinga | what about it? |
| 08:18.59 | Tem | I couldn't remember what your addon was |
| 08:19.05 | Mondinga | ah, yep |
| 08:19.09 | tekkub | shout "faster loading/zone times!" and the nebluts come like honey |
| 08:19.23 | tekkub | nublets even |
| 08:19.46 | Tem | Well I'm happy with my insert function for now... |
| 08:19.56 | Tem | I need to get it into IC to see how id does |
| 08:20.06 | Tem | s/id/it/ |
| 08:20.55 | Tem | hmm I bet if I stored those functions in the contructor it would be a little faster |
| 08:23.31 | Mondinga | actually wrote a function pretty close to that one to do safe saved variable table updating a bit ago |
| 08:23.55 | Mondinga | with a bit of version control, rather than having to just clear it anytime its changed |
| 08:24.43 | Tem | You know the more I think about it, I think a memoize style thing would be better, if it's a large table |
| 08:25.08 | Mondinga | whatcha mean? |
| 08:27.08 | Tem | a metatable setup to only copy the elements as they are needed |
| 08:27.22 | Mondinga | ahh |
| 08:27.44 | Tem | doesn't help for version control, but would certainly help with a really big table |
| 08:28.08 | futrtrubl | Tem, I just want to say that you are my god and that you rock my world. I have been frustrated by this table thing for the past day, and you solved it so quickly. Now I can finally release a new version of my mod. |
| 08:29.09 | Tem | it's np futrtrubl. If I can help people release stuff, it will make up for me never releasing anything |
| 08:29.17 | Mondinga | god |
| 08:29.20 | Mondinga | thats my problem |
| 08:29.29 | Tem | I /never/ finish stuff |
| 08:29.34 | Tem | http://wow.pastebin.com/441996 |
| 08:29.41 | Mondinga | been working on gypsymod 1.0 since wow was released |
| 08:29.54 | Tem | I think that might be faster than my previous incarnation |
| 08:30.01 | Mondinga | always reworking shit when i should be making things that are useful~ |
| 08:30.16 | Tem | hehe |
| 08:30.19 | Tem | I know that... |
| 08:30.34 | futrtrubl | I only have the one addon and no l33t code helping skills, so I manage to get releases out the door ;'] |
| 08:30.54 | Tem | I'm supposed to be working on a rewrite of a mod that broke with 1.7 and was still usable but was completely broken by 1.8 |
| 08:31.05 | Tem | but instead I'm chasing this faster insert method |
| 08:31.35 | futrtrubl | ADHD much? |
| 08:31.40 | Tem | lol |
| 08:31.45 | Tem | just ADD |
| 08:31.52 | Tem | and a little OCD I suppose |
| 08:31.53 | Mondinga | eh |
| 08:32.01 | Mondinga | when you start whipping stuff out without a care |
| 08:32.04 | Mondinga | it stops being a hobby |
| 08:32.19 | tekkub | oh that's a handy site... I like it |
| 08:32.33 | Tem | tekkub: the pastebin? |
| 08:34.56 | Tem | anyways, it's time for me to sleep |
| 08:35.15 | Tem | I just found my holy grail that I've been chasing since pre 1.7 |
| 08:35.24 | Tem | so... Today's work is done :) |
| 08:35.39 | Mondinga | heh cong |
| 08:35.55 | Tem | btw, if Legorol comes back, point him to that tooltip mess I just posted |
| 08:36.20 | Tem | later guys |
| 08:38.35 | tekkub | yea tem :P |
| 08:39.50 | futrtrubl | I'm out too, g'night guys |
| 08:45.26 | *** join/#wowi-lounge Industrial (n=tom@gateway.is.remotion.nl) |
| 09:17.40 | Anduin|Work | moo |
| 09:22.02 | *** join/#wowi-lounge Rowne (n=Wuff@81-178-121-210.dsl.pipex.com) |
| 10:32.20 | *** join/#wowi-lounge Kalroth (n=kalroth@195.215.170.222) |
| 10:33.14 | Cair | hey Kalroth :) |
| 10:33.39 | Kalroth | hi! |
| 10:35.58 | *** join/#wowi-lounge sarf|stuff (i=sarf@ce01949-p11-odals6.cenara.com) |
| 10:36.13 | sarf|stuff | There. :) |
| 10:36.40 | Cair | rarr. hey Sarf :) |
| 10:36.56 | Cair | Imma gettin' there, got just about everyone over here now :) |
| 10:37.08 | sarf|stuff | :) |
| 10:37.34 | Anduin|Work | Latest FriendsFacts is up: http://www.curse-gaming.com/mod.php?addid=480 |
| 10:38.19 | sarf|stuff | Neatness :) |
| 10:38.47 | sarf|stuff | Updated TOC to 10900 |
| 10:38.48 | sarf|stuff | ? |
| 10:39.01 | Anduin|Work | felt like jumping the gun |
| 10:39.15 | Anduin|Work | it's the test realm toc atm |
| 10:39.19 | sarf|stuff | Mind if I suggest a change? Turning around the history list so first entry = latest version |
| 10:39.21 | sarf|stuff | aha |
| 10:39.38 | Anduin|Work | ya, then i'd have to do that for all my addons |
| 10:39.43 | sarf|stuff | Yep! |
| 10:40.20 | Anduin|Work | that's like 25x avg 10 revisions = 250 copy/pastes.. |
| 10:40.36 | sarf|stuff | Right on, compadre! |
| 10:40.49 | Anduin|Work | I'll pass, thx |
| 10:41.19 | sarf|stuff | :) |
| 10:45.26 | sarf|stuff | Sleep well, Anduin :) |
| 10:46.23 | Cair | night Anduin :) |
| 10:47.47 | Cair | okay, time to go try again to get some sleep, only need to be up in 2 hrs .. |
| 10:55.44 | *** part/#wowi-lounge Rowne (n=Wuff@81-178-121-210.dsl.pipex.com) |
| 11:25.54 | tekkub | heh |
| 11:35.29 | Kalroth | drink more coffee and stay awake |
| 11:35.38 | Kalroth | do this for 2-3 days and you'll sleep like a baby! |
| 11:36.08 | Cair|sleep | heh |
| 11:36.20 | tekkub | you know what I do |
| 11:36.28 | tekkub | tha Amp crap from MtnDew |
| 11:36.36 | tekkub | puts me str8 to sleep |
| 11:36.45 | tekkub | and no, I'm not being a jerk I'm serious |
| 11:38.51 | Cair|sleep | to my knowledge, it isn't sold up here |
| 11:39.04 | tekkub | jolt then |
| 11:39.08 | tekkub | or Bawls |
| 11:39.09 | Cair|sleep | same |
| 11:39.11 | tekkub | I like Bawls |
| 11:39.13 | Cair|sleep | same |
| 11:39.40 | tekkub | go to the store and DEMAND Bawls |
| 11:39.48 | Cair|sleep | I'll just stick with my coca-cola |
| 11:39.49 | tekkub | it'll be fun times for all |
| 12:41.06 | *** join/#wowi-lounge Beladona (n=Beladona@josephpartners.com) |
| 12:41.07 | *** mode/#WoWI-lounge [+o Beladona] by ChanServ |
| 12:44.53 | Cair | morning Bela :) |
| 12:45.04 | Beladona | morning |
| 12:50.21 | Industrial | :) |
| 12:51.07 | Kalroth | top of the morning to ya'll! |
| 12:54.41 | Cair | much too energetic! |
| 12:55.31 | Kalroth | I can't help it, it's almost 2pm here, I get to go home soon! |
| 12:55.48 | Kalroth | Also I've had 8-10 cups of coffee to far! |
| 12:59.31 | Cair | lol |
| 12:59.52 | Cair | I'll be energetic somewhere around 3 this afternoon, I imagine |
| 13:00.22 | Cair | since I haven't been to sleep yet since yesterday and there's no point sleeping now when I have to go to an appointment in 1.5 hr |
| 13:00.26 | Beladona | I will be energetic just about in time to go to bed |
| 13:25.54 | *** join/#wowi-lounge Trilian (n=Miranda@dyndsl-085-016-011-003.ewe-ip-backbone.de) |
| 13:47.33 | *** join/#wowi-lounge brigade (n=brigade@kaam2.misawa.attmil.ne.jp) |
| 14:23.02 | Legorol | hulo |
| 14:23.11 | Legorol | glad to see Sarf made it here ;-) |
| 14:23.17 | Legorol | ~seen Tem |
| 14:23.24 | purl | tem <n=Matt@ip70-177-40-169.br.br.cox.net> was last seen on IRC in channel #wowi-lounge, 5h 47m 4s ago, saying: 'later guys'. |
| 14:23.40 | Legorol | Tem, I saw your tooltip code |
| 14:24.04 | Legorol | Apart from the fact that it uses these strange OO things that give me headache, the actual insertion is neat, that's the kind of thing I was thinking about |
| 14:24.24 | Legorol | I noticed however that you don't handle TextRightX elements, that will break some of the tooltips. |
| 14:25.01 | Legorol | On lines where you have both a TextLeft and TextRight, I beleive you roughly have tooltip.width = TextLeft.width + TextRight.width |
| 14:25.09 | Cair|afk | yeah, pulled Sarf and Kalroth over now too ... who else do I need to bug yet? |
| 14:25.22 | Legorol | Mugendai |
| 14:25.30 | Cair|afk | I never seem to catch him online |
| 14:25.48 | *** join/#wowi-lounge Ayune (n=Ayune@ipd50aa517.speed.planet.nl) |
| 14:26.16 | Kalroth | I'm noone though, I just lurk! |
| 14:27.20 | Cair|afk | and of the names on the Blizz US UI forum, only main coders that I can think of that are still missing are ... saien, telo, lozareth ... off the top of my head |
| 14:27.55 | Cair|afk | anyone else you guys can think of? |
| 14:28.41 | Kalroth | well thott of course, but he's never on either :p |
| 14:29.24 | Cair|afk | oh ... norganna! |
| 14:29.26 | Cair|afk | duh |
| 14:29.47 | Legorol | indeed |
| 14:29.50 | Cair|afk | anyway, really am out the door now, otherwise I'm gonna be late for my appointment |
| 14:29.57 | Cair|afk | ttyl :) |
| 14:29.58 | Beladona | laters |
| 14:30.11 | Legorol | i thought that ttys were numbered, not labelled by characters |
| 14:30.15 | Legorol | shouldn't that be tty1 :-) |
| 14:31.27 | Industrial | :-) |
| 14:32.15 | Kalroth | kill -9 (Legorols) tty0 |
| 14:32.16 | Kalroth | :p |
| 14:52.15 | Legorol | Ok, a user posts on my AddOn's comment page saying they are getting a bug. I am 110% positive they are running a version that was last compatible with patch 1.6 of WoW. |
| 14:52.29 | Legorol | Should I be nice to him and just tell him to dwonload latest version, or instead call him a n00b :D |
| 14:52.48 | tekkub | I had a similar happening |
| 14:53.07 | Kalroth | Legorol: Why not do both? :) |
| 14:53.11 | tekkub | he refused to make sure he was up to date, he KNEW he was |
| 14:53.21 | Legorol | he *knew* he wasn't uptodate? |
| 14:53.28 | Legorol | yet he reported a bug and expected support? |
| 14:53.30 | tekkub | so I told him a new version was up and he DL'ed ita nd it fixed it |
| 14:53.36 | Legorol | oh right |
| 14:53.37 | tekkub | I never did a ting |
| 14:53.39 | Legorol | not so bad then |
| 14:53.46 | Legorol | Kalroth: good idea |
| 14:54.42 | Legorol | i bet this user used WoWToc! |
| 14:55.00 | Legorol | i can't beleive it's still available for download and is popular |
| 14:55.47 | tekkub | it's cause the author can't admit it's not needed and is actually a BAD thing |
| 14:56.21 | tekkub | hell I think the first one of those proggies came out AFTER the whole addon panel change |
| 14:56.31 | Kalroth | never heard of it, but I'm guessing it's a good thing(tm) |
| 14:56.58 | tekkub | it "updates" all your mods for you |
| 14:57.11 | tekkub | by changing the version number in their TOC files |
| 14:57.13 | Kalroth | oh, "fixes" toc |
| 14:57.18 | Kalroth | what a horrible idea |
| 14:57.23 | tekkub | exactly |
| 14:57.41 | tekkub | before they made it so you could load outdated mods it made sense |
| 14:58.08 | tekkub | but I don't think any of the actual programs became redily available till AFTER the change |
| 14:58.18 | *** join/#wowi-lounge relikhunt (n=sk8nkid9@toronto-HSE-ppp4266054.sympatico.ca) |
| 14:59.27 | *** part/#wowi-lounge phil__ (n=phil@ppp233-95.lns2.adl4.internode.on.net) |
| 15:05.29 | Legorol | TOC changers were around for a little while before the "load out of date" thingy came out |
| 15:05.36 | Legorol | i think it was about one patch's worth of time period |
| 15:05.42 | Legorol | or maybe 2 |
| 15:08.54 | Beladona | it wasn't long. Before that people just did it manually, which was just as bad |
| 15:09.36 | Industrial | heh, trashed another soul with my view of religion |
| 15:09.40 | Industrial | over irc |
| 15:09.42 | Industrial | ke ke ke |
| 15:11.16 | Industrial | well.. he asked.. |
| 15:25.57 | Eraphine|Lab | Are .tga's and textures for things like Atlas loaded into the UI memory space shared by all other addons? |
| 15:26.36 | Legorol | yes and no |
| 15:27.06 | Legorol | The .tga's and textures don't consume the same memory space as Lua allocated data (e.g. tables) |
| 15:27.23 | Legorol | however, they do get loaded into memory and use up the rest of the memory available to WoW |
| 15:27.41 | Legorol | they are shared though ( or should be) in that if multiple UI elements use the same texture, it only gets loaded into memory once |
| 15:29.06 | Eraphine|Lab | So, textures don't contribute to the memory reported by gcinfo() |
| 15:31.09 | Eraphine|Lab | What kind of impact would you expect an addon like Atlas, which has several megs'worth of maps, to have on loading times? game performance? |
| 15:34.40 | Beladona | not much really. When you consider how many gigs of maps and texture files the game uses without Atlas |
| 15:35.28 | Beladona | would be itnresting to measure memory usage of wow with and without it installed |
| 15:35.40 | Beladona | but likely negligible |
| 15:36.52 | Legorol | loading (login) time increases slightly, game performance is effected very little |
| 15:37.19 | Legorol | the only time game perfromance would be affected is if you are loading so many textures that you are forcing WoW to use more memory than is physically available to it, forcing Windows to start swapping |
| 15:37.36 | Legorol | but that's fairly unlikely with AddOns, and happens anyway if you walk into IF no matter what :-) |
| 15:38.26 | Beladona | I would love to see actual benchmarking and hard numbers pulled with WOW before and after patch 1.9 |
| 15:38.42 | Beladona | memory usage and toad times, etc... |
| 15:38.54 | Legorol | from experience, 512 Mb of system RAM is just on the boundary of what WoW is happy with on "average" video settings |
| 15:39.12 | Beladona | yeah |
| 15:39.20 | Legorol | with 512 Mb you can run around without noticable disk activity in most places, and you get mad swapping once in IF |
| 15:39.33 | Legorol | too many textures on those epix |
| 15:39.55 | Beladona | I have 2gb of memory and it still swaps briefly in IF |
| 15:39.59 | Legorol | with 1024 Mb you get loading in IF too, but once it loaded all textures the disk quiets down |
| 15:40.02 | Industrial | is it legal to change game content? |
| 15:40.11 | Legorol | what type of content ;-) |
| 15:40.13 | Legorol | if it's UI code, then yes |
| 15:40.15 | Industrial | textures |
| 15:40.16 | Legorol | otherwise no |
| 15:40.20 | Industrial | models |
| 15:40.21 | Legorol | it's not legal, sadly :( |
| 15:40.27 | Legorol | in practice, noone cares |
| 15:40.33 | Industrial | there are cusotm pets on ui.worldofwar.net |
| 15:40.42 | Legorol | and Blizz has better things to do then try and chase down people who change models on their own PC affecting only themselves |
| 15:41.05 | Legorol | although as has been pointed out before in a thread, there are cases where it becomes an exploit |
| 15:41.07 | Industrial | i could og and change all textures to horde -> RED alliance -> BLUE |
| 15:41.10 | Industrial | but only the skin |
| 15:41.11 | Industrial | etc |
| 15:41.15 | Legorol | yep |
| 15:41.26 | Beladona | exactly |
| 15:41.27 | Legorol | which is why technically all model changing is against the ToU |
| 15:41.40 | Legorol | so that they don't need to evaluate each case individually |
| 15:42.06 | Legorol | actually, i beleive it's against the EULA and ToU, both |
| 15:42.40 | Beladona | doesn't it include developer created textures as well, although loosely? |
| 15:43.45 | Cair | there are warlock pet skins on WoWI as well, Industrial ... along with some other skins: http://www.wowinterface.com/downloads/index.php?cid=39&dp=0&sh=full&so=desc&sb=lastupdate |
| 15:44.02 | Industrial | Cair: thats what i meant |
| 15:44.43 | Industrial | i can see the half life lame ness coming back to wow |
| 15:44.44 | Industrial | on this one |
| 15:44.45 | Industrial | :| |
| 15:45.09 | Legorol | developer created textures for UI modding purposes is fine |
| 15:45.12 | Industrial | e.g. making models with spikes out of their chest that are very long so you can see where they are |
| 15:45.17 | Legorol | the *only* element of WoW you are allowed to change is the UI |
| 15:45.34 | Legorol | Industrial, that'd be against the EULA and ToU |
| 15:45.45 | Legorol | and Blizz does have an easy way to prevent that, if it ever starts becoming a problem |
| 15:45.51 | Industrial | yep |
| 15:46.11 | Industrial | Legorol: people are making hooks for the game already though |
| 15:46.20 | *** join/#wowi-lounge RasmusKL (i=RasmusKL@wnpgmb09dc1-74-168.dynamic.mts.net) |
| 15:47.02 | Legorol | when you say "hooks", you mean cheats? |
| 15:47.04 | Legorol | yes i am aware |
| 15:47.06 | Cair | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=270073&tmp=1#post270073 and http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=256357&tmp=1#post256357 |
| 15:47.40 | Cair | (sorry, had to find the links) |
| 15:47.44 | Industrial | Legorol: yeah |
| 15:48.14 | Cair | woot! 62 seconds to beat expert level of minesweeper! |
| 15:49.00 | Legorol | woot, i just killed a pala 1 level above me in PvP :-) |
| 15:49.01 | Legorol | so happy |
| 15:49.12 | Legorol | i don't normally play on PvP server, i thought i'd do badly.. |
| 15:49.35 | Industrial | hehe |
| 15:49.56 | Legorol | hmm minesweeper.. |
| 15:50.05 | Legorol | minsweeper > WoW or vice versa ;-) |
| 15:50.14 | Eraphine|Lab | paladins are always so surprised when they duel me |
| 15:50.30 | Cair | minesweeper = waste 5 minutes before passing out |
| 15:50.36 | Eraphine|Lab | I play a warrior - I turn it into an endurance fight for them |
| 15:54.06 | Beladona | I have beaten a few paladins in my day with my warrior |
| 15:54.20 | Legorol | well this pala had to use up bubble, lay on hands, and that one more thing they have that also makes them immune, can't remember name |
| 15:54.39 | Beladona | its about timing |
| 15:54.41 | Legorol | i never went below 50% health :-) |
| 15:54.47 | Beladona | and outlasting of course |
| 15:55.23 | Legorol | as a warrior, i'd imagine you have to First Aid when they heal? |
| 15:57.05 | futr-sleep | any German speakers here? |
| 15:58.57 | Cair | okay, time for me to go (try to) sleep (again) |
| 15:59.32 | Cair|sleep | back in a few hours |
| 16:00.14 | Tain | Good luck sleeping. |
| 16:06.48 | *** join/#wowi-lounge Gryphen (n=gryphon@63-228-96-74.tukw.qwest.net) |
| 16:22.11 | *** join/#wowi-lounge MoonWolf (i=MoonWolf@ip51ccaa81.speed.planet.nl) |
| 16:40.36 | *** join/#wowi-lounge StaZ (n=Seth04@modemcable009.186-131-66.mc.videotron.ca) |
| 16:41.19 | kremonte | lalalaaa |
| 16:41.26 | StaZ | Hello everyone, i was wondering if it was possible from a lua script inside wow to access a XML file on the web giving an URL |
| 16:41.33 | kremonte | nope |
| 16:41.57 | StaZ | sure sucks, thank you |
| 16:42.10 | kremonte | yeah, can't access any data from the interface outside of WoW |
| 16:42.53 | StaZ | is there any mod aldready existing that can compile DKPs ? |
| 16:43.55 | StaZ | that's what i thought would've been nice, a single XML file on our web site that any raid leader can access and compile DKP live inside WoW :-/ |
| 16:44.24 | kremonte | not sure. my guild does it manually |
| 16:44.32 | *** join/#wowi-lounge Esamynn (n=chatzill@d207-216-176-153.bchsia.telus.net) |
| 16:44.42 | StaZ | yeah us too but damn it takes forever each time we kill a boss |
| 16:44.51 | kremonte | lol, we do it per-run |
| 16:45.11 | StaZ | well you gotta deal on the spot with BoP stuff no? |
| 16:45.33 | kremonte | nah |
| 16:45.38 | kremonte | we just keep track :{P |
| 16:46.01 | StaZ | huh i don't get it... |
| 16:46.06 | kremonte | oh distributing |
| 16:46.10 | StaZ | yeah |
| 16:46.18 | kremonte | we just have someone check the site /shrug |
| 16:46.18 | StaZ | okay there was a missunderstanding here :P |
| 16:46.32 | StaZ | yeah us, that's what takes forever :-/ |
| 16:46.44 | kremonte | dont take too long for me =/ |
| 16:46.52 | kremonte | just check total dkp |
| 16:47.02 | kremonte | we add all the gained/used DKP at the end oft he raid |
| 16:47.22 | StaZ | yeah us too |
| 16:47.53 | sarf|stuff | Have someone use Windowed mode and alt-tab to the DKP thingy |
| 16:48.05 | kremonte | yeah, np |
| 16:48.05 | StaZ | i don't know why just checking who's U and how much poitns they got it takes long i'd love a way to like, ctrl_click names and u get an instant list |
| 16:48.17 | kremonte | well noones made a mod |
| 16:48.19 | sarf|stuff | you can make a page that generates a /script command with up-to-date data that is copy/pasted into that persons WoW |
| 16:48.22 | kremonte | we weren't talking about if it was feasibly :p |
| 16:49.01 | StaZ | well i may look into it then, i always wanted to make a mod :P |
| 16:49.29 | StaZ | thanks for all the data allz :) |
| 16:52.38 | *** part/#wowi-lounge Cair|sleep (n=Cairenn@CPE001217452e29-CM014500004571.cpe.net.cable.rogers.com) |
| 16:52.47 | *** join/#wowi-lounge Cair|sleep (n=Cairenn@CPE001217452e29-CM014500004571.cpe.net.cable.rogers.com) |
| 16:52.48 | *** mode/#WoWI-lounge [+o Cair|sleep] by ChanServ |
| 16:53.59 | *** join/#wowi-lounge Legorol|alt (i=legorol@cpc3-cmbg6-6-0-cust238.cmbg.cable.ntl.com) |
| 16:58.34 | kremonte | lalalaa |
| 17:00.13 | Cair | *nod* |
| 17:00.16 | Cair | very profound |
| 17:02.00 | kremonte | i want wow. >:( |
| 17:03.46 | Cair | *comfort* |
| 17:04.07 | kremonte | zomg futrtrubl's post on discord forums |
| 17:04.32 | Cair | ? |
| 17:05.02 | kremonte | http://www.discordmods.com/cgi-bin/showmessage.pl?forum=&sub=&msgnum=16314&page=1 |
| 17:11.44 | kremonte | hmm i still don't know if this is uploadable... Cair, you around? |
| 17:11.54 | Cair | yup, am here |
| 17:11.55 | Cair | what's up? |
| 17:12.13 | kremonte | you hear about my magical trevor mod? lol |
| 17:12.20 | Cair | yup |
| 17:12.25 | Cair | go ahead and post it |
| 17:12.30 | kremonte | kk lol |
| 17:12.41 | Cair | if you don't have a "screen shot", make up a generic filler image |
| 17:12.45 | Cair | since you'll need one |
| 17:12.55 | kremonte | damn wow >< |
| 17:13.36 | Stylpe | I wish I was famous |
| 17:13.47 | Stylpe | Cair, can you help me become famous? |
| 17:13.52 | kremonte | lol |
| 17:14.10 | Cair | not likely, since I'm not, so I'm no good as a "name" to drop :p |
| 17:14.49 | Stylpe | You're famous to most of the people here =) |
| 17:14.52 | Cair | I'd settle for a hug, personally =/ |
| 17:15.02 | Stylpe | I've tried that, and it didn't work |
| 17:15.10 | Cair | noooo, that's *infamous* |
| 17:15.26 | Cair | heh, thanks |
| 17:17.01 | Tem | rawr! |
| 17:17.07 | Cair | *purr* |
| 17:17.21 | Tem | like clockwork... |
| 17:17.38 | kremonte | isn't it "roar"? |
| 17:18.05 | Stylpe | no |
| 17:18.09 | Stylpe | stupid |
| 17:18.15 | Stylpe | :F |
| 17:19.46 | Cair | thanks MentalPower :) |
| 17:19.55 | MentalPower|PC | np |
| 17:20.37 | futrtrubl | later guys, off to class |
| 17:20.49 | Cair | later futrtrubl :) |
| 17:22.13 | Stylpe | Hmm, I think I just had an evil idea |
| 17:22.27 | Stylpe | on how to make a performance monitoring mod |
| 17:23.56 | Tem | what's that? |
| 17:24.33 | Eraphine|Lab | what are your paramters for performance? |
| 17:25.01 | kremonte | trevor submitted |
| 17:25.40 | Stylpe | What if I do something similar to what Warmup does now, but instead of just watching the memory level, I watch for changes in the global namespace, and hook every function I find, and the hooked functions would be like measure_mem timestamp call_old_func timestamp measure_mem log_elapsed_time_and_mem |
| 17:26.00 | Cair | approved |
| 17:26.12 | kremonte | yay |
| 17:26.19 | Stylpe | It would kill performance in general, but it would be hella accurate |
| 17:26.19 | Cair | http://www.wowinterface.com/downloads/fileinfo.php?id=4370 |
| 17:26.27 | Eraphine|Lab | Could use EventWatch |
| 17:26.38 | Eraphine|Lab | Doesn't that monitor the calls? |
| 17:27.09 | Eraphine|Lab | I mean traceevent |
| 17:27.18 | Eraphine|Lab | http://www.vulpes.com/TraceEvent/ |
| 17:29.24 | Stylpe | How cool, someone already did it :D |
| 17:33.26 | Cair | wow, funky ... it's 17C here today, that's a new record |
| 17:33.55 | Cair | that's about 62-63F |
| 17:38.07 | RasmusKL | -9C here |
| 17:38.16 | RasmusKL | was -21C last week |
| 17:38.36 | Cair | those are the temperatures we usually expect around here at this time of year |
| 17:38.45 | Cair | can't believe how warm it is so far this winter |
| 17:39.03 | RasmusKL | I think it's pretty cold here, compared to what I'm used to :-) |
| 17:39.19 | Cair | -21C is cold |
| 17:39.26 | Cair | if you've got wind, it's even colder |
| 17:39.38 | Tem | haha... |
| 17:39.43 | Tem | I'm wearing shorts |
| 17:39.45 | Cair | we've had a few days where it's been below 0, with windchills |
| 17:39.58 | Cair | but then it bounces right back up again |
| 17:40.03 | Cair | really really weird weather |
| 17:40.22 | Beladona | about that performance measuring mod. If you are tracking changes in the global namespace, and then hooking the functions, wouldn't your hooking trigger the change again, inevitably causing a constant loop? |
| 17:40.33 | Tem | Tip: when in a queue for a battle ground you don't need to wait by the battle ground to stay in the queue. |
| 17:41.29 | kremonte | lol |
| 17:42.01 | RasmusKL | Oh man Tem, you could've told me earlier, so many hours wasted. |
| 17:42.29 | Tem | lol |
| 17:42.51 | kremonte | servers are up early o_O |
| 17:43.01 | RasmusKL | atleast we migrated along with a alliance heavy server, so we have no BG queue except for WSG :-) |
| 17:43.12 | Tem | I didn't try the normal servers... Just the Test |
| 17:43.20 | kremonte | what server from>to RasmusKL? |
| 17:43.25 | kremonte | they are up, Tem |
| 17:43.55 | RasmusKL | kremonte: Neptulon EU :-) came from Warsong EU. |
| 17:44.51 | Stylpe | Holy cow! TraceEvent really likes to eat memory! |
| 17:44.54 | kremonte | warsong EU is overcongested too? :P |
| 17:44.56 | kremonte | <warsong US |
| 17:45.11 | Tem | Tip: A monster with a silver dragon around its portrait is a rare monster with better than average drops! |
| 17:45.16 | RasmusKL | Warsong EU is russian. |
| 17:45.41 | Stylpe | Tem: Or no drops at all! |
| 17:45.49 | Tem | oh god |
| 17:45.52 | Tem | kremonte: |
| 17:45.55 | Tem | oh |
| 17:45.56 | Tem | em |
| 17:45.57 | Tem | gee |
| 17:46.03 | kremonte | oh em gee? |
| 17:46.19 | Tem | sound it out |
| 17:46.22 | kremonte | i know |
| 17:46.25 | kremonte | but why teh omgness |
| 17:46.48 | Tem | trevor |
| 17:46.52 | kremonte | :D |
| 17:46.54 | Cair | heh |
| 17:47.06 | Tem | doe it look bad if you slow it down? |
| 17:47.11 | *** join/#wowi-lounge Ayune (n=Ayune@ipd50aa517.speed.planet.nl) |
| 17:47.13 | Tem | does* |
| 17:47.14 | kremonte | doesnt look too bad |
| 17:47.20 | Tem | like to sync it with the music |
| 17:47.30 | kremonte | oh, thatd be hard |
| 17:47.34 | kremonte | considering its per-frame |
| 17:47.41 | kremonte | unless you use time() hoohaa |
| 17:47.51 | Tem | so um... |
| 17:47.57 | Tem | how do I stop it? |
| 17:48.14 | Cair | ROFL |
| 17:48.23 | kremonte | do /trevor again |
| 17:48.36 | Tem | phew |
| 17:48.39 | kremonte | lol |
| 17:48.45 | kremonte | i should add that in my description |
| 17:48.51 | Tem | ok... now I need to make a few modifications... |
| 17:49.00 | kremonte | wot're ya gonna do? :( |
| 17:49.05 | Tem | I'm going to hide the whispers |
| 17:49.09 | kremonte | oh |
| 17:49.10 | Tem | and I'm going to try to sync it |
| 17:49.12 | kremonte | i wanted to do that |
| 17:49.15 | MentalPower|PC | how do you do bold in IRC? |
| 17:49.21 | kremonte | but i dont want you to not know if it doesnt go thru |
| 17:49.24 | Beladona | hmmm |
| 17:49.28 | kremonte | dfsfdsf |
| 17:49.30 | kremonte | ctrl b |
| 17:49.38 | kremonte | <PROTECTED> |
| 17:49.42 | MentalPower|PC | s |
| 17:49.47 | Tem | I'm a music person so the non sync-ness is bothering me |
| 17:49.51 | Stylpe | Except not all clients support it |
| 17:49.54 | Beladona | my client has it as formatting above the input field |
| 17:49.57 | Beladona | =P |
| 17:49.58 | kremonte | same,but i dont know how youd do it Tem / |
| 17:50.04 | kremonte | mirc ftw |
| 17:50.09 | Beladona | trillian here |
| 17:50.13 | Tem | gaim |
| 17:50.14 | kremonte | ew |
| 17:50.16 | Beladona | but now its stuck on bold, wtf |
| 17:50.19 | kremonte | i use gaim sometimes |
| 17:50.25 | kremonte | gaim > tril |
| 17:50.28 | Beladona | hmmm |
| 17:50.30 | Beladona | thats better |
| 17:50.34 | Tem | for the record, I'm not seeing any bold |
| 17:50.40 | Beladona | I prefer trillian |
| 17:50.54 | Beladona | but I have pro |
| 17:50.59 | Cair | okay gaim people, has anyone figured out how to set it to auto-join a channel? |
| 17:51.11 | Cair | I can auto-join the servers, but not the individual channels |
| 17:51.12 | Stylpe | yeah |
| 17:51.22 | Stylpe | Just add the channel as a 'buddy' |
| 17:51.27 | Cair | they are |
| 17:51.30 | Beladona | doesn't it have a box to input commands to execute after you connect? |
| 17:51.35 | Beladona | or that |
| 17:51.39 | Stylpe | Then right click it in the buddy list |
| 17:51.48 | Cair | duh |
| 17:51.50 | Cair | thanks |
| 17:51.53 | Tem | oh wow... it looks like you did it the hard way |
| 17:51.55 | Stylpe | My pleasure =) |
| 17:52.04 | kremonte | there's an easy way? lol |
| 17:52.11 | kremonte | i still don't really know lua :P |
| 17:52.42 | Tem | you did a bunch of if checks |
| 17:52.58 | Beladona | if then else then do it again yeah hi |
| 17:53.04 | Beladona | my god |
| 17:53.06 | kremonte | lol |
| 17:53.12 | kremonte | ^___^ |
| 17:53.21 | kremonte | fix it then, i'm stupid :P |
| 17:53.30 | Tem | I'm trying to think of the easiest way |
| 17:53.47 | *** join/#wowi-lounge Eraphine|Disco (n=Eraphine@brenna.human.cornell.edu) |
| 17:53.54 | kremonte | im too lazy to use functions |
| 17:54.04 | Beladona | its easier to think of the easiest way when doing it from scratch than it is to rewrite |
| 17:54.13 | kremonte | boo you suck |
| 17:54.31 | Tem | well basically my fist thought was a functable... |
| 17:54.37 | Tem | which would be pretty much a rewrite |
| 17:54.53 | Beladona | no worries kremonte, we all started with if checks |
| 17:55.37 | kremonte | i havent done anything code-wise in a long time. i used php for a few years, but that was more than a year ago |
| 17:55.49 | kremonte | i used to not suck /cry |
| 17:56.49 | Beladona | suck is relative |
| 17:57.02 | kremonte | i used to not be not good? |
| 17:57.08 | Beladona | haha |
| 17:57.15 | Beladona | a lot of people can't even write lua |
| 17:57.23 | Beladona | much less complete an addon |
| 17:57.58 | Beladona | Cair could learn lua, but that takes time. And from what I have seen, she has little of that |
| 17:58.02 | Tem | so I'm not sure I understand |
| 17:58.04 | Beladona | =P |
| 17:58.24 | Tem | bah, I have to go to class |
| 17:58.24 | Tem | I |
| 17:58.26 | kremonte | well i didn't really have to learn lua specifically, it's really close to what i do know (php) |
| 17:58.30 | Tem | 'll play with it when I get bakc |
| 17:58.34 | *** part/#wowi-lounge Tem (n=Matt@ip70-177-40-169.br.br.cox.net) |
| 17:58.40 | Beladona | yeah its similar |
| 17:59.03 | kremonte | only real difference is objects, tables, and the format of using "then" instead of { |
| 17:59.08 | kremonte | so yeah |
| 17:59.10 | kremonte | i do suck :(' |
| 17:59.15 | Beladona | vb, java, php, lua, all have their comon roots and code style |
| 17:59.26 | Cair | thanks for the vote of confidence Bela :) |
| 17:59.27 | Beladona | if you can program in one, you can usually pick up the others |
| 17:59.41 | kremonte | well, the whole BASIC syntax is like hoohaa to meh |
| 17:59.47 | Cair | kremonte: you know, sometimes sucking is a *good* thing ;) |
| 18:00.03 | kremonte | no it's not >< |
| 18:00.05 | kremonte | wait |
| 18:00.07 | kremonte | go away |
| 18:00.11 | Cair | ;) |
| 18:00.15 | MoonWolf | CTmod, anybody know how to move the bottombar ? |
| 18:00.17 | Beladona | depends if you have to pay for it or not |
| 18:00.20 | kremonte | lol |
| 18:00.22 | Beladona | oh hi |
| 18:00.40 | kremonte | i'm not really... relatively old, so yeah, ;) |
| 18:00.43 | Cair | MoonWolf: break it up? or just move it? or? |
| 18:00.58 | Tain | A friend of mine once said, "You're not paying for the sex, you're paying for her to leave afterwards." |
| 18:01.01 | MoonWolf | no idea, someone asked me but i have only used ctmod like in beta. |
| 18:01.04 | Cair | Tain! |
| 18:01.11 | Tain | I'm just saying. |
| 18:01.12 | Cair | right click on the CTMod icon |
| 18:01.15 | Beladona | can you even move the bottombar in CTmod? |
| 18:01.20 | Cair | ~whaleslap Tain |
| 18:01.21 | purl | I'll just grab a freakishly huge killer whale named Hugh and slap Tain over the head with it..... |
| 18:01.22 | Beladona | didn't think you could |
| 18:01.27 | MoonWolf | oh, he got it by himself now. |
| 18:01.28 | Cair | you can |
| 18:01.31 | Tain | Hugh don't like me. |
| 18:01.33 | Beladona | cool |
| 18:07.22 | kremonte | ~die |
| 18:07.24 | purl | ACTION takes two shots to the head and crumples to the ground, lifeless. |
| 18:07.39 | Cair | ! |
| 18:07.44 | Cair | ~trout kremonte |
| 18:07.45 | purl | ACTION slaps kremonte around a bit with a large trout! |
| 18:08.10 | kremonte | ~kill Cair |
| 18:08.12 | purl | ACTION shoots a neutron gun at Cair |
| 18:08.25 | Cair | >< |
| 18:08.33 | Cair | ~lart kremonte |
| 18:08.40 | kremonte | ~lart Cair |
| 18:13.13 | *** join/#wowi-lounge krka (i=krka@c80-216-103-22.cm-upc.chello.se) |
| 18:15.20 | *** part/#wowi-lounge relikhunt (n=sk8nkid9@toronto-HSE-ppp4266054.sympatico.ca) |
| 18:18.28 | Cair | asdfasdf |
| 18:21.01 | Cair | gah, sorry bout that folks |
| 18:26.36 | krka | np, I have seen less coherent people |
| 18:28.02 | *** join/#wowi-lounge shouryuu (n=nicolass@29.239.97-84.rev.gaoland.net) |
| 18:28.06 | shouryuu | rawr |
| 18:28.12 | Gryphen | ono i esceared of teh rawr! i need a huggle. |
| 18:28.14 | Cair | *purr* |
| 18:28.18 | shouryuu | :P |
| 18:28.44 | Cair | :) |
| 18:28.50 | shouryuu | a huggle? |
| 18:29.02 | Cair | cuddle/hug/snuggle |
| 18:29.16 | shouryuu | it's kinda like |
| 18:29.19 | shouryuu | Strunk! |
| 18:29.20 | shouryuu | rawr! |
| 18:29.29 | Cair | my guild back in EQ has smoogles, too |
| 18:29.32 | Beladona | in my effort to find an article that helps people understand what OOP is, I found an article that even the simplest coders should be able to grasp |
| 18:29.37 | Cair | s/has/had/ |
| 18:29.47 | Beladona | gonna post it in that thread on wowi |
| 18:29.49 | *** join/#wowi-lounge Osagasu (n=NOYB@rhhe10-109.2wcm.comporium.net) |
| 18:30.19 | shouryuu | wow I migh finally understadn what OOP is |
| 18:30.23 | Osagasu | I hate you Kremonte. |
| 18:30.28 | shouryuu | everyone talks about it and I'm just |
| 18:30.29 | Cair | cool, thanks Bela :) |
| 18:30.35 | shouryuu | *nod*nod* |
| 18:30.38 | Cair | except, well, we're down atm :p |
| 18:30.54 | shouryuu | we love you too Osa |
| 18:30.57 | Beladona | OMG |
| 18:31.01 | Beladona | fix it! |
| 18:31.03 | shouryuu | lol |
| 18:31.07 | Beladona | grrrr |
| 18:31.07 | Cair | we've had more downtime in the last 24 hrs than we've had in like forever |
| 18:31.17 | Cair | ever since the data center "fixed" things |
| 18:31.23 | Beladona | I had this thing all typed out, hit submit, and kaboom |
| 18:31.36 | Cair | should be able to page back :p |
| 18:31.39 | Beladona | oh well, here ya go if anyone is interested |
| 18:31.42 | Beladona | http://www.debreuil.com/docs/ch01_Intro.htm |
| 18:31.47 | shouryuu | there's a rumour going around that I only post on WoWI now... Maybe too many people are coming to see me? |
| 18:31.58 | Osagasu | </# |
| 18:32.00 | Osagasu | err |
| 18:32.02 | Osagasu | </3\ |
| 18:32.04 | Osagasu | gah |
| 18:32.06 | Osagasu | </3 |
| 18:32.11 | Beladona | what the |
| 18:32.18 | Cair | ~laugh Osagasu |
| 18:32.20 | purl | ibot laughs hysterically at Osagasu...ow! laughing so hard, it can't breathe... gasp...gasp...gasp.... ..... ... |
| 18:32.35 | Osagasu | haha, noob. |
| 18:32.44 | Osagasu | ~literal CMD laugh |
| 18:32.45 | shouryuu | hey, don't pick on him! |
| 18:32.54 | Osagasu | I'm a noob too |
| 18:32.57 | shouryuu | lol |
| 18:33.00 | Osagasu | ~literal laugh CMD |
| 18:33.01 | purl | ibot laughs hysterically at CMD...ow! laughing so hard, it can't breathe... gasp...gasp...gasp.... ..... ... |
| 18:33.37 | Osagasu | ~literal laugh |
| 18:33.38 | purl | "laugh" is "<action> rolls around on the floor laughing" |
| 18:33.46 | Osagasu | o.O |
| 18:34.00 | Osagasu | ooohkaaay |
| 18:34.53 | Cair | we're back up again |
| 18:36.09 | Beladona | yay, posted |
| 18:36.11 | Osagasu | I guess its better than Frank the Fairy |
| 18:36.28 | Beladona | lol |
| 18:36.38 | Beladona | read the article, and you will see why the picture |
| 18:36.47 | Beladona | but I agree it kind of throws ya off at first glance |
| 18:39.08 | Osagasu | There's this one guy on one of my IRC channels that goes by Katebush. New players think he's a girl, so funny. |
| 18:42.51 | shouryuu | I r tired |
| 18:43.01 | kremonte | pk?!?!?!?! |
| 18:43.21 | shouryuu | meanie! |
| 18:43.34 | kremonte | pk est tu fatigue? |
| 18:43.37 | shouryuu | rawr |
| 18:43.39 | shouryuu | it's pqwa |
| 18:43.42 | Gryphen | ono i esceared of teh rawr! i need a huggle. |
| 18:43.49 | kremonte | ive seen people do pk =/ |
| 18:43.54 | shouryuu | hehe |
| 18:43.55 | kremonte | as in pour koi |
| 18:44.03 | kremonte | cause only nubs do qu |
| 18:44.07 | shouryuu | all the cool kids do pqwa |
| 18:44.11 | *** join/#wowi-lounge Esamynn (n=chatzill@d207-216-176-153.bchsia.telus.net) |
| 18:44.15 | kremonte | lies |
| 18:44.20 | shouryuu | truez |
| 18:44.45 | shouryuu | but you're right |
| 18:44.52 | shouryuu | I think i'm the only guy to say pqwa |
| 18:44.56 | shouryuu | most people say pk |
| 18:45.05 | Osagasu | Everybody loves magical Trevor |
| 18:45.14 | Osagasu | The tricks that he does are ever so clever |
| 18:45.15 | Osagasu | GAAAAH |
| 18:45.20 | shouryuu | look at him now |
| 18:45.27 | shouryuu | disaperin' the cow |
| 18:45.31 | kremonte | w00t |
| 18:45.36 | Esamynn | haha |
| 18:45.36 | Cair | lol |
| 18:45.45 | kremonte | love you too Osagasu <3 |
| 18:45.48 | shouryuu | lol |
| 18:45.56 | Osagasu | </3 |
| 18:46.51 | kremonte | why </3 |
| 18:46.58 | kremonte | youre the one with the <3 for my sucky mod |
| 18:46.58 | Esamynn | hehe, nice, servers are back up early today ;) |
| 18:47.12 | kremonte | they been up for an hour :p |
| 18:48.11 | Osagasu | any patches? ^^ |
| 18:48.15 | kremonte | nope |
| 18:48.21 | kremonte | i hope 1.9 never comes |
| 18:48.22 | kremonte | -_- |
| 18:48.24 | shouryuu | lol |
| 18:48.31 | kremonte | huge DPS nerf |
| 18:48.32 | *** join/#wowi-lounge cosmo__ (n=cosmo@dhcp-230.union.arizona.edu) |
| 18:49.11 | Osagasu | fow who? |
| 18:49.15 | kremonte | <warlock |
| 18:49.20 | Esamynn | was just going to ask that |
| 18:49.24 | *** part/#wowi-lounge cosmo__ (n=cosmo@dhcp-230.union.arizona.edu) |
| 18:49.28 | Esamynn | hehehe, poor kremonte |
| 18:49.29 | Osagasu | <3 1.9 |
| 18:49.31 | Cair | hi, bye |
| 18:49.35 | shouryuu | lol |
| 18:49.38 | Esamynn | heh |
| 18:49.41 | shouryuu | rawr rawr? |
| 18:49.47 | Cair | *purr* |
| 18:49.57 | Osagasu | Orcs get a non-crippling debuff for their racial |
| 18:50.10 | shouryuu | is that automated? |
| 18:50.14 | kremonte | they get another racial? |
| 18:51.25 | kremonte | ugh |
| 18:51.29 | kremonte | stay at 1.8 please |
| 18:51.41 | kremonte | shammies get a buff, how different =/ |
| 18:51.53 | shouryuu | how would I get the total number of calues in a table? |
| 18:52.00 | shouryuu | nerf shammies! |
| 18:52.04 | kremonte | table.getn? /shrug |
| 18:52.10 | kremonte | if the keys are all numeric, or something |
| 18:52.12 | shouryuu | that's the keys no? |
| 18:52.19 | kremonte | values~= keys? |
| 18:52.22 | kremonte | ohh |
| 18:53.00 | shouryuu | I have a loop that does it but somehow it keeps telling me one of my values is nil while they aren't... :( |
| 18:53.03 | shouryuu | So I |
| 18:53.04 | Osagasu | no |
| 18:53.13 | shouryuu | m looking for some "regular" function |
| 18:53.14 | Cair | Bela? |
| 18:53.24 | Beladona | huh? |
| 18:53.44 | Osagasu | their current racial goes from debuffing Attack Power to debuffing healing done to them |
| 18:54.03 | kremonte | oh, the debuff on them after the effect? |
| 18:54.17 | Cair | Can you swing by the site a couple times through the afternoon *IF* you have time, please? make sure there are no mods sitting in the approval queue? This sleeping pill is starting to kick in (I hope), gonna go see if I can actually get some sleep |
| 18:54.18 | Osagasu | the debuff is placed when they start the effect now, yes |
| 18:54.34 | kremonte | o_o |
| 18:54.36 | shouryuu | you shouldn't take sleeping pills |
| 18:54.42 | Cair | ... |
| 18:54.42 | kremonte | sleeping pills ftw |
| 18:54.44 | Beladona | sure thing |
| 18:54.44 | Osagasu | unless its Ambien |
| 18:54.47 | Osagasu | <3 Ambien |
| 18:54.48 | shouryuu | ftl |
| 18:54.51 | Cair | thanks Beladona :) |
| 18:55.03 | shouryuu | you can't sleep without them after :( |
| 18:55.05 | shouryuu | the suxxorz |
| 18:55.09 | Cair | shouryuu: yes you can |
| 18:55.28 | Osagasu | they help you get back to a normal sleep time |
| 18:55.29 | Cair | anyway, not gonna debate it, just gonna go try to sleep |
| 18:55.34 | Osagasu | you shoulda taken it tonight |
| 18:55.38 | shouryuu | well I'm just one of those old grannies sceptic of modern technology :P |
| 18:55.39 | *** join/#wowi-lounge Nat|AFK (n=Natasem@h-64-105-32-25.snvacaid.covad.net) |
| 18:56.04 | kremonte | well, night night... or afternoon, Cair :P |
| 18:56.10 | shouryuu | night cair :P |
| 18:57.12 | Osagasu | still no Pally talent preview... |
| 18:57.18 | shouryuu | local SumOfTable = 0; for k,v in Table do SumOfTalbe = SumOfTable + 1 end Would that work? |
| 18:58.27 | krka | yes |
| 18:58.27 | Tain | Probably, but what are you trying to do exactly? |
| 18:58.38 | shouryuu | sum up the values of Table |
| 18:58.46 | krka | (count the number of elements) |
| 18:58.50 | shouryuu | yeah |
| 18:59.04 | Anduin|Sleep | u still haven't slept cair? |
| 18:59.07 | shouryuu | I'm doing a lottery and I need to know how many tickets have been bought |
| 18:59.27 | Cair | Anduin|Sleep: nope, not yet ... *props lids open with toothpicks* |
| 19:00.10 | Anduin|Sleep | <PROTECTED> |
| 19:00.12 | Beladona | can't you justdo table.getn? |
| 19:00.22 | Tain | Yes |
| 19:00.25 | Beladona | sorry if I am late in the convo |
| 19:00.26 | Tain | I was just typing that. :) |
| 19:00.27 | kremonte | no |
| 19:00.35 | kremonte | he wants to count the values, not the keys |
| 19:00.46 | Beladona | only values that are not nil? |
| 19:00.55 | Tain | But that example is counting the keys. |
| 19:01.01 | kremonte | [ 01:52 ] [shouryuu] I have a loop that does it but somehow it keeps telling me one of my values is nil while they aren't... :( |
| 19:01.04 | Tain | Basically. |
| 19:01.04 | Eraphine|Lab | is it a bad thing to create tables for color, item, and name for every single link you come across in chat? |
| 19:01.13 | krka | getn is pretty bad |
| 19:01.18 | kremonte | yeah Eraphine|Lab. sounds bad. lol |
| 19:01.18 | krka | it doesn't do what you think it does |
| 19:01.31 | Eraphine|Lab | that's how the original item relinker did. |
| 19:01.34 | Eraphine|Lab | err did it. |
| 19:01.34 | Tain | getn works fine if it's a flat table, not nested. |
| 19:01.40 | kremonte | item relinker? |
| 19:01.41 | Cair|sleep | You keep using that word. I don't think it means what you think it means. |
| 19:01.44 | kremonte | getlink ftw ^____^ |
| 19:01.44 | krka | getn only works if you use insert / remove |
| 19:01.51 | krka | not if you set things manually |
| 19:02.35 | Beladona | that makes it pretty limites |
| 19:02.38 | Beladona | lilmited |
| 19:02.42 | Beladona | god I can't type |
| 19:02.49 | kremonte | that's bad. =o |
| 19:03.19 | krka | yes, I never use getn |
| 19:03.37 | krka | since it's very rare that i have tables with keys as simple numbers |
| 19:04.39 | Tain | Actually getn works fine as long as you have a numerical index. It's when you don't that it doesn't work. |
| 19:04.51 | krka | i disagree |
| 19:05.07 | Beladona | that would beg the argument of creating a global function library that includes the for k, v statement to get what you need |
| 19:05.18 | Eraphine|Lab | krka are you including the size of nested tables as part as the size of the parent table? |
| 19:05.23 | Tain | for any specific example, krka? |
| 19:05.27 | Eraphine|Lab | otherwise I don't see how getn wouldn't work. |
| 19:06.06 | krka | let me come up with an example |
| 19:06.20 | Eraphine|Lab | getn returns the size of the largest numerical index with a non-nil value in the table. |
| 19:06.23 | kremonte | myTable = {["1"] = "cat", ["2"] = "dog", ["3"] = "chicken"} getn = table.getn(myTable) |
| 19:06.27 | kremonte | would getn be 3? |
| 19:06.34 | Eraphine|Lab | yes |
| 19:06.41 | kremonte | thats not table.insert o_O |
| 19:06.43 | shouryuu | well don't you need to use table.insert |
| 19:07.22 | Eraphine|Lab | myTable = {"cat", "dog", "chicken"} getn = table.getn(myTable) would return the same thing. |
| 19:07.35 | krka | a = {} a[1] = 1 a[3] = 1 print(table.getn(a)) |
| 19:07.37 | krka | try that code |
| 19:07.40 | krka | it will print 1 |
| 19:07.47 | RasmusKL | Btw, you guys talking about Magical Trevor, have you seen Salad Fingers? |
| 19:07.56 | shouryuu | i thought you needed to use table.insert |
| 19:07.58 | Eraphine|Lab | what is magical trveor? |
| 19:08.19 | Tain | Actually kremont's example will print 0 |
| 19:08.22 | krka | so, getn requires that you operate "nicely" on the table, with insert / delete |
| 19:08.31 | Tain | It's using strings as keys, not numbers. |
| 19:08.37 | RasmusKL | magical trevor is a flash movie :-) |
| 19:08.38 | kremonte | exactly |
| 19:08.39 | kremonte | thats bad |
| 19:08.44 | Eraphine|Lab | krka, http://lua-users.org/wiki/LuaTableSize |
| 19:08.55 | kremonte | http://www.wowinterface.com/downloads/fileinfo.php?id=4370 |
| 19:09.04 | Tain | It's not bad, it's just a matter of knowing when getn works. |
| 19:09.14 | kremonte | answer = rarely =/ |
| 19:09.20 | shouryuu | lol |
| 19:09.21 | Beladona | krka is correct |
| 19:09.32 | Beladona | according to the official lua docs |
| 19:09.47 | krka | i suppose so |
| 19:09.48 | Eraphine|Lab | shouldn't it return 3? |
| 19:09.59 | krka | i suppose it works, if you know what it does |
| 19:10.09 | krka | I think it's very easy to misunderstand it though |
| 19:10.18 | krka | I prefer to do my table size counting manually |
| 19:10.28 | Beladona | unless the size is specifically set, it will always return one less than the first integer index with a nill value |
| 19:10.33 | Eraphine|Lab | you have a counter for every time you insert an element into the table? |
| 19:10.37 | Tain | It's just for specific cases. |
| 19:10.41 | Beladona | hence 2 = nil, and 2 - 1 = 1 |
| 19:11.02 | krka | Eraphine|Lab: mostly I don't need to know the length of the table |
| 19:11.09 | krka | but when I do, yes, I maintain a counter |
| 19:11.22 | krka | or iterate to figure it out |
| 19:11.39 | Tain | If you create your own table like tbl = {"a", "b", "c"} getn will also work. |
| 19:11.54 | Anduin|Sleep | i don't usually need to know what size my no numerical tables are, but if i do i use table.setn(meh,table.getn(meh)+1) whenever I insert an object |
| 19:12.04 | krka | actually, I do use getn in my code |
| 19:12.11 | Tain | Why is that, Anduin? |
| 19:12.15 | krka | but only where I only use insert/remove |
| 19:12.19 | Eraphine|Lab | It should probably be noted that the problem has been fixed. In Lua5 table.getn has been modified to reference a weak keyed table, storing table sizes. The value n is no longer stored in individual tables. --NDT |
| 19:12.36 | Anduin|Sleep | then i can jsut use getn when i want the size |
| 19:12.58 | krka | yeah well, that doesn't help for wow addons Eraphine|Lab |
| 19:13.04 | Eraphine|Lab | ah |
| 19:13.10 | krka | i don't expect blizzard will throw out the old engine and put in the new |
| 19:13.19 | krka | "if it aint broke, why fix it?" |
| 19:13.25 | krka | then again, they might want the new GC |
| 19:13.30 | Beladona | Tain, that example works because you are only defining values and the keys are automatically set as 1,2, and 3. Hence table.getn would return 3 (since 4 is the first nil key) |
| 19:13.47 | Eraphine|Lab | ah bela I get it now |
| 19:13.54 | Eraphine|Lab | since 2 is a nil key in krka's example, it returns 1 |
| 19:13.56 | Tain | They haven't ruled out Lua 5.1 publically, but Slouken did say it would only be if there were a good need for it. |
| 19:14.08 | Anduin|Sleep | ya, I have a function that i made to count numeric tables with nils too |
| 19:14.21 | Eraphine|Lab | do people use nils as placeholders in tables? |
| 19:14.45 | shouryuu | could someone help me with this? This code says that LotoTalbe is nil on the second loop, it gives no errors on the first one... Why? http://pastebin.com/442538 |
| 19:14.51 | Tain | Yes Beladona I know, my only point was getn works with any table with sequential keys like that. Not just when they're tinerserted |
| 19:16.19 | krka | my mistake then, i suppose I just guessed that was it |
| 19:16.26 | Beladona | you have a grammatic mistake |
| 19:16.34 | Beladona | in taht code |
| 19:17.00 | Beladona | DEFAULT_CHAT_FRAME:AddMessage(LotoTalbe[i]); should be DEFAULT_CHAT_FRAME:AddMessage(LotoTable[i]); |
| 19:17.10 | *** join/#wowi-lounge LedMirage (n=LedMirag@cpe-65-189-243-48.woh.res.rr.com) |
| 19:17.38 | LedMirage | Hey everyone |
| 19:18.21 | Tain | Allo LedMirage |
| 19:18.27 | LedMirage | hola :-) |
| 19:18.44 | LedMirage | wow this feels... retro... been a couple of years since i used IRC :O |
| 19:18.55 | Beladona | shouryuu: http://pastebin.com/442543 |
| 19:21.44 | Tain | Is there a way to make a frame allow mouse clicks through it to a frame behind? |
| 19:22.59 | Eraphine|Lab | turn it off from registering mouseclicks |
| 19:23.17 | Kolth | Eraph, can I have your WatchDog conig? |
| 19:23.19 | Kolth | config* |
| 19:23.23 | Eraphine|Lab | You may NOT |
| 19:23.30 | Eraphine|Lab | Sorry it's very hack. |
| 19:23.34 | Kolth | haha |
| 19:23.36 | Eraphine|Lab | As in.. it wouldn't work for you. |
| 19:23.39 | Kolth | That response shocked me :) |
| 19:23.39 | Eraphine|Lab | I use visor to move all the buffs. |
| 19:23.48 | Kolth | ahh |
| 19:23.50 | Eraphine|Lab | :( |
| 19:24.09 | Osagasu | http://wow.pastebin.com/ |
| 19:24.12 | Eraphine|Lab | and then I had to change the watchdog code to not reupdate the frames :( |
| 19:24.12 | Osagasu | ;_; |
| 19:24.52 | Eraphine|Lab | I think someone is writing the same frame-look for AceUnitBars though Kolth |
| 19:24.58 | Eraphine|Lab | Err AUF. |
| 19:25.05 | Kolth | good deal |
| 19:25.52 | Eraphine|Lab | Tain, Frame:EnableMouse(enableFlag) |
| 19:26.38 | Eraphine|Lab | Although I seem to recall that the boolean of the enable flag is counter-intuitive. |
| 19:26.55 | Tain | I have not been able to get that working yet. But I keep trying! |
| 19:27.47 | Eraphine|Lab | try setting it to (TRUE) when you want it to be false. |
| 19:28.24 | Eraphine|Lab | If you want to click through it, set the Frame:EnableMouse(TRUE); |
| 19:28.27 | Eraphine|Lab | worth a shot |
| 19:29.27 | Tain | Yeah that works. That's... wrong. |
| 19:29.37 | Eraphine|Lab | Yeah I remember reading about that. |
| 19:29.50 | AnduinLothar | mm no |
| 19:30.08 | AnduinLothar | <PROTECTED> |
| 19:30.26 | Eraphine|Lab | Yeah but in practice that's not how it works. |
| 19:30.38 | AnduinLothar | i use it every day with mobileframes |
| 19:30.41 | *** join/#wowi-lounge Ghent_ (i=ghent@fangorn.starshadow.com) |
| 19:31.03 | Eraphine|Lab | Ah well, if it works Tain, it works. |
| 19:33.13 | Eraphine|Lab | is there an unregisterforclick function? |
| 19:34.05 | *** join/#wowi-lounge cilo (i=cilo@c-24-127-49-92.hsd1.ca.comcast.net) |
| 19:34.56 | AnduinLothar | don't think so. why would u need one? |
| 19:35.15 | Eraphine|Lab | I don't think you do. |
| 19:35.26 | Eraphine|Lab | I just seem to recall there being a RegisterForClick() function |
| 19:35.28 | Tain | Actually it doesn't work, I was mistaken. |
| 19:35.38 | AnduinLothar | http://www.wowwiki.com/API_Button_RegisterForClicks |
| 19:37.29 | Tain | Yeah, that's just for buttons. |
| 19:37.49 | AnduinLothar | mmm no |
| 19:38.00 | AnduinLothar | mmm maybe |
| 19:38.01 | Eraphine|Lab | I think it registers a frame to detect mouse buttons |
| 19:38.08 | AnduinLothar | does |
| 19:38.52 | *** join/#wowi-lounge ToastTheif (i=ToastThe@24-177-157-200.dhcp.mrqt.mi.charter.com) |
| 19:39.17 | ToastTheif | Hey does anyone know where the links to AceGUI and AceCommander are? |
| 19:39.25 | Eraphine|Lab | dev? |
| 19:39.45 | ToastTheif | I can't find em |
| 19:39.49 | ToastTheif | I went to the dl page |
| 19:39.55 | ToastTheif | and it said they were taken down |
| 19:39.57 | Eraphine|Lab | http://www.wowace.com/forums/viewtopic.php?t=429 |
| 19:40.14 | Eraphine|Lab | links still work for me. |
| 19:40.31 | AnduinLothar | oo, they updated the site look, i like it |
| 19:40.58 | Eraphine|Lab | looks the same to me |
| 19:41.00 | Eraphine|Lab | the wow site? |
| 19:41.05 | ToastTheif | http://wowinterface.com/downloads/fileinfo.php?s=fc5231029f2442300de8df3bc0303351&id=4370 |
| 19:41.05 | AnduinLothar | ace site |
| 19:41.20 | AnduinLothar | jk |
| 19:41.24 | AnduinLothar | wrong ace site |
| 19:41.26 | AnduinLothar | ;) |
| 19:42.12 | Eraphine|Lab | meanie |
| 19:46.52 | Osagasu | Hey, check this out: http://www.pandora.com/ |
| 19:47.02 | Osagasu | ;) |
| 19:47.24 | AnduinLothar | ya, it's pretty cool |
| 19:47.36 | AnduinLothar | when i get sick of my 10k songs i head over there |
| 19:49.04 | shouryuu | lol thanks beladona |
| 19:49.40 | Osagasu | now all they need to do is make a winamp compatible version. >.> |
| 19:50.07 | ToastTheif | well |
| 19:50.16 | ToastTheif | Im about to login to WoW |
| 19:50.26 | ToastTheif | for the first time in like 3 months |
| 19:50.47 | Osagasu | what server? ^^ |
| 19:51.01 | shouryuu | lol |
| 19:51.05 | shouryuu | Toast <3 |
| 19:51.34 | ToastTheif | Skullcrusher |
| 19:51.41 | ToastTheif | is my original server anyway |
| 19:51.41 | Osagasu | and character name? |
| 19:51.44 | Osagasu | <3 spam |
| 19:52.45 | Osagasu | I can help you find a new server |
| 19:53.00 | Osagasu | god knows I have a character on all of them |
| 19:55.00 | ToastTheif | er |
| 19:55.06 | ToastTheif | what is the 1.8 toc #? |
| 19:55.19 | shouryuu | 1800 |
| 19:55.21 | shouryuu | i guess |
| 19:55.23 | MentalPower|PC | 1800 |
| 19:55.28 | ToastTheif | k |
| 19:55.30 | MentalPower|PC | 1.90is 10900 |
| 19:55.36 | shouryuu | and don't let cair see you change those TOC's manualy! |
| 19:55.56 | Osagasu | heh |
| 19:56.44 | Beladona | why the hell are they changing the toc number format again? |
| 19:57.04 | Osagasu | for 1.10 and beyond |
| 19:57.40 | Beladona | I imagined it going from 1900 to 11000 |
| 19:57.57 | Beladona | guess I am just wierd |
| 19:58.09 | shouryuu | agreed |
| 19:58.39 | Osagasu | but them people would be hopelessly confused. now they're just confused |
| 19:58.44 | Osagasu | *then |
| 19:59.09 | shouryuu | lol |
| 19:59.10 | shouryuu | w00t |
| 19:59.14 | shouryuu | for the thrid time now |
| 19:59.21 | shouryuu | My add-on is complete and bug free |
| 19:59.22 | shouryuu | lol |
| 19:59.32 | Osagasu | "Why did we go back to 1.1?" "LAWL! 11 moth patch rollback! XDXDXD" |
| 19:59.49 | shouryuu | rawrzorz |
| 20:00.23 | Beladona | they could have just synched major version with tox |
| 20:00.40 | Beladona | toc* |
| 20:00.52 | Beladona | remember when their toc numbers were obscure? |
| 20:01.02 | Beladona | like 4265 or something for version 1.2 |
| 20:01.50 | shouryuu | lol kremonte http://www.wowinterface.com/downloads/fileinfo.php?id=4370 |
| 20:02.19 | AnduinLothar | looked like cosmos svn revision numbers |
| 20:02.33 | shouryuu | haha |
| 20:03.33 | shouryuu | Ok I feel awfuly stupid but is there a submit mod button at WoWI or am I just plai stupid? |
| 20:05.40 | shouryuu | maybe i need to log in |
| 20:05.41 | shouryuu | hummm |
| 20:06.41 | Tain | You do need to be logged in. Go into the Downloads area, then into a specific catagory you want to upload to |
| 20:06.50 | Tain | There is an Upload Interface button. |
| 20:07.21 | shouryuu | rawr |
| 20:07.22 | shouryuu | thanks |
| 20:07.26 | Gryphen | ono i esceared of teh rawr! i need a huggle. |
| 20:08.52 | *** join/#wowi-lounge Cide (i=Cide@81-226-233-223-no60.tbcn.telia.com) |
| 20:15.22 | kremonte | yhelocide |
| 20:15.32 | kremonte | have you seen my mod? ^_____^ |
| 20:23.06 | Cide | which one? |
| 20:24.11 | ToastTheif | ok |
| 20:24.15 | ToastTheif | major prob with WoW |
| 20:24.20 | ToastTheif | I can't see my model or text |
| 20:24.29 | ToastTheif | I can see everyone else and their text |
| 20:24.32 | ToastTheif | just not my own... |
| 20:24.43 | kremonte | http://www.wowinterface.com/forums/showthread.php?t=2521 |
| 20:24.44 | kremonte | er |
| 20:24.45 | kremonte | oops |
| 20:24.52 | kremonte | http://www.wowinterface.com/downloads/fileinfo.php?id=4370 |
| 20:24.54 | kremonte | there we go |
| 20:25.02 | ToastTheif | anyone know why? |
| 20:25.11 | kremonte | are you in first person? :p |
| 20:25.55 | Cide | haha, awesome kremonte |
| 20:26.10 | ToastTheif | no |
| 20:26.16 | ToastTheif | I zoomed all the way out |
| 20:26.16 | kremonte | apparently the way i coded it was really crappy though |
| 20:26.24 | ToastTheif | and I can't see my text either |
| 20:26.29 | Cide | ToastTheif: could try deleting WDB, it might help and won't do much harm |
| 20:26.46 | Cide | I've seen all kinds of weird stuff being fixed by doing that |
| 20:27.14 | ToastTheif | l |
| 20:27.17 | ToastTheif | k(\* |
| 20:27.21 | ToastTheif | will try |
| 20:27.32 | kremonte | Cide - is the CTRA channel variable global? (what is it?) |
| 20:27.50 | Cide | CT_RA_Channel |
| 20:27.51 | Cide | and yes |
| 20:27.56 | kremonte | arigatou ^_^ |
| 20:28.03 | kremonte | i think i might try recoding magical trevor |
| 20:29.18 | Cide | oh btw |
| 20:29.33 | Tain | New TrackAlert posted! |
| 20:29.33 | Cide | we released a new beta of CTRA if anyone's interested |
| 20:29.39 | kremonte | oh? |
| 20:29.45 | kremonte | will it blow up in BWL? |
| 20:29.52 | Cide | http://www.ctmod.net/betadownloads.ct |
| 20:29.54 | Cide | it might! |
| 20:30.02 | Cide | nah.. we've tested it for months |
| 20:30.02 | Tain | Will it make me a ham sandwich? |
| 20:30.06 | Tain | mmmm sandwich. |
| 20:30.06 | kremonte | omg hahha i just opened a tga file in notepad and found out it was an ascii picture of it upside down |
| 20:30.17 | Beladona | if you get something posted to wowinterface and need it approved, please let me know. I am on it but not checking it every few minutes /wink |
| 20:30.20 | Cide | Tain: no, but it will baby sit your kiddies |
| 20:30.41 | Tain | Oh I don't have any. :( |
| 20:30.44 | Tain | That I'm aware of. |
| 20:31.00 | ToastTheif | it seems it's only on Skullcrusher I can't see my model or text |
| 20:31.15 | Cide | oh, too bad Tain |
| 20:31.16 | Tain | I posted something to WowInterface! Do I need to have updates to previously existing addons approved? |
| 20:31.21 | Cide | ToastTheif: did you try what I said? |
| 20:31.45 | Beladona | yeah updates go through moderation |
| 20:32.06 | Beladona | I don't see it in the queue though |
| 20:32.08 | Tain | Beladona: Actually can I get something moved from Beta to another catagory? |
| 20:32.41 | ToastTheif | Yes Cide |
| 20:32.53 | Beladona | good question, not sure if I can |
| 20:32.53 | ToastTheif | I think SkullCrusher just sucks as usual |
| 20:32.56 | Beladona | lemme try |
| 20:33.04 | Beladona | is it TrackAlert? |
| 20:33.09 | Tain | Yes indeed it is. |
| 20:33.17 | Tain | Wanted to move it to the Ace category if possible. |
| 20:33.17 | kremonte | link? |
| 20:33.22 | kremonte | is that the hunter mod |
| 20:33.26 | kremonte | or no =| |
| 20:33.39 | Tain | It's a tracker mod in general. Herbs, Mining, Treasure, Hunter |
| 20:33.59 | kremonte | oh |
| 20:34.05 | Tain | Automagically alerts you if something shows up in the minimap being tracked. |
| 20:34.09 | kremonte | =o |
| 20:34.38 | ToastTheif | I can see my text on Skullcruser now |
| 20:34.43 | ToastTheif | still no model |
| 20:34.46 | Tain | It's the greatest addon ever created! |
| 20:35.24 | Beladona | well that stinks, I don't have the ability to move stuff |
| 20:35.36 | Tain | Aw, thanks anyway Beladona. |
| 20:35.41 | Beladona | shoot Cair a pm about it |
| 20:36.06 | Tain | I will, hopefully she stays asleep for a while though. |
| 20:36.08 | kremonte | ohh i think i see how my mod is horribly coded |
| 20:36.31 | kremonte | can you do local functions? i don't want someone calling my function and breaking the game =O |
| 20:37.01 | Tain | I was updating my auto-mail collecting mod too, but I don't think it's going to get as much use now that CT_MailMod has something similar. :( |
| 20:39.04 | kremonte | is there a function to evaluate a small bit of lua on-the-fly? and can you do local functions? |
| 20:40.51 | Beladona | you can do local functions |
| 20:41.05 | Beladona | not sure what you mean by evaluating lua on the fly |
| 20:41.11 | kremonte | like eval() |
| 20:41.43 | Beladona | never played with it, I would have to look it up |
| 20:41.48 | kremonte | like twenty = eval(20 .. times .. 1); |
| 20:41.55 | kremonte | i think there was one, i forgot tit ho |
| 20:43.43 | Tain | Are you using lua.exe locally? |
| 20:43.52 | kremonte | i have it on my comp |
| 20:43.57 | kremonte | but im talking for wow |
| 20:44.20 | Tain | For wow you have to use either /script or something like LuaPad or Luaslinger |
| 20:44.27 | kremonte | in an addon |
| 20:44.34 | kremonte | what i want to do is have a variable passed to a function (plusminus) |
| 20:44.38 | Tain | Oh |
| 20:44.49 | kremonte | so i can do frame = eval(frame .. plusminus .. 1); |
| 20:45.05 | Beladona | wel that absolutely positively sucks |
| 20:45.12 | kremonte | huh? |
| 20:45.22 | Beladona | I had zip files of all the default blizzard files for each patch |
| 20:45.28 | Beladona | and now I can't find them |
| 20:45.35 | kremonte | =/ |
| 20:45.37 | Codayus | :-( |
| 20:45.59 | Beladona | know how hard it is to reinstall the game, patch incrementally, and extract the files? |
| 20:46.03 | Beladona | hehe |
| 20:46.58 | AnduinLothar | but why? |
| 20:46.59 | Beladona | that hardest part being getting the patches |
| 20:47.05 | Beladona | for my compares |
| 20:47.10 | Beladona | on my wdn site |
| 20:47.16 | Osagasu | you know you can download all the patches up to 1.8 in one big file, right? |
| 20:47.23 | Beladona | where? |
| 20:47.23 | Osagasu | :? |
| 20:47.27 | kremonte | :| |
| 20:47.28 | Tain | What's the plusminus function doing? |
| 20:47.34 | AnduinLothar | i have all the mac patches since 1.0 on my compy |
| 20:47.54 | Tain | Just trying to figure out exactly what you're trying to do kremonte. |
| 20:48.16 | Osagasu | I don't know where |
| 20:48.19 | Osagasu | I just know I have it |
| 20:48.35 | Beladona | there was a site with them some time ago, but I have had trouble finding it |
| 20:48.35 | futrtrubl | he found runscript() so I think all is good |
| 20:48.42 | kremonte | yarr |
| 20:49.02 | Beladona | and of course blizzard doesn't make past patches available |
| 20:49.06 | Beladona | grrr |
| 20:49.30 | Osagasu | why do you need all the patches? |
| 20:49.39 | Beladona | heh |
| 20:49.54 | Beladona | when I run my compares, I have to have a snapshot of the previous version, and the new one |
| 20:50.21 | Tain | To compare all the differences between each version. |
| 20:50.24 | Beladona | basically just the itnerface files from FrameXML and the AddOns directory |
| 20:50.30 | Beladona | exactly |
| 20:50.56 | Beladona | I made it a habit of archiving all of the snapshots just in case I needed to re-run a compare |
| 20:51.01 | Beladona | which is what I want to do now |
| 20:51.16 | Beladona | unfortunately my archive appears to be gone, or misplaced |
| 20:53.03 | Tain | All of the patches are available on http://wow.allakhazam.com/patchdownload.html if you are a "premium" member. |
| 20:53.28 | Beladona | ugh |
| 20:53.37 | Tain | All the way back to Patch from 1.0.1 to 1.1.0 |
| 20:53.49 | Beladona | time to become a premium member I guess |
| 20:53.56 | AnduinLothar | ya, i got that patch |
| 20:54.04 | AnduinLothar | but like i said, mac vers |
| 20:54.12 | Tain | I can grab them for you Beladona |
| 20:54.22 | Beladona | thats a lot of files |
| 20:54.34 | Beladona | and bandwidth to get them from ya |
| 20:54.50 | Tain | 14 files |
| 20:54.51 | AnduinLothar | 11 if you dont count the test patches |
| 20:55.00 | Beladona | I do test too |
| 20:55.02 | Beladona | =P |
| 20:55.32 | Beladona | thanks for the offer Tain, but I am just gonna sign up for like 3 months |
| 20:55.42 | Beladona | its only 10 bucks anyway |
| 20:56.07 | AnduinLothar | u sure they aren't avail on blizz's site? |
| 20:56.18 | Beladona | unless they changed something |
| 20:56.29 | Tain | Yeah I know it's cheap |
| 20:56.42 | Tain | I don't even remember when I signed up, and only did to d/l the patches fast on patch day. :) |
| 20:56.56 | Beladona | I have fileplanet subscription for that |
| 20:57.23 | Tain | Now they're a bit pricey for my tastes. |
| 20:57.25 | Beladona | of course fileplanet only has the major ones |
| 20:58.48 | futrtrubl | Anduin, if Beladona just needs the interface and addons files then you mac patches should have everything needed |
| 20:59.23 | AnduinLothar | ya. if i wanted to spend 6 hours patching and then 3 years seping her the files |
| 20:59.24 | Beladona | there are slight differences |
| 20:59.24 | futrtrubl | but maybe not a way to extract the files... |
| 20:59.37 | futrtrubl | ahhh, k |
| 20:59.44 | Beladona | not much though |
| 20:59.52 | AnduinLothar | u could get a mac emulator i spose |
| 21:00.24 | AnduinLothar | prolly easier to just get them from alla tho |
| 21:00.32 | Beladona | yeah |
| 21:01.12 | futrtrubl | do you need the files like WoW-1.6.0.4500-to-1.6.1-enUS-patch.exe etc? |
| 21:01.18 | Beladona | the only way I was able to get them from Blizz was by reverse engineering their downloader to get the download server addresses, but when looking they only had the most recent ones available |
| 21:01.36 | Beladona | yeah |
| 21:01.41 | futrtrubl | I have those |
| 21:01.45 | futrtrubl | I can send them to you |
| 21:01.56 | Beladona | k, gimme a sec |
| 21:02.07 | futrtrubl | but they may just be in your WoW directory |
| 21:02.30 | Beladona | not all of the ones I need |
| 21:02.35 | Beladona | I reinstall too often for that =P |
| 21:02.39 | futrtrubl | ahh |
| 21:02.57 | AnduinLothar | i dont htink ive ever had to reinstall, what've u been doing? |
| 21:03.18 | futrtrubl | I've reinstalled windows more times than WoW ;'] |
| 21:03.25 | Beladona | thats what I am talking about |
| 21:03.51 | AnduinLothar | O.o |
| 21:03.54 | Beladona | between my laptop and my system at home, I go through a lot of swaps / reinstalls |
| 21:03.57 | futrtrubl | you don't need to reinstall WoW when you change machines or reinstall windows |
| 21:04.02 | AnduinLothar | cant help u there.. |
| 21:05.04 | futrtrubl | I just copy my WoW folder and everything works, it doesn't keep anything outside of its own folder |
| 21:05.22 | Beladona | never tried it |
| 21:05.29 | Beladona | good to know though |
| 21:05.33 | *** join/#wowi-lounge cilo (i=cilo@c-24-127-49-92.hsd1.ca.comcast.net) |
| 21:05.52 | futrtrubl | well, send me /msg when your ready to get the files |
| 21:06.00 | futrtrubl | your = you're |
| 21:06.24 | Beladona | someone has my name at allakhazam =( |
| 21:08.15 | Codayus | ZOMG HAX? |
| 21:08.19 | Codayus | Er...nm. |
| 21:08.20 | kremonte | OMG RLY? |
| 21:08.22 | kremonte | O OK |
| 21:08.32 | Codayus | Sorry, I never really get tired of saying that... |
| 21:08.47 | kremonte | ORLY? |
| 21:10.05 | Nat|AFK | o dammmmmm.... ouch ... http://forums.worldofwarcraft.com/thread.aspx?FN=wow-realm-malganis&T=139196&P=1 |
| 21:11.40 | kremonte | oh...wow.. |
| 21:12.35 | Codayus | Dude, bogus. |
| 21:14.39 | kremonte | " F*** that, the icing on the cake was "We Are the Champions" in japanese being played on vent." |
| 21:14.58 | Nat|AFK | and what is even more clasic is that it was the first alliance Nefarion kill on that server |
| 21:15.05 | kremonte | yeah lol |
| 21:15.39 | Tain | Leave looting openand you're just begging for that to happen. |
| 21:16.04 | kremonte | most guilds do it Tain |
| 21:16.35 | Nat|AFK | not mine. we run with master looter |
| 21:16.39 | Nat|AFK | on bosses |
| 21:16.46 | Tain | I know a lot do, but it only takes one person. |
| 21:16.56 | kremonte | well that way no screw ups with ML |
| 21:17.06 | kremonte | on warsong, at least, a lot of people really wanna be in raiding guilds |
| 21:17.17 | kremonte | if you ninja one boss, you only get one, maybe two epics you'dw ant |
| 21:18.21 | Tain | Horde AH makes me so sad. |
| 21:18.55 | Tain | One-third or less items than on sale in the Alliance AH on the same server. |
| 21:19.02 | kremonte | yeah |
| 21:19.05 | kremonte | alliance ftw X| |
| 21:19.08 | kremonte | alliacne has so many gold sellers |
| 21:19.16 | kremonte | 10FR rings sell for 50g+ |
| 21:19.57 | Tain | I was making so much money just buying and selling at the AH. Now it's a lot tighter since other people do the same thing a lot more than they used to. |
| 21:27.23 | Beladona | I gotta run but I should be back in a couple hours |
| 21:29.24 | *** part/#wowi-lounge Beladona (n=Beladona@josephpartners.com) |
| 21:31.23 | kremonte | http://img366.imageshack.us/img366/6504/atrueaccomplishment6mx.jpg lol |
| 21:34.01 | futrtrubl | rofl |
| 21:34.14 | kremonte | i really wanna do that |
| 21:34.20 | kremonte | i'm barely into r5 now |
| 21:34.46 | shouryuu | I've seen 3 crits at 1k |
| 21:34.51 | shouryuu | on 3 ppl |
| 21:35.06 | shouryuu | really mean |
| 21:36.05 | shouryuu | lol |
| 21:36.06 | shouryuu | i got it |
| 21:36.11 | shouryuu | i'm an idiot :P |
| 21:36.23 | kremonte | i waanna doo otit |
| 21:38.52 | ToastTheif | alright |
| 21:38.52 | ToastTheif | so |
| 21:39.01 | ToastTheif | where's Ker? ^^ |
| 21:39.05 | ToastTheif | need to ask him about Visor |
| 21:41.39 | shouryuu | hummmm I need some advice |
| 21:42.10 | kremonte | orly shouryuu? |
| 21:42.32 | shouryuu | I need to trigger a function that will only work once GetGuildRooster() has been triggered (meaning it's has sent the request for info and has received it)... What would be the best way of doing that? |
| 21:42.35 | shouryuu | Yarly |
| 21:44.03 | futrtrubl | hook GetGuildRoster() (I'm asuming the function has nothing to do with male chickens) |
| 21:44.39 | shouryuu | haha |
| 21:44.40 | shouryuu | sorry |
| 21:44.52 | kremonte | weee time to go obliterate brill |
| 21:45.07 | shouryuu | ok how do I "hook" GetGuildRoster? |
| 21:45.23 | futrtrubl | I'll show you in /msg |
| 21:45.35 | *** join/#wowi-lounge zeeg (n=wguru@63.147.183.137) |
| 21:49.05 | *** join/#wowi-lounge Ratbert_CP (n=KCummins@204.128.192.11) |
| 21:49.36 | kremonte | where do you level as horde commonly 10-30? |
| 21:51.26 | zeeg | check this thread kremonte |
| 21:51.26 | zeeg | http://www.wowguru.com/forums/showthread.php?t=10136 |
| 21:51.47 | kremonte | thanks |
| 21:51.52 | kremonte | time to kill civs |
| 21:52.14 | *** join/#wowi-lounge RedcXe (i=RedcXe@cpe-72-225-160-49.si.res.rr.com) |
| 21:58.11 | kremonte | 8 DKs 8) |
| 22:03.22 | shouryuu | rrawwrrr |
| 22:04.29 | futrtrubl | going for a negative rank kremonte? |
| 22:06.54 | shouryuu | wow zeeg i love you for that post |
| 22:06.59 | *** join/#wowi-lounge dukeku (i=dukeku@c-67-160-162-146.hsd1.or.comcast.net) |
| 22:07.32 | Tain | I just got what could be the most offense sandwich to health, not to mention good sense, ever made. |
| 22:08.00 | *** join/#wowi-lounge clad|domo (n=jnwhiteh@cpe-24-59-51-225.twcny.res.rr.com) |
| 22:08.08 | Tain | Grilled shaved steak on top of ham, salami, and provolone. All together in one. |
| 22:09.01 | zeeg | so close to done Cair! |
| 22:09.05 | zeeg | shouryuu, i know, huh? :P |
| 22:09.10 | Tain | If I die of cardiac failure before I finish tell my addons I love them. |
| 22:10.04 | zeeg | i eat fast food at least 15-20 times a week |
| 22:10.06 | zeeg | and im still skinny |
| 22:10.44 | Tain | That's because even food doesn't like you and wants to exit your body as quickly as possible. |
| 22:10.58 | krka | fast food meals 3 times a day??? |
| 22:11.03 | zeeg | Tain, except not really |
| 22:11.08 | zeeg | krka, usually sometimes 4 |
| 22:13.50 | *** join/#wowi-lounge Industrial (n=tom@hellsblade.xs4all.nl) |
| 22:14.02 | shouryuu | fast food is bad |
| 22:14.39 | Codayus | mmmm..... |
| 22:14.56 | Codayus | that reminds me - I'm hungry! |
| 22:16.04 | AnduinLothar | pretty much |
| 22:17.13 | kremonte | ugh, boo |
| 22:17.22 | kremonte | i was sitting on a hill atop brill and a 60 lock shot me |
| 22:17.27 | kremonte | and the guards linked with him -_- |
| 22:22.52 | clad|domo | Anyone know the code to grab the realm name offhand? |
| 22:23.40 | cladhaire | nvm |
| 22:23.47 | cladhaire | GetCVar("realmname") btw |
| 22:24.50 | AnduinLothar | ha, wtf are u using cvars for? |
| 22:25.27 | AnduinLothar | GetRealmName() |
| 22:32.21 | cladhaire | for real? |
| 22:32.44 | cladhaire | *shudder*.. tells you how often I've needed that. |
| 22:32.45 | cladhaire | =) |
| 22:33.11 | AnduinLothar | mmhmm |
| 22:33.31 | cladhaire | (I've never pulled the realm name in an addon =) |
| 22:34.30 | AnduinLothar | uv never saved data by realm? |
| 22:35.09 | cladhaire | Nope.. WatchDog (previously) did it globally by class (Which worked quite well) but when SavedVariablesPerCharacter came out, since I knew I was rewriting.. I changed it to that. Now i'm doing the full rewrite and I'm using it. |
| 22:37.07 | futrtrubl | I used GetRealmName() before SavedVariablesPerCharacter and now I'm getting rid of GetRealmName() ;'] |
| 22:37.23 | cladhaire | Eeh.. i need users to be able to copy profiles between characters |
| 22:37.31 | AnduinLothar | right |
| 22:37.40 | cladhaire | so I'm actually using both SavedVariablesPerCharacter and SavedVariables if I can.. Testing now =) |
| 22:37.51 | AnduinLothar | and FriendsFacts for example just needs per realm |
| 22:38.45 | futrtrubl | true, but SavedVariablesPerCharacter for other chars aren't loaded, so you'ld have to have globaly available profiles, so you might as well make those user named |
| 22:38.48 | cladhaire | Aah you can use both.. spectacular |
| 22:42.34 | Tain | If it bleeds, we can kill it. |
| 22:47.43 | Tain | Oh man I can't wait. Mr. T has his own show coming out called, "I Pity the Fool" |
| 22:49.27 | Industrial | o_O |
| 22:56.31 | *** join/#wowi-lounge his247 (n=his247@c-67-184-86-244.hsd1.il.comcast.net) |
| 23:00.31 | Djanee | evening everyone. :) |
| 23:00.38 | kremonte | eefning |
| 23:02.26 | Djanee | was hoping I could get a bit unconfused here. smirk |
| 23:03.24 | Djanee | I'm using a local variable in lua becuase it's just a temporary thing, but it seems as tho I can't use it with the concatination operators later in the same function IF it's local |
| 23:04.06 | Djanee | it's a slash command handler, one of my options I expect to be /slashcommand opt ##, so I'm stripping out the ## and putting it in a local variable called num |
| 23:04.28 | Djanee | next line I use AddMessage(num) and that works |
| 23:04.54 | Djanee | very next line I use AddMessage("Notify set to "..num) and that errors |
| 23:05.31 | Djanee | says attempt to concatentate global value num |
| 23:05.59 | Djanee | why would concatenate think that num is a global value when it's fine if used alone? |
| 23:10.17 | futrtrubl | check to see if there is such a thing as a global called num |
| 23:11.26 | Djanee | should have mentioned, I shorteded for IRC...my local variable is actually called OhNoAggro_CmdNum. I thought exactly as you did that I was refrenceing a commonly used variable name |
| 23:11.34 | Djanee | so I made it nice and long and specific |
| 23:11.48 | futrtrubl | hmmm |
| 23:12.21 | Djanee | and it's just weird that I get back the right value when used alone |
| 23:14.15 | Djanee | AddMessage(OhNoAggro_CmdNum) works...AddMessage("some text here"..OhNoAggro_CmdNum) dies with attempt to concatenate global ... blah blah nil value |
| 23:15.03 | futrtrubl | are you doing local num = blah inside an if statement or a loop or somthing? if so it isn't local to the whole function |
| 23:16.05 | Djanee | there's literally nothing but a carriage return between the 2 AddMessage lines |
| 23:16.55 | Djanee | the entire thing is inside an if that's triggered when I get to a certain option on my command, but the local variable should work for all commands inside that if, correct? |
| 23:16.57 | Tain | What's the AddMessage function? Could that be mishandling it? |
| 23:18.18 | Djanee | I thought AddMessage was part of the API ScrollingMessageFrame |
| 23:18.29 | Djanee | I'm certainly not writing an AddMessage |
| 23:18.42 | futrtrubl | AddMessage should be getting a single string each time so it shouldn't be misshandling it |
| 23:19.21 | futrtrubl | and the error indicates that it's dying at the concatenate |
| 23:19.55 | Djanee | agreed, and it's tryin to use a global instead of the local. Somehow my local variable is getting un-declared |
| 23:19.57 | Legorol|alt | careful with concatenates, you can only concatenate strings and numbers |
| 23:20.11 | Legorol|alt | if the variable you are concatenating to the string has nil, userdata, table or boolean value, you get an error |
| 23:20.19 | Legorol|alt | function too |
| 23:20.39 | Djanee | should just be the value 1.5 in the variable. AddMessage seems to take it alright by itself |
| 23:20.56 | Legorol|alt | try this: "somestring"..tostring(variable) |
| 23:20.58 | Djanee | lightbulb/duh moment |
| 23:21.03 | Industrial | ok whos ready to laugh at the site i just put up for my addons? |
| 23:21.17 | futrtrubl | try a string.format() on the variable first and see if that helps |
| 23:21.32 | futrtrubl | or tostring ;'] |
| 23:21.41 | futrtrubl | me me!!! |
| 23:22.10 | Industrial | http://digigen.nl/~Industrial/index.html |
| 23:22.13 | Industrial | :P |
| 23:22.15 | Djanee | it's a scope thing, I should have realized when futrtrubl asked if it was inside an if or loop. It's a loop but on the same step of the loop. I think that's what's doing it |
| 23:23.12 | kremonte | Djanee - just make it local to the function if that's the problem. shouldn't cause an overhead explode |
| 23:23.14 | Industrial | Yes. Grapics, though not super duper, will follow. |
| 23:23.22 | futrtrubl | Industrial: take a look at my website ;'] edowner.myserver.org |
| 23:24.03 | Djanee | kremonte: you mean just declare it earlier, like right after the function line and before I launch into any loops / ifs? |
| 23:24.20 | futrtrubl | yup, like the code I sent you in /msg |
| 23:25.03 | Djanee | nods makes sense now. I'm still learning to wrap my brain around the heirarchy and modularity |
| 23:25.34 | *** join/#wowi-lounge Tem (n=Matt@ip70-177-40-169.br.br.cox.net) |
| 23:26.02 | futrtrubl | ~welcome Tem |
| 23:26.03 | purl | Good to see you, Tem! |
| 23:26.46 | Djanee | thanks guys....think I'm back on track! |
| 23:30.28 | Industrial | futrtrubl: i have my advanced padi open water diver \o/ |
| 23:30.35 | Industrial | but i have to go sleep now >_> |
| 23:31.13 | futrtrubl | ;'] |
| 23:33.12 | *** join/#wowi-lounge phil__ (n=phil@ppp233-95.lns2.adl4.internode.on.net) |
| 23:37.34 | Legorol|alt | g'evening folks |
| 23:37.43 | Legorol|alt | bah, brb |
| 23:37.47 | *** join/#wowi-lounge Legorol (i=legorol@cpc3-cmbg6-6-0-cust238.cmbg.cable.ntl.com) |
| 23:38.22 | Legorol | I have a question about viewports, i.e. changing the size of WorldFrame |
| 23:39.18 | Tain | I learned some by looking through CT_ViewPort |
| 23:39.24 | Legorol | I have been looking into systematically trying to explore what is the effect of a size change, whether it is 1) truncation of the view onto the game world 2) change of the aspect ratio (stretching/compressing) |
| 23:39.40 | temwow | oh Legorol |
| 23:39.47 | Legorol | i was also trying to correlate the observed results with screen resolution, UIParent size, WorldFrame size, and respective scales |
| 23:39.54 | Legorol | hi temwow |
| 23:39.58 | temwow | I found a solution to the line wrapping issue |
| 23:39.58 | Legorol | i saw your tooltip code ;-) |
| 23:40.01 | temwow | oh cool |
| 23:40.07 | Legorol | did you see my response? |
| 23:40.12 | temwow | no? |
| 23:40.15 | temwow | where? |
| 23:40.18 | Legorol | in here |
| 23:40.35 | temwow | oh |
| 23:40.36 | temwow | no I didn't |
| 23:40.40 | temwow | Was I online? |
| 23:40.44 | Legorol | [14:23] <Legorol> Tem, I saw your tooltip code |
| 23:40.44 | Legorol | [14:24] <Legorol> Apart from the fact that it uses these strange OO things that give me headache, the actual insertion is neat, that's the kind of thing I was thinking about |
| 23:40.44 | Legorol | [14:24] <Legorol> I noticed however that you don't handle TextRightX elements, that will break some of the tooltips. |
| 23:40.44 | Legorol | [14:25] <Legorol> On lines where you have both a TextLeft and TextRight, I beleive you roughly have tooltip.width = TextLeft.width + TextRight.width |
| 23:41.01 | temwow | right |
| 23:41.11 | Legorol | also another thing i realised since then: in Tooltip:new(o) you do setmetatable(tooltip, ...) |
| 23:41.14 | Legorol | is that on purpose? |
| 23:41.20 | Legorol | shouldn't that be setmetatable(o, ... ) |
| 23:41.33 | temwow | yeah that's a typo |
| 23:41.38 | Legorol | ok, so it wasn't me |
| 23:41.47 | temwow | I didn't bother with right text because I never do insertions on the lines that have that |
| 23:41.53 | *** join/#wowi-lounge kergoth (n=kergoth@c-24-118-219-25.hsd1.mn.comcast.net) |
| 23:42.00 | Legorol | that's a bit unsafe to assume, isn't it? |
| 23:42.03 | Legorol | or more to the point: |
| 23:42.09 | temwow | on items the right text is always at the top way above where I need to do work |
| 23:42.11 | Legorol | if people copy/paste your code they won't know there is a caveat |
| 23:42.14 | temwow | oh |
| 23:42.16 | temwow | well.... |
| 23:42.24 | temwow | that'd be a personal problem of theirs |
| 23:42.26 | Legorol | you might as well write a generic InserLine method |
| 23:42.30 | futrtrubl | ;'] |
| 23:42.35 | Legorol | at least put in a comment ;-) |
| 23:42.48 | futrtrubl | add it to a library ;'] |
| 23:42.50 | Legorol | also, what happens if some other addon uses TextRights in GameTooltip? |
| 23:43.09 | Legorol | imagine a scenario where there is anohter addon running too, that modifies GameTooltip for some reason or another |
| 23:43.15 | Legorol | you'd have a nice ugly conflict |
| 23:43.41 | Legorol | i found through painful experience that you better code safely and take into account other coders' potential code |
| 23:43.52 | Legorol | that's just my £0.02 |
| 23:44.05 | Legorol | coming back to the issue of line wrapping |
| 23:44.16 | Legorol | so if you copy the string via gettext/settext it is wrapped? |
| 23:44.43 | temwow | no |
| 23:45.30 | Legorol | ok then i missed what does the magic :( |
| 23:46.04 | temwow | setting the width |
| 23:46.09 | Legorol | actually now that i think about it, i am surprised the code works |
| 23:46.14 | temwow | forcing it to a smaller width |
| 23:46.14 | Legorol | what sets the height of the fontstring then? |
| 23:46.33 | Legorol | so you are doing a setwidth on a fontstring before calling setstring on it |
| 23:46.38 | Legorol | but you don't need to setheight? |
| 23:46.41 | Legorol | hmm |
| 23:47.06 | Legorol | i also find it strange you need the setwidth at all... don't all the fontstrings in a visible tooltip already have the tooltip's width? |
| 23:47.11 | Legorol | i must be still missing something here |
| 23:47.15 | *** join/#wowi-lounge Tem (n=Matt@ip70-177-40-169.br.br.cox.net) |
| 23:47.19 | Tem | well that was fun... |
| 23:47.23 | Tem | gaim crashed |
| 23:47.29 | Legorol | oh right |
| 23:47.35 | Legorol | [23:46] <Legorol> what sets the height of the fontstring then? |
| 23:47.35 | Legorol | [23:46] * temwow has quit IRC (Read error: 104 (Connection reset by peer)) |
| 23:47.35 | Legorol | [23:46] <Legorol> so you are doing a setwidth on a fontstring before calling setstring on it |
| 23:47.36 | Legorol | [23:46] <Legorol> but you don't need to setheight? |
| 23:47.36 | Legorol | [23:46] <Legorol> hmm |
| 23:47.36 | Legorol | [23:47] <Legorol> i also find it strange you need the setwidth at all... don't all the fontstrings in a visible tooltip already have the tooltip's width? |
| 23:47.39 | Legorol | [23:47] <Legorol> i must be still missing something here |
| 23:48.15 | Tem | if you don't set the width of the fontstring, it will be as long as it needs to be |
| 23:48.22 | Tem | which creates really long tooltips |
| 23:48.26 | Legorol | hmm |
| 23:48.38 | Legorol | wait a moment. |
| 23:48.44 | Tem | the order of setting text and width doesn't matter (I think) |
| 23:48.52 | Legorol | in that case, in a tooltip that you set up via say tooltip:SetBagItem or something, |
| 23:48.59 | Legorol | what is the width of the fontstrings in the tooltip? |
| 23:49.35 | Legorol | i guess what i am saying is, |
| 23:49.40 | Tem | they are exactly the width that they need to be |
| 23:49.46 | Legorol | in an existing tooltip, the existing fontstrings have a width |
| 23:50.00 | Tem | They are as long as they need to be and no longer |
| 23:50.00 | Legorol | so if you do a :settext on one of the fontstrings on an existing, visible tooltip, |
| 23:50.04 | Legorol | why does it not truncate? |
| 23:50.08 | Legorol | i mean wrap |
| 23:50.15 | Tem | because it's not a hard setwidth |
| 23:50.19 | Legorol | uh? |
| 23:50.32 | Legorol | what's a hard setwidth, and what other kinds are there? |
| 23:50.44 | Legorol | an XML object is either anchored, or has an explicit width |
| 23:51.08 | Legorol | don't tell me the tooltip code goes outside the boundaries of this mantra |
| 23:51.11 | Tem | That's what I mean, they haven't set an explicit width with the SetXXX on the tooltip |
| 23:51.16 | Legorol | but.. |
| 23:51.27 | Legorol | if they haven't, then what determines the value of a fontstring:GetWidth() call? |
| 23:51.33 | Legorol | those fontstrings are not anchored.. |
| 23:51.34 | Tem | it's width |
| 23:51.40 | Legorol | ok now you confused me |
| 23:51.46 | Legorol | if they haven't set its width, how can it have one |
| 23:51.49 | Tem | god... we need to doing this in voice chat |
| 23:51.55 | Tem | typing sucks |
| 23:51.59 | Legorol | ok, you have an XML object, a fontstring |
| 23:52.02 | Tain | so who's on first? |
| 23:52.12 | Legorol | when you call fontstring:GetWidth(), it returns a number |
| 23:52.16 | Legorol | what determines that number? |
| 23:52.22 | Tem | the width of the string |
| 23:52.29 | Legorol | if the fontstring is not anchored, which it isn't for the ones in the tooltip, |
| 23:52.33 | Legorol | it should be the width set via SetWidth |
| 23:52.39 | Tem | they have single anchors |
| 23:52.40 | Legorol | afaik fontstrings don't have "dynamic" width |
| 23:52.46 | Legorol | yes they have anchors that set their left edge |
| 23:52.53 | Tem | right |
| 23:53.04 | Legorol | the width of a fontstring is, afaik, independent from the text it contains |
| 23:53.12 | Legorol | or am i wrong? |
| 23:53.13 | Legorol | i could be |
| 23:53.28 | Tem | I think in this case it isn't |
| 23:54.04 | Legorol | then tehy are doing something in C code that is outside the bounds of the XML/Lua framework as we know it |
| 23:54.11 | Legorol | so i'm not happy with that |
| 23:54.17 | Legorol | ok i'm going to test this around a bit |
| 23:54.17 | Tem | well... yeah |
| 23:54.21 | Legorol | i'll be back in 10 minutes or so :-) |
| 23:54.26 | Tem | and that's what gave me a headache for 3 months |
| 23:54.31 | Legorol | fair enough |