00:00.36 | foxlit | It's in the denominator, so my percieved worst case scenario is that I undershoot and have to go through substraction a few rounds too many |
00:02.20 | foxlit | >>> 200 % 3 |
00:02.20 | Cide | foxlit: 2 |
00:05.13 | Mikma | does anyone have a simple OnUpdate timer available? i'm kinda confused about the ones i found |
00:06.06 | GeoMance | Okay, this is weird: I have <Frame name="Something" > ... <Frames> <Frame name="$parent_display"> .... </Frame> </Frames> </Frame> I try to make a call to Something_display after the creation of it, but I get an error when I parse it. |
00:06.47 | foxlit | That should work, there's something wrong elsewhere in what you're doing. |
00:06.54 | foxlit | Check that XML validates. |
00:06.58 | foxlit | Check Logs\FrameXML.log |
00:07.31 | *** join/#wowi-lounge batrick (n=batrick@c-76-18-71-214.hsd1.nm.comcast.net) |
00:08.04 | GeoMance | No errors. |
00:08.17 | batrick | that's good1 |
00:08.20 | GeoMance | And the XML is valid, I'm using a checker. |
00:09.36 | GeoMance | I'm using a text.. Something_display:show() inside itself, and when I do, it gives me the object that threw the error UIParent-- Oh! |
00:10.34 | GeoMance | I know what the problem there was, but the parent frame still isn't showing. |
00:15.27 | Kaydeethree | heh. a new gm autoresponse for spam reports |
00:15.35 | Mr_Rabies2 | runnin kara for the first time :dance: |
00:16.08 | Kaydeethree | have fun |
00:16.21 | foxlit | "STOP SPAMMING US YOU SPAMMER"! |
00:16.32 | Kaydeethree | kinda |
00:16.59 | Kaydeethree | "We share your concerns regarding the mass advertisers and we are working to adress this issue as soon as possible. Thank you for your report. This is an automated response; you will be unable to reply." |
00:17.20 | GeoMance | Of course, now the thing's being good. |
00:17.28 | GeoMance | Heh. |
00:17.30 | foxlit | Now if only I could figure out why this exponent generating code keeps dumping more trash as it gets closer to e=1 |
00:21.22 | GeoMance | Inside of XML tags, is it possible to have an Absolute -and- a relative for the second dimension? |
00:22.13 | foxlit | I typically set undesired coordinates to 0, but I'm not sure as to how that gets handled |
00:23.37 | GeoMance | I meant for sizes. |
00:23.58 | GeoMance | I want one an absolute size, and the other relative to the size of the parent frame. |
00:24.48 | GeoMance | If you're just reloading the UI, does it save things to the XML.log |
00:25.00 | foxlit | Yes, I believe so |
00:26.35 | GeoMance | Blah. |
00:27.05 | *** part/#wowi-lounge Punkie` (n=~@host86-130-2-120.range86-130.btcentralplus.com) |
00:27.52 | GeoMance | Hrm.. |
00:28.13 | GeoMance | 'Cause no errors are being outputted, but there is also a missing frame. |
00:30.54 | Mr_Rabies2 | dammit we lost our pally :[ |
00:31.09 | Shirik | have you checked the XML error log? |
00:31.27 | GeoMance | Yes. |
00:31.32 | Mr_Rabies2 | ckknight isn't here for me to tell him that pitbull currently has a hilarious bug |
00:31.33 | Mr_Rabies2 | :[ |
00:31.33 | GeoMance | No errors in 45 minutes. |
00:31.46 | Shirik | except the fact that the frame is missing |
00:32.35 | GeoMance | I mean the log isn't displaying any changes in the last 45 minutes. |
00:35.43 | *** join/#wowi-lounge hugo (i=hugo@hugo.scnet.cz) |
00:38.29 | GeoMance | Still no change in my logs, even after quiting, and reopening. And I still have a missing frame. |
00:44.03 | *** join/#wowi-lounge cogwheel (n=chatzill@c-67-164-121-134.hsd1.ca.comcast.net) |
00:45.15 | cogwheel | Wow! what a shock!! Starcraft 2!! |
00:45.16 | GeoMance | Do you know if <RelDimension> has a way to limit it to a specific frame, rather than the UIParent? |
00:45.38 | cogwheel | isn't it based on whatever the parent of the frame is? |
00:45.45 | *** join/#wowi-lounge nuoHep (i=nuoHep@85.192.55.242) |
00:47.23 | GeoMance | You'd think, wouldn't you? |
00:48.50 | GeoMance | I have a nested frame, with its size set to be <RelDimension x="1" y="1"> inside a frame with <AbsDimension x="300" y="400"> And the inner frame is taking up almost all of my screen. |
00:51.51 | zenzelezz | GeoMance: do you want a sub-frame to be exactly the same size as the parent? |
00:52.32 | GeoMance | That was the intent. I'm mainly messing around with the Abs and Rel size, trying to figure out how to get done what I want done. |
00:52.43 | zenzelezz | setAllPoints="true" |
00:53.00 | zenzelezz | I think Rel is always relative to screen or somesuch |
00:53.27 | GeoMance | Sort of worthless then, isn't it? |
00:53.35 | zenzelezz | why would it be? |
00:53.56 | GeoMance | Well, if you want a relative size inside another object. |
00:54.03 | zenzelezz | that's a different matter |
00:54.18 | GeoMance | How would you do that, then? |
00:55.08 | *** join/#wowi-lounge dinesh_ (n=chatzill@c-68-36-168-161.hsd1.nj.comcast.net) |
00:55.26 | zenzelezz | use the GetHeight/GetWidth and calculating I guess. But like I said, I'm not *sure* that's how Rel works, it just was the few times I tried it |
00:56.48 | GeoMance | I want to punch babies. xD I finally got what I was working on to work. |
01:00.59 | Mr_Rabies2 | oh man |
01:01.03 | Mr_Rabies2 | the clock in kara |
01:01.06 | Mr_Rabies2 | is bizarre |
01:01.12 | GeoMance | Kara? |
01:01.42 | *** join/#wowi-lounge Esamynn (n=jbcc@207.6.94.35) |
01:03.56 | Mikma | err... so.. i have this: ChatFrame1.channelList[x] ... how can I get the max value of x ? |
01:04.29 | *** join/#wowi-lounge Esamynn (n=jbcc@207.6.94.35) |
01:05.14 | *** mode/#wowi-lounge [+v Esamynn] by ChanServ |
01:06.55 | *** join/#wowi-lounge dinesh__ (n=chatzill@c-68-36-168-161.hsd1.nj.comcast.net) |
01:07.51 | Legorol | Sign that patch is coming this week: Blizzard Feedback AddOn is gone from latest PTR patc |
01:09.02 | GeoMance | Feedback? |
01:09.45 | Kaydeethree | bug/suggestion/survey mod |
01:10.09 | GeoMance | Fun. |
01:31.44 | *** join/#wowi-lounge Esamynn (n=jbcc@207.6.94.35) |
01:32.35 | *** mode/#wowi-lounge [+v Esamynn] by ChanServ |
01:35.30 | *** join/#wowi-lounge wobin (n=wobin@203-166-246-137.dyn.iinet.net.au) |
01:35.49 | GeoMance | How would you change the size of text on a button? |
01:38.13 | Kaydeethree | oh wow. someone just linked the [Martin Thunder] in trade |
01:38.17 | Shirik | yeh |
01:38.21 | Shirik | every so often a GM logs on with it |
01:38.26 | Shirik | and then it's valid until server restart |
01:38.31 | GeoMance | What's that? |
01:38.35 | Kaydeethree | gm weapon |
01:38.38 | GeoMance | Ahhh. |
01:38.42 | Kaydeethree | look up item:192 |
01:38.46 | GeoMance | I've never actually -seen- a GM. |
01:38.55 | Shirik | you are allowed to request their presence |
01:38.58 | Shirik | according to the TOS |
01:39.07 | GeoMance | I've never had a reason to. xD |
01:39.27 | Kaydeethree | I actually had one poke me when I had a bugged quest starter |
01:39.44 | Kaydeethree | came up behind me and tried to start the quest himself |
01:40.06 | GeoMance | Heh. |
01:40.38 | GeoMance | Gah, maybe one of you could answer this. I've been having a problem when actionbar slots keep having their alphas randomly changed. |
01:40.47 | Kaydeethree | default UI? |
01:40.54 | GeoMance | Defualt UI. |
01:40.58 | GeoMance | Any UI. |
01:41.16 | GeoMance | I have a single addon running, and it doesn't touch anything outside its own frames. |
01:41.38 | GeoMance | Does it to packslots as well. |
01:46.03 | *** join/#wowi-lounge Sole (n=chatzill@203.109.211.96) |
01:46.38 | GeoMance | Hrm, is there even a way to change the text size of a button? |
01:53.19 | GeoMance | I'll be back another time. |
01:54.39 | *** join/#wowi-lounge sylvanaar (n=sylvanaa@205-196-182-22.static.cmts1.phonoscope.net) |
01:57.19 | *** join/#wowi-lounge GomiNoSensei (i=tonyd@d205-250-164-37.bchsia.telus.net) |
02:00.58 | Kaydeethree | woo... we just bugged out karazhan |
02:00.58 | Kaydeethree | yay for killing aran while he was drinking |
02:00.58 | Shirik | did ya go through the door? |
02:00.59 | Tem | g...grats? |
02:01.00 | Shirik | oh rofl |
02:01.14 | Shirik | how did you manage that? |
02:01.21 | Kaydeethree | dots |
02:01.26 | Kaydeethree | he was at 1% when he mass-polyed |
02:04.49 | Bleeter | Kaydeethree: take some comfort in the fact that doing that kinda thing takes skill and effort in and of itself ;) :P |
02:05.24 | Bleeter | Iriel: yeah, agreed. So in some respects it's a poor hack ;) |
02:05.44 | Bleeter | Iriel: some kind of random dungeon thing would be... awesome |
02:08.36 | Shirik | at prince now... wish us luck >.> |
02:16.28 | *** join/#wowi-lounge Cide- (i=Cide@81-237-213-149-no60.tbcn.telia.com) |
02:27.04 | Industrial | old school! |
02:27.07 | Industrial | almost beat it |
02:29.52 | haste | ;o |
02:33.24 | Shirik | fyi |
02:33.30 | Shirik | scorpid sting in phase 2 of prince |
02:33.34 | Shirik | makes the fight so fricking easy |
02:33.35 | Industrial | i win |
02:33.37 | Industrial | \o/ |
02:54.08 | *** join/#wowi-lounge Ku (n=zachwlew@66.128.245.2) |
02:54.49 | Ku | Anyone available to answer a quick question? |
02:55.22 | NimbleRabit | what is the question |
02:55.38 | Shirik | not quick enough |
02:55.39 | Shirik | sorry |
02:57.51 | Ku | Basically, I am getting an error every time I try to read data from a vendor frame. My event is called on MERCHANT_SHOW, but it seems to run before the pane opens. |
02:58.12 | Ku | I set up a loop, and it was an infinite loop, making me think that I need a sort of delay event. |
02:58.25 | Ku | How can I add a delay that doesn't delay WOW? |
02:59.12 | Iriel | You use OnUpdate |
02:59.22 | Iriel | (or you use a library that uses OnUpdate behind the scenes) |
02:59.22 | Garoun | Curator dead!!!! :D |
02:59.30 | Garoun | our first ever, go go casual guild hehe |
02:59.34 | Iriel | It's not a delay so much as a 'come back to me later' |
03:00.01 | Ku | I'll look it up. Thanks for the suggestion! |
03:15.50 | Ku | That seems somewhat exessive. |
03:16.02 | Ku | If I put some code in OnUpdate, it will load every x seconds? |
03:16.26 | Ku | I just want to pause until the pane is fully open and the thing can get the first merchant item. |
03:17.03 | *** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@64.193.93.197) |
03:20.15 | sylvanaar | perhaps you should listen for another event or install a script handler |
03:21.22 | Shirik | FFS |
03:21.28 | Shirik | Prince at 1% T_T |
03:23.44 | Kaydeethree | those wipes suck |
03:23.50 | Kaydeethree | infernals owning the ranged camp? |
03:24.28 | Iriel | Ku: Perhaps attach a frame to the mechant one with an OnShow? |
03:24.36 | Iriel | Ku: Or listen to whatever event the merchant frame dos |
03:24.38 | Iriel | doEs |
03:34.39 | *** join/#wowi-lounge Aella (n=Aella@74.221.43.140) |
03:34.42 | *** join/#wowi-lounge [1]Ku (n=zachwlew@66.128.245.2) |
03:38.15 | *** join/#wowi-lounge tedrock (n=tedrock@d235-159-19.home1.cgocable.net) |
04:39.04 | *** join/#wowi-lounge purl (i=ibot@pdpc/supporter/active/TimRiker/bot/apt) |
04:39.05 | *** topic/#wowi-lounge is #wowi-lounge: Paste Code Here: http://wowi.pastey.net | 2.1 Toc: 20100 | RTFPN please | "Don't want dancing girls! Want probes! " - Xuerian |
04:50.56 | *** join/#wowi-lounge Tem (n=tardmrr@WoWUIDev/WoWI/Dongle/Tem) |
04:50.56 | *** mode/#wowi-lounge [+v Tem] by ChanServ |
05:01.36 | *** join/#wowi-lounge weab (n=asdf@cpe-70-112-143-167.austin.res.rr.com) |
05:07.17 | *** join/#wowi-lounge Xuerian (n=core@wireless-216-222-129-181.citizip.com) |
05:14.33 | NimbleRabit | boo |
05:14.40 | Shirik | rawr |
05:15.06 | NimbleRabit | wow I'm bored right now |
05:15.08 | *** join/#wowi-lounge DT_ (n=DT_@adsl-68-122-126-21.dsl.pltn13.pacbell.net) |
05:15.10 | NimbleRabit | nobody wants to do any heroics |
05:25.14 | Ku | What server do you play on? |
05:30.30 | *** join/#wowi-lounge Bam__ (n=pervel@0x573c050d.boanqu2.broadband.tele.dk) |
05:31.38 | Ku | I've got a question for you. |
05:31.44 | Ku | On line 65 of http://wowi.pastey.net/35947 |
05:31.58 | Ku | I want to wait until the merchant pane has fully loaded. How can I do this? |
05:32.42 | Bam__ | you cannot do that really.. are you sure you need to? |
05:32.56 | DT_ | There is no 'pause' command, I think you'd have to use OnUpdate to check that a certain amount of time has passed |
05:33.43 | Bam__ | how/when does your function get called in the first place? |
05:37.10 | *** join/#wowi-lounge Tert (n=nwkegan@c-76-21-72-11.hsd1.ca.comcast.net) |
05:38.51 | Ku | Nope. |
05:38.55 | Ku | Didn't crash. |
05:39.04 | Bam__ | phew :P |
05:39.10 | Ku | I keep getting errors that string.find expects a string where nil is provided. |
05:39.21 | Ku | It gets called on MERCHANT_SHOW. |
05:39.36 | Bam__ | ok that's fine... |
05:39.39 | Ku | I can upload the XML if needed... |
05:39.58 | Bam__ | well I think that really should be enough |
05:40.09 | Bam__ | are you seeing weird things? |
05:40.11 | Ku | I'll see if I can't get that error again really quick and save it. |
05:40.26 | Ku | Sometimes it works flawlessly, other times it will be weird. |
05:40.34 | Ku | And, there is no rhyme or reason to it. |
05:41.18 | Bam__ | welcome to Blizzard's API :D |
05:41.29 | Ku | ..\AddOns\NewRecipe\NewRecipe.lua line 69: |
05:41.29 | Ku | <PROTECTED> |
05:41.41 | Ku | That's what I get. But, if I talk to him again, it works fine. |
05:42.01 | DT_ | I just did a quick test in-game and GetMerchantItemInfo(i) worked fine after MERCHANT_SHOW |
05:42.29 | Ku | Right. That's why I think it's getting called between the MERCHANT_SHOW event and the time the merchant actually can be read. |
05:43.09 | Bam__ | I doubt it.. but can't say I have experience with vendor scanning myself |
05:44.39 | Tert | anyone know of a nice addon load manager type of thing besides rMCP? |
05:44.54 | Bam__ | but if you think that is the issue, then you will have to implement and OnUpdate handler that waits a little bit after MERCHANT_SHOW before starting the scan |
05:45.03 | Thrae | Tert: The original MCP is very tiny. |
05:45.14 | Tert | ? |
05:45.16 | Thrae | Tert: w/ Rophy's fix to make it work past 1.8. |
05:46.03 | Thrae | If you want profiles, try ACP. Also note FuBar, Ace2, Dongle, etc. have their own profile system. |
05:46.21 | Thrae | If you just want to enable and disable addons at your leisure, then just use MCP. |
05:47.49 | Thrae | http://media.pc.ign.com/media/850/850126/img_4560189.html <-- Starcraft II looks pretty cool. |
05:49.14 | Bam__ | Ku: I have an idea |
05:49.58 | Bam__ | Ku: register MERCHANT_UPDATE instead and check for MerchantFrame:IsVisible() too |
06:06.45 | *** join/#wowi-lounge Kjellviz (n=opera@c213-89-100-240.bredband.comhem.se) |
06:10.51 | Kjellviz | Shirik: Yo u there ? =) |
06:33.47 | *** join/#wowi-lounge Gngsk (n=gngsk@c-69-138-213-251.hsd1.md.comcast.net) |
06:40.16 | *** join/#wowi-lounge Kody- (n=nope@69.109.103.158) |
06:55.53 | Shirik | Kjellviz: Sorry no :( |
06:55.56 | Shirik | I am now |
06:56.01 | Shirik | with ice crema |
06:56.03 | Shirik | and it's awesome |
06:57.37 | Ku | Bam: Can I register that? |
06:57.58 | Ku | Bam: Or, is there some way that I can loop, checking if IsVisible without causing an infinite loop? |
06:58.02 | Shirik | sure |
06:58.05 | Shirik | you can register any event |
06:58.18 | Ku | Well, IsVisible isn't really an event, right? |
06:58.26 | Shirik | no, but MERCHANT_UPDATE is |
06:58.54 | Shirik | then do a MerchantFrame:IsVisible() to check what you're looking for |
06:59.03 | Shirik | I don't know what you're trying to do but that's what I inferred from his statement |
06:59.10 | Bam__ | Ku: yes but I am not sure it's the way to go... I think it may be better to wait with the scanning until the next OnUpdate call after MERCHANT_SHOW has been fired |
06:59.33 | Ku | I'm still not exactly sure how to use OnUpdate. |
06:59.42 | Shirik | it's called on every frame |
06:59.43 | Ku | I checked the API, but... |
06:59.59 | Shirik | like |
07:00.02 | Shirik | if you have 20 fps |
07:00.11 | Shirik | OnUpdate gets called 20 times per second |
07:00.13 | Shirik | not really |
07:00.16 | Shirik | but just assume that |
07:00.20 | Ku | Okay. |
07:00.21 | Shirik | it's easier |
07:00.46 | Shirik | now |
07:00.47 | Bam__ | when MERCHANT_SHOW is called, you can set a variable to true, then in your OnUpdate handler, you check if the variable is true and do the scanning if it is |
07:00.51 | Shirik | when you bind to OnUpdate |
07:00.56 | Shirik | the handler function gets passed one argument |
07:01.04 | Shirik | that argument is the time since its last call |
07:01.08 | Shirik | but you really don't need to worry about that |
07:01.39 | Shirik | so if you wanted to delay something for one second you could do something like |
07:01.49 | *** join/#wowi-lounge Vilkku (n=Vilkku@dsl-86-60-132-188-DynIP.ssp.fi) |
07:01.50 | Ku | So, if I wanted to write a function that checks each frame until name ~= nil, I could use OnUpdate? |
07:02.37 | Shirik | local t; local function myOnUpdate(dt) t = (t or 0) + dt; if t > 1 then --[[ do some stuff ]] end end; frame:SetScript("OnUpdate", myOnUpdate) |
07:03.07 | Shirik | yes you could do that |
07:03.14 | Shirik | but you have to be careful |
07:03.26 | Shirik | putting a lot of processing in OnUpdate will cause low framerates |
07:03.44 | Shirik | you should either minimize processing in OnUpdate or only do it once every so often, and not on every OnUpdate call |
07:04.57 | Bam__ | Ku: show your XML file and I can show you what I mean :) |
07:08.53 | Kjellviz | Shirik: hey, was afk a while |
07:09.00 | Shirik | so was I :P |
07:09.07 | Kjellviz | u still here and done with ur icecream ? |
07:09.17 | Shirik | unfortunately :( |
07:09.18 | Kjellviz | ^^ |
07:09.21 | Kjellviz | hehe |
07:09.25 | Shirik | took me forever to get that ice cream |
07:09.32 | Shirik | and it disappeared in a few seconds :( |
07:09.32 | Kjellviz | we were talkin yesterday bout macros |
07:09.38 | Kjellviz | hehe, thats life |
07:09.39 | Shirik | right |
07:09.58 | Kjellviz | well ill sum it up |
07:10.12 | Kjellviz | it needs to; |
07:10.41 | Kjellviz | at first, when no focus is present, set current target as focus |
07:11.20 | Kjellviz | no modifier; use spesific pet skill after what pet is summoned |
07:11.30 | Kjellviz | shift mod; banish |
07:11.37 | Kjellviz | alt mod clear focus |
07:12.00 | Kjellviz | and if i understood you correctly, it will not change my focus once set, if i dont clear it? |
07:12.13 | Shirik | correct |
07:12.32 | Kjellviz | sweet |
07:12.46 | Kjellviz | well i think thats basically what i need |
07:13.01 | Shirik | didn't I give you that yesterday? |
07:13.07 | Kjellviz | not that no |
07:13.32 | Kjellviz | what i got was one that used seduce if succu was present, and banish if not |
07:13.43 | Kjellviz | cos that was what i initially asked for ^^ |
07:14.07 | Kjellviz | but we continued to discuss until ur boss called ^^ |
07:14.39 | Ku | Here's my XML. |
07:14.40 | Ku | http://wowi.pastey.net/35999 |
07:15.10 | Shirik | well /focus [target=focus,noexists] /clearfocus [modifier:alt] /stopmacro [modifier:alt] /cast [target=focus,modifier:shift] Banish; [target=focus,pet:whatever] skill; [target=focus,pet:whatever] skill ... |
07:16.04 | Kjellviz | sweet, thanks |
07:16.17 | Kjellviz | im in your debt |
07:17.40 | DT_ | 10[23:56] Shirik: 01if you have 20 fps 10[23:57] Shirik: 01OnUpdate gets called 20 times per second 10[23:57] Shirik: 01not really 10[23:57] Shirik: 01but just assume that |
07:17.42 | DT_ | What do you mean? |
07:17.49 | Shirik | uhhh |
07:17.52 | Shirik | can't read that at all |
07:17.55 | Ku | Did you get my XML, Bam? |
07:18.01 | Shirik | oh I had to highlight it |
07:18.05 | Shirik | I have a black background >< |
07:18.52 | Shirik | you mean why did I say it wasn't quite called on every frame? |
07:18.58 | DT_ | Yeah |
07:19.03 | Shirik | because I was going crazy |
07:19.07 | Shirik | I really don't know why I said that |
07:21.22 | Bam__ | Ku: something like this: http://wowi.pastey.net/36004-1bv8 |
07:22.25 | *** join/#wowi-lounge batrick (n=batrick@c-76-18-71-214.hsd1.nm.comcast.net) |
07:22.46 | Bam__ | Ku: entirely untested of course... but I hope you get the idea :P |
07:23.43 | Bam__ | you may want to include a check for MerchantFrame:IsVisible()... just for safety |
07:24.28 | Ku | I could set a flag to start checking for IsVisible when MERCHANT_SHOWN was triggered. |
07:24.49 | Ku | Then, once IsVisible was true, then set the flag to false and call the function. |
07:25.38 | Bam__ | you could but I don't think it's needed really... the main idea is that you want to be sure that MERCHANT_SHOW has been treated by the MerchantFrame before you call your function |
07:25.59 | Bam__ | calling your function on the next OnUpdate should ensure that |
07:30.56 | Ku | Just tested. Still got |
07:30.56 | Ku | ..\AddOns\NewRecipe\NewRecipe.lua line 69: |
07:30.56 | Ku | <PROTECTED> |
07:31.34 | Ku | Which leads me to believe there is something wrong with this line. |
07:31.35 | Ku | local name, texture, price, quantity, numAvailable, isUsable, extendedCost = GetMerchantItemInfo(i); |
07:32.08 | Ku | Which doesn't really explain why it works when I talk to him again... |
07:32.45 | Bam__ | yea it does... GetNumMerchantItems() returns the last known number of items... so the second time it will be corrrect |
07:33.34 | Ku | Oh... |
07:33.36 | Bam__ | but how to solve it.. im not sure... it looks like there may be a delay from the server.. so perhaps it really is needed to catch MERCHANT_UPDATE |
07:33.51 | Ku | Hrmmm... |
07:34.01 | Bam__ | also... you don't really need GetNumMerchantItems() |
07:34.06 | Ku | Catch MERCHANT_UPDATE on... |
07:34.16 | Ku | Well, it runs a loop through all the items. |
07:34.36 | Bam__ | hang on |
07:35.27 | Bam__ | local name, texture, price, quantity, numAvailable, isUsable, extendedCost = GetMerchantItemInfo(i) |
07:35.27 | Bam__ | while name do |
07:35.27 | Bam__ | <PROTECTED> |
07:35.27 | Bam__ | <PROTECTED> |
07:35.27 | Bam__ | end |
07:35.32 | Shirik | aiee |
07:35.38 | Bam__ | sorry :/ |
07:35.51 | Shirik | anything over 3 lines should really be pasteyed |
07:35.52 | Bam__ | was a bit too short to use pasty I thought :P |
07:36.16 | Shirik | is ok :) |
07:36.42 | Bam__ | if there was massive activity in the room, I wouldn't have :P |
07:37.02 | Ku | So, call that loop, and just increment i each time. |
07:37.13 | Ku | Until i is a greater index than what the merchant has. |
07:37.19 | Ku | So, name will be nil. |
07:37.24 | Bam__ | yes sorry.. forgot to include i there |
07:37.26 | Ku | That could work. |
07:37.47 | Ku | But that still won't fix the error. |
07:37.57 | Ku | It will just skip over the entire thing. |
07:38.02 | Bam__ | it might yes |
07:38.14 | Ku | It might skip the entire thing? |
07:38.17 | Ku | Or fix the error? |
07:38.47 | Bam__ | it WILL fix the error you are getting... but wether it will work as intended is a different story :P |
07:39.51 | Bam__ | it may still be that you have to use MERCHANT_UPDATED.. though I find it rather strange really |
07:41.42 | Kjellviz | any idea why my cartographer is consuming almost 6MB mem ? =\ |
07:41.54 | Bam__ | well looking at Blizzard's code it does seem like they use MERCHANT_UPDATE actually |
07:41.55 | Corrodias | all i can say is... 6mb, is that all? |
07:42.12 | Kjellviz | Corrodias: ? |
07:42.24 | Corrodias | maybe that is a lot for cartographer, but my UI garbage collects somewhere around 180mb :/ |
07:42.26 | Shirik | really, I agree 6MB isn't that much for a map addon |
07:42.51 | Kjellviz | well what does it collect ? |
07:43.04 | Bam__ | Ku: so you could simply replace MERCHANT_SHOW with MERCHANT_UPDATE... but include a Merchant:IsVisible() check too as a safeguard |
07:43.27 | Kjellviz | a map addon should not collect any garbage imo (but then again im not fully understanding the concept of how addons work ><) |
07:43.34 | Corrodias | well, i think it can get down to 90mb |
07:43.54 | Kjellviz | im at a total of mem usage of bout 39mb |
07:43.57 | Kjellviz | >< |
07:43.58 | Corrodias | your UI collects garbage once it is using a certain amount of memory |
07:44.22 | Ku | I'm thinking something like: http://wowi.pastey.net/36013 |
07:44.22 | Bam__ | basically all addons produce garbage to some extent |
07:44.44 | Kjellviz | kk ill let it consume its 6MB then ^^ |
07:44.47 | Shirik | specifically |
07:44.53 | Shirik | double what you start with |
07:44.56 | Shirik | (or since the last GC) |
07:45.04 | Kjellviz | on to another addon, Raid Assist |
07:45.05 | Shirik | or, in 2.1, 1.1 times what you started with |
07:45.07 | Shirik | or since the last GC |
07:45.29 | Bam__ | Ku: yes but the ResetFlag thing is not needed |
07:45.39 | Ku | You think? |
07:45.42 | Kjellviz | is CTRA (or equivalents like oRA2) really needed ? |
07:45.57 | Ku | If it isn't there, it will run the loop constantly as long as the window is open. |
07:45.57 | Bam__ | and you no longer need to use OnUpdate for this |
07:46.05 | Kjellviz | if the guild is using Deadly Boss mods and Natures Enemy Castbar |
07:46.44 | Bam__ | not if you dont' use OnUpdate |
07:46.50 | Corrodias | well |
07:47.07 | Corrodias | we were using CTRA for readychecks and main tank lists, back in ZG |
07:47.16 | Corrodias | nah, readycheck is a blizzard thing, isn't it? |
07:47.22 | Bam__ | Ku: so basically.. go back to your old version and just replace MERCHANT_SHOW with MERCHANT_UPDATE |
07:47.23 | Shirik | wasn't always |
07:47.27 | Shirik | RDX used to do ready checks |
07:47.30 | Corrodias | but we haven't used the MT list in karazhan and we're not past it yet, so we haven't been using it |
07:47.33 | Shirik | then blizzard implemented it so we removed it |
07:47.34 | Ku | When does MERCHANT_UPDATE fire? |
07:47.42 | Shirik | but you still see the remnants, it's sitll an option in the logistics menu |
07:47.50 | Ku | On every frame showing the merchant pane? |
07:47.51 | Bam__ | apparently when items are ready to be read |
07:47.59 | Kjellviz | Corrodias: no xactly what im thinking |
07:48.02 | Bam__ | nah |
07:48.13 | Bam__ | probably only once after MERCHANT_SHOW |
07:48.22 | Kjellviz | dunno if any of the other addons supports durabilitycheck and such ? |
07:48.29 | Shirik | RDX does :) |
07:48.29 | *** join/#wowi-lounge gnor (n=jaydee@cpe-76-81-38-253.socal.res.rr.com) |
07:48.31 | Corrodias | there is that, too |
07:48.36 | Bam__ | and perhaps on the rare occasion that a vendor suddenly gets a new item |
07:49.08 | Bam__ | that can happen with those items that are in limited stock, I think |
07:49.13 | Kjellviz | RDX u say |
07:49.18 | Kjellviz | ? |
07:49.38 | Shirik | rdx's logistics module allows checking of resistances, inventory, durability, SS cooldowns, etc. |
07:49.44 | Shirik | by raid leaders only though |
07:49.51 | Shirik | (and assists) |
07:50.05 | Kjellviz | ofc |
07:50.11 | Kjellviz | sounds nice enough |
07:50.18 | Kjellviz | unless its just another memoryhog |
07:50.19 | Kjellviz | >< |
07:50.34 | Shirik | :( |
07:50.41 | Shirik | I would like to say it's not |
07:50.47 | Kjellviz | hehe |
07:50.52 | Kjellviz | well ive been a real addonwhore |
07:50.56 | Bam__ | memory is cheap... buy some more :P |
07:51.06 | Kjellviz | but lately ive been trying to minimize the load |
07:51.12 | Shirik | In Lua, memory is not directly related to performance |
07:51.15 | Ku | Well... I'm not getting the error. |
07:51.18 | Shirik | in fact, in most cases, it's indirectly related |
07:51.21 | Bam__ | yay :D |
07:51.24 | Shirik | inversely* |
07:51.24 | Ku | But, it isn't outputting anything either. |
07:51.29 | Bam__ | :( |
07:52.01 | Kjellviz | well disabling addons is ALWAYS good for performance |
07:52.03 | Bam__ | well im not sure what your code looks like now :P |
07:52.11 | Kjellviz | however you twist and turn it :) |
07:52.17 | Shirik | not always |
07:52.23 | Shirik | I could write an addon that disables everything in the UI |
07:52.23 | Kjellviz | yes always |
07:52.26 | Shirik | that would increase performance |
07:52.27 | Kjellviz | lol |
07:52.29 | Kjellviz | ok |
07:52.48 | Bam__ | including Blizzard's UI.. that's the worst part :P |
07:52.51 | Kjellviz | but usually thats not the case >< |
07:52.52 | Ku | Same, I just... |
07:52.57 | Ku | I'll just re-upload it. |
07:53.00 | *** join/#wowi-lounge Srosh (n=Srosh@c209120.adsl.hansenet.de) |
07:53.54 | Ku | Lua: http://wowi.pastey.net/36020 XML: http://wowi.pastey.net/36021 |
07:54.19 | Kjellviz | ok give me some tips on addons here; |
07:54.19 | Kjellviz | one for chatbox, need to remove the scrollbuttons and color name by class, also needs to be able to move the editbox |
07:54.35 | Kjellviz | one for displaying vendorprices on items tooltip |
07:54.56 | Bam__ | Ku: erm.. you have commented out the part where you do the scanning |
07:54.57 | Kjellviz | and a good addon for showing what HoTs i have running and such |
07:55.07 | Shirik | I'm almost finished with a module for that |
07:55.12 | Shirik | but until then |
07:55.14 | Shirik | CCWatch can |
07:55.18 | *** join/#wowi-lounge Andalia (i=xx@p54ACB986.dip0.t-ipconnect.de) |
07:55.29 | Ku | No I didn't. I just commented the part out where it only works on Patterns, Recipes, etc. |
07:55.36 | Bam__ | ah |
07:55.40 | Ku | It should print all items now. |
07:55.50 | Corrodias | the only thing i actively dislike about my UI right now is the tendency for a member in my raid frames (perfectraid, although praid itself might not be responsible for this problem) getting stuck while playing in the arena |
07:55.50 | Ku | Yet it prints... NOTHING! |
07:56.05 | Bam__ | that's not much |
07:56.28 | Kjellviz | Shirik: ill check that 1 out =) |
07:56.36 | Shirik | http://rdx.emoemu.com |
07:56.42 | Shirik | CCWatch at http://www.wowinterface.com |
07:56.48 | Bam__ | do include the Merchant:IsVisible() btw.. not that I think it's the problem now |
07:57.12 | Ku | Where would that go? |
07:57.19 | Ku | In the Lua, or the XML? |
07:57.28 | Corrodias | i do want something to show me a timer on my hunter traps... ttspelltimer doesn't |
07:57.35 | Shirik | CCWatch |
07:57.38 | Kjellviz | akready at wowinterface ^^ |
07:57.49 | Bam__ | in the XML probably... to avoid calling your scanner if the MerchantFrame is not shown |
07:57.54 | Kjellviz | i have chronometer now |
07:57.57 | Kjellviz | it works fine |
07:58.05 | Kjellviz | but it uses to much mem >< |
07:58.22 | Kjellviz | or i dunno, i wanna check if there are any other addons that uses less at least |
07:58.45 | Kjellviz | cos natures enemy castbar uses 1/10th of the mem that Chronometer does |
07:59.41 | Bam__ | Ku: I think perhaps you need a completely different strategy |
07:59.52 | Shirik | Kjellviz: Unless you understand the reasons for its memory usage |
07:59.58 | Bam__ | Ku: instead of catching events, you can hook MerchantFrame_Update |
07:59.58 | Shirik | I suggest you don't use that as a way to calculate performance |
08:00.09 | Corrodias | hmm, i will need something to replace my timer... okay |
08:00.25 | Shirik | in many cases in lua, less memory usage can be a bad thing |
08:00.31 | Kjellviz | well i see its delaying loadtime by loads |
08:00.51 | Kjellviz | how can that be a bad thing if ur running out of mem ? |
08:00.59 | Shirik | you shouldn't be running out |
08:01.01 | Ku | Bam: Just how would I go about doing that? |
08:01.03 | Shirik | set your memory limit to 0 |
08:01.14 | Shirik | setting a memory cap causes problems for wow's implementation of lua |
08:01.18 | Shirik | and it will be forced to 0 in 2.1 anyway |
08:01.30 | Kjellviz | not running out of mem in wow |
08:01.32 | Kjellviz | but on comp |
08:02.01 | Corrodias | i wish i could tell it to not GC until it reaches a certain amount |
08:02.07 | Shirik | you can |
08:02.13 | Corrodias | what? how? |
08:02.16 | Shirik | sec |
08:02.19 | Shirik | healing |
08:02.23 | Corrodias | some of my addons allocate a lot of memory, especially during combat |
08:02.28 | Corrodias | frequent garbage collection |
08:02.39 | Bam__ | Ku: http://wowi.pastey.net/36024-3ltm |
08:03.09 | Ku | I see the problem with using MERCHANT_UPDATE. |
08:03.50 | Bam__ | it's not called? |
08:03.53 | Ku | It only fires when I turn a page or sell something. |
08:03.59 | Ku | Or buyback something. |
08:04.01 | Bam__ | yea I figured that |
08:04.16 | Bam__ | I think the best way is the hook code I gave ou |
08:04.18 | Bam__ | you |
08:04.28 | Ku | When is Merchant_Update() called? |
08:04.35 | Ku | Like, when does that go off? |
08:04.47 | Kjellviz | allrite im off for a while =) |
08:04.52 | Ku | (And does that go in the XML or the Lua?) |
08:05.00 | Bam__ | both when the MerchantFrame is opened and when it is updated |
08:05.07 | Kjellviz | tnx 4 help |
08:05.07 | Bam__ | in Lua |
08:05.38 | Ku | Okay. |
08:05.53 | Ku | So, what calls that bad boy? |
08:06.06 | Bam__ | perhaps it might be better to hook MerchantFrame_OnShow though |
08:06.30 | Bam__ | it's called by Blizzard's code after they receive MERCHANT_SHOW |
08:06.42 | Ku | Okay. |
08:06.48 | Ku | Just change one with the other? |
08:06.52 | Bam__ | or rather right after the MerchantFrame is shown |
08:06.57 | Bam__ | yea |
08:07.58 | Ku | Now I've got: http://wowi.pastey.net/36030 |
08:08.24 | Ku | Then, do I just take out the call to it in my XML? |
08:08.26 | Bam__ | yea looks good |
08:08.35 | Bam__ | yes no need for it now |
08:08.45 | *** join/#wowi-lounge gnor (n=jaydee@cpe-76-81-38-253.socal.res.rr.com) |
08:09.12 | Ku | Works brilliantly! |
08:09.15 | Ku | ^_______________^ |
08:09.23 | Bam__ | try it a few times :P |
08:09.36 | Ku | I'm going to try with a bunch of vendors now. |
08:09.39 | Ku | brb |
08:09.51 | Bam__ | but this really ought to work.. cus it's what Blizzard is doing basically |
08:10.42 | Bam__ | Ku: do you have Blizzard's UI code to look at? |
08:10.52 | Ku | Noooo! |
08:10.53 | Ku | ..\AddOns\NewRecipe\NewRecipe.lua line 92: |
08:10.53 | Ku | <PROTECTED> |
08:11.07 | Bam__ | hmm |
08:11.14 | Ku | Yeah, I got it from the wowinterface.com |
08:11.28 | Bam__ | do you still have the call in the XML? |
08:11.56 | Ku | The weird thing is... it stopped mid-function. |
08:12.04 | Ku | It printed items 1-3, then errored. |
08:12.11 | Ku | No, I don't. |
08:12.50 | Bam__ | the code you want to look at is MerchantFrame_UpdateMerchantInfo |
08:13.06 | Bam__ | that's what Blizzard is doing to fill the vendor display |
08:13.51 | Bam__ | it actually looks like they only fill one page.. so perhaps you can only retrieve one page at a time |
08:14.24 | Ku | Well, I've had it run through all the items before on a multi-page vendor. |
08:15.12 | Bam__ | yea im not sure really |
08:15.39 | Bam__ | they only need to display one at a time.. so who knows |
08:16.50 | Ku | Sometimes it seems like my script runs through the items faster than they are ready. |
08:18.05 | Bam__ | print out what i is when you get the error |
08:18.18 | Ku | Sure. |
08:21.50 | Ku | http://wowi.pastey.net/36053 |
08:22.43 | Bam__ | how many items does that vendor actually have? |
08:23.21 | Ku | 4 |
08:23.36 | Ku | But it happened earlier where he had 6 and it stopped on 1. |
08:23.38 | Bam__ | so only one page? |
08:23.42 | Ku | Correct. |
08:23.51 | Ku | If I talk to him again, it doesn't happe. |
08:23.52 | Ku | *happen |
08:24.39 | *** join/#wowi-lounge Kaso (n=Kaso@host81-151-110-175.range81-151.btcentralplus.com) |
08:25.03 | Bam__ | I really don't know.... try hooking MerchantFrame_Update instead |
08:25.52 | Bam__ | no actually hook MerchantFrame_UpdateMerchantInfo |
08:26.18 | Ku | Oh.. shit. |
08:26.31 | Ku | I'm pretty sure the error is with my tooltip? |
08:26.34 | Ku | Maybe... |
08:26.44 | Ku | I'll try the new hook first. |
08:26.49 | Bam__ | hmm |
08:27.10 | Bam__ | but the error occurs in a line that doesn't do anything with the tooltip |
08:29.01 | Ku | Okay, forget the tooltip. |
08:29.13 | Ku | That last bit worked, except now it retriggers every time I do a move. |
08:29.24 | Ku | So, If I sell something, it retriggers. |
08:29.28 | Bam__ | yea |
08:29.29 | Tem | gah |
08:29.32 | Tem | 7 BM runs today |
08:29.36 | Tem | and no staff drops |
08:29.38 | Tem | <PROTECTED> |
08:29.38 | Ku | Perhaps a flag here that goes off when I close the window! |
08:29.47 | Bam__ | yea could work |
08:29.54 | Ku | Just hook the close command? |
08:30.28 | *** join/#wowi-lounge leethal (n=leethal@kri1-1x-dhcp065.studby.uio.no) |
08:30.29 | Bam__ | either that or catch MERCHAT_CLOSE |
08:30.55 | Ku | Hook Merchant_OnHide(0; |
08:30.59 | Ku | *() |
08:31.07 | Bam__ | yea |
08:34.06 | Ku | Hooah! |
08:34.08 | Bam__ | I don't know if this is the best way to do it... I suggest you find some addons that also do vendor scanning and check what they do.. that's really the best way to learn :P |
08:34.23 | Ku | Mine is the penultimate way to vendor scan. |
08:34.29 | Ku | The end-all of Vendor Scanning! |
08:34.30 | Bam__ | hehe |
08:34.41 | Bam__ | the end of something at least... hahah |
08:34.43 | Bam__ | :P |
08:35.11 | Bam__ | certainly the end of my knowledge :D |
08:35.18 | Ku | You've been very helpful. |
08:35.27 | Ku | What's the currency of this channel? |
08:35.39 | Shirik | yen |
08:35.43 | Ku | I'll give you TEN GOLD STARS, TWO SILVER STARS. |
08:35.43 | Bam__ | that's ok.. I may have to do someething like that later actually :P |
08:35.47 | wobin | Kuai |
08:35.47 | Shirik | USD |
08:35.50 | Bam__ | lol thanks |
08:35.53 | Shirik | USD FTW |
08:35.56 | wobin | RMB |
08:35.59 | Ku | Whatever you can get from these chumps. |
08:36.02 | Shirik | anyone who doesn't use USD is a noob |
08:36.04 | Bam__ | a smile and a thank you will do :P |
08:36.04 | Ku | Maybe some changey money ladies. |
08:36.04 | wobin | GOLDGOLDGOLD |
08:36.19 | Bam__ | :D |
08:36.37 | Ku | Look for a version 0.3 on wowinterface.com tomorrah. |
08:36.43 | Bam__ | now my head is spinning lol... I gotta take a break :P |
08:36.51 | Corrodias | so, Shirik |
08:36.52 | Bam__ | good luck with your code :P |
08:37.00 | Corrodias | you were about to say, about making it not GC until a certain amount? |
08:37.04 | Shirik | oh right |
08:37.15 | Shirik | ok, I'm not sure I'd advise messing with this |
08:37.23 | Shirik | but collectgarbage("setpause", x) |
08:37.34 | Shirik | x / 100 is the percentage to wait |
08:38.35 | Corrodias | so it defaults to.. 200 or so? |
08:38.35 | Shirik | i.e., at 200, it will GC once you have reached double the starting memory |
08:38.35 | Shirik | right |
08:38.42 | Corrodias | thanks |
08:38.49 | Shirik | no problem :) |
08:38.52 | Shirik | you can also force a GC if you want |
08:39.00 | Shirik | collectgarbage "collect" |
08:39.15 | Shirik | and you can watch the memory yourself: collectgarbage "count" |
08:39.47 | Ku | Night guys. |
08:39.48 | Corrodias | what does that do? |
08:39.52 | Shirik | which? |
08:40.01 | Corrodias | "count" |
08:40.06 | Shirik | collectgarbage("count") returns the currently used amount of memory in KBytes |
08:40.11 | Corrodias | ah |
08:41.19 | Shirik | > print(collectgarbage "count"); a = {}; for x = 1,10000 do a[x] = {}; end print(collectgarbage "count"); |
08:41.19 | Shirik | 20.21484375 |
08:41.19 | Shirik | 587.7294921875 |
08:41.36 | Corrodias | http://img.4chan.org/b/src/1179648153740.jpg |
08:42.09 | Shirik | I don't get it |
08:42.34 | Corrodias | it's supposed to look improbable, although anyone with an understanding of center of weight is not fooled |
08:43.18 | Shirik | oh I get it |
08:43.29 | Shirik | but yeah that should work |
08:43.39 | Shirik | (statics ftw) |
08:43.44 | Shirik | I never actually thought that class would be useful |
08:44.19 | Corrodias | statics... i don't know that term |
08:45.15 | Tem|Sleep | I'm often happy I left engineering and went back to csc before getting to thermo and statics |
08:46.40 | Shirik | hehe |
08:46.51 | Shirik | yeah, comp engineering makes me take statics, dynamics, and... |
08:46.52 | Shirik | something else |
08:46.59 | Shirik | they call it the deadly trinity here |
08:47.18 | Shirik | Corrodias: Statics is basically |
08:47.25 | Shirik | physics of stuff that doesn't move |
08:47.33 | Shirik | i.e., making sum F = 0 |
08:49.22 | Corrodias | interesting... |
08:53.23 | leethal | so, UNIT_SPELLMISS rocks. I don't have to parse CHAT_MSG_SPELL_FOO_DAMAGE messages, I can get it directly |
08:53.36 | leethal | but! According to the API, UNIT_SPELLMISS doesn't contain any info on immunity |
08:53.50 | leethal | so, casting a spell on an immune mob does not fire UNIT_SPELLMIST, correct? |
08:54.02 | Shirik | I think it does |
08:54.10 | Shirik | just it doesn't tell you immune vs resist |
08:54.40 | leethal | ah |
08:55.01 | leethal | apparently arg2 tells you what happened |
08:55.08 | leethal | "PARRIED", "BLOCKED" etc |
08:55.12 | leethal | so, when it's immune you'll get "MISSED"? |
08:55.18 | Corrodias | try it |
08:55.21 | Shirik | I can't say I've ever used it |
08:55.26 | Shirik | you should try it yourself |
08:55.31 | Corrodias | attack any alemental with a nature spell |
08:55.32 | Shirik | I've always used the CMC events |
08:55.33 | leethal | heh, true |
08:56.07 | leethal | but.. in http://www.wowwiki.com/Events/Unit_Info#UNIT_SPELLMISS it doesn't seem no mention what spell was cast.. I guess I'll have hell on earth figuring out that, so parsing CMC for the win |
08:56.43 | *** join/#wowi-lounge ckknight (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com) |
08:57.04 | leethal | but as you say, time to find an elemental =) |
08:59.07 | Corrodias | cmc? |
08:59.12 | Shirik | CHAT_MSG_COMBAT_ |
09:03.22 | *** join/#wowi-lounge Punkie` (n=~@host86-130-2-120.range86-130.btcentralplus.com) |
09:06.27 | leethal | wtb suggestion on where to find something that's frost immune |
09:07.50 | Punkie` | water elemental? |
09:08.46 | leethal | hmm, yeah |
09:08.50 | leethal | I never did elemental farming =/ |
09:08.52 | leethal | ah, felwood |
09:10.19 | *** join/#wowi-lounge gnor (n=jaydee@cpe-76-81-38-253.socal.res.rr.com) |
09:10.40 | *** join/#wowi-lounge gnor (n=jaydee@cpe-76-81-38-253.socal.res.rr.com) |
09:17.32 | *** join/#wowi-lounge Neebler (n=BuM@adsl-70-140-218-33.dsl.chi2ca.sbcglobal.net) |
09:28.16 | leethal | nope, no UNIT_SPELLMISS on immune =/ |
09:29.34 | Neebler | http://www.notcot.com/archives/2007/02/oh_mi_bod.html |
09:29.37 | Neebler | oh shit |
09:29.38 | leethal | I get a UNIT_COMBAT with arg1 "target", arg2 "immune", though |
09:29.46 | Neebler | dont click that. wrong window to paste into |
09:29.55 | Corrodias | too late |
09:29.56 | leethal | *clicks* |
09:31.10 | Corrodias | and when i close that window, i have a map of thousand needles behind it |
09:31.25 | Corrodias | what a suggestive map this is |
09:34.07 | leethal | joana ftw? |
09:35.22 | Corrodias | eh? |
09:35.32 | leethal | nvm |
09:36.12 | Corrodias | rasputin's penis has its own wikipedia article |
09:37.34 | leethal | linkz plox |
09:37.51 | Corrodias | http://en.wikipedia.org/wiki/Rasputin%27s_penis |
09:41.46 | *** join/#wowi-lounge foxlit (n=me@0x573e6bae.albnxx18.adsl-dhcp.tele.dk) |
09:44.00 | leethal | an wikipedia article about a penis, and not a single mention about it's size, wtf |
09:45.16 | leethal | that's why uncyclopedia > wikipedia |
09:48.25 | Shirik | night all |
09:48.31 | Corrodias | ni |
09:52.17 | foxlit | hey |
09:54.00 | nevcairiel | whats the XML that contains the raid group layout frame, where i can move players to different groups etc ? i cant find it in RaidFrame.lua .. |
09:57.31 | *** join/#wowi-lounge beerke (n=beerke@5353E179.cable.casema.nl) |
09:57.47 | *** join/#wowi-lounge beerke (n=beerke@5353E179.cable.casema.nl) |
09:58.09 | leethal | RaidFrame.xml perhaps? </troll> |
09:59.53 | *** join/#wowi-lounge Telrin (n=test@shandalar.xs4all.nl) |
10:05.24 | foxlit | I can't pre-allocate tables anymore? (table.setn is depricated) |
10:10.05 | Corrodias | i know noooothing |
10:13.05 | Kaso | i believe you cannot foxlit, though my memory is fading on that topic, why do you need to |
10:14.40 | foxlit | Background reason - makign a table with a large number of entries, wondering if I should let Lua know beforehand or if it just doesn't care |
10:17.15 | Kaso | i dont think you can so dont worry about it :> |
10:27.19 | Corrodias | i wish i were playing wow |
10:27.26 | Corrodias | but i can't, because it's late at night and i should go to bed |
10:27.35 | Corrodias | i don't want to go to bed, so i'm wasting time reading webcomics |
10:27.47 | Corrodias | but the sooner i sleep, the more i can play wow tomorrow |
10:32.10 | Corrodias | my little hunter reached level 40 today and got his first ever raptor |
10:34.43 | leethal | hunter wins |
10:34.57 | Corrodias | i'm enjoying him, certainly |
10:35.02 | leethal | leveling a hunter atm too, I've had some seriously nice PvP moments |
10:35.02 | Corrodias | i also like my druid and mage |
10:35.20 | Corrodias | i don't like pvp, because i'm bad at it. |
10:35.20 | leethal | soloed a 55 rogue and a 54 druid when I was 53 *grins* |
10:36.27 | Corrodias | the hunter is one of the best-equipped to handle a rogue |
10:36.41 | Corrodias | and feral druids |
10:36.49 | Corrodias | balance druids much less so |
10:37.07 | Corrodias | *one of the best-equipped classes |
10:38.01 | Corrodias | if a druid is smart and quick, he can hibernate your pet before you get Bestial Wrath off... but he can't keep you from using Scare Beast if he shifts into a form. |
10:38.14 | *** join/#wowi-lounge bindi (i=indigo@d54C68DEA.access.telenet.be) |
10:38.27 | Corrodias | and you can kite him pretty easily. he blows through mana fast trying to shift multiple times. |
10:38.45 | leethal | can I go some_local_function_that_is.."dynamic" somehow? |
10:39.33 | Corrodias | a balance druid, on the other hand, can pop barkskin to ignore spellcast pushback from damage, hibernate your pet, starfire you, and hit you with dots, then use a 70% pushback-resistant wrath when barkskin has worn off |
10:39.38 | nevcairiel | you could store it in a table and do tbl["some_function_"..name] |
10:40.17 | Corrodias | with all the extra armor that comes from moonkin form, which affects all your damage except traps and arcane shot |
10:45.24 | Corrodias | now i'm feeling seriously tired, so i'll go to bed. 'ni. |
10:45.58 | *** join/#wowi-lounge Laric (i=Laric@217-13-2-126.dd.nextgentel.com) |
10:51.38 | Laric | what event is triggered when I gain a buff and what event is fired when I loose it? (more specificly when I get innervate) |
10:51.59 | nevcairiel | UNIT_AURA |
10:52.06 | nevcairiel | in both cases |
10:52.11 | Laric | thanks |
11:28.52 | *** join/#wowi-lounge Nerinia (n=dampf@zux221-194-150.adsl.green.ch) |
11:42.58 | *** join/#wowi-lounge barduck (n=barduck@212.143.80.101) |
12:07.54 | *** join/#wowi-lounge [RL]sCaR (n=scary-og@pD9547714.dip0.t-ipconnect.de) |
12:08.27 | [RL]sCaR | lf german player´s |
12:09.53 | NimbleRabit | . |
12:40.26 | *** join/#wowi-lounge bindi (i=indigo@d54C68DEA.access.telenet.be) |
12:45.03 | Kjellviz | anybody here feel like explaining in short why addons using less memory is not necessarily a good thing in lua ? |
12:45.46 | nevcairiel | thats an interesing questiojn |
12:46.09 | Kjellviz | for which you do not know the answer ? ^^ |
12:46.32 | Kjellviz | Shirik|zZz: told me earlier today that it is so |
12:46.44 | Kjellviz | but i didnt have the time to ask for a explenation to why then |
12:47.23 | leethal | hmm |
12:47.37 | nevcairiel | only because an addon uses less memory, it does not have to be better |
12:47.51 | nevcairiel | but it can be |
12:48.07 | nevcairiel | initial memory usage is not important anyway |
12:48.20 | nevcairiel | important is the garbage it creates while running |
12:48.52 | leethal | I just discovered garbagecollect(), so I'm going wild, setting things to nil whet it's not used and so on |
12:50.13 | Kjellviz | well if initial memory usage is high |
12:50.21 | Kjellviz | then it prob wont get lower will it ? |
12:51.26 | Kjellviz | im using Warmup to check what addons is causing how much loadtime and how much initial mem and garbage it produces |
12:51.50 | Kjellviz | leethal: what u mean u just discovered ? |
12:52.14 | Kjellviz | the function for a addon you are writing or a addon named garbagecollect? |
12:52.35 | leethal | the function garbagecollect() in lua |
12:52.53 | leethal | as far as I know, it runs every once in a while, clearing out everything that's nil and not referenced to |
12:53.36 | Kjellviz | k |
12:53.45 | Kjellviz | i dont know lua at all >< |
12:54.41 | leethal | me neither, really |
12:54.48 | leethal | picking it up as I go |
12:55.43 | Kjellviz | i tried |
12:56.06 | Kjellviz | had a idea for a added function to cartographer waypoints that i wanted to make |
12:56.27 | Kjellviz | but i found out that id spend 10 hours learning a language to make a 10 min addon |
12:56.31 | Kjellviz | so i scrapped it >< |
13:02.10 | leethal | solving your own problems ftw |
13:02.15 | leethal | that's how I got started |
13:02.34 | leethal | and when it's a problem/issue I have myself, it keeps me going too =) |
13:10.32 | *** join/#wowi-lounge Jens (i=Jens@pdpc/supporter/active/Jens) |
13:15.43 | Kjellviz | well problem was not big enough i guess |
13:16.16 | Kjellviz | all i wanted to accomplish was not having to type /tway xx,yy everytime i wanted to add a waypoint |
13:16.40 | Kjellviz | so i wanted a addon that i clicked a button, typed xxyy (no , ) and hit enter |
13:17.12 | Kjellviz | and it would output /tway xx,yy to chatbox |
13:17.12 | Kjellviz | very very not complicated |
13:17.18 | Kjellviz | but idd complicated when u dont know shit about programming at all |
13:17.19 | Kjellviz | >< |
13:19.31 | leethal | instead of adding /tway xx,yy to the chatbox, it's probably easier to parse your xxyy from the buttond and send it directly to the thingie /tway sends it to |
13:20.06 | Kjellviz | prob, i wouldnt know |
13:20.08 | Kjellviz | >< |
14:13.06 | *** join/#wowi-lounge rophy2 (n=Miranda@220-132-204-186.HINET-IP.hinet.net) |
14:18.35 | *** join/#wowi-lounge GeoMance (n=GeoMance@user-0cei8ag.cable.mindspring.com) |
14:18.37 | GeoMance | WHEEE! |
14:24.19 | *** join/#wowi-lounge ven (i=ven@i59F57032.versanet.de) |
14:31.38 | *** join/#wowi-lounge Adys (n=Miranda@APoitiers-256-1-77-172.w90-16.abo.wanadoo.fr) |
14:32.02 | *** join/#wowi-lounge Droolio (n=drool@87-194-188-170.bethere.co.uk) |
14:36.11 | cladhaire | SOO many ptr patches |
14:36.15 | cladhaire | tells a how up to date i am |
14:36.30 | GeoMance | What patches? >.> |
14:36.59 | cladhaire | the ones on the PTR |
14:37.22 | GeoMance | Amd sadly, I have no idea what a PTR is. <., |
14:37.56 | foxlit | Party That Roams! |
14:38.25 | GeoMance | Heh. |
14:42.16 | cladhaire | Its the Public Test Realms |
14:43.59 | GeoMance | Ah, never been to one of those. |
14:45.51 | *** join/#wowi-lounge zenzelezz (n=zenzelez@ti131310a341-1611.bb.online.no) |
14:46.11 | zenzelezz | ... and that's what happens when you're a nub trying to run a regexp search and replace on a large file |
14:46.23 | GeoMance | Heh. |
14:49.25 | *** join/#wowi-lounge Drool (n=drool@87-194-188-170.bethere.co.uk) |
14:54.11 | cladhaire | anyone here familiar with frFR clients? |
14:54.44 | haste | define 'familiar' |
14:55.03 | cladhaire | on that client, how do you cast a ranked spell? |
14:55.12 | cladhaire | is it /cast Healing Touch (Rang 4) |
14:55.13 | cladhaire | ? |
14:55.26 | haste | I would guess so |
14:55.31 | cladhaire | hrm |
14:55.35 | haste | I can update mine and check |
14:56.04 | cladhaire | getting reports that you can't use ranked spellcasts in Clique |
14:56.06 | cladhaire | on frFR |
14:56.11 | cladhaire | if you'd like to help me troubleshoot =) |
14:56.34 | haste | restarting the client now :) |
14:56.38 | cladhaire | :P |
14:56.41 | cladhaire | I'm commiting a fix now |
14:56.43 | cladhaire | that may fix it. |
14:56.53 | haste | I'll do a checkout of clique then :) |
14:57.07 | cladhaire | yes, just give me a moment :P |
14:57.40 | cladhaire | all commited. |
14:58.14 | cladhaire | i was parsing before |
14:58.18 | GeoMance | Hmmmm. |
14:58.21 | cladhaire | when in retrospect, that's not necessary |
14:58.26 | cladhaire | the rank is always just goign to have one number in it, at most |
14:59.23 | *** join/#wowi-lounge dinesh__ (n=chatzill@c-68-36-168-161.hsd1.nj.comcast.net) |
14:59.27 | GeoMance | Is the default text for the game set to a specific height? |
14:59.44 | *** join/#wowi-lounge a-stray-cat (n=a-stray-@adsl-75-26-163-212.dsl.scrm01.sbcglobal.net) |
15:00.03 | a-stray-cat | anyone about? |
15:00.16 | GeoMance | A few. |
15:00.28 | GeoMance | Whether we'll be helpful or not is another question entirely. |
15:00.43 | foxlit | You'll never know :) |
15:00.51 | a-stray-cat | would you happen to know if there are any times that PLAYER_AURAS_CHANGED will fire without a UNIT_AURA (arg1=player) preceeding it? |
15:01.23 | GeoMance | Me, nope, not at all. |
15:01.26 | cladhaire | a-stray-cat: I'm not sure how the order for those events work.. |
15:01.29 | cladhaire | why would you watch both? |
15:01.47 | a-stray-cat | well im watching UNIT_AURA for other things |
15:02.17 | a-stray-cat | and i was wondering if i should use PLAYER_AURAS_CHANGED to track player auras |
15:02.21 | a-stray-cat | or just use UNIT_AURA |
15:02.27 | a-stray-cat | i should ask if there are times when they're not fired together? |
15:02.41 | cladhaire | I'm not sure, i suspect not |
15:02.45 | cladhaire | but i'm unsure of order |
15:02.53 | cladhaire | and it would require testing to see, which is more difficult =) |
15:02.58 | a-stray-cat | order doesn't matter to me ;P |
15:03.46 | GeoMance | I doubt that there would be a time where Player aura would be called without a unit aura. |
15:04.08 | GeoMance | <.< And, are there any technical details about the type-spacing of the defulat text that WoW uses? |
15:06.05 | *** join/#wowi-lounge PProvost (n=PProvost@WoWUIDev/WAU/Admin/Pprovost) |
15:12.56 | *** join/#wowi-lounge Telrin (n=test@shandalar.xs4all.nl) |
15:18.07 | cladhaire | haste: ? <# |
15:18.11 | cladhaire | <3 evem |
15:18.13 | cladhaire | even |
15:18.22 | GeoMance | Hrm? |
15:19.49 | GeoMance | Does anyone know what the GameFontNormal's type spacing, or whatever it was. |
15:20.38 | cladhaire | what do you mean? |
15:21.14 | GeoMance | Like, if each character takes up a set spaces, or if there's a global size, what the height and width of characters is, things like that. |
15:21.27 | foxlit | Gaah, this is painful! |
15:21.50 | cladhaire | there's no information on it. |
15:21.51 | GeoMance | What is, Fox? |
15:21.55 | foxlit | Need to use something else than in-game Lua to sign code, takes too damn long. |
15:22.08 | GeoMance | To do what? |
15:22.12 | GeoMance | And damnations. |
15:22.53 | GeoMance | Well then, I guess it's back to the drawing board. |
15:22.56 | foxlit | calculate s ^ e mod n, where s, e and n are 256, 2008 and 2048 bits long |
15:23.21 | Shirik | do you really mean mod? |
15:23.23 | Shirik | or %? |
15:23.36 | GeoMance | Aren't they the same thing? |
15:23.39 | Shirik | no |
15:23.47 | Shirik | common misconception |
15:24.07 | GeoMance | What is the difference then? |
15:24.12 | Shirik | a good example is -7 mod 5 |
15:24.25 | Shirik | which is 3 |
15:24.27 | Shirik | well |
15:24.35 | foxlit | Using math notation rather than anything language-specific |
15:24.38 | Shirik | technically it's 3 + 5n, n is an element of all integers |
15:25.04 | GeoMance | Ah, alright mod is congruency, while % is the specific number? |
15:25.07 | Shirik | correct |
15:25.31 | Shirik | actually that was a bad example |
15:25.32 | *** join/#wowi-lounge sioraiocht (n=rtharper@cpe-74-71-116-245.twcny.res.rr.com) |
15:25.34 | Shirik | but oh well :P |
15:25.47 | foxlit | Basically, the problem becomes calculate c = s ^ e (mod n) suck that 0 <= c < n |
15:25.57 | Shirik | ok |
15:26.00 | foxlit | s/ck/ch/ |
15:26.23 | GeoMance | Oh, that's a useful thing. <.< |
15:26.26 | Shirik | and s, e, and n are all mega numbers |
15:26.33 | foxlit | In signing, yes. |
15:26.44 | foxlit | e is a bit small, so verification takes a lot less time. |
15:27.03 | Shirik | do you have any big number system? |
15:27.26 | foxlit | ~bignum |
15:27.28 | purl | from memory, bignum is http://oss.digirati.com.br/luabignum/bn/index.htm |
15:27.31 | Shirik | so you're using it |
15:27.55 | foxlit | Yes, mainly for multiplication |
15:28.32 | Shirik | well, I'm just gonna start doing some random math here |
15:30.25 | Shirik | it can be shown s^e (mod n) is congruent to s^e/(in) (mod n) where i is an element of all positive integers. Thus ..... wow this is going to be ugly |
15:31.08 | haste | cladhaire: slow patch is slow :D |
15:31.10 | Shirik | hold it |
15:31.16 | GeoMance | Is there a tutorial somewhere for making edgefiles, or for creating backgrounds and the like? |
15:31.16 | Shirik | is e an actual number? |
15:31.23 | Shirik | or math.exp(1) |
15:31.25 | foxlit | Yes, a large prime |
15:31.35 | cladhaire | haste: hehe no problem =) |
15:31.37 | Shirik | boo |
15:33.17 | Shirik | x = s ^e (mod n), x = s^e/(in) where i is an integer which satisfies 0 <= x<= n. xin = s^e. ln(xin) = elns |
15:33.41 | Shirik | ln(xin)/lns = e |
15:33.59 | Shirik | but the problem is we don't know what i is |
15:34.39 | foxlit | I believe I have a pretty reasonable method for doing % on bignums |
15:34.40 | Shirik | or x for that matter |
15:34.46 | Shirik | I didn't see your method |
15:35.45 | Shirik | xin - s = math_e^e, xin = math_e^e + s, xi = nmath_e^e + ns |
15:36.06 | Shirik | find i which satisfies 0<= x <= n |
15:36.28 | GeoMance | Ugh, I was hoping I wouldn't have to deal with this stuff. xD |
15:37.22 | Shirik | (i is an element of positive integers, again) |
15:38.02 | Shirik | I'm satisfied with my method, even if it's ugly |
15:38.10 | Shirik | I'm satisfied because I was able to find a solution :P |
15:38.58 | GeoMance | Hrm... |
15:39.02 | Shirik | not really |
15:39.11 | Shirik | after analyzing that, I just twisted it around |
15:39.19 | Shirik | and got x = nmath_e^e + ns (mod n) |
15:39.19 | Shirik | bah |
15:39.29 | foxlit | L( |
15:39.32 | foxlit | :( |
15:39.44 | Shirik | have fun |
15:40.24 | GeoMance | Yeah. |
15:40.31 | GeoMance | Have fun, Fox-type-person. |
15:40.52 | Shirik | foxlit |
15:40.56 | GeoMance | Hrm, why am I worried about tiling things if I'm going to have a set size for things in general. O.o |
15:40.58 | Shirik | I'm going to make a library just for you :D |
15:42.04 | GeoMance | Is there a way to tile textures, but only in specific areas? |
15:44.19 | Shirik | don't ask me I really don't know anything about textures >< |
15:44.21 | Shirik | Cidan does all that |
15:44.40 | *** join/#wowi-lounge Gnarfoz (i=smallbra@unaffiliated/gnarfoz) |
16:02.09 | GeoMance | What's the maximum name length? |
16:02.19 | cladhaire | okay. |
16:02.29 | Mr_Rabies2 | god i hope 2.1 hits tuesday :x |
16:02.33 | cladhaire | anyone have any idea what debuffs should NOT be displayed |
16:02.36 | cladhaire | like "Arcane Blast" |
16:02.40 | cladhaire | Are there others? |
16:02.52 | Mr_Rabies2 | looks like 12 characters, GeoMance |
16:03.18 | Mr_Rabies2 | oh wait |
16:03.29 | Mr_Rabies2 | you're not talking about character name are you? |
16:03.46 | GeoMance | Character name in WoW. |
16:04.23 | Mr_Rabies2 | oh okay |
16:04.33 | Mr_Rabies2 | 12 characters :O |
16:04.41 | GeoMance | Only 12? Wow. Hrm. |
16:05.05 | Mr_Rabies2 | i did 123456789012 |
16:05.31 | GeoMance | Heh, thanks. Do you know is there's a Maximum channel name length? |
16:05.38 | Mr_Rabies2 | no but i can check |
16:05.41 | zenzelezz | 123456789abc kthx |
16:05.59 | GeoMance | Hrm, thanks. |
16:06.19 | Mr_Rabies2 | ckknight: ping |
16:06.34 | Mr_Rabies2 | i just have to let him know about this hilarious bug in pitbull :p |
16:07.01 | Mr_Rabies2 | the 3d portraits for the party frames seem to be animating at about 2-4x their regular speed |
16:07.14 | Mr_Rabies2 | and it's pretty creepy looking |
16:07.18 | Mr_Rabies2 | reminds me of silent hill :( |
16:07.43 | GeoMance | Heheh. |
16:08.12 | zenzelezz | can you actually control the speed of PlayerModels (or whatever the tag was)? |
16:08.42 | Shirik | cladhaire: Depending on what you want to do |
16:08.46 | Shirik | unstable affliction |
16:09.00 | Shirik | What I have RDX do is have its own color for that though |
16:09.04 | Shirik | because sometimes you DO want to dispel it |
16:09.09 | cladhaire | yeah |
16:09.16 | cladhaire | i was thinking dreamless sleep |
16:09.19 | cladhaire | i think thats the other one |
16:09.22 | cladhaire | that peopel wanted blacklisted. |
16:09.25 | Shirik | yeah |
16:09.26 | Shirik | agree |
16:09.37 | GeoMance | What's the bit size for the TGAs converted from the BLP2s for WoW? |
16:10.00 | zenzelezz | bit depth? |
16:10.00 | Shirik | they should be 24-bit TGAs with an alpha channel I believe? |
16:10.14 | Shirik | 32* |
16:10.19 | Mr_Rabies2 | looks like 31 characters GeoMance |
16:10.19 | Shirik | 24 is without an alpha channel >.> |
16:10.29 | zenzelezz | 24 if no alpha, 32 if with alpha |
16:10.43 | zenzelezz | the icky part about TGA is how it can start in either of the four corners |
16:10.44 | Shirik | foxlit took all my math abilities today |
16:10.45 | GeoMance | Ahhhh, thanks. |
16:10.51 | Mr_Rabies2 | i did abcdefghijklmnopqrstuvwxyzabcde |
16:10.54 | Mr_Rabies2 | that's as far as i could get |
16:11.06 | Mr_Rabies2 | any more and it says invalid channel name |
16:11.47 | GeoMance | Hrm, alright then. |
16:15.29 | *** join/#wowi-lounge JoshBorke (n=Josh@r54h77.res.gatech.edu) |
16:18.47 | GeoMance | BROKE! xD |
16:20.24 | GeoMance | Wait, that's supposed to be borke. >.> |
16:23.07 | JoshBorke | hola |
16:23.36 | GeoMance | Como-estas borkster? |
16:23.47 | JoshBorke | gut, und dich? |
16:25.07 | GeoMance | Fion. |
16:26.30 | Shirik | 01001000011001010110110001101100011011110010110000100000010010100110111101110011011010000100001001101111011100100110101101100101 |
16:26.46 | JoshBorke | is that left aligned or right aligned? |
16:26.51 | Shirik | left |
16:27.28 | GeoMance | Hrm. |
16:27.58 | foxlit | 0100111001101001011001100111010001111001 |
16:28.11 | Shirik | heh |
16:28.17 | GeoMance | 1000101110000101010001010001201000101000011100/ |
16:28.39 | *** join/#wowi-lounge Vangual (n=bah@84-72-114-69.dclient.hispeed.ch) |
16:28.43 | Shirik | lol |
16:28.43 | Shirik | 2 |
16:28.54 | GeoMance | There is no 2. |
16:29.59 | foxlit | Base 3, obviously! |
16:30.02 | foxlit | Decode that :P |
16:30.20 | Shirik | I once wrote a paper regarding base 3 and its potential for memory conservation |
16:30.28 | Shirik | and decreased cost |
16:30.48 | GeoMance | Heh. Why Base 3? |
16:31.04 | Shirik | 0-1V, 2-3V, 4-5V |
16:31.10 | Shirik | still remain on TTL power devices |
16:33.04 | Shirik | obviously it was in jest |
16:33.21 | Shirik | but it was amusing to write |
16:33.51 | GeoMance | Sounds like it would be. |
16:34.16 | *** join/#wowi-lounge Aella (n=Aella@74.221.43.140) |
16:34.21 | foxlit | Someone from WoWWiki gave me an idea regarding yesterday's discussion of /click and disabled frames. |
16:34.44 | Shirik | didn't we already go over this >< |
16:34.56 | foxlit | Solutionw as a bit flawed. |
16:35.22 | foxlit | Problem with stopping macro execution upon a click on a disabled frame is that it enables LUA to stop a macro from executing further - /click PrepareButton /click ConditionalStop /cast Kick |
16:36.36 | Shirik | mmm |
16:36.37 | Shirik | so? |
16:36.44 | Shirik | oh |
16:36.47 | Shirik | I guess |
16:37.19 | foxlit | The end result is spammable button that only kicks if there's something to kick. |
16:37.31 | Shirik | yeah |
16:38.40 | GeoMance | Ah, for the days when that was a simple issue of an if-statement. |
16:38.57 | GeoMance | And an event catcher. <.< |
16:39.26 | foxlit | Wtb scripting-only servers, compete at who can write the best 25 scripts to clear BT |
16:39.31 | Shirik | omfg packet loss |
16:39.34 | Shirik | wtb working IT department! |
16:39.36 | Shirik | ffs |
16:39.44 | GeoMance | xD |
16:40.07 | *** join/#wowi-lounge gix2gix (n=gix2gix@dslc-082-082-065-133.pools.arcor-ip.net) |
16:40.07 | Shirik | like seriously |
16:40.17 | Shirik | I start casting holy fire and back up immediately, interrupting it |
16:40.27 | Shirik | 10 seconds later I have 50% health and he's taken like 600 damage |
16:41.58 | GeoMance | Huh? |
16:42.24 | Shirik | it cast the holy fire anyway |
16:42.29 | Shirik | because I never interrupted the spell |
16:42.37 | GeoMance | Ahhh, fun. |
16:42.58 | Shirik | and this means it's time to go get something to eat |
16:43.02 | Shirik | instead of sitting around doing nothing |
16:43.17 | GeoMance | Hey, Borke, do you know anything about Textures, and the like? |
16:43.24 | Shirik | look at this crap!!! freenode: calvino.freenode.net:6667 (11953ms) chans: 2, connected: 2d 11h 45m |
16:43.26 | Shirik | grr |
16:43.38 | GeoMance | What? |
16:43.48 | Shirik | this is no excuse for a 12s ping |
16:44.06 | GeoMance | And, I would suggest a ham and chicken sandwich, with Colby-Jack on Sourdough. >.> |
16:44.12 | GeoMance | Ahhh yes. I remember those days |
16:44.15 | Shirik | I'm probably going to get a cheeseburger |
16:44.25 | Shirik | given that I can't cook for the life of mwe |
16:44.55 | GeoMance | George Foreman Grill for the win. |
16:46.44 | Shirik | ~hug Cairenn |
16:46.46 | purl | ACTION hugs Cairenn tightly until Cairenn turns slightly blue |
16:47.01 | *** join/#wowi-lounge PProvost (n=PProvost@WoWUIDev/WAU/Admin/Pprovost) |
16:47.04 | Shirik|AFK | :) |
16:47.16 | Mr_Rabies2 | arrghggh bored :[ |
16:47.33 | Mr_Rabies2 | i have no more quests to do, no one pugs heroics, and this guild i'm in is full of scrubs :[ |
16:48.26 | JoshBorke | Mr_Rabies2: i know how you feel |
16:48.30 | GeoMance | Ugh, that still seems too big. Pugs? Scrubs? |
16:48.37 | GeoMance | And what the hell are the Heroics? |
16:48.40 | JoshBorke | my guild can't clear kara yet. can't even pull maulgar yet |
16:48.58 | Mr_Rabies2 | i burned about 15g on repairs on a druid last night in kara |
16:49.00 | Mr_Rabies2 | :/ |
16:49.11 | Mr_Rabies2 | we only got attumen, and we got him within 20 mins of zoning in |
16:49.27 | JoshBorke | give it time, hopefully they'll pick up |
16:49.30 | Mr_Rabies2 | and then after that we wiped on trash for like 2 hours till i decided to make up an excuse to stop burning money |
16:49.37 | JoshBorke | my guild did. 3 weeks ago we were in that position |
16:49.42 | JoshBorke | now we can clear through chess |
16:49.53 | Mr_Rabies2 | we rocked attumen |
16:49.56 | Mr_Rabies2 | but the trash |
16:49.57 | Mr_Rabies2 | :/ |
16:50.03 | JoshBorke | lol |
16:50.05 | Mr_Rabies2 | no one was paying attention |
16:50.18 | Mr_Rabies2 | i was helping tank until i realized no one was healing me |
16:51.08 | GeoMance | xD |
16:51.21 | GeoMance | I know I shouldn't laugh at that, but I can't help it. |
16:51.30 | Mr_Rabies2 | seriously i've been in pugs with more attentive people |
16:51.41 | Mr_Rabies2 | i joined this guild like last week and already am i contemplating leaving |
16:51.46 | GeoMance | Pugs? |
16:51.50 | Mr_Rabies2 | pickup groups |
16:51.55 | GeoMance | Ahhh. |
16:52.32 | Mr_Rabies2 | i'm probably gonna join another guild that's farther inside kara |
16:52.34 | GeoMance | What are the Heroics, anyway? |
16:52.40 | Mr_Rabies2 | harder versions of bc instances |
16:52.46 | GeoMance | Ahhh. |
16:52.54 | Mr_Rabies2 | hard mode, more or less |
16:52.59 | Mr_Rabies2 | better loot, much more difficult |
16:53.12 | GeoMance | I've never gotten to the old BTS endgame instances so... |
16:53.32 | *** join/#wowi-lounge cladhaire (n=cladhair@cpe-74-71-116-245.twcny.res.rr.com) |
16:53.32 | *** mode/#wowi-lounge [+o cladhaire] by ChanServ |
16:53.50 | JoshBorke | meh, i wouldn't say all the loot is that much better :_D |
16:54.02 | Mr_Rabies2 | well |
16:54.10 | Mr_Rabies2 | maybe not the high end ones |
16:54.12 | Mr_Rabies2 | yet |
16:54.16 | Mr_Rabies2 | in 2.1 it will be |
16:54.36 | Mr_Rabies2 | but like, heroic ramparts drops much more nifty stuff for 70s than regular |
16:55.41 | JoshBorke | i suppose that is true :-) |
16:55.53 | JoshBorke | i've only done 2 or 3 heroics |
16:58.12 | *** join/#wowi-lounge Tuller (n=chatzill@c-76-27-166-119.hsd1.va.comcast.net) |
16:59.56 | Shirik|AFK | you know, foxlit, there's a pretty obvious solution |
17:00.07 | Shirik|AFK | make /click not respect the disabled state |
17:00.32 | Shirik|AFK | out of any options, that's the only one I can think of that really works |
17:00.34 | GeoMance | If I want to link a graphic saved in my AddOn's file structure, do I just point to it doing /Interface/AddOns/AddOn-Name/graphics/filename? |
17:00.40 | JoshBorke | GeoMance: yea |
17:00.56 | GeoMance | Yay, and does it have to be in tga or BLP2 format? |
17:01.51 | *** join/#wowi-lounge Jens (i=Jens@pdpc/supporter/active/Jens) |
17:01.56 | JoshBorke | dunno |
17:02.08 | JoshBorke | wow, 184 dps wand |
17:13.24 | *** join/#wowi-lounge dinesh (n=chatzill@c-68-36-168-161.hsd1.nj.comcast.net) |
17:13.31 | *** join/#wowi-lounge Cide (i=Cide@81-237-213-149-no60.tbcn.telia.com) |
17:13.31 | *** mode/#wowi-lounge [+v Cide] by ChanServ |
17:14.23 | foxlit | Grr, of all the things to mess up, I messed up hex -> bin converses. |
17:15.06 | Shirik|AFK | you are officially kicked out of the cool club |
17:15.10 | Shirik|AFK | practice safe hex! |
17:15.25 | foxlit | On the bright side, NMC results are public. |
17:15.35 | Aella | NMC? |
17:15.41 | Shirik|AFK | NMC? |
17:15.47 | JoshBorke | NMC? |
17:15.55 | Shirik|AFK | purl, say NMC? |
17:15.56 | purl | NMC |
17:16.05 | foxlit | http://www.georgmohr.dk/nmc/nmc07pb.pdf |
17:16.55 | Shirik|AFK | 4 questions 4 hours? |
17:16.57 | foxlit | But don't go there, I still need your brains in a semi-alive state. |
17:17.35 | Shirik|AFK | holy crap |
17:17.39 | Shirik|AFK | these questions aren't easy >< |
17:18.25 | foxlit | 10^2007 is fun |
17:18.35 | Shirik|AFK | yes that's the one I'm looking at |
17:18.48 | Shirik|AFK | I also like how they use 2007 everywhere |
17:19.15 | Shirik|AFK | right, lunchtime |
17:22.12 | GeoMance | Oooh, shit. xD |
17:26.36 | GeoMance | I'm starting to dislike kittens. |
17:26.43 | Aella | Say it ain't so! |
17:27.01 | GeoMance | Heheh. |
17:27.23 | GeoMance | I have 6 at my feet who have decided that socks are great fun to claw, especially if there's skin beneath them. |
17:27.40 | Aella | But that's what makes them CUTE! |
17:28.24 | GeoMance | Yes, they are cute. And one of them has a Hobbit name, Something Underfoot. |
17:28.37 | Aella | Excellent! |
17:29.21 | GeoMance | Would you like them? |
17:29.34 | GeoMance | They're orange Tabbies. |
17:30.14 | *** join/#wowi-lounge Cide (i=Cide@81-237-213-149-no60.tbcn.telia.com) |
17:30.14 | *** mode/#wowi-lounge [+v Cide] by ChanServ |
17:31.15 | GeoMance | Underscore Underscore? |
17:33.35 | *** join/#wowi-lounge cogwheel (n=chatzill@c-67-164-121-134.hsd1.ca.comcast.net) |
17:34.04 | Mr_Rabies2 | the cat in AB's name is underfoot |
17:34.05 | Mr_Rabies2 | :O |
17:34.21 | cogwheel | I stepped on my cat this morning >< |
17:35.07 | GeoMance | I take it said cat wasn't happy? |
17:35.36 | *** join/#wowi-lounge Shirik (n=nospam@155.31.161.72) |
17:35.55 | *** join/#wowi-lounge barduck (n=barduck@bzq-179-109-17.static.bezeqint.net) |
17:35.59 | cogwheel | She took it in stride... |
17:36.18 | *** join/#wowi-lounge amro (n=amro@82.101.184.182) |
17:36.25 | Shirik|Ecole | so like |
17:36.33 | Shirik|Ecole | today's the first day I can actually see the airport in a while |
17:36.36 | cogwheel | She's really clumsy though... You know those cartoons where something is running away from a train *ALONG THE TRACKS*? |
17:36.42 | Shirik|Ecole | all that smoke makes it so hard to see lately |
17:36.58 | cogwheel | that's how she gets stepped on most of the time... |
17:37.05 | GeoMance | xD That's my dogs. |
17:37.09 | GeoMance | Or my cats. |
17:37.25 | GeoMance | You say move, and they take two steps further along your course and plop back down. |
17:37.35 | GeoMance | <.< Or, they roll over, which -is- moving. |
17:38.09 | Shirik|Ecole | cogwheel: Your cat is just trying to teach you how livelocks work irl |
17:38.42 | Shirik|Ecole | though it's not really a livelock if you're just going to step on her |
17:39.21 | *** join/#wowi-lounge snurre (i=snurre@ver78-4-82-244-182-91.fbx.proxad.net) |
17:39.41 | Shirik|Ecole | cogwheel: Since you just made a post on this I have to ask |
17:39.49 | Shirik|Ecole | can you explain stance dancing to me? |
17:40.31 | cogwheel | There are lots of abilities that require you to be in a particular stance. |
17:40.40 | cogwheel | the abilities themselves are useful in many situations |
17:40.54 | cogwheel | so we spend a lot of time switching between stances to have access to those abilities |
17:41.58 | Shirik|Ecole | ok then it's not what I'm thinking of then :/ |
17:42.02 | Gnarfoz | like tanking something that fears (in defensive stance) and then switchting to berserker stance to use berserker rage to not be feared right before the fear comes - and then back to def |
17:42.05 | Shirik|Ecole | one of the warriors on my ty |
17:42.07 | Shirik|Ecole | yes, that's it |
17:42.21 | Shirik|Ecole | ok |
17:42.23 | Shirik|Ecole | now I understand |
17:42.34 | Shirik|Ecole | berserker rage is only usable in berserker stance |
17:42.35 | Shirik|Ecole | got it |
17:42.38 | Shirik|Ecole | thank you both |
17:43.04 | cogwheel | i've got stance dance macros for hamstring, shield bash/pummel, overpower, intervene, and probably some others I can't remember >< |
17:43.08 | foxlit | http://wowi.pastey.net/36377 |
17:44.20 | Shirik|Ecole | rofl |
17:44.24 | Shirik|Ecole | SHA256 hash of "kitty" |
17:44.26 | Shirik|Ecole | awesome |
17:45.06 | *** join/#wowi-lounge [dRaCo] (n=drc@p5485B1DA.dip0.t-ipconnect.de) |
17:45.48 | Shirik|Ecole | does it work? |
17:45.55 | foxlit | That's a good question. |
17:46.10 | Shirik|Ecole | you have no idea how cool it would be to be able to use this |
17:46.11 | GeoMance | And, what problem are you trying to solve with this why? >.> |
17:46.14 | foxlit | 720 bits of the exponent away from generating a signature |
17:46.16 | Shirik|Ecole | my guild is lazy and doesn't download stuff |
17:46.26 | Shirik|Ecole | so if I could just distribute it over the addon guild channel |
17:46.30 | Shirik|Ecole | it would be teh sexx |
17:46.51 | Shirik|Ecole | GeoMance: Digital signature of addons |
17:46.57 | Shirik|Ecole | or transimissions |
17:47.08 | Shirik|Ecole | Thus allowing people to actually send code |
17:47.16 | Shirik|Ecole | and ensuring it's trustowrthy |
17:47.19 | Shirik|Ecole | trustworthy* |
17:47.31 | foxlit | The bright side is that to validate, b = 65537 |
17:47.39 | Shirik|Ecole | oh |
17:47.45 | Shirik|Ecole | nice number :) |
17:47.55 | foxlit | So it's a heckload faster :) |
17:50.35 | GeoMance | Ahhh. |
17:52.05 | foxlit | Bah, a better BigNum lib implementation wouldn't hurt. |
17:52.15 | Shirik|Ecole | I'm seriously considering implementing one :/ |
17:52.28 | Shirik|Ecole | in Lua it wouldn't only be easy, some seriously cool things could be done |
17:52.29 | foxlit | Generates about 900 KB of garbage for 3 iterations of the step while |
17:52.54 | Shirik|Ecole | eh, |
17:52.56 | Shirik|Ecole | not much you can do |
17:53.06 | *** part/#wowi-lounge Kjellviz (n=opera@c213-89-100-240.bredband.comhem.se) |
17:53.21 | foxlit | Well, there are a few things |
17:54.03 | foxlit | Before last night, it generated 3 new BigNum structures for every operation |
17:54.24 | Shirik|Ecole | return "Crash and burn" |
17:54.24 | Shirik|Ecole | awesome |
17:54.58 | foxlit | That thing is annoyingly graceful - it crashes the coroutine, doesn't even get to an error() call |
17:55.23 | Shirik|Ecole | well |
17:55.26 | Shirik|Ecole | that's because |
17:55.34 | Shirik|Ecole | coroutines are executed in protected mode |
17:55.37 | Shirik|Ecole | you won't see errors |
17:56.16 | Shirik|Ecole | >>> function throwError() error("error"); end c = coroutine.create(throwError); coroutine.resume(c); |
17:56.17 | Cide | Shirik|Ecole: nil |
17:56.21 | Shirik|Ecole | see :) |
17:56.38 | Shirik|Ecole | the only way around this is by using coroutine.wrap |
17:56.39 | foxlit | They're their own pcall, more or less |
17:56.49 | Shirik|Ecole | >>> function throwError() error("error"); end c = coroutine.wrap(throwError); c(); |
17:56.50 | Cide | Shirik|Ecole: nil |
17:56.53 | Shirik|Ecole | er..... |
17:56.57 | Shirik|Ecole | maybe I"m wrong |
17:56.58 | wobin | hehe =) |
17:57.00 | Shirik|Ecole | they're always in protected mode >< |
17:57.26 | wobin | >>> error("error") |
17:57.26 | Cide | wobin: [string "error("error")"]:1: error |
17:57.56 | Shirik|Ecole | is |
17:57.57 | wobin | why the double response, I wonder |
17:58.00 | Shirik|Ecole | cide running two processes? |
17:58.18 | Cide | apparently... |
17:58.56 | *** join/#wowi-lounge ravagernl (n=chatzill@85.148.20.110) |
17:59.31 | Shirik|Ecole | PiL says "Note that resume runs in protected mode. Therefore, if there is any error inside a coroutine, Lua will not show the error message, but instead will return it to the resume call." "Usually, coroutine.wrap is simpler to use than coroutine.create. It gives us exactly what we need from a coroutine: a function to resume it. However, it is also less flexible. There is no way to check the status of a coroutine created with wrap. Moreover, we ca |
17:59.39 | Shirik|Ecole | so... I guess both run in protected mode |
17:59.55 | Shirik|Ecole | strange, I wonder why I thought otherwise |
18:01.15 | Shirik|Ecole | oh btw, there is one, and only one error that can occur |
18:01.45 | Shirik|Ecole | >>> c = coroutine.wrap(function() end); c() c() |
18:01.50 | Cide | Shirik|Ecole: nil |
18:01.53 | Shirik|Ecole | .... |
18:02.11 | Shirik|Ecole | >>> c = coroutine.create(function() end); coroutine.resume(c) coroutine.resume(c) |
18:02.12 | Cide | Shirik|Ecole: nil |
18:02.14 | Shirik|Ecole | wtf |
18:02.16 | Shirik|Ecole | Cide.... |
18:02.26 | Cide | you aren't returning anything |
18:02.31 | Shirik|Ecole | it should be an error >.> |
18:02.37 | Shirik|Ecole | attempt to resume a dead coroutine |
18:02.47 | Shirik|Ecole | :( |
18:02.48 | Cide | does it error in your interpreter? |
18:02.54 | Shirik|Ecole | I don't have one on this computer |
18:03.49 | Shirik|Ecole | it's probably something stupid I forgot |
18:03.56 | Cide | doesn't error here |
18:04.23 | Shirik|Ecole | >>> c = coroutine.create(function() end); coroutine.resume(c); return coroutine.status(c); |
18:04.23 | Cide | Shirik|Ecole: "dead" |
18:04.57 | Shirik|Ecole | >>> c = coroutine.create(function() print("Run!") end); coroutine.resume(c); print( coroutine.status(c)); coroutine.resume(c); |
18:04.57 | Cide | Shirik|Ecole: "Run!", "dead" |
18:05.01 | foxlit | Doesn't match. |
18:05.04 | Shirik|Ecole | oh well |
18:05.29 | Nerinia | Yay for no errors! :d |
18:07.36 | foxlit | Hm, I wonder why. |
18:09.23 | *** join/#wowi-lounge Legorol (i=Legorol@zr205.trin.cam.ac.uk) |
18:11.38 | Shirik|Ecole | hmmm |
18:11.58 | Shirik|Ecole | >>> c = coroutine.create(function() coroutine.yield() end); coroutine.resume(c); coroutine.resume(c); coroutine.resume(c); |
18:11.59 | Cide | Shirik|Ecole: nil |
18:12.13 | Shirik|Ecole | ok |
18:12.19 | Shirik|Ecole | I'm going to try the one from the manual now >.> |
18:13.48 | Shirik|Ecole | >>> function foo() print("Foo", 1); coroutine.yield(); print("Foo", 2); end; co = coroutine.create(foo); print(type(co)); print(coroutine.status(co)); print(coroutine.resume(co)); print(coroutine.resume(co)); print(coroutine.status(co)); print(coroutine.resume(co)); |
18:13.49 | Cide | Shirik|Ecole: "thread", "suspended", "Foo", 1, true, "Foo", 2, true, "dead", false, "cannot resume dead coroutine" |
18:13.58 | Shirik|Ecole | oh! |
18:14.26 | Shirik|Ecole | ok, now I"m ok with everything :) |
18:14.34 | Shirik|Ecole | so coroutine.resume never throws an error |
18:14.35 | Shirik|Ecole | period |
18:14.43 | Shirik|Ecole | well unless you do coroutine.resume(nil) |
18:14.44 | Aella | It returns (nil, "cannot resume dead coroutine"), doesn't it. |
18:14.47 | Shirik|Ecole | or some other non-thread |
18:14.48 | Shirik|Ecole | yeah |
18:14.51 | Shirik|Ecole | well, false |
18:14.52 | Shirik|Ecole | not nil |
18:15.29 | Shirik|Ecole | well tbh |
18:15.34 | Shirik|Ecole | this is soooo going to make my battlerecorder much easier |
18:15.41 | Shirik|Ecole | I don't have to try to catch errors from coroutine.resume like I've been doing |
18:20.05 | foxlit | So, this begs the question. |
18:20.13 | Shirik|Ecole | the answer is obviously 42 |
18:20.23 | foxlit | Is it the key or the code that breaks? |
18:21.58 | Shirik|Ecole | foxlit, I'm all for helping you with this project so let me get home and I'll take a looksey see if I can find anything amiss |
18:22.17 | Shirik|Ecole | I want to see this work just as much as you do :D |
18:22.52 | foxlit | :) |
18:22.55 | Shirik|Ecole | anyway, heading back home |
18:22.57 | Shirik|Ecole | bbiab |
18:23.09 | Aella | Why do I hate Flash websites so? |
18:23.14 | Shirik|Ecole | because flash is evil |
18:23.25 | Aella | Well, yeah. |
18:23.45 | Aella | I guess what I hate most is that web sites shouldn't have sound, darnit. |
18:24.01 | foxlit | divide by 0 |
18:24.26 | *** join/#wowi-lounge Funkeh` (n=funkydud@host81-157-112-30.range81-157.btcentralplus.com) |
18:26.15 | Cide | why complicate it? b = 0, b+b = 0+b, 2b = 1b, 2 = 1 |
18:26.47 | nevcairiel | lol |
18:28.22 | *** join/#wowi-lounge gix2gix (n=gix2gix@dslc-082-082-065-133.pools.arcor-ip.net) |
18:29.49 | *** join/#wowi-lounge snurre (i=snurre@ver78-4-82-244-182-91.fbx.proxad.net) [NETSPLIT VICTIM] |
18:29.49 | *** join/#wowi-lounge amro (n=amro@82.101.184.182) |
18:29.49 | *** join/#wowi-lounge Cide (i=Cide@81-237-213-149-no60.tbcn.telia.com) [NETSPLIT VICTIM] |
18:29.49 | *** join/#wowi-lounge Drool (n=drool@87-194-188-170.bethere.co.uk) |
18:29.49 | *** join/#wowi-lounge GeoMance (n=GeoMance@user-0cei8ag.cable.mindspring.com) [NETSPLIT VICTIM] |
18:29.49 | *** join/#wowi-lounge Tem (n=tardmrr@WoWUIDev/WoWI/Dongle/Tem) [NETSPLIT VICTIM] |
18:29.49 | *** join/#wowi-lounge Garoun (n=Garou@c-69-243-45-11.hsd1.va.comcast.net) |
18:29.50 | *** join/#wowi-lounge CrazyMYKL (n=rumors@69.177.37.179) [NETSPLIT VICTIM] |
18:29.50 | *** join/#wowi-lounge Shadowed (n=outlaw@12.157.177.162) [NETSPLIT VICTIM] |
18:29.50 | *** join/#wowi-lounge sysrage (n=sysrage@sysrage.net) [NETSPLIT VICTIM] |
18:29.50 | *** mode/#wowi-lounge [+vv Cide Tem] by irc.freenode.net |
18:30.47 | Shirik|AFK | Cide that's too obvious :( |
18:30.47 | Shirik|AFK | bah |
18:31.23 | Shirik|AFK | Screw you calvino! |
18:31.23 | Shirik|AFK | I want to talk to Cide! |
18:32.35 | *** join/#wowi-lounge snurre (i=snurre@ver78-4-82-244-182-91.fbx.proxad.net) [NETSPLIT VICTIM] |
18:32.35 | *** join/#wowi-lounge amro (n=amro@82.101.184.182) |
18:32.35 | *** join/#wowi-lounge Cide (i=Cide@81-237-213-149-no60.tbcn.telia.com) [NETSPLIT VICTIM] |
18:32.35 | *** join/#wowi-lounge Drool (n=drool@87-194-188-170.bethere.co.uk) |
18:32.35 | *** join/#wowi-lounge GeoMance (n=GeoMance@user-0cei8ag.cable.mindspring.com) [NETSPLIT VICTIM] |
18:32.36 | *** join/#wowi-lounge Tem (n=tardmrr@WoWUIDev/WoWI/Dongle/Tem) [NETSPLIT VICTIM] |
18:32.36 | *** join/#wowi-lounge Garoun (n=Garou@c-69-243-45-11.hsd1.va.comcast.net) |
18:32.36 | *** join/#wowi-lounge CrazyMYKL (n=rumors@69.177.37.179) [NETSPLIT VICTIM] |
18:32.36 | *** join/#wowi-lounge Shadowed (n=outlaw@12.157.177.162) [NETSPLIT VICTIM] |
18:32.36 | *** join/#wowi-lounge sysrage (n=sysrage@sysrage.net) [NETSPLIT VICTIM] |
18:32.36 | *** mode/#wowi-lounge [+vv Cide Tem] by irc.freenode.net |
18:32.37 | foxlit | >> hex(2753) |
18:32.43 | foxlit | >>> hex(2753) |
18:32.51 | Cide | foxlit: [string "hex(2753)"]:1: attempt to call global 'hex' (a nil value) |
18:33.09 | Shirik | AC1 |
18:33.18 | GeoMance | Armored Core? |
18:33.22 | Shirik | ... |
18:33.23 | Shirik | 0xAC1 |
18:33.26 | Nerinia | >>> format("%X",2753) |
18:33.27 | Cide | Nerinia: "AC1" |
18:33.44 | *** join/#wowi-lounge Thunder_Chil1 (n=TC@border1-fe6-0.la1.sylmark.com) |
18:33.56 | Shirik | >>> SavedVariables |
18:33.57 | Cide | Shirik: { ["GetRandomArgument"] = function: 0094AC18, ["fooprint"] = function: 0094AC58, ["ftoc"] = function: 0094A1A8, ["ctof"] = function: 0094A408, ["hax"] = "persistent* data - Cide can't spell", ["foo"] ... (exceeded 200 characters) |
18:34.15 | Shirik | >>> SavedVariables["hex"] = function(n) return format("%X", n); end |
18:34.15 | Cide | Shirik: nil |
18:34.24 | foxlit | Well, _Step seems to work on small wikipedia example |
18:34.25 | Shirik | SavedVariables.hex(2753) |
18:34.30 | Shirik | >>> SavedVariables.hex(2753) |
18:34.30 | Cide | Shirik: "AC1" |
18:34.32 | Shirik | :) |
18:34.35 | GeoMance | If you have a template for a frame with buttons, can you edit the buttons wihtout having to recreate them? |
18:34.49 | *** join/#wowi-lounge cogwheel (n=chatzill@c-67-164-121-134.hsd1.ca.comcast.net) |
18:34.59 | foxlit | Yes |
18:35.04 | foxlit | But you can't edit the template |
18:35.48 | GeoMance | I don't mean edit the template. I mean, like.. Creating a new frame that inherits the template, and making just a single change to one of the buttons in the template, without having to recreate the thing. |
18:36.25 | foxlit | Yes, you can. |
18:36.43 | GeoMance | Do you have to do it through lua commands, or through the xml framework? |
18:37.05 | Shirik | you can do anything in Lua that you can do in XML, with one exception |
18:37.17 | Shirik | so to answer your question, no to "Do you have to do it through the xml framework" |
18:37.37 | GeoMance | I meant do I have to do it through Lua. xD I still haven't gotten my mind around the Lua frame stuffs. |
18:37.46 | Shirik | the only way I know to make that override is in Lua but it is very possible that you can do it in XML as well |
18:37.57 | *** join/#wowi-lounge chuckg (n=chuckg@66-238-4-197.starstream.net) |
18:37.59 | Shirik | I hate using xml |
18:38.01 | Shirik | personally |
18:38.24 | GeoMance | I just haven't gotten my mind around the Lua portion yet. I can understand why you would, though. xD |
18:39.19 | Cide | I like making a table |
18:39.25 | Cide | and store all frames in there |
18:39.41 | GeoMance | Makes sense.. |
18:39.53 | Shirik | it just makes more sense to me |
18:39.55 | Cide | and use a method so that if you call a method on the table, it's called on all frames |
18:39.58 | foxlit | wtb: 2048 bit RSA keypair |
18:40.02 | Cide | use a metamethod* |
18:40.12 | Shirik | metatables are totally ftw |
18:40.20 | GeoMance | Metamethod? |
18:41.05 | Shirik | >>> a = {foo = function() print("Foo!") end; new = function() local self = {}; setmetatable(self, a); return self; end}; a.__index = a; b = a:new(); b:foo(); |
18:41.05 | Cide | Shirik: "Foo!" |
18:41.18 | Shirik | That is probably a very confusing example |
18:41.21 | foxlit | GeoMance: nevermind metatables, you usually don't even need them! |
18:41.27 | Shirik | NO! |
18:41.31 | Shirik | Do not nevermind metatables! |
18:41.36 | Shirik | They are like the most powerful tool in Lua! |
18:41.39 | *** join/#wowi-lounge Saroz_ (n=Saroz@0x57379922.sdnqu1.broadband.tele.dk) |
18:41.42 | *** join/#wowi-lounge Adys (n=Miranda@APoitiers-256-1-12-49.w90-11.abo.wanadoo.fr) |
18:41.56 | Shirik | now I can do |
18:42.17 | foxlit | They're the most powerful tool alright, but you really don't need them when you're just learning the language :) |
18:42.26 | Kaydeethree | heh. nothing like being addicted to caffeine |
18:42.27 | GeoMance | I have no idea what that means. I think I get it, but... |
18:42.35 | GeoMance | Is it like a circular arrangement? |
18:42.36 | Kaydeethree | my roommate and I are making 2.5 gallon batches of sweet tea |
18:42.37 | Shirik | >>> a = {foo = function() print("Foo!") end; new = function() local self = {}; setmetatable(self, a); return self; end}; a.__index = a; b,c,d,e,f = a:new(), a:new(), a:new(), a:new(), a:new(); b:foo(); c:foo(); d:foo(); e:foo(); |
18:42.38 | Cide | Shirik: "Foo!", "Foo!", "Foo!", "Foo!" |
18:42.47 | Shirik | foo foo! |
18:42.51 | Shirik | anyway let me try to explain |
18:42.57 | Shirik | First off you need to know what a metatable is |
18:43.08 | Shirik | Basically, it's a table that defines the operation of a table under situations |
18:43.17 | Shirik | you see in there I have setmetatable(self, a) |
18:43.28 | Shirik | that sets self's metatable to a |
18:43.42 | Shirik | metamethods are specially named functions which do these operations |
18:43.46 | ckknight | Mr_Rabies2: hey |
18:43.59 | Shirik | metamethods always start with two underscores. One of the possibilities is __index |
18:44.03 | Mr_Rabies2 | hello |
18:44.20 | Shirik | __index says "if the key requested in the table does not exist, use this to look it up" |
18:44.29 | Shirik | so, when we do b:foo, b.foo doesn't exist, right? |
18:44.36 | Shirik | so then it goes to look it up in its metatable (which is a) |
18:44.41 | Shirik | a.foo exists, so that's what gets called |
18:44.50 | GeoMance | Ahhhh. |
18:45.07 | Shirik | there's other ones like __lt, __eq, __newindex |
18:45.13 | GeoMance | So, in that instance it's sort of like a parent object, or something. |
18:45.26 | Shirik | which define how to handle the < operator, the == operator, and the assignment table["key"] = foo |
18:45.30 | Shirik | respectively |
18:45.31 | cogwheel | it can be used that way, yes |
18:45.44 | Shirik | the lua manual has a full list of all the possibilities |
18:45.44 | cogwheel | it's basically establishing a default value for the foo function |
18:45.57 | GeoMance | If what you're checking doesn't have what you're looking for, check the parent. *Nods slightly.* How does that allow for the calling of functions over a whole table, though? |
18:45.58 | cogwheel | there are other uses though |
18:46.02 | Shirik | there's also some other strange things like |
18:46.06 | Mr_Rabies2 | have you noticed the same thing i have with the portraits in the party frame, ckknight? |
18:46.20 | Mr_Rabies2 | it's pretty funny and creepy at the same time watching them shuffle around all fast |
18:46.38 | *** join/#wowi-lounge Thunder_Chil2 (n=TC@cpe-76-171-184-46.socal.res.rr.com) |
18:46.44 | Shirik | >>> a = {}; setmetatable(a, {__metatable = "Protected!"}); setmetatable(a, {__index = function --[[ I can't really do this ]]}); |
18:46.45 | Cide | Shirik: [string "a = {}; setmetatable(a, {__metatable = "Protected!"}); setmetat..."]:1: '(' expected near '}' |
18:46.53 | ckknight | Mr_Rabies2: is it like they're repeating the same few frames over and over? |
18:47.03 | Mr_Rabies2 | i cant tell really |
18:47.11 | Mr_Rabies2 | it seems like they're just shifting around like normal, just really fast |
18:47.15 | Shirik | >>> a = {}; setmetatable(a, {__metatable = "Protected!"}); setmetatable(a, {__index = function() --[[ I can't really do this ]] end}); |
18:47.15 | Cide | Shirik: [string "a = {}; setmetatable(a, {__metatable = "Pro..."]:1: cannot change a protected metatable |
18:47.19 | Shirik | fun stuff :D |
18:47.34 | GeoMance | I really don't get that. xD |
18:47.36 | Shirik | anyway, you should check PiL on metatables if interested |
18:47.39 | Shirik | you don't need to :P |
18:47.45 | GeoMance | PiL? |
18:47.46 | Shirik | that's one of the most rarely used metamethods |
18:47.48 | Shirik | ~pil |
18:47.49 | purl | from memory, pil is Programming in Lua, available as both a paperback book and an online version of the same book available at http://www.lua.org/pil |
18:47.49 | ckknight | metatables are awesome |
18:48.02 | nevcairiel | metatables are weird if you just start with lua |
18:48.03 | GeoMance | Ah, thanks. |
18:48.06 | nevcairiel | but you get the hang of it |
18:48.06 | Shirik | hmmm, you know that's not really correct anymore |
18:48.22 | Shirik | only the old version of the book is available online |
18:48.28 | GeoMance | I get tables, 'cause they're like php arrays, you can shove anything you want in them. xD |
18:48.37 | Shirik | I think the one thing that really confuses people |
18:48.40 | Shirik | is functions are variables |
18:48.47 | Shirik | and that's cruical to accept before you can use metamethods |
18:49.01 | Shirik | s/cruical/crucial/ |
18:49.02 | Mr_Rabies2 | i had to turn portraits to 2d for my kara run because the creepy silent hill-like movement was getting to me |
18:49.08 | nevcairiel | i wonder if PiL is available on any local book shop here |
18:49.16 | cogwheel | purl, no pil is Programming in Lua. The first edition is available free online at http://www.lua.org/pil and covers Lua 5.0. The second edition is available in hardcover and covers Lua 5.1. |
18:49.18 | purl | okay, cogwheel |
18:49.32 | GeoMance | I can accept that, to a point. table_name[key] = function BLAH {}; table_name[key](...?) |
18:49.38 | Shirik | close |
18:49.42 | Shirik | function() ... end |
18:49.44 | GeoMance | Oh, table_name.key(...) |
18:49.50 | GeoMance | Yeah, yeah. xD |
18:49.56 | Shirik | what you said was correct though |
18:50.05 | Shirik | table_name.key is syntactically equivalent to table_name[key] |
18:50.08 | GeoMance | I still haven't gotten back into Lua after a year of Java. |
18:50.11 | Shirik | so you can do table_name[key]() |
18:50.22 | Shirik | hell you can do table_name[key]()() if table_name[key]() returns a function |
18:50.22 | GeoMance | I know, I just like the . better, [key](...) looks weird to me. |
18:50.30 | Shirik | that's exactly why both exist ;) |
18:50.37 | GeoMance | You can return functions? |
18:50.39 | Shirik | to Lua, they're the same. To most programmers, they mean something different |
18:50.44 | Shirik | functions are variables, right? |
18:50.48 | Shirik | You can return any variable |
18:50.54 | Shirik | in fact it's done quite often. |
18:51.04 | GeoMance | Shit, wow. Never thought about a returned function. |
18:51.05 | Shirik | I recently made a post indicating how to do an extremely efficient table copy (almost no processing itme) |
18:51.06 | Shirik | time* |
18:51.10 | GeoMance | Though, that would make things easier. |
18:51.11 | Shirik | and it requires this |
18:51.28 | Shirik | http://www.wowinterface.com/forums/showthread.php?t=9867 |
18:51.39 | Shirik | note the function in there returns a function |
18:51.49 | Shirik | it also uses a metatable ^^; |
18:51.50 | foxlit | But will it work on: |
18:52.15 | foxlit | >>>a = {}; a.b = a; a.b.b = a.b; for key, val in pairs(a) do print(key .. " " .. tostring(val)); end |
18:52.15 | Cide | foxlit: "b table: 007D1028" |
18:52.51 | foxlit | >>>a = {}; a.b = a; a.b.b = a.b; for key, val in pairs(a) do print(key .. " " .. tostring(val)); end print(tostring(a)) |
18:52.51 | Cide | foxlit: "b table: 003201E0", "table: 003201E0" |
18:53.12 | foxlit | >>>a = {}; a.b = a; a.b.b = a.b; for key, val in pairs(a) do print(key .. " " .. tostring(val)); end print(tostring(a)) print(tostring(a.b.b.b.b.b.b.b.b)) |
18:53.13 | Cide | foxlit: "b table: 001BD728", "table: 001BD728", "table: 001BD728" |
18:53.26 | Shirik | ? |
18:53.33 | foxlit | Table nested in itself |
18:53.41 | Shirik | oh |
18:53.43 | Shirik | you talking about my code? |
18:53.46 | foxlit | Yes |
18:53.47 | Shirik | Yes, because what happens is |
18:53.51 | Shirik | it doesn't actually copy anything until it's used |
18:53.55 | Shirik | so until you access a.b.b.b.b.b.b |
18:53.57 | Shirik | that's not even copied |
18:54.05 | foxlit | But that's not very good. |
18:54.10 | Shirik | why not? |
18:54.12 | foxlit | What if I change the original? |
18:54.24 | Shirik | ooh I forgot about that, but I could fix that too |
18:54.33 | Shirik | changing the original would result in a copy to the new one |
18:54.36 | Shirik | before the change |
18:54.42 | foxlit | Without breaking metatables on the original? |
18:54.48 | Shirik | sure |
18:54.51 | Shirik | hook it |
18:55.01 | Shirik | oh well, tool for every job :P |
18:55.22 | Shirik | I don't actually use that code, it's something I just came up with on the spot when reading that thread |
18:55.27 | Shirik | I was surprised it worked as well as it did |
18:55.31 | GeoMance | Shirik: Does that method do something like, if b[key] is not set, check a[key]? |
18:55.44 | Shirik | correct, and then also set b[key] = a[key |
18:55.52 | Shirik | and, if a[key] is a table |
18:55.58 | Shirik | it sets the metamethod on b[key] |
18:56.11 | GeoMance | Ahhhh, that's great. |
18:56.11 | Shirik | so that doing b[key][key] will then access a[key][key] the same way |
18:56.47 | GeoMance | So, it won't copy any information, until it's actually checked or read, which will save memory, and even with sub-tables it does the same? |
18:56.57 | Shirik | correct |
18:57.00 | GeoMance | Except for the end; thing in lua, I'm starting to like it. |
18:57.01 | Shirik | though foxlit has pointed out a flaw with this |
18:57.07 | GeoMance | And the thens. >.> |
18:57.14 | Shirik | I agree |
18:57.16 | Shirik | but you'll get used to it |
18:57.22 | Shirik | my C code is starting to have "then"s pop up in it |
18:57.28 | Shirik | and java is finding .. instead of + |
18:57.35 | GeoMance | Hehehehh. |
18:57.57 | GeoMance | I was having problems with '.' as concat, 'cause of php. |
18:58.03 | Shirik | ah yeah |
18:58.05 | Shirik | . vs .. |
18:58.08 | Shirik | have fun with that |
18:58.11 | foxlit | php is hell |
18:58.19 | Shirik | if you're another ruby supporter so help you |
18:58.20 | foxlit | After lua. Especially with concats |
18:58.23 | GeoMance | And in Java, trying to concat things like that's fucked. |
18:58.31 | GeoMance | ruby? |
18:58.32 | Shirik | oh you just mean when doing lua and php |
18:58.37 | foxlit | Does Mirc use OpenSSL dlls? |
18:58.39 | Shirik | ruby is evil |
18:59.06 | GeoMance | Nah, I -used- to do php stuff, like forum boards, and character sheets for text-based games. xD |
18:59.29 | foxlit | Right, back in a bit, want to get openssl installed and it can't overwrite something |
18:59.41 | GeoMance | Does WoW have a problem with alt+tabbing out of it? |
18:59.48 | GeoMance | When it's in Windowed Mode? |
18:59.57 | amro | it handles it well |
19:00.07 | amro | especially if you have it set to windowed+maximized |
19:00.08 | Aella | Shirik: I am curious, why is Ruby evil? A friend of mine was doing a paper on Ruby and was trying to find downsides to write about, but was unable to do so. |
19:00.17 | *** join/#wowi-lounge foxlit (n=me@0x573e6bae.albnxx18.adsl-dhcp.tele.dk) |
19:00.28 | foxlit | Who'd have thunk? It does indeed use openssl |
19:00.54 | GeoMance | 'Cause, I keep having this blasted problem with action-bar slots, and pack slots having their alphas changed randomly. |
19:01.05 | Shirik | really |
19:01.12 | Shirik | Aella, it's just because I've only seen people show me code |
19:01.16 | Shirik | and I'm like "wtf is that" |
19:01.22 | Shirik | it's just so radically different |
19:01.24 | GeoMance | What is Ruby? |
19:01.27 | Zicon | Ruby is pretty. |
19:01.29 | Shirik | perhaps if I took the time to look into it I'd think differently |
19:01.35 | Aella | I just don't like the lambda syntax. |
19:01.41 | Shirik | it's far from what I'd call "pretty" right now |
19:01.50 | Shirik | of course, I'm the same guy who hates the a^b syntax in Lua too |
19:01.52 | Shirik | so.... |
19:01.54 | Aella | More pipes and underscores, plz. |
19:02.12 | GeoMance | a^b? |
19:02.20 | foxlit | power |
19:02.24 | foxlit | What's not to like? :) |
19:02.24 | Shirik | >>> 6^2 |
19:02.24 | Cide | Shirik: 36 |
19:02.32 | Shirik | it should be a function |
19:02.34 | GeoMance | I meant, why don't you like it? >.> |
19:02.36 | GeoMance | Ahhh. |
19:02.39 | Shirik | I think I've already gotten into this |
19:02.44 | Aella | Yeah, you have. |
19:02.51 | foxlit | I haven't been paying attention :P |
19:02.51 | GeoMance | Good enough for me, I agree to a point that it should be. |
19:03.01 | foxlit | Remind me again why functions are better than operators? :) |
19:03.13 | Aella | Just style, I think. |
19:03.18 | Shirik | because there's no such thing as a power opcode on any microprocessor, afaik |
19:03.37 | Shirik | at least for the majority of microprocessors |
19:03.52 | foxlit | So Lua binary might have that same BigNum power code I have? Cute. |
19:03.56 | amro | GeoMance: it's an option when you set it to windowed to make it maximized. it will use your desktop resolution and since it's windowed tab out is instantaneous |
19:04.52 | GeoMance | I just keep it maxed windowed, Amro, there's just a problem with my alphas when I return to it. Half my slots are at .5 or lower alphas. |
19:05.34 | *** join/#wowi-lounge Adys (n=Miranda@APoitiers-256-1-12-49.w90-11.abo.wanadoo.fr) |
19:15.43 | GeoMance | Hah! I finally get that episode of Family Guy. xD |
19:19.45 | Tem | someone hit you with Arcane Intellect? |
19:20.17 | GeoMance | Heh. Nah, I just saw the portion of a movie they were making fun of. |
19:24.42 | foxlit | >>> math.hex(65537) |
19:25.44 | foxlit | Why am I always under the impression that exists? |
19:25.59 | Aella | >>> tonumber(65537, 16) |
19:26.05 | foxlit | That's from hex |
19:26.07 | GeoMance | 10002? |
19:26.11 | Aella | Dang. |
19:26.17 | GeoMance | Oh, ooooh. |
19:27.37 | haste | >>> return string.format("%x", 65537) -- ? |
19:27.52 | haste | :o |
19:28.35 | foxlit | >>> print("I'm slacking!") |
19:28.42 | foxlit | See, it's slacking. |
19:28.49 | Aella | Sorry to hear that, foxlit. |
19:30.12 | *** join/#wowi-lounge Osagasu (n=Kronus@208.104.156.29) |
19:33.52 | GeoMance | xD |
19:44.12 | GeoMance | Shoot, stupid question, how do you create a frame through the Lua? xD |
19:45.04 | Shadowed | CreateFrame |
19:45.11 | Shadowed | http://www.wowwiki.com/API_CreateFrame |
19:47.01 | *** join/#wowi-lounge gix2gix (n=gix2gix@dslc-082-082-065-133.pools.arcor-ip.net) |
19:47.03 | GeoMance | Ah, why isn't that listed on the Widget API page? >.> |
19:47.40 | foxlit | It's not related to a widget as such |
19:48.16 | GeoMance | But, isn't it used to create the space where said widgets are crammed? |
19:48.17 | zenzelezz | http://www.wowwiki.com/World_of_Warcraft_API -- under Frame Management |
19:48.22 | GeoMance | Huh. |
19:48.33 | zenzelezz | Widgets go inside frames |
19:48.33 | GeoMance | Alright then, fair enough. |
19:50.16 | *** join/#wowi-lounge batrick (n=batrick@c-76-18-71-214.hsd1.nm.comcast.net) |
19:50.38 | GeoMance | I understand that bit. xD It just seems logical to me to put information on the container with with the widgets. |
19:53.41 | GeoMance | Especially since those functions also deal with some of the creations and manipulations of the widgets. |
19:57.08 | *** join/#wowi-lounge weab (n=asdf@cpe-72-179-16-64.austin.res.rr.com) |
20:05.12 | *** join/#wowi-lounge Parak (i=PROFI@user-387hhso.cable.mindspring.com) |
20:12.54 | *** join/#wowi-lounge TC-WaitingForNam (n=TC-Testi@38.118.158.211) |
20:13.24 | *** join/#wowi-lounge Osagasu (n=Kronus@208.104.156.29) |
20:13.33 | *** join/#wowi-lounge Guillotine (n=Guilloti@63.203.120.57) |
20:13.58 | foxlit | Shirik, got access to a bignum lib somewhere? |
20:17.44 | *** join/#wowi-lounge cladhaire (n=cladhair@cpe-74-71-116-245.twcny.res.rr.com) |
20:17.44 | *** mode/#wowi-lounge [+o cladhaire] by ChanServ |
20:20.23 | *** join/#wowi-lounge gix2gix_ (n=gix2gix@dslc-082-082-065-133.pools.arcor-ip.net) |
20:24.51 | MentalPower|ZZzz | GeoMance: frames can also be created with XML |
20:25.51 | foxlit | Looks like something goes very wrong with Step_Mod() |
20:29.58 | *** join/#wowi-lounge sylvanaar (n=sylvanaa@205-196-182-22.static.cmts1.phonoscope.net) |
20:31.38 | *** join/#wowi-lounge Cide (n=Cide@81-237-213-149-no60.tbcn.telia.com) |
20:31.38 | *** mode/#wowi-lounge [+v Cide] by ChanServ |
20:36.36 | GeoMance | >.< Capital first letter for Functions is throwing me off. |
20:42.39 | Jens | Hmm... is there still a LFG chat channel? |
20:43.13 | Kaydeethree | player-created |
20:43.19 | Kaydeethree | it'll be server-created in 2.1 again |
20:44.21 | GeoMance | Thank gods. |
20:44.32 | GeoMance | I'm getting sick of the Trade Channel degenerating into LFG. |
20:44.54 | Kaydeethree | not like it won't in 2.1 anyway... players have to join the lfg tool toget access to the chan |
20:45.05 | foxlit | That's a good thing. |
20:45.31 | Jens | Someone is complaining about /dev/null not leaving LFG channel on german client. |
20:45.44 | GeoMance | Ugh. Someone reported me, or said they did, before I said, Trade Channel is for Trade. |
20:45.51 | Jens | I haven't seriously looked at that code on a long time, but I seem to remember I removed all LFG handling. |
20:46.05 | GeoMance | because I said^ |
20:46.26 | Jens | Idiots use Trade for global chat which is annoying. |
20:47.59 | GeoMance | -Very-. |
20:48.33 | GeoMance | Hum. Somethin's not working here. |
20:51.33 | Mr_Rabies2 | are there any addons that help with inventory management? having to manually re-adjust everything as i pick up new items is annoying :[ |
20:51.45 | [dRaCo] | mrplow? |
20:52.04 | Xuerian | Mr_Rabies: Baggins. |
20:52.08 | GeoMance | MrPlow, that's my name, my name again is MrPlow. <.< |
20:53.04 | Mr_Rabies2 | dammit now i have that bilbo baggins song that leonard nimoy attempted to sing stuck in my head |
20:53.36 | GeoMance | Hahahahah! |
20:54.54 | Mr_Rabies2 | http://youtube.com/watch?v=XC73PHdQX04 |
20:56.07 | GeoMance | Hahahahahah! |
20:56.59 | GeoMance | This is hilarious. |
20:57.08 | GeoMance | But, I'll stick with Blind Guardian's songs. |
20:57.27 | GeoMance | And bah. |
20:57.36 | Mr_Rabies2 | i prefer demons & wizards :O |
20:57.44 | Xuerian | ..... |
20:57.50 | Xuerian | I'm going to hurt you, Mr_Rabies2. |
20:57.53 | Mr_Rabies2 | why |
20:57.57 | Xuerian | You and your doppleganger, too. |
20:58.00 | *** join/#wowi-lounge Kaso (n=Kaso@resnet21.nat.lancs.ac.uk) |
20:58.34 | Xuerian | A: You ruined my mental picture of Spock |
20:58.39 | Xuerian | B: SONG IS STUCK IN MY HEAD |
20:58.42 | Xuerian | C: DIEEEE |
20:58.47 | Kaydeethree | lmao |
21:00.40 | GeoMance | LF Help. xD I can't figure out why this isn't working, me brain says it should, but me brain ain' always right. And yes, I know I butchered the comment writing part. xD That's not in the code. I receive no errors, but nothing shows. http://pastey.net/36492 |
21:01.04 | Mr_Rabies2 | muahahaha |
21:01.12 | Mr_Rabies2 | nimoy was a hippy :P |
21:01.19 | GeoMance | Heheheh. Was? |
21:01.21 | Mr_Rabies2 | if you've seen star trek 4, you know this as a truth |
21:01.25 | Xuerian | Logical! >_< |
21:01.27 | Mr_Rabies2 | well, i dunno about his current stuff |
21:01.47 | Mr_Rabies2 | seems like mostly he gets made fun of like bill |
21:02.33 | Xuerian | Why not function wIF:initialize(), and use self.x instead, GeoMance? |
21:02.50 | *** join/#wowi-lounge Ku (n=zachwlew@66.128.245.2) |
21:02.59 | GeoMance | I don't know what that means. |
21:02.59 | Xuerian | Also, double-slash your texture paths |
21:03.41 | Xuerian | wIF = {} function wIF:initialize() self.main = wowIRC self.main:SetHeight(500), etc |
21:03.43 | GeoMance | Heh, double-slash was the problem. Thanks Xuerian. |
21:03.46 | Ku | Need help with an error: |
21:03.47 | Ku | <Ui xmlns="http://www.blizzard.com/wow/ui/" |
21:03.47 | Ku | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
21:03.47 | Ku | xsi:schemaLocation="http://www.blizzard.com/wow/ui/"> |
21:03.47 | Ku | <Script file="NewRecipe.lua"/> |
21:03.49 | Ku | |
21:03.50 | Xuerian | ku |
21:03.51 | Ku | <!-- Frame to handle all core events --> |
21:03.52 | Xuerian | pastey |
21:03.53 | Ku | <Frame name="NewRecipe_core"> |
21:03.55 | Ku | <Scripts> |
21:03.56 | zenzelezz | Ku... |
21:03.57 | Ku | <OnLoad> |
21:03.59 | Ku | this:RegisterEvent("VARIABLES_LOADED"); |
21:03.59 | Xuerian | oh hell. |
21:04.01 | Ku | oops. |
21:04.03 | Ku | I forgot what was on copy/paste. |
21:04.09 | Xuerian | heheh |
21:04.18 | Xuerian | No worries, that just looked like a bigass file getting pasted ;P |
21:04.28 | Ku | LUA: http://wowi.pastey.net/36493 XML http://wowi.pastey.net/36494 |
21:04.50 | Xuerian | GeoMance: And call it with wIF:initialize(), it's syntactic sugar for going wIF.initialize(wIF) |
21:04.57 | Ku | Error: http://wowi.pastey.net/36495 |
21:05.04 | Xuerian | self is a local scope variable as well, local calls are cheaper than global calls |
21:05.15 | Xuerian | hm |
21:05.26 | Xuerian | Well it should work anyway. :) |
21:05.42 | Xuerian | ku: What's the error? |
21:05.51 | Ku | I pasted it on pasty. |
21:05.54 | Ku | http://wowi.pastey.net/36495 |
21:06.04 | Xuerian | Oh. |
21:06.05 | Xuerian | Ups :p |
21:06.27 | GeoMance | Ahhh, thanks, Xuerian. I wasn't sure if that were possible. |
21:06.33 | Ku | The function can't get a name from GetMerchantItemInfo(i); sometimes. |
21:06.42 | Ku | It's random when it does error or doesn't error. |
21:06.48 | Shirik | "Yeah I don't understand why all these jackasses create these insanely in-depth mods for spam prevention. Durr, all spam comes from level 1 characters. Easy solution." |
21:06.54 | Shirik | I hate all these people that think they're geniuses |
21:06.54 | Xuerian | ku: first check the validity of name, before you go string;finding on it? |
21:06.59 | Shirik | then go around calling addon authors jackasses |
21:07.07 | Shirik | when they haven't the slightest idea what they're talking about |
21:07.10 | Xuerian | Shirik: That's rude. |
21:07.22 | Xuerian | Ku: Also, just use name:find("Pattern:") etc |
21:07.35 | Ku | Hmm... clever. |
21:07.43 | Xuerian | Same as going ("Whateverisinname"):find() |
21:07.44 | zenzelezz | don't worry Shirik, we still like you |
21:07.50 | Shirik | I'm completely fed up with people thinking they're great and trash addon authors all day, and then those same people come back two days later asking for some addon |
21:08.01 | Shirik | They forget all of this stuff is made by people for free (with a few exceptions I won't get into) |
21:08.29 | Xuerian | Shirik: You saw that thread in general with the person bashing addons randomly? |
21:08.35 | Shirik | no that was in UI/Macros |
21:08.48 | Shirik | and I would have tore him a new one but I tried to hold back and only wrote a few sentences |
21:08.52 | Shirik | mostly calmly |
21:09.00 | Ku | My problem is, I tried checking for name, if not, retry, but it was always an infinite loop. |
21:09.00 | Xuerian | ku: you can also use a for loop instead of a while and a incriment |
21:09.37 | Ku | I had some problems with a for loop. |
21:09.40 | Ku | ^__^ |
21:09.43 | Xuerian | 0.o |
21:09.54 | GeoMance | Too many kittens. >_< |
21:10.01 | Ku | :3 |
21:10.16 | Xuerian | Also, unless they help you in your own processes, parenthesis around logical expressions ( if () then), as well as semicolons, are unnecessary :p |
21:10.31 | Ku | I like them. |
21:10.38 | Ku | They don't hurt it, do they? |
21:10.39 | Shirik | And then I like this topic |
21:10.42 | Xuerian | Nope |
21:10.49 | Xuerian | Shirik: Oh, it was? |
21:10.51 | Shirik | Someone asks for an addon, someone responds it can't be done. Then the OP's reply is "Someone else can" |
21:11.00 | Xuerian | Shirik: Is that thread still staying ontop or did it get buried? |
21:11.04 | Kaydeethree | I just responded to that thread |
21:11.07 | Shirik | both of those threads are sitll on top |
21:11.11 | Xuerian | Linky |
21:11.14 | Shirik | yeah I just responded to it too, saw yours >.> |
21:11.21 | Xuerian | lol |
21:11.32 | Kaydeethree | http://forums.worldofwarcraft.com/thread.html?topicId=104594952&sid=1 |
21:11.36 | Kaydeethree | http://forums.worldofwarcraft.com/thread.html?topicId=104544640&sid=1 |
21:11.37 | Ku | How would you recommend I check to make sure name or IsUsable exists? |
21:11.46 | Shirik | if name then |
21:11.50 | Xuerian | ^ |
21:11.58 | *** join/#wowi-lounge nymbia (n=nymbia@71-218-137-239.hlrn.qwest.net) |
21:12.04 | Shirik | if something "doesn't exist" then it's nil |
21:12.06 | Shirik | however, be careful |
21:12.13 | Shirik | >>> if a.b then print("hi") end |
21:12.13 | Cide | Shirik: [string "if a.b then print("hi") end"]:1: attempt to index global 'a' (a nil value) |
21:12.15 | Shirik | is illegal |
21:12.19 | Shirik | because a doesn't exist |
21:12.21 | Shirik | so you can't get to a.b |
21:12.27 | Shirik | so you want to do something like |
21:12.33 | Shirik | >>> if a and a.b then print("hi") end |
21:12.33 | Cide | Shirik: nil |
21:12.46 | Xuerian | Hm, I forget |
21:12.51 | Ku | Hmm... |
21:12.57 | Xuerian | >>> if '' then "true" else "false" end |
21:12.58 | Cide | Xuerian: [string "if '' then "true" else "false" end"]:1: unexpected symbol near '"true"' |
21:13.01 | Xuerian | shutup. |
21:13.26 | Shirik | uh |
21:13.27 | Xuerian | >>> if '' then print("true") else print("false") end |
21:13.28 | Cide | Xuerian: "true" |
21:13.30 | Shirik | I didn't understand that either >< |
21:13.44 | Ku | Eh? http://wowi.pastey.net/36502 |
21:13.46 | Shirik | the only things that evaluate to false are nil and false |
21:13.51 | Xuerian | Shirik: Don't get started. |
21:13.53 | Xuerian | >_> |
21:13.53 | Shirik | anything else, including 0, is true |
21:14.00 | Xuerian | We argued this out a couple days ago :p |
21:14.05 | Shirik | :P |
21:14.26 | Shirik | http://forums.worldofwarcraft.com/thread.html?topicId=104604858&sid=1 |
21:14.27 | Shirik | ROFL |
21:14.28 | Shirik | that's awesome |
21:14.31 | Ku | That should error check, right? |
21:14.40 | Xuerian | XD |
21:14.45 | Xuerian | ku: theoretically |
21:15.23 | Xuerian | aw |
21:15.26 | Xuerian | my post got deleted |
21:15.45 | sysrage | anybody know yet what the new stats for runic spellthread are gonna be? |
21:17.25 | GeoMance | I wish kittens understood "Feet are not food." |
21:18.15 | Nerinia | sysrage: live from PTR: 25 Spelldamage and 15 Stamina |
21:18.31 | Nerinia | erm wait |
21:18.56 | Nerinia | sorry, that's not true... they forgot to update my tooltip |
21:19.06 | Xuerian | Shirik: http://forums.worldofwarcraft.com/thread.html?topicId=104493456&postId=1041672649&sid=1#0 |
21:20.15 | Kaydeethree | wow |
21:20.23 | Kaydeethree | every single post in that thread's been reported |
21:20.33 | Xuerian | How do you tell if it's been reported? :P |
21:20.37 | Ku | Do you think Starcraft II will use XML and Lua to allow users to modify their play? |
21:20.38 | Kaydeethree | log in? |
21:20.42 | Xuerian | Oh. |
21:20.43 | Shirik | omfg |
21:20.44 | Xuerian | Well that would do it |
21:20.46 | Shirik | you just made me post in General |
21:20.49 | Shirik | my mind has been tainted forever |
21:20.55 | Shirik | on another note |
21:20.57 | Xuerian | XD |
21:21.00 | Shirik | I am avoiding the forums for the rest of the day |
21:21.03 | Xuerian | That thread is two days old |
21:21.03 | Xuerian | ok |
21:21.04 | Xuerian | was |
21:21.04 | Xuerian | XD |
21:21.11 | sysrage | lol nerinia it's 27 damage and 18 stam on live servers.. the purple one, not the blue one |
21:21.23 | Shirik | because the world is filled even more with morons today than ever |
21:21.49 | Ku | What is OP? Original Poster? |
21:21.59 | Xuerian | Yes |
21:22.12 | Xuerian | Kaydeethree: Ahaha, rofl |
21:22.47 | Shirik | ? |
21:23.17 | GeoMance | When using Lua, how to you set the Click action, and other actions for a button? |
21:23.51 | Xuerian | GeoMance: FrameObject:SetScript("OnClick", function() self.do whatever end) |
21:24.03 | Xuerian | note, you may have to register which clicks you want with RegisterForClicks |
21:24.09 | GeoMance | Thanks. |
21:24.24 | GeoMance | Of course, that much I knew. ^^; I just hadn't found that bit. |
21:24.27 | Shirik | dododo |
21:24.31 | Shirik | that should be function(self) |
21:24.34 | Xuerian | No |
21:24.55 | Xuerian | Well |
21:24.57 | Xuerian | I guess it could be |
21:25.01 | Shirik | it should be |
21:25.05 | sysrage | Q u o t e: |
21:25.05 | sysrage | Look nothing against you UI mod guys. I just dont like them. What would you guys do if they outlawed all UI after mods? Screwed. You'd have no choices. I HATE UI changes. That's why I dont use them. |
21:25.06 | sysrage | rofl! |
21:25.15 | Ku | How do I add a post in my portal? All I have is the goofy default post. |
21:25.16 | Xuerian | But it's not necessary, the function definition is *inside* of the other function definition, self is visible to it's scope |
21:25.22 | Shirik | and it's an upvalue |
21:25.28 | Shirik | meaning it's slower |
21:25.37 | Xuerian | Shirik: Eh, point for performance |
21:25.43 | Xuerian | :p |
21:26.11 | GeoMance | So... Should I do it function(self), or does it really matter? |
21:26.21 | Shirik | well it really depends on what you're trying to access |
21:26.38 | Shirik | because I also just realized you're doing FrameObject:SetScript() instead of self:SetScript() |
21:27.10 | Xuerian | :) |
21:27.42 | Shirik | given a function, say |
21:27.55 | Ku | Figured it out. |
21:28.09 | Xuerian | Listen Shirik out, performance is a good concern :) |
21:28.13 | Shirik | function Frame1:foo() Frame2:SetScript("whatever", function(self) --[[ script ]] end); end |
21:28.14 | Xuerian | (@ku) |
21:28.27 | Shirik | there is a difference between self inside the script and outside it |
21:28.33 | Shirik | they reference two different objects |
21:28.35 | *** join/#wowi-lounge PProvost (n=PProvost@WoWUIDev/WAU/Admin/Pprovost) |
21:28.37 | Xuerian | For that purpose might want to not name it self |
21:28.38 | GeoMance | It's a local thing. All it does is change the text displayed, or the frame that is displayed. |
21:28.44 | Ku | What? |
21:28.49 | Ku | @me? |
21:29.06 | Xuerian | ku: that could've been at Shirik, the way I said it. And it would've been offensive. To you, it's in a different context :p |
21:29.15 | Xuerian | or "scope", on that subject XD |
21:29.26 | Ku | Ah. Silly Lua humor. |
21:29.29 | Xuerian | Wee. |
21:29.31 | Xuerian | Fun isn't it? |
21:29.37 | Ku | Aye. |
21:29.45 | Shirik | I find myself required to say here |
21:29.46 | Ku | How to use the Lua parser on this channel? |
21:29.49 | Shirik | "who worries about performance anymore" |
21:29.51 | Shirik | >.> |
21:29.58 | Shirik | it's rather depressing |
21:30.05 | Shirik | >>> |
21:30.10 | Ku | >>> true |
21:30.10 | Cide | Ku: true |
21:30.10 | Shirik | >>> code |
21:30.10 | Cide | Shirik: nil |
21:30.12 | Xuerian | Was that a "Who does? We should" or a "Who cares, it doesn't matter"? |
21:30.13 | Xuerian | :p |
21:30.23 | Shirik | it was a sarcastig "who cares" |
21:30.26 | Ku | Does it remember values I put in earlier? |
21:30.31 | zenzelezz | it's true though, a lot of people think "computers are so fast we don't need to care about performance" |
21:30.32 | Ku | >>> a = "foo" |
21:30.33 | Cide | Ku: nil |
21:30.35 | Shirik | only if you put it in the SavedVariables array |
21:30.39 | zenzelezz | "np, leave that to the compiler" |
21:30.44 | Shirik | zenzelezz: Exactly |
21:30.44 | Xuerian | lol. |
21:30.47 | GeoMance | I worry about it. Mainly because I've had to do O(n) things. Lately. *Twitch.* |
21:30.47 | Ku | >>> a |
21:30.48 | Cide | Ku: nil |
21:30.55 | Ku | >>> a = "foo" a |
21:30.55 | Cide | Ku: [string "a = "foo" a"]:1: '=' expected near '<eof>' |
21:31.08 | Ku | a = "foo print(a) |
21:31.19 | Ku | >>>a = 'foo' print(a) |
21:31.19 | Cide | Ku: "foo" |
21:31.21 | Ku | hehe. |
21:31.23 | Shirik | I work with microcontrollers. The board I work with has.... |
21:31.38 | GeoMance | And because what I work on outside of this stuff will take all of the performance I can get out of it. |
21:31.39 | Shirik | 2FFF bytes of memory |
21:31.41 | Shirik | whatever that is |
21:31.48 | Shirik | so yeah, I kinda have to worry about performance |
21:31.58 | Xuerian | >>> print(0x2FFF) |
21:31.59 | Cide | Xuerian: 12287 |
21:32.01 | Xuerian | :) |
21:32.10 | zenzelezz | 12kb? |
21:32.25 | Shirik | I usually take 0x500 bytes for data, 0x500 for the stack |
21:32.30 | Shirik | leaving 1FFF for program code |
21:32.33 | Xuerian | Damn. What do you do? |
21:32.44 | GeoMance | So, could someone not go off on a tagent, and explain what you meant about the difference between function(self) and function() self.do? |
21:32.54 | Shirik | they... aren't identical |
21:32.58 | Shirik | self.do is nothing |
21:33.04 | Shirik | just some random thing put in there to show an example |
21:33.09 | Xuerian | ^ |
21:33.29 | Xuerian | In a script handler function (what that is) a few things are passed by default |
21:33.44 | Shirik | but won't be in the future so be careful with that |
21:33.50 | Xuerian | function(self) in that case would've set self (a new ref! New scope!) to the frame casting the event |
21:33.55 | Xuerian | Oh? |
21:34.02 | Shirik | well, they'll be passed |
21:34.08 | Shirik | but the globals that exist won't exist in the future |
21:34.13 | Shirik | like for CHAT_MSG_COMBAT_... |
21:34.16 | Shirik | arg1 global won't exist soon |
21:34.20 | Xuerian | ahhh |
21:34.26 | GeoMance | Well, since it doesn't do anything to itself, except turn off a highlight on it... |
21:34.28 | Shirik | you'll have to pick it up by making the function(self, arg1, arg2 ...) |
21:34.36 | Xuerian | Good practice |
21:34.42 | Shirik | which is faster anyway |
21:34.55 | Xuerian | GeoMance: We're coders on a tangent. Get in the discussion, or hop on for the ride :p |
21:35.36 | Nerinia | So, the first 'self' argument is the only difference between 'foo.bar()' and 'foo:bar()'? |
21:35.39 | GeoMance | Heheheh, I haven't gotten that deep into the memory stuff yet. I'm still at the Big-O stage of learning that junk. |
21:36.02 | Shirik | correct |
21:36.09 | Shirik | foo:bar() is equivalent to foo.bar(foo) |
21:36.23 | Xuerian | object:function() passes itself as the first argument, yeah |
21:36.24 | Shirik | defining a function foo:bar() generates a local variable "self" |
21:36.37 | Xuerian | Which you do not have to account for in the function declaration |
21:36.52 | Nerinia | Mkay, thanks. |
21:36.58 | GeoMance | I think I like that more. |
21:37.29 | Xuerian | Oh. |
21:37.37 | foxlit | Hrm |
21:38.26 | Xuerian | Hm, yeah, Shirik has a point I haven't noticed (woo starting out in Ace2 :D), to clarify, if you define a function as "object:function" vs "object.function", the first argument is implied as selr |
21:38.27 | Xuerian | self* |
21:38.39 | Xuerian | which matches up to calling it with "object:function()", passing itself automatically |
21:38.43 | foxlit | Bignum is returning negative remainders. Not good. |
21:38.54 | Shirik | anyway to answer your question, Xuerian, I design circuits and program for the motorola 68HC microcontroller family |
21:39.02 | Shirik | specifically 68HC08, 68HC11, and 68HCS12 |
21:39.14 | Xuerian | Shirik: Nice. |
21:39.26 | Shirik | embedded systems are fun :) |
21:39.31 | Shirik | and imo where the future's headed |
21:39.32 | GeoMance | Gods, why do almost all leather armors look horrible? |
21:39.34 | foxlit | >>> 5960263889109793344805439088833192893665229075812778616912984989535864982712314398407042199807917853501302165220432354767954284583677521393697296865469185595288896633773765039196540298728853524477701493861442898665211995005330775250075077461031601552496883239037696344369109369278284941173007375487882275148389690101661976424824085684954725571879976412799615233956923726302728088148592487051481331114626682747448761277082428609071629 |
21:39.34 | Cide | foxlit: 1.#INF |
21:39.38 | Shirik | holy crap |
21:39.39 | nevcairiel | lol |
21:39.41 | foxlit | Thanks, Cide. |
21:40.07 | foxlit | If anyone has a secret way of solving that, I'd be happy to get the result :) |
21:40.10 | Shirik | I like my [Ceremonial Leather Loincloth] |
21:40.16 | Xuerian | 0.o |
21:40.19 | Shirik | solving what? |
21:40.20 | GeoMance | Heheheheh. |
21:40.22 | Shirik | I just see a huge number |
21:40.28 | nevcairiel | foxlit: easy, place " " around it :P |
21:40.31 | GeoMance | There's a mod in there somewhere. |
21:40.35 | *** join/#wowi-lounge leethal (n=leethal@kri1-1x-dhcp065.studby.uio.no) |
21:40.36 | Shirik | where? |
21:40.40 | foxlit | There's a % sign inside |
21:40.45 | foxlit | ...21884220 % 74285264... |
21:40.45 | GeoMance | Beyond the text buffer. |
21:40.52 | nevcairiel | are we supposed to actually see that ? :D |
21:41.01 | foxlit | Well, I see it :P |
21:41.05 | Shirik | I seriously don't see it >< |
21:41.06 | Xuerian | foxlit: Our question is |
21:41.09 | foxlit | I can pastey the pair if anyone wants :) |
21:41.14 | nevcairiel | i cant find it either |
21:41.14 | Xuerian | Why are you working with such big numbers? |
21:41.15 | nevcairiel | interesting |
21:41.25 | Shirik | Xuerian: app signature |
21:41.48 | Xuerian | Do it in base16? 0.o |
21:41.54 | Ku | Is there an addon for integrating iTunes into WOW if not on Mac? |
21:41.57 | Shirik | It'll still come out to 1.#INF |
21:42.04 | Xuerian | Make it shorter? :D |
21:42.05 | foxlit | Got a decimal -> hex converter that works on bignums? |
21:42.06 | Xuerian | ku: no |
21:42.18 | Ku | Can it be done? |
21:42.22 | Shirik | no |
21:42.23 | foxlit | (consider them a single string) |
21:42.32 | nevcairiel | so basicly you want a number format with a precision of what? |
21:42.47 | foxlit | Arbitrary precision - as many digits as it takes |
21:42.56 | zenzelezz | in what language? |
21:43.00 | Shirik | lua |
21:43.00 | nevcairiel | lua :P |
21:43.04 | zenzelezz | was afraid so |
21:43.12 | Shirik | Ok, here's my design |
21:43.12 | foxlit | The modulo is 73 digits long |
21:43.16 | Shirik | I've been thinking about how to implement this |
21:43.18 | zenzelezz | don't suppose there's a lua version of GMP |
21:43.20 | Shirik | I already know the math to handle it |
21:43.29 | Shirik | I'm thinking about making a table of numbers |
21:43.36 | Shirik | say, each 10 digits long or so |
21:43.37 | Shirik | w/e |
21:43.44 | Shirik | then setting a metatable to handle the operations |
21:43.57 | Shirik | the calculations aren't hard to implement |
21:44.00 | foxlit | I'm using a finished product of that already :) |
21:44.05 | Shirik | well |
21:44.13 | Shirik | apparently not if it's not letting you go far enough >.> |
21:44.42 | nevcairiel | there is a math library for lua which offers that, but, i guess you want to use it in wow lua ? :) |
21:44.47 | foxlit | It's the implementing the calculations part that breaks, storage works just fine :) |
21:45.19 | foxlit | nevcairiel: yes, has to work in wow. I found BigNum, which is basically pure Lua |
21:45.22 | foxlit | ~bignum |
21:45.23 | purl | i guess bignum is http://oss.digirati.com.br/luabignum/bn/index.htm |
21:47.18 | foxlit | Going to revert to vanilla, want to see if I managed to break it in some very special cases. |
21:47.28 | foxlit | And so I did :/ |
21:51.40 | GeoMance | Does anyone have a working MPQ viewer? |
21:51.50 | GeoMance | Or, BLP viewer thingy. |
21:52.15 | foxlit | Problem is, original version creates another copy of every bignum on every operation |
21:52.30 | foxlit | So as not to change (Whether by design or accident) the original numbers. |
21:53.40 | foxlit | That generates too much junk, so I added a check to the BigNum.new function to see if it's passed a BigNum to begin with, and if so, pass it right back. Cuts the garbage in half, more or less, but appears to give odd answers at times |
21:55.22 | GeoMance | Or, does anyone know where I can find the textures for certain things? |
21:56.03 | GeoMance | 'Cause the BLP/TGA viewer thing I have keeps crashing on me when I try to open the common MPQ. -_- |
21:56.11 | foxlit | ~addonkit |
21:56.13 | purl | Located at http://www.blizzard.com/support/wow/?id=aww01671p the addonkit is "The World of Warcraft User Interface Customization tool that allows users to tweak and customize the User Interface." |
21:56.40 | GeoMance | I've done that already, but I don't have a tool that'll let me view them without manually opening them one by one. |
21:57.26 | Xuerian | GeoMance: MyWarcraftStudio |
21:57.54 | Xuerian | That can do what you want :) |
21:58.00 | GeoMance | Thanks, Xuerian. |
21:58.18 | Shirik | common.mpq cannot be opened |
21:58.21 | Shirik | it uses a new format |
21:58.26 | Shirik | well I dunno I haven't tried the blizzard one |
21:58.26 | GeoMance | Ahhhh. |
21:58.35 | Shirik | but it uses a new format so all 3rd party ones won't be able to open it |
21:58.42 | AnduinLothar | not all |
21:58.44 | Shirik | I've been writing an extractor for it but haven't gotten around to finishing it |
21:58.50 | Shirik | ok... the ones I've seen can't :P |
21:58.54 | AnduinLothar | mpqfs works |
21:58.58 | Shirik | and all old ones |
21:59.00 | AnduinLothar | mac only tho :P |
21:59.22 | GeoMance | That kicks ass, Xuer. I love the front screen. >.> |
21:59.24 | Xuerian | Uh. |
21:59.36 | GeoMance | Although, it's making me queasy. |
21:59.36 | Shirik | basically the problem is |
21:59.37 | Xuerian | MWS- |
21:59.43 | Shirik | the old hash table only could store 32 bit integers |
21:59.46 | Xuerian | *can open them |
21:59.51 | Shirik | but that's not big enough for the contents of common.mpq anymore |
21:59.58 | Shirik | so they made a new format supporting 64 bit integers |
22:00.29 | Xuerian | Well, no, I take that back, I don't think I tried to open common.mpq, I worked with locale.enus (which is where the way, Geo) |
22:00.45 | Xuerian | But I know WoWModelViewer works still 0.o |
22:01.22 | Xuerian | *which is where the UI files are |
22:01.24 | Xuerian | blah |
22:01.30 | GeoMance | And No, that isn't really a help, Xuerian, it's not doing anything. >.> |
22:02.07 | AnduinLothar | Shirik, this might help: http://zohar.devklog.net:47805/projects/mpqkit |
22:02.08 | Xuerian | GeoMance: You have to open the data/enus(or your locale)/locale-enUS.MPQ |
22:02.23 | Xuerian | GeoMance: It's not psychic :p |
22:02.43 | Shirik | AnduinLothar: That managed to crash firefox >< |
22:02.52 | AnduinLothar | lol |
22:02.56 | Shirik | oop there it goes |
22:02.57 | Corrodias | ~smallnum |
22:03.05 | GeoMance | It doesn't display anything, even when I open that file. |
22:03.15 | Shirik | ah thanks |
22:03.27 | Shirik | I had some documentation on the format but wasn't quite getting everything |
22:03.28 | Shirik | this should help :) |
22:03.34 | AnduinLothar | BahamutZERO's an old pal of mine from SC modding days |
22:03.36 | Xuerian | GeoMance: Might have a old version? Let me find a link for you |
22:04.10 | GeoMance | Really, I'm just worried about finding out where the basic textures for for the basic buttons are. xD |
22:05.20 | Xuerian | http://www.wowmodelviewer.org/index.php?option=com_remository&Itemid=35&func=select&id=6 |
22:06.18 | GeoMance | Thanks. xD |
22:06.25 | Xuerian | =) |
22:06.51 | GeoMance | You are a very helpful person. |
22:07.08 | Xuerian | It's a failing, I make up for it with regular sarcasm and scorn. |
22:07.48 | GeoMance | Heheheheh. |
22:08.48 | Xuerian | Shirik: Unless it came across wrong, you're saying nothing can open common.mpq right now? |
22:08.58 | Shirik | not nothing |
22:08.59 | Kaydeethree | mpqedit's opening it just fine |
22:09.09 | Shirik | but not everything |
22:09.31 | Xuerian | Ah. Well, WoWModelViewer and MyWarcraftStudio both have updated versions of the mpq lib (i assume?), so they work :D |
22:09.38 | Xuerian | But you're writing your own. So yeah. |
22:09.52 | Shirik | it's definitely not at the top of my to-do list |
22:09.56 | Shirik | I have a lot of other things I need to get done |
22:10.00 | Xuerian | :P |
22:10.01 | Shirik | including get my priest to 70 ^^; |
22:10.13 | Xuerian | paltry details |
22:10.31 | GeoMance | I need to get something up to 60 period. |
22:11.12 | GeoMance | And I need to kill some birds. *Twitch.* |
22:11.31 | *** join/#wowi-lounge Fumler (n=asdf@ti211110a081-9615.bb.online.no) |
22:11.55 | Xuerian | 0.o |
22:12.13 | Fumler | anyone know if there's an addon for enchanting like that gem one, so you can do like !enchants and it lists all the stuff, or !enchants weapon and it lists for weapons |
22:12.14 | Fumler | etc |
22:12.14 | Fumler | ? |
22:12.20 | GeoMance | They've taken up residence outside my window, and want to screech at me. |
22:12.31 | Xuerian | Ah. :p |
22:20.02 | Fumler | anyone know what pMutilate does? |
22:20.14 | GeoMance | Mutilates p? |
22:20.22 | Shirik | lol |
22:20.26 | Shirik | that's totally what was going through my mind |
22:20.39 | GeoMance | What's the context of it, Fum? |
22:20.50 | Fumler | Simple Mutilate Checks (Punkie) |
22:20.55 | Fumler | duno what that means |
22:22.41 | Xuerian | It shows status of various dots or dot enhancers |
22:22.45 | Xuerian | including mutilate |
22:23.14 | GeoMance | if you're setting a button's texture, do you have to worry about setting the texture's size? |
22:23.25 | Xuerian | Usually, SetAllPoints |
22:23.43 | GeoMance | What does SetAllPoints do, exactly? |
22:23.58 | *** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@64.193.93.197) |
22:24.12 | Xuerian | Sets all points on the calling frame to attach to the frame you tell it to |
22:24.38 | Xuerian | Like calling SetPoint on top/right/bottom/left matching them to the other frame's top/right/bottom/left :p |
22:24.59 | GeoMance | Ahhh, interesting. |
22:25.04 | GeoMance | Makes life easier. |
22:25.24 | *** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@64.193.93.197) |
22:25.45 | Xuerian | Much. |
22:28.20 | GeoMance | Wheee! |
22:32.06 | *** join/#wowi-lounge Valle (n=wraanger@89-178-81-97.broadband.corbina.ru) |
22:33.53 | GeoMance | Ugh. |
22:35.45 | GeoMance | Is it better to have two frames for two different sides of something, where only one will show at a time, or one with the textures being changed each time. |
22:36.45 | GeoMance | Or does that not make any sense at all..? |
22:37.04 | Corrodias | your mom doesn't make any sense |
22:37.14 | Corrodias | thank you, thank you! and now, i will play my hunter! |
22:37.49 | GeoMance | Heh. |
22:38.00 | Corrodias | you're asking if it's better to make two frames with single textures and show them individually or have one frame on which you change the texture. it makes sense, but i don't know anything about it. |
22:38.19 | GeoMance | Exactly. xD |
22:38.25 | Xuerian | I'd say two for the sake of sanity |
22:38.31 | GeoMance | Yay, someone who understood me. |
22:38.45 | GeoMance | Probably less processor intensive as well, though it'll take more memory. <.< |
22:39.16 | Xuerian | Marginal |
22:39.53 | GeoMance | On which part? |
22:40.37 | *** part/#wowi-lounge Punkie` (n=~@host86-130-2-120.range86-130.btcentralplus.com) |
22:41.10 | Xuerian | both :P |
22:41.42 | GeoMance | Heheheh. |
22:44.11 | GeoMance | Hrm.. |
22:47.11 | GeoMance | This is turning into something of a monster. <.< |
22:48.15 | Tem | depending on the size of the texture, you may find that showing and hiding 2 textures is faster than :SetTexture |
22:49.02 | GeoMance | Well, it also would require the movement of other frames, and the like. |
22:50.46 | GeoMance | Ah, what I'm doing, right now, is making a tab thing that depending on which side of the screen the frame is on with put the tabs on the side furtherest from the edge of the screen. The tabs have their own texture, and two buttons, that would have to change places as well if I used a single frame and just changed the appearance. >.> |
22:58.12 | GeoMance | Can you force other textures onto buttons? |
23:05.45 | GeoMance | Never mind, don't worry about that. |
23:07.28 | GeoMance | Using a table to keep track of incoming chat information isn't a good idea, 'cause it fills up too fast..? |
23:08.16 | GeoMance | And I feel like I'm the only person alive. |
23:09.17 | *** join/#wowi-lounge sergio (i=sp@unaffiliated/sergio) |
23:10.03 | GeoMance | Yep. Everyone else is dead. |
23:13.07 | *** join/#wowi-lounge batrick_ (n=batrick@c-76-18-71-214.hsd1.nm.comcast.net) |
23:15.01 | GeoMance | Wheee! |
23:15.51 | *** join/#wowi-lounge Tierrie (n=tierrie@adsl-68-126-197-28.dsl.pltn13.pacbell.net) |
23:37.34 | *** join/#wowi-lounge Neebler (n=BuM@adsl-70-140-218-33.dsl.chi2ca.sbcglobal.net) |
23:39.32 | *** join/#wowi-lounge Ku (n=zachwlew@66.128.245.2) |
23:39.35 | *** join/#wowi-lounge Karrion (n=kieron@corp-gw01.imrworldwide.com) |
23:39.53 | Ku | Ugh, still get that error even after I checked for the validity of name. |
23:40.15 | Ku | http://wowi.pastey.net/36573 |
23:40.20 | Ku | Error on line 90. |
23:40.31 | Ku | Says name is nil, was expecting string. |
23:40.35 | Ku | brb |
23:42.51 | Kaso | thats very... odd |
23:43.23 | Kaso | i shoudlnt be able to get to line 90 if name is nil and even if it managed that i should error on 89 first |
23:44.21 | Ku | I know. |
23:44.36 | Kaso | sure the code you see is what the game is seeing? |
23:44.37 | Cide | uhh, no |
23:44.46 | Cide | you have line 90 commented out |
23:44.49 | Cide | so that's not your actual code |
23:45.05 | Corrodias | eh? " name:find("Schematic:") or " |
23:45.17 | Ku | It's not commented out. |
23:45.26 | Cide | if ( name and ---[[ and name:find("Schematic" .... ]] ) then |
23:45.38 | Kaso | ---[[ doesnt make a box comment |
23:45.38 | Ku | I broke the first comment with a third --. |
23:45.48 | Ku | Like, it would be a comment if it were --[[ |
23:45.52 | Ku | But, I used ---[[. |
23:45.59 | Cide | ... |
23:46.10 | GeoMance | Does find do anything to the original value? |
23:46.19 | Kaso | >>> ---[[ ]] print("this wont print") |
23:46.19 | Cide | Kaso: nil |
23:46.19 | Ku | That first comment is a comment before it can block comment. |
23:46.32 | Cide | ... |
23:46.56 | ckknight | it's because it sees it as --commented out stuff |
23:47.03 | ckknight | instead of ---[[commented out stuff]] |
23:47.05 | Ku | http://www.lua.org/pil/1.3.html |
23:47.09 | ckknight | which, imho, is fine |
23:47.10 | Ku | Look at the last paragraph. |
23:48.08 | Ku | I can try to get the error to occur again, and I'll paste that. |
23:48.10 | Cide | yep, you're right |
23:48.11 | Ku | Give me a second. |
23:48.14 | GeoMance | Hrm. |
23:52.15 | Ku | Here's the error, guys. |
23:52.29 | Cide | Ku: you're just checking that it exists |
23:52.32 | Cide | not that it's a string |
23:52.49 | Kaso | why doesn't it error on 89 then? |
23:52.53 | Ku | Well, it is saying it gets nil. |
23:53.01 | Ku | So, isn't nil false? |
23:53.04 | Kaso | unless line 89 is nilling name^_- |
23:53.11 | Ku | Does it do that? |
23:53.18 | GeoMance | It could be. |
23:53.32 | Ku | Then, why doesn't it nil it every time? |
23:53.33 | Cide | >>> local name = nil; if ( name and name:find("hi") or name:find("foo") ) then print("hi") end |
23:53.33 | Cide | Cide: [string "local name = nil; if ( name and name:find("..."]:1: attempt to index local 'name' (a nil value) |
23:53.39 | Ku | It only happens sometimes. |
23:53.51 | Cide | if name and ( ... or ... ) |
23:53.51 | GeoMance | I know I've had a few languages do things they shouldn't have. Like a foreach this in that changing that without doing anything. |
23:53.54 | Cide | not if name and ... or ... |
23:54.08 | Kaso | ah of course |
23:54.13 | Cide | and has a higher precedence than or |
23:54.19 | Ku | What now? |
23:54.29 | Ku | So, I need parenthesises? |
23:54.32 | Cide | yes |
23:54.42 | Ku | But, should it see, x and y. |
23:54.51 | Ku | Check x. if x is false, then quit. |
23:54.56 | Cide | no |
23:54.59 | Cide | you're doing |
23:55.02 | Ku | If x is true, then check y. |
23:55.07 | Cide | >>> if ( name and name:find("x") ) or name:find("y") |
23:55.07 | Cide | Cide: [string "if ( name and name:find("x") ) or name:find("y")"]:1: 'then' expected near '<eof>' |
23:55.10 | Ku | Sorry. Do I need braces? |
23:55.16 | Cide | you need parentheses |
23:55.59 | Ku | So, () <-- brackets, [] <-- square brackets <> <-- angle brackets? |
23:56.06 | Kaso | yup |
23:56.10 | Ku | . <-- full stop, bitch! |
23:56.14 | Kaso | haha |
23:56.20 | Kaso | {} curly/squiggly brackets |
23:56.45 | Ku | ? <-- question mark, ! <-- exclaimation mark. |
23:56.51 | Ku | Not exclamation point. |
23:57.06 | Kaso | ‽ -- interrobang! |
23:57.08 | Ku | I'll try the brackets. |
23:57.19 | Ku | Kaso: ?? |
23:57.38 | Kaso | if you dont have UTF-8 on your irc client you can see it here http://en.wikipedia.org/wiki/Interrobang |
23:57.46 | [dRaCo] | null pointer --> |
23:57.49 | Kaso | best symbol ever imo. |
23:57.54 | Kaso | haha [dRaCo] |
23:58.03 | Kaso | thats awesome |
23:58.49 | Ku | I like that. |
23:58.53 | Ku | I got this awesome book. |
23:59.13 | Ku | Called Eats, Shoots & Leaves by Lynne Truss. |
23:59.30 | Cide | Ku: do you understand why it's not working? |
23:59.38 | Ku | The book is so well written, it reads with an English accent. |
23:59.43 | Ku | Cide: Not really. |
23:59.48 | Cide | ok so |
23:59.59 | Ku | To me, it makes sense that the and would have higher precedence than the or. |