00:10.27 | Lej | is there somekind of round()? |
00:11.01 | Lej | the lua simple round didn't seem to work |
00:11.30 | Shadowed | floor( num + 0.5 ) |
00:12.53 | Lej | >_< no better way of doing it? |
00:13.15 | Lej | well can always write a round func from that.. |
00:14.44 | Shadowed | nope! |
00:15.05 | Lej | so rounding to one decimal as I want is pretty hard? |
00:15.24 | Lej | could always work with it as a string :/ |
00:16.02 | cladhaire | tonumber(string.format("%.f", num) or "") =) |
00:16.31 | Lej | but that doesn't round only truncate, right? |
00:16.38 | cladhaire | yeah, heh |
00:16.54 | cladhaire | implement whichever rounding you'd like |
00:17.07 | Lej | I think your way will do just fine ^^ |
00:17.39 | cladhaire | its a horrid hack, heh |
00:17.44 | cladhaire | there's a number of good round funcgiont |
00:17.51 | cladhaire | google lua math.round |
00:18.03 | WobWork | ).) |
00:18.05 | WobWork | er |
00:18.07 | WobWork | O.O |
00:18.09 | WobWork | http://www.petercallesen.com/index.html |
00:18.25 | WobWork | this guy is... insane! But in a "dear god, how did he manage that" way |
00:18.55 | *** join/#wowi-lounge nymbia (n=nymbia@71-218-138-197.hlrn.qwest.net) |
00:18.56 | cladhaire | wow thats suck |
00:19.44 | *** join/#wowi-lounge batrick (n=batrick@d00-64-106-86-242.dhcp.unm.edu) |
00:27.19 | Tain | No, tomorrow will suck. Afterall... it's Steak and a Blowjob da! |
00:27.29 | Tain | Day, even. |
00:27.47 | *** join/#wowi-lounge Guillotine (n=Guilloti@ns.motek-services.com) |
00:27.57 | Tain | er/Cartographer_InstanceNotes/notes.lua: |
00:27.57 | Tain | <PROTECTED> |
00:27.57 | Tain | <Ominous_> nn all |
00:28.00 | Tain | ack. |
00:28.15 | Tain | How in the hell did that end up in my clipboard. |
00:28.27 | Tain | I meant... http://www.steakandbjday.com/ |
00:29.53 | WobWork | happy s&bjday Tain =P |
00:31.44 | *** join/#wowi-lounge jiteo (n=artom@bas1-montreal19-1088784009.dsl.bell.ca) |
00:34.46 | TC_Working | in that case you need steak flavored semen |
00:35.31 | Shadowed | WobWork: thats amazing |
00:35.33 | Shadowed | and scaring |
00:41.58 | Nom- | woooooooooooooooooooooot |
00:42.10 | Nom- | Finally |
00:42.26 | cladhaire | yay! |
00:42.36 | Nom- | Mine died (again) last night |
00:42.48 | Nom- | And it's not the RAM, because the RAM which I took out due to it not working now works again |
00:43.07 | Nom- | The Motherboard is on it's last legs, so i'm just going to replace the damn thing |
00:43.42 | Lej | why does < for itemName, itemData in pairs(ProspectInfo_OreData[oreName]["Items"]) do > go ["Malachite"]->["Copper Powder"]->["Tigerseye"]->["Shadowgem"] and not ["Copper Powder"]->["Malachite"]->["Tigerseye"]->["Shadowgem"] for this table http://wowi.pastey.net/8301 |
00:44.24 | *** join/#wowi-lounge Gngsk (n=gngsk@c-69-138-213-251.hsd1.md.comcast.net) |
00:44.55 | wereHamster | Lej, the order is more or less random (if you have non-integer indices) |
00:45.03 | Lej | :/ |
00:45.42 | Lej | ok, well there are other ways to do it |
00:46.11 | wereHamster | you could rework the tale to use integer indices and than use ipairs() |
00:46.17 | wereHamster | s/tale/table/ |
00:46.59 | Lej | not sure that's so easy as I get a itemname as string and then use it to look up in the table |
00:47.22 | Lej | but I could sort the table |
00:47.51 | Lej | then there shouldn't be a problem looping thru it |
00:49.06 | *** mode/#wowi-lounge [+o dolby-wowi] by ChanServ |
00:53.12 | Nom- | Is the new nForce4 chipset up to scratch ? |
00:53.19 | Nom- | Or is it still crap compared to VIA |
00:54.14 | Nom- | Or has noone been keeping up? :) |
00:55.16 | Nom- | http://www.tomshardware.com/2006/09/19/toms_socket_am2_motherboard_summer_slam/page11.html |
00:55.21 | Nom- | looks like they're all the same...cool |
00:55.27 | Nom- | means i can chose based on features, not chipset :D |
01:04.18 | *** join/#wowi-lounge cogwheel (n=chatzill@c-67-164-121-134.hsd1.ca.comcast.net) |
01:14.26 | *** join/#wowi-lounge rophy (n=Miranda@csw49.cs.nthu.edu.tw) |
01:16.54 | *** join/#wowi-lounge snurre (n=snurre@AVelizy-153-1-13-133.w83-199.abo.wanadoo.fr) |
01:28.50 | Lej | having some problems with table.sort() |
01:28.50 | Lej | how would I sort the entries in ["Copper Ore"] http://wowi.pastey.net/8303 after the chance to get them? |
01:29.04 | Lej | (BaseDrop + PlayerDrop) / (BaseProspect + PlayerProspect) would be the chance for one item |
01:34.34 | Nom- | bleh |
01:34.44 | Nom- | Worth splurging extra for a Geforce 8800 ? |
01:34.46 | Nom- | DX10? |
01:35.32 | cogwheel | It's probably not worth it just for DX10, but if the performance is a significant improvement, then i can't say no :P |
01:36.04 | cogwheel | Lej: sorting tables with non-integer keys is meaningles |
01:36.09 | cogwheel | s/les/less/ |
01:36.15 | cogwheel | gah |
01:36.34 | Nom- | Well it's the top of the line card |
01:36.37 | Nom- | Just the cheap version of it |
01:36.38 | Lej | I see |
01:36.40 | Nom- | That i'm looking at |
01:36.41 | *** join/#wowi-lounge Shadowed (n=outlaw@12.157.177.162) |
01:37.00 | Lej | any smart ideas on how I would go about indexing this? :/ |
01:37.22 | cogwheel | use another table that's keyed with integers and whose values are the keys of the other table |
01:37.44 | cogwheel | then your sort function for the index table would check the entries in the main table |
01:37.55 | Nom- | I'd get the ATi X1950 card, which is the fastest out there |
01:37.59 | Nom- | But 1. It's too expensive |
01:38.04 | Nom- | 2. No SLI |
01:38.10 | cogwheel | 3. it's ATI |
01:38.12 | cogwheel | :P |
01:38.35 | Nom- | I'm looking at Nvidia 8800 GTS, which ranks at 136.2fps on the HL2: Ep 1 charts |
01:38.48 | Nom- | The X1950 XTX CF ranks at 169.9 |
01:39.27 | cogwheel | i got 110fbs on hl2ep1 with a 7900gt |
01:39.33 | cogwheel | s/bs/ps/ |
01:39.47 | *** join/#wowi-lounge Gryphen (n=masked@76.104.130.0) |
01:39.56 | cogwheel | (and a core2duo e6600 with 4gigs ram) |
01:39.58 | Nom- | 8800GTS 320MB PCI-E Leadtek Graphics Card, GDDR3 2DVI/HDTV $475.20 |
01:40.04 | Nom- | hmmm |
01:40.44 | Nom- | cogwheel: The benchmark is 1024x768 32-bit with max detail |
01:40.47 | kahdgarxi | hmmm.... debugging is fun! >.> |
01:40.57 | Nom- | oh never mind |
01:41.10 | Nom- | turn on 4xAA and 8xAF and these cards are through the roof compared to ATI |
01:41.16 | Nom- | http://www23.tomshardware.com/graphics.html?modelx=33&model1=608&model2=606&chart=199 |
01:41.19 | cogwheel | heh... mine was 1280x1024 32-bit max settings |
01:42.01 | Nom- | bleh i don't think i can afford to splurge for the extra 320mb RAM |
01:42.07 | Nom- | They don't have the 320MB version benchamarked yet |
01:42.27 | Nom- | It's an extra $190 for the 640MB version |
01:43.33 | Nom- | $623 on one component is a bit nuts :/ |
01:43.44 | Nom- | Having said that |
01:43.58 | Nom- | *checks how much is available on CC atm* |
01:44.42 | Nom- | bleh their web site if fubar, can't check :( |
01:47.08 | cogwheel | Lej: here's a trivial example: http://wowi.pastey.net/8305 |
01:49.30 | Lej | oo, thanks |
01:51.26 | Lej | tinsert(index, key) |
01:51.57 | Lej | does that insert key at the end of index with a interger as key and key as value |
01:52.04 | cogwheel | yep |
01:52.42 | cogwheel | http://www.lua.org/manual/5.1/manual.html#pdf-table.insert (tinsert is a wow-specific, global alias for table.insert) |
01:54.41 | Kaso | I never got the wow short-cuts to functions |
01:55.34 | cladhaire | they're cheaper |
01:55.49 | cladhaire | its a global lookup versus a global lookup followed by a table lookup |
01:55.52 | cladhaire | lua -p -l ftw. |
02:02.44 | Lej | easiest way to loop thru the index? |
02:03.01 | Lej | for i = 1, #index do ? |
02:03.43 | Lej | for key, value in pairs(index) do ? |
02:03.58 | Lej | should that second one work? |
02:05.47 | *** join/#wowi-lounge Shadowed (n=outlaw@12.157.177.162) |
02:11.07 | cogwheel | Lej: ipairs |
02:11.21 | cogwheel | for i, v in ipairs(index) do |
02:13.55 | *** part/#wowi-lounge JoshBorke (n=Josh@r35h14.res.gatech.edu) |
02:14.47 | *** part/#wowi-lounge Wing87 (n=Wing@c83-254-245-120.bredband.comhem.se) |
02:17.06 | *** part/#wowi-lounge Thunder_Child (i=user@cpe-76-80-184-210.socal.res.rr.com) |
02:18.47 | Lej | yarrr success |
02:18.59 | *** join/#wowi-lounge Chardonnay (n=chardonn@cpe-76-174-27-139.socal.res.rr.com) |
02:19.08 | Lej | people in here are so helpful |
02:19.09 | cogwheel | mmmmmmmm.... chardonnay.... |
02:25.23 | Chardonnay | well, zinfandel tonight, i'm not fussy |
02:39.47 | *** join/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |
02:42.04 | *** join/#wowi-lounge batrick (n=batrick@d00-64-106-86-242.dhcp.unm.edu) |
02:43.19 | Lej | next to write function to update database entries when prospecting |
02:50.15 | *** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@64.193.93.197) |
02:53.32 | *** join/#wowi-lounge Raik (n=Holocaus@BHE200139176242.res-com.wayinternet.com.br) |
02:53.44 | Raik | tem br aki? |
03:20.45 | Tem | Raik: do you need something from me or was that portuguese? |
03:20.49 | Tem | oh, he left... |
03:23.14 | bleetah | Tem: I think 'tem' is portuguese for 'have', or 'has'... don't quote me on that. no idea about 'aki' |
03:23.50 | Tem | yeah something like that |
03:24.01 | Tem | I get pinged in #lua all the time because some of them are from brazil |
03:24.20 | bleetah | 'aki' is probably dialectical 'anyone', 'coz I'm hazarding a guess it was 'anyone speak br' |
03:24.32 | bleetah | heh, that hadn't occurred to me |
03:27.58 | Tem | what hadn't occured to you? |
03:28.02 | Chardonnay | aki looks very close to spanish "aqui" = "here" |
03:28.02 | ckknight | does anyone know the level ranges of the SM wings? |
03:31.34 | *** join/#wowi-lounge Antiarc (n=Chris@wsip-70-184-82-98.ph.ph.cox.net) |
03:31.36 | Tem | ckknight, you could look it up on blizzard's flash map of the world |
03:31.45 | Tem | don't they list the level ranges for instances there? |
03:31.50 | Tem | or are they too generous? |
03:33.28 | *** join/#wowi-lounge PProvost (n=PProvost@WoWUIDev/WAU/Admin/Pprovost) |
03:34.40 | Chardonnay | they only give a range for the whole zone, 29-45 in the case of sm :) |
03:36.14 | *** join/#wowi-lounge Bleeter_ (n=Bleeter@guifications/developer/bleeter) |
03:37.57 | Shadowed | Chardonnay: It's considered like 34-45 actually |
03:38.31 | Nom- | SM? |
03:38.37 | Nom- | I think you'll find it's 29-45 |
03:38.38 | Shadowed | Scarlet Monestary |
03:38.44 | Nom- | Because GY is level 30-31 mobs |
03:38.47 | Shadowed | I mean what the meeting stone considers it |
03:39.16 | Shadowed | but LFG has seperate entries for it that are based on level |
03:39.17 | Nom- | hmm i need to work out how I can solo Strat better |
03:39.19 | Nom- | *ponder* |
03:42.33 | Shadowed | Weird, website says 29-45 but the meeting stone wasn't letting me use it until 34ish |
03:43.41 | Shadowed | guess I was wrong! |
03:52.22 | *** join/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |
03:58.40 | *** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@64.193.93.197) |
04:00.23 | Nom- | omg it's Mike-N-Go |
04:11.50 | Nom- | *tumbleweed* |
04:12.27 | Cairenn | *tumble tumble tumble* |
04:13.25 | Nom- | Hey Cairenn :) |
04:13.30 | Cairenn | hi hi |
04:13.37 | Nom- | <--- bored |
04:13.49 | Cairenn | gathered that |
04:14.31 | Nom- | <--- working on design documents :( |
04:14.51 | Cairenn | happy happy joy joy |
04:15.35 | Nom- | There's nothing more boring than writing a document which says "This system is f*****. We're going to do it this way because it's less f*****." :) |
04:15.45 | Cairenn | lol |
04:16.30 | Cairenn | I can think of some pretty boring documents I've written in my time |
04:17.22 | *** join/#wowi-lounge kindergip (n=one@h24-207-52-155.dlt.dccnet.com) |
04:17.31 | Nom- | =] |
04:21.57 | Chardonnay | are you making the document long and boring for fun? if it's f**ked and you can unf**k it with some straightforward changes say so (in more polite language) :) |
04:24.11 | Cairenn | documents like that have to be long and boring, it's a requirement |
04:24.36 | Cairenn | if they aren't, they weren't done properly and can have no attention given to them |
04:24.43 | Mike-N-Go | Who would want such a document? |
04:25.08 | Chardonnay | if so your management is bad (but maybe that's a requirement too) |
04:25.17 | Cairenn | it's called bureaucracy |
04:25.18 | norgs | management types of coursee |
04:26.06 | norgs | as a manager it's your duty to have everyone else doing so much tail-chasing that they don't realize you're not doing any work |
04:26.53 | Cairenn | also, if it isn't long and boring, the employee that wrote it needs to be taken to task, since they didn't apply themselves properly to their assigned tasks and who are they to think they know better on how it should be done |
04:28.58 | Mike-N-Go | Humm.. |
04:31.00 | *** join/#wowi-lounge Adys (n=Miranda@90.11.148.254) |
04:31.06 | Mike-N-Go | I still don't understand.. why does 'management' want long, drown-out and dull documents? |
04:31.19 | Mike-N-Go | To bore themselves? |
04:31.54 | Cairenn | we're being (somewhat) facetious |
04:31.54 | Nom- | LOL |
04:32.02 | Nom- | "Flintlocke's Piloting Pants" have been added to the game |
04:32.19 | Kirkburn|afk | link! |
04:32.20 | Nom- | http://www.thottbot.com/?i=55977 |
04:34.26 | Iriel | They're a reward for one of the food quests are they not? |
04:35.16 | *** join/#wowi-lounge Kirkburn (n=Kirkburn@82-32-40-219.cable.ubr06.azte.blueyonder.co.uk) |
04:35.45 | Mike-N-Go | http://pc.gamespy.com/articles/747/747465p1.html ... lol |
04:41.30 | Nom- | WAKE UP PPLZ |
04:41.40 | Mike-N-Go | ~tackle Nom- |
04:41.43 | purl | ACTION tackles Nom- to the ground. |
04:45.09 | Nom- | I'm falling asleep here |
04:45.12 | Chardonnay | crap did i sleep through thanksgiving? |
04:45.24 | Nom- | It's thanksgiving ? |
04:46.36 | Iriel | Whee, I won 8 stacks of Wizard Oil at 15s each on the AH last night |
04:46.46 | Nom- | yay Iriel |
04:48.47 | *** join/#wowi-lounge Abenadi (n=bottlegn@dsl093-153-168.phx1.dsl.speakeasy.net) |
04:49.30 | Abenadi | question-- is there an API function to check if my focus is set? |
04:49.42 | cogwheel | you're thinking too specifically |
04:50.00 | cogwheel | units are generic and there are a slew of unit functions listed on wowwiki |
04:50.05 | cogwheel | one being UnitExists |
04:50.05 | Abenadi | oh right |
04:50.10 | *** join/#wowi-lounge batrick (i=batrick@d00-64-106-86-242.dhcp.unm.edu) |
04:50.10 | Abenadi | UnitExists("focus") |
04:50.11 | Abenadi | thanks |
04:50.18 | Abenadi | i forgot it was a unit |
04:50.24 | cogwheel | :) |
04:50.44 | Nom- | Iriel: How's AfterCast coming? :) |
04:50.59 | Iriel | Well, except I got sick and didn't do anything all weekend. |
04:51.19 | cogwheel | I know the feeling :( |
04:51.48 | Iriel | So maybe It'll be renamed AfterCough |
04:51.48 | Nom- | :~( |
04:52.43 | Iriel | Seriously though, there's essentially 3 things I need to finish |
04:52.58 | Iriel | 1) handling spells that are initiated when i'm not paying attention (world clicks, login, etc) |
04:53.12 | Iriel | 2) resolution of spell failure when there's more than one 'in progress' spell |
04:53.40 | Iriel | and 3) hooking the slash command back up to the event engine |
04:53.54 | Iriel | 3 is easy, 1 is mostly easy, 2 is still a bit of a pain in the ass |
05:01.19 | *** join/#wowi-lounge Funkeh`` (n=funkydud@host81-157-152-169.range81-157.btcentralplus.com) |
05:01.33 | chuckg | What's the basic idea behind aftercast? |
05:02.06 | Iriel | You set up things to do on successful/failed cast of a spell, then it tracks the outcome of a cast and does the right one |
05:02.16 | Iriel | It's unfortunately messier to implement than it sounds |
05:02.17 | chuckg | So like a spellqueue? |
05:02.30 | Iriel | Not really, you can't cast other things in reaction |
05:02.39 | chuckg | Or are you talking like, say....saying "poly done". |
05:02.43 | Iriel | it's mostly for folks who like to RP or spice up their macros with a bit of chatter |
05:02.49 | chuckg | Right. |
05:02.51 | chuckg | Gotcha. |
05:02.58 | chuckg | I'm still waiting for spell queue'ing. |
05:03.39 | Iriel | Yeah, that'd be sorta nice, but requires some blizzard love |
05:05.56 | chuckg | Yep. |
05:06.07 | chuckg | I was a big fan of the "on button down", "on button up" |
05:06.18 | chuckg | TO save clicks, but that's just too tough outside anything but the most simple boss fight. |
05:10.25 | *** join/#wowi-lounge Funkeh``_ (n=funkydud@host81-157-152-169.range81-157.btcentralplus.com) |
05:11.39 | Iriel | Could this be true? Could the latest Supreme Commander patch remove the irritating disk-check that I was about to whine about? |
05:13.21 | Iriel | Wow - game publisher sanity -- who knew |
05:13.46 | Mr_Rabies2 | who publishes SC |
05:14.22 | Mr_Rabies2 | if it's vivendi or EA i wouldn't hold my breath |
05:14.23 | *** join/#wowi-lounge Funkeh``_ (n=funkydud@host81-157-152-169.range81-157.btcentralplus.com) |
05:14.27 | Iriel | THQ |
05:14.35 | Iriel | And they did indeed just remove the SecurRom protection |
05:17.36 | Chardonnay | they always remove that a few weeks after it's been out for a month or so, when most of the casual piracy happens. after that you can't stop it anyway |
05:19.47 | Nom- | lol SecuRom |
05:19.49 | Nom- | pfft |
05:19.56 | Nom- | That would have taken all of 19 seconds to break |
05:21.10 | Mr_Rabies2 | hehe |
05:21.40 | *** join/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |
05:21.41 | Mr_Rabies2 | pretty much the best anti-piracy system other than subscription based stuff like wow is Steam's |
05:21.41 | Chardonnay | well yea, they just want to stop john joe with no technical knowledge whatsoever taking the game home and giving it all his friends. that's enough to improve sales in the important first few weeks |
05:23.26 | Nom- | lol SecuRom never stopped that |
05:23.31 | Nom- | Ever. |
05:23.46 | Nom- | It's one of the easiest copy protections to fool...all you need is Nero and a CD burner |
05:23.59 | Iriel | It stopped john joe with no tech knowledge, just not jim kiddo with his warez buddies |
05:24.13 | Nom- | Iriel: Any idiot can use Nero :) |
05:24.31 | Chardonnay | sure it did. if there were no copy protection at all, they would sell fewer copies, justifying the 10 grand or whatever to license securom |
05:26.04 | Nom- | I think you underestimate the intelligence of the average idiot :) |
05:26.28 | bleetah | i think you overestimate the abilities of the seething masses of morons |
05:27.03 | Nom- | Done it. |
05:27.10 | Nom- | For 3 years |
05:27.27 | Nom- | And I STILL think you're underestimating the intelligence of the average idiot... |
05:27.38 | Chardonnay | not at all. it pays off, statistically |
05:27.49 | bleetah | i don't think it's intelligence.. there's only so many buttons to push |
05:28.07 | Nom- | Ok... Let's put it another way. |
05:28.09 | Chardonnay | it's not just intelligence but the "can i be bothered" factor too :) |
05:28.26 | Nom- | The people who buy Supreme Commander in the first few months are mostly going to be geeks who read or heard about the game online. |
05:28.55 | Nom- | Once that crowd starts to die off, you get the people who just wander in to see what's around |
05:29.21 | Nom- | pfft, i don't know what the point is anyway |
05:29.25 | Chardonnay | games companies aren't stupid. they aren't going to pay more for copy protection than it gains in sales |
05:29.32 | Nom- | Most piracy happens before the games even hit the shelves |
05:32.55 | *** join/#wowi-lounge Seracht (n=Seracht@CPE001839ea82bb-CM0018c0b36d56.cpe.net.cable.rogers.com) |
05:32.55 | Seracht | hey |
05:32.55 | Seracht | can you guys help me identify a couple mods from a screenshot? |
05:32.55 | Seracht | http://img337.imageshack.us/img337/2697/uihugewe0.jpg |
05:32.55 | *** join/#wowi-lounge inc\esso (n=toufiej@pool-141-150-74-197.mad.east.verizon.net) |
05:32.55 | Seracht | How does he change the font of his text (combat and party text) |
05:32.55 | Seracht | How does he make circular buttons |
05:33.10 | Seracht | and he does he do the bottom bar the background bar thing |
05:33.14 | Cairenn | clearfont |
05:33.21 | Nom- | lol |
05:33.21 | Cairenn | cyCircled or Trinity Buttons |
05:33.25 | Chardonnay | i dunno but it's really hard to read :) |
05:33.28 | Nom- | that loos almost identical to mine |
05:33.35 | Seracht | Nom- got a pic of yours heh |
05:33.39 | Cairenn | CT_ViewPort |
05:33.46 | Seracht | Cairenn which is better - cyCircled or Trinity buttons? |
05:33.49 | Nom- | http://standen.id.au/pics/WoWScrnShot_022607_094737.jpg :) |
05:33.53 | Cairenn | *shrug* |
05:34.05 | Cairenn | try them, see which you like |
05:34.12 | Seracht | :) ok |
05:34.18 | Seracht | I am just trying to minimize memory usage |
05:34.18 | Nom- | That's Bartender3 + cyCircled |
05:34.21 | Cairenn | I've undoubtedly missed some other options |
05:34.23 | Nom- | Skinner for the bar at the bottom |
05:34.26 | ZealotOnAStick | cycircled with bartender 3, skinner |
05:34.42 | Cairenn | see? |
05:34.44 | Seracht | Nom- which is? |
05:35.03 | Seracht | yours? |
05:35.03 | Cairenn | Bartender3 + cyCircled, instead of Trinity |
05:35.09 | Seracht | oh |
05:35.10 | Nom- | Yeah, mine is using those mods |
05:35.12 | Seracht | what is bartender3 |
05:35.17 | Cairenn | and Skinner instead of CT_Viewport |
05:35.19 | Nom- | It's an Ace addon |
05:35.25 | Seracht | heh what does it do? :) |
05:35.34 | Cairenn | http://www.wowinterface.com/downloads/info6342-Bartender3.html |
05:35.50 | Cairenn | http://www.wowinterface.com/downloads/info6287-cyCircled.html |
05:36.03 | Seracht | oh |
05:36.04 | Nom- | It's a bar replacement :) |
05:36.04 | Seracht | ya |
05:36.06 | Seracht | I got those :) |
05:36.10 | Cairenn | http://svn.wowace.com/wowace/trunk/Skinner/ |
05:36.13 | Seracht | Thanks Cairenn |
05:36.34 | Seracht | um for the skinner site |
05:36.36 | Seracht | what do I download lol |
05:36.38 | Cairenn | http://www.wowinterface.com/downloads/info4283-ClearFont.html |
05:36.55 | Cairenn | amazing what a simple "search" on WoWI will find for you :p |
05:39.13 | Seracht | hmm |
05:39.15 | Seracht | Thank you :0 |
05:39.16 | Seracht | er :) |
05:39.24 | Cairenn | you're welcome |
05:39.26 | Seracht | One thing |
05:39.32 | Seracht | if I check the WoWAce downloads page |
05:39.46 | Seracht | The ones on WoWAce have been updated like 3-11 |
05:40.04 | Cairenn | uh huh, and? |
05:40.06 | Seracht | on 03-11 |
05:40.09 | Seracht | the ones on WoWI |
05:40.15 | Seracht | haven't been udated since 2006 |
05:40.31 | Cairenn | bleeding edge vs stable release |
05:40.34 | Seracht | oh |
05:40.41 | Seracht | oh ! :) |
05:40.57 | Seracht | im a nub :( |
05:48.25 | Cairenn | I'm sorry. I'm coming across like a cranky bitch right now. Sorry. |
05:49.05 | Nom- | It's ok Cairenn |
05:49.09 | Nom- | We love you anyway! |
05:50.57 | WobWork | hm. speaking of Timtams |
05:51.19 | Cairenn | I'm trying not to guys, so if I do start coming across that way, just point it out to me, I'm not necessarily realizing how I'm sounding by times |
05:52.08 | ZealotOnAStick | what the heck are timtams? |
05:52.19 | bleetah | /ME mugs WobWork |
05:52.29 | bleetah | the best ever chocolate biscuit |
05:52.33 | Chardonnay | zealot, they're delicious australian cookies! |
05:52.41 | Chardonnay | or biscuits in english :) |
05:52.42 | Seracht | hmm |
05:52.45 | bleetah | and if you're a coffee nut |
05:52.47 | Seracht | Nom- you use Skinner rihgt? |
05:52.55 | bleetah | they're great to suck coffee through /drool |
05:53.30 | Chardonnay | but i still prefer hobnobs |
05:53.33 | ZealotOnAStick | God. The Shadow priest in this heroic - who's normally a good shadow priest for raids, at any rate - is repeatedly freaking pulling aggro and seems to not want to shift out to heal ever. |
05:53.34 | bleetah | http://en.wikipedia.org/wiki/Tim_Tam |
05:53.40 | Nom- | Seracht: Yes |
05:53.59 | ZealotOnAStick | I still want to get some of the Scottish Chocolates I found on the web once. Cheeky Cherry Nougat or something. |
05:54.11 | bleetah | Cairenn: In Canada they are available under the name Arnott's Biscuits. In Vancouver they are available at the Real Canadian Superstore. |
05:54.25 | Chardonnay | http://en.wikipedia.org/wiki/Hobnob |
05:54.26 | Nom- | Timtam ftw |
05:54.33 | *** join/#wowi-lounge Adys (n=Miranda@90.11.148.254) |
05:54.39 | Cairenn | they look yummy |
05:54.44 | Cairenn | chocolate == good |
05:55.00 | bleetah | Anzac biscuit >> Hobnob |
05:55.28 | Seracht | never mind |
05:55.29 | Seracht | figured it out |
05:55.35 | Seracht | thank you :) |
05:56.29 | WobWork | Or Butternut biscuits are on par with anzacs |
05:56.43 | WobWork | if you're going fully cheap |
05:56.56 | bleetah | hmm, close second, wob |
05:56.58 | Nom- | Triple Choc > Anzac :) |
05:57.08 | Nom- | But I'm just a choc-o-holic too |
05:57.16 | bleetah | naturally any timtam > anzac |
05:57.18 | WobWork | TimTam >> all =) |
05:57.21 | WobWork | indeed |
05:57.25 | Nom- | Quad choc is scary tho |
05:57.36 | WobWork | Double choc timtams |
05:57.43 | WobWork | double coated with chocolate |
05:57.44 | Chardonnay | four-dimensional chocolate |
05:57.53 | WobWork | Impossbile to eat without getting chocolate all over your fingers |
05:58.27 | Nom- | Quad Choc is quality.... chocolate cookie dough + white AND dark chocolate chips + chocolate coating |
05:58.35 | WobWork | ah |
05:58.40 | WobWork | But is it American chocolate? =) |
05:58.41 | Nom- | omg new idea |
05:58.45 | Chardonnay | hmm, anzac biccies look very like hobnobs recipe-wise |
05:58.46 | Nom- | Pent-Choc |
05:58.47 | bleetah | they're not biscuits to eat, they're biscuits to be afraid of.. 'how the hell did they get that much chok in and still call it a biscuit' |
05:58.49 | Seracht | Nom- do you get errors with skinner? |
05:58.51 | Seracht | using the latest version |
05:59.00 | Nom- | Seracht: Only about missing textures for some mods |
05:59.18 | WobWork | Chardonnay: I think the ingredients aren't quite as processed |
05:59.21 | Seracht | attempting to index fields |
05:59.23 | Seracht | :s |
05:59.28 | Nom- | Pent-Choc: cookie dough + white AND dark chocolate chips dunked in white AND dark cholocate |
05:59.29 | Seracht | I am trying to move the black background on everything |
05:59.30 | WobWork | We used to use rolled oats etc in our recipe |
05:59.32 | Seracht | I just want to add the bottom thing |
05:59.33 | Cairenn | white chocolate isn't |
05:59.34 | Seracht | the bottom bar |
05:59.40 | WobWork | Cairenn: It's true =( |
05:59.40 | Nom- | That's a choc-o-holic cookie right there |
05:59.42 | Seracht | if I disable everything though it still doens't work |
06:00.21 | bleetah | Chardonnay: a true anzac biscuit survives 6 months on a boat to Gallipoli, getting bombed, shot at, stabbed, another boat sail to France, a forced march from Marseille to the Somme.. and still be as tasty |
06:00.23 | WobWork | What I can recall from hobnobs are that they're rather.. non-texturey, ie everything ground down and mixed |
06:00.46 | WobWork | Much like an Aussie soldier |
06:00.53 | Chardonnay | yea, they're quite finely ground |
06:01.04 | WobWork | aye, Anzacs are the complete opposite =) |
06:01.20 | Chardonnay | more like oatmeal cookies in americaland |
06:01.22 | WobWork | as much unprocessed ingredients aas possible |
06:01.28 | bleetah | it's sooo chunky, ya could carve it |
06:01.29 | WobWork | brown sugar, rolled oats, etc |
06:01.41 | Chardonnay | almost in flapjack territory? |
06:01.55 | WobWork | not as floppy? |
06:01.55 | Seracht | Nom- any idea how I can do that? |
06:01.57 | Nom- | Seracht: Where did you download it from? I used the WoWAce Updater for getting those mods... |
06:02.00 | Seracht | hmm |
06:02.04 | Seracht | i downloaded it from files.wowace.com |
06:02.06 | WobWork | they're pretty solid biscuits |
06:02.13 | Seracht | Skinner r30150 2007-03-14 03:41:47 Changes the look of the default UI (Jncl) |
06:02.38 | *** join/#wowi-lounge Mortius (i=Mortius@ppp-71-128-198-227.dsl.sndg02.pacbell.net) |
06:02.53 | Seracht | I just want the bottom bar, I do notw ant a gradient for the bags/character/talents/auctionhouse etc |
06:02.59 | Nom- | Let me see if I can work out what version I've got |
06:03.28 | batrick | For an EditBox, what is the difference between OnTextSet and OnTextChanged |
06:03.31 | batrick | for scripts |
06:04.12 | Seracht | look at the change log Nom |
06:05.07 | ZealotOnAStick | Seracht, you can enable or disable what UI elements you want Skinner to affect. |
06:05.31 | ZealotOnAStick | Honestly, if you just want a texture on the bottom, and don't want a viewport, you might be better off with eePanels or something. |
06:05.43 | Nom- | 29715 is what I have atm |
06:05.45 | Nom- | It worksf ine |
06:06.18 | Seracht | hmm |
06:06.33 | Nom- | ZealotOnAStick: I tried eePanels...it's a LOT harder to setup than Skinner |
06:06.35 | Seracht | ZealotOnAStick I am trying to disable the other stuff |
06:06.38 | Seracht | but its not disabling |
06:06.40 | Seracht | its really retarded |
06:06.47 | Seracht | I am geting some random index errors too :( |
06:06.56 | Seracht | maybe I am just doing it wrong |
06:07.00 | Seracht | being 2am and all |
06:07.23 | Nom- | Try download r29715 |
06:07.27 | Nom- | See if it works |
06:07.50 | Nom- | http://files.wowace.com/Skinner/Skinner-r29715.zip |
06:07.56 | *** join/#wowi-lounge nuoHep (n=nuOHEP@outer.test.e-larek.ru) |
06:10.11 | Seracht | yay works |
06:10.14 | Seracht | everything but backpack |
06:10.16 | Seracht | get an error there |
06:11.25 | Seracht | oh well I have to do it tomorrow |
06:11.33 | Seracht | cya guys thanks for the help nom, Cairenn and ZealotOnAStick |
06:11.42 | Cairenn | night Seracht |
06:12.59 | Mortius | anyone know how to get ToggleDropDownMenu(1, nil, PlayerFrameDropDown, "DPlayerFrame", 106, 27) to work from a secure button frame? something with frame:SetAttribute("type", "menu") and then frame.showmenu = ?? |
06:14.21 | Mortius | I've really been searching everywhere to solve this one. I only bug you guys as a last resort. lol, I've been trying to get this all working since early this morning, and I'm so close. I can get the frame to target by clicking on it OR get the menu to appear, but not both :D |
06:15.16 | [Ammo] | Mortius: frame:SetAttribute("type2", "menu") |
06:15.21 | [Ammo] | that will make it show th emenuy on rightclick |
06:15.29 | [Ammo] | or it should at least |
06:15.47 | Mortius | I want it to pop up the playframedropdown on right-click |
06:16.01 | batrick | string.tonumber() returns nil if the string contains a non numeric character right? |
06:16.02 | Mortius | and it's the playerframe, so I want it to target myslef on left |
06:16.16 | batrick | nvm |
06:16.27 | [Ammo] | frame:SetAttribute("type1", "target") -- target |
06:16.36 | Mortius | yes, I can get that part to work |
06:16.37 | [Ammo] | frame:SetAttribute("type2", "menu") -- playermenu |
06:16.44 | Mortius | that one I can't |
06:17.01 | [Ammo] | frame:SetAttribute("unit", unit) |
06:17.04 | Mortius | the frame.showmenu = ? I'm not sure what I'm suppose to put after that |
06:17.23 | Mortius | I'm pretty sure I have the attributes set right |
06:18.02 | [Ammo] | frame.menu = menufuncthing |
06:18.07 | [Ammo] | checking what you have to set exactly |
06:18.11 | [Ammo] | you have to set frame.menu |
06:18.30 | Mortius | ah ok |
06:19.16 | Mortius | can I set frame.menu to ToggleDropDownMenu(1, nil, PlayerFrameDropDown, "DPlayerFrame", 106, 27) ? |
06:20.05 | [Ammo] | you'd have to set it to a local function which does that toggle |
06:20.12 | [Ammo] | but yeah |
06:20.23 | Mortius | hmm going to try |
06:20.33 | [Ammo] | good luck, I'm going back to work |
06:21.50 | *** join/#wowi-lounge Thunder_Child (n=Thunder_@cpe-76-80-184-210.socal.res.rr.com) |
06:22.15 | Nom- | lol |
06:23.26 | *** join/#wowi-lounge Nargiddley (n=narg@203-97-236-74.cable.telstraclear.net) |
06:27.08 | Mortius | I don't understand why you can't do <OnClick> _and_ frame:SetAttribute :( |
06:27.26 | Mortius | I need to have both to get this to work. If I disable one, the other works |
06:28.44 | Mortius | why isn't there a way to call a function() from a Frame:SetAttribute ? |
06:29.29 | Corrodias | any news on nameplates & pvp flags? |
06:30.14 | Mortius | according to wiki, frame:SetAttribute("type", "menu") |
06:30.25 | Mortius | should work with frame.showmenu = some_function_that_shows_a_menu |
06:31.32 | Mortius | but I've tried to get that to work about 100 different ways.. using various examples found here and there. |
06:45.31 | Mortius | well I give up :/ I've honestly tried everything. |
06:45.32 | Corrodias | looks like all the "nerf" posts that are being locked today are about Cloak of Shadows |
06:48.20 | Mr_Rabies2 | hrmmm |
06:48.33 | Mr_Rabies2 | anyone know where the frightening baby nursery floating in nagrand is? |
06:48.38 | Corrodias | lfm shadow LABS! lol |
06:48.54 | Corrodias | i haven't heard of whatever you're talking about |
06:49.41 | Mr_Rabies2 | man i've been playing too much crackdown |
06:49.52 | Mr_Rabies2 | i just flew to oshu'gun to see if there was an agility or hidden orb there |
06:49.56 | Mr_Rabies2 | on top of it |
06:50.11 | Corrodias | you just wanted a piece of the Rock |
06:50.40 | Mr_Rabies2 | speaking of crackdown, have you played it corr? |
06:50.45 | Mr_Rabies2 | it's beyond awesome |
06:50.49 | Corrodias | i don't think i've heard of that, either |
06:51.14 | Corrodias | i was tanking in the shadow lab, and it went quite well until the mage and priest left and we started replacing them with a variety of comical characters |
06:51.19 | *** part/#wowi-lounge Mortius (i=Mortius@ppp-71-128-198-227.dsl.sndg02.pacbell.net) |
06:51.37 | Corrodias | the third boss didn't work with only a hunter, a rogue, and a restoration shaman on dps |
06:52.14 | Mr_Rabies2 | it's like GTA, only you're a supercop with the ability to jump incredibly high and all kinds of awesome weapons |
06:52.23 | Mr_Rabies2 | hahaha, nice group makeup : |
06:52.25 | Mr_Rabies2 | :p |
06:52.55 | wobin | what's with cloak of shadows? |
06:52.56 | *** join/#wowi-lounge Mortius (i=Mortius@ppp-71-128-198-227.dsl.sndg02.pacbell.net) |
06:53.11 | Corrodias | yeah. the awesome priest could heal us plenty but we couldn't get the boss down and there were like 8 voidwalkers by the end, following us around as i kited him |
06:53.36 | *** join/#wowi-lounge sergio__ (n=sp@unaffiliated/sergio) |
06:54.00 | Corrodias | cloak of shadows does several things for a rogue. it removes all magical debuffs (like faerie fire and all magical DoTs) (i'm not sure about physical ones like Rip) and makes them immune to magic for some amount of time, 5 seconds i think, on a 1-minute cooldown |
06:54.37 | Corrodias | as i recall |
06:54.47 | wobin | yeah |
06:54.50 | wobin | although not sure on that cooldown |
06:54.58 | Corrodias | so -basically- it makes them impossible for magic-based classes to kill |
06:54.59 | wobin | unless they changed it |
06:55.02 | Corrodias | or nearly so |
06:55.09 | wobin | not really |
06:55.24 | Corrodias | they get 5 seconds to run up and resume the stunlock that you SOMEHOW interrupted |
06:55.32 | wobin | I found that, (using it pre 2.0 mind you) a warlock with good timing could just redot |
06:55.58 | Corrodias | i try to apply a Rip to them as quickly as i can, but i never do well in pvp anyway |
06:59.07 | *** join/#wowi-lounge batrick_ (n=batrick@d00-64-106-86-242.dhcp.unm.edu) |
06:59.44 | batrick_ | is there a function that I should be using instead of string.tonumber? |
07:00.39 | batrick_ | I get this error when I try to use it: attempt to call field 'tonumber' (a nil value) |
07:02.41 | Corrodias | what happens if you fly -downward- into the twisting nether? do you hit the bottom and "die" from "falling"? |
07:02.50 | batrick_ | probably |
07:03.22 | Corrodias | speculation isn't what i was hoping for. as for your question, apparently tonumber isn't what you want to use. |
07:03.45 | batrick_ | I think you just use tonumber() instead of string.tonumber() |
07:03.48 | batrick_ | i stopped getting errors |
07:04.35 | Mortius | blah, 20 straight hours to try to get a frame to open a menu. I think I'm going crazy haha. |
07:06.03 | Mortius | I can get it to work just fine using <OnClick>, but nooo, you can't do that in a protected frame. |
07:09.11 | *** join/#wowi-lounge batrick (n=batrick@d00-64-106-86-242.dhcp.unm.edu) |
07:09.55 | *** join/#wowi-lounge batrick_ (n=batrick@d00-64-106-86-242.dhcp.unm.edu) |
07:10.36 | Mortius | I think my problem is the fact I'm trying to do something that simply isn't possible. |
07:10.36 | *** join/#wowi-lounge Cairenn (n=Cairenn@MMOI/Administratrix/Cairenn) |
07:10.36 | *** mode/#wowi-lounge [+o Cairenn] by ChanServ |
07:11.57 | Mortius | Hey Cairenn, how are you doing? |
07:11.58 | batrick_ | that is probably right mortius :) |
07:12.21 | Cairenn | pretty well, yourself? |
07:12.24 | Mortius | yeah, I think so. I mean, there is a way to do it, people have done it, just not the way I'm trying to do it. |
07:12.34 | Mortius | Doing okay. :) |
07:12.51 | Cairenn | tired though - night guys |
07:12.52 | Mortius | learning a lot, but going through a lot of headaches trying to get simple things to work haha |
07:13.02 | Mortius | night :0 |
07:13.10 | Cairenn|afk | heh, yeah, it's a lot to take in at first :) |
07:15.49 | Corrodias | this song is weird |
07:16.04 | Mortius | I would probably be enjoying this had they never added those stupid secureframes. those have made this nearly impossible for me to figure out. |
07:16.43 | Mortius | or at least let you use <onclick> in them without destroying the setattributes. blah. |
07:17.03 | Corrodias | the singer pronounces "sailors" as "sigh-lores", lawman as "lowman", and "he's" as "hoos" |
07:19.04 | ZealotOnAStick | Corrodias: what song? Also, on the twisting nether thing . . . I'll have to try that sometime. |
07:19.07 | Mortius | wowwiki has helped a lot, but I keep running into a lot of misinformation there that. |
07:19.30 | Corrodias | Life on Mars is the song title, 80's |
07:19.37 | Corrodias | i'd have to look up the artist |
07:22.23 | Mortius | the only thing I'm missing is what I'm suppose to set self.frame to equal. It's not listed anywhere. |
07:22.49 | Mortius | I mean self.menu |
07:23.14 | *** join/#wowi-lounge Elkano (i=Elkano@client0292.vpn.uni-saarland.de) |
07:24.11 | Mortius | well I guess I'll just make the menu work and forget about having the left-click to target work, since it's one or the other. total bummer. |
07:25.06 | batrick | Mortius, I think you're looking for help, and because no one seems to know what it is you need, you may be better off putting your code on pastey and asking for help in the forums |
07:25.11 | batrick | you'll reach a wider audience |
07:27.02 | Mortius | oh I've done that. I've done just about everything lol. |
07:27.03 | Corrodias | can anyone convince me that a mage would -not-, in most cases, be more useful in an instance than a hunter? |
07:27.59 | batrick | an instance full of mobs immune to magic? |
07:28.05 | batrick | in any other case no :P |
07:28.13 | batrick | of course I'm bias'd because i'm a mage :D |
07:28.36 | Mortius | it honestly appears to me that self:SetAttribute("type2", "menu") does nothing. but im sure it's something I'm overlooking. |
07:28.36 | Corrodias | well, maybe an instance consisting almost entirely of elementals and dragonkin |
07:28.54 | Corrodias | the two major things that can't be sheeped |
07:29.41 | batrick | how do you detect if you're loading an addon for the first time? |
07:30.23 | Corrodias | otherwise, mages will probably out-damage hunters and out-cc them, leaving hunters only with the advantages of feign death (which does little for the party), a pet for emergency tanking, and some damage output when they're out of mana (as long as they still have ammunition) |
07:31.32 | Mortius | betrick: this is probably a silly way, but I set a saved variable to "1". |
07:31.35 | Mortius | bat* |
07:31.41 | batrick | a global you mean |
07:31.45 | batrick | i wanted to avoid that :( |
07:31.47 | batrick | lol |
07:32.03 | Mortius | hehe that was the only way I thought of. |
07:33.04 | Mortius | self.frame.menu = self.OnShowMenu .. do you have any clue what the OnShowMenu is there?? |
07:33.09 | Corrodias | it doesn't have to be global |
07:33.37 | batrick | Corrodias: I had a local variable in my .lua that wouldn't save unless I made it global |
07:33.40 | batrick | what's the secret lol? |
07:34.07 | Corrodias | let me rephrase, and first ask a question |
07:34.16 | Corrodias | can you save something like SillyFramesAddon.hasbeenloaded as a savedvariable? |
07:34.49 | Corrodias | might have to save the whole SillyFramesAddon... bad idea |
07:36.02 | batrick | i'm assuming you plan to continue... |
07:38.08 | leethal | can you set the width of a fubar bar? I want it to be in the center position only, as it is now it is full width overlaps other stuff |
07:39.00 | ZealotOnAStick | yes. Make sure it's unlocked, and grab the edge of it with your mouse and drag it to where you want the end to be. |
07:39.09 | leethal | yay |
07:42.21 | Corrodias | sorry, that's all i have to say |
07:42.28 | Corrodias | you see, i know little about addons |
07:44.49 | Mortius | wow.. I found someone who got what I wanted to work and I copied and pasted it exactly and it still doesn't work for me. :-/ |
07:47.50 | Corrodias | maybe you suck |
07:47.54 | Corrodias | *dance* |
07:48.34 | Mortius | I obviously do. |
07:49.04 | Mortius | Whenever I try to do DPlayerFrame.showmenu = function() ... it tells me DPlayerFrame is nil, but thats the name of my button! |
07:50.17 | Mortius | yet that is cut n' paste from another script with just the button name changed. Something stupid I'm overlooking im sure. |
07:51.22 | batrick | if I had to hazard a guess, whereever you are putting this code, that frame doesn't exist |
07:51.32 | batrick | a button is a frame remember |
07:52.56 | Mortius | I'm putting the code inside the button's <OnLoad> event |
07:53.04 | Mortius | I also tried in my .lua |
07:54.29 | Mortius | I make all kinda of calls to the frame from my .lua, but DPlayerFrame.menu or .showmenu returns an error |
07:55.02 | Mortius | It's suppose to be setup from the setattributes("type2", "menu") I'm guessing |
07:56.09 | Mortius | I swear about 30 scripts that work just fine are doing exactly what I'm doing, only they work. |
07:56.31 | Corrodias | you probably misspelled a variable |
07:56.42 | Corrodias | when you figure out the problem, you're going to laaaaaaugh~ |
07:57.56 | Mortius | I'll throw a freakin' party. laugh is after about one hour. cry is about after 10 hours. at 21 hours into a single problem, I throw parties. |
07:58.44 | Mortius | okay, it's only been 18.5 hours since I started trying to do this. |
07:58.55 | batrick | I would agree with you accept if it were a variable being mispelled, and I was working on it for 21 hours, 10 minutes later a rope would be around my neck and my legs off the ground |
07:59.05 | Mortius | lol |
08:00.30 | Mortius | so im guessing self: or this: = the same thing? |
08:00.33 | *** join/#wowi-lounge Srosh (n=Srosh@c209189.adsl.hansenet.de) |
08:00.44 | Corrodias | i doubt it |
08:01.08 | batrick | depends on the context mortius |
08:01.19 | Mortius | they both seem to work, either self:setattribute and this:setattribute from inside the button frame |
08:01.31 | haste | this is a global generated by blizzard |
08:02.47 | bleetah | how to tell if it's been a long time since you've played your priest -> stood around in SW having a think for 5 mins before giving up and asking a guard where the trainer is |
08:03.47 | batrick | is OnLoad executed before or after saved variables have been loaded? |
08:04.43 | Mortius | I'm fairly sure it's after, or else some of my code that actually does work, wouldn't. |
08:04.46 | Corrodias | before |
08:05.02 | Corrodias | there's an event fired, "VARIABLES_LOADED", when the variables are loaded |
08:05.12 | Mortius | I have some stuff that checks for saved variables in my <OnLoad> of one of my frames and they are there when it chekcs. |
08:05.30 | Corrodias | so maybe i'm wrong again |
08:06.16 | Mortius | You would think that it wouldn't be loaded then, but I'm guessing the frames get loaded after variables_loaded event? |
08:06.33 | haste | OnLoad runs after the frame is created |
08:07.11 | batrick | Yes, but are frames created after all variables are loaded? |
08:07.30 | haste | that you can check rather easily :) |
08:07.37 | Mortius | my OnLoad event on my options frame checks all my saved variables and if they are nil, sets them to a default value. that only ever happens the first time my addon gets ran by someone. |
08:08.00 | Mortius | that is all I know. |
08:10.20 | Mortius | can you put functions in the <OnLoad> events of a frame/button? |
08:11.25 | Mortius | I need to put a self.menu = function()... somewhere in my button and have it be called by the self:setattribute("type2", "menu") |
08:13.54 | *** join/#wowi-lounge SunTiger (n=MoonWolf@a82-92-149-38.adsl.xs4all.nl) |
08:13.54 | *** mode/#wowi-lounge [+v SunTiger] by ChanServ |
08:15.29 | Mortius | anyone want to look through my .xml ~ the bottom where I'm trying to setup my secure frame actions and tell me what I'm doing horribly wrong pweeze ( http://wowi.pastey.net/8315 ) |
08:16.37 | Mortius | the drag and left click work fine. the right-click dropdownmenu does nothing. the command in the function works great. |
08:21.45 | Mortius | got it! self:RegisterForClicks("AnyUp"); did the trick! It's party time. |
08:22.11 | batrick | lol... |
08:22.37 | Mortius | apparenlty if you dont add that, it will only know to look for left clicks |
08:23.14 | Mortius | Now that I know how to do that I can make my party frames! yaay |
08:28.39 | batrick | Corrodias, I'm going to kill u lol |
08:28.47 | batrick | variables have to be global to be saved ! |
08:28.54 | Corrodias | could be |
08:29.06 | batrick | <PROTECTED> |
08:29.09 | Corrodias | it's not so much that i -enjoy- saying things that are wrong |
08:29.11 | batrick | wasted a good half hour on that |
08:29.15 | Corrodias | it's more that whatever i say just happens to be wrong |
08:29.40 | Corrodias | i was thinking of SomeTable.value possibly being savable, but i doubt it is |
08:30.05 | Mortius | check out my playerframe and my targetframe I've made so far: http://tinypic.com/view.php?pic=2vtuxyr |
08:30.10 | Mortius | fully functioning now! |
08:31.12 | Mortius | yeah my target frame needs some work heh |
08:38.39 | Shirik | it should be precisely the same as your player frame |
08:38.48 | Shirik | minus one thing: unit is target instead of player |
08:42.58 | Corrodias | Elvis Costello - Veronica |
08:42.59 | Corrodias | terrible song |
08:47.10 | Mortius | Yeah I know Shirik, I've been experimenting :) I made the playerframe different because I didn't like the target frame.. so now I got to go back and redo the target frame. |
08:54.48 | *** join/#wowi-lounge Telrin (n=test@klaagmuur.quince.nl) |
08:59.02 | Corrodias | A-Ha - Take On Me |
08:59.38 | Corrodias | best song |
09:05.22 | Mr_Rabies2 | best music video* |
09:06.03 | bleetah | i'll agree with Mr_Rabies2 on that |
09:06.22 | Mr_Rabies2 | and you got freaking depeche mode stuck in my head again indirectly |
09:06.25 | Mr_Rabies2 | thanks jerk :[ |
09:06.56 | bleetah | could be worse |
09:07.00 | bleetah | could be erasure :-P |
09:07.46 | Mr_Rabies2 | http://youtube.com/watch?v=Hd7y6A-5uTY |
09:07.49 | Mr_Rabies2 | specifically that song |
09:07.49 | Mr_Rabies2 | again |
09:07.50 | Mr_Rabies2 | :/ |
09:08.30 | bleetah | best performance of a DM song was done by Johnny Cash |
09:08.54 | Mr_Rabies2 | i like uh...nightwish? i think's cover of enjoy the silence |
09:09.10 | Mr_Rabies2 | no, lacuna coil |
09:09.14 | bleetah | Personal Jesus |
09:09.29 | Mr_Rabies2 | http://youtube.com/watch?v=DiFUXBatLLk |
09:09.35 | Corrodias | Toto - Africa |
09:09.38 | Mr_Rabies2 | the best NIN song is also a johnny cash song now :p |
09:11.46 | bleetah | *was |
09:11.49 | bleetah | /cry |
09:13.06 | bleetah | http://youtube.com/watch?v=uYeP2FyqHrc |
09:13.19 | haste | http://youtube.com/watch?v=t824ZKwnuqk *joins in* |
09:17.55 | bleetah | tho, as var as video + audio goes, I really don't think much beats http://youtube.com/watch?v=S7dAxvj2mlU |
09:17.57 | Corrodias | if i could turn back time, if i could find a way, i'd take back those words that hurt you, and you'd stay |
09:19.28 | bleetah | still remember seeing and hearing that video when it was first released.. jawdropping doesn't even come close... circa 1983 (yes, I'm an old fart) |
09:20.14 | bleetah | the amount of bad press hancock got for going all out electronic was incredible |
09:20.28 | Mr_Rabies2 | i think i like the depeche mode version better bleetah |
09:20.50 | Mr_Rabies2 | though a later, darker cash version would have been fantastic |
09:21.34 | Mr_Rabies2 | http://youtube.com/watch?v=SmVAWKfJ4Go |
09:21.38 | Mr_Rabies2 | that version is just |
09:21.39 | Mr_Rabies2 | woooow |
09:21.44 | Mr_Rabies2 | it's haunting |
09:22.05 | Mr_Rabies2 | trent reznor said it's cash's song now, not his |
09:23.10 | Corrodias | i like the music in Depeche Mode - Enjoy The Silence |
09:23.11 | Mr_Rabies2 | it completely changes the song from some young guy being angst++ to this old guy that's looking back |
09:23.12 | Corrodias | but i don't get this video |
09:24.01 | Corrodias | unless i deviate from the lyrics a little and get pretty symbolic |
09:24.37 | Mr_Rabies2 | i don't really listen to lyrics as the words generally |
09:24.41 | Mr_Rabies2 | they're just another instrument to me |
09:24.48 | bleetah | Mr_Rabies2: it's far more moving 'coz he died a year later |
09:24.57 | Mr_Rabies2 | yeah |
09:24.57 | Corrodias | johnny cash? |
09:26.06 | Mr_Rabies2 | it takes a lot for me to show much more emotion than happiness, but damn, that song always makes me almost tear up |
09:26.29 | bleetah | the fact that cash was covering these bands in his last years, shows what a true artist he really was |
09:27.03 | Mr_Rabies2 | it's like trent reznor wrote that song just so cash could sing it |
09:27.05 | bleetah | and that he knew good art, too, when he heard it |
09:27.07 | bleetah | aye |
09:27.14 | Mr_Rabies2 | it fits him so well :x |
09:27.45 | Corrodias | this herbie hancock video is a little weird |
09:28.14 | bleetah | most stuff Godley & Creme do *is* weird |
09:56.41 | *** join/#wowi-lounge Nickenyfiken (n=najklord@83.145.59.23) |
10:22.18 | *** join/#wowi-lounge foxlit (n=me@0x50c4b029.albnxx9.adsl-dhcp.tele.dk) |
10:24.29 | *** join/#wowi-lounge bindi (n=indigo@d54C68DEA.access.telenet.be) |
10:25.41 | bleetah | Mr_Rabies2: http://www.amazon.com/These-Guys-England-Gives-Shit/dp/B00005O557 |
10:31.39 | Mr_Rabies2 | @_@ |
10:31.53 | Mr_Rabies2 | that's a pretty funny url/cd title, but i've never heard of it :O |
10:32.35 | bleetah | http://en.wikipedia.org/wiki/Negativland#The_U2_record_incident |
10:34.00 | bleetah | it's probably the 'original', at least the most influential, copyright/fair use/intellectual property recording of all time |
10:34.35 | bleetah | the Casey Kasem rant is hell funny, too |
10:35.42 | *** join/#wowi-lounge amro (n=amro@82.101.184.156) |
10:54.29 | *** join/#wowi-lounge Lysistrata (n=yousuck@xdsl-84-44-158-192.netcologne.de) |
11:00.31 | batrick | Corrodias, just fyi... OnLoad is executed before variables are loaded :P |
11:00.37 | batrick | found that out the hardway as well :( |
11:00.42 | Shirik | not always |
11:00.48 | Shirik | er |
11:00.49 | Shirik | wait |
11:01.00 | Shirik | yeah I guess so :/ |
11:01.06 | Shirik | meh, xml ftl anyway |
11:01.09 | batrick | Shirik, maybe not always, but it happened like 50 times ina row for me |
11:01.14 | batrick | so i'm going with always in the future :P |
11:01.20 | Shirik | it will happen always |
11:01.30 | Shirik | but... if you want to control when your frames load |
11:01.31 | Shirik | stop using xml |
11:01.43 | batrick | ya... i'm not that leet with lua yet :P |
11:02.10 | Shirik | I personally find it easier |
11:02.12 | Shirik | but it's up to you |
11:02.20 | batrick | I just look at CT_Core's stuff for building frames in lua, jsut sit in awe :P |
11:02.44 | foxlit | Both have a use; you shouldn't really neglect one or the other :) |
11:02.52 | Shirik | what can xml do that lua can't |
11:03.07 | Shirik | aside from be used in an xml editor |
11:03.14 | foxlit | proper inheritance |
11:03.33 | Shirik | use metatables? |
11:03.58 | foxlit | That's like using a nuclear reactor to power a lightbulb |
11:04.04 | wereHamster | batrick, OnLoad before SV makes sense.. because there's a VARIABLES_LOADED event.. |
11:04.39 | Shirik | I just have never found a reason to use xml... ever |
11:04.54 | Shirik | and considering I like programatically defining frames better, that's what I use |
11:04.57 | Shirik | but everyone has different tastes |
11:05.04 | Shirik | so you use what you like best |
11:07.00 | batrick | ya I didn't really think about that wereHamster, good point |
11:09.08 | foxlit | XML's onload is more for setting up controls to work the way they should :) |
11:11.38 | *** join/#wowi-lounge amro_ (n=amro@82.101.184.229) |
11:43.36 | *** join/#wowi-lounge Segatron (n=MrX@217.118.90.37) |
11:54.13 | *** join/#wowi-lounge dinesh_ (n=chatzill@c-68-36-168-161.hsd1.nj.comcast.net) |
11:56.03 | *** join/#wowi-lounge JoshBorke (n=Josh@r35h14.res.gatech.edu) |
11:59.54 | Kirkburn|afk | Ooh, "A ban on patients and doctors using mobile phones in hospitals in England is to be lifted this spring, the government has announced." (not all areas, obviously) |
12:07.59 | bleetah | vlad the imapler's struck ebay again |
12:08.52 | bleetah | I don't get why it hasn't made mainstream news yet... I guess the corp media love eBay so much they just believe the denials at face value |
12:21.04 | Mr_Rabies2 | whaa |
12:21.12 | *** join/#wowi-lounge dolby-wowi (n=Dolby-wo@MMOI/Administrator/Dolby) |
12:21.12 | *** mode/#wowi-lounge [+o dolby-wowi] by ChanServ |
12:21.43 | Mr_Rabies2 | Dracula is attacking ebay |
12:21.44 | Mr_Rabies2 | :O |
12:22.49 | bleetuz | been going on for months |
12:23.48 | Mr_Rabies2 | why would dracula attack ebay doesn't he know servers have no souls to convert to his undead horde |
12:24.31 | bleetuz | ... have you heard of the 'blood bank'? |
12:24.39 | bleetuz | he's moving to the 21st century |
12:25.05 | *** join/#wowi-lounge MoonWolf (i=MoonWolf@g173217.upc-g.chello.nl) |
12:25.06 | *** mode/#wowi-lounge [+v MoonWolf] by ChanServ |
12:25.51 | Mr_Rabies2 | seriously though who's this vlad the impaler guy, some hacker trying to sully dracula's track record? |
12:26.38 | bleetuz | oh, you want a news article... |
12:27.08 | bleetuz | http://www.theregister.co.uk/2007/03/13/vlad_impales_ebay/ |
12:27.39 | bleetuz | and here's some mirrors of the forums he's posted to as an ebay employee -> http://www.companyexposed.com/575640/1/1/2007-03-01/eBay_Germany%20__312.htm http://www.companyexposed.com/575640/1/1/2007-03-01/eBay_Forums%20__USA312-before.htm |
12:27.50 | bleetuz | the earlier register stories about him have more links, etc. etc. |
12:28.38 | bleetuz | turns up as a powerseller ocasionnaly, with only one item 'sold', yet no sale history, and stuff |
12:29.12 | bleetuz | prolly connected to the ebay embedded phishing frauds going on atm, that ebay aren't admitting to existing |
12:30.12 | bleetuz | nn Mr_Rabies2 |
12:30.22 | Mr_Rabies2 | see ya |
12:30.33 | Mr_Rabies2 | i get to go to the dentist on my birthday, yippee |
12:47.41 | *** join/#wowi-lounge cncfanatics (n=cncfanat@202.62-242-81.adsl-dyn.isp.belgacom.be) |
12:57.37 | Kirkburn|afk | Tain, I saw Pax and Gilliuos on my Mii Parade |
12:58.31 | Kirkburn|afk | I can only assume they're yours as I have no-one else's Wii Code yet *grmble grmble* |
13:12.33 | *** join/#wowi-lounge dinesh_ (n=chatzill@146.145.196.188) |
13:24.02 | *** join/#wowi-lounge beerke (n=beerke@5353E179.cable.casema.nl) |
13:24.20 | *** join/#wowi-lounge Barbanus (n=tecnobra@tecnobrat.com) |
13:32.31 | *** join/#wowi-lounge MoonWolf_ (i=MoonWolf@g173217.upc-g.chello.nl) |
13:37.22 | *** join/#wowi-lounge CrazyMYKL (n=rumors@149.152.112.213) |
13:47.32 | *** join/#wowi-lounge Shirik|Ghost (n=nospam@155.31.161.72) |
13:52.20 | Kirkburn|afk | Heh, "There's an old saying in Tennessee—I know it's in Texas, probably in Tennessee—that says, fool me once, shame on—shame on you. Fool me—you can't get fooled again." |
13:52.34 | Kirkburn|afk | No prizes for guessing who said that :) |
14:02.11 | *** join/#wowi-lounge Gngsk (n=gngsk@c-69-138-213-251.hsd1.md.comcast.net) |
14:03.42 | *** join/#wowi-lounge subbawt (n=biggy@65.89.109.213) |
14:03.47 | *** join/#wowi-lounge rophy (n=Miranda@220-132-204-186.HINET-IP.hinet.net) |
14:05.42 | *** join/#wowi-lounge Wing87 (n=Wing@c83-254-245-120.bredband.comhem.se) |
14:08.32 | *** part/#wowi-lounge Wing87 (n=Wing@c83-254-245-120.bredband.comhem.se) |
14:10.17 | *** mode/#wowi-lounge [+v MoonWolf] by ChanServ |
14:13.01 | Industrial | Kirkburn|afk: bush? |
14:24.21 | *** join/#wowi-lounge Jocco_S (n=jocco@217-210-128-16-no18.tbcn.telia.com) |
14:24.23 | Shirik | huh? |
14:24.31 | Shirik | I dont' even understand that saying |
14:27.36 | *** join/#wowi-lounge Seracht (n=Seracht@CPE001839ea82bb-CM0018c0b36d56.cpe.net.cable.rogers.com) |
14:27.37 | Seracht | Hey |
14:30.19 | Seracht | Is there a good mod for making a bar at the bottom similar to Skinner, but I do not want to change the background of my bags/characters/etc |
14:31.51 | subbawt | do you actually want to resize the viewable area of the screen, like with the viewport feature? |
14:32.03 | subbawt | or do you just want to put a bar at the bottom |
14:32.34 | Seracht | just want a bar |
14:32.38 | Seracht | to put my buttons on |
14:32.55 | Shirik | trinity/bongos |
14:32.58 | Seracht | hmm or I might just use skinner and make it look pretty :) |
14:33.03 | Seracht | Bongos doesn't put a bar I think |
14:33.12 | Shirik | wait by "bar" |
14:33.14 | Shirik | what do you mean? |
14:33.18 | Seracht | he hsec |
14:33.25 | subbawt | i think he means the viewport type thing |
14:33.29 | subbawt | without actually modifying the viewport |
14:33.35 | Seracht | http://img337.imageshack.us/img337/2697/uihugewe0.jpg |
14:33.45 | Seracht | Like that |
14:33.54 | Seracht | I know he is using skinner there |
14:34.00 | *** join/#wowi-lounge amro_ (n=amro@82.101.184.194) |
14:34.01 | Shirik | ok so you want the background |
14:34.07 | Shirik | not the space to put the buttons |
14:34.25 | Seracht | ya |
14:34.38 | Shirik | could use eepanels but I hated it |
14:34.40 | Seracht | In skinner I tried removing the background behind character/talents/log/backpack |
14:34.45 | Seracht | but I get errors |
14:35.01 | Shirik | course I guess I just don't like those things |
14:35.05 | Shirik | but eepanels should work for you |
14:35.23 | Seracht | hmm do you use skinner? |
14:35.29 | Shirik | I don't use any of that |
14:35.30 | Seracht | oh |
14:35.38 | Seracht | ok I will try eepanels |
14:35.55 | Seracht | but if someone uses skinner, cna they show me what their character/bags/talents etc looks like? |
14:36.05 | Seracht | Or know a decent setting to make it look good? |
14:41.59 | *** join/#wowi-lounge Wing87 (n=Wing@c83-254-245-120.bredband.comhem.se) |
14:49.36 | Seracht | hmm ok |
14:49.57 | Seracht | does this happen to anyone using skinner - say they turn on the gradient thing for chat and then turn it off...it doesn't turn off |
14:50.20 | Shirik | "There is a newly discovered security vulnerability in virtually all home routers, that could allow a malicious agent to take control of the router if the user does not change the password that was set by the factory. A malicious Web site can use Java and JavaScript to gain control of the router from within, by using the router's Web interface" |
14:50.27 | Shirik | I want to shoot someone |
14:50.50 | Shirik | that was one of the stupidest security advisories I've ever read |
14:51.38 | sysrage | lol newly discovered? |
14:51.43 | sysrage | where'd you see that? |
14:52.00 | Shirik | actually I don't know it just caught my eye as I was looking for something else |
14:52.05 | Shirik | I've already lost the page |
14:52.18 | Shirik | it wasn't more than a week old though |
14:52.52 | Shirik | What that essentially says to me is |
14:53.01 | Shirik | "If you don't change the password on your router, someone can log into it and change settings" |
14:53.08 | Shirik | and I'm like... "... yeah?" |
14:53.32 | sysrage | ya. pretty sad |
14:57.19 | Shirik | >>> function a(b) if (b % 2 == 0) return a(b+1); else return a(b+1); end return a(1); -- Testing lua tail call optimization don't mind me |
14:57.31 | Shirik | wah |
14:57.32 | Shirik | Cide's not here |
14:57.42 | Shirik | grr now I have to find my lua exe >.> |
14:58.42 | *** join/#wowi-lounge Cide (n=Cide@81-226-233-5-no60.tbcn.telia.com) |
14:58.42 | *** mode/#wowi-lounge [+v Cide] by ChanServ |
14:58.48 | Shirik | haha |
14:59.47 | Seracht | Shirik won't that be recursive |
15:00.00 | Shirik | yeah I figured it out after I thought about it |
15:00.02 | Shirik | I was smoking something |
15:00.15 | Shirik | besides the fact that code has errors |
15:00.22 | Seracht | and your if statement's else is the same as the if |
15:00.30 | Shirik | I know, that was intentional |
15:00.51 | Shirik | what I really wanted to see is if it would optimize out the if statement |
15:00.56 | Shirik | but I can't think of a good way to test that |
15:01.11 | pastamancer | the lua compiler doesn't optimize |
15:01.15 | subbawt | i can never memorize the script to clear all action ids, andi can never recreate it :( |
15:01.16 | Shirik | it doesn't? |
15:01.17 | pastamancer | you can verify it by using luac |
15:01.59 | Shirik | a tail call is a form of optimization :/ |
15:02.06 | pastamancer | a tail call is an opcode in lua |
15:02.20 | Shirik | I don't know anything about the internal workings of lua :P |
15:02.23 | pastamancer | lua isn't going to get rid of your if statement |
15:03.19 | Gngsk | a tailcall is an ancient form of seduction, perfected by construction workers |
15:03.43 | Shirik | erm |
15:03.47 | Shirik | that one went over my head |
15:03.59 | pastamancer | haha |
15:04.03 | Gngsk | bad joke, I just woke up :( |
15:05.30 | pastamancer | Shirik: http://wowi.pastey.net/8336 |
15:05.50 | *** join/#wowi-lounge Osagasu (n=Kronus@208.104.156.29) |
15:06.23 | *** join/#wowi-lounge JoshBorke (n=Josh@r35h14.res.gatech.edu) |
15:07.37 | Shirik | yeah hate to say it, that means nothing to me |
15:08.05 | Shirik | but I do see "eq .. jmp" which looks similar to assembly "cmp ... jne" which I assume is the if test |
15:08.48 | pastamancer | yes |
15:08.59 | subbawt | does anyone know the clear action id macro off the top of their head? it's something like /script for i = 0, 125 do PickupAction(i); PutItemInBackPack(); end |
15:09.19 | subbawt | but that isn't working |
15:09.19 | krka | ooh.. lua bytecode questions? |
15:09.24 | krka | i know everything about that |
15:10.08 | pastamancer | Shirik: also, a tailcall only happens if you use return |
15:10.15 | Shirik | yeah that much I knew |
15:10.32 | pastamancer | ah, I forgot to copy/paste that |
15:10.37 | krka | i am actually writing a lua virtual machine |
15:10.46 | Shirik | subbawt: that ... looks like it should work to me |
15:11.10 | Shirik | any error or it's just not doing anything? |
15:11.20 | pastamancer | http://wowi.pastey.net/8337 |
15:11.43 | pastamancer | krka: curious, in what language? |
15:11.59 | krka | java |
15:12.09 | krka | java micro edition actually |
15:12.13 | krka | (cldc 1.1) |
15:12.33 | Shirik | sadly it's sometimes necessary, they did give it its advantages |
15:13.48 | krka | my goal is to write games for j2me, using lua for logic |
15:14.47 | *** join/#wowi-lounge cogwheel|work (n=chatzill@intra.kistlerwine.com) |
15:17.03 | *** join/#wowi-lounge Thunder_Child (i=user@cpe-76-80-184-210.socal.res.rr.com) |
15:17.46 | Shirik | anyone here using a mac? |
15:18.54 | *** join/#wowi-lounge Andalia (i=xx@p54ACA1F2.dip0.t-ipconnect.de) |
15:20.47 | *** join/#wowi-lounge Shirik (i=nospam@rrcs-67-78-171-230.se.biz.rr.com) |
15:24.33 | Kirkburn|afk | Industrial, you win ... stuff. :) |
15:26.13 | Shirik | Kirkburn|afk: that would explain why I didn't understand it at all |
15:26.23 | Kirkburn|afk | Indeed |
15:27.18 | Seracht | http://img337.imageshack.us/img337/2697/uihugewe0.jpg |
15:27.21 | Seracht | anyone know the font here by any chance |
15:28.46 | JoshBorke | times new roman |
15:28.50 | JoshBorke | ? |
15:28.57 | cogwheel|work | Happy pi day |
15:29.04 | Shirik | Happy pi day! |
15:29.09 | Lysistrata | I'd call it Verdana ;) but probably its just one of the various Clear Fonts avaible just lookup the "ClearFont [somenumbers]" I guess the fonts in there are fine |
15:29.26 | Shirik | Did you know Louisiana state house of reps once passed a bill setting pi to the value 16/sqrt(3) ? |
15:29.32 | Shirik | (which is just a bit over 9) |
15:29.37 | cogwheel|work | doesn't surprise me... |
15:29.53 | Seracht | Hmmm its not calibiri I think |
15:29.54 | Shirik | think that was in 1897 or something |
15:29.58 | Seracht | Because my calibiri is so bold... |
15:30.08 | *** join/#wowi-lounge Gryphen (n=gryphon@mail.alexdevco.com) |
15:30.27 | Shirik | actually, it was set to 4 different values, all in the same bill |
15:31.06 | Lysistrata | Seracht but where did the "owner" of the UI take the screen? Guess its some exploited area and I |
15:31.14 | Lysistrata | 'm always interested in such things ;D |
15:31.23 | Shirik | 5, I'm sorry: 16/sqrt(3) ~= 9.24, 2 sqrt(5 pi/6) ~= 3.236, 16 sqrt(2)/7 ~= 3.232, 10/7 ~= 1.429, and 16/5 = 3.2 |
15:31.29 | Shirik | http://www.faqs.org/faqs/sci-math-faq/specialnumbers/lawPieq3/ |
15:31.57 | Shirik | oh wait, no, that's 4 values for pi and a value for sqrt(2) |
15:31.58 | cogwheel|work | I've memorized pi to 3.1415926535897932384626433 but i can never remember the digit after that for some reason... I know it's > 5 so it would round that last one up to 4... 8 maybe? |
15:32.33 | Cide | I only remember 3.14159265358979323846 |
15:32.35 | cogwheel|work | yep. 8 ... guess i did remember :) |
15:32.48 | Shirik | a * n = a * pi. This is true where a = 0 and n = 2. Therefore, divide both sides by a, pi = 2. |
15:32.52 | *** join/#wowi-lounge [dRaCo] (n=drc@p5485BAC8.dip0.t-ipconnect.de) |
15:32.53 | Shirik | I have rationalized pi. |
15:33.21 | Cide | I think pi = 3, it's just that there was a large misunderstanding once upon a time |
15:33.35 | cogwheel|work | I'd like to see a base pi number system... |
15:33.37 | Kirkburn|afk | Seracht, it's Calibri '0.9' |
15:33.38 | Seracht | Lysistrata that was taken in zul'aman |
15:33.48 | Seracht | Oh |
15:33.53 | Cide | cogwheel|work: ugh :) |
15:33.53 | Seracht | ok Kirkburn|afk Thanks! |
15:34.06 | Kirkburn|afk | You can tell because the numbers aren't fixed height :P |
15:34.18 | Seracht | lol ok :) |
15:34.22 | krka | we should all just start counting in base pi |
15:34.22 | Kirkburn|afk | The unit frame font is different of course |
15:34.30 | Seracht | One thing though, I tried changing the bold italics and bold to just normal |
15:34.31 | krka | then pi is represented as "10" |
15:34.33 | Seracht | (I don't like bold) |
15:34.38 | Shirik | 3.14, 6.28, 9.42 |
15:34.41 | Seracht | And when I do that the text is still a bit too big |
15:34.41 | Kirkburn|afk | Fair enough |
15:34.44 | Seracht | so if i adjust the scale |
15:34.46 | Shirik | or am I not allowed to round? |
15:34.49 | Seracht | it screws it up in other places |
15:34.55 | Seracht | like in keybindings/main menu etc |
15:35.00 | Seracht | it becomes too small there |
15:35.19 | Kirkburn|afk | I can only suggest editing the Design.lua code |
15:35.22 | Shirik | dude |
15:35.25 | Shirik | there's a world record |
15:35.32 | Shirik | some guy memorized pi to 100k decimal places |
15:35.35 | Shirik | how do you do something like that? |
15:35.45 | Seracht | cheat? |
15:35.45 | Seracht | lol |
15:35.46 | Kirkburn|afk | With difficulty |
15:35.47 | pastamancer | one number at a time :p |
15:35.56 | Shirik | he beat his old record of 83,431 |
15:35.58 | Shirik | .. |
15:36.16 | Kirkburn|afk | The frequent method is to memorise a story |
15:36.26 | Kirkburn|afk | The story tells you the numbers |
15:36.56 | *** join/#wowi-lounge Groll (i=UPC_Legi@hstad-210-172-209-82.3.cust.bredband2.com) |
15:36.59 | Kirkburn|afk | Humans have evolved to be incredible story-tellers - some scientists describe us specifically as "the story-telling ape" |
15:37.44 | Kirkburn|afk | Remember how stories like Beowulf were handed down solely by being told them |
15:38.03 | Shirik | omg... |
15:38.05 | Kirkburn|afk | Hugely long stories, hours long, yet we could/can remember all the details |
15:38.07 | Shirik | this site exists: http://3.141592653589793238462643383279502884197169399375105820974944592.com/ |
15:38.51 | *** join/#wowi-lounge Adys (n=Miranda@90.11.148.254) |
15:39.14 | *** join/#wowi-lounge Kirkburn (n=Kirkburn@82-32-40-219.cable.ubr06.azte.blueyonder.co.uk) |
15:39.20 | Shirik | btw the page http://3.141592653589793238462643383279502884197169399375105820974944592.com/index1.html has 1MB worth of pi ;) |
15:39.26 | Shirik | cog, if you needed that digit |
15:39.26 | Kirkburn | Random disconnect ftw |
15:39.31 | Shirik | it's a bit overkill, but it works |
15:39.37 | Cide | funny how that guy remembered 1/10th of that |
15:40.00 | Stephmw | Shirik: do all the shorter versions lead to that page too? |
15:40.12 | Shirik | dunno :P |
15:40.17 | *** join/#wowi-lounge Kirkburn (n=Kirkburn@82-32-40-219.cable.ubr06.azte.blueyonder.co.uk) |
15:40.28 | Shirik | seems not |
15:40.33 | Kirkburn | K, this is odd |
15:40.48 | cogwheel|work | 8327950 is what i'm trying to memorize now... |
15:40.48 | Kirkburn | Wonder if I'll get another ... |
15:41.05 | cogwheel|work | it's actually vaguely similar to phone numbers in my town |
15:41.27 | Shirik | meh, the only thing I care about memorizing is e^(pi * i) = 0 - 1 |
15:41.44 | Shirik | just cause I have to know that for the next test for whatever reason |
15:41.45 | Kirkburn | Did you mean that last bit? |
15:41.48 | Shirik | yup |
15:41.54 | krka | i wonder if it's easier to memorize 100 000 digits of pi than it is to learn a formula for always figuring out the next digit in the sequence |
15:41.56 | Kirkburn | It equals 0 - 1 ? |
15:42.05 | Shirik | yes, or shortened, -1, but I wrote it that way intentionally |
15:42.13 | krka | you could then theoretically learn to recite pi by calculating it on the fly |
15:42.16 | Kirkburn | Okay, just checking :) |
15:42.20 | Shirik | supposedly there's this "story" that equation tells |
15:42.22 | Kirkburn | I've heard of that equation to |
15:42.42 | cogwheel|work | krka: our brains are probably more capable of memorization... |
15:42.45 | krka | that equation is a simple result of the way e^(i*x) is defined |
15:42.50 | Kirkburn | krka, if the formula for working out Pi was that easy, we'd know it =) |
15:43.26 | Shirik | it can't be that hard to calculate on the fly |
15:43.28 | krka | e^(ix) is defined as cos(x) + i*sin(x) or something |
15:43.44 | Shirik | yeah something like that krka |
15:43.50 | Kirkburn | Wow, in the US ... "37 percent of adults own a gaming console and 16 percent own a portable gaming device according to Nielson/NetRatings. Of those, 71 percent are married and 66 percent have at least one child." |
15:44.19 | cogwheel|work | too bad phone number prefixes in can't start with 1... Then someone in Missouri would be able to have a phone number of the first 10 digits of pi. |
15:44.38 | cogwheel|work | How many of the people with children are married? |
15:44.40 | cogwheel|work | ;) |
15:45.10 | cogwheel|work | I'm 5 years married without children :) |
15:45.28 | krka | cogwheel|work: you have quite a us-centric view :) |
15:45.49 | Shirik | isn't there a country code 3? |
15:45.53 | cogwheel|work | krka: i originally worded it differently mentioning "US" ... |
15:46.00 | *** join/#wowi-lounge Cide (n=Cide@81-226-233-5-no60.tbcn.telia.com) |
15:46.00 | *** mode/#wowi-lounge [+v Cide] by ChanServ |
15:46.09 | Kirkburn | "Families is where our nation finds hope, where wings take dream" |
15:46.12 | cogwheel|work | but the sentence was confusing and my brain hurts this morning so i didn't feel like figuring it out... |
15:46.17 | cogwheel|work | >>> return math.pi |
15:46.22 | Cide | cogwheel|work: 3.1415926535898 |
15:46.45 | Industrial | < Kirkburn|afk> Industrial, you win ... stuff. :) |
15:46.46 | Industrial | :O? |
15:46.54 | cogwheel|work | >>> return 3.14159265358979323846264338327950 |
15:46.55 | Cide | cogwheel|work: 3.1415926535898 |
15:47.03 | cogwheel|work | wtb more significant digits! |
15:47.18 | Kirkburn | >>> return boomerang? |
15:47.19 | Cide | Kirkburn: attempt to call a nil value |
15:47.23 | Kirkburn | Aww |
15:48.07 | zenzelezz | so what's this Hellfire video the launcher touts about... just the 5-mans, or is it some hint about the 25-man? :-o |
15:48.12 | Shirik | =( there's no country code 3 |
15:48.15 | dieck | pi up to 10 million internal decimal places: http://www.aip.de/~wasi/PI/Pibel/pibel_10mio.pdf |
15:48.22 | Industrial | Kirkburn: what do i win, what do i win :D? |
15:48.24 | Shirik | internal? |
15:48.27 | Kirkburn | Stuff. |
15:48.47 | Industrial | cool |
15:48.48 | Shirik | =( I want some pie now |
15:48.53 | Industrial | mmm pie |
15:49.02 | Shirik | and firefox just crashed |
15:49.24 | Shirik | it can't handle 10 million pieces of pi |
15:49.38 | Kirkburn | Pie whore |
15:49.46 | Industrial | hm wowwiki has gold ads :( |
15:50.02 | Kirkburn | Welcome to 2004 :) |
15:50.33 | Industrial | ethics man, ethics :X Everytime a noob clicks on a gold ad a kitten dies. |
15:50.45 | Shirik | woot! |
15:50.49 | Industrial | horribly. |
15:50.55 | Kirkburn | "it's not that we support it in any way, shape, or form, but that changing it is too much hassle and not worth it (in the eyes of those who matter)" |
15:51.20 | Shirik | you know |
15:51.25 | Shirik | in theory, we could make them go out of business |
15:51.25 | Kirkburn | I do not matter enough, unfortunately |
15:51.28 | Shirik | just clicking on the adds all day |
15:51.35 | Shirik | or perhaps writing a bot to click on them all day |
15:51.45 | Shirik | better yet, interface it with tor so they can't detect it's the same person clicking them |
15:52.09 | Shirik | google charges per click, I know that much |
15:52.52 | Shirik | erk... |
15:52.53 | Shirik | $0.25 per 1000 clicks |
15:52.55 | Shirik | that's hardly worth it >< |
15:53.06 | Shirik | wait no $10 per 1000 |
15:53.06 | Cide | it's not that little |
15:53.12 | Shirik | that's better |
15:53.15 | Cide | still not that little |
15:53.33 | sysrage | that quote is right, you'll never get rid of gold sellers. but the fucktards that spam it in-game need to die. and blizz could easily put filters in to get rid of that shit |
15:54.03 | Shirik | they could just grab spam sentry and put it into blizzard code for all I care |
15:54.26 | Shirik | better yet, run it server side so the gms can auto-detect it |
15:57.17 | sysrage | tards makin it so you can't sell on e-bay just made the spam worse |
15:58.11 | Shirik | well |
15:58.17 | Shirik | it was never legal to sell on e-bay |
15:58.42 | sysrage | ya, but i've noticed a sharp increase of spam since they got e-bay to start enforcing it |
15:58.49 | Shirik | it's true |
16:01.03 | cogwheel|work | ~cidequine |
16:01.05 | purl | >>> return (function(s)return(('%s%q'):format(s,s))end)"return (function(s)return(('%s%q'):format(s,s))end)" |
16:01.22 | sysrage | ~cogequine |
16:01.26 | cogwheel|work | >>> return (function(s)return(('%s%q'):format(s,s))end)"return (function(s)return(('%s%q'):format(s,s))end)" |
16:01.26 | Cide | cogwheel|work: "return (function(s)return(('%s%q'):format(s,s))end)"return (function(s)return(('%s%q'):format(s,s))end)"" |
16:01.51 | Shirik | er? |
16:02.02 | cogwheel|work | ~quine |
16:02.03 | purl | extra, extra, read all about it, quine is a program that produces, as its only output, its own source code. Information and examples can be found at http://www.nyx.net/~gthompso/quine.htm, but a list of quines is at http://www.nyx.net/~gthompso/quine.htm |
16:03.50 | krka | ~krkaquiene |
16:03.52 | krka | <PROTECTED> |
16:04.20 | Chardonnay | hm, looks like i wrote one but i don't remember that (or the language i wrote it in :) |
16:04.35 | Chardonnay | ["'[,34,$!34,'],!"]'[,34,$!34,'],! |
16:04.49 | Kirkburn | krka, ooh, I see what you did there |
16:05.18 | *** join/#wowi-lounge ag` (n=ag`@0x503e793a.bynxx18.adsl-dhcp.tele.dk) |
16:06.08 | Shirik | >>> y = [[ print("y = [[" .. y .. "]]\ndostring(y)") ]]; dostring(y) |
16:06.08 | Cide | Shirik: attempt to call a nil value |
16:06.11 | Shirik | :( |
16:06.19 | Shirik | >>> type(dostring); |
16:06.19 | Cide | Shirik: |
16:06.23 | Shirik | >>> return type(dostring); |
16:06.24 | Cide | Shirik: "nil" |
16:06.27 | Shirik | bah |
16:06.46 | Shirik | woot package is here, be back in a bit ^^ |
16:06.51 | cogwheel|work | Shirik: that quine won't work |
16:06.59 | Shirik|Whee | it was on that page that purl linked :P |
16:07.05 | Shirik|Whee | I didn't understand it myself |
16:07.07 | Shirik|Whee | so I wanted to see it |
16:07.07 | cogwheel|work | lua 5.1 doesn't allow you to nest long strings |
16:07.12 | Shirik|Whee | ah |
16:07.26 | cogwheel|work | which is why I looked around for the one I ended up using :P |
16:07.45 | Shirik|Whee | it's actually what I was trying to do yesterday |
16:08.01 | Shirik|Whee | I wanted to force Cide to output a statement that would result in Cide trying to process the very output that was just sent |
16:08.09 | Shirik|Whee | never managed to figure it out |
16:08.19 | JoshBorke | probably doesn't trigger on his own output |
16:08.21 | Shirik|Whee | unfortunately the ASCII backspace doesn't work as a backspace |
16:08.27 | krka | wtf... cide is a lua bot now? |
16:08.31 | Shirik|Whee | and the Cide: at the beginning is screwing things up |
16:08.34 | JoshBorke | >>> print("Bob") |
16:08.34 | Cide | JoshBorke: |
16:08.40 | JoshBorke | yes krka :-D |
16:08.41 | Shirik|Whee | only return values |
16:08.45 | Shirik|Whee | >>> return "Bob"; |
16:08.45 | Cide | Shirik|Whee: "Bob" |
16:08.56 | Shirik|Whee | right, afk |
16:09.00 | krka | >>> function rec() rec() end rec() |
16:09.00 | Cide | krka: d:\lua\input.tmp:12: stack overflow |
16:09.04 | JoshBorke | >>> return _G |
16:09.05 | Cide | JoshBorke: table: 00271170 |
16:09.10 | Shirik|Whee | krka we tried messing all around with it yesterday |
16:09.17 | Shirik|Whee | I think we closed all the security holes |
16:09.22 | Seracht | >>> return "test" |
16:09.23 | Cide | Seracht: "test" |
16:09.28 | Seracht | hmmm |
16:09.29 | Shirik|Whee | I um... accidentally flooded Cide off IRC yesterday ^^; |
16:09.41 | Shirik|Whee | and pastamancer managed to get Cide to send random messages |
16:09.46 | pastamancer | that was fun |
16:09.56 | Seracht | >>> return /kick #wowi-lounge Cide |
16:09.56 | Cide | Seracht: attempt to call a nil value |
16:09.59 | JoshBorke | oooo, krka, where is your code to make a table into a string for sending through WoW? |
16:09.59 | Seracht | damn |
16:10.13 | JoshBorke | Seracht: lrn2IRC |
16:10.19 | Shirik|Whee | Josh: I have one if you want :/ |
16:10.21 | Seracht | :( |
16:10.26 | Seracht | >> return "test" |
16:10.29 | Seracht | hmm |
16:10.41 | Seracht | there must be some way to return to the channel |
16:10.56 | pastamancer | what you wanted was return "\r\nKICK #wowi-lounge :Cide" I believe, but cide fixed that yesterday |
16:11.10 | Seracht | \r\? |
16:11.14 | JoshBorke | >>> return "\r\nPRIVMSG Josh_Borke :Bob" |
16:11.14 | Cide | JoshBorke: "\r\nPRIVMSG Josh_Borke :Bob" |
16:11.15 | Seracht | oh |
16:11.25 | Seracht | JoshBorke it also adds your name to it |
16:11.38 | krka | JoshBorke: i'll dig it up |
16:12.01 | Shirik|Whee | JoshBorke: This is what we use: http://wowi.pastey.net/8339 |
16:12.09 | Shirik|Whee | have fun sifting through it :/ |
16:12.23 | Shirik|Whee | it implements both a queue and table transmission |
16:12.49 | krka | http://kristofer.no-ip.info/~krka/tmp/serialize.lua |
16:12.50 | krka | there |
16:13.11 | JoshBorke | >>> local str = ""; for k,v in pairs(_G) do if (type(v) ~= "table") then str = str .. ", "..k.."= "..v end end return str |
16:13.12 | Cide | JoshBorke: [string "local str = ""; for k,v in pairs(_G) do if ..."]:1: attempt to concatenate local 'v' (a function value) |
16:13.36 | JoshBorke | <PROTECTED> |
16:13.57 | krka | JoshBorke: i hope that code in the link works, i haven't tested in a long time : |
16:13.58 | JoshBorke | uh oh |
16:14.00 | krka | :) |
16:14.17 | JoshBorke | purl, poke Cide |
16:14.21 | purl | ACTION cuts down a small tree, sneaks up behind Cide, pokes Cide repeatedly, hilarity ensues. |
16:15.38 | *** join/#wowi-lounge Adys (n=Miranda@APoitiers-256-1-104-225.w90-16.abo.wanadoo.fr) |
16:15.55 | JoshBorke | >>> return "Test"; |
16:15.56 | Cide | JoshBorke: "Test" |
16:16.02 | JoshBorke | oh good, he didn't break |
16:19.08 | JoshBorke | >>> fibTbl = setmetatable({[0] = 0, [1] = 1},{__index = function(t,val) local value = t[val-2] + t[val-1]; t[val] = value; return value end }); return fibTbl[2] |
16:19.08 | Cide | JoshBorke: 1 |
16:19.09 | Seracht | woah purl is a bot too? |
16:19.09 | Seracht | purl, poke JoshBorke |
16:19.12 | purl | ACTION cuts down a small tree, sneaks up behind JoshBorke, pokes JoshBorke repeatedly, hilarity ensues. |
16:19.12 | JoshBorke | >>> return fibTbl[5] |
16:19.12 | Cide | JoshBorke: [string "return fibTbl[5]"]:1: attempt to index global 'fibTbl' (a nil value) |
16:19.12 | Seracht | guess not |
16:19.14 | JoshBorke | aw, can't change the global table |
16:19.25 | cogwheel|work | Seracht: yes |
16:19.26 | *** join/#wowi-lounge Elkano (n=elkano@ip-213-135-2-171.handshake.de) |
16:19.29 | cogwheel|work | just slow sometimes :P |
16:19.31 | JoshBorke | >>> setfenv(0) fibTbl = setmetatable({[0] = 0, [1] = 1},{__index = function(t,val) local value = t[val-2] + t[val-1]; t[val] = value; return value end }); return fibTbl[2] |
16:19.31 | Cide | JoshBorke: [string "setfenv(0) fibTbl = setmetatable({[0] = 0, ..."]:1: bad argument #2 to 'setfenv' (table expected, got no value) |
16:19.36 | Seracht | oh lol |
16:19.41 | Seracht | :P |
16:19.46 | Stephmw | ~hug Cide |
16:19.50 | purl | ACTION jumps into Cide's lap and huggles and *hugs* Cide |
16:19.51 | cogwheel|work | and Cide's a hybrid |
16:22.07 | JoshBorke | >>> return getfenv() |
16:22.07 | Cide | JoshBorke: table: 00291170 |
16:22.36 | JoshBorke | >>> return tostring(getfenv()) .. " "..tostring(_G) |
16:22.36 | Cide | JoshBorke: "table: 00021170 table: 00021170" |
16:23.10 | JoshBorke | >>> return getfenv(0) |
16:23.10 | Cide | JoshBorke: table: 003C1170 |
16:23.23 | *** join/#wowi-lounge mahiro (n=Miranda@52.31.79.83.cust.bluewin.ch) |
16:23.26 | JoshBorke | >>>return getfenv(0) |
16:23.28 | mahiro | hi |
16:23.34 | JoshBorke | >>> return getfenv(0) |
16:23.34 | Cide | JoshBorke: table: 008C1170 |
16:23.35 | Gryphen | he3ya |
16:23.41 | JoshBorke | bah humbug |
16:23.57 | JoshBorke | each call gets its own environment, as though he's in interactive mode :-( |
16:24.10 | cogwheel|work | that's intentional |
16:24.19 | JoshBorke | i know :-/ |
16:24.37 | JoshBorke | >>> fibTbl = setmetatable({[0] = 0, [1] = 1},{__index = function(t,val) local value = t[val-2] + t[val-1]; t[val] = value; return value end }); return fibTbl[200] |
16:24.37 | Cide | JoshBorke: 2.8057117299251e+041 |
16:24.44 | JoshBorke | >>> fibTbl = setmetatable({[0] = 0, [1] = 1},{__index = function(t,val) local value = t[val-2] + t[val-1]; t[val] = value; return value end }); return fibTbl[2000] |
16:24.44 | Cide | JoshBorke: [string "fibTbl = setmetatable({[0] = 0, [1] = 1},{_..."]:1: C stack overflow |
16:24.45 | pastamancer | intentional, yes. fun, not quite as much |
16:24.54 | cogwheel|work | >>> _G = nil |
16:24.55 | Cide | cogwheel|work: |
16:25.26 | cogwheel|work | i think if someone did that, it would be entirely less fun |
16:25.27 | mahiro | i have a problem, when i enter combat the increasing rate goes up to about 150KiB/s how can i find out what addon causes this value? and is there a way to see what is the reason for that? |
16:25.47 | JoshBorke | mahiro: disable your addons in a binary fashion (half at a time) until you determine what's doing ti |
16:28.13 | mahiro | i have installed teksupport to see which addon it is but i dont see any abnormalitys there |
16:29.49 | *** part/#wowi-lounge Wing87 (n=Wing@c83-254-245-120.bredband.comhem.se) |
16:31.01 | mahiro | is there an other addon where i can monitor specific addon events/onupdates? |
16:31.41 | cogwheel|work | mahiro: no... just use the method JoshBorke suggested |
16:32.12 | cogwheel|work | 2.1 will make profiling addons possible though |
16:32.39 | cogwheel|work | Unless you're actually seeing an FPS hit, you shouldn't be terribly worried about memory usage though. |
16:32.51 | cogwheel|work | (as a user... authors are another story) |
16:33.25 | mahiro | well the fps goes down by about 10 or so, thats not really optimal... |
16:33.51 | cogwheel|work | If you want, you can also set up an "autoexec" addon (I use LuaSlinger's Library tab) to do collectgarbage("setpause", 110) which should keep your total memory usage down |
16:33.58 | Nom- | LOL this is going to be intresting |
16:34.02 | mahiro | i thougth it was my addon causing it but its still the same when i disable it^^ |
16:34.04 | Nom- | I'm OT for Kara tomorrow night |
16:34.29 | cogwheel|work | mahiro: lots of addons start doing more during combat so i'm not surprised there's *some* FPS loss, but it's not /necessarily/ due to the addon that's creating all the garbage |
16:35.53 | mahiro | well sometimes its almost unplayable and fps drops to 10 or so and ooc i get around 60 so there has to be a bad bad addon in my list |
16:36.03 | cogwheel|work | yep. |
16:36.13 | cogwheel|work | it really doesn't take that long to do what JoshBorke suggested... |
16:36.24 | cogwheel|work | O(n log n) iirc |
16:36.36 | mahiro | jup im doing it right now.. but takes a bit long to reload and so:/ |
16:36.38 | cogwheel|work | (or is that for sorting) |
16:36.55 | cogwheel|work | mahiro: at least the loading time decreases as you disable them :P |
16:37.13 | mahiro | haha at leat there is an improvement:D |
16:41.16 | *** join/#wowi-lounge nuoHep (n=nuoHep@85.192.55.7) |
16:41.46 | mahiro | its kind of stupid to test this, im in alterac and running in the zerg and watch the performance meter^^ |
16:42.36 | Shirik|Whee | You know, pastamancer, you only found one of the two holes yesterday |
16:42.44 | Shirik | now that I gave it some thought, there's some other problem in Cide's script |
16:42.47 | Shirik | very similar to what you did |
16:47.04 | mahiro | wow its amazing how smooth wow runs without addons o_O |
16:47.13 | cogwheel|work | hehe |
16:47.19 | Shirik | I would rather you said |
16:47.28 | Shirik | "It's amazing how smooth wow runs without badly written addons" |
16:47.51 | Shirik | in theory, addons shouldn't make a major difference; Unfortunately there's a lot of very poorly written addons that care nothing about memory usage because "Oh, the garbage collector will get it" |
16:48.02 | Shirik | among other things |
16:48.17 | JoshBorke | i'd still say that wow would run smoother without addons at all |
16:48.22 | JoshBorke | because it is doing less |
16:48.22 | Shirik | it would |
16:48.25 | cogwheel|work | Memory usage doesn't affect framerate nearly as much as people think it does |
16:48.32 | Shirik | true that. |
16:48.44 | JoshBorke | it's all dependent on the amount of time processing addon stuff |
16:48.47 | mahiro | well im not the best addon writer and maybe my code is crap but i try to keep the mem usage and so as low as possible |
16:48.56 | JoshBorke | be it addon logic or garbage collection |
16:49.24 | Shirik | My point is that, in general, people that don't care about something like memory usage don't care about efficiency in general |
16:49.41 | Shirik | which will lead to poor processing; for example, something like updating the text on a frame on every OnUpdate call |
16:49.50 | Shirik | instead of polling for maybe once every 0.25 seconds |
16:49.59 | cogwheel|work | in the current version of WoW, garbage collection doesn't even happen until memory usage doubles |
16:50.13 | cogwheel|work | so you'll never really notice it unless your addons are EXTREME memory hogs |
16:50.22 | Shirik | such addons do exist, though |
16:50.28 | cogwheel|work | yep |
16:50.49 | Shirik | my point wasn't really regarding memory, though. It's the portion of the population that writes addons without the slightest hint of concern about efficiency |
16:51.31 | Shirik | and actually cog that isn't true in many cases until 2.1 except for people that have set their memory usage to 0 |
16:51.48 | Shirik | In general I've seen peoples' UIs taking up about 25MB on average |
16:51.54 | Shirik | so it would hit the default 48 before doubling |
16:52.10 | Shirik | memory usage = memory limit |
16:52.13 | krka | >>> while true do end |
16:52.23 | Shirik | sry krka we're smarter than that |
16:52.33 | Shirik | fixed that; but Cide's actually DCed right now anyway |
16:52.38 | krka | local t= {} while true do t[t] = {} t = t[t] end |
16:52.38 | Shirik | all scripts have a 5s limit on them |
16:52.52 | krka | >>> local t= {} while true do t[t] = {} t = t[t] end |
16:52.59 | Shirik | Cide isn't here :P |
16:53.06 | cogwheel|work | krka: <Shirik> fixed that; but Cide's actually DCed right now anyway |
16:53.12 | Shirik | 12:36:20 » Quit: +Cide ‹n=Cide@81-226-233-5-no60.tbcn.telia.com› ‹Read error: 104 (Connection reset by peer)› |
16:53.23 | krka | oh right |
16:55.47 | Shirik | anyone know if I installed the debug version of the dlls for direct3d on my computer, would wow use them or the retail ones? |
17:10.55 | JoshBorke | not a clue :_D |
17:11.41 | amro | wow would use the retail ones, since the dbg dlls have different name |
17:11.42 | amro | names* |
17:12.20 | amro | a debug build might try to link to the dbg ones, but we only have retail ones |
17:12.39 | *** join/#wowi-lounge Kirov (n=Kirov@204.155.78.140) |
17:14.55 | Shirik | thanks :) |
17:15.05 | Shirik | I just wanted to make sure installing this wasn't going to drop my fps to like 10 |
17:22.12 | *** join/#wowi-lounge Gryphen (n=gryphon@mail.alexdevco.com) |
17:22.21 | *** join/#wowi-lounge MoonWolf_ (i=MoonWolf@g173217.upc-g.chello.nl) |
17:22.56 | KaoS` | w00t.. osx 10.4.9 is out.. does it fix the window mode memory leak ? |
17:33.11 | *** join/#wowi-lounge _aLF (n=Alexandr@aix73-2-88-160-210-8.fbx.proxad.net) |
17:34.22 | *** join/#wowi-lounge Wing87 (n=Wing@c83-254-245-120.bredband.comhem.se) |
17:36.23 | *** join/#wowi-lounge Tuller (n=chatzill@c-68-57-185-39.hsd1.va.comcast.net) |
17:51.57 | Corrodias | re: xml vs lua definition of frames |
17:52.04 | *** join/#wowi-lounge Funkeh` (n=funkydud@host81-157-152-169.range81-157.btcentralplus.com) |
17:52.09 | Corrodias | is it easier to make changes to the frames in XML or Lua? |
17:52.25 | Shirik | It really depends on how you like to code |
17:52.34 | Shirik | Personally, I would find it easier to make the changes in Lua |
17:52.38 | Shirik | but that's my own opinion |
17:52.42 | Shirik | many, I'm sure, would argue XML |
17:52.57 | Shirik | I don't know why, I just "see" things better in Lua |
17:53.19 | Corrodias | this action may disconnect me. stay tuned! |
17:54.12 | *** join/#wowi-lounge KaoS` (i=spam@about/apple/macbookpro/KaoS) |
17:54.12 | *** join/#wowi-lounge Elessdy (n=no@207-118-212-165.dyn.centurytel.net) |
17:54.20 | Elessdy | yep |
17:54.44 | Shirik | Elessdy == Corrodias? |
17:54.47 | Elessdy | yes |
17:54.51 | Shirik | m |
17:54.53 | Shirik | what did you do? |
17:54.57 | Shirik | Your IP doesn't match, can say that much |
17:55.02 | Elessdy | altered some router settings |
17:55.12 | Mr_Rabies2 | welp |
17:55.17 | Mr_Rabies2 | i went to the dentist on my birthday |
17:55.22 | Shirik | fun! |
17:55.26 | Mr_Rabies2 | for the first time in way...way too long |
17:55.29 | Elessdy | now: the screenshots of that UI looks smooth and small. very nice. |
17:55.30 | Mr_Rabies2 | bad news |
17:55.31 | Mr_Rabies2 | very |
17:55.33 | Mr_Rabies2 | very bad news |
17:55.37 | Shirik | you're going to die? |
17:55.39 | Elessdy | not at all like mine :P |
17:55.40 | Mr_Rabies2 | http://img411.imageshack.us/img411/3324/xray2ij0.png |
17:55.46 | Mr_Rabies2 | worse, need a root canal :[ |
17:55.53 | Elessdy | i have no idea what that means |
17:55.55 | Shirik | you really need to get your priorities in order |
17:56.00 | Shirik | Elessdy: It sucks. |
17:56.06 | Mr_Rabies2 | i think i'm gonna just get it ripped out |
17:56.07 | Mr_Rabies2 | instead |
17:56.12 | Mr_Rabies2 | because root canal = PAIN |
17:56.15 | Elessdy | that's probably not a bad idea |
17:56.19 | Shirik | I've been really, really lucky with my teeth |
17:56.20 | *** join/#wowi-lounge Royal (n=m@cp291458-b.landg1.lb.home.nl) |
17:56.24 | Mr_Rabies2 | see that red circled one |
17:56.28 | Mr_Rabies2 | that black area is a cavty |
17:56.34 | Shirik | I don't even take good care of them, and my dentist has even said to me "How you never get cavities I'll never know" |
17:56.34 | Tain | I guess it depends. I've had 2 root canals and no pain. |
17:56.49 | Shirik | But, I haven't had any wisdom teeth pulled, I haven't had a cavityt |
17:56.49 | Mr_Rabies2 | i have i think 6....cavities |
17:56.54 | Mr_Rabies2 | and check those fancy molars |
17:56.55 | Shirik | and my teeth are fine |
17:56.56 | Elessdy | i care for my teeth meticulously these days, and haven't had any problems since i started improving my brushing |
17:57.06 | Mr_Rabies2 | LOOK AT MY WISDOM TEETH :[ |
17:57.09 | Elessdy | NO |
17:57.18 | Mr_Rabies2 | 90 freaking degreeees |
17:57.19 | Shirik | ZOMG CAPS = CRUISE CONTROL 4 COOL |
17:57.38 | Elessdy | TAKE THEM OUT |
17:57.51 | Shirik | I don't know which one is your wisdom teeth Mr_Rabies |
17:57.53 | Elessdy | maybe not the one on the bottom left, since you could remove the one next to it |
17:57.58 | Mr_Rabies2 | the ones that are at a 90 degree angle |
17:57.59 | Elessdy | Shirik: the ones farthest to each side |
17:58.16 | Mr_Rabies2 | they're NOT supposed to come in like that |
17:58.18 | Mr_Rabies2 | rofl |
17:58.21 | Mr_Rabies2 | funny thing is |
17:58.23 | Shirik | er... |
17:58.24 | Elessdy | well, it's not that unusual |
17:58.26 | Mr_Rabies2 | i'm in very very little pain |
17:58.28 | Mr_Rabies2 | like |
17:58.29 | Shirik | are they ssupposed to be |
17:58.38 | Mr_Rabies2 | an advil stops the pain entirely |
17:58.43 | Elessdy | wisdom teeth don't form properly for most people |
17:58.50 | Shirik | Yeh I got lucky |
17:58.57 | Mr_Rabies2 | he prescribed me some darvocet |
17:59.10 | Shirik | so... why don't you get them pulled? |
17:59.14 | Mr_Rabies2 | i am |
17:59.17 | Mr_Rabies2 | but that takes time |
17:59.28 | Mr_Rabies2 | probably gonna be ~month or so |
17:59.45 | Mr_Rabies2 | get a consultation next tuesday |
18:00.08 | Mr_Rabies2 | i get to have an orthopedic surgeon yell YOU FREAKING IDIOT at me for an hour or so |
18:00.16 | Shirik | lo |
18:00.37 | Mr_Rabies2 | then a few weeks after that i go to sleep and wake up noticably less toothy |
18:00.50 | Elessdy | it might be a BIT late to recommend this, but you really should mind your brushing technique |
18:01.06 | Mr_Rabies2 | i did :[ |
18:01.37 | Mr_Rabies2 | thing is there's a tight gap there i can't even fit floss in that likely led to the initial cavity that is now devouring my soul |
18:01.55 | Elessdy | i use no toothpaste, listerine when there's plaque that doesn't want to come off (usually if it's been sitting on there for more than a couple of hours), and some flossing (i use floss picks instead of regular floss because that stuff is just a pain) |
18:01.57 | Shirik | I doubt a poor brushing technique results in teeth angled at 90 degrees |
18:02.12 | Elessdy | ow. maybe that tight gap has something to do with pressure from a god damn perpendicular tooth on the side. |
18:02.16 | Mr_Rabies2 | hehehe |
18:02.17 | Mr_Rabies2 | maybe |
18:02.21 | Mr_Rabies2 | it's really not painful |
18:02.24 | Elessdy | yet |
18:02.28 | Mr_Rabies2 | i mean it hurts a little bit but |
18:02.39 | Mr_Rabies2 | i'm surprised there's a cavity that big |
18:02.41 | Shirik | Elessdy you seem almost... angry |
18:02.42 | Mr_Rabies2 | that doesn't even hurt |
18:02.49 | Mr_Rabies2 | when it hits the nerve though |
18:02.54 | Shirik | and can you please change your name back to Corrodias because I can't spell Elessdy |
18:02.55 | Mr_Rabies2 | woo buddy that's gonna be fun |
18:03.02 | Mr_Rabies2 | oh that's corr |
18:03.05 | Mr_Rabies2 | i didn't know |
18:03.29 | Corrodias | you're such a phallus |
18:03.34 | Shirik | 13:54:14 [CTCP: Corrodias] PING |
18:03.34 | Shirik | 13:54:17 » Join: Elessdy ‹n=no@207-118-212-165.dyn.centurytel.net› |
18:03.34 | Shirik | 13:54:25 ‹Elessdy› yep |
18:03.34 | Shirik | 13:54:48 ‹Shirik› Elessdy == Corrodias? |
18:03.35 | Mr_Rabies2 | nou |
18:03.56 | Corrodias | ya me |
18:06.49 | Mr_Rabies2 | alright well |
18:07.25 | Mr_Rabies2 | i just took my first dose of my antibiotic and i'm heading to bed |
18:07.25 | Mr_Rabies2 | night all, what a great 20th birthday :p |
18:07.27 | Shirik | :( night |
18:07.32 | Corrodias | 'ni |
18:08.02 | Cairenn | night night Mr_Rabies2, happy birthday |
18:08.24 | Mr_Rabies2 | thanks cair |
18:08.32 | Mr_Rabies2 | the dentist was like |
18:08.38 | Corrodias | well, this sheds a little light on why people are so fucked up:http://www.youtube.com/watch?v=OvVhm0-gyC0 |
18:08.48 | Mr_Rabies2 | "uh....happy birthday....take a look at these cavities man" |
18:08.54 | Shirik | l2makelinksclickablebynotputtingthemrightnexttothecolon |
18:09.11 | Mr_Rabies2 | your appendix is right next to your colon |
18:09.20 | Mr_Rabies2 | i learned this today when i thought i was dying of appendicitis |
18:09.39 | Mr_Rabies2 | which i may be still it's not very comfortable but i don't get the knife in the stomach effect people mention |
18:09.53 | *** part/#wowi-lounge cogwheel|work (n=chatzill@intra.kistlerwine.com) |
18:16.44 | *** join/#wowi-lounge Lej (n=WinNT@81-235-141-90-no63.tbcn.telia.com) |
18:20.51 | mahiro | hmm i have improved error frame installed which plays a sound when a error occurs. now when i relog or log out it plays the sound, is there any way to see what error i get when logging out?o_O |
18:21.28 | Corrodias | yes. |
18:21.46 | Shirik | use a better error handler :P |
18:21.47 | Corrodias | you have to do a little editing |
18:21.56 | Shirik | vflerr > ief |
18:22.03 | Shirik | of course, I'm biased |
18:22.04 | mahiro | vflerr? |
18:22.12 | Corrodias | vflerr saves the list of errors during the session on logout? |
18:22.20 | Shirik | it does a lot more than that :P |
18:22.23 | mahiro | would buggrabber catch that error? |
18:22.30 | Corrodias | that doesn't answer my question |
18:22.36 | *** join/#wowi-lounge cogwheel|work (n=chatzill@intra.kistlerwine.com) |
18:22.46 | Shirik | Dunno, vflerr is made by me, and made with only my purposes in mind, it's not something we've released really |
18:22.49 | Shirik | Corrodias: Yes |
18:23.04 | Corrodias | if it's not released, it's not very useful to us |
18:23.10 | Shirik | I could give it to you |
18:23.16 | cogwheel|work | Anyone know the best way to add a money display to a tooltip? Do I have to add a blank line and anchor a moneyframe to it? |
18:23.18 | Shirik | it just isn't something that was released publicly |
18:23.29 | Corrodias | i added a savedvariable to IEF, SavedErrorsTable, and made it add all errors to that table |
18:23.36 | Shirik | that's essentially all you need to do |
18:23.45 | Corrodias | if i need to investigate an error, i can open the IEF savedvariables file |
18:24.10 | Corrodias | i don't think i'd feel right about using private addons |
18:24.16 | Corrodias | personal modifications are another matter |
18:24.23 | Shirik | VFL manages the errors table, storing the call stack and a bunch of other crucial information, along with how many times the error has occurred and when it occured, in a saved variable. If it hasn't occured in a long time, it tosses it out |
18:24.26 | Shirik | It's not... private |
18:24.43 | Shirik | In fact you'll find it in RDX, in the RDX/VFL.lua file |
18:24.51 | Shirik | it's just not something I've gone out and said "hey you can use this" |
18:24.53 | Corrodias | i don't know what rdx is |
18:25.00 | Shirik | the mod I and one other write |
18:25.33 | Corrodias | actually, that does sound familiar... |
18:25.40 | Shirik | http://www.wowinterface.com/downloads/info5680-RDX.Cid.html |
18:26.07 | *** join/#wowi-lounge Lysistrata (n=yousuck@xdsl-81-173-233-205.netcologne.de) |
18:26.31 | Shirik | if you use the error handler supplied in that, you would find, in Saved Variables/RDX.lua a variable VFLErr which is a table with a bunch of error information |
18:26.58 | Shirik | typing /err into the chat box brings up a list of errors, blah blah, but I'm not trying to advertise it |
18:27.15 | Shirik | use it if you want I have nothing against it, it's just not something I've said to people that exists |
18:27.38 | *** join/#wowi-lounge nymbia (n=nymbia@71-218-138-197.hlrn.qwest.net) |
18:27.39 | Corrodias | looks like it'd take at least a small amount of work to extricate it from rdx |
18:27.48 | Shirik | mmm let me find you the exact spot |
18:27.51 | Shirik | it should just be a function |
18:28.09 | mahiro | do you have a link to vflerr? |
18:28.19 | Shirik | like I said, it doesn't exist in the wild |
18:28.25 | mahiro | oh:/ |
18:28.57 | Corrodias | short answer, mahiro, there's no way for you to do what you want without some .lua editing |
18:29.34 | Corrodias | i can walk you through a simple way to modify Improved Error Frame to get the error if you'd like, or you can wait for Shirik to describe how to extract his thing from rdx |
18:29.41 | Shirik | here it is: http://wowi.pastey.net/8346 |
18:29.47 | Shirik | ignore _ClearErrors you can get rid of that |
18:30.00 | Shirik | also just know VFL.print() is simply a function that is essentially the same as DEFAULT_CHAT_FRAME:AddMessage() |
18:30.42 | Corrodias | okay, thanks |
18:31.33 | Shirik | oh and ignore sigRepaint:Raise() |
18:31.44 | Shirik | those are things that manage our RDX frames that wouldn't apply to you |
18:32.24 | Shirik | oops ^^ I forgot the other half that shows you the errors in game |
18:32.54 | Shirik | eh, but it wouldn't be much use to you considering you can't make VFL frames |
18:33.00 | Shirik | so yeah, that's the important part for you :) |
18:33.05 | Corrodias | >_> |
18:33.22 | Shirik | The part I pasted works ;) There's another half that when you type /err it shows a clickable dialog with errors, etc. |
18:33.44 | Corrodias | i take it i'd have to put a savedvariable in the .toc i make |
18:33.45 | mahiro | ok i downloaded rdx but do i have to install the whole package or is there a specific file for this error grabbing thing? |
18:33.55 | Shirik | mahiro: What I pasted in the link given is what you need |
18:34.19 | Shirik | Corrodias: Yes, and substitute VFLErrLog with whatever saved variable you want to use |
18:34.24 | Corrodias | tell you what, i'll get it working and toss together a quick .toc and see what i come up with |
18:35.55 | Corrodias | can you define a local function? |
18:36.05 | Shirik | sure, I did it in the pasted code there |
18:36.13 | Corrodias | oh duh |
18:37.10 | Shirik | when you make a local function it becomes local to that file and can't be accessed out of the file (in the simplest case) |
18:37.37 | Shirik | so using the code I pasted, /script AppendError(...) won't work because AppendError is nil |
18:37.44 | *** join/#wowi-lounge Gnarfoz (n=smallbra@unaffiliated/gnarfoz) |
18:37.46 | Shirik | but that file can use AppendError all it wants (as it does later in the code) |
18:38.02 | *** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@74.92.248.14) |
18:38.23 | *** join/#wowi-lounge Tem (n=tardmrr@WoWUIDev/WoWI/Dongle/Tem) |
18:38.24 | *** mode/#wowi-lounge [+v Tem] by ChanServ |
18:38.34 | *** join/#wowi-lounge foxlit (n=me@0x50c4b029.albnxx9.adsl-dhcp.tele.dk) |
18:39.33 | mahiro | Shirik: so where does this code go? in IEF? |
18:39.44 | Shirik | you will want to disable IEF if you use this |
18:39.55 | Shirik | that code is an error handler, which you can tell by the last line, which calls seterrorhandler() |
18:40.03 | Shirik | when an error occurs, it calls ErrorHandler() |
18:40.08 | Corrodias | mahiro: just have patience |
18:40.10 | Shirik | which eventually calls AppendError() |
18:40.13 | Corrodias | i'm working on turning this into an independent addon |
18:40.17 | Shirik | cool :) |
18:40.47 | Corrodias | i still have one unguilded character with which i can test logging in and out multiple times without irritating anybody |
18:40.55 | Shirik | Corrodias: You may want to adjust line 27, that's up to you |
18:41.08 | Shirik | it seemed like a reasonable number to me |
18:41.29 | Corrodias | that'll be fine, i expect |
18:41.29 | Shirik | it's so that your error log doesn't become 500MB long |
18:41.40 | Corrodias | most people don't need to fix more than the last 10 errors on logout |
18:41.55 | Shirik | yeh, if you had more than 10 errors there's a problem anyway :P |
18:42.13 | Corrodias | i don't suppose IEF -- or any other error handler, for that matter -- would work in conjunction with this without some fanaggling? |
18:42.22 | Shirik | I have no idea, I never used IEF |
18:42.27 | Shirik | except like 2 years ago |
18:42.43 | Shirik | If you want, you can use VFL and I can give you the other half of the code, too |
18:42.46 | Shirik | VFL is an open source library |
18:42.55 | Shirik | somewhat like ace |
18:42.56 | Corrodias | the use of seterrorhandler() suggests only one thing can be an error handler at once |
18:43.02 | Shirik | that is correct |
18:43.08 | Shirik | seterrorhandler() overrides the previous error handler |
18:43.41 | Shirik | but... |
18:43.47 | Shirik | perhaps you would want to take the AppendError() function |
18:43.53 | Shirik | and integrate it into IEF's error handler? |
18:44.01 | Shirik | have it called by IEF? |
18:44.13 | Lej | do you have to use "global" or so before avariable to make it global? I want to use it from several .lua files? |
18:44.18 | Corrodias | yeah.. of course then it's a matter of modifying IEF, not too difficult |
18:44.55 | Shirik | Lej: if you don't declare a variable as local, it is defined as global |
18:44.58 | Shirik | alternatively you can use getglobal("foo") or _G["foo"] to access global variable foo |
18:45.31 | *** join/#wowi-lounge Drool (n=drool@87-194-188-170.bethere.co.uk) |
18:46.17 | *** part/#wowi-lounge cogwheel|work (n=chatzill@intra.kistlerwine.com) |
18:47.48 | *** join/#wowi-lounge KarlThePagan (n=andross@lanip-170-65.go180.net) |
18:49.27 | Corrodias | i'm not sure i can adapt IEF's variables to the signature of AppendLog, given my limited understanding of how it works |
18:49.53 | Shirik | I don't know how IEF works so I can't really help you there |
18:50.04 | Corrodias | i can try |
18:51.06 | Corrodias | wait, what the hell |
18:51.26 | Corrodias | Swatter? where did that come from? >:o |
18:51.41 | Shirik | ? |
18:51.49 | Corrodias | i just have to kill an addon first, hang on |
18:52.04 | Corrodias | it must have tagged along with another addon in the same archive |
18:52.14 | Corrodias | another error handler |
18:52.24 | Shirik | got auctioneer? |
18:52.37 | Corrodias | yes. also, i forgot to re-enable IEF. i'm smart. |
18:52.46 | Shirik | auctioneer is packaged with swatter |
18:54.21 | Corrodias | okay, this seems to work well. the only issue i can see is that VFL Error Log doesn't seem to remove old errors on login, so there could be a small challenge in determining which error(s) happened during just the last session |
18:54.45 | Shirik | it doesn't, but it does log when the error occurred |
18:54.54 | Shirik | in unix time format, so you have to do a little deciphering |
18:55.04 | Shirik | logically, though, it would be the time that is the largest |
18:55.04 | Corrodias | "1173901782"? |
18:55.12 | Shirik | that looks right |
18:55.15 | Shirik | do you know how to read that? |
18:55.37 | Corrodias | unless it involves the eleventh month of a date far, far into the future, no |
18:55.56 | Shirik | it's a unix time - the number of seconds since the "unix epoch," which is defined as jan 1, 00:00 1970 GMT |
18:56.30 | Shirik | basically the important thing is the largest number is the most recent error |
18:56.39 | Shirik | it's the value returned from GetTime() |
18:56.48 | Corrodias | okay, i think i have a handle on this, now |
18:56.51 | foxlit | You sure? |
18:57.02 | Shirik | hrm, actually no it's not :P |
18:57.02 | foxlit | I thought GetTime() mapped to GetTickCount() |
18:57.10 | Shirik | yeah, so I need to remember where it got that value |
18:57.13 | foxlit | time() gives unix time. |
18:57.18 | Shirik | ok that's it :P |
18:57.25 | Corrodias | i believe ticks refers to the current uptime in seconds? |
18:57.34 | Shirik | yeah I used time() not GetTime() |
18:57.45 | foxlit | win32 does it in microseconds; wow divides by thousand. |
18:58.16 | foxlit | So yeah, at least on windows, and at least until int32 overflows, GetTime() should give system uptime in seconds |
18:58.22 | Thrae | Milliseconds |
18:58.27 | Corrodias | 3249994397 -> 37.61 days |
18:59.20 | Corrodias | overflow happens around 45 days if i remember correctly |
18:59.37 | foxlit | <PROTECTED> |
18:59.39 | foxlit | No, seconds. |
18:59.43 | Shirik | 32 bits is around 4 billion so that sounds about right |
18:59.44 | Thrae | The Windows API returns the milliseconds since the program was started through GetTickCount(), which is what Lua uses. |
18:59.45 | Corrodias | mahiro: still around? |
18:59.58 | Thrae | foxlit: I'm talking about what *Windows* returns, not the Lua function. |
19:00.09 | foxlit | <foxlit> win32 does it in microseconds; wow divides by thousand. |
19:00.10 | foxlit | :) |
19:00.12 | Thrae | Microseconds ~= Milliseconds |
19:00.18 | foxlit | Oh. :) |
19:00.21 | mahiro | Corrodias: yes |
19:00.25 | Shirik | 1ms = 1/1000 sec |
19:00.29 | Shirik | millisecond |
19:00.51 | Corrodias | okay, i can give you a couple of files that amount to a standalone VFL Error Log and you just have to insert a couple of lines into the .lua file of Improved Error Frame to make it work |
19:00.55 | foxlit | I claim typos :) |
19:01.09 | Corrodias | well, a standalone saved-variables-logging portion of it anyway |
19:02.01 | mahiro | Corrodias: i activated buggrabber and bugsack and it catched the error |
19:02.05 | Corrodias | does VARIABLES_LOADED fire after the variables for -all- addons are loaded, or just the ones for the addon of the frame in question? |
19:02.11 | foxlit | all |
19:02.17 | Corrodias | it caught them on logout? |
19:02.24 | mahiro | yes |
19:02.29 | foxlit | ADDON_LOADED is the individual version of that |
19:02.30 | Shirik | poor Corrodias :( |
19:03.36 | *** join/#wowi-lounge Cide (n=Cide@81-226-233-5-no60.tbcn.telia.com) |
19:03.36 | *** mode/#wowi-lounge [+v Cide] by ChanServ |
19:03.55 | Shirik | >>> return time(); |
19:04.00 | Shirik | =( |
19:04.01 | Thrae | Corrodias: You're forgetting, frames aren't tied to addons. They are special data structures which, once instantiated, exist both in Lua and in the underlying WoW environment. Whether local or global, it can still be accessed through EnumerateFrames. |
19:04.24 | Shirik | ummm |
19:04.39 | Shirik | oh |
19:04.41 | Shirik | misread |
19:04.51 | Corrodias | it's not that i've forgotten, it's more that i don't know much |
19:04.55 | Shirik | heh |
19:05.01 | Corrodias | that should have been a semicolon |
19:05.10 | Shirik | >>> return time(); |
19:05.14 | Shirik | wtb working Cide :( |
19:05.28 | Cide | >>> return time() |
19:05.28 | Cide | Cide: 1173899127 |
19:05.33 | Shirik | ok anyway |
19:05.38 | Cide | I have to load the py script :P |
19:05.54 | Shirik | does time() return a unix time or a time in the computer's time zone? |
19:06.01 | Thrae | Corrodias: All events are global instances, sent out to any frame registered for them. Such as ADDON_LOADED, which is not necessarily sent to the addon that has been loaded first. All events are sent in a non-standard order (possibly by the order they were registered, possibly not). |
19:06.18 | Cide | The time function, when called without arguments, returns the current date and time, coded as a number. (In most systems, that number is the number of seconds since some epoch.) |
19:06.30 | foxlit | UTC |
19:06.31 | foxlit | ? |
19:06.45 | Shirik | hmm, why does my lua interpreter say time is nil? |
19:06.50 | *** join/#wowi-lounge JoshBorke (n=Josh@r35h14.res.gatech.edu) |
19:07.05 | Cide | are you using 5.1? |
19:07.07 | Corrodias | perhaps it is god and exists without time |
19:07.09 | Shirik | yup |
19:07.24 | Shirik | > return time(); |
19:07.24 | Shirik | stdin:1: attempt to call global 'time' (a nil value) |
19:07.48 | Thrae | Shirik: Must be a dual core system -- the dual core architecture is a paradox, where two events can happen at the same time ;) |
19:07.48 | Cide | well, you can access it via os.time, but I'm not creating a copy |
19:08.10 | Shirik | ah that worked |
19:08.24 | Shirik | >>> return time(); |
19:08.25 | Cide | Shirik: 1173899303 |
19:08.25 | Shirik | 1173899292 |
19:08.32 | Shirik | what time zone are you in Cide? |
19:08.35 | Thrae | Yeah, it's os.time for strict Lua. WoW makes reference copies, as it doesn't want to give access to the os structure |
19:08.36 | Cide | +1 gmt |
19:08.43 | Shirik | ok so it must be against UTC |
19:08.46 | Shirik | I'm GMT-5 |
19:08.53 | Shirik | and those are identical |
19:08.54 | Cide | maybe cogwheel added a copy because wow does |
19:10.31 | *** join/#wowi-lounge Legorol (i=Legorol@zr205.trin.cam.ac.uk) |
19:12.37 | *** join/#wowi-lounge Jens (i=Jens@pdpc/supporter/active/Jens) |
19:16.15 | Corrodias | this buggrabber/bugsack is smooth. i'll use it. |
19:16.49 | Corrodias | i don't regret time wasted on other things. i need to keep a -little- familiar with programming. i start my new job in half a month. |
19:16.57 | Shirik | >>> c = ""; for i = 10,50 do c = c .. string.char(i); end return c; |
19:16.57 | Cide | Shirik: "\n\r |
19:16.59 | Shirik | hmm |
19:17.20 | Corrodias | uh |
19:17.33 | Shirik | >>> c = string.char(24) .. "NOTICE #wowi-lounge hello everyone"; return c; |
19:17.33 | Cide | Shirik: "NOTICE #wowi-lounge hello everyone" |
19:17.56 | Shirik | >>> c = string.char(23) .. "NOTICE #wowi-lounge hello everyone"; return c; |
19:17.56 | Cide | Shirik: "NOTICE #wowi-lounge hello everyone" |
19:18.01 | Shirik | >>> c = string.char(25) .. "NOTICE #wowi-lounge hello everyone"; return c; |
19:18.01 | Cide | Shirik: "NOTICE #wowi-lounge hello everyone" |
19:18.03 | Shirik | grr |
19:18.04 | Shirik | I give up |
19:18.10 | Shirik | off to lunch |
19:18.19 | Shirik | There's something there |
19:18.22 | Shirik | look, the string got cut off |
19:18.25 | Shirik | I noticed it yesterday |
19:18.56 | Corrodias | what are you talking about? |
19:19.14 | Shirik | I'll think about it some more :/ |
19:19.43 | Corrodias | you only got up to 25.. according to what i see, there is at least one more character at the end, then it stops |
19:20.01 | Corrodias | >>> c = string.char(26) .. "-test"; return c; |
19:20.01 | Cide | Corrodias: " |
19:20.11 | Corrodias | >>> c = string.char(27) .. "-test"; return c; |
19:20.11 | Cide | Corrodias: "-test" |
19:20.14 | Shirik|Lunch | >>> c = string.char(26) .. "NOTICE #wowi-lounge hello everyone"; return c; |
19:20.14 | Cide | Shirik|Lunch: " |
19:20.26 | Cide | did it work? can't tell from here |
19:20.30 | Shirik|Lunch | nope :/ |
19:20.37 | Corrodias | it is displaying the opening quotation, then nothingness |
19:20.43 | Cide | yeah, same here |
19:20.44 | Corrodias | i don't know what it's supposed to be |
19:20.46 | Shirik|Lunch | wonder why it does that though, what's 26... *goes to ascii table* |
19:21.01 | Shirik|Lunch | Corrodias: My goal was to make her do this |
19:21.45 | Shirik|Lunch | ASCII 26 is SUB "substitute" |
19:21.47 | Shirik|Lunch | what does that mean :/ |
19:21.58 | Corrodias | it means gtfo, i dunno |
19:22.04 | Shirik|Lunch | lol |
19:22.07 | Shirik|Lunch | right... lunch time |
19:26.23 | Shirik|Lunch | ahhhh |
19:26.32 | Shirik|Lunch | ASCII 26 is the EOF character for Windows |
19:26.40 | Shirik|Lunch | that must have something to do with it |
19:27.43 | Shadowed | ~lart Shirik|Lunch |
19:34.20 | mahiro | yay reduced the increasing rate from 150 to about 5 in combat:D now thats a difference:D |
19:34.41 | Lej | if anyone goot some spare time could they look throught this script http://wowi.pastey.net/8350 It's supposed to show what you get from prospecting in item tooltips and it was working just find but I changed something and it broke.. Getting error on line 212 "Attempt to perform arithmetic on field 'Drop' ( a nil value)" |
19:35.07 | Lej | I just can't find what went wrong... |
19:35.26 | Lej | Bet it's something simple and I'll look like an idiot tho. |
19:46.13 | *** join/#wowi-lounge Mike-N-Go_ (n=MikeNGoS@74.92.248.14) |
19:46.58 | *** join/#wowi-lounge Antiarc|Work (n=cheald@208.187.119.42) |
19:47.14 | JoshBorke | ~seen Mikk |
19:47.40 | purl | mikk <n=opera@81-233-236-26-no19.tbcn.telia.com> was last seen on IRC in channel #wowi-lounge, 48d 19h 4m 30s ago, saying: 'Did I mention that she's ferlol and has maxed stealth talent? =P'. |
19:54.19 | *** join/#wowi-lounge Mortius (i=Mortius@ppp-71-128-198-227.dsl.sndg02.pacbell.net) |
19:59.00 | *** join/#wowi-lounge kelvie (n=kelvie@d154-20-143-57.bchsia.telus.net) |
20:01.37 | *** join/#wowi-lounge Antiarc (n=Chris@wsip-70-184-82-98.ph.ph.cox.net) |
20:05.02 | *** join/#wowi-lounge AnduinLothar (n=AnduinLo@ip68-99-187-213.oc.oc.cox.net) |
20:05.02 | *** mode/#wowi-lounge [+v AnduinLothar] by ChanServ |
20:10.11 | *** join/#wowi-lounge Parak (i=PROFI@user-10874ap.cable.mindspring.com) |
20:13.17 | *** join/#wowi-lounge ckknight (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com) |
20:25.29 | *** join/#wowi-lounge Kaso (n=Jonathan@resnet27.nat.lancs.ac.uk) |
20:27.45 | Shadowed | Lej: You aren't checking to make sure you have an entry in ProspectInfo_OreData[oreName]["Data"][key1] or ProspectInfo_OreData[oreName]["Data"][key2] before you do math on it, so you have it trying to do something like "nil / 50 > 30 / 50" |
20:28.27 | *** join/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |
20:35.44 | *** join/#wowi-lounge batrick (i=batrick@d00-64-106-86-242.dhcp.unm.edu) |
20:36.57 | Lej | Shadowed: The thing is the Drop entry exist for all items so I can't see how it should fail |
20:37.34 | *** join/#wowi-lounge ckknight_ (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com) |
20:37.37 | Lej | could* |
20:40.02 | Shirik | >>> return 0/0; |
20:40.02 | Cide | Shirik: -1.#IND |
20:40.10 | Shirik | >>> return nil/nil; |
20:40.10 | Cide | Shirik: [string "return nil/nil;"]:1: attempt to perform arithmetic on a nil value |
20:40.23 | Shirik | >>> function a() debug.sethook(function() end) while(true) do end; end seterrorhandler(a); return nil/nil; |
20:40.23 | Cide | Shirik: [string "function a() debug.sethook(function() end) ..."]:1: attempt to call global 'seterrorhandler' (a nil value) |
20:40.30 | Shirik | curses, foiled again. |
20:40.41 | Shadowed | Lej: What if you're viewing the tooltip of an item without it? |
20:41.00 | Shadowed | did you check key1/key2 values yet too |
20:41.23 | Shirik | Lej: You should never assume anything, really. Test the values before you perform math on them |
20:41.59 | Shirik | I find Lua's result for 0/0 ... interesting |
20:42.15 | Cide | >>> 1/0, 0/0 |
20:42.15 | Cide | Cide: attempt to call a nil value |
20:42.19 | Lej | I'll print out the some info on the vars ab we'll see |
20:42.20 | Cide | >>> return 1/0, 0/0 |
20:42.20 | Cide | Cide: 1.#INF -1.#IND |
20:42.36 | Cide | I also like |
20:42.42 | Cide | >>> return (0/0) == (0/0) |
20:42.42 | Cide | Cide: false |
20:43.02 | Shirik | hm |
20:43.07 | Shirik | >>> return (1/0) == (1/0) |
20:43.07 | Cide | Shirik: true |
20:43.11 | Shirik | interesting |
20:43.15 | Shirik | that's mathematically correct, too |
20:43.23 | Shirik | 0/0 is not equal to 0/0 because 0/0 is undefined |
20:43.28 | Shirik | but 1/0 does have a value |
20:43.30 | Cide | yup |
20:43.55 | Cide | I had a nice bug where my health bar was going across the whole screen |
20:44.06 | Cide | because I did HealthBar:SetValue(0/0) |
20:44.09 | Shirik | haha |
20:44.15 | Cide | so now I have... |
20:44.23 | Cide | if ( health ~= health ) then HealthBar:SetValue(health); end |
20:44.34 | Cide | s/~=/==/ |
20:45.05 | Shirik | wow |
20:45.10 | Shirik | that's.... interesting |
20:45.13 | Kaso | thats pretty clever |
20:45.17 | Shirik | anyone who runs by that would be like "what the hell" |
20:45.30 | Cide | haha, yeah |
20:46.25 | krka | imo, you should check for bad values _before_ you even get to that point |
20:46.25 | Shirik | >>> return ((0/0) ~= (0/0)) |
20:46.25 | Cide | Shirik: true |
20:46.31 | krka | i.e. before the division |
20:46.36 | *** join/#wowi-lounge nymbia (n=nymbia@71-218-138-197.hlrn.qwest.net) |
20:47.06 | Shirik | I'm honestly surprised lua even allows the division |
20:47.17 | Shirik | considering most processors and languages throw exceptions when you attempt to divide by zero |
20:47.37 | *** join/#wowi-lounge Guillotine (n=Guilloti@ns.motek-services.com) |
20:48.02 | Cide | krka: actually, I think I do now.. I can't find that piece of code anymore |
20:48.28 | Cide | lua doesn't have exceptions really |
20:48.41 | krka | lua kinda does, in form of errors |
20:48.41 | Shirik | yeah but I mean |
20:48.43 | Cide | pcall() and error() |
20:48.54 | Cide | but that's not very strong :) |
20:48.58 | Shirik | x86 processor doesn't even allow division by zero |
20:49.03 | Shirik | so lua has to encapsulate that division |
20:49.07 | Shirik | I just tested it |
20:49.34 | Shirik | http://wowi.pastey.net/8354 followed by application crash |
20:50.37 | Cide | I wonder what python does |
20:51.00 | Cide | throws ZeroDivisionError for both 1/0 and 0/0 |
20:51.05 | Shirik | I know C would either fail to compile if the compiler can recognize it as division by zero, or cause an application crash if caught at runtime |
20:52.06 | Shirik | >>> return 1/0; |
20:52.06 | Cide | Shirik: 1.#INF |
20:52.14 | Shirik | >>> return -1/0; |
20:52.14 | Cide | Shirik: -1.#INF |
20:52.21 | Shirik | >>> return 2/0; |
20:52.21 | Cide | Shirik: 1.#INF |
20:52.31 | Shirik | hrm |
20:52.50 | Cide | >>> return -0/0 |
20:52.50 | Cide | Cide: -1.#IND |
20:53.21 | Lej | ok so for some reason ProspectInfo_OreData["Copper Ore"]["Data"]["Malachite"]["Drop"] resturns nil |
20:53.32 | Lej | now if I just could find out why |
20:54.06 | Kaso | Lej do you have devtools? |
20:54.13 | Lej | nope, I got notepad |
20:54.16 | Shirik | ~devtools |
20:54.18 | purl | Iriel's DevTools, a highly useful set of debugging tools for developers on WoW. Found at http://www.wowinterface.com/downloads/fileinfo.php?id=3999 Why isn't it in the default client yet? |
20:54.28 | Kaso | with that ^ you can do /dump ProspectInfo_OreData |
20:54.34 | Kaso | and it will show you the whole table layout |
20:54.41 | Lej | that would be helpful indeed |
20:55.19 | Shirik | It's so helpful, it's shown on one of the ui screens on the WoWI Updater! |
20:55.28 | Shirik | Also because it seemed a good neutral party :P |
20:55.38 | bleetah | and ditch notepad, use a more advanced editor such as http://notepad-plus.sourceforge.net/ |
20:55.47 | Shirik | or SciTE |
20:55.55 | bleetah | yup |
20:55.58 | Lej | I got SciTE acually |
20:56.10 | Shirik | then why are you using notepad |
20:56.19 | Cide | textpad ftw |
20:56.22 | Shirik | and bleetah should be using vi |
20:56.24 | haste | vim ftw! |
20:56.33 | Lej | well it stared as a 10 line script then it just grew :< |
20:56.34 | bleetah | hey shirik.. the WoWI update .. darg and drop targets |
20:56.41 | krka | interesting... this means i need to handle this in my code |
20:56.49 | bleetah | Shirik: who sez I ain't? :P |
20:56.52 | bleetah | *drag |
20:57.05 | Shirik | drag and drop what? The addon folders? |
20:57.33 | bleetah | when I get real bored, I rip out hexedit(1) |
20:57.38 | bleetah | nah, the DL links |
20:57.46 | Shirik | drag them onto the addon? |
20:57.57 | Shirik | in the main frame? |
20:58.05 | bleetah | drag the addon's DL onto the download manager |
20:58.09 | bleetah | I dunno, I ain't seen a working version yet :P |
20:58.13 | Shirik | heh |
20:58.22 | Lej | so how do you dump? /dump ProspectInfo_OreData? |
20:58.27 | Shirik | shows you a pic of the main frame at http://code.google.com/p/wowiupdater |
20:58.39 | Shirik | bleetah: I think I know what's going on and I know of a way to fix it, too |
20:58.47 | Shirik | so hopefully linux will work soon enough |
20:58.56 | Shirik | chewing coffee? |
20:59.39 | bleetah | none of this low-fat caffeine free sugar free distilled water crap for me |
20:59.56 | Lej | yay I found the problem |
20:59.56 | bleetah | almost like turkish coffee where the spoon will stay vertical |
21:00.04 | Lej | forgot to clean saved variables |
21:00.08 | Lej | I think |
21:00.32 | bleetah | never ceased to amaze me back in my youf when I delivered pizzas.. people would order pizza with the lot, and extras.. etc etc etc... and a bottle of diet coke. DIET COKE WTF!? |
21:00.42 | Shirik | hahah I know |
21:00.55 | Shirik | or order a big mac, supersize, with fries, and a diet coke |
21:01.07 | bleetah | aye |
21:01.27 | Lej | maybe they just like the taste :P |
21:01.38 | Shirik | Does it taste good? I can't try it, I'm allergic :( |
21:01.58 | Shirik | my mom's fault, she is too >.> |
21:02.11 | bleetah | only way it'd taste good is if their taste buds had been first burned off with some oxy gear |
21:02.18 | Shirik | hah |
21:06.27 | Lej | do you have to restart WoW when editing .toc or xml? |
21:06.42 | Cide | depends on what you do |
21:06.44 | Cide | for xml, no |
21:06.59 | Lej | added another scipt file in the xml |
21:07.02 | Cide | then yes |
21:07.07 | Cide | well |
21:07.14 | Cide | ya, I think so |
21:07.40 | Cide | I don't use xml's very often anymore so I can't remember for certain.. but I'm almost positive you have to restart then, yeah |
21:08.40 | Shadowed | as long as the file was in the folder when you logged in you can add it to XML without restarting i think |
21:08.48 | Shadowed | dont remember ever having to |
21:15.53 | *** join/#wowi-lounge nymbia_ (n=nymbia@71-218-138-197.hlrn.qwest.net) |
21:16.54 | Shadowed | we don't have to specifically load TGA, i always figured they loaded them all and if it sees them used in XML or TOC it loads them |
21:17.13 | Lej | when are saved variables laoded? |
21:17.24 | Lej | before the OnLoad event? |
21:17.32 | Shadowed | When VARIABLES_LOADED is fired |
21:18.05 | *** join/#wowi-lounge cogwheel|work (n=chatzill@intra.kistlerwine.com) |
21:18.49 | *** join/#wowi-lounge Cartman (n=cartman_@120.80-202-45.nextgentel.com) |
21:23.20 | wereHamster | Cide, I've heard you don' |
21:23.44 | wereHamster | t have to restart WoW if you add a script to the toc file, only if you change a ## field |
21:24.01 | Cide | users complain all the time if I do that, because they get errors on load |
21:24.34 | Cide | but it might have something to do with if the file is in there when you launch wow, dunno |
21:26.13 | Shadowed | wereHamster: Add or add and remove? |
21:28.30 | wereHamster | don't know |
21:28.39 | *** join/#wowi-lounge Royal (n=m@cp291458-b.landg1.lb.home.nl) |
21:29.22 | wereHamster | but I understood it that you have to restart WoW only if you change ## fields, everything else is reread on /reloadui |
21:29.38 | wereHamster | .. but I never tested it myself |
21:30.30 | cogwheel|work | wereHamster: any change to the .toc file requires a restart |
21:32.18 | Shadowed | Why is that anyway? What are they trying to prevent |
21:32.18 | cogwheel|work | don't think it's necessarily anything like that... it just loads them all at once and then caches them |
21:32.18 | cogwheel|work | it's just "how it works" |
21:32.19 | cogwheel|work | You can get around it by using an XML file to load all your scripts & other XMLs |
21:32.29 | cogwheel|work | (except of course the metadata) |
21:32.37 | Shadowed | yeah I know that, was just wondering if they had a specific reason for not reloading the TOC file |
21:32.54 | cogwheel|work | probably just a "'cause that's how it's always been done" :) |
21:33.34 | Shadowed | guess so! |
21:35.28 | Lej | is there any easy way to merge two similar arrays? |
21:36.55 | Kaso | merge? |
21:37.02 | *** join/#wowi-lounge cladhaire (n=jnwhiteh@WoWUIDev/WoWI/Featured/Dongle/cladhaire) |
21:37.02 | *** mode/#wowi-lounge [+o cladhaire] by ChanServ |
21:37.51 | Shadowed | turn { "foo", "bar" } and { "candy", "bar" } into { "foo", "bar", "candy", "bar" } is what he meant I'd imagine |
21:39.09 | Lej | yes |
21:39.14 | Lej | pretty much |
21:39.38 | Kaso | for i,val in ipairs(secondTable) do table.insert(firstTable,val) end |
21:40.10 | Kaso | thats if its a numeric indexed table, if it has anything else as its key use |
21:40.34 | Kaso | for key,val in pairs(secondTable) do firstTable[key]=val end |
21:41.14 | Lej | that should be useful |
21:45.12 | Lej | ProspectInfo_Settings = { UseBaseData = true }; why does ProspectInfo_Settings.UseBaseData return nil? |
21:45.42 | Cide | it doesn't |
21:45.54 | wereHamster | WoW scans the _whole_ directory structure under the installation directory at startup |
21:45.55 | Cide | >>> ProspectInfo_Settings = { UseBaseData = true }; return ProspectInfo_Settings.UseBaseData |
21:45.55 | Cide | Cide: true |
21:46.18 | Lej | then I'm doing something else wrong ^^ |
21:46.32 | Cide | is it a saved variable? |
21:46.58 | Lej | Cide: ... >_< |
21:47.07 | Cide | that doesn't help |
21:47.33 | Lej | it is a saved var and it had gotten saved as nil |
21:47.55 | Cide | there you go |
21:48.07 | Cide | I think AnduinLothar is the one to blame for that :P |
21:48.15 | AnduinLothar | ? |
21:48.19 | cogwheel|work | haha |
21:48.32 | Cide | saving savedvariables as nil |
21:48.33 | cogwheel|work | it used to be that savedvariables didn't save nils |
21:48.51 | AnduinLothar | iriels |
21:49.04 | Cide | I thought he didn't want that |
21:49.09 | AnduinLothar | i liked the way it used to be |
21:49.19 | AnduinLothar | but iriel wanted cleaner SV |
21:49.33 | Cide | I thought you said you said you wanted it "the old way", but it was misinterpreted or something |
21:49.38 | wereHamster | .. it started doing that somewhere around 1.9, that's why it takes a few seconds until I get to see the login screen, wine is slow at directory scaning |
21:49.55 | AnduinLothar | oreo |
21:50.13 | Stephmw | wereHamster: are you still using your branch of wine? |
21:50.24 | Cide | if you mean a few seconds from launch -> display of username/password boxes.. that happens for everyone |
21:51.00 | Shadowed | isn't that the anti virus thing? |
21:51.28 | Cide | if it is what I just said, then yes |
21:51.29 | cogwheel|work | yep |
21:51.52 | cogwheel|work | it downloads a new copy of scan.dll when you start up |
21:52.30 | *** join/#wowi-lounge wobin (n=wobin@218-214-59-86.people.net.au) |
21:52.35 | wereHamster | Stephmw, yes |
21:54.17 | wereHamster | Cide, interesting.. time to 'chmod 0000 Scan.dll' then.. just like during BC beta testing |
21:54.42 | krka | those were the days! |
21:54.59 | krka | that was around the same time i decided not to buy wow ever |
21:55.20 | wereHamster | you mean BC.. ? |
21:55.24 | krka | i thought to myself, if blizzard goes down this path, it could really make my linux gaming more difficult |
21:55.27 | krka | yes |
21:55.34 | krka | well, bc and wow |
21:55.44 | Shadowed | well if you're using Linux in general you should probably realise you wont have an easy time with games |
21:55.55 | Shadowed | s/easy time/aways have an easy time/ |
21:57.17 | krka | some games yes |
21:57.22 | krka | wow worked perfectly fine |
21:57.30 | wereHamster | WoW has worked surprisingly well for me.. but I'm hacking on wine, and quickly fix all bugs that break WoW :P |
21:58.57 | Stephmw | wereHamster: great to know :) |
21:59.23 | Stephmw | wereHamster: btw, I'm on wine 0.9.32 and I don't notice any difference between that and your branch, am I missing something? |
22:00.07 | wereHamster | btw, someone will be rewriting dsound as a google SoC project, so hopefully all the sound issues will be fixed later this year |
22:01.17 | Stephmw | wonderful :) |
22:01.32 | Stephmw | now we just need someone to RE the ventrilo protocol and things will be peachy |
22:01.57 | cogwheel|work | wereHamster: do you have any idea how to get FSAA working on nvidia cards in WoW? |
22:02.14 | cogwheel|work | (not that I can even install any version of linux on my computer atm...) |
22:02.19 | wereHamster | cogwheel|work, my branch has a quick hack for that |
22:03.11 | cogwheel|work | i'll have to get in touch with you if i ever get something running... |
22:04.02 | wereHamster | http://pastey.net/8360 - should also apply onto vanilla wine |
22:05.10 | bleetah | cogwheel|work: I can confirm wereHamster's patch there works |
22:05.21 | cogwheel|work | neat :) |
22:05.45 | cogwheel|work | Now to twiddle my thumbs waiting for a linux distro that will actually install on my computer... |
22:05.52 | bleetah | hehe |
22:06.01 | bleetah | write the driver yerself ya lazy sod! :P |
22:06.06 | bleetah | j/k |
22:06.08 | cogwheel|work | haha |
22:06.15 | wereHamster | Stephmw, with vanilla wine, there is a ~1 second delay between a keypress and the corresponding sound, and that is very annoying, and also dangerouns if you need to quickly respond to situations |
22:06.33 | cogwheel|work | I'm sure by the time I a) figure out how, and b) actually do it, there will have been 50 or so distros I could've used... |
22:06.49 | bleetah | cogwheel|work: what was the chip name again? |
22:07.01 | wereHamster | maybe it's because my soundcard doesn't have a hardware mixer, but it's annoying nonetheless |
22:07.22 | bleetah | software mixing ftl |
22:07.24 | Stephmw | wereHamster: ah. I'll bear it in mind - so far I'm just ambling through the 60-70 level quests |
22:07.29 | Lej | what sign does lua use for Not? if I want to invert a boolean: var = Not var |
22:07.42 | wereHamster | well.. onboard soundchip and only PCI-E slots |
22:07.47 | Stephmw | bah, I can't fit a soundcard in my shuttle box |
22:07.59 | wereHamster | ICE1424 (nForce) here |
22:08.03 | Stephmw | yeah, onboard sound.... sounds a little... scratchy at times |
22:08.06 | wereHamster | 1724 |
22:08.09 | Stephmw | as well as stuttering |
22:08.13 | cogwheel|work | JMB 363. I can get kernels > 2.6.18 to boot on it, but even with all-generic-ide none of them will see the drive |
22:09.13 | Stephmw | hmm, says CK8S and Realtek ALC655 |
22:09.19 | bleetah | m-audio delta66 24bit 96kHz glory http://www.m-audio.com/products/en_us/Delta66-main.html |
22:09.55 | Shadowed | Lej: var = not var |
22:09.56 | haste | Lej: var = not var |
22:10.00 | haste | oh, hey |
22:10.35 | Cide | I prefer |
22:12.03 | Cide | nevermind, I'm lazy |
22:15.23 | bleetah | cogwheel|work: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=15e0c694367332d7e7114c7c73044bc5fed9ee48 |
22:16.21 | cogwheel|work | gah... i don't feel like compiling my own installer :| |
22:16.28 | cogwheel|work | i'm not *that* much of a linux geek :P |
22:16.45 | bleetah | cogwheel|work: heh, fair enough... take it as 'news' then that's it's being looked at pretty seriously |
22:17.26 | cogwheel|work | I know... it's been since September when I first tried though... 6 months is a long time to wait :( |
22:17.38 | Stephmw | bleetah: any idea how you can tell from there which release it's gone into (if any)? |
22:18.16 | bleetah | Stephmw: poke around the git tree, I guess ;) |
22:18.16 | wereHamster | I'd guess it's in 2.6.18rc2, ot 2.6.19 at the latest |
22:18.42 | bleetah | yeah, it'd seem it's in the test version of the next ubuntu, and stuff.. I don't have a 2.6.20 kernel here to look at |
22:18.43 | Stephmw | ah. at work we have a <fixed in release XXX> field on our error tracker, hence my question |
22:19.10 | bleetah | Stephmw: ok, then look at the kernel bug tracker :P |
22:24.54 | bleetah | cogwheel|work: I'm seeing some reports that current ubuntu will work with an updated bios (1.6) and IOAPC disabled within the BIOS, this on an MSI p965 Neo mobo ... http://www.ubuntuforums.org/showthread.php?t=234706&page=28 |
22:25.18 | cogwheel|work | i'm using an asus p5b, but i'll see if that helps... |
22:25.22 | cogwheel|work | <3 ubuntu ;) |
22:25.47 | bleetah | "I can now confirm that Ubuntu 6.10 will install and boot with the latest BIOS update for JMicron motherboards. For me, the mobo is ASUS P5B Deluxe with the latest BIOS update (any of the two that were released on Jan 07)." |
22:25.52 | bleetah | post #278 |
22:26.06 | cogwheel|work | neat :) |
22:26.29 | bleetah | g'luck mate.. I know you've been dieing to try it out if anything was reported as 'working'.. so, figured I'd hand on the info |
22:26.35 | bleetah | don't blame me tho if it still don't work rofl |
22:26.39 | cogwheel|work | hehe |
22:26.41 | cogwheel|work | i won't |
22:26.45 | cogwheel|work | and i wouldn't be surprised XD |
22:27.03 | bleetah | just blame Alan Cox for screwing up the original driver ;) |
22:27.19 | Lej | does += or a similar operator exist in lua? |
22:27.23 | wereHamster | no |
22:27.24 | Cide | no |
22:27.56 | *** join/#wowi-lounge Shadowedd (n=outlaw@12.157.177.162) |
22:28.32 | bleetah | cogwheel|work: although, having blamed Coxie, if it requires a BIOS update on the mobo to work.. blame the mobo manufacturer ;) |
22:28.55 | cogwheel|work | heh |
22:31.31 | cogwheel|work | I actually just switched from an ECS P965T to the asus p5b after a failed bios update... I know there are a LOT more p5b users out there so i had hoped it would increase my chances of finding a solution :) |
22:43.05 | *** join/#wowi-lounge ckknight (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com) |
22:43.54 | wereHamster | bleetah, `git-rev-name --tags 15e0c694367332d7e7114c7c73044bc5fed9ee48` will show you where it first appeared in.. apparently v2.6.18-rc2 |
22:45.20 | Kaso | http://kasoo.net/img/imgs/azhararocks.jpg |
22:46.21 | *** part/#wowi-lounge Wing87 (n=Wing@c83-254-245-120.bredband.comhem.se) |
22:47.02 | *** join/#wowi-lounge Osagasu (n=Kronus@208.104.156.29) |
22:47.53 | bleetah | wereHamster: yeah, reading through that Ubuntu forum, it states that the Ubuntu folks backported it into their 2.6.17 kernel |
22:47.54 | zenzelezz | so, what are we looking at in that picture? |
22:48.04 | Kaso | The phallic rocks. |
22:48.28 | zenzelezz | I guess I should be happy I didn't make that association |
22:48.35 | Kaso | ha |
22:48.58 | bleetah | that rock formation 'features' in 'the internet is for porn' wow video |
22:49.09 | Kaso | I did not know that |
22:49.22 | Kaso | it had to be deleberately put in though, i mean its so perfect |
22:49.52 | cogwheel|work | You know, I didn't see what you were referring to until you said that... |
22:50.22 | Kaso | Perhaps ive just got a childish psyche |
22:50.42 | cogwheel|work | Nah... i just thought i was supposed to be looking at the UI or something... |
22:50.55 | Kaso | my UI was pretty crap back then also |
22:52.27 | TC_Working | "Women should be obscene and not heard." ~ Groucho Marx |
22:54.11 | Lej | Any tips on how I I would get the names of the items I get when I prospect a stack of ore? |
22:55.04 | cogwheel|work | scan through the loot window when it opens as a result of prospecting? |
22:58.32 | *** join/#wowi-lounge dinesh (n=chatzill@c-68-36-168-161.hsd1.nj.comcast.net) |
22:59.06 | bleetah | "You can lead a horticulture but you can't make her think" ~ Dorothy Parker |
22:59.26 | bleetah | hmm, major reprogramming time |
23:00.31 | TC_Working | "Being a woman is a terribly difficult task since it consists principally in dealing with men." ~ Joseph Conrad |
23:00.54 | *** join/#wowi-lounge zenzelezz_ (n=zenzelez@ti131310a341-1829.bb.online.no) |
23:02.06 | bleetah | "If all the young ladies who attended the Yale promenade dance were laid end to end, no one would be the least surprised." ~ Dorothy Parker (again) |
23:02.16 | Lej | so something like setting a var to true when casting prospect and then when loot get items if var is true and set var to false? |
23:02.34 | TC_Working | "Women are nothing but machines for producing children." ~ Napoléon Bonaparte |
23:02.50 | *** join/#wowi-lounge Tuller (n=chatzill@c-68-57-185-39.hsd1.va.comcast.net) |
23:05.03 | *** join/#wowi-lounge kaso (n=kaso@resnet29.nat.lancs.ac.uk) |
23:05.45 | bleetah | nn wereHamster|zZz |
23:08.28 | *** join/#wowi-lounge ckknight (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com) |
23:13.27 | *** join/#wowi-lounge Shirik (i=nospam@rrcs-67-78-171-230.se.biz.rr.com) |
23:21.42 | Shirik | >>> a = string.char(13)..string.char(10).."PRIVMSG Shirik hello"; return string.char(string.byte(a),string.byte(a,2))..string.sub(a,3); |
23:21.42 | Cide | Shirik: "\r\nPRIVMSG Shirik hello" |
23:22.39 | Cide | still trying? :) |
23:22.52 | Cide | btw... |
23:22.56 | Shirik | my match isn't for another 2 hours I need something to do >< |
23:23.09 | Cide | >>> return string.char(13)..string.char(10) == string.char(13, 10) |
23:23.09 | Cide | Cide: true |
23:23.29 | Shirik | >>> return string.byte(string.char(13)); |
23:23.30 | Cide | Shirik: 13 |
23:23.31 | Cide | might save you some typing :) |
23:23.39 | Shirik | boo |
23:24.24 | Cide | hehe |
23:24.27 | foxlit | quit/exit/stuff? :) |
23:25.08 | Corrodias | i have a program! it makes it so pressing the windows key (but not combinations) doesn't do anything! |
23:25.10 | Corrodias | it's nice! |
23:25.15 | Shirik | >>> return string.char(26).."return 1;"; |
23:25.15 | Cide | Shirik: " |
23:25.23 | Shirik | something still bugs me about that char 26 |
23:25.26 | Shirik | why it does that |
23:25.27 | *** join/#wowi-lounge zenzelezz_ (n=zenzelez@ti131310a341-1929.bb.online.no) |
23:26.01 | Corrodias | if that's the End Of File, then the IRC client receiving, or perhaps Cide's thing that's sending, the information decides that's the premature end of the stream |
23:26.13 | Corrodias | is my guess |
23:26.37 | cogwheel|work | http://www.asciitable.com/ |
23:26.50 | Shirik | well it can't be the IRC server assuming the end of the stream, otherwise it would logically either (a) disconnect the client for an EOF error, or (b) accept that the following string is the next command |
23:26.53 | Shirik | both of which aren't true |
23:27.13 | Shirik | cogwheel|work: All it says is 26 = "Substitute" which means nothing to me. After some research I found out, though, that 26 is the Windows EOF marker |
23:27.46 | Corrodias | i dunno |
23:27.57 | Corrodias | it could say "hmm, end of the message. rest is garbage". |
23:28.00 | cogwheel|work | ah yes... I forgot that code 1-26 are represented by ctrl-A - ctrl-Z |
23:28.04 | cogwheel|work | ctrl-Z being eof |
23:28.10 | Shirik | I remember seeing something about some temporary file in cide's script |
23:28.14 | Corrodias | i'm not the one who programmed every program involved here |
23:28.22 | Shirik | so I'm wondering if it makes a premature end of that temp file |
23:28.28 | Shirik | but if that were the case, I'd expect a lua error |
23:28.35 | Legorol | ~porn |
23:28.36 | purl | Porn remains one of the largest problems with Open Source Software. Often causing development delays, flooded links and, in extreme cases, disabling programmers ability to type. |
23:28.40 | Legorol | bah.. |
23:28.42 | Legorol | ~forporn |
23:28.45 | Cide | hehe |
23:28.51 | Legorol | what's wrong with purl |
23:29.00 | Shirik | ~purl |
23:29.02 | purl | i guess purl is one awesome bot! |
23:29.02 | Corrodias | nothing? |
23:29.03 | Cide | I think you haven't quite figured out the architecture behind the "bot" |
23:29.20 | Shirik | not really, and it doesn't help that I don't know python |
23:29.22 | Corrodias | cairenn, typing really fast |
23:29.26 | Shirik | haha |
23:29.35 | Corrodias | oh, you mean the Cide Lua Interpreter |
23:29.45 | Shirik | the CLI |
23:29.52 | Cairenn | hmmm? |
23:29.55 | Shirik | hai! |
23:30.35 | Legorol | so what's the link.. |
23:30.39 | Legorol | and why is purl not responding |
23:30.46 | Cairenn | ~for porn |
23:30.47 | purl | http://www.infested.dk/uploads/Forporn.avi |
23:30.58 | Legorol | ah, with a space |
23:31.03 | Legorol | thanks Cairenn, ever the helpful |
23:31.16 | Cairenn | welcome |
23:31.28 | Cairenn | still wonder what the other was about, but /shrug |
23:31.32 | bleetah | Cairenn: trust you to know where the pr0n is :-P |
23:31.35 | Shirik | >>> a = ""; for i = 5, 15 do a = i .. ": " .. string.char(i).. " "; end return a; |
23:31.36 | Cide | Shirik: "15: " |
23:31.46 | Shirik | >>> a = ""; for i = 5, 15 do a = a .. i .. ": " .. string.char(i).. " "; end return a; |
23:31.46 | Cide | Shirik: "5: 6: 7: 8: 9: 10: \n 11: 12: 13: \r 14: 15: " |
23:32.14 | Gnarfoz | err |
23:32.26 | Gnarfoz | >>> a = ""; for i = 5, 15 do a = a .. i .. ": " .. string.char(i).. " "; end return a; |
23:32.26 | Cide | Gnarfoz: "5: 6: 7: 8: 9: 10: \n 11: 12: 13: \r 14: 15: " |
23:32.28 | Gnarfoz | lol. |
23:32.31 | bleetah | sweet |
23:32.31 | Gnarfoz | ascii beep |
23:32.35 | *** part/#wowi-lounge _aLF (n=Alexandr@aix73-2-88-160-210-8.fbx.proxad.net) |
23:32.37 | Cide | I get a beep too =( |
23:32.39 | Shirik | haha |
23:32.56 | Shirik | >>> return string.rep(7, 10); |
23:32.56 | Cide | Shirik: "7777777777" |
23:33.01 | Shirik | >>> return string.rep(string.char(7), 10); |
23:33.02 | Cide | Shirik: "" |
23:33.08 | Cide | does it beep for everyone in irc? :P |
23:33.13 | Shirik | nope |
23:33.22 | Shirik | >>> return string.rep(string.char(7), 50); |
23:33.22 | Cide | Shirik: "" |
23:33.28 | Cide | bastards |
23:33.30 | Shirik | haha |
23:33.58 | bleetah | I know it won't beep in gaim, 'coz we could never be bothered to implement gaim_bell.. IM bells/dings etc. are annoying ;) |
23:34.05 | Shirik | heh |
23:34.40 | Shirik | >>> return string.char(127); |
23:34.40 | Cide | Shirik: "" |
23:35.00 | Shirik | >>> return string.char(141); |
23:35.00 | Cide | Shirik: "Â" |
23:35.20 | Shirik | >>> return string.char(268); |
23:35.20 | Cide | Shirik: [string "return string.char(268);"]:1: bad argument #1 to 'char' (invalid value) |
23:35.36 | Shirik | Cide wins :( |
23:35.46 | Shirik | I'm completely out of ideas |
23:36.31 | Shirik | >>> return string.rep(string.char(26), 1000); |
23:36.31 | Cide | Shirik: " |
23:36.47 | Shirik | did you impose a string limit btw? |
23:36.54 | Cide | ya |
23:37.05 | Cide | >>> return string.rep("a", 10000) |
23:37.06 | Cide | Cide: "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa |
23:37.10 | Shirik | good good |
23:37.41 | Shirik | >>> return type(table) |
23:37.41 | Cide | Shirik: "table" |
23:39.42 | *** join/#wowi-lounge ckknight (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com) |
23:39.51 | *** join/#wowi-lounge snurre- (n=snurre@AVelizy-153-1-101-229.w90-35.abo.wanadoo.fr) |
23:40.31 | Cide | I think most of your ideas fail because my script is so simple :P |
23:41.13 | Shirik | >>> function a(n) if (n == 0) return 0; else return n, select(1, a(n-1)); return a(100); |
23:41.13 | Cide | Shirik: attempt to call a nil value |
23:41.15 | foxlit | Is that LUA? |
23:41.17 | *** join/#wowi-lounge morganm (n=morganm@cpe-66-27-91-184.san.res.rr.com) |
23:41.19 | Cide | yes |
23:41.19 | Shirik | >>> function a(n) if (n == 0) return 0; else return n, select(1, a(n-1)); end return a(100); |
23:41.19 | Cide | Shirik: attempt to call a nil value |
23:41.27 | Shirik | >>> return type(select); |
23:41.27 | Cide | Shirik: "function" |
23:41.35 | Shirik | >>> function a(n) if (n == 0) then return 0; else return n, select(1, a(n-1)); end return a(100); |
23:41.36 | Cide | Shirik: attempt to call a nil value |
23:41.50 | Corrodias | youre using semivolons |
23:41.55 | Corrodias | you're using semicolons |
23:41.56 | Cide | semicolons are fine :) |
23:42.00 | Shirik | lua ignores them |
23:42.00 | Corrodias | i don't think his script liked them before |
23:42.09 | Cide | doesn't matter |
23:42.11 | Corrodias | hm, okay |
23:42.13 | foxlit | >>> return type(os); |
23:42.13 | Cide | foxlit: "nil" |
23:42.18 | Cide | it takes it all and puts it into the lua interpreter |
23:42.47 | Cide | >>> function a(n) if (n == 0) then return 0; else return n, (a(n-1)); end return a(100) |
23:42.47 | Cide | Cide: attempt to call a nil value |
23:42.56 | Shirik | wtf? |
23:42.59 | Cide | >>> local a; a = function(n) if (n == 0) then return 0; else return n, (a(n-1)); end return a(100) |
23:42.59 | Cide | Cide: attempt to call a nil value |
23:43.09 | Cide | oh |
23:43.13 | Cide | we're stupid |
23:43.17 | Cide | >>> function a(n) if (n == 0) then return 0; else return n, (a(n-1)); end end return a(100) |
23:43.17 | Cide | Cide: 100 99 |
23:43.20 | Corrodias | you are? |
23:43.28 | Cide | Shirik and I are :P |
23:43.35 | Shirik | >>> function a(n) if (n == 0) then return 0; else return n, select(1, a(n-1)); end end return a(100) |
23:43.35 | Cide | Shirik: 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 7 |
23:43.41 | Shirik | hmmm you protected against that too |
23:43.42 | Shirik | touche |
23:43.51 | Shirik | omg I missed an end. .. |
23:43.51 | Corrodias | protected against...? |
23:44.09 | Cide | spam |
23:44.10 | Shirik | Corrodias: against a flood |
23:44.14 | Corrodias | ah |
23:44.25 | foxlit | What about more evil things? |
23:44.26 | foxlit | >>> i = 0; while true do i = i + 1 end |
23:44.28 | Corrodias | yeah, i'd assume he just has a maximum output length on the whole thing |
23:44.32 | Cide | foxlit: maximum execution time (5s) exceeded |
23:44.34 | Shirik | there's a maximum time foxlit :P |
23:44.56 | foxlit | And no libraries loaded? |
23:44.56 | Shirik | and don't try resetting the debug hook too; I caught that a while back too |
23:44.57 | Corrodias | >>> return "foxlit is a doodiehead" |
23:44.57 | Cide | Corrodias: "foxlit is a doodiehead" |
23:45.01 | Corrodias | he sure is |
23:45.02 | Shirik | oh they're loaded |
23:45.19 | Shirik | but then Cide does something like _G['debug'] = nil; before we get to our code |
23:45.34 | Corrodias | debug hook? see, Lua is way more fun than Java |
23:46.30 | Shirik | >>> a = {}; for key, pair in pairs(_G) do if (type(pair) == "table") then table.insert(a, key); end end return select(1, key); |
23:46.30 | Cide | Shirik: |
23:46.40 | Shirik | no global tables?! |
23:46.44 | Shirik | that can't be right |
23:46.58 | Shirik | oh whoops |
23:47.01 | Shirik | that was moronic |
23:47.11 | Corrodias | what's select(1, key)? |
23:47.14 | Corrodias | what's select? |
23:47.16 | Shirik | a stupid statement |
23:47.24 | foxlit | >>> k = 0; for key, pair in pairs(_G) do if (type(pair) == "table") then k = k + 1 end end return k; |
23:47.24 | Cide | foxlit: 8 |
23:47.29 | Cide | select(1, ...) doesn't have much of a use :P |
23:47.33 | Cide | select(1, ...) == ... |
23:47.40 | Shirik | sure it does |
23:47.46 | Shirik | >>> function a(n) if (n == 0) then return 0; else return n, select(1, a(n-1)); end end return a(100) |
23:47.46 | Cide | Shirik: 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 7 |
23:47.48 | Shirik | that used it |
23:47.53 | Shirik | if you didn't use select... |
23:48.00 | Cide | >>> function a(n) if (n == 0) then return 0; else return n, a(n-1); end end return a(100) |
23:48.00 | Cide | Cide: 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 7 |
23:48.02 | Shirik | >>> function a(n) if (n == 0) then return 0; else return n, a(n-1); end end return a(100) |
23:48.03 | Cide | Shirik: 100 99 98 97 96 95 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 79 7 |
23:48.04 | Shirik | oh |
23:48.05 | Corrodias | >>> select(3, {a, b, c, d}) |
23:48.05 | Cide | Corrodias: |
23:48.06 | Shirik | hm |
23:48.07 | Cide | idenical output :) |
23:48.07 | Shirik | oops |
23:48.11 | Cide | s/idenical/identical/ |
23:48.12 | Shirik | I thought it only took the first |
23:48.19 | Corrodias | i guess i don't know how select works |
23:48.20 | Shirik | ok so select(1, ...) is worthless |
23:48.26 | Shirik | select(n, ...) means |
23:48.39 | Corrodias | what does ... mean? |
23:48.39 | Shirik | return all parameters in ... starting with parameter # n |
23:48.44 | Cide | ... is a list |
23:48.44 | Shirik | means any number of parameters |
23:48.47 | foxlit | k = ""; for key, pair in pairs(_G) do if (type(pair) == "table") then k = k .. key .. " "; end end return k; |
23:48.52 | foxlit | Meh |
23:48.53 | Corrodias | >>> select(2, a, v, s, r, s) |
23:48.53 | Cide | Corrodias: |
23:48.53 | Shirik | so like.... |
23:48.54 | foxlit | >>> k = ""; for key, pair in pairs(_G) do if (type(pair) == "table") then k = k .. key .. " "; end end return k; |
23:48.54 | Cide | foxlit: "wow _G coroutine string bit table arg math " |
23:48.56 | Cide | select(2, 1, 2, 3, 4, 5) == 2, 3, 4, 5 |
23:48.57 | Corrodias | liar |
23:49.22 | Shirik | >>> k = ""; for key, pair in pairs(_G) do if (type(pair) == "table") then k = k .. key .. " "; end end return k; |
23:49.23 | Cide | Shirik: "wow _G coroutine string bit table arg math " |
23:49.24 | Corrodias | i just tried that |
23:49.32 | Shirik | oh I missed that result :P |
23:49.39 | Corrodias | _G has a reference to itself. that's cute. |
23:49.43 | Shirik | >>> k = ""; for key, pair in pairs(arg) do if (type(pair) == "table") then k = k .. key .. " "; end end return k; |
23:49.43 | Cide | Shirik: "" |
23:49.45 | Corrodias | >>> _G = nil |
23:49.46 | Cide | Corrodias: |
23:49.52 | Shirik | >>> k = ""; for key, pair in pairs(arg) do if (type(pair) == "function") then k = k .. key .. " "; end end return k; |
23:49.52 | Cide | Shirik: "" |
23:50.05 | Shirik | >>> k = ""; for key, pair in pairs(coroutine) do if (type(pair) == "function") then k = k .. key .. " "; end end return k; |
23:50.05 | Cide | Shirik: "resume yield status wrap create running " |
23:50.10 | Shirik | hm |
23:50.44 | Corrodias | oh noes |
23:50.56 | Corrodias | >>> select(2, a, v, s, r, s) |
23:50.56 | Cide | Corrodias: |
23:50.57 | Shirik | >>> coroutine.create(function() while(true) do end end); return 1; |
23:50.58 | Cide | Shirik: 1 |
23:51.01 | Corrodias | so you'd have to explain to me why that does nothing |
23:51.08 | Corrodias | oh |
23:51.11 | foxlit | vsrs undefined? |
23:51.12 | Corrodias | >>> return select(2, a, v, s, r, s) |
23:51.12 | Cide | Corrodias: |
23:51.22 | Corrodias | >>> return {select(2, a, v, s, r, s)} |
23:51.22 | Cide | Corrodias: table: 0089B560 |
23:51.23 | Shirik | >>> a = coroutine.create(function() while(true) do end end); return coroutine.resume(a); return 1 |
23:51.23 | Cide | Shirik: attempt to call a nil value |
23:51.37 | Shirik | >>> return type(coroutine); |
23:51.37 | Cide | Shirik: "table" |
23:51.44 | Cide | >>> return select(2, "a", "b", "c", "d", "e") |
23:51.45 | Cide | Cide: "b" "c" "d" "e" |
23:51.54 | Corrodias | ah |
23:51.57 | Cide | >>> return select(math.random(1, 5), "a", "b", "c", "d", "e") |
23:51.57 | Cide | Cide: "a" "b" "c" "d" "e" |
23:51.59 | Shirik | return type(coroutine.resume); |
23:52.03 | Shirik | >>> return type(coroutine.resume); |
23:52.03 | Cide | Shirik: "function" |
23:52.57 | Shirik | >>> a, b = coroutine.create(function() while(true) do end end); if (not a) return b; end return type(a); |
23:52.57 | Cide | Shirik: attempt to call a nil value |
23:53.00 | foxlit | >>> return string.rep(string.char(8),3).. "Hi!") |
23:53.00 | Cide | foxlit: attempt to call a nil value |
23:53.07 | Shirik | >>> return type(coroutine.create); |
23:53.08 | Cide | Shirik: "function" |
23:53.11 | Shirik | ... |
23:53.35 | foxlit | >>> return string.rep(string.char(8),3).. "Hi!" |
23:53.36 | Cide | foxlit: "Hi!" |
23:54.17 | Shirik | >>> function f() while (true) do end end; a, b = coroutine.create(f); if (not a) then return b; end return type(a); |
23:54.17 | Cide | Shirik: "thread" |
23:54.25 | Shirik | >>> function f() while (true) do end end; a, b = coroutine.create(f); if (not a) then return b; end return coroutine.resume(a); |
23:54.33 | Shirik | yes! |
23:54.38 | Shirik | I am victorious once again |
23:54.54 | foxlit | >>> function f() while (true) do end end; a, b = coroutine.create(f); if (not a) then return b; end return coroutine.resume(a); return "finished" |
23:55.07 | Cide | Shirik: "thread" |
23:55.07 | Cide | foxlit: attempt to call a nil value |
23:55.09 | Cide | weak |
23:55.12 | Shirik | =D |
23:55.28 | Corrodias | started an infinite thread? |
23:55.31 | Shirik | yup |
23:55.35 | Shirik | which doesn't have the debug hook |
23:55.52 | Corrodias | i really don't know what a debug hook is, sorry |
23:55.59 | Corrodias | i may be a career programmer, but i'm a noob ;P |
23:56.02 | Shirik | it's how Cide is causing the script to stop after 5 second |
23:56.06 | *** join/#wowi-lounge Bleeter (n=Bleeter@guifications/developer/bleeter) |
23:56.18 | Shirik | after each line of code your script executes, it goes to the debug hook function that Cide defined |
23:56.27 | Shirik | Cide tests it against the time to make sure 5s hasn't passed since start |
23:56.34 | Shirik | if it has, then the script is suspended with an error |
23:56.53 | Shirik | you do it with debug.sethook(), which Cide has blocked from us |
23:57.18 | Shirik | unfortunately, any new threads don't get hooked, so if I make a new thread, the new thread doesn't go to that function, thus time is never tested |
23:57.30 | foxlit | >>> x = 5; |
23:57.31 | Cide | foxlit: |
23:57.34 | foxlit | >>> return x; |
23:57.34 | Cide | foxlit: |
23:57.42 | Shirik | also, each script has its own space :P |
23:57.45 | Shirik | you can tell by doing this |
23:57.46 | foxlit | Meh, non-persistant environments aren't fun. |
23:57.54 | Shirik | >>> return tostring(_G); |
23:57.54 | Cide | Shirik: "table: 00941170" |
23:57.55 | Shirik | >>> return tostring(_G); |
23:57.55 | Cide | Shirik: "table: 003B1170" |
23:58.24 | Cide | try now |
23:58.32 | Shirik | >>> function f() while (true) do end end; a, b = coroutine.create(f); if (not a) then return b; end return coroutine.resume(a); |
23:58.40 | Cide | Shirik: "table: 003B1170" |
23:58.43 | Shirik | negative. |
23:58.44 | Cide | didn't work |
23:58.53 | Shirik | you should just do _G['coroutine'] = nil |
23:58.57 | Shirik | there's no use for it in these scripts |
23:58.57 | Cide | that's no fun |
23:59.16 | Shirik | I think |
23:59.17 | Shirik | what if you |
23:59.19 | Shirik | did this |
23:59.32 | foxlit | Does each coroutine get a fresh _G, then? |
23:59.33 | Cide | >>> function f() while (true) do end end; a, b = coroutine.create(f); if (not a) then return b; end return coroutine.resume(a); |
23:59.41 | Cide | Cide: "table: 003B1170" |
23:59.44 | Cide | nope |