00:00.05 | ckknight | lua> local fib = setmetatable({[0]=0,[1]=1}, {__index=function(self, key) local value = self[key-2]+self[key-1]; self[key] = value; return value end}); local _ = fib[1000]; return table.concat(fib, ", ") |
00:00.06 | cladhaire | ckknight: [string " local fib = setmetatable({[0]=0,[1]=1}, {_..."]:1: C stack overflow |
00:00.11 | ckknight | aw |
00:00.26 | ckknight | lua> local fib = setmetatable({[0]=0,[1]=1}, {__index=function(self, key) local value = self[key-2]+self[key-1]; self[key] = value; return value end}); local _ = fib[500]; return table.concat(fib, ", ") |
00:00.26 | cladhaire | ckknight: [string " local fib = setmetatable({[0]=0,[1]=1}, {_..."]:1: C stack overflow |
00:00.34 | ckknight | lua> local fib = setmetatable({[0]=0,[1]=1}, {__index=function(self, key) local value = self[key-2]+self[key-1]; self[key] = value; return value end}); local _ = fib[250]; return table.concat(fib, ", ") |
00:00.34 | cladhaire | ckknight: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765, 10946, 17711, 28657, 46368, 75025, 121393, 196418, 317811, 514229, 832040, 1346269, 2178309, 3524578, 5702887, 9227465, 14930352, 24157817, 39088169, 63245986, 10233415... (result truncated) |
00:00.41 | *** join/#wowi-lounge gaurong_ (n=ilovemrd@88-105-186-83.dynamic.dsl.as9105.com) |
00:01.20 | Aella | Okay, as far as I can tell, given "return %s" and bailing out if you see the word "function", you can't bork Lua. |
00:01.48 | ckknight | Aella: loadstring |
00:01.59 | Aella | setfenv(x, {}) |
00:02.32 | Aella | That's why my line had pcall(setfenv(assert(loadstring(format( |
00:02.34 | *** join/#wowi-lounge gaurong_ (n=ilovemrd@88-105-186-83.dynamic.dsl.as9105.com) |
00:03.44 | Aella | It just feels ugly to have to censor the keyword "function." |
00:05.07 | ckknight | what if they use it in a good context, as well? |
00:05.12 | Aella | Indeed. |
00:05.14 | ckknight | x = '"function"' |
00:05.25 | Aella | Though that's a statement. =P |
00:05.37 | ckknight | what're you doing this for, btw? |
00:05.47 | Aella | I guess you could match function (...) ... end |
00:05.55 | amro | I wish there was a way to hurt a binary. |
00:06.00 | amro | apache is starting to really piss me off |
00:06.18 | Aella | Mostly mental exercise, but I was coming up with an equiv to string.format that accepted Lua expressions. |
00:08.05 | *** join/#wowi-lounge MoonWolf_ (i=MoonWolf@89.98.118.158) |
00:08.56 | cladhaire | <PROTECTED> |
00:10.03 | Aella | cladhaire: DEFAULT_CHAT_FRAME:AddMessage(format(WRITING_ADDONS, version)) |
00:11.10 | Kaso | cladhaire, can that be translated to "i am writing a very technical book about writing world of warcraft addons" |
00:11.25 | cladhaire | Kaso: Hypothetically you could translate it however you'd like |
00:11.31 | Kaso | hehe |
00:11.39 | Aella | Not going for it, cladhaire? |
00:11.39 | cladhaire | that doesn't allow you to draw conclusions from it. |
00:11.57 | Kaso | "Wow UI Development; frames, metatables and fun! |
00:12.00 | batrick | there wouldnt' be any money in a book like that |
00:13.12 | Fin | I have to say, the cover was a bit... not what I would've chosen :) but I can understand why it *was* picked |
00:16.20 | cladhaire | Fin: i don't. |
00:16.23 | cladhaire | so that makes one of us |
00:16.26 | cladhaire | batrick: why do you say that? |
00:16.36 | Aella | function%s*%([%s%a%d,.]*%).*end |
00:16.39 | Aella | >.> |
00:16.53 | *** join/#wowi-lounge MoonWolf (i=MoonWolf@89.98.118.158) |
00:16.54 | *** mode/#wowi-lounge [+v MoonWolf] by ChanServ |
00:17.06 | batrick | I just get the feeling most people who would be interested in making an addon would find other means of doing it |
00:17.16 | batrick | or, there just isn't a large enough audience |
00:17.22 | cladhaire | batrick: you should read the forums, or the comments on amazon. |
00:17.33 | cladhaire | people are flat out upset that a highly technical book about writing addons doesn't exist |
00:17.39 | *** join/#wowi-lounge Cide (n=Cide@hus110a.bobbnet.com) |
00:17.39 | *** mode/#wowi-lounge [+v Cide] by ChanServ |
00:17.46 | batrick | link to comments on amaon? |
00:18.05 | cladhaire | its on the book, on amazon. |
00:18.14 | cladhaire | 4/5 readers wanted a more technical book |
00:18.14 | Kaso | the current book, how did that come about? were you guys approached or did you take an idea to the publishers? |
00:18.18 | cladhaire | and they're not the only ones. |
00:18.22 | cladhaire | Kaso: the publishers approached us |
00:18.35 | Aella | cladhaire: the thing that would make such a book a good investment for me is nothing more or less than an API reference. |
00:18.39 | batrick | what book do you speak of cladhaire |
00:18.51 | cladhaire | Aella: well any book would absolutely have to have that, yes. |
00:19.09 | cladhaire | batrick: http://amazon.com/o/ASIN/0470110023/ref=s9_asin_image_1-1966_p/002-4168492-8826450?pf_rd_m=ATVPDKIKX0DER&pf_rd_s=center-2&pf_rd_r=02ZV90BZG6HPEEDZK748&pf_rd_t=101&pf_rd_p=278240301&pf_rd_i=507846 |
00:20.00 | Kaso | the bottom right hand corner makes me snicker each time i see it |
00:20.17 | cladhaire | it makes me wretch |
00:20.33 | Kaso | haha |
00:20.36 | Aella | In a Lua pattern, is it possible to say "match this where it is not directly prefixed or suffixed by this character set?" |
00:20.40 | Industrial | Question: does sitting down improve regenerating speed? |
00:20.56 | batrick | no |
00:21.06 | Aella | Like if you were looking for an identifier, looking for that identifier not prefixed or suffixed by A-Za-z0-9_ |
00:21.06 | Kaso | Aella, [^set]pattern[^set] |
00:21.12 | Industrial | i thought so |
00:21.15 | batrick | cladhaire, go for it I guess.. especially if the publishers approached you |
00:21.17 | Industrial | why didnt anyone ever tell me? |
00:21.19 | cladhaire | Aella: you want %f I think |
00:21.32 | Kaso | Industrial it does for hp regen |
00:21.33 | Industrial | or rather, why didnt blizzard ever say so |
00:21.34 | Industrial | :P |
00:21.35 | Kaso | im 95% sure |
00:21.37 | cladhaire | batrick: I wasn't asking for advice on whether or not to propose one, but looking for a title. |
00:21.40 | cladhaire | i have no idea what it would be named |
00:21.43 | Kaso | it goes up like 10% or something |
00:21.46 | Industrial | k |
00:21.48 | Aella | cladhaire: not seeing %f on the list of patterns, probably just RegEx? |
00:21.53 | cladhaire | Aella: no |
00:21.55 | batrick | ya I can't think of a name |
00:21.56 | cladhaire | its a hidden feature |
00:21.57 | cladhaire | one sec |
00:22.00 | Aella | Hmm, neat. |
00:22.02 | batrick | something simple would probably be best cald |
00:22.05 | batrick | clad* |
00:22.13 | batrick | Addons and Macros in World of Warcraft |
00:22.15 | batrick | something like that |
00:22.18 | cladhaire | Aella: http://lua-users.org/wiki/FrontierPattern |
00:22.19 | batrick | Making Add* |
00:22.28 | Aella | Kaso: Just realized that the key is not repeating the pattern, that makes sense. |
00:22.57 | *** join/#wowi-lounge MoonWolf__ (i=MoonWolf@89.98.118.158) |
00:25.07 | Aella | I think this would match any identifier? [%a%d_]?identifier[%a%d_]? |
00:25.19 | Aella | cladhaire: Wish this was documented. D= |
00:25.30 | cladhaire | well they may be removing it |
00:25.32 | Aella | Durr: [^%a%d_]?identifier[^%a%d_]? |
00:25.33 | cladhaire | which is why its not documented |
00:25.38 | Aella | Yeah, that's what I mean. |
00:30.30 | Kaydeethree | hah... DMF_L70ETC01.mp3 |
00:34.56 | *** join/#wowi-lounge MoonWolf_ (i=MoonWolf@89.98.118.158) |
00:42.54 | foxlit | lua>print(string.len) |
00:42.55 | cladhaire | foxlit: function: 0x3031c0 |
00:43.56 | |Jelly| | Stupid Question Incoming! A /reloadui will save my UI settings (locations) wont it? |
00:44.36 | Kaso | yes |
00:44.59 | *** join/#wowi-lounge MoonWolf__ (i=MoonWolf@89.98.118.158) |
00:46.13 | |Jelly| | kk. thanks |
00:52.10 | *** join/#wowi-lounge Arrowmaster (n=Arrow@cpe-71-64-143-75.woh.res.rr.com) |
00:58.57 | Thunder_Child | unless your UI is being retarded |
01:02.24 | Guillotine | or if you're on vista and don't have admin priveleges |
01:29.10 | kergoth | any hunters around have a link to a good marksmanship build? i'm level 57, been BM, would like to try out a different build fro a change of pace |
01:38.46 | *** join/#wowi-lounge clad|sleep (n=cladhair@cpe-74-71-116-245.twcny.res.rr.com) |
01:38.46 | *** mode/#wowi-lounge [+o clad|sleep] by ChanServ |
01:39.01 | *** join/#wowi-lounge ckknight (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com) |
01:48.25 | *** join/#wowi-lounge Atriace (n=atriace@177.71.118.70.cfl.res.rr.com) |
01:49.50 | *** join/#wowi-lounge PProvost (n=PProvost@WoWUIDev/WAU/Admin/Pprovost) |
01:50.32 | Atriace | Alright, I've finished my web search with no definitive answers. Anyone know if it's possible to switch actionbars based on target during combat? |
01:51.38 | Nerinia | based on target = harm/help ? |
01:52.38 | Shirik | Atriace: Welcome to 2.0 restrictions |
01:52.41 | Atriace | Uh... yes? I think I'm thinking target = hostile/friendly |
01:52.51 | Shirik | then yes, welcome to secure state headers |
01:52.57 | Atriace | lol |
01:52.57 | Nerinia | Hehe :D |
01:53.04 | Atriace | oh................ |
01:53.16 | Atriace | <insert crude comment> |
01:53.43 | Atriace | There has got to be a way around that.... and yet I know there can't be. |
01:53.59 | Shirik | around what? |
01:55.02 | Atriace | I just finished my mod... the one I spent 3 months building. Logging back into my priest, I find my actionbar doesn't auto-switch to bar2 based on target=friendly/hostile. I played the game that way forever.... and now... |
01:55.34 | Atriace | This basicly means I'm going to have to learn how to play the game with only half the hotkey buttons I need. |
01:55.38 | MentalPower | secure state headers |
02:11.35 | *** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@64.193.93.197) |
02:48.00 | *** join/#wowi-lounge dacoffey (n=dacoffey@pool-71-171-35-57.nwrknj.east.verizon.net) |
02:55.12 | wobin | secure state headers =( |
03:16.38 | *** join/#wowi-lounge MoonWolf_ (i=MoonWolf@89.98.118.158) |
03:16.49 | *** join/#wowi-lounge Tierrie (i=user@adsl-68-126-220-187.dsl.pltn13.pacbell.net) |
03:26.49 | cladhaire | has anyone seen the movie "Omen"? |
03:28.56 | Garoun | can you summon Nightbane any time after you've finished the quest? Or doyou have to kill prince every time first? |
03:29.55 | ckknight | cladhaire: no, what's it about? |
03:30.12 | cladhaire | standard son of the devil drama |
03:30.43 | Garoun | original or remake? :P |
03:30.50 | cladhaire | remake |
03:31.16 | Garoun | never saw remake :/ and been a long time since I watched original |
03:31.55 | cladhaire | it was okay |
03:31.57 | cladhaire | lame ending |
03:32.13 | cladhaire | I mean I wasn't honestly expecting much =) |
03:32.26 | Garoun | should watch the original |
03:32.39 | cladhaire | aye, il'l try to get my hands on int. |
03:32.47 | cladhaire | My boyfriend wont' watch any "scary" movies |
03:32.49 | Garoun | one of the scenes was filmed near me inthis area :) |
03:32.58 | cladhaire | which makes it kind of suck. |
03:33.02 | Garoun | and they watched omen? :P |
03:33.06 | cladhaire | no |
03:33.07 | cladhaire | he's gone |
03:33.11 | cladhaire | so i watched it by myself |
03:33.16 | cladhaire | which sucks :P |
03:33.31 | Garoun | hehe, get him to watch each of the Scary movies... he'll no longer get scared |
03:33.40 | cladhaire | nah he's a pussy |
03:34.06 | Garoun | they are comedies |
03:34.20 | cladhaire | i know they are |
03:34.23 | cladhaire | it won't solve his issue :P |
03:34.25 | Garoun | k |
03:35.20 | cladhaire | wish it would |
03:35.59 | cladhaire | okay bed time now =) |
03:36.01 | cladhaire | have a good night |
03:36.09 | Garoun | night clad |
03:36.25 | Garoun | WAR time for me :) |
04:04.50 | *** join/#wowi-lounge MoonWolf__ (n=MoonWolf@89.98.118.158) |
04:22.47 | *** join/#wowi-lounge Xuerian (n=core@wireless-216-222-129-181.citizip.com) |
04:30.14 | *** join/#wowi-lounge MoonWolf_ (i=MoonWolf@89.98.118.158) |
04:38.53 | *** join/#wowi-lounge Neebler (n=BuM@adsl-64-169-155-128.dsl.chic01.pacbell.net) |
04:42.29 | *** join/#wowi-lounge ChrisD (n=ChrisD@24-177-155-42.dhcp.mrqt.mi.charter.com) |
04:43.25 | *** join/#wowi-lounge Kaydeethree (n=kd3@host-69-59-74-241.nctv.com) |
04:44.10 | ChrisD | http://www.wowwiki.com/API_FontString_SetTextHeight <-- There's a note about crisp text by creating separate text objects. Anyone have suggestions on how I might go through this for dynamically named/shown objects? ie, programmatically |
04:44.31 | ChrisD | I saw in SWStats, he seems to resize the parent object and then scale it back down but that seems like kind of an ugly hack |
04:44.51 | *** join/#wowi-lounge MoonWolf (i=MoonWolf@89.98.118.158) |
04:44.51 | *** mode/#wowi-lounge [+v MoonWolf] by ChanServ |
04:46.12 | *** join/#wowi-lounge weab (n=asdf@cpe-70-123-152-126.austin.res.rr.com) |
04:52.58 | Nom- | :) |
04:53.09 | Nom- | You managed to fix the Pitbull issue in big raids? |
04:53.21 | ckknight | not sure |
04:53.32 | Nom- | The one where it locked up completely for about a minute |
04:53.43 | Nom- | And pauses for 2-3 seconds whenever someone joins/leaves raid |
04:53.47 | *** join/#wowi-lounge Kaydeethree (n=kd3@host-69-59-74-241.nctv.com) |
04:54.03 | Nom- | Or whenever someone zones in fact |
04:54.17 | Nom- | It's bearable in a 10-man, but a 25-man is really bad |
04:55.37 | ckknight | well, I'm not sure |
04:55.41 | ckknight | I don't raid much |
04:55.44 | ckknight | so I can't really test |
04:56.04 | Mr_Rabies2 | i'll raid your face with my fist |
04:57.04 | Shirik | I'll face your fist |
05:01.51 | Nom- | lhmmm |
05:02.02 | Nom- | I can't even see the raid frames now :/ |
05:02.25 | Nom- | ah found it |
05:09.51 | Nom- | shiiiit |
05:09.58 | Nom- | OneBag is completely disabled |
05:10.10 | Nom- | Can't use anything...it's all greyed out and not even tooltips show up :( |
05:10.15 | Nom- | Any alternatives? |
05:20.04 | *** join/#wowi-lounge sioraiocht (n=rtharper@rrcs-74-62-17-82.west.biz.rr.com) |
05:24.07 | Shirik | check out this new gem I can cut! http://img101.imageshack.us/my.php?image=lntrj0.jpg |
05:28.43 | Shirik | so |
05:28.46 | Shirik | one of the people on my kara team |
05:28.55 | Shirik | had a ressurection timer today |
05:28.57 | Shirik | he died so much |
05:32.40 | Kaydeethree | haha |
05:33.03 | Shirik | he's normallly our tank :P |
05:33.10 | Shirik | he decided to spec fury and do some dps to break up the norm |
05:33.16 | Shirik | and he has no sense of aggro control |
05:33.19 | Shirik | it's hilarious |
05:35.18 | *** join/#wowi-lounge dabu_ (i=xx@p54ACA92A.dip0.t-ipconnect.de) |
05:36.33 | *** join/#wowi-lounge KarlThePagan (n=andross@66.225.8.145) |
05:36.39 | Thunder_Child | ckknight http://www.omgphatloots.org/ |
05:37.31 | Shirik | who's that by? |
05:37.43 | ckknight | yea, who made that? |
05:37.48 | Thunder_Child | Seito |
05:37.56 | Thunder_Child | it was in a post |
05:37.59 | Thunder_Child | http://forums.worldofwarcraft.com/thread.html?topicId=108327234&sid=1&pageNo=6 |
05:38.01 | Thunder_Child | near the bottom |
05:39.19 | ckknight | well, I commented on his blo |
05:39.21 | ckknight | blog* |
05:40.36 | Thunder_Child | maybe next he could do one for RDX.cid >.< |
05:40.45 | Shirik | ? |
05:40.49 | Shirik | do what? |
05:40.53 | Shirik | oh |
05:40.54 | Shirik | -_- |
05:40.55 | Thunder_Child | tutorial video |
05:41.05 | Shirik | learn the features and fill our wiki!! |
05:41.23 | Thunder_Child | make a placeholder setup so i can |
05:41.29 | Thunder_Child | i am not always in a pary/raid |
05:41.32 | Shirik | you could go to #RDX and ask questions |
05:41.36 | Shirik | but considering I'm the only one there |
05:41.40 | Shirik | probably wouldn't do you much good |
05:41.43 | Thunder_Child | lol |
05:42.03 | ckknight | Shirik's in #wowace, too, now. Feel free to ask him questions there |
05:42.04 | ckknight | :-P |
05:42.19 | Shirik | I joined #RDX a while ago |
05:42.25 | Shirik | now I just use it for system message logs |
05:42.52 | Shirik | :( |
05:43.05 | ckknight | :-P |
05:43.06 | ckknight | pants |
05:43.25 | ckknight | hey, anyone have a good example of coroutines in use in an addon? |
05:43.31 | Shirik | yup |
05:43.36 | Shirik | want to take a look at my patcher? |
05:43.45 | Shirik | (not complete yet but it gives some interesting looks at how to do it) |
05:44.21 | Shirik | better yet maybe battle recorder |
05:44.25 | Shirik | they both use coroutines |
05:44.37 | ckknight | Shirik: #wowace is handled by Chanserv anyway |
05:44.51 | ckknight | k, link? |
05:46.23 | *** join/#wowi-lounge gaurong (n=ilovemrd@88-105-186-83.dynamic.dsl.as9105.com) |
05:51.09 | Shirik | here ckknight |
05:51.14 | Shirik | this is the processing function in the battle recorder |
05:51.20 | Shirik | it is run at the end of any encounter to sync all clients |
05:51.25 | Shirik | (still not finished, but good enough) |
05:52.25 | Shirik | (this is wrapped in a coroutine, I tried to make this as simple as an example as possible) |
05:52.46 | Shirik | http://wowi.pastey.net/56603 |
05:57.08 | ckknight | hrm |
05:57.08 | ckknight | interesting |
05:57.16 | Shirik | make sense? |
05:57.21 | Shirik | I tried to make it as simple as possible :/ |
05:57.25 | Shirik | it's a bit more complex than that but yeah |
05:57.29 | ckknight | oh yea, I get it |
05:57.34 | ckknight | not sure if anyone else could |
05:57.36 | ckknight | :-P |
05:57.42 | Shirik | heh |
05:58.07 | Shirik | that function is actually called by another function which is coroutine.wrap()'ed and then scheduled to be called every 0.25s |
05:58.10 | Shirik | or something like that |
05:58.36 | ckknight | right |
05:58.52 | ckknight | just wondering to myself whether there are places where I could use coroutines |
06:00.18 | Shirik | I use them in places where I think that I could run into problems with performance |
06:00.36 | Shirik | for example, battle recorder uses them such that whenever an event comes in, since I don't need to handle it right away, it stores it in a queue |
06:00.48 | Shirik | then, whenever we have free time, we go ahead and pull a few out of the queue and process them |
06:00.58 | *** join/#wowi-lounge Mr_Rabies2 (n=catbutts@adsl-066-156-082-132.sip.asm.bellsouth.net) |
06:01.39 | *** join/#wowi-lounge Mr_Rabies (n=Mr_Rabie@adsl-066-156-082-132.sip.asm.bellsouth.net) |
06:03.03 | Shirik | :( |
06:03.07 | Shirik | ckknight didn't link +v to my nick |
06:03.10 | Shirik | with chanserv |
06:03.20 | ckknight | gotta wait for Kaelten |
06:29.37 | *** join/#wowi-lounge clad|sleep (n=cladhair@cpe-74-71-116-245.twcny.res.rr.com) |
06:29.37 | *** mode/#wowi-lounge [+o clad|sleep] by ChanServ |
06:32.37 | subbawt | hmm how would this Fubar_voicefu mod work? "Displays who is talking on voice chat programs (TS or Vent) (Triam)" |
06:36.04 | ckknight | I don't see how that could work... |
06:36.53 | MoonWolf | it can't... |
06:37.46 | Shirik | it's not |
06:37.50 | Shirik | possible* |
06:38.06 | Shirik | I would check into its legitimacy |
06:38.32 | subbawt | well it's on files.wowace.com |
06:38.38 | MoonWolf | technicallly |
06:38.50 | MoonWolf | you could make a 3rd party exe overlay the names |
06:39.02 | MoonWolf | over the part of the fubar occpied by this addon |
06:39.15 | MoonWolf | but the addon itself would not be doing anything. |
06:39.37 | ScytheBlade1 | Other "third party" (legit) programs can do that |
06:39.53 | ScytheBlade1 | They don't touch WoW, they just touch Vent and DX to render text on the screen |
06:40.04 | ScytheBlade1 | --- or |
06:40.14 | ScytheBlade1 | You bind a hotkey in WoW, which sends an addonmessage to your party/raid. |
06:40.18 | ScytheBlade1 | Others who have it, shows it. |
06:40.40 | ScytheBlade1 | Bind the same hotkey in WoW as your vent hotkey. |
06:41.36 | gaurong | TeamSpeak Overlay is quite good for that |
06:41.47 | gaurong | works for any game |
06:45.18 | MentalPower | gnight guys |
06:47.51 | *** join/#wowi-lounge Vilkku (n=Vilkku@dsl-86-60-132-188-DynIP.ssp.fi) |
06:52.08 | *** join/#wowi-lounge cogwheel (n=chatzill@c-67-164-121-134.hsd1.ca.comcast.net) |
06:56.21 | Fin | Voice Overlay works with Vent and TS, missing a couple of features that TSO has tho |
06:56.32 | Fin | and vice versa |
07:08.29 | Mr_Rabies2 | i can't wait for wow to have voice chat capabilities |
07:08.44 | Mr_Rabies2 | because it'll be endless hilarity |
07:19.05 | *** join/#wowi-lounge Shadowedd (n=outlaw@12.157.177.162) |
07:19.28 | Thunder_Child | nothing beats having 2 monitors |
07:19.38 | Thunder_Child | where you can have it reside on one to look at |
07:19.51 | ChrisD | actually i think something does |
07:19.59 | ChrisD | a 30" monitor :) |
07:20.09 | ChrisD | i like this infinitely more than 2 20"s |
07:20.16 | Thunder_Child | nope, then your playing wow on a 30" |
07:20.25 | ChrisD | windowed mode :P |
07:20.29 | ChrisD | i'm playing wow right now |
07:20.31 | Thunder_Child | wont feel right |
07:21.37 | ChrisD | you get used to it |
07:21.55 | ChrisD | my playable area is physically as large as a 21" full screen |
07:22.03 | Thunder_Child | why bother..get 2 30" screens |
07:22.13 | ChrisD | find a desk big enough and maybe i will! :p |
07:22.27 | Thunder_Child | no desk...but i can find stands that do that |
07:25.28 | Mr_Rabies2 | <Thunder_Child> nothing beats having 2 monitors |
07:25.34 | Mr_Rabies2 | laptop + desktop :O |
07:25.49 | Mr_Rabies2 | or 2 desktop... |
07:26.15 | Mr_Rabies2 | s/top/tops/ |
07:26.36 | Thunder_Child | i should say nothing beats having 2 "or more" monitors "per comuter" |
07:27.44 | Corrodias | wow, i hate pvp |
07:29.43 | Thunder_Child | agreed |
07:30.17 | Thunder_Child | unless i have good gear that is |
07:30.44 | Corrodias | unless i'm fighting people 10 levels below myself, i hate pvp. and then i wouldn't want to because i'd be getting nothing for it. |
07:31.07 | Corrodias | that last time, the paladin was smart enough to bubble himself after the pounce and the first cyclone :( |
07:32.26 | Thunder_Child | why doesnt anyone make a skinable DM |
07:32.29 | Corrodias | so i switched to the mage who had gotten down a little while my partners were attacking this warrior. the paladin couldn't heal both and i ended the mage. i then went back to stun the paladin with a Bash before heading over to the warrior. |
07:33.46 | Corrodias | ended up as one on one, my feral druid (bear form, cat pve gear, plus two stamina trinkets) vs his warrior, which i won easily. |
07:34.36 | Thunder_Child | gratz, you opened up a can of whoop-ass, and you are now "the man" |
07:35.36 | Vilkku | is arg1 for ADDON_LOADED the folder name or the name in the .toc file? |
07:36.15 | *** join/#wowi-lounge weab (n=asdf@cpe-70-112-143-167.austin.res.rr.com) |
07:36.16 | Thunder_Child | odd...i just reloaded and got 90 errors, and other issues...from having nothing |
07:36.29 | Thunder_Child | err..no issues previously |
07:36.58 | Thunder_Child | and i reloaded again...and nothing.....damit |
07:37.29 | Thunder_Child | WTB consistancy |
07:38.43 | Thunder_Child | name in the .toc, or name of the .toc? |
07:39.07 | Corrodias | yay |
07:39.09 | Corrodias | i am the man |
07:39.49 | *** join/#wowi-lounge Srosh (n=Srosh@c155151.adsl.hansenet.de) |
07:40.05 | *** join/#wowi-lounge Mr_Rabies2 (n=catbutts@adsl-066-156-082-132.sip.asm.bellsouth.net) |
07:41.03 | Corrodias | http://www.glumbert.com/media/tonguetwister |
07:41.21 | *** join/#wowi-lounge Jens (i=Jens@pdpc/supporter/active/Jens) |
07:41.34 | Corrodias | then there was the duel between myself (in bear form, pve bear gear) vs a prot-specced warrior |
07:41.50 | Corrodias | with some kind of trinket that gave him a bubble |
07:43.35 | Mr_Rabies2 | the guy in the red robe is rofl |
07:46.30 | Corrodias | almost every time i hit him, he dodged, parried, or blocked, or the trinket absorbed it |
07:46.43 | Corrodias | his attacks on me were either dodged or did so little damage... |
07:46.57 | Corrodias | hit -> attacked |
07:47.54 | Thunder_Child | ~seen elkano |
07:48.22 | purl | elkano <n=elkano@srbk-590fc80c.pool.einsundeins.de> was last seen on IRC in channel #wowace, 10h 57m 13s ago, saying: 'group -> bar layout -> text <position> -> font'. |
07:49.43 | Thunder_Child | ok, going to sleep before i pass out at my desk |
07:49.45 | Thunder_Child | night all |
07:51.12 | Vilkku | is arg1 for ADDON_LOADED the folder name or the name in the .toc file? |
07:51.30 | Vilkku | and by name in the .toc I mean the one specified by ## Name: or whatever the line is |
07:51.47 | Vilkku | ## Title: |
07:52.52 | Mr_Rabies2 | it was "absorb" not immune, corr? |
07:53.22 | Corrodias | yes |
07:53.32 | Corrodias | and there are plenty of trinkets that absorb damage |
07:53.54 | Mr_Rabies2 | http://www.wowhead.com/?item=22795#M0z |
07:53.56 | Mr_Rabies2 | too |
07:54.28 | Corrodias | i think he also used a consumable to heal himself during the fight |
07:54.32 | Corrodias | but only once |
07:54.52 | Mr_Rabies2 | if you can't use it in arena, you shouldn't use it in duels, imo |
07:55.05 | *** join/#wowi-lounge Saeris (n=Miranda@dsl-254-113.dynamic-dsl.frii.net) |
07:55.21 | Corrodias | at the end, he appeared to be trying to run away, but i finished him with a moonfire |
07:55.53 | *** join/#wowi-lounge Srosh_ (n=Srosh@c137159.adsl.hansenet.de) |
07:58.17 | *** join/#wowi-lounge gaurong_ (n=ilovemrd@88-105-188-65.dynamic.dsl.as9105.com) |
08:11.36 | *** join/#wowi-lounge initializing1 (n=Srosh@c213192.adsl.hansenet.de) |
08:12.26 | Mr_Rabies2 | rofl, some guy was like "my group bailed on me, need help on last boss of mana tombs" |
08:12.44 | Mr_Rabies2 | we get 3 people in kara gear to help him and his level 65 buddy and kill him in about 40 seconds :p |
08:17.48 | *** join/#wowi-lounge initializing1 (n=Srosh@c165143.adsl.hansenet.de) |
08:26.49 | *** join/#wowi-lounge Thorarin (i=marcel@s55918431.adsl.wanadoo.nl) |
08:32.03 | *** join/#wowi-lounge Srosh_ (n=Srosh@c165143.adsl.hansenet.de) |
08:34.51 | *** join/#wowi-lounge initializing1 (n=Srosh@d038175.adsl.hansenet.de) |
08:45.17 | Vilkku | hello again! |
08:45.28 | Vilkku | how should I make my addon show SCT messages? |
08:46.34 | *** join/#wowi-lounge foxlit (n=me@0x573e6bae.albnxx18.adsl-dhcp.tele.dk) |
09:01.24 | *** join/#wowi-lounge Royal (n=m@cp291458-b.landg1.lb.home.nl) |
09:04.44 | *** join/#wowi-lounge ckknight_ (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com) |
09:06.12 | Shirik|zZz | I loled: |
09:06.15 | Shirik|zZz | "HydraIRC has been designed from the ground up using state of the art tools (Microsoft VS.Net 2003), the latest in super responsive un-bloated GUI toolkits (Windows Template Library) and with multiple server support designed in from the start" |
09:06.31 | Shirik|zZz | "microsoft VS.Net" and "super responsive un-bloated" are mutually exclusive |
09:08.07 | Corrodias | whoa, is this 1998 again? |
09:08.33 | Corrodias | windows has actually improved since '98, although vista may be bucking the new trend |
09:09.33 | *** join/#wowi-lounge Athou (n=ask@152.138-65-87.adsl-dyn.isp.belgacom.be) |
09:14.24 | *** join/#wowi-lounge ckknight (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com) |
09:22.08 | *** join/#wowi-lounge ckknight_ (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com) |
09:22.50 | *** join/#wowi-lounge subbawt (n=heh@65.89.109.213) |
09:38.29 | *** join/#wowi-lounge Imp4kT (n=wtfisdpd@host81-156-80-84.range81-156.btcentralplus.com) |
09:51.44 | *** join/#wowi-lounge QQngsk (n=Gngsk@c-69-138-213-251.hsd1.md.comcast.net) |
09:55.02 | Corrodias | her mind is tiffany-twisted; she's got the mercedes bends |
10:01.28 | *** join/#wowi-lounge ckknight_ (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com) |
10:08.43 | *** join/#wowi-lounge Adys (n=Miranda@APoitiers-256-1-132-147.w90-30.abo.wanadoo.fr) |
10:19.18 | *** join/#wowi-lounge Elkano (n=elkano@srbk-590f9217.pool.einsundeins.de) |
10:26.57 | Mr_Rabies2 | sooo the poopsockers are out of content |
10:29.05 | *** join/#wowi-lounge Punkie` (n=~@host86-130-2-120.range86-130.btcentralplus.com) |
10:40.37 | Corrodias | who? |
10:44.31 | Mr_Rabies2 | nihilium |
10:44.41 | Mr_Rabies2 | just cleared BT and Hyjal |
10:45.39 | Elkano | well, both will be made a bit harder by Blizzard iirc |
10:46.21 | Mr_Rabies2 | i know they already hotfixed BT a bit |
10:50.02 | *** join/#wowi-lounge ven (i=ven@i59F56A72.versanet.de) |
10:50.46 | Mr_Rabies2 | does the latest version of SVedit still work with WoW? |
10:56.55 | Corrodias | dunno |
10:56.57 | Corrodias | i should have gone to bed |
10:58.29 | Mr_Rabies2 | GO TO BED GARFIELD |
11:01.34 | *** join/#wowi-lounge Sole (n=chatzill@203.109.161.194) |
11:04.06 | *** join/#wowi-lounge Telrin (n=test@shandalar.xs4all.nl) |
11:06.32 | *** join/#wowi-lounge beerke (n=beerke@5353E179.cable.casema.nl) |
11:20.25 | Mr_Rabies2 | hmm |
11:20.43 | Mr_Rabies2 | got my first "gyufrtvty invites you to a group" |
11:27.51 | *** join/#wowi-lounge gaurong (n=ilovemrd@88-105-188-65.dynamic.dsl.as9105.com) |
11:34.43 | Nom- | woot another successful clear of Karazhan :) |
11:34.46 | Nom- | 6h 20m |
11:36.07 | Nom- | 1 wipe on netherspite, 2 wipes on shade, 1 wipe on nightbane |
11:36.11 | Nom- | all round quite succesfuly |
11:40.18 | Mr_Rabies2 | we're going for prince on wednesday |
11:40.53 | *** join/#wowi-lounge Adys|Miranda (n=Miranda@APoitiers-256-1-26-170.w90-16.abo.wanadoo.fr) |
11:43.30 | *** part/#wowi-lounge Athou (n=ask@152.138-65-87.adsl-dyn.isp.belgacom.be) |
11:44.38 | Nom- | hmmmm |
11:44.44 | Nom- | i just logged a whole raid using /combatlog |
11:44.50 | Nom- | but i can't find the file |
11:45.08 | Nom- | where is it meant to save ? |
11:46.23 | Nom- | ah found it |
11:46.23 | Nom- | yay |
11:49.56 | Zeal | <Mr_Rabies2> just cleared BT and Hyjal <- several days ago now.. |
11:50.14 | Mr_Rabies2 | Hyjal was last night for nihilium |
11:50.21 | Zeal | ah, granted |
11:53.41 | amro | lol http://sourceforge.net/people/viewjob.php?group_id=198340&job_id=28632 |
11:57.59 | Nom- | omg wtb stats rock |
11:58.00 | Nom- | http://standen.id.au/wow/Karazhan_2007-06-10_Raid1/ |
11:58.12 | Nom- | legendary app |
12:00.26 | Nom- | wow just goes to show |
12:00.34 | Nom- | over the course of the raid, i got 100k mana back from illumination |
12:00.45 | Nom- | 33k from spiritual attunement |
12:02.47 | *** join/#wowi-lounge Telrin (n=test@shandalar.xs4all.nl) |
12:04.30 | Nom- | The only thing lacking |
12:04.44 | Nom- | I'd like to see the web stats break down your raid log for each boss |
12:06.49 | Mr_Rabies2 | i just argued with myself internally |
12:06.50 | Mr_Rabies2 | i was like |
12:08.51 | Mr_Rabies2 | "well how would you get information accurately on the boss? what if he has adds?" "well, i guess you could set an addon to click 'boss fight begins now'" "no, that's dumb, just check the timestamps for the first amount of damage to the boss, dummy" "oh, duhhh |
12:08.53 | Mr_Rabies2 | " |
12:09.10 | Mr_Rabies2 | i think i'm going crazy |
12:09.50 | Mr_Rabies2 | brb |
12:10.05 | Nom- | kek |
12:11.35 | Nom- | that's such an awesome thing |
12:22.22 | *** join/#wowi-lounge Mr_Rabies2 (n=catbutts@adsl-066-156-082-132.sip.asm.bellsouth.net) |
12:45.02 | *** join/#wowi-lounge Funkeh` (n=funkydud@host81-129-23-146.range81-129.btcentralplus.com) |
13:11.40 | wereHamster | wow, that's nice.. firefox-3.0a6pre renders buttons and dropdown lists in the gtk theme. HTML forms look much better now :) |
13:14.28 | wereHamster | I'm using the murrine engine for gtk: http://dbservice.com/ftpdir/tom/screenshot7.png |
13:16.14 | zenzelezz | this doesn't get old [1. General] [...]: can someone pliz ress me i am out side the elevator |
13:17.55 | *** join/#wowi-lounge clad|sleep (n=cladhair@cpe-74-71-116-245.twcny.res.rr.com) |
13:17.55 | *** mode/#wowi-lounge [+o clad|sleep] by ChanServ |
13:19.58 | *** join/#wowi-lounge [dRaCo] (n=drc@p54858194.dip0.t-ipconnect.de) |
13:40.40 | *** join/#wowi-lounge KarlThePagan (n=andross@66.225.8.145) |
13:45.19 | *** join/#wowi-lounge drc|away (n=drc@p54858194.dip0.t-ipconnect.de) |
13:49.39 | *** join/#wowi-lounge Nom-_ (n=nom@standen.id.au) |
13:58.35 | *** join/#wowi-lounge JoshBorke (n=Josh@r54h77.res.gatech.edu) |
14:07.21 | cladhaire | Luabot has been enabled, prefix a command with lua> to have me run it. |
14:07.42 | Thrae | I thought Cide had a Lua bot already. |
14:07.47 | cladhaire | hedoes. |
14:07.51 | cladhaire | do you see him here? =) |
14:42.43 | cladhaire | Authors, paypal links from wowinterface.com aren't working right now. I've let Dolby know. |
14:46.26 | *** join/#wowi-lounge Osagasu (n=Kronus@208.104.156.29) |
14:48.32 | *** join/#wowi-lounge Cide (n=Cide@hus110a.bobbnet.com) |
14:48.32 | *** mode/#wowi-lounge [+v Cide] by ChanServ |
15:02.51 | Mr_Rabies2 | me and my internet gang reported you a bazillion times because you refused to needlessly turn one of your addons into an ace one >:[ |
15:06.34 | *** join/#wowi-lounge Nom- (n=nom@standen.id.au) |
15:07.46 | *** join/#wowi-lounge ven (i=ven@i59F5413F.versanet.de) |
15:50.56 | *** join/#wowi-lounge krka (n=krka@c83-250-41-96.bredband.comhem.se) |
16:13.22 | zenzelezz | oh man... http://karacry.ytmnd.com/ (lots of static) [4 min 48 sec] |
16:17.09 | *** join/#wowi-lounge Lysistrata (n=yousuck@unaffiliated/lysistrata) |
16:18.11 | *** join/#wowi-lounge Elkano (n=elkano@srbk-590fbe0f.pool.einsundeins.de) |
16:20.40 | *** join/#wowi-lounge Angwe (n=a1514131@c-71-236-188-72.hsd1.or.comcast.net) |
16:21.55 | Angwe | hey, can anyone see why http://pastey.net/56631 is going into the else block every time, the entry im trying to grab is http://pastey.net/56632 |
16:22.03 | foxlit | <foxlit> There are no syntax errors |
16:22.03 | foxlit | [18:21] <foxlit> What you're having the code do is fundamentaly wrong, try reading it line by line |
16:22.07 | Angwe | im mousing over that player |
16:22.14 | *** join/#wowi-lounge Kaso (n=Kaso@resnet24.nat.lancs.ac.uk) |
16:22.53 | Angwe | good morning kaso |
16:23.16 | Kaso | morning! |
16:23.36 | Angwe | i have a question for you again |
16:24.02 | Kaso | Shoot, i'm all ears |
16:24.05 | Angwe | can you see why http://pastey.net/56631 is going into the else block every time, the entry im trying to grab is http://pastey.net/56632 |
16:25.04 | foxlit | Just go through the first two lines, Angwe. |
16:25.15 | Kaso | i agree with foxlit |
16:25.20 | Kaso | GUN is the problem |
16:25.55 | zenzelezz | by the way, you could put the return from "UnitName("mouseover") .." - ".. (select(2,UnitName("mouseover")) or GetRealmName())" into a local so you didn't have to type it out in all those cases |
16:26.42 | Angwe | ok thx much |
16:28.25 | zenzelezz | I'm unsure what you're trying to use GUN for; or maybe just what you are trying to set it to |
16:29.16 | Kaso | zenzelezz, i assume he/she was trying to do what you said with gun but got confused. |
16:29.43 | Angwe | yes lol |
16:29.47 | Angwe | he btw |
16:30.13 | Angwe | it was working yesterday, but it had an error if i moused over characters too quickly |
16:30.13 | Kaso | noted for future reference |
16:30.24 | Angwe | because my mouseover would change mid function i would imagine |
16:30.34 | foxlit | Bah |
16:30.40 | foxlit | Nerf stupidity |
16:30.41 | Kaso | i assume sometimes if you do it too quickly it might get called when UnitName("mouseover") is name |
16:31.00 | Kaso | you'd prob just h ave to check UnitName("mouseover") is no nil then you're set |
16:31.13 | foxlit | I get spam past my only-accept-mail-from-people-I-know filter because those idiots forward chain letters :/ |
16:31.27 | foxlit | "WHO >EVERDOES>NOT SEND THIS MESSEAGE, YOUR ACCOUNT WILL BE |
16:31.27 | foxlit | >CLOSED AND YOU WILL COST >£10.00>A MONTH TO USE. SEND THIS TO EVERYONE ON |
16:31.27 | foxlit | >YOUR CONTACT LIST. NOW YOU>KNOW>WHAT TO DO. PLEASE DO NOT FORWARD THIS or |
16:31.27 | foxlit | >REPLAY. COPY THE WHOLE EMAIL. GO>BACK TO YOUR INBOX AND CLICK ON NEW> |
16:31.42 | Angwe | lol i thought you were talking to me for a sec foxlit |
16:31.52 | Angwe | when you said nerf stupidity lol |
16:31.59 | foxlit | Nah :) |
16:32.35 | foxlit | Coke giving away itunes downloads <3 |
16:35.07 | Angwe | oh lol |
16:35.13 | Angwe | am i capturing the whole table? |
16:35.19 | Angwe | and not the name stored? |
16:35.39 | Kaso | in GUN? yes |
16:36.17 | Angwe | i would post the face palm |
16:36.22 | Angwe | but i would have to pastey it |
16:36.33 | Kaso | haha |
16:48.53 | *** join/#wowi-lounge Foxbot (n=Foxbot@0x573e6bae.albnxx18.adsl-dhcp.tele.dk) |
16:49.18 | foxlit | Can use #api ApiFunctionName to lookup arglist from wiki :) |
16:49.27 | Angwe | thats awesome, it works |
16:49.41 | Angwe | pulls players name, hp, build and rating off of the armory |
16:49.48 | Angwe | then puts it in a little frame |
16:50.48 | zenzelezz | #api CastSpellByName |
16:50.49 | Foxbot | zenzelezz: CastSpellByName(spellName{, onSelf});==Arguments== |
16:51.14 | zenzelezz | #api UnitBuff |
16:51.16 | Foxbot | zenzelezz: name, rank, iconTexture, count, duration, timeLeft = UnitBuff(unit, buffIndex[, castable]); |
16:51.18 | zenzelezz | sweet |
17:10.39 | zenzelezz | I find the "prot warrior soloing ZG panther boss" funny |
17:10.47 | *** join/#wowi-lounge lrrlo (n=lrrlo@host86-130-30-136.range86-130.btcentralplus.com) |
17:11.22 | *** join/#wowi-lounge Blaime (n=nega90@host86-130-30-136.range86-130.btcentralplus.com) |
17:12.14 | Kaso | zenzelezz oh? |
17:12.35 | Blaime | birdguns |
17:13.19 | *** join/#wowi-lounge Josh_Borke (n=jk275@antimatter.stl.gtri.gatech.edu) |
17:13.21 | zenzelezz | http://forums.wow-europe.com/thread.html?topicId=293169785&sid=1 |
17:13.24 | *** part/#wowi-lounge Josh_Borke (n=jk275@antimatter.stl.gtri.gatech.edu) |
17:13.26 | *** join/#wowi-lounge Josh_Borke (n=jk275@antimatter.stl.gtri.gatech.edu) |
17:13.32 | Blaime | e-e-e-eeurope? |
17:13.42 | zenzelezz | basically uses the Colossus trinket that heals on block to fully heal from the panthers |
17:13.43 | *** join/#wowi-lounge MoonWolf (n=MoonWolf@89.98.118.158) |
17:13.43 | *** mode/#wowi-lounge [+v MoonWolf] by ChanServ |
17:13.46 | Blaime | are wow europe forums more or less elitist than the world of warcraft US forums |
17:14.50 | zenzelezz | not quite sure, but probably not too different |
17:15.13 | foxlit | "Hey, look, a casual!" |
17:17.15 | Blaime | The last time I checked most people with lives are casual in the while "time spent playing" context |
17:17.29 | foxlit | lua> t={a=2,b=4}; f = function(k) f[k] = nil; end; for k,v in pairs(t) do f(k); print(k); end |
17:17.30 | cladhaire | foxlit:lua> [string " t={a=2,b=4}; f = function(k) f[k] = nil; e..."]:1: attempt to index global 'f' (a function value) |
17:17.40 | foxlit | lua> t={a=2,b=4}; f = function(k) t[k] = nil; end; for k,v in pairs(t) do f(k); print(k); end |
17:17.41 | cladhaire | foxlit:lua> a, b |
17:20.42 | *** join/#wowi-lounge Kaelten (n=chatzill@c-69-181-47-80.hsd1.ca.comcast.net) |
17:20.42 | *** mode/#wowi-lounge [+v Kaelten] by ChanServ |
17:23.09 | zenzelezz | the next thing the armory needs is item screenshots (official, not contributed) |
17:23.57 | Thrae | I tried to run armory.worldofwarcraft.com, but the end boss was too hard |
17:25.57 | foxlit | Foxbot, shoo |
17:26.18 | foxlit | Hm, that worked a bit better than I expected |
17:27.01 | *** join/#wowi-lounge Tierrie (i=user@adsl-68-126-220-187.dsl.pltn13.pacbell.net) |
17:30.02 | Angwe | i got another one |
17:30.06 | Angwe | if self.liverating ~= 0 then self.frame.text:SetText(self.liverating) else self.frame.text:SetText("Arena Master") end |
17:30.21 | Angwe | http://pastey.net/56636 |
17:30.38 | Angwe | [2007/06/10 10:25:53-215-x2749]: ArenaMaster-1.0\Core.lua:565: attempt to index field 'self' (a nil value) |
17:31.01 | Kaso | that code you posted isnt in the pastey ^_- |
17:31.17 | Angwe | the top code isnt, but thats the declaration of the frame |
17:31.27 | Angwe | in the pastey |
17:31.40 | Kaso | the error line corrosponds to the line you posted? |
17:31.50 | Angwe | yes |
17:32.00 | Angwe | that first part i posted is line 565 |
17:32.23 | Kaso | use the stack traceback to see how whatever function that line is in was caused, thats likely the problem |
17:32.39 | Angwe | stack traceback lol |
17:32.46 | Angwe | whats that |
17:33.11 | Kaso | which error addon you using? |
17:33.22 | Angwe | BugSack |
17:33.37 | Kaso | im pretty sure that gives a trace by default doesnt it |
17:33.54 | Angwe | all i know, is that i can mouse over the little icon, and it gives me my errors |
17:33.57 | Angwe | ill look around |
17:34.05 | Kaso | click on the icon |
17:34.15 | Kaso | then the window that opens should have something like |
17:34.19 | Kaso | stack traceback: |
17:34.19 | Kaso | <PROTECTED> |
17:34.19 | Kaso | <PROTECTED> |
17:34.19 | Kaso | <PROTECTED> |
17:34.19 | Kaso | <PROTECTED> |
17:34.19 | zenzelezz | where does the "self" in this function come from? |
17:38.01 | Angwe | i dont see a stack traceback, i see something that says show stack, but it doesnt show anything more than what i posted |
17:38.17 | zenzelezz | where does the "self" in this function come from? |
17:38.34 | Angwe | and i honestly dont know zen, im rewriting this one to do what i want as i am weak with the lua |
17:38.52 | Kaso | Angwe just post your whole file to a pastey please |
17:38.58 | Angwe | kk |
17:39.39 | Angwe | http://pastey.net/56637 |
17:40.12 | zenzelezz | <PROTECTED> |
17:40.33 | Angwe | woot thx |
17:40.50 | zenzelezz | as the message said, the field "self" most likely doesn't exist in the frame :-) |
17:41.36 | Angwe | same error :( |
17:41.52 | zenzelezz | same line number too? |
17:42.05 | Angwe | indeed |
17:42.06 | zenzelezz | what did you change it to? |
17:42.19 | Angwe | if self.liverating ~= 0 then self.frame.self.text:Set(self.liverating) else self.frame.self.text:Set("Arena Master") end |
17:42.36 | Josh_Borke | Angwe: do you define a field called 'self' in self.frame? |
17:42.36 | zenzelezz | you still have self.frame.self.txt |
17:42.50 | Josh_Borke | Angwe: self.frame.self.text == self['frame']['self']['text'] |
17:42.57 | zenzelezz | I suspect you mean self.frame.text |
17:45.01 | Angwe | im looking where it is defined, and i dont see it, but if i take that if statement out, the frame loads fine |
17:45.22 | Angwe | and everything else works, so i would assume its defined |
17:45.36 | zenzelezz | let me repeat... does your code say self.frame.self.text? If so, attempt to change it to self.frame.text and see if it changes anything |
17:45.44 | Angwe | ok |
17:46.24 | Josh_Borke | Angwe: what is self.frame.self.text? |
17:47.17 | Josh_Borke | Angwe: are you trying to set the header text or a button text? |
17:47.31 | Angwe | self.frame.self.text is declared in http://pastey.net/56636 i believe |
17:47.49 | Angwe | if self.liverating ~= 0 then self.frame.text:Set(self.liverating) else self.frame.text:Set("Arena Master") end |
17:47.57 | Angwe | still gives the same error on the same line |
17:48.03 | *** join/#wowi-lounge MoonWolf (n=MoonWolf@89.98.118.158) |
17:48.04 | *** mode/#wowi-lounge [+v MoonWolf] by ChanServ |
17:48.05 | Josh_Borke | Angwe: where? ok, but do you see the different between those 2 sentences you just typed? |
17:48.09 | zenzelezz | there's no definition of frame.self.text there |
17:48.38 | Josh_Borke | Angwe: (01:47:31 PM) Angwe: <HERE>self.frame.self.text</HERE> is declared in http://pastey.net/56636 i believe vs (01:47:49 PM) Angwe: if self.liverating ~= 0 then <HERE>self.frame.text</HERE>:Set(self.liverating) else self.frame.text:Se |
17:49.07 | zenzelezz | as Josh is pointing out, I don't think you're really reading what we're saying |
17:49.39 | Thrae | What the hell is "liverating" |
17:49.48 | zenzelezz | Thrae: live (server) rating |
17:49.50 | Angwe | yea im extremely confused lol, ill reread it all again and it will probably clear things up |
17:49.52 | zenzelezz | took me a while to figure out |
17:49.57 | Thrae | Ahhhhh |
17:50.06 | Angwe | thx for your help sirs |
17:50.08 | Josh_Borke | Angwe: self.frame.SELF.text vs self.frame.text |
17:50.10 | zenzelezz | Angwe: looking at your second pastey I think you *may* perhaps mean SELF.FRAME.HEADER.TEXT (in lower-case) |
17:50.11 | Thrae | Yeah, I read it as "liver-ating", heh |
17:50.23 | zenzelezz | Thrae: same |
17:50.27 | Josh_Borke | Thrae: same |
17:50.47 | *** join/#wowi-lounge Tuller (n=chatzill@c-76-27-166-119.hsd1.va.comcast.net) |
17:50.58 | Angwe | josh i changed it because zanzelezz told me to try something |
17:51.33 | zenzelezz | yes, because you didn't give us enough info :) |
17:51.45 | zenzelezz | but like I said later, try self.frame.header.text instead |
17:51.49 | Angwe | yea, was just saying why the 2 were not the same line |
17:51.53 | Angwe | kk will do |
17:53.41 | Angwe | yea, using self.frame.header.text gives the same error, it doesnt like self, but later on down in the code it uses the same line, but with one extra part |
17:53.49 | *** join/#wowi-lounge Mr_Rabies2 (n=catbutts@adsl-066-156-082-132.sip.asm.bellsouth.net) |
17:54.24 | Josh_Borke | Angwe: what text are you trying to set? |
17:54.49 | zenzelezz | Angwe: paste only the line it errors on in here |
17:54.56 | zenzelezz | as it is in your file now |
17:57.30 | zenzelezz | and also the microphone |
17:58.16 | Josh_Borke | could you pass the grey poupon? |
17:59.03 | Angwe | i furbared something while copy/pasting so im trying to figure out what i did lol |
18:01.52 | Josh_Borke | ...how does one fubar copy/paste? o.O |
18:03.15 | Angwe | ha, it works now, i copied / pasted one of teh self.xxx.xxx.xxx things over a working line |
18:03.44 | Angwe | so when i used self.frame.header.text:SetText it errored out on another line |
18:03.57 | Angwe | when i fixed that line from a earlier version, everything works now |
18:04.04 | Angwe | thanks tons for your help :) |
18:05.43 | *** part/#wowi-lounge Angwe (n=a1514131@c-71-236-188-72.hsd1.or.comcast.net) |
18:09.10 | *** join/#wowi-lounge batrick (n=batrick@c-76-18-69-99.hsd1.nm.comcast.net) |
18:14.09 | Thunder_Child | stargatesg1 |
18:14.32 | zenzelezz | that was either very random, or the wrong place to log in |
18:14.49 | Thunder_Child | second one is correct |
18:14.56 | Thunder_Child | but not for irc |
18:16.07 | *** join/#wowi-lounge batrick (n=batrick@c-76-18-69-99.hsd1.nm.comcast.net) |
18:26.53 | *** join/#wowi-lounge ag` (n=ag`@0x535f749b.bynxx18.adsl-dhcp.tele.dk) |
18:30.12 | *** join/#wowi-lounge MentalPower|Food (i=MPower@WoWUIDev/Norganna/Administrator/MentalPower) |
18:30.12 | *** mode/#wowi-lounge [+v MentalPower|Food] by ChanServ |
18:30.16 | Thunder_Child | toy know, after they put in the voice, i think they should enable webcams so you can pass the argument and have it feed into the unitframes |
18:30.58 | Thunder_Child | s/toy/you/ |
18:33.06 | *** join/#wowi-lounge Foxbot (n=Foxbot@0x573e6bae.albnxx18.adsl-dhcp.tele.dk) |
18:46.13 | *** join/#wowi-lounge Lysistrata (n=yousuck@unaffiliated/lysistrata) |
18:58.36 | *** join/#wowi-lounge Aella (n=Aella@74.221.43.140) |
18:59.01 | Aella | cladhaire, I hadn't the faintest idea you used a Mac/Colloquy. I learn something every day, it seems. |
18:59.09 | cladhaire | heh |
18:59.32 | cladhaire | =) |
19:00.40 | cladhaire | why is it blocked? |
19:01.22 | cladhaire | also, how is it blocked |
19:01.23 | cladhaire | heh |
19:01.41 | |FF|Im2good4u | hmm does anyone know how to get the ui to show error messages again ? since i think they are suspressed |
19:01.49 | Aella | Just port filtering, I believe. |
19:01.50 | Aella | Firewall. |
19:01.52 | cladhaire | Interface Options |
19:01.55 | cladhaire | Show Lua Errors |
19:02.00 | Aella | I could tunnel out if I had a dedicated machine outside. |
19:02.11 | cladhaire | Aella: you can get in via some other client? |
19:02.19 | Aella | No, all IRC clients. |
19:02.30 | Kaydeethree | <3 tunneling to get around firewalls |
19:02.36 | cladhaire | oh okay |
19:02.39 | cladhaire | that makes more senes |
19:02.51 | *** join/#wowi-lounge Kaelten (n=chatzill@c-69-181-47-80.hsd1.ca.comcast.net) |
19:02.51 | *** mode/#wowi-lounge [+v Kaelten] by ChanServ |
19:02.56 | Aella | I'd just have to convince the family not to turn off one of their computers every night. |
19:02.58 | cladhaire | wb Kaelten |
19:03.38 | Kaelten | cladhaire: :) |
19:03.54 | Aella | cladhaire: your script's execution time limit is imposed by the AppleScript? |
19:04.00 | cladhaire | no, actually |
19:04.09 | Aella | Altered binary? |
19:04.20 | cladhaire | no |
19:04.23 | cladhaire | its just a lua script |
19:04.24 | |FF|Im2good4u | thanks cladhaire |
19:04.34 | Aella | How does that work? |
19:04.40 | cladhaire | debug.sethook |
19:04.51 | Aella | *grumbles* debug library. |
19:04.55 | cladhaire | its a function that gets called every X instructions, or every line |
19:05.00 | cladhaire | or every function call |
19:06.18 | *** join/#wowi-lounge Thunder_Child (i=Thunder_@cpe-76-171-184-46.socal.res.rr.com) |
19:06.37 | Thunder_Child | hey cladhaire, got your book handy? |
19:06.46 | cladhaire | yes i'm open to it righ tnow |
19:06.55 | Thunder_Child | pg. 262 3rd paragraph |
19:07.15 | Thunder_Child | says 3 dashes, i see 2 in the example |
19:07.45 | cladhaire | typesetting issue |
19:07.51 | cladhaire | note the first dash is an em-dash |
19:07.52 | Thunder_Child | merged 2 of them? |
19:08.06 | cladhaire | they fucked that up more than once =( |
19:08.12 | *** join/#wowi-lounge JoshBorke (n=Josh@r54h77.res.gatech.edu) |
19:08.21 | Aella | cladhaire: what format was the manuscript in? |
19:08.35 | cladhaire | wordl |
19:08.36 | cladhaire | word |
19:08.40 | cladhaire | but it was submitted correctly |
19:08.44 | cladhaire | they messed that up in conversion |
19:08.52 | Aella | Yeah, unsurprising. |
19:08.58 | cladhaire | we had to go back and manuallyf ix every single comment in the book |
19:09.16 | Aella | ...geez, it combined every --? |
19:09.35 | cladhaire | at some point, yes |
19:09.45 | cladhaire | this one seems to have been missed as we corrected |
19:09.56 | cladhaire | -- is meaningless in english, and becomes an emdash |
19:09.59 | Thunder_Child | same on the next page as well |
19:10.03 | cladhaire | *shrug* |
19:10.20 | Thunder_Child | but 3 is correct? |
19:12.16 | cladhaire | yes. |
19:12.20 | cladhaire | and neither will "error" |
19:12.33 | cladhaire | it will just show two dashes instead of three |
19:12.54 | Industrial | Xuerian: ping |
19:21.05 | Shirik | rofl |
19:21.08 | Shirik | cladhaire that sucks |
19:21.30 | cladhaire | hehe this is the first one that snuck through i guess |
19:22.21 | *** join/#wowi-lounge Parak (i=PROFI@user-387hhso.cable.mindspring.com) |
19:22.28 | Shirik | hold up |
19:22.29 | Shirik | Thrae |
19:22.32 | Shirik | ping |
19:23.09 | Kaydeethree | anyone know offhand what the spawnrate for black lotus is in each zone? is it still an hour or did it get dropped to 15m? |
19:27.40 | *** join/#wowi-lounge Recluse (i=john@adsl-71-145-141-218.dsl.austtx.sbcglobal.net) |
19:28.10 | zenzelezz | in itself Nightbane isn't a too tough fight, but god damn do I get nervous when on my first time there they ask me to tank |
19:28.37 | Shirik | ehhe |
19:30.10 | *** join/#wowi-lounge Cide (n=Cide@hus110a.bobbnet.com) |
19:30.10 | *** mode/#wowi-lounge [+v Cide] by ChanServ |
19:30.42 | *** join/#wowi-lounge Kirkburn (n=Kirkburn@82-32-40-219.cable.ubr06.azte.blueyonder.co.uk) |
19:32.57 | *** join/#wowi-lounge Funkeh` (n=funkydud@host81-129-23-146.range81-129.btcentralplus.com) |
19:40.33 | Aella | Metatables can get pretty addicting sometimes. |
19:40.42 | *** join/#wowi-lounge Thunder_Child (i=Thunder_@cpe-76-171-184-46.socal.res.rr.com) |
19:44.20 | Shirik | <3 Metatables |
19:44.25 | Shirik | they are my crack |
19:44.57 | Aella | I just think "this could be shinier with metatables" and poof. |
19:53.06 | Industrial | Question: Can I macro to always VE when i SWP ? |
19:53.54 | JoshBorke | Industrial: you could do: /cast VE <new line> /cast SW: P |
19:54.00 | JoshBorke | erm |
19:54.02 | JoshBorke | no, wouldn't want that |
19:54.08 | JoshBorke | both trigger the global cooldown, so no |
19:55.08 | Shirik | castsequence is the best you can get |
19:56.01 | Industrial | k |
19:56.23 | Thunder_Child | or simply hit multiple buttons |
20:00.56 | |FF|Im2good4u | im just wondering is there a way to know the name f frame u see onscreen ? since i wana attach something to it or do i have ot search in the .xml files and gues a bit ? |
20:01.12 | Shirik | yup, /dtframestack |
20:01.30 | Thunder_Child | need devtools though |
20:01.37 | Thunder_Child | ~devtools |
20:01.46 | purl | Iriel's DevTools, a highly useful set of debugging tools for developers on WoW. Found at http://www.wowinterface.com/downloads/fileinfo.php?id=3999 Why isn't it in the default client yet? |
20:01.46 | Shirik | if you don't have devtools you can die |
20:01.46 | Shirik | imo |
20:01.46 | Shirik | ^^ |
20:06.20 | |FF|Im2good4u | hmm oke iv never used it in any of my addonds :P maybe i should give it a try |
20:08.03 | Corrodias | there's GetName() that you can run on the frame if you can get a reference to it |
20:12.15 | Corrodias | if you want to figure out what frame is under the mouse (and its parent frame) such that if you click here, that frame will receive the click, i think this works for it... |
20:12.16 | Corrodias | local tempframe = GetMouseFocus(); print("Current frame: "..tempframe:GetName()); tempframe = tempframe:GetParent(); if (tempframe) then print("Parent frame: "..tempframe:GetName()); else print("No parent frame"); end |
20:12.36 | Corrodias | where print() is a function defined to show text in whatever way you prefer |
20:12.52 | *** join/#wowi-lounge stavmar (n=chatzill@cpe-97-99-113-207.austin.res.rr.com) |
20:16.22 | Kaso | Corrodias problem with that one is itll only show mouse enabled frames wont it? |
20:17.13 | Kaso | also if you have a couple over-lapping frames |
20:18.53 | Corrodias | that's the point |
20:19.01 | Corrodias | i said if you want to see the one that'll receive mouse clicks |
20:19.37 | *** join/#wowi-lounge Elkano (n=elkano@ip-213-135-2-182.handshake.de) |
20:19.41 | Industrial | ~botmail for cladhaire Hey im having trouble with lightheaded. I get the error COULD NOT PARSE on the quest The Black Shield (horde side) |
20:19.57 | Kaso | oh i notice i didnt see your line there |
20:20.06 | Kaso | sorry i glanced |
20:22.58 | foxlit | Hrm. Doing boomkin math yields some rather disturbing results |
20:23.03 | Corrodias | BOOM |
20:23.18 | foxlit | 2777.142172 |
20:23.24 | foxlit | damage / average cast of starfire |
20:23.33 | Shirik | m = 0xA00 + 0x100 |
20:23.37 | Shirik | BOOm |
20:23.45 | Shirik | 0xB00 = m |
20:23.57 | Corrodias | yes. |
20:24.19 | foxlit | Those things can't stack like I think they do. |
20:24.49 | *** join/#wowi-lounge cladhaire (n=cladhair@cpe-24-58-240-137.twcny.res.rr.com) |
20:24.49 | *** mode/#wowi-lounge [+o cladhaire] by ChanServ |
20:25.48 | foxlit | Anyone familiar with how CoS stacks with other increases damage done by % effects? |
20:26.07 | Kaso | yes |
20:26.14 | foxlit | Shed some light on it! |
20:26.34 | Kaso | say you have 10% + damg and 50% + dmg, then your spells do 160% damage |
20:26.35 | Kaso | easy |
20:27.02 | foxlit | So not 100% * 110% * 150%? |
20:27.31 | Kaso | im pretty sure they work additively |
20:27.52 | foxlit | Well, that does put some brakes on this |
20:28.38 | foxlit | And what about imp fireball type effects? |
20:29.16 | foxlit | (your xyz gains an additional x% damage of your bonus damage effects)? |
20:29.44 | ScytheBlade1 | Kinda.. |
20:29.52 | Kaso | that just adds onto your spellpower co-efficent for that spell i believe |
20:29.58 | ScytheBlade1 | Imp Fireball does -2% of your +dmg coef |
20:30.08 | ScytheBlade1 | Emp Fireball does +3% +dmg coef |
20:30.31 | ScytheBlade1 | Talent them both, your fireball coef is +105% |
20:30.36 | foxlit | Poor mages |
20:30.39 | ScytheBlade1 | Err, just 105% |
20:30.49 | zenzelezz | I'm a Norwegian noob, what exactly is the "coefficient"? |
20:31.09 | Shirik | y = 3x + 2 |
20:31.10 | ScytheBlade1 | In this case, it's the percentage of your +dmg that you actually get from a spell |
20:31.13 | Shirik | coefficient is 3 |
20:31.16 | Kaydeethree | (untalented cast time/3.5)* your +dmg |
20:31.16 | Shirik | basically it's a multiplier |
20:31.27 | zenzelezz | aha |
20:33.49 | foxlit | Wonder if bonuses from idols are subject to the same thing |
20:34.33 | Kaso | all types of plus damage are i believe |
20:36.12 | Kaydeethree | get a mod like DrDamage and you can tell it to show you your +dmg coefficient for all of your spells |
20:36.49 | foxlit | I'm not interested in a mod that shows me my +dmg coefficient for all my spells |
20:37.18 | foxlit | Besides, where does it get information on how they stack? :) |
20:37.32 | Kaydeethree | lots of reverse-engineered testing |
20:38.17 | foxlit | Can I get the results of that somewhere? |
20:38.22 | |FF|Im2good4u | hmm great i created a checkbox it does recieve on click event but i cant see it while i have set all textures ? |
20:38.27 | Kaydeethree | http://www.wowwiki.com/Category:Formulas_and_Game_Mechanics |
20:40.29 | foxlit | Not really that great, those pages |
20:41.36 | Corrodias | that's all we've got |
20:41.39 | |FF|Im2good4u | can anyone maybe tell me why i can click my checkbos and recieve the on clicked event but i cannot see it ? http://wowi.pastey.net/56643 |
20:41.40 | Corrodias | if you have more information, improve them |
20:41.54 | foxlit | I don't, or I wouldn't be looking :) |
20:42.23 | Guillotine | Question: I know theres a limit on data somewhere in lua. Is it based on a) The size of a table, b) the size of a file, c) the size of a variable? |
20:42.46 | Kaso | limit on data? |
20:43.13 | Guillotine | e.g. why you have to purge your Auctioneer data every so often |
20:43.23 | Elkano | wasn't there a limit of 256 chars per string or sth like that? |
20:43.32 | Guillotine | Elkano: definately not |
20:43.38 | Guillotine | I have a string of several thousand characters |
20:43.43 | Guillotine | that stores data for all items |
20:44.07 | Guillotine | and that loads fine. But I'm trying to figure out how I should put together the data of the talent specs for everyone on my battlegroup |
20:44.07 | Kaso | Guillotine thats just an auctioneer imposed limit i think |
20:44.18 | Elkano | or a larger number... iirc the savedvariables used to have some kind of problem with that |
20:44.32 | Guillotine | Kaso: no, if a SavedVariables file is big enough, it won't load. I know that. I'm just trying to figure out exactly why that is |
20:44.36 | Guillotine | what the exact limit is |
20:45.55 | cladhaire | Luabot has been enabled, prefix a command with lua> to have me run it. |
20:45.58 | Corrodias | really? :o |
20:46.09 | Corrodias | an SV file too large won't load? |
20:46.30 | Guillotine | ya. it just logs you out immediately as you log in |
20:46.37 | Guillotine | its a rather large limit |
20:46.37 | Kaydeethree | lua> print("Hello World!") |
20:46.38 | cladhaire | Kaydeethree:lua> Hello World! |
20:46.45 | Corrodias | how large are we talking? |
20:46.48 | Guillotine | but less than the data for all character specs |
20:46.56 | Guillotine | Corrodias: I really don't know the exact limit |
20:46.58 | MentalPower|Food | Guillotine: (2^18)-1 constants |
20:47.15 | Guillotine | MP: thanks .is that per table, per variable, or per file? |
20:47.20 | MentalPower|Food | per file |
20:47.28 | Elkano | I wonder if the lua-bot running on cladhaire's account is based on the one cide used |
20:47.35 | Cide | it is |
20:47.38 | cladhaire | roughly, yes |
20:47.39 | Corrodias | what do you mean by "(2^18)-1 constants"? |
20:47.39 | Guillotine | alright. So I'll just put each realm in its own file |
20:47.42 | cladhaire | same overall sandbox |
20:47.45 | cladhaire | same trace functino |
20:47.59 | Elkano | so the flaws yours had have already been fixed? eg the strin concat one? |
20:48.23 | MentalPower|Food | http://auctioneeraddon.com/scm/browser/branches/4.2/auctioneer/AucUtil.lua |
20:48.45 | MentalPower|Food | look at the checkConstantsLimit(), getNumConstants(...) and getConstants(tbl, constants, recursedTables) functions |
20:49.44 | |FF|Im2good4u | does nobosy know wut iv done wrong ? (http://wowi.pastey.net/56643) |
20:49.47 | Corrodias | i don't understand what's going on here |
20:49.58 | Corrodias | is there a limit to the number of constants you can have defined in a file? |
20:50.04 | cladhaire | yes |
20:50.05 | cladhaire | he's just said that |
20:50.08 | Shirik | |FF|Im2good4u: What's the problem? |
20:50.08 | Corrodias | i've lost the context of this conversation |
20:50.08 | cladhaire | a few times actually =) |
20:50.15 | MentalPower|Food | If you can wait 30mins I can explain it, but I gotta leave for work |
20:50.19 | krka | hmm... |
20:50.20 | Corrodias | he did not.. |
20:50.21 | Shirik | |FF|Im2good4u: You need to escape your backslashes |
20:50.30 | krka | why is it 2^18 - 1 and not 2^18? |
20:50.41 | krka | the LOADK opcode should use 18 bits |
20:50.48 | Shirik | alternatively, instead of frame:SetCheckedTexture("Interface\Buttons\UI-CheckBox-Check") , use frame:SetCheckedTexture[[Interface\Buttons\UI-CheckBox-Check]] |
20:50.58 | Corrodias | you said that you didn't know what the limit to the size of a savedvariables file is. he said "<number> constants", which doesn't use the same unit of measure at all |
20:51.07 | Corrodias | i couldn't work it into an answer for that question |
20:51.09 | Shirik | frame:SetCheckedTexture("Interface\\Buttons\\UI-CheckBox-Check") , use frame:SetCheckedTexture[[Interface\Buttons\UI-CheckBox-Check]] --< one of those |
20:51.16 | zenzelezz | http://icanhascheezburger.files.wordpress.com/2007/06/hay-be-nice-emokitteh-is-sensitive.jpg pwn |
20:51.19 | foxlit | Couldn't you be evil and self-serialize into a few string variables? |
20:51.48 | Corrodias | but okay, i'll be here in 30 minutes :) |
20:51.55 | Guillotine | foxlit: thats what I did with my item database >.> Its all in 1 LONG string |
20:52.02 | Shirik | wow |
20:52.13 | krka | limit of filesize would be roughly 2^32 * 2^18 |
20:52.27 | krka | i guess |
20:52.36 | Guillotine | f:write("i"..itemId..":"..itemPrice) |
20:52.44 | Guillotine | and a long string with repititions of that for every item |
20:53.49 | Kaso | you're keeping it as one long string? why's that? |
20:54.23 | |FF|Im2good4u | ah yeh i jsut copied those out of xml file i forgot to convert them to lua strings >.< thanks ill try that |
20:54.32 | *** join/#wowi-lounge [dRaCo] (n=drc@p54858194.dip0.t-ipconnect.de) |
20:54.42 | cladhaire | only one string gets hashed, takes up less memory than a hash table with 50k entries, and string.find is fast enough |
20:54.45 | cladhaire | i'd guess |
20:54.57 | Guillotine | QFT |
20:54.57 | krka | string.find is not really that fast for long strings |
20:55.01 | Guillotine | also, clad told me to >.> |
20:55.08 | Guillotine | its plenty fast enough |
20:55.13 | cladhaire | krka: but its not slow in this case |
20:55.20 | krka | i'd do it fixed width, so i could binary search |
20:55.33 | cladhaire | aye, you could split it more intelligently |
20:55.41 | Guillotine | I'd do that if I knew what it meant |
20:55.43 | cladhaire | but a table with 50k entries is a patently bad idea =) |
20:55.45 | krka | <itemid:16chars><itemprice:8chars> |
20:55.47 | krka | or something |
20:55.49 | Guillotine | ah |
20:55.59 | krka | then you'd now which positions contain itemids |
20:56.08 | krka | then you keep the items sorted by itemid in the string |
20:56.14 | *** join/#wowi-lounge Esamynn (n=jbcc@64.180.64.72) |
20:56.21 | Guillotine | the problem is with the big gaps in places where there is no item |
20:56.26 | krka | no no |
20:56.29 | krka | you misunderstand |
20:56.33 | Guillotine | I suppose so |
20:56.40 | Guillotine | care to re-explain? |
20:56.55 | *** join/#wowi-lounge Esamynn (n=jbcc@64.180.64.72) |
20:57.03 | krka | you write something like this: 0x001341:000100,0x051501:001000 |
20:57.25 | krka | (: and , are actually redundant since its fixed width) |
20:57.37 | krka | then you can binary search for a given item id |
20:57.42 | Guillotine | ah, I see |
20:57.49 | Guillotine | *shrug* I may do that eventually |
20:57.52 | *** join/#wowi-lounge Esamynn (n=jbcc@64.180.64.72) |
20:57.53 | cladhaire | I prefer using \031 and \032 and friends as field/record seperators |
20:58.04 | cladhaire | but that only matters when : could show up, if you're using =) |
20:58.04 | krka | actually, i'd probably just use a hash table of item id -> item price |
20:58.18 | cladhaire | <PROTECTED> |
20:58.29 | krka | really? |
20:58.34 | cladhaire | and lookup speed isn't an issue with what he has |
20:58.40 | krka | how much larger than the string? |
20:58.57 | cladhaire | he could tell you, I dont have the listing to go through |
20:59.09 | cladhaire | but consider that each string needs to be hashed individually |
20:59.20 | krka | you could use doubles |
20:59.22 | *** join/#wowi-lounge Esamynn (n=jbcc@64.180.64.72) |
20:59.30 | krka | err, "numbers" in lua |
21:00.57 | cladhaire | lua> sgc = gcinfo() t = {} for i=1,50000 do t[i] = tostring(i) end print(gcinfo() - sgc) |
21:00.58 | cladhaire | cladhaire:lua> 2085 |
21:00.58 | *** join/#wowi-lounge Esamynn (n=jbcc@64.180.64.72) |
21:01.00 | cladhaire | lua> gsc = gcinfo() t = "" for i=1,50000 do t = t .. tostring(i) end collectgarbage("collect") print(gcinfo() - sgc) |
21:01.04 | cladhaire | cladhaire:lua> maximum execution time (5s) exceeded |
21:01.20 | cladhaire | hrm.. gotta be creative about it =) |
21:01.21 | Guillotine | cladhaire: highest is at around 35k |
21:01.29 | *** mode/#wowi-lounge [+v Esamynn] by ChanServ |
21:01.30 | Guillotine | just FYI |
21:01.58 | *** join/#wowi-lounge Aella (n=Aella@74.221.43.140) |
21:01.59 | foxlit | Hm, so I get that boomkins can do 105324damage / manapool vs 73in one minute, 47 seconds |
21:02.07 | cladhaire | krka: 50k for the long string. |
21:02.12 | cladhaire | as opposed to 2085 |
21:02.20 | cladhaire | lua> sgc = gcinfo() t = {} for i=1,50000 do t[i] = tostring(i) end collectgarbage("collect") print(gcinfo() - sgc) |
21:02.20 | cladhaire | cladhaire:lua> 2084 |
21:02.32 | cladhaire | Not an entirely fair example, since the size of the string grows with i |
21:02.42 | cladhaire | but 2 megs versus 50k is pretty telling |
21:02.53 | Shirik | gcinfo is evil!! |
21:03.26 | foxlit | wru, dps classes! Tell me if 105324 |
21:03.29 | foxlit | fs, tabs |
21:03.38 | foxlit | damage / 2 minutes is any good :) |
21:04.19 | Kaydeethree | lua> 105324/120 |
21:04.19 | cladhaire | Kaydeethree:lua> 877.7 |
21:04.34 | Kaydeethree | 877 dps? not bad |
21:04.42 | Kaso | foxlit i think burning a mana pool in 1.47 is pretty crappy though |
21:04.45 | foxlit | 981.9096564 |
21:05.03 | foxlit | technically, since I rounded from 1:47 |
21:05.38 | Kaydeethree | that's so-so, then. unsustainable over most end-game bossfights, though |
21:05.39 | zenzelezz | foxlit: DPS on what? |
21:05.47 | foxlit | straight starfire spam |
21:05.53 | foxlit | in a raid environment |
21:05.59 | foxlit | vs a level 73 target |
21:06.08 | *** join/#wowi-lounge Kody (n=kody@adsl-71-141-104-77.dsl.snfc21.pacbell.net) |
21:06.18 | Kaydeethree | how long did the fight last after you went oom? |
21:06.20 | krka | sgc = gcinfo() t = {} for i=1,50000 do t[i] = 100*i end print(gcinfo() - sgc) |
21:06.25 | krka | that's a better test, imo |
21:06.30 | foxlit | I didn't, it's entirely theorycrafted |
21:06.31 | krka | gsc = gcinfo() t = "" for i=1,50000 do t = t .. ":" .. tostring(i) .. "=" .. tostring(i * 100) end collectgarbage("collect") print(gcinfo() - gsc) |
21:06.32 | cladhaire | so run it |
21:06.35 | krka | i did |
21:06.39 | cladhaire | lua> sgc = gcinfo() t = {} for i=1,50000 do t[i] = 100*i end print(gcinfo() - sgc) |
21:06.39 | cladhaire | cladhaire:lua> 767 |
21:06.41 | cladhaire | for all to see |
21:06.41 | krka | i got 1019 |
21:06.46 | cladhaire | lua> gsc = gcinfo() t = "" for i=1,50000 do t = t .. ":" .. tostring(i) .. "=" .. tostring(i * 100) end collectgarbage("collect") print(gcinfo() - gsc) |
21:06.51 | cladhaire | cladhaire:lua> maximum execution time (5s) exceeded |
21:06.54 | cladhaire | wait |
21:06.54 | krka | that's gonna take a while |
21:06.57 | cladhaire | why is that a fair comparison? |
21:07.16 | krka | wasn't that the format that was used? |
21:07.21 | krka | more or less |
21:07.41 | krka | the string was 677788 bytes long anyway |
21:07.47 | cladhaire | well we're skewing our own data |
21:07.50 | cladhaire | lets make this easy |
21:07.57 | krka | so for that test, the table is only slightly larger |
21:07.59 | foxlit | <Kaydeethree> how long did the fight last after you went oom? |
21:08.06 | krka | 1 meg vs 0.677 meg |
21:08.21 | foxlit | AP regen should mitigate some of that; it's not interly over past 1:47 |
21:08.31 | Aella | What exactly are you guys testing? Concats? |
21:08.35 | krka | im assuming that item ids and item prices are both integers |
21:08.39 | krka | perhaps that's wrong |
21:08.48 | cladhaire | its possible |
21:08.55 | cladhaire | the prices certainly should be |
21:09.02 | cladhaire | so yes, that saves a lot in the table version |
21:09.10 | krka | if item ids are strings of a certain format, they should certainly be possible to encode as a lua number :) |
21:09.13 | Aella | Item sell prices can theoretically be fractional, but they can't be observed in-game as such. |
21:09.23 | MentalPower|Food | Corrodias, Guillotine: I'm back, whatcha need? |
21:09.28 | Corrodias | hey there |
21:09.38 | Aella | Item ids are always integers (unless you account for random suffixes). |
21:09.39 | Corrodias | could you explain this constants/size/whatever limit for savedvariables files? |
21:09.45 | Guillotine | MP: I'm good ;) Was just wondering whether the limit was per file, per table, or per variable |
21:09.52 | krka | imo, it's worth having a 40% or something larger data size for the ease of use and speed increase |
21:09.53 | Guillotine | now I know I can just store my data in multiple files |
21:10.01 | cladhaire | he said earlier, per file |
21:10.08 | Kaso | Aella, items with fraction sell prices arent vendorable iirc? like lowbie arrows |
21:10.12 | Aella | How many bytes per file? |
21:10.16 | MentalPower|Work | A constant is defined as a key or value in a table |
21:10.24 | krka | cladhaire: assuming that blizzard compiles each file seperately |
21:10.25 | Aella | Kaso: right, the only way to determine them is to take purchase price / 4. |
21:10.28 | Guillotine | cladhaire: I know :) I was just telling him he answered my question |
21:10.35 | cladhaire | okay =) |
21:10.36 | MentalPower|Work | so in something like "table={foo=bar}" is three constants |
21:11.10 | Aella | So it's not a fixed size, just a number of constants? |
21:11.11 | krka | i'd encode it as a string for SV, but deserialize it into a table when starting |
21:11.13 | MentalPower|Work | however constants are unique |
21:11.41 | MentalPower|Work | so something like "table={foo=bar, baz=bar}" is only 4 constants |
21:11.48 | MentalPower|Work | since bar is used twice |
21:12.03 | krka | note that numbers are also considered constants |
21:12.05 | Aella | MentalPower|Work: this is for the limit on SavedVariables? |
21:12.17 | MentalPower|Work | on any file in Lua, SavedVariables included |
21:12.29 | Aella | Ah, it's a Lua engine imposed limit? |
21:12.37 | krka | yes |
21:12.45 | MentalPower|Work | if you exceed (2^18)-1 constants in a file you get a "constant table overflow" error on login |
21:12.46 | Aella | I thought SavedVariables were no longer loaded via Lua... |
21:12.50 | krka | the LOADK opcode uses 18 bits to reference constant index |
21:12.51 | MentalPower|Work | s/login/file load/ |
21:13.04 | cladhaire | Aella: what gave you that impression? |
21:13.14 | Aella | Thought Slouken mentioned it once. |
21:13.20 | MentalPower|Work | Aella: layman's SVs still are, blizz's SVs are not |
21:13.22 | krka | hm, that's an interesting point. can you insert custom lua code in SV? |
21:13.35 | MentalPower|Work | brb |
21:13.40 | Shirik | it would likely be overwritten on next logout |
21:13.43 | krka | do blizzard just loadfile("sv.lua")? |
21:13.46 | Shirik | I wouldn't be surprised if it rewrites the whole file |
21:13.48 | Aella | Ah, because Blizzard's SVs are treated as untainted... |
21:15.19 | Aella | Is table = {"something", "something else"} treated as three constants or five? |
21:15.42 | Aella | And is table = { [1] = "something", [2] = "something else"} treated the same way? |
21:15.47 | Shirik | yup |
21:16.07 | Aella | So, my question then is are array indices counted as constants? |
21:16.12 | Shirik | {"something", "something else"} is syntactically equivalent to {[1] = "something", [2] = "Something else"} |
21:16.31 | Corrodias | that doesn't answer the question |
21:16.32 | Shirik | Aella: My guess is yes, but it's a lua implementation thing, not a WoW one, iirc |
21:16.36 | krka | Aella: two constants, i think |
21:16.45 | krka | err sorry |
21:16.48 | krka | missed "table" |
21:16.49 | Guillotine | 3. table, table[1], and table[2] |
21:16.49 | Shirik | (yes, two constants) |
21:17.03 | Shirik | one for key, one for array, but |
21:17.10 | Shirik | for array parts of a table, only one constant |
21:17.12 | Shirik | for hash parts, 2 |
21:17.16 | Aella | Cool. |
21:17.19 | Shirik | (this is mostly a guess, but it makes sense to me) |
21:17.29 | MentalPower|Work | hmm... good question |
21:17.34 | krka | all strings and almost all numbers are constants |
21:17.37 | krka | that's it |
21:17.38 | Shirik | right |
21:17.43 | Shirik | that's what I based the statement off |
21:17.47 | Corrodias | our realm is infested with too many nelfs |
21:17.54 | Aella | Yeah, but the array portion of a table doesn't store the constants. |
21:18.09 | Guillotine | I really wish I could be a dwarf or gnome ;( Damn druids only being NEs on alliance |
21:18.33 | krka | Aella: that sentence didnt make sense to me |
21:19.24 | Aella | In the VM, the array portion of a table doesn't store index = value, just a flat list of values... |
21:19.37 | Aella | So are the indices still constants? |
21:20.04 | Shirik | they don't really "exist" |
21:20.04 | krka | no, the bytecode for generating those dont require constants |
21:20.11 | Shirik | just the values are there |
21:20.14 | krka | hmm... or maybe if it's really long |
21:20.16 | Shirik | the index is a memory offset |
21:20.24 | krka | like over 256 perhaps |
21:20.35 | krka | then it would need to store the last index as a constant |
21:20.42 | Aella | The *last* index? |
21:20.43 | Aella | Only? |
21:20.54 | krka | actually i am not sure |
21:21.16 | krka | i should read more on the setlist operator |
21:21.19 | MentalPower|Work | Iriel would know for sure, since he was the one that told us the limitation |
21:21.49 | Guillotine | Iriel would know for sure, since he is Lua incarnate |
21:22.05 | Guillotine | srsly |
21:22.06 | krka | ah no, sorry |
21:22.07 | MentalPower|Work | Also note that Auctioneer is the only AddOn known to cause this issue in the wild |
21:22.18 | krka | i think pure array part doesnt require constants for indices |
21:22.19 | Shirik | constant table overflow issue? |
21:22.22 | krka | unless it's really sparce |
21:22.24 | krka | sparse* |
21:22.26 | Shirik | I've caused that issue before |
21:22.28 | Shirik | but not in the wild :P |
21:22.34 | Aella | Well, yeah, I'd expect a sparse array to do it. |
21:22.35 | Shirik | and it was mostly intentional |
21:22.38 | Guillotine | MP: I'm thinking my addon that has the talent spec of EVERY level 70 in my battlegroup would hit that limit as well |
21:22.41 | cladhaire | Jesus |
21:22.54 | MentalPower|Work | Jesus indeed! |
21:22.57 | Shirik | krka: From talking with rici last night, a sparse table does not use the array part |
21:23.03 | Shirik | even if you have an element at every 2^n index |
21:23.17 | cladhaire | If you were hypothetically reading a book about Programming Addons for World of Warcraft.. how deep would you want the section on the XML format (nothing wow specific) to be? |
21:23.19 | Aella | Array part is only used from 1...n. |
21:23.27 | Aella | On the XML format in general? |
21:23.32 | cladhaire | yes |
21:23.33 | krka | Shirik: right |
21:23.39 | Aella | Don't explain namespaces. |
21:23.46 | Shirik | 17:22:44 ‹krka› unless it's really sparce |
21:23.52 | Guillotine | cladhaire: Hacking World of Warcraft 2? |
21:23.53 | Aella | Don't go more in-depth than <tag /> == <tag></tag> |
21:23.53 | cladhaire | Aella: so no namespaces, no xsd? |
21:23.54 | Shirik | reason is because it's not array part anymore :) |
21:24.02 | cladhaire | Guillotine: s/Hacking// |
21:24.08 | Shirik | cladhaire: I vote 0 section on xml ^^ |
21:24.14 | MentalPower|Work | xsd is good |
21:24.22 | MentalPower|Work | atleast validation against an xsd |
21:24.23 | cladhaire | MentalPower|Work: but WHAT to show them? |
21:24.23 | krka | i'm mostly pondering this: {[1] = "a", [2] = "b", [4] = "c"} |
21:24.46 | Aella | Stop at saying what xmlns:xsi and xsi:schemaLocation do, and leave it at that |
21:24.56 | Guillotine | depends. If its a beginner's book, I'd want it to go into inheriting frames and thats about the limit |
21:25.00 | Guillotine | if its for more advanced users... |
21:25.01 | krka | will the lua compiler make OP_SETLIST of "a", "b", nil, "c" or a bunch of table inserts |
21:25.04 | Shirik | krka: From my tests that should cause [3] to be allocated too |
21:25.05 | krka | or a combination |
21:25.09 | Shirik | just set to nil |
21:25.10 | cladhaire | Guillotine: both |
21:25.37 | Guillotine | then ya, probalby xsd |
21:25.41 | MentalPower|Work | and mention that certain programs like a, b and c do validation against the xsd |
21:25.47 | Guillotine | don't really need namespaces |
21:25.48 | krka | ah... |
21:25.53 | krka | i tested it, it doesn't use SETLIST |
21:25.55 | cladhaire | Well, I don't know much about them, to begin with |
21:25.57 | krka | interesting |
21:25.58 | Aella | Well, definitely don't explain the XML schema format. |
21:26.01 | Shirik | what does it use? |
21:26.05 | krka | SETTABLE |
21:26.09 | krka | three of them |
21:26.09 | Shirik | (I should go test this myself) |
21:26.14 | cladhaire | So, explain the overall format |
21:26.23 | cladhaire | Mention how XSD works |
21:26.23 | Aella | cladhaire: you could explain how to read UI.xsd. |
21:26.31 | cladhaire | show them how they can use Jaxe to look at UI.xsd |
21:26.39 | krka | don't think the compiler tries to be smart |
21:26.45 | cladhaire | mention validation of XML against an XSD |
21:26.46 | cladhaire | and blamo, done. |
21:26.53 | MentalPower|Work | yes, 5.1 does settable whenever it sees {[1]=foo, [2]=bar} |
21:27.02 | MentalPower|Work | even if the array is not sparse |
21:27.14 | MentalPower|Work | thats why slouken had to change the WoW serializer |
21:27.27 | krka | by not doing [1], [2], it uses setlist instead |
21:27.34 | MentalPower|Work | correct |
21:27.40 | *** join/#wowi-lounge Adys|Miranda (n=Miranda@APoitiers-256-1-26-170.w90-16.abo.wanadoo.fr) |
21:27.49 | Shirik | why? |
21:27.52 | krka | so it's possible, for large tables, that indices requires constants if they're larger than 255 |
21:27.54 | Shirik | that's... |
21:27.56 | Shirik | odd |
21:27.57 | Aella | Anyone know what happens in the event that you do t[1] = x; t[1000] = x; for i = 999, 2, -1 do t[i] = x; end... will that end up as an array section or a hash section? |
21:28.05 | krka | if they're explcitly written in the source |
21:28.10 | Shirik | Aella: It gets converted to an array ;) |
21:28.28 | Shirik | as it reallocates |
21:28.32 | krka | Shirik: why is it odd? |
21:28.35 | Aella | Shirik: ah, that makes sense. |
21:28.38 | Shirik | because, I've always been told |
21:28.46 | Shirik | {1, 2} == {[1] = 1, [2] = 2} |
21:28.55 | krka | well, semantically it is |
21:29.03 | Shirik | the fact that the bytecode is different suggests that different processes are going on |
21:29.08 | krka | indeed |
21:29.09 | Shirik | semantically it is, sure |
21:29.12 | MentalPower|Work | in 5.0 its completely true, in 5.1 its only semantically true |
21:29.37 | Aella | Shirik: what if it doesn't reallocate when it hits t[2]? Is there a "gap" distance that it says "okay, make it an array"? |
21:29.39 | krka | if you're really anal about speed, you'd use the first version if you could :) |
21:29.50 | krka | Aella:something like that |
21:29.53 | zenzelezz | I really dislike the Malchezaar encounter; depends too much on luck with the infernals |
21:29.57 | krka | feel free to look through the lua source |
21:29.59 | krka | it's really interesting |
21:30.07 | Shirik | I don't know the details of when it decides to use an array part and when to use a hash part |
21:30.10 | Aella | I need to set aside the time to do that sometime. =P |
21:30.19 | Shirik | But I do know that it makes the best decisions it can |
21:30.34 | krka | basically it counts how many elements are between [1, 2^N] |
21:30.35 | Shirik | which includes, at some point during that code segment you gave, coverting it into an array instead of a hash |
21:30.48 | krka | if it's high enough, it allocates an array part up to 2^N |
21:30.50 | Shirik | but starting out with {[1] = 1, [1000] = 1000} |
21:30.55 | krka | this is also done on every rehash |
21:31.09 | krka | i.e. when it tries to add something and it cant find a spot for it |
21:31.12 | cladhaire | table reallocs are killer |
21:31.13 | Aella | krka: so basically your conclusion is that when Lua loads a Lua file, {3, 4} is two constants while {[1] = 3, [2] = 4} is four constants. |
21:31.14 | Shirik | yeah I knew the whole 2^n part I just didn't know how it decides from there |
21:31.33 | krka | Aella: not for that case - lua doesn't need constants for integers 0 - 255 |
21:31.39 | krka | afaik |
21:31.52 | MentalPower|Work | I'll need to ask Iriel about that case |
21:32.01 | krka | ask someone in #lua |
21:32.01 | cladhaire | 8-Ball says: "Absolutely." |
21:32.08 | krka | they're the experts |
21:32.09 | Aella | Okay, so the array has to go over 255 elements for it to matter. |
21:32.10 | cladhaire | lol |
21:32.14 | cladhaire | i should change that bot's trigger |
21:32.16 | krka | and really friendly about technical questions |
21:32.20 | cladhaire | but its too amusing to both =) |
21:32.23 | MentalPower|Work | my code currently assumes its four constants |
21:32.33 | MentalPower|Work | whatever the original literal is |
21:32.33 | cladhaire | ask Are monkeys mammals? |
21:32.34 | cladhaire | 8-Ball says: "I have my doubts." |
21:33.25 | *** join/#wowi-lounge amro_ (n=amro@82.101.184.170) |
21:33.28 | MentalPower|Work | gnight krka |
21:34.10 | cladhaire | why? |
21:34.36 | Aella | So you could get metaevents for times when a key isn't nil. |
21:34.45 | cladhaire | use a proxy table. |
21:34.47 | Aella | Though it'd probably wreak havok with performance. |
21:34.49 | cladhaire | its like three lines of code. |
21:35.00 | kergoth | proxy tables don't work properly in the general case. __len doesn't work on tables |
21:35.01 | Aella | Yeah, but that's twice as many table allocations. =P |
21:35.01 | cladhaire | it would as a default metamethod, that's why they don't exist |
21:35.03 | kergoth | (idiotic) |
21:35.12 | Aella | Wait, it just doesn't *work*? |
21:35.15 | cladhaire | Aella: uhh, no its one extra table. |
21:35.35 | cladhaire | kergoth: correct, but if you're the one regulating the data, thats managable. |
21:35.39 | Aella | If there's one table. If you've got five tables, it's five proxy tables and five data tables. |
21:35.48 | cladhaire | if your data is broad, yes |
21:35.54 | cladhaire | I'd say thats bad data design =) |
21:36.47 | Aella | If you were making an OOP system for Lua, wouldn't you need two tables for each object? |
21:36.52 | Aella | Assuming a proxy table. |
21:37.05 | cladhaire | if you need a proxy table for an OOP system i'd again claim design fault =) |
21:37.09 | cladhaire | I mean, yes, I agree it woudl bve useful |
21:37.17 | cladhaire | but we can easily design or code around the limitation P |
21:37.28 | cladhaire | kergoth: use newproxy() then, __len should work on it. |
21:37.39 | kergoth | it does, and i have, but it's still not generally useful |
21:37.57 | Aella | WoW Lua doesn't have newproxy(), does it? |
21:37.57 | kergoth | because table.* abort on userdata, they dont try to operate anyway |
21:37.57 | cladhaire | =) |
21:37.57 | kergoth | Aella, it does |
21:37.58 | Aella | *blinks* news to me. |
21:38.05 | cladhaire | well its not really useful |
21:38.07 | cladhaire | so no one bothers |
21:38.18 | Aella | What does/doesn't it do? |
21:38.30 | clad|dinner | it doesn't do much more than a table |
21:38.40 | clad|dinner | for one |
21:38.49 | clad|dinner | okay, i'm off to dinner |
21:38.54 | kergoth | it just creates a userdata. it can use __len, and you can use the gc metamethod, but it has limitations as well, since it doesnt act like a table, so any assignment/lookup has to go through the metamethods |
21:38.57 | kergoth | which adds overhead |
21:39.03 | kergoth | since it cant cache in itself |
21:39.15 | Aella | But if you're doing a proxy for both get/set, you wouldn't be caching anyway. |
21:39.16 | kergoth | usually not worth it |
21:39.32 | Aella | Since if you did proxy[t] and then proxy[t] = "x" it wouldn't propagate. |
21:39.46 | kergoth | thats about the only time itd be useful, but keep in mind you cant use the table.* methods on the proxy. you'd have to, say, for i=1,#foo do ... end |
21:39.49 | kergoth | rather htan using ipairs |
21:39.55 | kergoth | or write a custom iterator |
21:40.09 | Aella | Yeah, that's survivable. Since a proxy table couldn't use those methods anyway. |
21:40.35 | kergoth | if tables could use __len, they could :| |
21:40.44 | Aella | Not pairs(). |
21:41.08 | Aella | And don't most of the table.* functions bypass metamethods? |
21:41.39 | Shirik | huh? |
21:41.41 | kergoth | good question, i cant remember |
21:41.50 | Aella | Fairly sure table.insert ignores #len. |
21:41.54 | Shirik | guess I shouldn't be trying to understand without reading the rest of the conversation |
21:42.24 | kergoth | __len doesnt work for tables anyway, so it wouldnt either way right now |
21:42.25 | kergoth | heh |
21:42.29 | kergoth | but probably |
21:43.35 | Aella | Another question, any guesses which would be faster, x .. "_" or t[x], assuming that t[x] = t[x] .. "_"? |
21:43.59 | Aella | s/t[x] .. "_"?/x .. "_"? |
21:44.05 | Aella | ^ failure. |
21:44.13 | Shirik | depends |
21:45.33 | Shirik | has t[x] already been calculated? |
21:45.33 | Aella | Yes. |
21:45.34 | Aella | a.k.a. would it be faster to cache the result of the concat or just do it every time? |
21:45.34 | *** join/#wowi-lounge KarlThePagan (n=andross@66.225.8.145) |
21:45.34 | Shirik | x is local? |
21:45.34 | Aella | Yep. |
21:45.40 | Aella | But it's only being accessed once each time... |
21:45.40 | Shirik | I would probably just do the concatenation every time |
21:45.41 | Aella | x.."_" vs. t[x] |
21:46.14 | Shirik | you're looking at obfuscation over something that is a minimal improvement at best, and we haven't even proven it's an improvement |
21:46.14 | Aella | Even though after the concat it has to search through the string table to see if it already exists? |
21:46.37 | Shirik | why does it have to do that? |
21:46.49 | Aella | String references are unique? |
21:46.56 | Aella | It does the concat and then a hash lookup. |
21:47.08 | Aella | As far as I can see it's a hash lookup either way. |
21:47.17 | Aella | Though chances are with different implementations. |
21:47.36 | Shirik | well, it's a common tradeoff |
21:47.45 | Shirik | you're looking at wasting memory for performance |
21:47.53 | Shirik | depending on what you're really trying to do, it could go either way |
21:48.32 | Cide | http://forums.worldofwarcraft.com/thread.html?topicId=108419897&sid=1 |
21:48.37 | Cide | aww, won't someone help the poor fella out? |
21:48.57 | kergoth | i'm showing a concatenation is 0.39μs and a table index on a non-existing element without an __index in an mt is 0.27μs, in some quick testing in a lua interpreter |
21:49.14 | Aella | Non-existing element? |
21:49.32 | kergoth | existing is 0.15μs |
21:49.44 | Aella | Hmm, so it *is* somewhat faster. |
21:49.46 | kergoth | just not worth the added code complexity imo |
21:49.54 | Shirik | I don't see how that's possible. If it doesn't exist |
21:49.57 | Shirik | you have to do the concatenation anyway |
21:50.14 | Aella | Since he doesn't have an __index, I'm assuming it's just one that returns nil. |
21:50.15 | Shirik | which would imply that you have the concatenation time plus table access time |
21:50.16 | Cide | preemptive optimization is very bad |
21:50.22 | Cide | don't bother if you don't need it |
21:50.35 | Aella | It's also somewhat additional abstraction. |
21:50.48 | Aella | s/additional/more/ |
21:50.55 | kergoth | Shirik, quite, i only tested the raw operation, no combinations |
21:51.00 | Shirik | ok |
21:51.02 | kergoth | Aella, no, there was no mt in that test. having an mt without __index is an added lookup in that operation |
21:51.08 | Aella | Right. |
21:51.38 | Aella | That happens once per identifier, though, not worried about that--only adds the lookup if the item doesn't exist, correct? |
21:55.30 | Shirik | I agree with what Cide said btw |
21:55.34 | Shirik | 17:50:38 ‹+Cide› preemptive optimization is very bad |
21:55.46 | Aella | This is completely theorycrafting at the moment. |
21:57.05 | Aella | But look at it this way... the only reason to use x.."_" inline is... optimization. |
21:57.32 | Aella | I'm just translating an identifier x to another identifier y. |
21:57.41 | kergoth | code it so it's comprehensible and intuitive, and come back and performance test it later :P |
21:57.50 | Cide | what kergoth said |
21:57.54 | Cide | readability is king |
21:58.09 | Aella | And methinks x.."_" loses there too. =P |
21:58.20 | Aella | Well, at least in the prettiness departmnet. |
21:58.22 | Aella | *department |
21:58.23 | Kaelten | whats the function that lets you run code from a string? |
21:58.26 | Aella | loadstring |
21:58.31 | Shirik | loadstring |
21:58.38 | Cide | I think it's loadstring |
21:58.44 | Shirik | or better yet |
21:58.49 | Aella | RunScript |
21:58.51 | Aella | D= |
21:58.54 | Shirik | assert(loadstring(string))() |
21:59.24 | Cide | yep |
21:59.42 | Dagron | so, can anyone tell me why when i first load up my addon it doesn't look right, but after doing two reloadui's its fine? |
21:59.57 | Aella | You aren't waiting for the server to respond before asking for some info? |
22:00.08 | Dagron | how do i make it wait to ask? |
22:00.12 | Aella | Wait for the event. |
22:00.15 | Aella | What are you asking for? |
22:00.21 | Dagron | guild list |
22:00.31 | Aella | Call GuildRoster() on login and wait for GUILD_ROSTER_UPDATE. |
22:00.39 | Dagron | alright |
22:00.47 | Dagron | i'll try it, thanks |
22:01.18 | Aella | *Fairly* sure you can call GuildRoster() at login. |
22:01.25 | Aella | But you may have to wait for PLAYER_ENTERING_WORLD or some such., |
22:03.47 | *** join/#wowi-lounge |Jelly|napping (n=ChatZill@adsl-75-63-246-137.dsl.rcsntx.sbcglobal.net) |
22:07.40 | *** join/#wowi-lounge Tuller (n=chatzill@c-76-27-166-119.hsd1.va.comcast.net) |
22:09.16 | zenzelezz | anyone know if it will be long until 2.1.2? |
22:09.31 | Aella | 2-9 days. |
22:09.54 | zenzelezz | hm, not too bad... but I want it now :-( Would be so nice to not have to play with helm display turned off |
22:12.40 | *** join/#wowi-lounge Telrin (n=test@shandalar.xs4all.nl) |
22:14.34 | Kaydeethree | 9 days... they're pushing arena season 2 with the patch |
22:16.03 | Dagron | so... i get it to wait till player enters world... and then my code tells me i'm not in a guild... >.< |
22:16.04 | *** join/#wowi-lounge Foxbot (n=Foxbot@0x573e6bae.albnxx18.adsl-dhcp.tele.dk) |
22:16.23 | Aella | What is waiting until PLAYER_ENTERING_WORLD? |
22:16.32 | Aella | The call to GuildRoster() or the iteration over the members? |
22:16.36 | *** join/#wowi-lounge Xuerian (n=core@wireless-216-222-129-181.citizip.com) |
22:16.46 | Dagron | >.< |
22:16.49 | Dagron | i think i messed up |
22:16.52 | Dagron | let me change something |
22:17.12 | Dagron | well... wait |
22:17.16 | Aella | GuildRoster() just asks the server for the list, it doesn't return anything. |
22:17.29 | Dagron | currently, GuildRoster() is waiting till PLAYER_ENTERING_WORLD |
22:18.09 | Dagron | then on GUILD_ROSTER_UPDATE i have the iteration through members, which checks to see if i'm in a guild |
22:18.18 | Dagron | and that's telling me i'm not |
22:18.47 | Aella | IsInGuild()? |
22:18.55 | Dagron | yeah |
22:19.52 | Aella | As far as I can tell, that always returns correctly. |
22:20.03 | Aella | What happens if you do /run message(tostring(IsInGuild())) in-game? |
22:22.07 | Dagron | returns a 1 |
22:22.24 | Aella | What does your if statement look like? |
22:24.48 | Shirik | fyi |
22:24.57 | Shirik | message() is blocked if you have "hide lua errors" enabled |
22:25.05 | Shirik | or don't have "show lua errorS" enabled |
22:25.07 | Shirik | whatever way it goes |
22:25.35 | Shirik | just throwing that out there |
22:25.50 | Aella | Yeah, that's annoying. =P |
22:25.51 | *** join/#wowi-lounge Foxbot (n=Foxbot@0x573e6bae.albnxx18.adsl-dhcp.tele.dk) |
22:26.55 | Shirik | Dagron: pastey your code |
22:29.13 | Dagron | while i was waiting for Pastey to load, i fixed it =) |
22:29.22 | Dagron | so everything is in the clear! |
22:29.27 | Aella | Cool. |
22:29.33 | Dagron | thanks for the help |
22:29.39 | Dagron | you guys rock =) |
22:31.16 | Shirik | 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 |
22:31.20 | zenzelezz | quite |
22:31.20 | Aella | ? |
22:31.21 | Shirik | oops |
22:31.30 | Shirik | so I do have those g keys bound to something :/ |
22:31.31 | foxlit | == 10^308! |
22:32.06 | Aella | (10^122)-1, it seems. |
22:32.12 | Aella | Er, no. |
22:32.40 | Aella | ...(2^122)-1 in base 2? *gets out of it* |
22:33.08 | zenzelezz | hey, the gryphon master in Wildhammer Stronghold is friendly now? Funky |
22:35.15 | *** join/#wowi-lounge Osagasu (n=Kronus@208.104.156.29) |
22:36.59 | zenzelezz | does the Battlemaster enchant heal yourself also; or only others? |
22:37.35 | Osagasu | There's one way to find out for sure |
22:37.35 | Shirik | what is securecall() ? |
22:37.45 | Aella | Magic. |
22:37.52 | foxlit | #api securecall |
22:37.53 | Foxbot | foxlit: securecall(function[, ...]) |
22:37.55 | Aella | (calls a tainted function from secure code without tainting the code) |
22:38.12 | Aella | s/tainting the code/tainting the execution path/ |
22:38.24 | Osagasu | Battlemaster heals everyone in your party |
22:38.41 | Shirik | I |
22:38.45 | Shirik | assume this is a protected function |
22:38.47 | Osagasu | "Permanently enchant a Melee Weapon to occasionaly heal nearby party members of 180 to 300 health when an enemy is struck. Requires a level 35 or higher item." |
22:38.58 | Aella | Tainted code can call it, but it just acts normally. |
22:39.09 | Aella | a.k.a. securecall(f, ...) == f(...) |
22:39.19 | Shirik | here's what I'm looking at |
22:40.06 | Shirik | wow pastey's slow |
22:40.25 | *** part/#wowi-lounge Punkie` (n=~@host86-130-2-120.range86-130.btcentralplus.com) |
22:40.39 | zenzelezz | Osagasu: yeah; but as it only says "nearby party members" and not specifically "all party members" or "and yourself", I'm not sure :-p And it's a bit expensive to test |
22:40.55 | Shirik | well in short, here's what I see |
22:41.03 | Shirik | local defaulteditbox = securecall(GetDefaultChatEditBox); |
22:41.13 | Shirik | and GetDefaultChatEditBox is defined as |
22:41.18 | Shirik | return DEFAULT_CHAT_FRAME.editBox; |
22:41.26 | Shirik | this is so if someone replaces the edit box it's ok? |
22:41.31 | foxlit | Yep |
22:41.34 | Aella | Indeed. |
22:41.57 | foxlit | Can also replace GetDefaultChatEditBox |
22:42.02 | Aella | Nah, it's local. |
22:42.44 | Shirik | nope |
22:42.49 | Shirik | it's not onyl local |
22:42.53 | Shirik | it's local inside of a do...end |
22:42.59 | Aella | No chances =P |
22:44.14 | zenzelezz | it's almost as if they don't want you to access it! |
22:44.21 | Aella | *gasp* |
22:44.31 | Shirik | now what gave you that idea |
22:44.31 | Aella | Methinks you're on to something. |
22:44.43 | foxlit | How does getfenv work? |
22:44.54 | Aella | Using a number or a function param? |
22:45.00 | Shirik | the inverse of setfenv() |
22:45.02 | foxlit | What's the number? |
22:45.05 | Aella | Stack depth. |
22:45.09 | Aella | 0 being thread. |
22:45.16 | Aella | 1 being calling function. |
22:45.50 | Shirik | there should be a -1 imo |
22:45.55 | Aella | Top? |
22:46.05 | Shirik | all that has ever existed, ever |
22:46.17 | clad|dinner | 0 |
22:46.18 | clad|dinner | is the genv |
22:46.24 | foxlit | Can only get global and self? |
22:46.34 | Aella | Shirik: that'd kill the stack. |
22:46.35 | Shirik | yeah but that only exists for this instance of lua |
22:46.38 | Shirik | I know ^^ |
22:46.42 | Shirik | but it would be fun |
22:46.45 | Aella | foxlit: you can do 0...n, where n is anything |
22:46.57 | Aella | getfenv(2) is the function calling the calling functino |
22:47.00 | Aella | *function |
22:47.16 | Shirik | n isn't qiute anything |
22:47.18 | Shirik | there is a limit |
22:47.20 | zenzelezz | there's something amusing about seeing people try to PUG Gruul... I'm sure it can be done, but it's not exactly a PUG Kara |
22:47.25 | Aella | Stack depth as the limit. |
22:47.27 | Shirik | ya |
22:47.37 | Shirik | putting something like 289539285 will result in an error thrown |
22:48.05 | Shirik | [string "return getfenv(100)"]:1: bad argument #1 to 'getfenv' (invalid level) |
22:48.12 | *** join/#wowi-lounge Thunder_Child (i=Thunder_@cpe-76-171-184-46.socal.res.rr.com) |
22:48.30 | foxlit | function b() setfenv(1, getfenv(2)); cookie="stolen"; end; function a() local cookie="stuff"; b(); return cookie end; print(a()); |
22:48.37 | foxlit | lua> function b() setfenv(1, getfenv(2)); cookie="stolen"; end; function a() local cookie="stuff"; b(); return cookie end; print(a()); |
22:48.37 | clad|dinner | foxlit:lua> stuff |
22:49.17 | Aella | clad needs to add a lua^ command. |
22:49.28 | clad|dinner | ? |
22:49.37 | foxlit | lua (^ that) |
22:49.47 | clad|dinner | i dont get it. |
22:49.48 | Aella | lua^ would execute the previous message from the sender. |
22:49.54 | Shirik | nice |
22:49.58 | Shirik | lua that |
22:49.58 | clad|dinner | why would you want to re-do it? |
22:50.00 | Aella | We always see <some lua code> followed by lua> <some lua code> |
22:50.06 | Aella | Like foxlit just did. |
22:50.06 | Shirik | because someone forgot to put lua> |
22:50.11 | clad|dinner | hrm |
22:50.12 | Shirik | be like |
22:50.14 | clad|dinner | i dont have a way to do that |
22:50.14 | Shirik | "analyze that!" |
22:50.18 | zenzelezz | don't let them get away with being nubs clad |
22:50.19 | clad|dinner | or rather |
22:50.20 | clad|dinner | i dont want to |
22:50.21 | clad|dinner | =) |
22:50.25 | foxlit | store last message / nick |
22:50.30 | Shirik | better yet |
22:50.32 | Aella | This is AppleScript. =P |
22:50.32 | Shirik | make it global |
22:50.39 | Shirik | if someone puts code |
22:50.42 | Shirik | anyone can do lua^ |
22:50.45 | Shirik | i.e., someone new |
22:50.47 | *** join/#wowi-lounge batrick_ (n=batrick@c-76-18-69-99.hsd1.nm.comcast.net) |
22:50.53 | clad|dinner | again, this is applescript. |
22:50.55 | Aella | Guessing he doesn't call lua with every chat line. |
22:50.55 | Cide | I could do that, sec |
22:51.08 | zenzelezz | don't! |
22:51.09 | clad|dinner | nope |
22:51.24 | Aella | And it'd need to be persistent anyway. |
22:51.29 | Shirik | >>> Cide, clad = 1, 0; return Cide > clad |
22:51.29 | Cide | Shirik: true |
22:51.33 | Shirik | >:D |
22:51.34 | *** part/#wowi-lounge clad|dinner (n=cladhair@WoWUIDev/WoWI/Featured/Dongle/cladhaire) |
22:51.37 | Shirik | :( |
22:51.38 | *** join/#wowi-lounge clad|dinner (n=cladhair@WoWUIDev/WoWI/Featured/Dongle/cladhaire) |
22:51.38 | *** mode/#wowi-lounge [+o clad|dinner] by ChanServ |
22:51.38 | *** part/#wowi-lounge clad|dinner (n=cladhair@WoWUIDev/WoWI/Featured/Dongle/cladhaire) |
22:51.44 | *** join/#wowi-lounge clad|dinner (n=cladhair@WoWUIDev/WoWI/Featured/Dongle/cladhaire) |
22:51.44 | *** mode/#wowi-lounge [+o clad|dinner] by ChanServ |
22:51.44 | Shirik | ? |
22:51.47 | Shirik | o.o |
22:51.54 | clad|dinner | i was apple w happy |
22:51.54 | clad|dinner | lol |
22:51.57 | clad|dinner | you didn't do anything |
22:51.58 | Shirik | hehe |
22:52.08 | Kaydeethree | gah. /trade's getting linkspammed with the Kael legendaries |
22:52.24 | clad|dinner | Learning XML: |
22:52.24 | clad|dinner | •Understanding XML Format |
22:52.26 | clad|dinner | •Describing Data using XML |
22:52.26 | clad|dinner | •Schema Definitions |
22:52.27 | clad|dinner | hrm |
22:52.28 | stavmar | clad|dinner: how is the book doing? Looks interesting |
22:52.28 | clad|dinner | what else. |
22:52.29 | clad|dinner | lol |
22:52.31 | zenzelezz | Kaydeethree: had that last week on my server |
22:52.32 | clad|dinner | stavmar: what book? |
22:52.41 | stavmar | http://www.amazon.com/Hacking-Warcraft-ExtremeTech-Daniel-Gilbert/dp/0470110023/ref=si3_rdr_bb_product/104-3625449-3470364 |
22:52.50 | Aella | This is still non-WoW-specific XML? |
22:52.51 | stavmar | your name is on there right? |
22:53.07 | clad|dinner | Aella: correct |
22:53.17 | clad|dinner | stavmar: Some peopel are enjoying it, others wish it was a more technical book |
22:53.30 | clad|dinner | Aella: I'm just trying to figure out what to cover, and how in depth |
22:53.31 | stavmar | so you found it somewhere in teh middle |
22:53.38 | zenzelezz | sounds like any other coding book (in terms of user feedback) |
22:53.42 | clad|dinner | stavmar: no, its far on one side |
22:53.45 | Aella | clad|dinner: how in-depth will "Schema Definitions" be? |
22:53.49 | clad|dinner | zenzelezz: well this isn't a book about coding |
22:53.50 | stavmar | clad|dinner: lol ok |
22:53.56 | clad|dinner | Aella: I dont' know.. we can have as many subheadings as we want |
22:53.58 | zenzelezz | really? |
22:54.03 | stavmar | was it you and Dan who wrote it alone? |
22:54.04 | clad|dinner | this is broad because i dont know anythign about XML other than using it =) |
22:54.10 | clad|dinner | stavmar: Yes, Dan and I wrote it. |
22:54.11 | Thunder_Child | it's a beginers guide mor or less |
22:54.14 | clad|dinner | yep |
22:54.19 | Thunder_Child | good stuff though |
22:54.19 | Aella | What's the difference between the first two sections? |
22:54.21 | clad|dinner | its 11 chapters of where/how/why to get addons |
22:54.26 | clad|dinner | and show what types of addons are available |
22:54.35 | stavmar | well congratulations, writing any book that gets published is a quite an accomplishment. Best of luck to you |
22:54.36 | Thunder_Child | it explains things more than just saying this does this, it says why as well |
22:54.42 | clad|dinner | Aella: One is just introducing the overall format, the system of tags, and indentation, etc. |
22:54.43 | zenzelezz | clad|dinner: does it include how to not post on forums about WinZip asking you for money? |
22:54.46 | clad|dinner | showing attributes, and child elements, etc. |
22:54.50 | clad|dinner | zenzelezz: hehe |
22:54.58 | zenzelezz | that thread made me QQ inside |
22:55.01 | clad|dinner | Aella: the second would be an example describing some data using XML |
22:55.38 | Aella | clad|dinner: short list of generic XML tools? =P |
22:55.45 | clad|dinner | Aella: if you have a moment, i'd actually like to legitimately chat about this, seriously |
22:55.50 | Aella | Sure. |
22:56.28 | Cide | >>> "hi" |
22:56.28 | Cide | Cide: "hi" |
22:56.48 | clad|dinner | print"monkey" |
22:56.50 | clad|dinner | >>>^ |
22:56.53 | clad|dinner | aaw =/ |
22:56.53 | Cide | bleh |
22:56.57 | Cide | python error, sec! |
22:57.03 | zenzelezz | >>>^ |
22:57.06 | zenzelezz | >>>^ |
22:57.26 | Cide | try now |
22:57.33 | clad|dinner | >>>^ |
22:57.33 | Cide | clad|dinner: [string "^"]:1: unexpected symbol near '^' |
22:57.33 | zenzelezz | Aella: what made you think otherwise in the first place? |
22:57.47 | Aella | zenzelezz: faith in human nature. |
22:57.56 | Aella | >>^ |
22:57.57 | zenzelezz | you must not visit the WoW forums much |
22:58.17 | Cide | type some lua code followed by >>>^ |
22:58.26 | Shirik | >>> print("Hello world!") |
22:58.27 | Cide | Shirik: "Hello world!" |
22:58.29 | Shirik | >>>^ |
22:58.31 | Shirik | wait |
22:58.34 | Shirik | print("Hai!") |
22:58.35 | foxlit | print("Wait!") |
22:58.36 | Shirik | >>>^ |
22:58.39 | Cide | hm |
22:58.40 | Shirik | :( |
22:59.03 | Cide | try now |
22:59.22 | zenzelezz | true |
22:59.26 | zenzelezz | >>>^ |
22:59.42 | Cide | hm |
22:59.57 | Cide | what about now? |
23:00.04 | Industrial | >>>^ |
23:00.04 | Cide | Industrial: [string "^"]:1: unexpected symbol near '^' |
23:00.21 | zenzelezz | does it cache the "previous" string too soon? |
23:00.43 | Cide | something like that |
23:00.46 | Cide | not sure yet |
23:01.03 | Cide | what about now? |
23:01.16 | clad|dinner | print"heyas" |
23:01.18 | clad|dinner | >>>^ |
23:01.31 | Cide | oh, I see |
23:01.41 | Cide | should work now |
23:01.44 | zenzelezz | >>>^ |
23:01.45 | Cide | zenzelezz: [string "^"]:1: unexpected symbol near '^' |
23:01.49 | clad|dinner | print"heyas" |
23:01.50 | clad|dinner | >>>^ |
23:01.56 | clad|dinner | lies |
23:01.56 | Cide | oh, I'm stupid |
23:02.25 | clad|dinner | now i feel obligated to get this working on mine =) |
23:02.32 | clad|dinner | i have to see if there are dictionaries i can use in applescript |
23:02.54 | zenzelezz | dictionaries? |
23:03.04 | clad|dinner | hash tables. |
23:03.06 | Aella | Tables, hashmaps, pick your terminology. |
23:03.06 | clad|dinner | and there aren't. |
23:03.23 | clad|dinner | Aella: are you ignoring me? Am i not pretty enough for you? |
23:03.33 | Aella | Am I? |
23:03.44 | Aella | Sending you messages... |
23:03.49 | clad|dinner | not getting any |
23:03.53 | clad|dinner | are you not registered? |
23:03.58 | Aella | Nope. |
23:04.01 | clad|dinner | that's why i keep talking.. i'm getting no response |
23:04.02 | Thunder_Child | Bingo |
23:04.08 | clad|dinner | well you can't send pm's if you're not registered. |
23:04.10 | Thunder_Child | We have a winnar |
23:04.12 | Aella | Aha. |
23:04.15 | Cide | should work now! |
23:04.16 | clad|dinner | as the irc server is politely telling your client :P |
23:04.17 | Aella | Lemee fix that. |
23:04.18 | clad|dinner | print"heyas" |
23:04.20 | zenzelezz | >>>^ |
23:04.20 | clad|dinner | >>^ |
23:04.20 | Cide | clad|dinner: [string ">>^"]:1: unexpected symbol near '>' |
23:04.21 | clad|dinner | >>>^ |
23:04.21 | Cide | clad|dinner: [string ">>>>>^"]:1: unexpected symbol near '>' |
23:04.24 | clad|dinner | who |
23:04.24 | Aella | Colloquy doesn't listen =P |
23:04.25 | clad|dinner | alol |
23:04.25 | zenzelezz | lol |
23:04.26 | clad|dinner | print"hi" |
23:04.28 | clad|dinner | >>>^ |
23:04.28 | Cide | clad|dinner: "hi" |
23:04.40 | zenzelezz | >>>^ |
23:04.40 | Cide | clad|dinner: [string ">>>print"hi""]:1: unexpected symbol near '>' |
23:04.45 | clad|dinner | Cide: why did you get the first error? |
23:04.59 | clad|dinner | >>>print("I personally feel that zenzelezz should become the new messiah of the WoW UI community") |
23:05.00 | Cide | clad|dinner: "I personally feel that zenzelezz should become the new messiah of the WoW UI community" |
23:05.04 | Cide | checking |
23:05.08 | clad|dinner | Cide: I'm glad you feel so strongly! |
23:05.10 | clad|dinner | such conviction |
23:05.13 | zenzelezz | that's a disturbing thought |
23:06.15 | ckknight | >>> ="hey" |
23:06.15 | Cide | ckknight: "hey":1: unexpected symbol near '=' |
23:06.23 | ckknight | aw, I can do that on the command line |
23:06.26 | ckknight | >>> "hey" |
23:06.26 | Cide | ckknight: "hey" |
23:06.35 | ckknight | >>> print "pants" |
23:06.35 | Cide | ckknight: "pants" |
23:06.42 | Cide | I know, but I opted for just >>> expr |
23:06.54 | Cide | ok so |
23:07.15 | zenzelezz | I'm still confused about what this environment variable "PANTS=ON" on my Linux box means |
23:07.29 | Kaydeethree | hahaha |
23:07.34 | Cide | someone type some code! |
23:07.42 | Cide | and then someone else do the >>>^ |
23:07.50 | Kaydeethree | >>> print("Hello, world!") |
23:07.51 | Cide | Kaydeethree: "Hello, world!" |
23:07.59 | Cide | without the ">>>" |
23:08.09 | Kaydeethree | print("Hello, world!") |
23:08.16 | zenzelezz | >>>^ |
23:08.17 | Cide | Kaydeethree: "Hello, world!" |
23:08.21 | Cide | good |
23:09.40 | zenzelezz | >>>^ |
23:09.40 | Cide | zenzelezz: [string "^"]:1: unexpected symbol near '^' |
23:10.40 | Cide | hm, gonna change the syntax to just >>^ |
23:10.57 | Cide | and it doesn't record anything that I type, btw |
23:11.05 | Cide | (side effect of xchat's event system) |
23:11.06 | zenzelezz | I noticed that earlier |
23:11.13 | zenzelezz | same as mIRC's remotes |
23:11.38 | zenzelezz | or basically the way IRC works; IIRC... the client would have to manually tell itself your message was incoming |
23:11.38 | Kaydeethree | meh, thought taht was just a mIRC thing. xchat handles remotes the same way? |
23:11.50 | Shirik | yeah you don't get informed of the message |
23:11.50 | Cide | yes |
23:11.52 | zenzelezz | I believe IRC servers don't send you your own messages |
23:11.52 | Shirik | on IRC |
23:11.57 | Cide | exactly |
23:13.06 | *** join/#wowi-lounge Osagasu (n=Kronus@208.104.156.29) |
23:13.43 | zenzelezz | that's also the reason for the "my sentence appeared first on my screen!" |
23:15.21 | ckknight | Cide: I think if you do >>>^ and it has a compilation error, maybe it shouldn't yell. Also, it seems like it should ping the person who did >>>^ instead of the person who typed the code. Or maybe both. |
23:16.07 | Cide | I considered the compilation error part |
23:16.19 | Cide | it'd require a bit of restructuring, but I might do that tomorrow |
23:16.56 | Kaso | so whats all this ^ talk about? |
23:17.05 | clad|dinner | i like hats |
23:17.12 | Kaso | Silly hats only |
23:17.12 | Cide | I can easily have it tell the person who did the >>^ instead of the person who typed the code, that's up to you really |
23:17.14 | Kaso | !! |
23:17.33 | Shirik | silly |
23:17.35 | Shirik | >>> ^ |
23:17.35 | Cide | Shirik: [string "^"]:1: unexpected symbol near '^' |
23:17.37 | Shirik | >>>^ |
23:17.37 | Cide | Shirik: [string "^"]:1: unexpected symbol near '^' |
23:17.40 | Shirik | -_- |
23:17.44 | Shirik | silly |
23:17.46 | Shirik | >>>^ |
23:17.46 | Cide | Shirik: [string "^"]:1: unexpected symbol near '^' |
23:17.50 | Shirik | :( |
23:17.53 | Kaydeethree | print("Hai world!") |
23:17.57 | Shirik | oh you changed it to >>^? |
23:17.59 | Shirik | silly |
23:18.00 | Kaydeethree | >>^ |
23:18.00 | Cide | Shirik: nil |
23:18.00 | Shirik | >>^ |
23:18.01 | Cide | Shirik: [string ">>> silly"]:1: unexpected symbol near '>' |
23:18.04 | Shirik | there you go |
23:18.06 | Shirik | silly hat |
23:18.13 | Kaso | haha |
23:18.22 | foxlit | >>> t = {[[any " key]]=1}; |
23:18.23 | Cide | foxlit: [string "t = {[[any " key]]=1};"]:1: '}' expected near '=' |
23:18.29 | foxlit | >>> t = {[[[[any " key]]]]=1}; |
23:18.29 | Cide | foxlit: [string "t = {[[[[any " key]]]]=1};"]:1: '}' expected near ']' |
23:18.35 | Shirik | fox: |
23:18.36 | Aella | I'm glad that my suggestion has caused such a frenzy. |
23:18.37 | foxlit | >>> t = {[["any \" key"]]=1}; |
23:18.38 | Cide | foxlit: [string "t = {[["any \" key"]]=1};"]:1: '}' expected near '=' |
23:18.39 | Shirik | [ [[ ]] ] |
23:18.42 | Shirik | have to do it like that |
23:19.08 | Shirik | >>> t = {[ [[any " key]] ] = 1} print(t) |
23:19.08 | Cide | Shirik: { ["any \" key"] = 1 } (#1) |
23:20.34 | Aella | Is it doing it based on last message or last message by person? |
23:20.44 | Thunder_Child | cide, can you make it ignore recuring >>^? |
23:21.30 | Cide | done |
23:22.23 | Thunder_Child | print("truly?") |
23:22.26 | Thunder_Child | >>^ |
23:22.27 | Cide | Thunder_Child: "truly?" |
23:22.28 | Thunder_Child | >>^ |
23:22.29 | Cide | Thunder_Child: "truly?" |
23:22.32 | Thunder_Child | cool |
23:22.55 | Cide | also made it so you can repeat >>> commands |
23:22.58 | Cide | >>> reload lua.py |
23:22.58 | Cide | Cide: [string "reload lua.py"]:1: '=' expected near 'lua' |
23:23.01 | Cide | oops |
23:23.12 | Cide | try, for example |
23:23.17 | Cide | >>> math.random(1, 10) |
23:23.18 | Cide | >>^ |
23:23.21 | Cide | that |
23:23.28 | Aella | >>> math.random(1, 10) |
23:23.28 | Cide | Aella: 8 |
23:23.32 | Aella | >>^ |
23:23.32 | Cide | Aella: 6 |
23:23.42 | Cide | good |
23:23.44 | Aella | I vote syntax change to ^^^, easier to type =P |
23:23.58 | Cide | not in line with >>> and >>? :P |
23:24.05 | zenzelezz | >>! |
23:24.19 | Aella | Depends on how many other >>? you're going to add =P |
23:24.55 | Aella | >>! would be rockin'. |
23:25.00 | zenzelezz | he already has >>?, so it is in line |
23:25.05 | Aella | >>? |
23:25.10 | zenzelezz | >>? hai |
23:25.10 | Cide | zenzelezz: [string "hai"]:1: '=' expected near '<eof>' |
23:25.13 | Cide | syntax check |
23:25.14 | Shirik | hai! |
23:25.16 | Aella | Ah. |
23:25.22 | Cide | >>? function() end |
23:25.22 | Cide | Cide: [string "function() end"]:1: '<name>' expected near '(' |
23:25.28 | Cide | >>? return function() end |
23:25.28 | Cide | Cide: input appears to be syntactically correct. |
23:25.31 | Shirik | >>? HAI; CAN HAS STDIO? KTHXBYE |
23:25.31 | Cide | Shirik: [string "HAI; CAN HAS STDIO? KTHXBYE"]:1: '=' expected near ';' |
23:25.35 | Cide | oh god |
23:25.40 | Cide | we need LOLCODE> |
23:25.44 | Aella | It's true. |
23:25.44 | zenzelezz | indeed |
23:25.50 | Aella | But lines breaks r a prblm. |
23:25.53 | Shirik | clad|afk has already said he considered it :P |
23:26.05 | *** join/#wowi-lounge Polarina (n=Polarina@85-220-27-184.dsl.dynamic.simnet.is) |
23:26.29 | Polarina | How do I display two MoneyFrames in a GameTooltip instead of one? |
23:26.59 | Kaso | Youd have to do some funking around, the tooltips created only have one moneyframe be default |
23:27.05 | clad|afk | Cide can easily do lolcode |
23:27.11 | Kaso | perhaps make your own tooltip template |
23:27.12 | clad|afk | there's a python interpreter forit, no? |
23:27.17 | Cide | no idea |
23:27.22 | Kaso | that inherts from GameTooltip and adds a second moneyframe |
23:27.48 | Polarina | I can't use my own. My Addon just adds information to existing tooltip when you hover over items in the mailbox. |
23:28.02 | Aella | It's easy enough to make a new money frame and add it to an existing tooltip. |
23:28.50 | Polarina | Aella: How? |
23:29.08 | Polarina | I tried messing around for a while without any luck. |
23:29.23 | Aella | SmallMoneyFrameTemplate. |
23:29.35 | Polarina | Tried that too.. |
23:30.04 | Aella | Should be able to do CreateFrame("Frame", nil, GameTooltip, "SmallMoneyFrameTemplate") |
23:30.53 | Aella | But I'm not sure what the best way to call SmallMoneyFrame_OnLoad() would be. |
23:31.22 | Aella | Anyone? Do you have to hijack the global "this"? |
23:32.20 | MentalPower|Work | first of all, you can't do nil with Blizz templates |
23:32.30 | MentalPower|Work | well... you can, but its a bad idea |
23:33.06 | Polarina | I'll contribute my addon to charity if someone would want to take a look at it? |
23:33.25 | MentalPower|Work | sure, pastey it |
23:33.35 | Polarina | The addon is multiple files. |
23:33.44 | MentalPower|Work | use pastey |
23:33.49 | Polarina | Ok. link. |
23:33.54 | zenzelezz | topic |
23:35.04 | Polarina | Can't paste.. |
23:35.14 | Aella | At pastey? |
23:35.20 | Polarina | Yes. |
23:35.24 | Aella | >.> |
23:35.27 | Polarina | Nowhere to put the code... :S |
23:35.40 | Aella | Not the big text box? |
23:35.44 | Polarina | Nope. |
23:36.04 | Polarina | Wait, refresh works. |
23:36.07 | Polarina | xD |
23:36.10 | Aella | =P |
23:41.05 | *** join/#wowi-lounge clad|afk (n=cladhair@cpe-74-71-116-245.twcny.res.rr.com) |
23:41.05 | *** mode/#wowi-lounge [+o clad|afk] by ChanServ |
23:42.27 | imapir8 | yarrrrrrrr! |
23:42.35 | Polarina | Sorry for the wait, pastey is freaking me out with these tabs. |
23:44.18 | Polarina | Pastey doesn't handle spaces in the beginning of lines... |
23:45.01 | Polarina | I'll paste it anyway. |
23:46.10 | Polarina | Aella: http://wowi.pastey.net/56652?lang=lua |
23:46.30 | Polarina | Aella: See the bottom of the paste, added few lines to descripe the problem. |
23:48.11 | Aella | This isn't embedded, right? You can use an XML file? |
23:49.16 | Polarina | Aella: I'm using a XML file too. |
23:49.16 | Aella | Okay, you should be able to set up a virtual money frame in there... |
23:49.16 | Polarina | Aella: Just one of the few files the Addon has. |
23:50.28 | Aella | So you could use CreateFrame("Frame", nil, frame, "ValuationUI_MoneyFrameTemplate") to create it... |
23:51.12 | Aella | e.g. local moneyFrame = frame.vuiMoney; if not moneyFrame then moneyFrame = CreateFrame(); frame.vuiMoney = moneyFrame; end; |
23:51.37 | Polarina | frame.vuiMoney is? |
23:51.46 | Aella | Some private variable you put on the frame table. |
23:51.52 | Polarina | Ok.. |
23:51.59 | Aella | You'd just need to copy the moneyframe thing from the GameTooltipTemplate.xml file. |
23:52.01 | Polarina | Inside ValuationUI_AddInfoToTooltip? |
23:52.15 | Aella | Yeah, replacing "local moneyFrame =_G[frame:GetName() .."MoneyFrame"]; " |
23:52.48 | Polarina | I don't understand what this frame.vuiMoney is for.. |
23:53.04 | Aella | To keep track of the frame you've created. |
23:53.24 | Polarina | Can't it be stored inside the function itself? |
23:53.46 | Aella | You can store it in your add-on, yeah, if you know you're only going to be dealing with one tooltip. |
23:54.05 | Polarina | Sure. :) |
23:54.14 | Aella | http://wowi.pastey.net/56653 |
23:55.15 | Aella | Er, http://wowi.pastey.net/56654 |
23:55.50 | Polarina | Aella: So instead of using the MoneyFrame that is there by default, I always I use my own? |
23:56.00 | Aella | Yeah. |
23:56.19 | Polarina | Aella: Great, I'll fix this right away. |
23:56.37 | Aella | Reload the second pastey link (http://wowi.pastey.net/56654), fixed an anchor problem (i.e. there were some). |
23:57.29 | Aella | You can make it not virtual if you want, if you are only going to be using one. |
23:57.37 | Aella | Shouldn't be a problem as long as you only hook GameTooltip. |
23:57.51 | Polarina | Virtual and not virtual, difference is? |
23:58.03 | Aella | Virtual doesn't exist until you call CreateFrame() |
23:58.12 | Aella | Non-virtual, you have one copy around at all times. |
23:58.18 | Polarina | I'm also hooking ItemRefTooltip.. |
23:58.42 | Aella | Then, theoretically, you'll need two of your handy little money frames, because one could be shown in each tooltip. |
23:59.03 | Aella | That's what frame.vuiMoney was. |
23:59.10 | Aella | Though you can call it whatever you want. |