00:00.32 | batrick | how intuitive! |
00:00.37 | Mortius | haha |
00:00.49 | Mortius | yeah can't believe you didn't find that yourself. gosh. |
00:00.59 | Mortius | it right there in the users folder! |
00:01.10 | Mortius | under appdata local virtualstore |
00:01.12 | Mortius | haha |
00:01.38 | Mortius | buried 6 folders deep, why not. |
00:01.45 | batrick | haha i found my 13MB combat log |
00:02.04 | Mortius | wow |
00:02.24 | wereHamster | I thought the limit on SV files was smaller |
00:02.43 | Esamynn|Reading | wereHamster: limit on SV files? |
00:02.55 | Esamynn|Reading | there is only 1 limit on SV files and it has nothing to do with the file size |
00:02.56 | wereHamster | how big a SV file can be |
00:03.21 | wereHamster | .. and what's the limit? number of nested tables? |
00:03.30 | Esamynn|Reading | number of unique constants |
00:03.40 | Esamynn|Reading | 2^18 - 1 |
00:04.47 | *** join/#wowi-lounge JoshBorke (n=Josh@r35h14.res.gatech.edu) |
00:05.31 | wereHamster | that's 65536*4-1.. possible that I hit this limut with my combat log addon :( |
00:07.20 | batrick | jeeze what a mess, wow is reading the WTF folder in C:\Program Files\WoW and writing to the WTF in virtual store |
00:07.35 | Esamynn|Reading | oh god |
00:07.50 | Esamynn|Reading | not only is it a hack, but it's a *BAD* hack |
00:08.08 | Mortius | installing wow somewhere outside /program files/ should fix that :) |
00:08.57 | batrick | think I'll do that right now >.> |
00:09.03 | Mortius | its made me not want to install things to program files anymore... |
00:11.46 | batrick | Esamynn|Reading? |
00:11.55 | Esamynn|Reading | Vista depresses me |
00:12.06 | batrick | it depresses me too |
00:13.08 | Mortius | there are some things I really like about it, but several things I don't. I decided to stick it out. I shouldn't have gotten it before more driver support was out though. |
00:13.42 | batrick | graphics drivers are a mess, as soon as I can get a better bootloader, i'm going to go back to xp |
00:13.53 | Mortius | I love the search on the startbar that instantly finds whatever I'm looking for. |
00:14.07 | Mortius | you using NVidia or ATI? |
00:14.23 | batrick | nvidia |
00:14.43 | Mortius | Are you using the beta drivers that were posted on around the 3rd of this month? |
00:14.49 | batrick | yes |
00:15.00 | Mortius | what issues are you having? |
00:15.27 | batrick | just random crap, start menu freaks our after a coupole hours of multi tasking, requires me to restart |
00:16.30 | batrick | other times, when using full screen apps, like wow, my other screen becomes a 3 year olds painting |
00:16.43 | Mortius | Oh thats a feature. It's so you make sure to take a break after staring at the screen too long and thinking too hard. M$ cares. |
00:17.32 | Mortius | oh thats strange. :( thought maybe you were having a similar issue as me, or one I've resolved, but nope. |
00:18.01 | batrick | http://smg.photobucket.com/albums/v733/nakisawame/?action=view¤t=GMjoke-1.jpg |
00:18.02 | batrick | hah |
00:18.52 | Mortius | lol.. I just talked to a GM today myself. |
00:19.25 | Mortius | I got an account warning :( |
00:20.42 | zenzelezz | why? |
00:20.45 | Mortius | apparently I was grouped with a pastors daughter and she felt she wouldn't get into heaven unless she reported my for saying "holy shit". |
00:20.54 | zenzelezz | ... |
00:21.52 | ag` | Mortius: you're kidding me! |
00:21.56 | Mortius | nope lol |
00:22.26 | Esamynn|Reading | well, that is technically a violation I suppose |
00:22.38 | Esamynn|Reading | but why she didn't have her profanity filter on is beyond me |
00:22.51 | Mortius | yeah, I tried to use that, but apparently that is no excuse. |
00:22.57 | Esamynn|Reading | no, it's not |
00:22.58 | [dRaCo] | you got a warning for saying "holy shit"? |
00:23.12 | Esamynn|Reading | you can if someone bothers to report you |
00:23.16 | ag` | batrick: omg they're fixing inner fire. |
00:23.20 | Mortius | yes, well I scrolled back into my group and that was the only thing I saw that could of been offensive. |
00:23.22 | [dRaCo] | lol |
00:23.45 | Mortius | it just said "offensive or vulgur language" |
00:23.59 | [dRaCo] | any consequences? |
00:24.02 | Mortius | none. |
00:24.11 | Mortius | said "account action: warning" |
00:24.11 | batrick | shit is less offensive than damn imo... and CMs use damn |
00:24.43 | Mortius | my second warning, got one in december, that one was well deserved, lol. |
00:25.00 | Mortius | someone stole my mob and I was having a bad day. lets just leave it at that. |
00:26.44 | Mortius | well, it was a little worse then that.. was that stupid quest in westfall where you got to take the traitor back to the entrance of VC. this guy saw me coming, went and grabbed tons of mobs and then died right on me |
00:27.10 | Mortius | so all the mobs aggroed the quest mob after he died, and I had to restart. |
00:27.12 | Esamynn|Reading | can you say, griefing |
00:27.22 | Mortius | yeah, so I called him a F'n A*hole. |
00:27.28 | Mortius | warning #1. |
00:28.05 | Karrion | I like to take my swearing out on the gold-seller whisper bots |
00:28.14 | Mortius | lol |
00:28.25 | Karrion | they're much less likely to report you ;-) |
00:28.38 | Mortius | I got like 10 of those yesterday on my level 1 that I was testing code with. |
00:29.00 | Esamynn|Reading | I swear, the gold selling ads have gotten a lot worse in the last couple months |
00:29.04 | Karrion | yeah there seems to be a particular one at the moment |
00:29.21 | Esamynn|Reading | I've gotten more this year than in all of 05 and 06 combined |
00:29.41 | Esamynn|Reading | substantially more |
00:29.44 | wereHamster | I don't understand why blizzard doesn't band their accounts.. |
00:29.48 | Mortius | well, people must be buying. if people would stop then they would go away. |
00:30.21 | Mortius | I think its more revenue for blizz in a way.. some people want to buy their money and not work for it.. if they can't then maybe they wouldn't be playing... |
00:30.22 | Karrion | yeah, either: there's a lot of business about with people wanting their epic flying mount |
00:30.44 | wereHamster | blizzard could make a simple whisper filter that would catch those adds, report the name of the seller and than a GM could ban that account |
00:30.46 | Karrion | or, the business has dried up more since BC, and they're desperate for buyers |
00:31.00 | Mortius | or maybe its really blizzard selling the gold! :O what a scam that would be. |
00:31.05 | [dRaCo] | there are addons to do that ^^" |
00:31.19 | ag` | So what's up with the troll bandwagon about the movie 300 on the general boards? |
00:31.20 | Esamynn | I used to report every ad I saw or got in the mail |
00:31.28 | Esamynn | I don't always bother anymore |
00:31.34 | wereHamster | I don't think the gold sellers would continue with those adds if they had to buy a new account every other day |
00:31.44 | Mortius | yeah no kidding lol |
00:31.47 | bleetah | saw someone on Ravenholdt US today complaining in General about forged or simulated AH CoD mail.. I couldn't stick 'round that long to see what was really going on, or ask questions |
00:32.06 | *** join/#wowi-lounge Kirov_ (n=Kirov@c-71-198-144-193.hsd1.ca.comcast.net) |
00:32.14 | bleetah | I guess similar to the Argent Dawn CoD scam |
00:32.18 | Esamynn | wereHamster: except that, I bet they DO! |
00:32.45 | Esamynn | maybe not quite that often, but I'd be very surprised if Blizzard wasn't VERY quick to ban accounts were the evidence was cut and dry |
00:32.57 | Esamynn | s/were/where/ |
00:33.38 | Mortius | s/kidding/maybe |
00:33.38 | wereHamster | does blizzard use a automatic filter or do they only react on user complaints? |
00:33.42 | Mortius | :( |
00:34.06 | Mortius | they don't seem to be doing either really. |
00:35.29 | Mortius | It wouldn't be THAT hard to find all these accounts that are mailing lots of money to various people, you would think.. |
00:36.26 | Mortius | I know two people, one in real life, who has bought gold from them before. |
00:37.32 | Karrion | thing is, say blizz bans once a day, they'd have to buy a new account every day, that's what, ~$US50/day? |
00:37.57 | Mortius | true.. |
00:38.02 | Karrion | so if they can make more than that, which means basically a single sale per day, it's still worth doing it |
00:38.28 | Mortius | that also means it's more beneficial to blizzard to ban accounts.. heh |
00:38.37 | Karrion | yeah it does |
00:39.06 | *** join/#wowi-lounge Gryphen (n=masked@c-76-104-130-0.hsd1.wa.comcast.net) |
00:39.17 | Mortius | It's not the ad's, there has to be gold farmers.. high level ones. ban those ones. |
00:39.32 | Mortius | leveling back up to 70 isn't so quick. |
00:39.51 | [dRaCo] | you cant ban someone for farming gold |
00:40.06 | Mortius | what about if you farm gold and send 1000's to various people daily |
00:40.13 | Corrodias | NOPE |
00:40.18 | Corrodias | sorry about caps, that's my vent key |
00:40.21 | Mortius | haha |
00:40.38 | Mortius | I use scroll lock.. wtf is scroll lock suppose to be used for anyway |
00:40.45 | Corrodias | if i were feeding gold to my alts, i'd be rather irritated for being banned |
00:40.53 | wereHamster | scroll lock = priceless in a terminal |
00:41.11 | Mortius | oh heh, shows you how much I use that. |
00:41.25 | Mortius | yes, I can see feeding to someone on your own account.. |
00:41.33 | wereHamster | ^s and ^q :) |
00:41.34 | Mortius | but to 30-40 other accounts.. |
00:42.05 | Karrion | but they wouldn't, they'd feed to one or two low level mules on throwaway accounts |
00:42.20 | Karrion | and use them to distribute to buyers |
00:42.32 | Mortius | you would think it would leave a trail |
00:42.37 | Mortius | in a log file somewhere |
00:42.47 | Karrion | probably laundered through the AH and things a couple of times |
00:44.27 | *** join/#wowi-lounge Gngngsk (n=gngsk@c-69-138-213-251.hsd1.md.comcast.net) |
00:45.09 | *** join/#wowi-lounge Tricky (i=Tricky@ppp-69-236-51-82.dsl.irvnca.pacbell.net) |
00:45.20 | Tricky | can i ask a question about a talent build here? |
00:45.51 | Cairenn | you can, you may or may not get an answer |
00:46.06 | Tricky | is a cold blood, http://www.wowhead.com/?talent=ihecox0oZhZE0fc0hRob, build good for leveling from 23-70? |
00:46.14 | Tricky | it gives burst damage and lots of crits and + damage, so it seems good |
00:46.36 | Tricky | all i seem to see in sword combat builds are tons of like 15 second buff skills etc., which seem useless for me |
00:47.30 | Mortius | that is basically the build I was told was best to level. that was one persons opinion told to me. |
00:47.37 | Tain | Levelling builds that rely on stealth are slower to level. |
00:47.49 | Shadowed | Combat with a sword or a mace are better for leveling |
00:48.07 | Tain | Yeah. I like mace for levelling, but it depends on what weapons you can get. |
00:48.16 | Nom- | Yeah Sword/Mace > All for levelling |
00:48.16 | [dRaCo] | sword based sinister strike builds are pretty easy to play and do good dps, I'd go for that |
00:48.16 | Tain | Whatever the best sword or mace you can get for your level is what you should be using. |
00:48.21 | Tricky | so i should just follow the guide at http://www.wowwiki.com/Rogue_Builds#Shadowstep_Build_-_20.2F0.2F41 ? |
00:48.34 | Tricky | from 10-39 |
00:48.35 | Nom- | Other specs rely on crit rating, which is hard to get while levelling |
00:48.51 | Tricky | well i'm criting ALOT at level 23 o_o |
00:48.52 | *** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@64.193.93.197) |
00:49.06 | Tain | Ah a lot of Rogue armor that is auction house-able has lots of agi and crit or to hit. |
00:49.47 | Nom- | You want crit rating for other builds...+agi doesn't give enough |
00:50.07 | Nom- | And it's a lot easier to get uber swords and maces (with or without crit) |
00:50.12 | Tricky | yea... |
00:50.17 | Tricky | every single piece of equip i have is of the monkey |
00:50.25 | Tain | But for combat build levelling AGI is the way to go because you always get your dodge as well. |
00:50.38 | Nom- | +agi doesn't give enough crit to justify speccing away from combat :) |
00:50.50 | Tain | Nothing justifies speccing away from combat while levelling. |
00:50.52 | Tricky | right now! i have a Sword of Decay main handed and Blackfang offhanded |
00:50.58 | Tricky | and i have no talent points used |
00:51.15 | Tricky | crit chance 9.37% |
00:51.58 | Nom- | Anyone know of some good healing trinkets? This is what i've got now: http://armory.worldofwarcraft.com/character-sheet.xml?r=Stormscale&n=Innominata |
00:52.22 | Tricky | so i just use http://www.wowhead.com/?talent=fGebox0scZM with two swords or a mace main handed and sword offhanded |
00:53.25 | Tricky | tons of people say dual dagger is better, saying they do more dps crit better and its better for poison |
00:53.25 | Tricky | =( |
00:53.51 | [dRaCo] | I'd go for something like http://www.wowhead.com/?talent=fGe0oxZMeEz0Vzx0hot |
00:53.59 | Tain | Daggers won't do more dps while levelling. |
00:54.07 | Tain | Dagger builds will do more dps if you can stand behind someone the whole time. |
00:54.17 | [dRaCo] | friend of mine's got a rogue like that... easy to play, lots of dps, great |
00:54.41 | Tricky | what's that build called on wowiki draco/ |
00:55.15 | [dRaCo] | dunno, just made it up from memory ;) |
00:55.33 | Tricky | alright, thanks for the help |
00:56.19 | Tricky | i might as well just follow those guides but change it to what would help me the most |
00:56.23 | Tricky | kinda stupid to just follow the guide 100% |
00:56.36 | [dRaCo] | Nom-: http://www.wowhead.com/?item=28370 and http://www.wowhead.com/?item=28190 |
01:00.14 | [dRaCo] | you could as well get rid of combat potency and that ultimate and go for cold blood instead... I don't like cb for levelling, though |
01:00.59 | Nom- | bleh endless blessings is pointless for a pally :( |
01:01.04 | Nom- | 2% mana regen is going to be nothing |
01:01.23 | Nom- | The other one looks good tho |
01:01.24 | Nom- | I'll have to *sigh* go back to BM again |
01:01.56 | [dRaCo] | it's not 2%, it's more |
01:02.29 | [dRaCo] | and the 130 spirit buff is great while enervating :D |
01:03.16 | [dRaCo] | at least it is for chars who don't get lots of mana from crits :þ |
01:10.29 | Nom- | hmmmmmm |
01:10.39 | Nom- | CTProfiles has the wrong stats for Blessed Bracers |
01:10.53 | Nom- | They've got +35 damage, but it's +57 Healing |
01:12.03 | Nom- | http://ctprofiles.net/5199854 <-- anyone recommend any better pre-raid gear ? |
01:12.25 | Tricky | are wolfclaw gloves made or found |
01:12.27 | Nom- | That's what i'm aiming for btw, not what i've got |
01:12.34 | Nom- | If I had all that gear, i'd be over the moon lol |
01:14.00 | Nom- | It's not the 10k mana that I wanted, but I don't think it really matters with that layout of skills' |
01:14.04 | Nom- | *gear |
01:26.48 | *** join/#wowi-lounge WobWork (n=WobWork@202-129-81-206.perm.iinet.net.au) |
01:26.59 | WobWork | http://www.youtube.com/watch?v=NZNTgglPbUA |
01:27.03 | WobWork | That's all kinds of cool =) |
01:39.14 | Nom- | woooooo |
01:39.21 | Nom- | Fully buffed i'll be getting 174-175mp5 |
01:39.25 | Nom- | On that gear |
01:39.29 | Nom- | My goal was 180mp5 :) |
01:39.45 | Nom- | If I pop a flast, then that's another +70 |
01:39.55 | Nom- | *flask |
01:42.00 | *** join/#wowi-lounge sergio_ (n=sp@unaffiliated/sergio) |
01:51.35 | AnduinLothar | I need the regex to capture "hi",nil from "hi" and also "hi","bye" from "hi,bye" |
01:57.26 | *** join/#wowi-lounge batrick (n=batrick@d00-64-106-86-242.dhcp.unm.edu) |
02:00.12 | Nom- | /(hi),([bye|])/ |
02:00.19 | AnduinLothar | in lua |
02:00.39 | Nom- | /(hi),(bye|)/ |
02:00.56 | Nom- | That's a perfectly suitable regex, dunno if the LUA regex is different from perl tho |
02:01.19 | AnduinLothar | sorry. I need any generic strings |
02:01.45 | AnduinLothar | first string ends at the first , |
02:01.54 | AnduinLothar | or the end of the string, whichever comes first |
02:02.04 | Nom- | /(.*?),*(.*)/ |
02:02.19 | AnduinLothar | didn't knwo you could stack *? |
02:02.31 | Nom- | .* is greedy |
02:02.33 | Nom- | .*? isn't |
02:02.43 | AnduinLothar | learn something new.. |
02:02.52 | Nom- | As I said, i'm not sure how different regex in LUA is |
02:03.02 | Nom- | <-- perl programmer |
02:03.08 | AnduinLothar | is there a greedy one or none? |
02:03.50 | Nom- | no because one-or-none is a fixed length |
02:04.21 | AnduinLothar | <PROTECTED> |
02:04.24 | Nom- | basically, in perlre, /.*?,/ matches to the first ',', but /.*,/ matches to the last comma |
02:04.42 | Nom- | Yeah that works too (or it should) |
02:06.46 | *** join/#wowi-lounge Shirik (i=nospam@rrcs-67-78-171-230.se.biz.rr.com) |
02:12.42 | AnduinLothar | lua doesn't recognize *? qq |
02:13.26 | Iriel | Eh? |
02:16.40 | Sstixrud | What is the recommended way for determining what lang a client is in and based on that determine what functions like UnitClass(unit) will return? |
02:16.59 | Iriel | Sstixrud: I'd imagine GetLocale() |
02:17.11 | bleetah | me waves to Iriel |
02:17.15 | bleetah | hope you're feling better, bloke |
02:17.24 | bleetah | s/me/\/me/ |
02:17.26 | Iriel | Somewhat |
02:17.29 | Iriel | still sound like a frog |
02:17.34 | bleetah | kermit? |
02:17.39 | Iriel | Deeper |
02:17.42 | Iriel | More croaky |
02:17.44 | bleetah | ooo |
02:17.50 | Iriel | Less like a helium accident |
02:17.53 | Sstixrud | Ok, but if my mod expects UnitClass(unit) to return warrior how do I deal with that for all of the langs? |
02:17.53 | bleetah | if i were a female frog... |
02:18.12 | bleetah | .. I wouldn't be on IRC. so it wouldn't do a thing for me. |
02:18.18 | Cairenn | lol |
02:18.20 | Iriel | UnitClass returns both localized and non-localized returns |
02:18.45 | Iriel | I think you want the 2nd value which is things like "WARRIOR" "HUNTER" etc |
02:19.05 | Sstixrud | Oh?? so I can force UnitClass to always return Warrior? Is this true for Debuff Type as well? |
02:19.27 | Iriel | For UnitClass you do local _,unitClass = UnitClass(unit) |
02:19.34 | Iriel | and then unitClass is locale-independent |
02:19.45 | Iriel | I suspect debuff type is not localized but I haven't verified |
02:19.55 | Iriel | Generally looking at the blizzard code is a good start |
02:22.41 | Sstixrud | thanks Iriel =). Now for a hard question heh Know of a good howto or example code that explains how one can go about creating custom actionbuttons (using SecureActionButtonTemplate) that do not share the 120 button ids? :) |
02:23.42 | Iriel | Sstixrud: I'd start by reading the SecureTemplates.lua code, specifically SecureActionButton_OnClick |
02:23.51 | *** join/#wowi-lounge PProvost (n=PProvost@WoWUIDev/WAU/Admin/Pprovost) |
02:24.47 | Sstixrud | I'll attempt to do so, I always have a hard time picking out what I need from large blocks of code :) |
02:24.59 | Iriel | Sstixrud: The million dollar question is whether you care about the ACTION or the visuals of the button |
02:25.25 | Sstixrud | I need them to behave and look just like normal actionbuttons, drag and drop from spellbook included |
02:25.48 | Iriel | Well, the drag and drop stuff you'll have to do yoruself, that's not quite so easy, but there are API functions to help you |
02:25.59 | Sstixrud | I just need to work around the 120 id limit |
02:26.17 | Esamynn | that is not a small task |
02:26.19 | Iriel | As far as casting spells goes: elseif ( type == "spell" ) then |
02:26.20 | Iriel | <PROTECTED> |
02:26.22 | Iriel | button); |
02:26.23 | Iriel | <PROTECTED> |
02:26.25 | Iriel | <PROTECTED> |
02:26.26 | Iriel | <PROTECTED> |
02:27.10 | Sstixrud | Well I have created a GroupButtons like mod, but am using the default ActionButtons |
02:27.23 | Sstixrud | which is a problem when you want to have 120 buttons or so all to yourself :) |
02:29.25 | Sstixrud | The mod works fine as is, but I have party, raid and pet actionbars shared across the same 12 button ids, 12 for player and 12 for target... and I select what button id's to snag during startup based on class. |
02:30.20 | Sstixrud | I figure I could save quite a few button ids by compressing used id's by detecting which buttons share the same spell and for those buttons use the same id.. but thats a lot of work and at best will cut my id usage in half |
02:31.02 | bleetah | gah, rolling restarts.. nice to see that Oceania is scheduled for out of peak time.. pity they give the time in PDT and not realmtime tho :/ |
02:31.07 | Iriel | For simple things like spells you can absolutely do without the action ids, but you do end up picking up some work for display and, as noted earlier, doing fully transparent drag and drop is tricky |
02:31.39 | Iriel | bleetah: Hah, forces you all to suffer the new earlyness of daylight savings in the US |
02:31.50 | Esamynn | fully transparent drag and drop, has the on mouse API matured to the point where that is completely possible yet? |
02:31.57 | Iriel | Esamynn: I dont remember |
02:32.01 | Sstixrud | well at present I only support spells on the actionbars... the hard part is getting started with creating custom buttons.. haven't known where to start |
02:32.13 | Esamynn | yah, neither do I |
02:32.18 | Iriel | Esamynn: My cold has slowed my brain to the speed of a mollusk |
02:32.54 | Sstixrud | I figured I could detect what button the cursor is over when I click the dragged spell over it and then just create the button |
02:33.28 | Iriel | * NEW: type, detail[,subdetail] = GetCursorInfo() -- one of "item",id,link / "spell",slot,"spell"|"pet" / "macro",index / "money",amount *2.0.3* |
02:33.34 | Iriel | I think that helps greatly |
02:33.36 | bleetah | "Based on the positive results of these tests, we’re happy to announce that we’ll be switching to a new maintenance schedule that will only require us to bring down realms for maintenance every other week." woot |
02:33.49 | Sstixrud | Iriel ya that is what I was reading about |
02:34.02 | Sstixrud | I think I can do that part, its the creation of the actual button that I am foggy on heh |
02:57.19 | *** join/#wowi-lounge Chardonnay (n=chardonn@cpe-76-174-27-139.socal.res.rr.com) |
02:57.41 | *** join/#wowi-lounge cogwheel (n=chatzill@67.164.121.134) |
03:06.11 | *** join/#wowi-lounge dinesh-work (n=chatzill@c-68-36-168-161.hsd1.nj.comcast.net) |
03:21.41 | *** join/#wowi-lounge gnor (n=jaydee@cpe-76-81-38-253.socal.res.rr.com) |
03:41.41 | *** join/#wowi-lounge rophy (n=Miranda@220-132-204-186.HINET-IP.hinet.net) |
03:44.49 | Nom- | ooo wtf new maintenance schedule ? |
03:46.11 | Nom- | omg no downtime 2nite ? |
03:57.54 | *** join/#wowi-lounge leethal (n=leethal@kri1-1x-dhcp373.studby.uio.no) |
04:01.43 | Cairenn | suffer along with me! http://www.ferryhalim.com/orisinal/g3/floats.htm |
04:06.26 | *** join/#wowi-lounge Kirkburn (n=Kirkburn@82-32-40-219.cable.ubr06.azte.blueyonder.co.uk) |
04:14.14 | Tain | I don't understand flots. :/ |
04:17.02 | *** join/#wowi-lounge norgs (n=ken@WoWUIDev/Norganna/Administrator/Norgs) |
04:17.02 | *** mode/#wowi-lounge [+v norgs] by ChanServ |
04:17.11 | *** join/#wowi-lounge ckknight (n=ckknight@198.199.136.146) |
04:33.31 | cogwheel | ahhh... good ol' "stuck at authenticating" forum flood.... |
04:33.36 | Sstixrud | what does _, mean in lua? |
04:33.50 | cogwheel | nothing special. _ is just a variable name |
04:33.58 | Sstixrud | like _, bleh = UnitClass(unit) |
04:34.20 | cogwheel | it's just a dummy variable. it's generally used when you don't care about the value being returned |
04:34.31 | Sstixrud | I see thanks |
04:35.00 | cogwheel | but it's still a completely valid variable and you could use it just like anything else |
04:39.18 | Sstixrud | cogwheel you heard if blizzard ever plans to increase button id's? |
04:39.51 | Iriel | Sstixrud: I find that extremely unlikely given the flexibility of SecureActionButtonTemplate |
04:39.54 | cogwheel | Only planned changes I've heard of are in the Upcoming 2.1 changes thread on the UI & Macros forum |
04:40.06 | Sstixrud | kk |
04:40.09 | cogwheel | on that note... |
04:40.12 | cogwheel | ~emulate cogwheel |
04:40.20 | purl | ACTION shakes its fist at the forums... http://ctscreens.net/5307 |
04:41.03 | Sstixrud | Iriel - perhaps, but not very newb friendly :) |
04:41.21 | Iriel | Sstixrud: One could argue that no newb needs more than 120 action slots |
04:41.35 | Sstixrud | one could =) |
04:41.52 | Iriel | Sstixrud: Really, to effectively manage vast numbers of skills one needs at least some undersdtanding of the implications and mechanisms behind them. |
04:42.52 | Sstixrud | I meant lua newb not player newb :) |
04:43.18 | Iriel | True, which is what my 2nd statement was intended to address |
04:43.23 | Iriel | More is not always better |
04:43.37 | Sstixrud | for my mod, more is pretty much a requirement |
04:44.06 | Sstixrud | I mean, I can use existing buttons but not without stepping on other mods/default ui's toes |
04:44.11 | Sstixrud | I really only need about 48 buttons total |
04:44.32 | Iriel | I'd argue that for your mod, some time by its author to better understand the API's and the implications of their use, is probably a requirement for it to become 'release quality'. |
04:44.42 | Iriel | The problem is when someone wants to use 4 or 5 mods like yours |
04:44.47 | Iriel | suddenly they need 700 action ID's |
04:44.57 | Iriel | and their machine slows to a crawl every time they cast a spell |
04:45.16 | Sstixrud | I have gone to great lengths to insure my mod has minimal performance impact |
04:45.33 | Sstixrud | including getting peer review on the performance critical compoents |
04:45.38 | Sstixrud | so I have been trying at least :) |
04:48.37 | Iriel | Sstixrud: To answer a question you posed earlier, creating an action button that casts a spell is easy.. local button = CreateFrame("Button", "SomeButtonName", UIParent, "SecureActionButtonTemplate"); button:SetAttribute("type", "spell"); button:SetAttribute(spell, "Fireball") |
04:49.14 | Iriel | Sstixrud: The messy part is (a) putting a visual skin on that button that matches its spell, and reacts to things like cooldown and range (b) Managing drag and drop from other things |
04:49.50 | Iriel | Sstixrud: Which I suppose is why you find yourself yearning for addiitonal action slots, since they provide pre-cooked code and API's to manage a whole bunch of that. |
04:50.59 | *** join/#wowi-lounge sergio_ (n=sp@unaffiliated/sergio) |
04:51.13 | cogwheel | Some day I plan on implementing action buttons that behave just like the default UI's but instead of using "action" attributes, they would use item, spell, or macro attributes. Maybe for CogsBar3 (i haven't even started coding 2 yet so don't hold your breath :P ) |
04:51.25 | Sstixrud | yup but i'll do what I must =). with some of the new wow functionality shouldn't it be pretty easy to detect all the dragged buttons attributes? Making the job of resetting icon and whatnot easier? |
04:51.42 | Iriel | Sstixrud: It'll be easier than it's ever been before 2.0 came out |
04:52.04 | Nom- | lol @ floats 1627 |
04:52.13 | Iriel | Sstixrud: Whether that's "easy" in any absolute sense depends greatly on how many devils are hiding in the details.. I thought the new spellcast events were an absolute blessing until I used them |
04:53.13 | Sstixrud | I hear ya heh |
04:56.56 | Sstixrud | Iriel thanks for pointing me in the right direction |
04:57.57 | Iriel | Good luck 8-) I expect if nothing else you'll learn a whole bunch and may create some code that others get to steal later 8-) |
04:58.20 | Iriel | Which of course is sometimes the greatest contribution we can give to the community |
04:59.31 | *** join/#wowi-lounge tedrock (n=tedrock@d235-157-172.home1.cgocable.net) |
05:01.12 | Sstixrud | heh, If any of my code makes it into the steal hall of fame I expect it will be my PreClick hack that lets the user steal attributes from active spells without casting the spell |
05:02.42 | Nom- | 4621 |
05:02.49 | Nom- | I don't think i'm going to do any better than that |
05:04.47 | Nom- | http://standen.id.au/pics/floats.jpg |
05:04.52 | Nom- | Just to prove my score ^_^ |
05:05.09 | Nom- | That was down to about a dozen left on level 5 |
05:05.21 | Nom- | it gets hard when there's 3 colours lol |
05:05.59 | Cairenn | the longer I play, the worse I get - 7122 the first time, down to 3643 now |
05:06.24 | Cairenn | damn thing is addicting |
05:06.58 | Nom- | i closed it |
05:07.03 | Nom- | can't afford more than 3 tries, which is what i did |
05:07.16 | Nom- | first time i sucked, because i didn't read the instructions |
05:07.17 | Cairenn | why is it that the simplest of things are the most addictive? not like this requires any great mental strain or anything |
05:07.35 | Nom- | It does require a lot of hand-eye coordination tho |
05:07.37 | Iriel | I'm tempted to try that tomorrow on my tablet |
05:07.47 | Nom- | tables are hard lol |
05:07.57 | Nom- | if you could draw on your screen...easy |
05:08.04 | Nom- | *tablets |
05:08.10 | Nom- | You can't see what you're drawing on |
05:08.12 | Nom- | So it's not easy |
05:08.15 | Iriel | That's what I do with my tablet |
05:08.26 | Iriel | (Tablet PC, not tablet input device) |
05:08.40 | Nom- | ahhhhhhhhhhhhhh |
05:08.47 | Nom- | Yes, that would be rather haxx :) |
05:09.06 | Cairenn | it'd be a cinch on a tablet |
05:09.09 | Nom- | The most annoying part was when it didn't close the circles properly |
05:09.26 | Nom- | Like, i'd have the perfect area over a whole heap of them |
05:09.32 | Nom- | and then it wouldn't close |
05:10.05 | Nom- | bleh need 3k thrallmar rep to get revered |
05:12.16 | *** join/#wowi-lounge subbawt (n=biggy@65.89.109.213) [NETSPLIT VICTIM] |
05:12.16 | *** join/#wowi-lounge [Ammo] (n=wouter@connected.dnd.utwente.nl) [NETSPLIT VICTIM] |
05:12.17 | *** join/#wowi-lounge Saroz (n=Saroz@0x57379922.sdnqu1.broadband.tele.dk) [NETSPLIT VICTIM] |
05:13.25 | Nom- | 3500 rep in fact |
05:13.46 | Iriel | Stop counting now! It'll be 5000 before you know it! |
05:15.22 | bleetah | great visual gag from a much missed aussie comedy sketch show -> http://www.youtube.com/watch?v=OpkKvmrwktY |
05:15.34 | Nom- | 8507/12000 |
05:15.35 | bleetah | Nom-: (micallef) |
05:15.37 | Nom- | Hopefully get that tonight |
05:16.01 | Nom- | 1.5 to 2 runs of SH |
05:16.09 | Nom- | If only there was some useful loot from SH for me :( |
05:16.57 | Nom- | Where does the SH key quest start from? |
05:17.00 | Nom- | That's what I need to do |
05:24.53 | *** join/#wowi-lounge Saroz_ (n=Saroz@0x57379922.sdnqu1.broadband.tele.dk) |
05:31.49 | Garoun|Loupana | the smith at Black Temple |
05:31.57 | Garoun|Loupana | Gorthuk Ithink is his name |
05:33.05 | Cairenn | ooo, new high score! 7274 |
05:35.00 | Nom- | LOL: http://jebus.geek.nz/WoW/armory/ |
05:35.07 | Nom- | have a look @ the hits per hour! |
05:39.52 | leethal | what's the formula for mob difficulty colors? http://www.wowwiki.com/Mob_difficulty_colors is outdated |
05:40.32 | *** join/#wowi-lounge ckknight (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com) |
05:40.50 | leethal | isn't it just every 3rd level? |
05:41.29 | leethal | hmm, perhaps not |
05:42.06 | Shirik | The thing is |
05:42.16 | Shirik | ignore that >.> |
05:42.26 | leethal | deal |
05:43.26 | Nom- | yeah that table is wrong |
05:43.30 | Nom- | coz 58 elites are grey :) |
05:43.54 | *** join/#wowi-lounge Retzy (n=Retzy@cblmdm72-241-37-23.buckeyecom.net) |
05:44.01 | Nom- | I beleive that they're green from 62-68 |
05:44.16 | Nom- | maybe even 63-68 |
05:44.26 | Nom- | but i've seen level 61 mobs that are grey |
05:44.46 | Nom- | hmm actually, maybe not |
05:44.52 | Nom- | 60 is definately grey tho...not sure about 61 |
05:45.06 | leethal | not sure either |
05:45.15 | leethal | I remember seeing a 61 that was grey, though |
05:45.32 | leethal | a player, that is, but I guess it's the same for players and mobs |
05:48.10 | Nom- | yeah it is |
05:50.54 | Nom- | brb |
05:51.00 | Nom- | hopefully |
06:07.40 | *** join/#wowi-lounge tedr0ck (n=tedrock@d235-157-172.home1.cgocable.net) |
06:09.52 | *** join/#wowi-lounge Achromat (n=yxxy@76.211.12.10) |
06:10.00 | Achromat | Hello. |
06:10.08 | *** join/#wowi-lounge batrick (n=batrick@d00-64-106-86-242.dhcp.unm.edu) |
06:10.09 | Shirik | morning |
06:14.25 | Achromat | Do you know where I could get a decent tutorial on creating or modifying unitframes in WoW? |
06:21.20 | *** join/#wowi-lounge nuoHep (n=nuOHEP@outer.test.e-larek.ru) |
06:21.29 | cogwheel | Achromat: there really isn't such a thing. your best bet is to look at existing mods or the default UI's code. |
06:24.00 | Achromat | Thanks. Perhaps you could answer this. How does one get his health and mana/rage/energy? |
06:24.19 | Achromat | Is there anywhere I could get a list of commands that do common things such as that? |
06:24.31 | cogwheel | wowwiki.com |
06:29.12 | Achromat | Found it. Thanks. |
06:33.44 | *** join/#wowi-lounge dolby-wowi_ (n=Dolby-wo@CPE-70-94-30-72.wi.res.rr.com) |
06:38.24 | *** join/#wowi-lounge rophy (n=Miranda@220-132-204-186.HINET-IP.hinet.net) |
06:53.23 | *** join/#wowi-lounge AnduinLothar (n=AnduinLo@ip68-99-187-213.oc.oc.cox.net) |
06:53.23 | *** mode/#wowi-lounge [+v AnduinLothar] by ChanServ |
06:56.00 | *** join/#wowi-lounge AnduinLothar (n=AnduinLo@ip68-99-187-213.oc.oc.cox.net) |
06:56.00 | *** mode/#wowi-lounge [+v AnduinLothar] by ChanServ |
07:08.05 | *** join/#wowi-lounge seebs_ (n=seebs@mail.seebs.net) |
07:36.06 | *** join/#wowi-lounge Seth275 (n=fu@xdsl-84-44-232-93.netcologne.de) |
07:41.12 | *** join/#wowi-lounge AnduinLothar (n=AnduinLo@ip68-99-187-213.oc.oc.cox.net) |
07:41.12 | *** mode/#wowi-lounge [+v AnduinLothar] by ChanServ |
07:56.26 | *** join/#wowi-lounge Mike-N-Go_ (n=MikeNGoS@64.193.93.197) |
08:01.26 | *** join/#wowi-lounge leethal (n=leethal@kri1-1x-dhcp373.studby.uio.no) |
08:03.37 | *** join/#wowi-lounge ZOAS (n=zoas@c-69-246-194-227.hsd1.in.comcast.net) |
08:17.25 | *** join/#wowi-lounge asser (n=asser@160.153.72.80.cirque.dk) |
08:22.26 | *** join/#wowi-lounge SunTiger (n=MoonWolf@a82-92-149-38.adsl.xs4all.nl) |
08:22.26 | *** mode/#wowi-lounge [+v SunTiger] by ChanServ |
08:31.46 | *** join/#wowi-lounge Elkano (i=Elkano@client0376.vpn.uni-saarland.de) |
08:37.01 | *** join/#wowi-lounge Stephmw[Zzzzz] (n=steph@212.69.51.139) |
08:54.38 | *** join/#wowi-lounge Telrin (n=test@klaagmuur.quince.nl) |
08:58.28 | leethal | can I do a SendWho and not get the default chat frame filled with stuff? |
08:59.18 | Mr_Rabies2 | censusplus supresses whos sent by the addon |
08:59.26 | Mr_Rabies2 | may wanna check its code out |
08:59.41 | leethal | ah, of course |
08:59.42 | leethal | thanks =D |
09:05.52 | Industrial | Its 13 3 7 today! |
09:06.34 | leethal | :O |
09:15.11 | Mr_Rabies2 | one more day until i'm 20 :x |
09:17.32 | *** join/#wowi-lounge Nom_ (n=nom@standen.id.au) |
09:17.54 | Nom_ | damn dodgy linux boxen |
09:18.09 | Nom- | Sometimes it just refuses to boot :( |
09:18.36 | *** join/#wowi-lounge asser_ (n=asser@160.153.72.80.cirque.dk) |
09:25.02 | *** join/#wowi-lounge Jocco_S (n=jocco@217-210-128-16-no18.tbcn.telia.com) |
09:29.31 | *** join/#wowi-lounge Nickenyfiken (n=najklord@83.145.59.23) |
10:07.31 | *** join/#wowi-lounge kaso (n=kaso@resnet08.nat.lancs.ac.uk) |
10:12.01 | *** join/#wowi-lounge [dRaCo] (i=drc@p5485BB3F.dip0.t-ipconnect.de) |
10:23.47 | *** join/#wowi-lounge Bleeter (n=Bleeter@guifications/developer/bleeter) |
10:24.48 | *** join/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |
11:11.27 | *** join/#wowi-lounge amro (n=amro@82.101.184.205) |
11:17.18 | *** join/#wowi-lounge SunTiger (n=MoonWolf@a82-92-149-38.adsl.xs4all.nl) |
11:17.19 | *** mode/#wowi-lounge [+v SunTiger] by ChanServ |
11:36.09 | *** join/#wowi-lounge Bleeter (n=Bleeter@guifications/developer/bleeter) |
11:36.20 | *** join/#wowi-lounge SunTiger (n=MoonWolf@a82-92-149-38.adsl.xs4all.nl) |
11:36.20 | *** mode/#wowi-lounge [+v SunTiger] by ChanServ |
11:36.48 | *** join/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |
11:45.05 | *** join/#wowi-lounge Legorol (i=Legorol@zr205.trin.cam.ac.uk) |
11:48.14 | *** join/#wowi-lounge GomiNoSensei (i=tonyd@d205-250-164-37.bchsia.telus.net) |
11:51.15 | *** join/#wowi-lounge mahiro (n=Miranda@149.14.78.83.cust.bluewin.ch) |
11:51.22 | mahiro | hi |
11:55.36 | mahiro | is there a method tocheck if a button highlight is locked ifk if i use Button:LockHighlight() |
11:56.12 | mahiro | licke button:GetLockHighlight()? |
11:57.50 | *** join/#wowi-lounge JoshBorke (n=Josh@r35h14.res.gatech.edu) |
12:01.56 | mahiro | hmm |
12:22.16 | *** join/#wowi-lounge Srosh (n=Srosh@c210091.adsl.hansenet.de) |
12:30.03 | *** join/#wowi-lounge Bleeter_ (n=Bleeter@guifications/developer/bleeter) |
12:34.41 | *** join/#wowi-lounge bleeta1 (n=Bleeter@thesheepdip.bleeter.org) |
12:40.01 | JoshBorke | purl, hug Cairenn |
12:40.26 | purl | ACTION jumps into Cairenn's lap and huggles and *hugs* Cairenn |
12:40.26 | *** join/#wowi-lounge GomiNoSensei (i=tonyd@d205-250-164-37.bchsia.telus.net) |
12:46.25 | leethal | purl, hug leethal |
12:46.29 | purl | ACTION hugs leethal |
12:46.38 | *** join/#wowi-lounge Beladona (n=beladona@josephpartners.com) |
12:46.38 | *** mode/#wowi-lounge [+o Beladona] by ChanServ |
12:48.18 | sysrage | purl, sex JoshBorke |
12:48.36 | sysrage | no botsex for you i guess :\ |
12:49.22 | Mr_Rabies2 | probably wouldn't be too enjoyable |
12:50.43 | bleetah | purl, I need a hug |
12:50.46 | purl | You need a hug? |
12:51.01 | bleetah | yes bish |
12:51.21 | JoshBorke | ~whaleslap bleet |
12:51.23 | purl | ACTION beats bleet upside and over the head with a freakishly huge killer whale named Hugh |
12:51.50 | bleetah | not a sperm whale or a bowl of petunias? |
12:51.51 | bleetah | /cry |
12:52.18 | Mr_Rabies2 | man that part of hhgttg was probably my favorite |
12:52.30 | Mr_Rabies2 | i love me some absurdist humor :p |
12:52.40 | sysrage | peculiarly it's only that was "oh no, not again" |
12:53.30 | sysrage | ya i probably butchered that word. it's too early to try to spell correctly |
12:53.57 | Mr_Rabies2 | i'm so tempted to read it again, it's been a while |
12:54.03 | sysrage | best book ever |
12:54.15 | Mr_Rabies2 | but man, i'm too lazy to read these days |
12:54.17 | Mr_Rabies2 | :[ |
12:54.36 | bleetah | I love how that whale and stuff continues in the tertiary phase |
12:54.41 | Mr_Rabies2 | free time = game/irc/forum time |
12:55.02 | bleetah | best thing about h2g2, is getting all the episodes from the radio show split up into their chapters, and then playing it on random |
12:55.24 | sysrage | i have mp3s of them all :) |
12:55.39 | Mr_Rabies2 | ha |
12:55.40 | bleetah | something from the end of the tertiary fitting right next to something from primary... just too bizarre |
12:55.49 | bleetah | my fave section, tho, is 'pussy want his fish?' |
12:55.51 | Mr_Rabies2 | my friend had them on his psp |
12:56.06 | Mr_Rabies2 | we listened to it in class because we had 2 hours of doing nothing in networking |
12:56.25 | Mr_Rabies2 | every day |
12:56.58 | Mr_Rabies2 | unless something on the local network for the kids learning A+ and 3d modeling classes was broken |
12:57.10 | Mr_Rabies2 | we'd fix that then go back to starcraft and hhgttg |
12:58.31 | bleetah | perhaps... |
12:59.10 | bleetah | ... six small black ones can look like one big white one |
12:59.18 | bleetah | perhaps i'd like a glass of whiskey |
12:59.23 | bleetah | yes, that seems more likely |
13:01.25 | wobin | <3 hhgttg |
13:01.25 | bleetah | I say what it occurs to me to say when I think I hear people say things |
13:01.29 | bleetah | more, I cannot say |
13:01.30 | wobin | have you tried playing the game? |
13:02.16 | bleetah | was the first game on the Amiga that I owned |
13:02.25 | bleetah | I seem to recall it taking me a week or so to get out of the bedroom |
13:04.05 | wobin | hehe have to move fast |
13:04.18 | wobin | there's a version with pictures on the BBC site I think |
13:04.22 | wobin | It's kinda cool |
13:05.51 | Mr_Rabies2 | man i tried it before i read the book |
13:05.52 | Mr_Rabies2 | so |
13:05.53 | wobin | http://www.bbc.co.uk/radio4/hitchhikers/game.shtml |
13:06.00 | Mr_Rabies2 | it didn't make ANY damn sense |
13:06.24 | wobin | hehe |
13:06.29 | wobin | even after the book =P |
13:06.38 | Mr_Rabies2 | i didn't understand douglas adams' logi |
13:06.41 | Mr_Rabies2 | c |
13:06.51 | wobin | he uses logic? =) |
13:06.52 | bleetah | yeah, I seem to recall Adams had it Flash'ed pretty early in the 'net's life |
13:07.04 | Mr_Rabies2 | his own twisted sense of it, wobin |
13:07.24 | wobin | anyway, gotta get to bed |
13:07.25 | wobin | night all |
13:09.42 | bleetah | nn wobin |
13:11.46 | bleetah | ". the Hitchhiker's Guide adventure game was one of the best-selling games of its era, selling some 350,000 copies. In 1984. " |
13:12.06 | bleetah | " Then graphics games came along and the computer using portion of the human race forgot all about 500,000 years of language evolution and went straight back to the electronic equivalent of banging rocks together - the point'n'click game." |
13:12.09 | bleetah | "Infocom and most of its competitors went to the wall - signalling the arrival of the post-literate society. " |
13:12.16 | bleetah | http://www.bbc.co.uk/radio4/hitchhikers/gamehistory.shtml |
13:14.03 | bleetah | i'm out, too |
13:14.05 | bleetah | nn Mr_Rabies2 |
13:14.25 | Mr_Rabies2 | see ya bleetah |
13:27.05 | *** join/#wowi-lounge rophy (n=Miranda@220-132-204-186.HINET-IP.hinet.net) |
13:28.01 | *** join/#wowi-lounge dinesh-work (n=chatzill@146.145.196.188) |
13:30.19 | *** join/#wowi-lounge bindi (n=indigo@d54C68DEA.access.telenet.be) |
13:32.28 | *** join/#wowi-lounge Bouvi (n=Bouvi@72.243.111.178) |
13:52.54 | *** join/#wowi-lounge beerke (n=beerke@5353E179.cable.casema.nl) |
13:53.46 | *** join/#wowi-lounge cogwheel (n=chatzill@c-67-164-121-134.hsd1.ca.comcast.net) |
14:04.49 | *** join/#wowi-lounge Wing87 (n=Wing@c83-254-245-120.bredband.comhem.se) |
14:14.30 | *** join/#wowi-lounge Funkeh` (n=funkydud@host81-157-152-169.range81-157.btcentralplus.com) |
14:18.57 | Mr_Rabies2 | you know, i noticed something funny about the narrator in crackdown |
14:19.09 | Mr_Rabies2 | i couldn't quite place it, but turns out he voices kel'thuzad. |
14:19.36 | Mr_Rabies2 | also uther and the necro/warriv from diablo 2 |
14:20.54 | Mr_Rabies2 | http://en.wikipedia.org/wiki/Michael_McConnohie |
14:21.55 | Mr_Rabies2 | Skills for kills, agent. Skills for kills. Your curiosity will be the death of you. |
14:22.20 | Mr_Rabies2 | Greetings, Stranger! Been a while since we've seen the likes of you around here! |
14:23.08 | *** join/#wowi-lounge MoonWolf (n=MoonWolf@g173217.upc-g.chello.nl) |
14:23.08 | *** mode/#wowi-lounge [+v MoonWolf] by ChanServ |
14:23.43 | *** join/#wowi-lounge Cide (n=Cide@81-226-233-5-no60.tbcn.telia.com) |
14:23.44 | *** mode/#wowi-lounge [+v Cide] by ChanServ |
14:29.16 | *** join/#wowi-lounge TS|Skrom_ (n=TS|Skrom@66.148.226.210.nw.nuvox.net) |
14:29.32 | *** part/#wowi-lounge TS|Skrom_ (n=TS|Skrom@66.148.226.210.nw.nuvox.net) |
14:36.47 | Kirkburn|afk | I'm still looking for Wii owners! Tell me! |
14:37.27 | haste | I have an Atari 2600 if it helps! |
14:37.38 | Kirkburn|afk | No. |
14:37.43 | Kirkburn|afk | It doesn't. |
14:38.33 | haste | :-( |
14:40.21 | Kirkburn|afk | Buy one! |
14:40.22 | Kirkburn|afk | To anyone with a Wii, my code is 6685-6650-2343-4699 |
14:50.30 | zenzelezz | http://www.rtl.de/news/games/europa_dart/ |
14:50.49 | *** join/#wowi-lounge Jens (i=Jens@pdpc/supporter/active/Jens) |
14:52.33 | *** part/#wowi-lounge Wing87 (n=Wing@c83-254-245-120.bredband.comhem.se) |
14:57.52 | Kirkburn|afk | I got within 44km of Moscow! |
14:57.59 | Kirkburn|afk | That was like 3 pixels |
14:58.20 | Kirkburn|afk | 19km to Lisbon :D |
14:59.33 | Kirkburn|afk | Oh wow, 7km to The Hague. I rock :) And thanks zenzelezz |
15:02.23 | Kirkburn|afk | 7620km total, 6 marks ... messed up towards the end |
15:03.34 | *** join/#wowi-lounge scotepi (n=scotepi@sw.mdihs.net) |
15:03.39 | *** part/#wowi-lounge scotepi (n=scotepi@sw.mdihs.net) |
15:11.28 | *** join/#wowi-lounge kaso (n=kaso@resnet10.nat.lancs.ac.uk) |
15:17.49 | Kirkburn|afk | Oh come one, someone must have also tried it |
15:17.55 | Kirkburn|afk | *on |
15:18.18 | zenzelezz | I placed Brüssel in Switzerland and Bucarest in Slovakia |
15:18.58 | Kirkburn|afk | Brussels in Switzerland, lol |
15:19.09 | Kirkburn|afk | The second one I can understand :) |
15:19.28 | Kirkburn|afk | When it comes to eastern europe, the boundaries change so often, it hard to remember who's who :P |
15:23.58 | dukeku | 7km from london! |
15:24.13 | dukeku | that game is biased, though. my screen isn't big enough to display spain... |
15:34.56 | *** join/#wowi-lounge kaso (n=kaso@resnet11.nat.lancs.ac.uk) |
15:45.46 | *** join/#wowi-lounge Wing87 (n=Wing@c83-254-245-120.bredband.comhem.se) |
15:50.20 | Kirkburn|afk | dukeku, what the hell are you viewing it on? A mobile?! |
15:51.08 | dukeku | no, a work monitor that only goes up to 1024x768 |
15:51.16 | dukeku | and i'm paranoid to maximize ;] |
15:51.17 | *** join/#wowi-lounge Osagasu (n=Kronus@208.104.156.29) |
15:51.21 | dukeku | a big ad blocks the bottom |
15:52.50 | *** join/#wowi-lounge Gryphen (n=gryphon@mail.alexdevco.com) |
16:23.40 | *** join/#wowi-lounge Lysistrata (n=Lysistra@xdsl-84-44-232-93.netcologne.de) |
16:25.06 | *** join/#wowi-lounge nuoHep (n=nuoHep@85.192.55.7) |
16:34.32 | *** join/#wowi-lounge beerke (n=beerke@5353E179.cable.casema.nl) |
16:44.04 | *** join/#wowi-lounge kahdgarxi (n=kahdgarx@64.16.47.157) |
16:44.07 | kahdgarxi | Morning |
16:44.14 | *** join/#wowi-lounge Cide (n=Cide@81-226-233-5-no60.tbcn.telia.com) |
16:44.14 | *** mode/#wowi-lounge [+v Cide] by ChanServ |
16:44.43 | kahdgarxi | quick question that the ref manual isn't providing an apparent answer to. (I probably just can't find it) |
16:44.55 | kahdgarxi | is the folloing correct? |
16:45.08 | kahdgarxi | if not <condition> do <action> end |
16:45.21 | Shirik | do should be "then" |
16:45.25 | Shirik | if you're talking lua |
16:45.29 | kahdgarxi | i am |
16:45.37 | kahdgarxi | right, then >.> |
16:45.46 | kahdgarxi | but the not will work correctly, yes? |
16:45.56 | Shirik | yes |
16:46.06 | Shirik | assuming condition is evaluatable as a boolean expression |
16:46.12 | kahdgarxi | right |
16:46.20 | kahdgarxi | thanks :) |
16:46.24 | Shirik | mhmm |
16:46.58 | Cide | >>> if ( true ) do return "hi" end |
16:46.58 | Cide | Cide: attempt to call a nil value |
16:47.00 | Cide | nope! |
16:47.28 | kahdgarxi | cide: right, it should be then rather than do |
16:47.29 | *** part/#wowi-lounge Wing87 (n=Wing@c83-254-245-120.bredband.comhem.se) |
16:47.31 | Cide | >>> if ( not false ) then return true end |
16:47.31 | Cide | Cide: true |
16:47.34 | kahdgarxi | my main concern was the not |
16:47.41 | Cide | kahdgarxi: oh, I know :) |
16:47.52 | Shirik | >>> message(1); |
16:47.53 | Cide | Shirik: [string "message(1);"]:1: attempt to call global 'message' (a nil value) |
16:47.56 | Shirik | you... |
16:48.01 | Shirik | have a lua interpreter in irc? |
16:48.06 | Cide | yep! |
16:48.10 | Shirik | that's awesome |
16:48.15 | kahdgarxi | neat |
16:48.29 | kahdgarxi | >>> return "I'm super cool!" |
16:48.29 | Cide | kahdgarxi: "I'm super cool!" |
16:48.43 | *** join/#wowi-lounge cncfanatics (n=cncfanat@214.26-201-80.adsl-dyn.isp.belgacom.be) |
16:48.43 | kahdgarxi | Yes Cide, yes you are. :) |
16:48.46 | sysrage | >>> die |
16:48.51 | kahdgarxi | lol |
16:49.17 | Cide | how're you going to do that? :) |
16:49.30 | Shirik | was thinking of some way to force you to message stuff, and go into a loop |
16:49.42 | Shirik | >>> echo(1); |
16:50.10 | Cide | Shirik: [string "echo(1);"]:1: attempt to call global 'echo' (a nil value) |
16:50.10 | Shirik | =( |
16:50.10 | Cide | the code is compiled as a function and only the return is printed |
16:50.10 | Cide | >>> return 1, 2, 3, 4, 5, 6, 7, 8, 9 |
16:50.10 | Cide | Cide: 1 2 3 4 5 6 7 8 9 |
16:50.10 | Shirik | there must be a way |
16:50.19 | Shirik | but I'm not mean |
16:50.28 | Shirik | hahah |
16:50.29 | sysrage | lol |
16:50.36 | kahdgarxi | lol |
16:50.46 | *** join/#wowi-lounge Cide (n=Cide@81-226-233-5-no60.tbcn.telia.com) |
16:50.46 | *** mode/#wowi-lounge [+v Cide] by ChanServ |
16:50.48 | Shirik | what was that? |
16:51.06 | Cide | no idea :P |
16:51.08 | Cide | >>> t = { 5, 3, 6, 2, 1, 9, 8 } table.sort(t); return unpack(t) |
16:51.12 | Cide | Cide: 1 2 3 5 6 8 9 |
16:51.37 | Shirik | >>> while(true) do end |
16:51.44 | Cide | Shirik: 1 2 3 5 6 8 9 |
16:51.46 | kahdgarxi | for index=1,index==10000,1 do value[index]=AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA end return value |
16:51.47 | Shirik | o.O? |
16:51.50 | Cide | that's cheap, Shirik :) |
16:51.53 | kahdgarxi | that should make him flood out |
16:51.55 | Cide | I had to cancel it manually! |
16:51.55 | Shirik | wtf was that return |
16:51.57 | Shirik | oh |
16:51.58 | Shirik | haha |
16:52.32 | kahdgarxi | lol |
16:52.33 | Shirik | kahdgarxi: that would be "for index=1,10000,1" |
16:52.44 | kahdgarxi | curses! |
16:52.51 | Shirik | and |
16:52.56 | Shirik | you need to put AAAAAAAAAAAAAAAAAAA in quotes |
16:52.57 | kahdgarxi | i can't ever seem to get anything right the first time >< |
16:53.04 | Shirik | and value needs to exist first |
16:53.13 | Cide | >>> value = { } for i = 1, 100000 do value[i] = "AAAAAAAAAAAAAAAAAA"; end return value |
16:53.13 | Cide | Cide: table: 0033B3D0 |
16:53.16 | Cide | not that fun :) |
16:53.54 | pastamancer | still haven't put a timeout on the lua eval? |
16:53.58 | *** join/#wowi-lounge Tuller (n=chatzill@c-68-57-185-39.hsd1.va.comcast.net) |
16:54.05 | Cide | hehe, nope |
16:54.38 | pastamancer | I'm sure windows has something that works like SIGALRM |
16:55.13 | *** part/#wowi-lounge asser (n=asser@160.153.72.80.cirque.dk) |
16:55.21 | Shirik | it has to |
16:55.28 | Shirik | otherwise it would never know how to mark something as "not responding" |
16:55.43 | pastamancer | well, threads |
16:55.45 | Shirik | well let me adjust what I said |
16:55.59 | Shirik | it has to know that a program isn't responding; it doesn't have to inform the program of that |
16:56.02 | zenzelezz | Windows just says they're not responding when, well, the messages to a window's message loop aren't being responded to |
16:56.34 | pastamancer | indeed |
16:58.27 | Shirik | hmm |
16:58.50 | Shirik | >>> value = { } for i = 1, 100000 do value[i] = "AAAAAAAAAAAAAAAAAA"; end return unpack(value); |
16:58.50 | Cide | Shirik: [string "value = { } for i = 1, 100000 do value[i] =..."]:1: stack overflow (table too big to unpack) |
16:58.54 | Shirik | blah |
16:59.01 | kaso | >>> test = function() return test() end return test() |
16:59.17 | Shirik | kaso wins |
16:59.28 | Shirik | that should stack overflow though eventually |
16:59.33 | kergoth | it does. |
16:59.47 | kaso | the functions are only small it should take a fair while to overflow |
16:59.59 | kaso | unless cide stops it manually and shouts at me first |
17:00.07 | Shirik | heh |
17:00.54 | kergoth | kaso: i tested that yesterday, it overflowed in under a second. |
17:01.01 | kahdgarxi | what happens if i tinsert to a table index higher than the current maximum (leaving a gap)? Will it create nul entries in the table to fill the space or automatically move it back down to remove the space? |
17:01.02 | kergoth | not sure why it hasnt come back yet for you |
17:01.10 | kaso | really? |
17:01.46 | Shirik | kahdgarxi: tables are not arrays, though they can be used to implement them |
17:01.51 | Shirik | thus there is no "gap" |
17:01.53 | *** join/#wowi-lounge cogwheel|work (n=chatzill@intra.kistlerwine.com) |
17:02.09 | Shirik | you can have a table with index [1], [2], [10], [400] |
17:02.14 | Shirik | and that table would only have 4 entries |
17:02.24 | kahdgarxi | i see |
17:02.39 | nevcairiel | but being a hash-table then :) |
17:02.47 | kahdgarxi | exactly :P |
17:03.06 | *** join/#wowi-lounge Adys (n=Miranda@90.11.148.254) |
17:03.14 | kaso | kergoth its been running on my stand alone lua for a min or two now. and not overflown |
17:03.48 | kergoth | oh, you're right, your version uses tail calls |
17:03.54 | kergoth | thatll never overflow, its an infinate loop |
17:04.19 | nevcairiel | poor cide |
17:04.22 | kergoth | had you done test = function() test() end test() it would have overflown in under a second |
17:04.29 | kergoth | hehe |
17:04.59 | kaso | ah true |
17:05.01 | Shirik | test = function() test() end test() is still running for me |
17:05.04 | *** join/#wowi-lounge JoshBorke (n=Josh@r35h14.res.gatech.edu) |
17:05.07 | kaso | i didnt release what i'd done actually |
17:05.39 | kaso | the self-call overflows in about 6 seconds on mine |
17:05.49 | Shirik | nm |
17:05.52 | Shirik | I mistyped it |
17:06.36 | Shirik | well an infinite loop should still cause a stack overflow eventually |
17:06.44 | Shirik | while(true) end does as well |
17:06.47 | Shirik | it just takes forever |
17:06.52 | Shirik | er, not a stack overflow |
17:06.56 | Shirik | but out of memory |
17:07.06 | kergoth | hm? |
17:07.21 | kergoth | infinate loops dont overflow the stack. |
17:07.23 | Shirik | an infinite loop still requires memory, thus cide should run out of memory.... eventually |
17:07.33 | Cide | kaso: [string "value = { } for i = 1, 100000 do value[i] =..."]:1: stack overflow (table too big to unpack) |
17:07.37 | Shirik | there it goes |
17:07.39 | kaso | ha |
17:07.43 | Cide | I was afk :P |
17:07.48 | Shirik | oh |
17:07.48 | kaso | hehe |
17:07.50 | kaso | sorry about that |
17:07.51 | Shirik | Cide haxored it :( |
17:08.10 | kergoth | even if you did allocate something in the loop, its freed on each pass. you dont blow the stack in a loop without recursion unless you allocate something in one pass thats larger than the stack size |
17:08.19 | kergoth | meh |
17:08.23 | Shirik | I know it's somewhat... illogical |
17:08.33 | Shirik | but a loop does require memory on each pass, slowly requiring more |
17:08.42 | Shirik | even if it's not allocated directly in the program; check the disassembly |
17:08.46 | kaso | think of it as encoragement to put some sort of time-limitation on the lua execution cide :> |
17:08.59 | Cide | laziness wins though |
17:09.17 | Shirik | >>> return "/quit" |
17:09.18 | Cide | Shirik: "/quit" |
17:09.20 | *** join/#wowi-lounge Kirov_ (n=Kirov@c-71-198-144-193.hsd1.ca.comcast.net) |
17:09.56 | kaso | >>> return type(getglobal) |
17:09.56 | Cide | kaso: "function" |
17:10.09 | kaso | >>> return ChatFrame1 |
17:10.09 | Cide | kaso: |
17:10.12 | kergoth | Shirik: i've written assembly, thanks. |
17:10.20 | Shirik | That's not what I was saying |
17:10.21 | kaso | hokay so not wowbench type emulation |
17:10.39 | cogwheel|work | kaso: it uses http://sf.net/projects/lua511wow |
17:11.03 | kaso | hmm thats pretty cool |
17:11.15 | cogwheel|work | thanks ;) |
17:11.28 | pastamancer | >>> return string.char(8) |
17:11.28 | Cide | pastamancer: "" |
17:11.38 | pastamancer | >>> return string.char(0) |
17:11.44 | kaso | can i compile it and run along side normal lua? |
17:12.06 | pastamancer | >>> return string.char(19) |
17:12.06 | Cide | pastamancer: "" |
17:12.40 | cogwheel|work | kaso: should be able to. You'll want to link it statically so it doesn't use the shared lua libraries which are the norm for "make linux" iirc |
17:13.53 | cogwheel|work | (which i may not rc :P ) |
17:13.57 | dukeku | make linux? heh, never seen that |
17:14.22 | pastamancer | >>> return string.char(27,93,32,59,64,7)) |
17:14.22 | Cide | pastamancer: attempt to call a nil value |
17:14.22 | cogwheel|work | dukeku: Lua's makefile lets you specify different targets to configure things differently |
17:14.27 | pastamancer | >>> return string.char(27,93,32,59,64,7) |
17:14.27 | Cide | pastamancer: "] ;@" |
17:14.47 | dukeku | ahhhh |
17:15.11 | *** join/#wowi-lounge Bouvi (n=Bouvi@72.243.111.178) |
17:15.14 | pastamancer | >>> return string.char(4) |
17:15.14 | Cide | pastamancer: "" |
17:15.48 | Shirik | >>> return " "..string.rep(string.char(0), 100); |
17:15.48 | pastamancer | >>> return string.char(4,8,33) |
17:15.49 | Cide | pastamancer: "!" |
17:15.49 | kaso | are you trying to get it to return some IRC magic codes |
17:16.09 | pastamancer | I'm testing the string escaping in the wrapper |
17:16.19 | Shirik | >>> return "\""..string.rep(string.char(0), 100).."\""; |
17:16.20 | pastamancer | by sending ascii control characters |
17:16.23 | Shirik | =( |
17:16.31 | Cide | it doesn't like null :) |
17:16.32 | Shirik | it doesn't like null character |
17:16.39 | Cide | python errors |
17:16.52 | Cide | TypeError: command() argument 1 must be string without null bytes, not str! |
17:17.41 | pastamancer | >>> return string.char(7) |
17:17.42 | Cide | pastamancer: "" |
17:17.44 | Shirik | >>> a = ""; for x = 1,254 do a = a .. string.char(x); end return a; |
17:18.28 | pastamancer | I'm guessing that got cut off at the linefeed |
17:18.33 | Shirik | ah yeah |
17:18.36 | Shirik | forgot that |
17:19.06 | Shirik | >>> a = ""; for x = 1,254 do if not (a == 10 or a == 13) a = a .. string.char(x); end end return a; |
17:19.07 | Cide | Shirik: attempt to call a nil value |
17:19.10 | Shirik | o.O |
17:19.20 | Shirik | oh |
17:19.23 | Shirik | >>> a = ""; for x = 1,254 do if not (a == 10 or a == 13) then a = a .. string.char(x); end end return a; |
17:19.34 | Shirik | hem |
17:19.36 | Shirik | hrm* |
17:19.36 | Cide | nice one there :P |
17:19.46 | Cide | for x = ... if not ( a ... |
17:19.46 | Shirik | been doing too much c lately :/ |
17:20.15 | Shirik | ah crap |
17:20.23 | Shirik | >>> a = ""; for x = 1,254 do if not (x == 10 or x == 13) then a = a .. string.char(x); end end return a; |
17:20.28 | Shirik | ooh that was cool |
17:20.39 | Shirik | that's um.. blinding me now |
17:20.48 | Shirik | I need to fix my colors on this client |
17:20.50 | *** part/#wowi-lounge Shirik (i=nospam@rrcs-67-78-171-230.se.biz.rr.com) |
17:20.52 | *** join/#wowi-lounge Shirik (i=nospam@rrcs-67-78-171-230.se.biz.rr.com) |
17:21.14 | Cide | haha, what'd it print for you? |
17:21.51 | Shirik | inverted color scheme |
17:22.07 | Shirik | which when you have black on neon green |
17:22.14 | Shirik | er, neon green on black |
17:22.17 | Shirik | doesn't work too well |
17:23.24 | Cide | nice :) |
17:23.58 | pastamancer | >>> return string.char(3, 50, 72) |
17:23.58 | Cide | pastamancer: "2H" |
17:24.13 | Shirik | >>> print(1) |
17:24.13 | Cide | Shirik: |
17:24.27 | JoshBorke | erm, what is Cide doing? |
17:24.31 | *** join/#wowi-lounge Elkano (n=elkano@ip-213-135-2-184.handshake.de) |
17:24.36 | Shirik | cide is being our lua interpreter |
17:24.42 | JoshBorke | heh |
17:24.47 | Shirik | and we're trying to break it |
17:26.10 | Shirik | Cide: >>> 1 |
17:26.18 | Shirik | :( I give up |
17:26.21 | pastamancer | are the cr/lf getting filtered out by the wrapper? |
17:26.22 | Cide | >>> >>> 1 |
17:26.22 | Cide | Cide: attempt to call a nil value |
17:26.26 | Cide | >>> 1 |
17:26.26 | Cide | Cide: attempt to call a nil value |
17:26.32 | Shirik | ooh |
17:26.33 | Cide | pastamancer: no |
17:27.03 | Cide | I just feed the output to xchat |
17:27.03 | nevcairiel | lol |
17:27.06 | Shirik | oh |
17:28.28 | Shirik | Cide: >>> a = 4; return ">>> return a"; |
17:28.46 | Cide | remove the >>> you newb |
17:28.50 | Cide | err |
17:28.54 | Cide | the "Cide:" |
17:29.01 | pastamancer | >>> return string.char(10, 13) .. "PRIVMSG pastamancer test" |
17:29.01 | Cide | pastamancer: " |
17:29.01 | Shirik | yeah it won't work like I wanted it to |
17:29.14 | Cide | haha, nice, pastamancer :) |
17:29.16 | kaso | haha |
17:29.18 | kaso | awesome |
17:29.20 | Shirik | not bad |
17:29.24 | Shirik | did it send it? |
17:29.39 | pastamancer | perhaps |
17:29.57 | Shirik | >>> return string.char(10,13).."NOTICE #wowi-lounge Hello!"; |
17:29.58 | Cide | Shirik: " |
17:30.00 | Shirik | hehe |
17:30.09 | Cide | you fail at irc though |
17:30.36 | Cide | you missed a colon :) |
17:30.40 | Shirik | meh, it worked |
17:30.41 | Osagasu | HAX! |
17:30.49 | Shirik | 13:30:01 notice: ‹+Cide:#wowi-lounge› Hello!" |
17:30.52 | kahdgarxi | hax indeed |
17:31.02 | subbawt | >>> return string.char(10,13) .. "QUIT oh nos" |
17:31.06 | Shirik | In theory it would now be possible to force Cide to disconnect; but |
17:31.09 | subbawt | :( |
17:31.15 | Shirik | I was going to say I'm not mean |
17:31.16 | subbawt | did i do something wrong |
17:31.25 | Shirik | but subbawt beat me to it |
17:31.35 | Cide | >>> return string.char(10,13).."NOTICE #wowi-lounge Hello" |
17:31.35 | Cide | Cide: "\n\rNOTICE #wowi-lounge Hello" |
17:33.28 | Shirik | fixed :) |
17:33.28 | cogwheel|work | looks like he fixed it before you had the chance |
17:33.28 | subbawt | :( |
17:33.28 | Shirik | well done |
17:33.29 | Shirik | hmmm |
17:33.29 | Cide | good job though :) |
17:33.29 | cogwheel|work | better to nip these things in the bud while you're looking :) |
17:33.29 | Shirik | >>> return "\\"..string.char(10).."\\"..string.char(13).."NOTICE #wowi-lounge Hello"; |
17:33.30 | Cide | Shirik: "\\n\\rNOTICE #wowi-lounge Hello" |
17:33.30 | pastamancer | yeah, shenanigans might have ensued |
17:35.00 | Shirik | Cide: You did this in python? |
17:35.21 | Cide | yep |
17:35.57 | kahdgarxi | a full fledged debugger for wow addons would make me so happy... being able to step through a program one statement at a time, and examine variables at each point >.> |
17:35.57 | Shirik | was going to try to think of a way to make a timeout, but I don't know anything about python :/ |
17:36.07 | Mr_Rabies2 | man |
17:36.17 | Mr_Rabies2 | pvping for the first time since the druid nerf makes me want to quit again :/ |
17:36.23 | Cide | python's an *awesome* language |
17:36.40 | Shirik | Never really had a reason to learn it, but I should probably get around to it |
17:36.50 | kergoth | i'd just use debug.sethook() to monitor |
17:36.51 | kergoth | set it up for a callback every 20 instructions ors omething |
17:39.47 | Shirik | >>> a = 0; function dbg() a = a + 1; if a > 200 exit(1); end end debug.sethook(dbg, "l"); while(true) do end |
17:39.48 | Cide | Shirik: attempt to call a nil value |
17:39.58 | *** join/#wowi-lounge kaso (n=kaso@resnet12.nat.lancs.ac.uk) |
17:40.07 | Shirik | damn it |
17:40.13 | Shirik | >>> a = 0; function dbg() a = a + 1; if a > 200 then exit(1); end end debug.sethook(dbg, "l"); while(true) do end |
17:40.13 | Cide | Shirik: attempt to call a nil value |
17:40.20 | Shirik | >>> exit(1); |
17:40.21 | Cide | Shirik: [string "exit(1);"]:1: attempt to call global 'exit' (a nil value) |
17:40.36 | Shirik | well, it would be something like that I guess :P |
17:41.36 | Shirik | right, class time, take care |
17:41.39 | subbawt | Cide what platform are you on |
17:41.44 | Cide | windows |
17:41.53 | subbawt | okay this should be interesting |
17:41.59 | Shirik | 13:41:54 [CTCP VERSION reply from Cide]: xchat 2.6.8-1 Windows Vista [AMD/2.60GHz] |
17:42.00 | Shirik | eew |
17:42.11 | Cide | ew! |
17:42.11 | subbawt | >>> import win32api |
17:42.14 | Shirik | is it any good? |
17:42.20 | Cide | I like it |
17:42.27 | subbawt | >>> win32api.Beep(3000,300) |
17:42.27 | Shirik | I've only heard bad things |
17:42.35 | Cide | subbawt: it executes lua code :) |
17:42.40 | subbawt | oh |
17:42.42 | subbawt | bleh |
17:42.55 | subbawt | i mean very nice :P |
17:43.03 | *** join/#wowi-lounge Cairenn (n=Cairenn@MMOI/Administratrix/Cairenn) |
17:43.03 | *** mode/#wowi-lounge [+o Cairenn] by ChanServ |
17:43.23 | Shirik | oh! |
17:43.24 | kahdgarxi | *sigh* this function is getting very big very fast :( |
17:43.25 | Shirik | One last test |
17:43.31 | *** join/#wowi-lounge Antiarc|Work (n=cheald@208.187.119.42) |
17:44.00 | pastamancer | >>> return "\\\\\\" |
17:44.00 | Cide | pastamancer: "\\\" |
17:44.46 | Shirik | >>> return "a"..string.char(8); |
17:44.47 | Cide | Shirik: "a" |
17:44.57 | Shirik | hmm ok you win |
17:48.08 | pastamancer | >>> function hex (c) return tonumber(c, 16) end; return string.char(hex("C2"), hex("79")) |
17:48.08 | Cide | pastamancer: "Ây" |
17:48.23 | pastamancer | hmm, I was hoping xchat would barf on invalid UTF8 |
17:49.21 | zenzelezz | are you sure he's configured his X-Chat to use UTF-8? |
17:49.41 | pastamancer | "The XChat plugin API specifies that strings passed to and from xchat must be encoded in UTF-8. " |
17:51.18 | pastamancer | >>> return "%%" |
17:51.18 | Cide | pastamancer: "%%" |
17:51.56 | pastamancer | >>> return "%(foo)" |
17:51.56 | Cide | pastamancer: "%(foo)" |
17:52.12 | pastamancer | >>> return "%(#)" |
17:52.12 | Cide | pastamancer: "%(#)" |
17:55.22 | *** join/#wowi-lounge Wing87 (n=Wing@c83-254-245-120.bredband.comhem.se) |
17:58.39 | wereHamster | "%(foo)" looks like %(eax) :P |
17:59.27 | cogwheel|work | If I ever design a CPU it will have registers named foo, bar, & baz. |
17:59.50 | kergoth | good plan |
18:02.20 | pastamancer | which assembler uses %(register)? I'm used to "movzx %%ax, %%edx" from inline gnu assembler and "movzx edx, ax" from masm |
18:03.32 | wereHamster | that's GAS IIRC |
18:03.33 | cogwheel|work | nasm, maybe? |
18:04.40 | cogwheel|work | http://en.wikibooks.org/wiki/X86_Assembly/GAS_Syntax |
18:05.30 | *** join/#wowi-lounge Funkeh` (n=funkydud@host81-157-152-169.range81-157.btcentralplus.com) |
18:07.38 | *** join/#wowi-lounge mahiro (n=Miranda@149.14.78.83.cust.bluewin.ch) |
18:07.47 | mahiro | hi |
18:07.55 | Gryphen | he3ya |
18:08.44 | mahiro | if i stop a frame flashing with UIFrameFlashRemoveFrame() is the frame hidden or so? |
18:10.05 | *** join/#wowi-lounge JoshBorke (n=Josh@r35h14.res.gatech.edu) |
18:10.37 | mahiro | anyone? |
18:12.13 | cogwheel|work | mahiro: you can test it, or you can look at the code of UIFrameFlashRemoveFrame |
18:13.14 | mahiro | well i tested the alpha because the frame sometimes is not visible after it stops and the alpha is 1:/ |
18:13.52 | *** join/#wowi-lounge _aLF (n=Alexandr@aix73-2-88-160-210-8.fbx.proxad.net) |
18:14.16 | mahiro | so lets see what the visiblity test says... |
18:14.32 | *** join/#wowi-lounge [dRaCo] (i=drc@p5485BB3F.dip0.t-ipconnect.de) |
18:15.08 | cogwheel|work | mahiro: that's a lua function so you can see exactly what it does: http://wdn.wowinterface.com/code/20106448/FrameXML/UIParent.lua |
18:15.46 | mahiro | thx |
18:15.54 | *** join/#wowi-lounge stavmar (n=chatzill@204.57.75.200) |
18:18.26 | mahiro | -- Function to stop flashing |
18:18.26 | mahiro | function UIFrameFlashStop(frame) |
18:18.26 | mahiro | <PROTECTED> |
18:18.26 | mahiro | <PROTECTED> |
18:18.26 | mahiro | end |
18:18.35 | mahiro | so its hidden on stop, thx |
18:19.06 | *** join/#wowi-lounge Kaso (n=Kaso@resnet13.nat.lancs.ac.uk) |
18:19.44 | cogwheel|work | np. :) just gotta know where to look... |
18:20.34 | mahiro | how can i find those files? |
18:20.34 | mahiro | is there a link on wowi? |
18:21.23 | *** join/#wowi-lounge Gnarfoz (n=smallbra@unaffiliated/gnarfoz) |
18:21.55 | cogwheel|work | wdn.wowinterface.com or use the UI extractor listed in the Mod Author Resources sticky on the UI & Macros forum |
18:24.52 | mahiro | oh thx again |
18:28.54 | JoshBorke | purl, hug Cairenn |
18:28.56 | purl | ACTION hugs Cairenn |
18:29.08 | Cairenn | purl, hug JoshBorke |
18:29.10 | purl | ACTION sneaks up on JoshBorke and suddenly hugs JoshBorke tightly |
18:29.20 | JoshBorke | how you doing Cair? |
18:29.32 | Cairenn | okay |
18:29.35 | Cairenn | yourself? |
18:29.46 | JoshBorke | i've been better :-) getting over a stomach bug |
18:30.05 | Cairenn | bleh, no fun |
18:31.11 | JoshBorke | nope, none at all. first time i've thrown up in at least 10 years |
18:31.31 | Cairenn | ewwww |
18:31.44 | Cairenn | that is definitely no fun |
18:31.47 | JoshBorke | yea, needless to say it wasn't pleasant |
18:32.03 | Cairenn | I've had the stomach flu before, oh was I sick |
18:32.31 | JoshBorke | yea. i'm pretty sure i got it from my sister's family (whom i visited this weekend) |
18:32.46 | Cairenn | that was a nasty one too, my entire dorm was quarantined |
18:32.48 | JoshBorke | both my parents, my grandmother, and my fiancee all caught it |
18:32.54 | JoshBorke | wow, yuck |
18:32.58 | Cairenn | ewwww, not fun |
18:34.29 | JoshBorke | so i'm gonna go lay down now :-) take it easy |
18:34.43 | *** join/#wowi-lounge nymbia (n=nymbia@71-218-138-197.hlrn.qwest.net) |
18:34.49 | cogwheel|work | Yeah... my wife's getting over a flu she had all last week that I had the 4 days prior... |
18:35.22 | Cairenn | apparently it's done the rounds at Blizz HQ too |
18:35.54 | Cairenn | you guys just go ahead and keep it in your own countries, I don't want it here in Canada thank you kindly |
18:36.26 | Cairenn | lol |
18:36.28 | Cairenn | hi Bouvi |
18:36.54 | wereHamster | I'm sure switzerlands stays neutral on teh flu thing.. |
18:37.01 | Bouvi | Flu last week, Florida tomorrow, wife's grandmother just died. God it is hectic here. |
18:37.07 | Cairenn | :( |
18:37.26 | Cairenn | sorry to hear that, my condolences to your family |
18:37.54 | Bouvi | Thanks. Main problem is I will be in Florida when she heads for New York for the funeral. Timing on this on is bad. |
18:38.07 | Cairenn | :( |
18:38.09 | Bouvi | I cannot be there to support her which bites. |
18:39.39 | Bouvi | But on the other hand I do not have to put up with her family. |
18:39.56 | Scre3m | for you firefox junkies: http://userscripts.org/scripts/show/7646 |
18:40.17 | Scre3m | and the corresponding font: http://www.jonmega.com/iceman/stuff/fonts/ |
18:41.01 | cogwheel|work | apple will be all over that font download page |
18:43.17 | Gryphen | not soon enough |
18:44.26 | cogwheel|work | don't know Cairenn's policy on linking to pirated stuff in this channel, but i would recommend against it |
18:44.40 | cogwheel|work | some companies are more protective of fonts than they are about software |
18:44.42 | *** join/#wowi-lounge weab_ (n=asdf@cpe-70-112-143-167.austin.res.rr.com) |
18:45.30 | Scre3m | hrm, i didn't realize it was pirated lol |
18:45.42 | Scre3m | sorry! *blush* |
18:45.46 | cogwheel|work | heh |
18:45.58 | cogwheel|work | most people don't realize how much work goes into fonts |
18:46.12 | Cairenn | if it's known to be pirated, then I'd rather you didn't, although I won't raise a huge hue and cry about it |
18:46.15 | Scre3m | thatz the first time ever, that i've touched fonts on any os |
18:46.40 | Cairenn | if it isn't known to be pirated, then oops on your part and try to be careful in the future |
18:46.56 | cogwheel|work | exactly what I was trying to get at :) |
18:46.57 | Scre3m | i've watched the Clearfonts font discussion awhile ago which was confusing to me |
18:47.48 | wereHamster | cogwheel|work, the software that is needed to crate fonts is _very_ expensive |
18:47.58 | cogwheel|work | yep |
18:48.27 | cogwheel|work | and even with the best software, it still takes a great deal of work |
18:48.27 | Scre3m | out of curiosity, what makes you think the font is pirated? |
18:48.30 | wereHamster | and creating fonts requires a lot knowledge.. |
18:48.56 | cogwheel|work | Scre3m: "Big thanks to Hugo by have ported this beauty set of fonts straight from OS X!" |
18:49.22 | Cairenn | indeed |
18:49.33 | *** join/#wowi-lounge weab (n=asdf@cpe-70-112-143-167.austin.res.rr.com) |
18:49.50 | Cairenn | just ask Kirkburn|afk about the hassles involved with fonts |
18:50.01 | Gryphen | kirks were the actuall fonts |
18:50.18 | Gryphen | if ported is the true word its probably the same |
18:50.26 | cogwheel|work | If you open the font files themselves, they also have a copyright notice |
18:50.29 | Gryphen | if actually re-created, its not quite the same |
18:50.46 | Scre3m | is there an open source font movement? |
18:51.07 | cogwheel|work | not a huge one... all the fonts that come with linux are generally "free" |
18:52.33 | Scre3m | ty for the info, and sorry again for the controversial link :) |
18:52.38 | Scre3m | live and learn |
18:52.41 | cogwheel|work | heh nep |
18:52.43 | cogwheel|work | np* |
18:52.58 | cogwheel|work | if i wasn't here, no one would probably have noticed :P |
18:53.15 | Scre3m | that is a cool gmail skin tho, impressive |
18:53.18 | Cairenn | Typeface name: Apple Garamond |
18:53.18 | Cairenn | File size: 47 KB |
18:53.18 | Cairenn | Version: Version 2.0; 1991 |
18:53.19 | Cairenn | Copyright 1991 as an un[ublished work by Bitstream Inc. All rights reserved. Confidential |
18:53.23 | Gryphen | noticed/cared |
18:53.24 | Gryphen | :) |
18:53.28 | cogwheel|work | I just happen to go on information binges from time to time, and fonts were one of the topics I looked at |
18:53.46 | Cairenn | at the top of the files |
18:54.08 | Cairenn | (just checked) |
18:55.48 | cogwheel|work | as hinted at before, the actual shapes of the characters can't be copyrighted (in the US), so if you reproduce a font yourself, you're in the clear... it's just the actual files themselves that present a problem. |
19:10.41 | *** join/#wowi-lounge Guillotine (n=Guilloti@ns.motek-services.com) |
19:12.57 | *** join/#wowi-lounge TC_Working (n=Thunder_@NOC-004.sylmark.com) |
19:14.41 | *** join/#wowi-lounge Telrin (n=test@shandalar.xs4all.nl) |
19:15.10 | *** join/#wowi-lounge beerke_ (n=beerke@5353E179.cable.casema.nl) |
19:19.25 | *** join/#wowi-lounge Tuller (n=chatzill@c-68-57-185-39.hsd1.va.comcast.net) |
19:19.59 | *** join/#wowi-lounge Mortius (i=Mortius@ppp-71-128-198-227.dsl.sndg02.pacbell.net) |
19:20.10 | Mortius | Hello everybody. |
19:21.01 | *** join/#wowi-lounge Celandro (n=Celandro@64.172.210.67) |
19:21.10 | TC_Working | Hi Mortius |
19:21.48 | cogwheel|work | wb |
19:22.07 | Mortius | Was curious if anyone knew how to get a units rage or energy? UnitMana and UnitManaMax are working great for units with mana, but they do not work for rage/energy, yet I found no UnitRage, etc.. |
19:22.41 | cogwheel|work | Why do you think they don't work for units with rage/energy? |
19:22.45 | Mortius | according to the wowwiki, UnitMana / UnitManaMax is suppose to work.. |
19:23.07 | Shadowed | WoW considers Rage/Energy to be Mana when referring to API calls |
19:23.19 | cogwheel|work | Mortius: you just contradicted yourself :P |
19:23.26 | Mortius | Because I made a player frame, and I'm using UnitMana / UnitManaMax and it works for my casters/hunter, but it will not work on my rogue or warrior |
19:23.44 | Shadowed | Do you mean it's not changing color? |
19:23.56 | Mortius | UnitMana("player") always = 0 on my rogue or warrior. |
19:24.07 | Mortius | but it returns correctly on anything else. |
19:24.09 | zenzelezz | do something to generate rage/energy |
19:24.17 | Mortius | I tried that |
19:24.19 | Shadowed | zenzelezz: Energy always is at 100 if you dont do anything |
19:24.30 | Mortius | right, but it's returning 0 to me. |
19:24.34 | Shadowed | Works fine for me on my Warrior, hit bloodrage and I got 10 |
19:24.41 | subbawt | how about UnitManaMax, what does that get you on rogues/warriors |
19:24.47 | Mortius | The correct value |
19:25.06 | cogwheel|work | I get the suspicion that you aren't testing it properly |
19:25.08 | zenzelezz | then you're doing something wrong, UnitMana is the right function |
19:25.26 | Mortius | odd, seems strange that it works fine for my casters |
19:25.44 | cogwheel|work | I have a feeling you don't have the rage/energy you think you do when you're testing it |
19:25.49 | zenzelezz | I use UnitMana on my warrior and it works flawlessly |
19:27.04 | Mortius | okay, its something odd in my code then. I'll keep looking. thanks a lot :) |
19:30.01 | Mortius | I think I found it. Farther down in my "unit_mana" and "unit_health" events, I have a "low mana" verbal warning system setup. However, it checks the unit's class, and if it's a warrior or a rogue then it does a "return;". |
19:30.28 | Mortius | well for "unit_mana" it does anyway. |
19:30.58 | Mortius | I didn't realize that would effect anything since it was below the current code. |
19:31.53 | *** join/#wowi-lounge Shirik (n=nospam@155.31.161.72) |
19:34.07 | Mortius | here's what I've made, it works, except I dont know how to make it when you click on it, you target yourself : http://tinypic.com/view.php?pic=35de2cm |
19:34.13 | Mortius | let me know what you guys think |
19:34.33 | Shadowed | You need to add UNIT_RAGE and UNIT_HEALTH too |
19:34.36 | Mortius | its a start anywa |
19:34.41 | Shadowed | er, UNIT_ENERGY |
19:34.45 | Mortius | oh! |
19:35.00 | Shadowed | events has seperate ones for rage/health/mana, API calls consider it "Mana" so UnitMana and such |
19:35.00 | Mortius | I didn't check for events. okay thanks! |
19:35.36 | *** part/#wowi-lounge Celandro (n=Celandro@64.172.210.67) |
19:36.44 | Mortius | did anyone look? haha you can tell me if you think its bad.. http://tinypic.com/view.php?pic=35de2cm |
19:37.31 | Bouvi | Now that looks cool!!! |
19:37.40 | Mortius | really? |
19:37.48 | Mortius | I've been trying to make a frame for the 3d model |
19:37.53 | Mortius | but they keep coming out really ugly |
19:38.12 | Bouvi | I like it alot. Very stylish but keeping with the wow theme and not sure you need a frame |
19:38.22 | Mortius | alright :) |
19:41.36 | Shirik | I like it Mortius |
19:41.39 | Shirik | I wouldn't use it, but I like it |
19:42.05 | Shirik | I like way too much information to be displayed to care about looks on my screen, though |
19:42.14 | cogwheel|work | I think the model needs to be a bit taller downward, and/or the health/mana bars need to be a bit narrower, imo |
19:42.24 | Shirik | I do agree with the bars being narrower |
19:42.53 | Shirik | the ratio of model to bars is a bit off.... can't really say whether smaller or larger is a better option though without seeing it compared to the rest of the ui |
19:43.24 | Mortius | yeah I agree with you Cog |
19:43.41 | Mortius | and shirik .. yeah I'm going to adjust that |
19:43.53 | Mortius | the mana / health need to be shrunk |
19:44.01 | Mortius | I'll prob add an xp bar under |
19:44.08 | Shirik | so I feel like a moron now |
19:44.25 | Mortius | whys that |
19:44.26 | Shirik | in my test today I had to prove 7^n - 2^n is divisible by 5 right? |
19:44.34 | Shirik | I was so close to the end, but was stuck for about 15 minutes |
19:44.45 | Shirik | then I guess the professor noticed everyone was stuck or something and wrote one simple thing on the board |
19:44.51 | Shirik | "7=2+5" |
19:44.59 | Shirik | and then everything worked |
19:45.13 | *** join/#wowi-lounge Lysistrata124 (n=Lysistra@xdsl-84-44-209-54.netcologne.de) |
19:45.46 | Shirik | without posting the entire solution it doesn't entirely make much sense, but suffice to say that I was a bit mad that I didn't realize 2+5 = 7 |
19:45.59 | Mortius | well now you made me feel like a moron too. cause I would of had no clue how to even begin to figure that out. |
19:46.08 | Shirik | heh |
19:46.38 | cogwheel|work | and i'm a re-moron since i haven't done anything like that for 6 years or so... |
19:47.25 | Mortius | I went to a small town school system, where you graduate high school with the highest math class being pre-algebra. :-/ |
19:47.25 | Bouvi | I am not even sure they taught that when I went to school. |
19:47.30 | cogwheel|work | is a^n + b^n = (a+b)^n or something? |
19:51.24 | Shirik | here you go mortius: http://www.mathbin.net/9116 |
19:51.25 | Shirik | have fun |
19:52.24 | Shirik | erk |
19:52.28 | Shirik | it didn't use my mod symbol >.> |
19:52.32 | nevcairiel | cogwheel|work: no its not .. you cannot simplify yours imho |
19:53.27 | nevcairiel | if that would be * on the other hand.. |
19:53.30 | nevcairiel | your rule would apply :) |
19:53.35 | Shirik | http://www.mathbin.net/9116 |
19:53.43 | Shirik | use the one at the bottom |
19:55.02 | Shirik | It's an inductive proof. That is, we prove the first case (where n = 1) then prove that if P(n) is true, then P(n+1) must be true. Therefore by proving P(1), we prove that all integers 1 to infinity must be a true statement |
19:56.55 | wereHamster | win 10 |
19:57.04 | kergoth | hehe. irssi? |
19:58.39 | wereHamster | yes :) |
19:59.03 | wereHamster | I usually use ALT+1/2/3 but that doesn't work in xterm |
20:01.30 | Mortius | Shirik: I went to that link. Thanks for my headache. |
20:02.36 | Mortius | Third "gold selling" advertisement I've gotten this morning on my lowbie tester toon. this time from "ffryawfok" |
20:09.05 | Shirik|Class | Mortius: SpamSentry |
20:09.49 | Mortius | I'll have to look into that :) |
20:10.40 | Mortius | Okay, so I tried making a huge hidden button on top of my playerframe to make it clickable. lol.. that didn't work. I've tried putting OnClick events for the various labels, progress bars, etc.. with no luck.. |
20:11.27 | Mortius | even if I do find a way to make it clickable, you can't force anyone to target anything, since it gives you one of those "illegal" errors.. |
20:11.28 | Shirik | hmm |
20:11.31 | Shirik | yes |
20:11.37 | Shirik | you need to use SetAttribute |
20:11.44 | Shirik | you'll need to use secure frames |
20:11.50 | Shirik | I assume you're trying to get it to say, target the player |
20:11.51 | Shirik | ? |
20:11.54 | Mortius | okay, I read something about that. yes I am. |
20:12.07 | Shirik | Okay, part one, you need to make it a secure frame |
20:12.08 | *** join/#wowi-lounge ckknight (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com) |
20:12.13 | Shirik | part two, you need to set two attributes: type and unit |
20:12.24 | Shirik | frame:SetAttribute("type", "target"); |
20:12.29 | Shirik | frame:SetAttribute("unit", "player"); |
20:12.42 | Shirik | substitute "player" with whatever, of course |
20:12.51 | Mortius | awesome! thanks |
20:12.53 | Shirik | important to note is that SetAttribute can only be called while out of combate |
20:13.17 | Mortius | ugh. what if they wanted to target themself while in combat |
20:13.32 | Shirik | ok |
20:13.44 | Shirik | setting the attribute tells the frame "hey, when you're clicked, here's what I want you to do" |
20:13.50 | Shirik | the blizzard code handles actually doing that action |
20:14.04 | Shirik | so you set the attribute while out of combat; while in combat, it still works, you just can't go changing attributes mid-combat |
20:14.12 | cogwheel|work | Mortius: see SecureTemplates.xml & SecureTemplates.lua |
20:14.14 | Mortius | oooh gotcha. |
20:14.32 | Mortius | okay cog. thanks. |
20:16.56 | Shirik | something with http://wowwiki.com/API_GMRequestPlayerInfo is wrong |
20:17.08 | Shirik | it can't both be a null function /and/ return an error every time |
20:17.18 | Shirik | those are mutually exclusive |
20:17.52 | Shirik | at least by my definition a "null function" would be: function foo() end |
20:18.09 | Cide | clearly it's not a null function; it's just not available to us mortals :) |
20:20.05 | Shirik | I don't understand how air mail can take 12 hours to get from a hub in NJ to a hub in SC |
20:20.22 | Shirik | looking at my UPS tracking info, it says it departed the hub in NJ at 4AM, arrived at the hub in SC at 4PM |
20:20.26 | Shirik | via air |
20:20.30 | TC_Working | takes time to winde up the rubber band |
20:20.34 | TC_Working | wind* |
20:20.43 | Shirik | ha |
20:21.08 | Mortius | is "secured frames" a fairly new thing? |
20:21.14 | Cide | yes |
20:21.14 | Shirik | 2.0 |
20:21.15 | cogwheel|work | as of 2.0 |
20:21.39 | Mortius | okay. So this WoW UI Designer is too outdated for that. oh poop |
20:21.47 | cogwheel|work | you should read Iriel's 2.0.x changes sticky on the UI & Macros forum. It's terse, but has a lot of relevant info |
20:21.56 | Cide | you'll probably learn more by not using the ui designer |
20:22.07 | Mortius | I only use it for the .xml |
20:22.25 | Cide | you can still use it then |
20:22.26 | cogwheel|work | exactly |
20:22.48 | Shirik | The only time I ever used the WoW UI Designer was ... |
20:22.57 | Shirik | a year and a half ago maybe? I dunno it was a long time ago |
20:22.59 | Mortius | don't you have to declair secure frames inside the .xml part? |
20:22.59 | cogwheel|work | you'll learn more about how the UI elements function together by writing the xml yourself |
20:23.02 | Cide | but I still think you'll learn more from not using it :) |
20:23.09 | cogwheel|work | Mortius: no |
20:23.10 | Cide | no, you can do it in lua |
20:23.21 | Mortius | oh okay goodie :D |
20:23.28 | cogwheel|work | but xml is more natural for certain things |
20:23.30 | Shirik | Now, the thing is... when I used that designer, I knew nothing. I learned nothing. Similarily, the addons I generated... were nothing. |
20:23.42 | Shirik | When I stopped using the designer, I started to actually learn things, and actually was able to do stuff. |
20:23.46 | Shirik | So I recommend the same to you. |
20:23.59 | cogwheel|work | and with a decent xml editor, you'll actually be quicker than with lua since it'll autocomplete tag names, attribute values, etc. |
20:24.14 | cogwheel|work | (not as much to memorize that way) |
20:24.29 | cogwheel|work | s/memorize/memorize or look up in a reference/ |
20:31.14 | cogwheel|work | http://today.reuters.com/news/articlenews.aspx?type=oddlyEnoughNews&storyid=2007-03-13T144151Z_01_N13435971_RTRUKOC_0_US-BORAT.xml&src=rss |
20:31.27 | Shirik | is hooksecurefunc() a C function or is it defined somewhere? |
20:31.30 | Shirik | it's gotta be C I think |
20:32.06 | Shirik | otherwise the mere use of it would taint I think |
20:32.31 | Shirik | you know I never seen borat myself :/ |
20:33.45 | Cide | C, yep |
20:34.21 | TC_Working | neither have I |
20:35.11 | cogwheel|work | it's a bit on the vulgar side (think live-action south park) but it's absolutely hilarious if you're tolerant of that kind of thing |
20:35.32 | TC_Working | meh, cant stand south park |
20:51.31 | Mortius | Can you add inherits="SecureUnitFrame" to a frame with lua? or does that need to be in the .xml? |
20:52.41 | cogwheel|work | Mortius: http://www.wowwiki.com/API_CreateFrame |
20:52.59 | cogwheel|work | it can only be done at the frame's creation. it can't be added in later |
20:53.18 | Mortius | okay thanks. I couldn't find an answer to that. |
20:54.02 | *** join/#wowi-lounge Arrowmaster (i=Arrow@cpe-71-72-167-136.woh.res.rr.com) |
20:54.11 | Mortius | im not getting it to work by putting it inside the xml for some reason. |
20:56.42 | Mortius | yeah, it seems like all a bit much to make something clickable. who clicks on their portrait to target themself anyway heh. |
20:58.16 | Tain | Remember tomorrow is a very important day. |
20:59.11 | cogwheel|work | Mortius: right-clicking to pull up the loot menu for one thing... |
20:59.24 | cogwheel|work | loot type* |
20:59.40 | Mortius | oh yeah forgot about that menu :( |
21:00.03 | kergoth | ~tomorrow |
21:00.05 | purl | Tomorrow will probably suck too. |
21:00.30 | *** join/#wowi-lounge KarlThePagan (n=andross@lanip-170-65.go180.net) |
21:00.59 | wereHamster | ~today |
21:01.08 | purl | [today] Tuesday |
21:01.08 | Tain | Tomorrow is... http://www.steakandbjday.com/ |
21:02.04 | cogwheel|work | i don't know about you, but valentine's day is usually ... worth it ... for me... |
21:02.30 | Beladona | hey cogwheel|work, you have any experience with sticky frame code? |
21:02.38 | Corrodias | i don't like steaks |
21:02.58 | cogwheel|work | Beladona: the fact that I don't quite know what you mean might be an answer :| |
21:03.03 | Beladona | doh |
21:03.14 | Beladona | its the feature that makes frames able to stick together when moving them |
21:03.18 | Beladona | intelligently |
21:03.24 | cogwheel|work | a la winamp? |
21:03.31 | Beladona | like move frame1 near frame2 and it snaps-to |
21:03.35 | Beladona | aye |
21:03.37 | Corrodias | hmm |
21:03.41 | Beladona | I have most of it |
21:03.42 | Corrodias | cool at times, annoying at others |
21:03.43 | wereHamster | Beladona, is that feature part of teh Blizzard UI? |
21:03.44 | Cide | ugh, I have a little and it's not fun |
21:03.45 | Beladona | the problem is tolerance |
21:04.05 | Beladona | wereHamster, no not currently |
21:04.34 | wereHamster | I have soem code that will let frames 'snap' to each other, but you can't move them together |
21:04.53 | Beladona | basically I measure the distance from the center of frame1 to the left, right, top, and bottom of frame2 and then itelligently setpoint based on which is closest |
21:05.11 | Beladona | it can do orientations at topleft, top, topright, left, right, bottomleft, bottomright, and bottom |
21:05.14 | Beladona | but the problem is |
21:05.21 | Beladona | tolerance |
21:05.35 | Beladona | how close to the left side before it goes topleft, etc... |
21:07.27 | Beladona | it might take care of itself |
21:07.29 | Beladona | hmm |
21:10.44 | Tuller | I've written some sticky frame code? |
21:10.52 | Tuller | but not in the way you want, probably |
21:11.11 | Tuller | see also, the sticky frame code in bongos |
21:12.25 | Cide | he left :P |
21:12.38 | Tuller | yeah I read that just now :) |
21:14.00 | Mortius | well I can't get my frame to be clickable no matter what I try. maybe I shouldn't put the setattribute code in the frames OnLoad? |
21:15.00 | cogwheel|work | Mortius: if you're using XML, just use the <Attributes><Attribute name="unit" val="player"/></Attributes> |
21:15.24 | Mortius | okay I'll try that, thanks. |
21:15.36 | cogwheel|work | oh... be sure you're making it a Button type object and it has a size |
21:15.49 | Mortius | a button type? |
21:16.06 | cogwheel|work | <Button blah as opposed to <Frame blah ... |
21:16.07 | Mortius | I didn't read anything about that |
21:16.23 | cogwheel|work | otherwise it won't pay attention to clicks by default |
21:16.32 | Mortius | okay good to know. thanks again :) |
21:17.03 | Mortius | <Button name="myButton" inherits="SecureUnitButtonTemplate"> |
21:17.15 | cogwheel|work | you should probably just open up some other unit frame mod and see how it's done there if you still have trouble |
21:17.20 | cogwheel|work | yep |
21:18.32 | *** join/#wowi-lounge Gnarfoz (i=smallbra@unaffiliated/gnarfoz) |
21:20.00 | *** join/#wowi-lounge wobin (n=wobin@218-214-59-86.people.net.au) |
21:23.25 | *** join/#wowi-lounge beNson__ (i=beNson@p57BB5BC5.dip.t-dialin.net) |
21:35.37 | cogwheel|work | Cide: check out http://www.lua.org/pil/23.2.html ... maybe you could set up a line hook that compares time to an upvalue start time and throws an error if execution takes longer than some threshold? |
21:36.07 | Shadowed | someone got brave enough to freeze Cide? |
21:36.20 | cogwheel|work | no... just offering preventative measures :) |
21:38.18 | cogwheel|work | (at least not that I've seen today :P ) |
21:39.06 | Mortius | looking at some of the other people unit frames .xml and .lua and I have no clue how they made them clickable. the forms arn't secure. eXtremeUnitButtons is the only one I've found that actually uses secure forms to do it. |
21:39.10 | cogwheel|work | >>> return (function(...) return ... end)(1, 2, 3) |
21:39.10 | Cide | cogwheel|work: 1 2 3 |
21:39.38 | Cide | cogwheel|work: hmm, maybe |
21:40.02 | *** join/#wowi-lounge wereHamster (n=wereHams@neopsis.com) |
21:40.13 | Shirik | o.O |
21:40.36 | Shirik | ~lart purl |
21:40.59 | Shadowed | hmm |
21:41.04 | Shadowed | this mouse is the devil |
21:41.25 | *** join/#wowi-lounge beNson__ (i=beNson@p57BB5BC5.dip.t-dialin.net) |
21:44.51 | Mortius | CT_mod just makes the default frames its parent. for example: <Frame name="CT_TargetFrame" parent="TargetFrame"> is CT_TargetFrame.xml. No inherits, and it's clickable. |
21:45.12 | Shirik | what does its parent inherit? |
21:45.46 | Mortius | I don't know but I tried that and it resized my frame and it's still not clickable heh |
21:45.58 | Mortius | but I tried it with "PlayerFrame" |
21:46.21 | Shirik | I really don't know how CT works; I don't use it, much less have looked at the code |
21:46.38 | Mortius | Discord uses parents too |
21:46.48 | Mortius | extremeunitbuttons uses the secure frames |
21:49.22 | Mortius | All I know is thats all the effort I'm going to put into trying to do something which should be a ton easier than it is. I'll just avoid making any frames that need to be clickable in the future. |
21:49.42 | Shirik | You probably won't get very far that way |
21:49.49 | Shirik | you'll need to learn eventually |
21:50.13 | Shirik | let me see if I can give you a good example from my code |
21:50.18 | Mortius | There is no clear documentation. The .xml's I've looked at are all differnet. |
21:51.50 | Cide | cogwheel|work: what would be a sensible threshold? 5s? |
21:52.02 | Shirik | hmm |
21:52.07 | Shirik | 5s seems good to me |
21:52.16 | Shirik | There shouldn't be any "serious" processing done here |
21:52.24 | Shirik | I mean, anything complex (should) take more than one line |
21:52.36 | Cide | >>> a=;=erroneous=;=;;code==;=; |
21:52.36 | Cide | Cide: attempt to call a nil value |
21:52.38 | Shirik | and would be beyond the purpose of your script, which seems just to test little things |
21:52.51 | Shirik | Mortius: Some lua sample http://wowi.pastey.net/8289 |
21:52.55 | Shirik | check that |
21:52.59 | Shirik | make sure you did everything in there |
21:53.05 | Shirik | well you wouldn't be using useparent-type and spell |
21:53.11 | Shirik | but same deal |
21:53.33 | Shirik | I don't use xml but let me see if I can find where I create that cell |
21:53.59 | Shirik | also ignore SetNewPurpose |
21:54.03 | Shirik | that's something we defined on our own |
21:54.06 | cogwheel|work | 5s is what I had in mind too |
21:54.07 | Shirik | we wrap the frames |
21:54.23 | Mortius | I didn't do the registerforclicks thing |
21:54.33 | Mortius | nor I have seen that anywhere else |
21:55.07 | Mortius | i think it's because more people are using the <button... instead of <frame... maybe? |
21:55.24 | Shirik | http://wowwiki.com/API_Button_RegisterForClicks |
21:56.58 | Cide | I wonder if this works |
21:57.01 | Shirik | btw AnyUp |
21:57.06 | Shirik | means any button up |
21:57.07 | Cide | >>> while ( true ) do end |
21:57.07 | Cide | Cide: attempt to call a nil value |
21:57.14 | Shirik | o.O? |
21:57.16 | Cide | guess not |
21:57.19 | Shirik | >>> return 1; |
21:57.28 | Shirik | erm... |
21:57.31 | Cide | I'm guessing I messed up my lua script :) |
21:57.36 | nevcairiel | lol |
21:57.50 | Mortius | I get an error on that line if I add the registerforclicks |
21:58.00 | Shirik | are you using a frame or a button? |
21:58.04 | Mortius | frame |
21:58.06 | Shirik | because that's a button function |
21:58.25 | *** join/#wowi-lounge sergio_ (n=sp@unaffiliated/sergio) |
21:59.01 | Cide | >>> while ( true ) do end |
21:59.07 | Cide | Cide: maximum execution time exceeded |
21:59.08 | *** join/#wowi-lounge Shadowed (n=outlaw@12.157.177.162) |
21:59.14 | Cide | nice :) |
21:59.16 | Shirik | nice |
21:59.18 | Shirik | >>> return 1; |
21:59.23 | Shirik | *cough* |
21:59.25 | Cide | erm |
21:59.33 | Shirik | >>> return "Hello World"; |
21:59.46 | Shirik | Cide doesn't trust me anymore, the script is set to ignore me |
21:59.54 | Cide | >>> return 1; |
21:59.54 | Cide | Cide: 1 |
21:59.59 | Cide | haha, apparently |
22:00.09 | Cide | try now |
22:00.10 | kergoth | >>> return "Foo" |
22:00.10 | Cide | kergoth: "Foo" |
22:00.13 | Shirik | >> return 1; |
22:00.16 | Shirik | >>> return 1; |
22:00.20 | Shirik | :( |
22:00.20 | Cide | odd |
22:00.25 | cogwheel|work | haha |
22:00.39 | cogwheel|work | >>> return 1; |
22:00.39 | Cide | cogwheel|work: 1 |
22:00.42 | Shirik | T_T |
22:00.48 | Cide | I only have it set to ignore purl, I promise |
22:00.51 | Cide | it just hates you |
22:01.00 | Shirik | return 1==1; |
22:01.08 | Cide | try now, Shirik |
22:01.09 | Shirik | >>> return 1==1; |
22:01.15 | Cide | ah |
22:01.24 | Cide | try again |
22:01.26 | Shirik | >>> return 1==1; |
22:01.30 | Shirik | >>> 7 |
22:01.37 | cogwheel|work | >>> return 5 |
22:01.41 | Mortius | yeah, I just don't know enough to make this happen yet. I'll just have to come back to it sometime in the future. I'm just not understanding what needs to happen. Turn the frame into a button is beyond me. |
22:01.44 | Cide | oops |
22:01.48 | Cide | try now! |
22:01.49 | Shirik | >>> return "I love you, Shirik"; |
22:01.49 | Cide | Shirik: "I love you, Shirik" |
22:01.52 | Shirik | yey |
22:02.07 | *** join/#wowi-lounge sergio_ (n=sp@unaffiliated/sergio) |
22:02.21 | cogwheel|work | time to test the infinite loop... |
22:02.36 | Cide | >>> debug.sethook() --[[ disable hooking, mwahahaha ]] while ( true ) do end return 1 |
22:02.42 | Cide | Cide: maximum execution time (5s) exceeded |
22:03.05 | Shirik | >>> return string.char(10)..string.char(13).."PRIVMSG #wowi-lounge diaf"; |
22:03.05 | Cide | Shirik: "\n\rPRIVMSG #wowi-lounge diaf" |
22:03.11 | Shirik | good you didn't break that in the process |
22:03.53 | Cide | I like this better :) |
22:03.54 | Cide | >>> debug.sethook() --[[ disable hooking, mwahahaha ]] while ( true ) do end return 1 |
22:03.54 | Cide | Cide: disabling of hooks not allowed |
22:04.03 | cogwheel|work | >>> local s = "" for i=1,10 do s=s..i.."\n" end return s |
22:04.03 | Cide | cogwheel|work: "1\n2\n3\n4\n5\n6\n7\n8\n9\n10\n" |
22:04.05 | Shirik | function a() return b() end function b() return a() end a(); |
22:04.15 | Shirik | >>> function a() return b() end function b() return a() end a(); |
22:04.20 | Cide | Shirik: maximum execution time (5s) exceeded |
22:04.25 | Shirik | impressive |
22:05.00 | Cide | my script is kind of a hack now, but meh |
22:05.49 | Shirik | >>> a = loadstring("while(true) end"); pcall(a); |
22:05.49 | Cide | Shirik: |
22:05.53 | Shirik | O_O |
22:05.59 | *** join/#wowi-lounge Karrion (n=kieron@corp-gw01.imrworldwide.com) |
22:06.18 | Shirik | >>> a = loadstring("while(true) do end"); pcall(a); |
22:06.23 | Cide | Shirik: maximum execution time (5s) exceeded |
22:07.09 | Corrodias | i notice you're ending with semicolons |
22:07.13 | Cide | seems to work nicely :) thanks cogwheel|work |
22:07.20 | cogwheel|work | np :) |
22:07.21 | Shirik | it's a habit |
22:07.23 | cogwheel|work | thank the people in #lua |
22:07.31 | Cide | semicolons > * imo! |
22:07.37 | Shirik | *? |
22:07.46 | Cide | wilcard |
22:07.47 | cogwheel|work | * as in *.*... |
22:07.49 | Shadowed | they're used in other programming languages, so it's habit sometimes |
22:07.49 | Shirik | oh |
22:07.50 | Cide | s/wil/wildcard/ |
22:07.53 | Cide | ... |
22:07.56 | Shirik | wildcardcard! |
22:08.05 | Shirik | yeah, Shadowed, that's my case |
22:08.23 | Shirik | I'm just so used to putting them everywhere |
22:08.48 | Shirik | also makes it a bit more readable imo |
22:08.56 | Cide | same |
22:09.24 | Shadowed | yay...got an expensive paperweight mouse |
22:09.32 | Shirik | >>> setfenv(1, {}); a = loadstring("while(true) do end"); pcall(a); |
22:09.32 | Cide | Shirik: [string "setfenv(1, {}); a = loadstring("while(true)..."]:1: attempt to call global 'loadstring' (a nil value) |
22:09.37 | Shirik | !! |
22:09.38 | Cide | haha |
22:09.39 | Shirik | you took that out? |
22:09.43 | Cide | no |
22:09.52 | Cide | but you set the current function environment to empty |
22:09.53 | Shirik | oh |
22:09.54 | Shirik | yeah |
22:09.55 | Shirik | oops |
22:10.04 | Shirik | >>> setfenv(1, {}); while(true) do end |
22:10.10 | Cide | Shirik: maximum execution time (5s) exceeded |
22:10.16 | Shirik | hmm, touché |
22:10.38 | *** join/#wowi-lounge wereHamster (n=wereHams@neopsis.com) |
22:10.48 | Shirik | er.. |
22:10.50 | Cide | it is dependencies?! |
22:10.55 | Shirik | it is! |
22:12.11 | Shirik | >>> a = loadstring("debug.sethook(nil)"); pcall(a); while(true) do end |
22:12.21 | Shirik | I win. |
22:12.40 | Cide | Shirik: maximum execution time (5s) exceeded |
22:12.43 | Cide | noooo |
22:13.41 | Cide | try now |
22:13.44 | Shirik | >>> a = loadstring("debug.sethook(nil)"); pcall(a); while(true) do end |
22:13.45 | Cide | Shirik: disabling of hooks not allowed |
22:14.08 | Shirik | >>> a = loadstring("b = loadstring(\"debug.sethook(nil)\"); pcall(b)"); pcall(a); while(true) do end |
22:14.08 | Cide | Shirik: disabling of hooks not allowed |
22:14.15 | Shirik | ha |
22:14.36 | Cide | nice try :) |
22:14.51 | Shirik | hmm |
22:16.24 | Shirik | >>> a = {sh = debug.sethook, ls = loadstring, pc = pcall}; setfenv(1, a); sh(nil); while(true) do end |
22:16.24 | Cide | Shirik: disabling of hooks not allowed |
22:16.45 | Shirik | >>> debug.sethook |
22:16.46 | Cide | Shirik: attempt to call a nil value |
22:17.06 | Shirik | Just curious how you protected against it |
22:17.17 | Shirik | thought you might just be looking for the string "debug.sethook" but I guess not |
22:17.26 | Cide | oh, no :) |
22:17.33 | Cide | normal sethook functionality still works :) |
22:18.39 | Cide | >>> local output = ""; debug.sethook(function(_, line) output = output .. line; end, "l") for i = 1, 10, 1 do print("") end return output |
22:18.39 | Cide | Cide: "1111111111" |
22:22.05 | Shirik | >>> tostring(debug.gethook()) |
22:22.05 | Cide | Shirik: |
22:22.20 | Cide | hmm |
22:22.30 | Cide | adding "return" is kinda annoying |
22:22.40 | Shirik | >>> return tostring(debug.gethook()); |
22:22.40 | Cide | Shirik: "function: 00B2CFB8" |
22:22.44 | Cide | can you think of a good way to not have to do that? |
22:22.46 | Shirik | bleh, I want the code! |
22:23.00 | Cide | doesn't that take away all the fun? :) |
22:23.02 | cogwheel|work | >>> return (function(s)return(('%s%q'):format(s,s))end)"return (function(s)return(('%s%q'):format(s,s))end)" |
22:23.02 | Cide | cogwheel|work: "return (function(s)return(('%s%q'):format(s,s))end)"return (function(s)return(('%s%q'):format(s,s))end)"" |
22:23.15 | Shirik | o.o |
22:23.27 | Cide | hehe, nice |
22:23.44 | Shirik | I can't even read that |
22:24.32 | Cide | the lua code it executes is ~60 lines now |
22:25.04 | Shirik | >>> a = ""; foreach key, pair in pairs(_G) do a = a .. " | "..key.." => "..pair.." | "; return a; |
22:25.04 | Cide | Shirik: attempt to call a nil value |
22:25.20 | Shirik | >>> a = ""; foreach key, pair in pairs(_G) do a = a .. " | "..key.." => "..pair.." | "; end return a; |
22:25.20 | Cide | Shirik: attempt to call a nil value |
22:25.28 | Cide | for, not foreach :) |
22:25.32 | Shirik | bleh |
22:25.37 | Shirik | >>> a = ""; for key, pair in pairs(_G) do a = a .. " | "..key.." => "..pair.." | "; end return a; |
22:25.37 | Cide | Shirik: [string "a = ""; for key, pair in pairs(_G) do a = a..."]:1: attempt to concatenate local 'pair' (a function value) |
22:26.12 | Cide | that's gonna be spammy :) |
22:26.15 | Shirik | >>> a = ""; for key, pair in pairs(_G) do if (type(pair) == "string") then a = a .. " | "..key.." => "..pair.." | "; end end return a; |
22:26.15 | Cide | Shirik: " | a => | | _VERSION => Lua 5.1 | " |
22:26.41 | Shirik | oops |
22:26.48 | haste | haha |
22:26.49 | Shirik | that... might have been me |
22:26.51 | bleetah | pmsl |
22:26.57 | *** join/#wowi-lounge Cide (n=Cide@81-226-233-5-no60.tbcn.telia.com) |
22:26.57 | *** mode/#wowi-lounge [+v Cide] by ChanServ |
22:27.00 | Shirik | sorry! |
22:27.14 | Cide | I guess I have to limit the output :) |
22:27.14 | bleetah | sorry for finding a bug? :P |
22:27.14 | Cide | my fault |
22:27.21 | bleetah | ;) j/k |
22:27.27 | Shirik | I was trying to find the var that you're using to watch time |
22:27.32 | Cide | hmm, sensible max length? |
22:27.37 | Shirik | 200 chars? |
22:27.44 | Shirik | should be more than enough |
22:27.50 | Cide | >>> a = ""; for key, pair in pairs(_G) do a = a .. " | "..key.." => "..tostring(pair).." | "; end return a; |
22:27.50 | Cide | Cide: " | a => | | log => function: 00369E48 | | wow => table: 00367660 | | tostring => function: 007C1780 | | gcinfo => function: 00366AD0 | | gmatch => function: 003693E0 | | format => function: 00 |
22:27.55 | Cide | works |
22:28.07 | Cide | why use globals when you can use locals? ;) |
22:29.03 | Shirik | what's wow? |
22:29.17 | Cide | not mine |
22:29.36 | Shirik | >>> a = ""; for key, pair in pairs(wow) do a = a .. " | " .. key .. " => "..tostring(pair).." | "; end return a; |
22:29.37 | Cide | Shirik: " | strconcat => function: 0096AA58 | | strtrim => function: 0096A9B8 | | debugstack => function: 0096AAB8 | | getglobal => function: 0096AA78 | | setglobal => function: 0096AA98 | | strjoin => f |
22:29.55 | Cide | oh, it's cogwheel|work's wow-specific functions |
22:29.57 | Cide | I'm guessing |
22:30.27 | cogwheel|work | yep. making a "wow" module was the easiest way to implement them |
22:30.44 | cogwheel|work | I *could* set wow to nil after creating the global aliases, but meh... |
22:31.00 | *** join/#wowi-lounge batrick (i=batrick@d00-64-106-86-242.dhcp.unm.edu) |
22:31.16 | Shirik | >>> function a() end; debug.sethook(a, "c"); debug.sethook(a, "r"); debug.sethook(a, "l"); while(true) end; |
22:31.17 | Cide | Shirik: attempt to call a nil value |
22:31.19 | Shirik | >>> function a() end; debug.sethook(a, "c"); debug.sethook(a, "r"); debug.sethook(a, "l"); while(true) do end; |
22:31.26 | Shirik | hm |
22:31.33 | Cide | Shirik: attempt to call a nil value |
22:31.33 | *** join/#wowi-lounge Osagasu (n=Kronus@208.104.156.29) |
22:31.34 | cogwheel|work | uh oh |
22:31.39 | Cide | haha, I'm guessing that worked |
22:32.06 | Cide | or did it? |
22:32.10 | Shirik | >>> function a() end; debug.sethook(a, "c"); debug.sethook(a, "r"); debug.sethook(a, "l"); while(true) do end; |
22:32.21 | Cide | Shirik: attempt to call a nil value |
22:32.22 | Cide | yep |
22:32.37 | Cide | I guess sethook goes away! |
22:33.50 | Cide | >>> return time() |
22:33.50 | Cide | Cide: 1173825229 |
22:33.56 | Cide | hm |
22:34.09 | pastamancer | you should probably take out debug entirely |
22:34.22 | *** join/#wowi-lounge qw` (n=qw@173.81-167-153.customer.lyse.net) |
22:34.24 | Cide | >>> return type(trace) |
22:34.25 | Cide | Cide: "nil" |
22:34.31 | Cide | ya, probably |
22:34.40 | Shirik | well don't you need debug? |
22:34.49 | Cide | I can still use it myself |
22:35.04 | pastamancer | >>> return debug.traceback() |
22:35.04 | Cide | pastamancer: "stack traceback:\n[string "return debug.traceback()"]:1: in main chunk\n[C]: in function 'pcall'\nd:\lua\input.tmp:25: in main chunk\n[C]: ?" |
22:35.16 | WobWork | crazy |
22:35.18 | Cide | >>> return type(debug) |
22:35.18 | Cide | Cide: "nil" |
22:35.28 | WobWork | http://www.worldmathsday.com |
22:35.28 | *** join/#wowi-lounge Mortius (i=Mortius@ppp-71-128-198-227.dsl.sndg02.pacbell.net) |
22:35.31 | Cide | >>> while (true) do end return "" |
22:35.36 | Cide | Cide: maximum execution time (5s) exceeded |
22:35.37 | WobWork | our target is 10mililon questions correctly answered =P |
22:35.46 | Shirik | >>> function a() end; debug.sethook(a, "c"); debug.sethook(a, "r"); debug.sethook(a, "l"); while(true) end; |
22:35.46 | Cide | Shirik: attempt to call a nil value |
22:35.51 | WobWork | we've already hit 7.5 =P |
22:35.59 | Tain | Poor World Maths Day. Just can't compete with a more important day. |
22:36.15 | WobWork | Happy Birthday Einstein! |
22:36.26 | pastamancer | >>> return type(file) |
22:36.26 | Cide | pastamancer: "nil" |
22:36.27 | WobWork | And Pi |
22:36.43 | Shirik | >>> setfenv(1, {}); while(true) do end |
22:36.44 | pastamancer | ah, yes. There's a Pi day party at work tomorrow |
22:36.47 | Tain | More important! |
22:36.49 | Cide | Shirik: maximum execution time (5s) exceeded |
22:37.03 | Shirik | >>> type(sethook) |
22:37.03 | Cide | Shirik: |
22:37.07 | Shirik | >>> return type(sethook) |
22:37.08 | Cide | Shirik: "nil" |
22:37.22 | *** join/#wowi-lounge toufie (n=toufiej@pool-141-150-74-197.mad.east.verizon.net) |
22:37.51 | pastamancer | >>> return type(package) |
22:37.51 | Cide | pastamancer: "table" |
22:38.07 | Cide | >>> return type(package) |
22:38.07 | Cide | Cide: "nil" |
22:38.13 | pastamancer | heh |
22:38.30 | pastamancer | so much for package.loadlib("io") |
22:38.47 | WobWork | happy dunblane massacre anniversary? |
22:38.49 | pastamancer | >>> return type(require) |
22:38.49 | Cide | pastamancer: "nil" |
22:38.58 | pastamancer | >>> return type(module) |
22:38.59 | Cide | pastamancer: "nil" |
22:39.12 | Cide | require, module, dofile, debug, package, io, os, loadfile, loadlib |
22:39.15 | Cide | are the disabled globals |
22:39.22 | pastamancer | ah |
22:39.29 | Cide | did I miss anything? |
22:39.30 | pastamancer | >>> return _VERSION |
22:39.30 | Cide | pastamancer: "Lua 5.1" |
22:39.35 | pastamancer | gonna check |
22:39.56 | WobWork | Man, it can't be very important, then, Tain =P |
22:40.08 | Shirik | >>> return type(_G["debug"]); |
22:40.08 | Cide | Shirik: "nil" |
22:40.39 | Shirik | so you don't compile python then? |
22:40.42 | Shirik | it's a scripted language? |
22:41.13 | Cide | it's scripted, but can be compiled |
22:41.14 | WobWork | Happy Birthday Johan Strauss |
22:41.27 | cogwheel|work | like lua |
22:41.33 | Cide | yup |
22:41.38 | WobWork | And Billy Crystal |
22:41.44 | Cide | I really like python |
22:41.47 | Cide | (and lua) |
22:41.59 | *** join/#wowi-lounge Mike-N-Go (n=MikeNGoS@64.193.93.197) |
22:42.08 | pastamancer | >>> local x = {} while true do tinsert(x, {}) end |
22:42.14 | Cide | pastamancer: maximum execution time (5s) exceeded |
22:42.27 | pastamancer | I guess it can't allocate much memory in 5 sec |
22:42.43 | WobWork | oh and that girl from Hanson =) |
22:42.51 | Cide | >>> local x = { } while true do tinsert(x, {{{{{{{{{{}}}}}}}}}}) end |
22:42.53 | pastamancer | lol |
22:42.56 | Cide | Cide: maximum execution time (5s) exceeded |
22:43.06 | Shirik | >>> function a() a() end a(); |
22:43.06 | Cide | Shirik: d:\lua\input.tmp:12: stack overflow |
22:43.21 | Cide | line 12! omg! |
22:43.28 | Shirik | how did I get to line 12? |
22:43.38 | pastamancer | this one goes up to 11 |
22:43.47 | Cide | I define a few functions before I loadstring the input |
22:43.52 | Shirik | ah |
22:44.07 | wereHamster | like _G.require = nil :P |
22:44.08 | *** join/#wowi-lounge cladhaire (n=jnwhiteh@WoWUIDev/WoWI/Featured/Dongle/cladhaire) |
22:44.08 | *** mode/#wowi-lounge [+o cladhaire] by ChanServ |
22:44.17 | Cide | that's actually after, but yeah, I do stuff like that |
22:48.08 | Shirik | >>> function a(x) return c("c"); c("l"); c("r"); end function c(x) return loadstring("return debug.sethook(b, \""..x.."\") ;"); end function b() end f = load(a()); pcall(f); |
22:48.08 | Cide | Shirik: attempt to call a nil value |
22:48.26 | Shirik | oops |
22:49.02 | Shirik | >>> n = 0; function a(x) n = n + 1; if n == 1 then c("c"); elseif n == 2 then c("l"); else c("r"); end end function c(x) return loadstring("return debug.sethook(b, \""..x.."\") ;"); end function b() end f = load(a()); pcall(f); |
22:49.03 | Cide | Shirik: [string "n = 0; function a(x) n = n + 1; if n == 1 t..."]:1: bad argument #1 to 'load' (function expected, got no value) |
22:49.22 | Shirik | >>> n = 0; function a(x) n = n + 1; if n == 1 then return c("c"); elseif n == 2 then return c("l"); else return c("r"); end end function c(x) return loadstring("return debug.sethook(b, \""..x.."\") ;"); end function b() end f = load(a()); pcall(f); |
22:49.22 | Cide | Shirik: |
22:49.31 | Shirik | >>> n = 0; function a(x) n = n + 1; if n == 1 then return c("c"); elseif n == 2 then return c("l"); else return c("r"); end end function c(x) return loadstring("return debug.sethook(b, \""..x.."\") ;"); end function b() end f = load(a()); pcall(f); while (true) do end |
22:49.36 | Cide | Shirik: maximum execution time (5s) exceeded |
22:49.40 | Shirik | bleh |
22:49.44 | Shirik | I declare Cide victorious |
22:49.47 | Cide | haha |
22:49.51 | Cide | what did that do anyway? |
22:50.09 | Shirik | Well you disabled loadstring and loadfile but not load |
22:50.13 | Shirik | so I tried to get through it that way |
22:50.24 | Shirik | but imo load is a bitch to use |
22:50.34 | Shirik | the majority of that was just making a function to make it work |
22:50.56 | Shirik | >>> n = 0; function a(x) n = n + 1; if n == 1 then return c("c"); elseif n == 2 then return c("l"); elseif n == 3 return c("r"); else return nil; end end function c(x) return loadstring("return debug.sethook(b, \""..x.."\") ;"); end function b() end f = load(a()); pcall(f); while (true) do end |
22:50.56 | Cide | Shirik: attempt to call a nil value |
22:51.50 | Shirik | I think it's because debug.sethook() doesn't exist anyway so it doesn't matter |
22:51.53 | Shirik | >>> n = 0; function a(x) n = n + 1; if n == 1 then return c("c"); elseif n == 2 then return c("l"); else return c("r"); end end function c(x) return loadstring("return debug.sethook(b, \""..x.."\") ;"); end function b() end f = load(a()); f(); while (true) do end |
22:51.53 | Cide | Shirik: [string "n = 0; function a(x) n = n + 1; if n == 1 t..."]:1: attempt to call global 'f' (a nil value) |
22:52.10 | Shirik | or I'm just not using load() right |
22:52.11 | Shirik | something |
22:52.43 | Shirik | >>> n = 0; function a(x) n = n + 1; if n == 1 then return c("c"); elseif n == 2 then return c("l"); else return c("r"); end end function c(x) return loadstring("return debug.sethook(b, \""..x.."\") ;"); end function b() end f, err = load(a()); if (f == nil) return err; else f(); end while (true) do end |
22:52.43 | Cide | Shirik: attempt to call a nil value |
22:52.53 | Shirik | >>> n = 0; function a(x) n = n + 1; if n == 1 then return c("c"); elseif n == 2 then return c("l"); else return c("r"); end end function c(x) return loadstring("return debug.sethook(b, \""..x.."\") ;"); end function b() end f, err = load(a()); if (f == nil) then return err; else f(); end while (true) do end |
22:52.53 | Cide | Shirik: "[string "return debug.sethook(b, "c") ;"]:1: attempt to index global 'debug' (a nil value)" |
22:52.57 | Shirik | yeah |
22:52.59 | Shirik | that's what I thought |
22:53.01 | Shirik | so you win |
22:53.11 | Cide | _G.debug = nil ftw |
22:53.46 | Shirik | ok time for some CS |
22:53.55 | Shirik | take care :) |
22:54.10 | cogwheel|work | :( |
22:54.17 | cogwheel|work | I was sad to hear that you're ignoring purl :P |
22:54.27 | cogwheel|work | I wanted to make a ~wowiquine |
22:54.42 | Cide | bot wars are evil! |
22:55.04 | cogwheel|work | nick ~cogwheel |
22:55.07 | Mortius | I think I found out why I'm having so much problems here. I can't seem to get my frame clicks to respond to even normal onclick events. some property or something must be wrong. |
22:55.18 | cogwheel|work | "erroneous nickname" |
22:55.27 | Cide | frames don't have EnableMouse by default |
22:55.33 | Cide | so make it a button or set EnableMouse to true |
22:55.47 | cogwheel|work | i already had him make it a button :( |
22:55.52 | Cide | ah, heh |
22:55.56 | WobWork | http://www.theslanket.com/ |
22:55.58 | Mortius | I have enablemouse set to true |
22:56.00 | WobWork | That's a great idea! =) |
22:56.32 | *** join/#wowi-lounge dinesh-work (n=chatzill@c-68-36-168-161.hsd1.nj.comcast.net) |
22:56.46 | cogwheel|work | WobWork: zomg! |
22:57.31 | Cide | I'm so buying one |
22:57.55 | Mortius | I have honestly tried every possible combination of the properties I know about, and the OnClick event never triggers... so there must be something I don't know about. |
22:58.14 | cogwheel|work | Mortius: pastey your XML |
22:58.34 | zenzelezz | I already have a fleece blanket that I use like that o_O |
22:58.54 | Shadowed | BUT does it have sleeves |
22:59.14 | zenzelezz | no, but I've learned how to wrap it around myself to fix that |
22:59.23 | sysrage | whats the target of target thing? [target=targettarget] / |
22:59.24 | sysrage | ? |
22:59.27 | zenzelezz | family keeps calling me a jedi when I walk around in the house with it :-( |
22:59.28 | Mortius | http://wowi.pastey.net/8294 |
22:59.36 | cogwheel|work | sysrage: your target's target |
22:59.47 | sysrage | ya just couldn't remember the target= for it |
22:59.50 | sysrage | i got it right? |
23:00.03 | Shadowed | For macros, you want [target=targettarget], for unit you want targettarget |
23:00.12 | sysrage | ty |
23:01.27 | cogwheel|work | Mortius: i don't see your inherits anywhere... |
23:01.34 | cogwheel|work | is UI builder wiping it out? |
23:01.51 | cogwheel|work | s/builder/designer/ |
23:01.59 | Mortius | im not trying to do any of the secure functions now, just trying to make it trigger the onclick.. is that not possible at all without the inherits? |
23:02.17 | cogwheel|work | you're not supposed to define your own onclick |
23:02.22 | Mortius | I tried with the inherits too anyway |
23:02.25 | cogwheel|work | that's the whole point of inheriting the secure frame |
23:02.58 | Mortius | okay, I'll put it back in the way I had it, I still couldn't get it to work and then the whole frame stopped working. all the code would give me errors. |
23:03.04 | Industrial | http://www.wowinterface.com/downloads/search.php?action=showresults&searchid=146145&sortby=filename&sortorder=asc |
23:03.10 | Industrial | this is whats wrong with the search |
23:03.17 | Industrial | im looking for bongos not crappy ui compilations |
23:03.32 | Industrial | :p |
23:04.45 | Mortius | what if I just wanted clicking on a frame to do something that the secure templates can't do? like print a message in the chatbox? |
23:04.51 | Industrial | should look though addon names only imho |
23:04.55 | Industrial | @ dolby-wowi_ |
23:04.57 | cogwheel|work | Mortius: instead of doing DPlayerFrame:SetAttribute, do self:SetAttribute. That way if you change the name or copy/paste you won't have to change it |
23:05.12 | Mortius | okay nice tip thanks |
23:05.14 | cogwheel|work | Mortius: then you would use a <PostClick> handler |
23:05.22 | zenzelezz | Industrial: I'm inclined to disagree, but I think it should look at names first, then elsewhere |
23:05.37 | cogwheel|work | (or preclick) |
23:05.46 | Tuller | hrm, all I do is get an error from that link :P |
23:06.16 | Mortius | okay, so in that .xml, I should change <FRAME = "blah blah, to <BUTTON = "blah blah? |
23:06.25 | Tuller | if you want a button, then yes |
23:06.29 | Tuller | all tags must match |
23:06.39 | Mortius | but it says on blizzard site that I have to make the size = to a button |
23:06.47 | Mortius | but I dont want to change my frames size |
23:06.57 | Tuller | then don't change its size :P |
23:07.09 | Mortius | then they said it won't work as a button |
23:07.22 | Tuller | a button is simply an object that receives clicks, it has nothing to do with size or anything |
23:07.29 | Tuller | though I think you need a minimum size to actually get clicks |
23:08.09 | Mortius | okay, but I dont really want a button, unless a clickable frame IS a button |
23:08.21 | cogwheel|work | it is |
23:08.33 | Mortius | okay well then I do want a button. :D |
23:08.47 | cogwheel|work | buttons have a few other features, and you *can* make a frame behave like a button but it's more work |
23:08.48 | Mortius | let me cut and paste this, from the blizzard forums |
23:09.05 | *** join/#wowi-lounge wereHamster (n=wereHams@213.239.204.14) |
23:09.05 | Mortius | it says I have to define the size as 32 x 32 or somesuch thing |
23:10.12 | Mortius | well nevermind, blizz forums are down |
23:12.26 | Mortius | okay it says <AbsDimension x="48" y="48"/> |
23:12.40 | Mortius | do I have to do that? |
23:13.02 | Tuller | you need a size to see the thing, but it doesn't have to be that specific size |
23:13.18 | Antiarc|Work | Or you need two anchors that define top/left/right/bottom ;) |
23:13.54 | Mortius | <PROTECTED> |
23:14.00 | Mortius | I'm not sure why hidden="true"? |
23:14.16 | Antiarc|Work | Mortius: Because it's probably shown by the OnLoad script |
23:14.42 | *** join/#wowi-lounge JoshBorke (n=Josh@r35h14.res.gatech.edu) |
23:15.33 | Mortius | okay, when I change my <frame> to <button> and include the inherits="SecureActionButtonTemplate"> all of my calls to the frame give errors.. because I'm guessing the frame doesn't exist anymore? |
23:15.48 | Antiarc|Work | It should still exist, as long as you didn't change the name |
23:15.56 | Antiarc|Work | did you change the </frame> to </button> too? |
23:16.06 | Mortius | I may have forgotten that :D |
23:16.13 | Antiarc|Work | (log/FrameXML.log is awesome for troubleshooting those errors) |
23:16.22 | Antiarc|Work | You can also drop your XML file into a browser to make sure it parses properly |
23:16.31 | Antiarc|Work | IE and Firefox will both tell you where it's broken if it is. |
23:16.37 | Mortius | sweet. thanks for that tip. oh okay, nice. |
23:16.55 | Antiarc|Work | If stuff just doesn't show up - doesn't seem to exist at all - broken XML is a good bet. |
23:17.09 | wereHamster | there's also a xsl (or however the files are called that can be used to validate xml) |
23:18.01 | pastamancer | xsd |
23:18.04 | pastamancer | xsl is style |
23:18.15 | JoshBorke | purl, hug Cairenn |
23:18.17 | purl | ACTION sneaks up on Cairenn and suddenly hugs Cairenn tightly |
23:18.37 | Mortius | holy crap it works |
23:18.39 | Antiarc|Work | Using the browser is a lot faster than digging up and XSD validator though! |
23:18.54 | Mortius | Yeah I forgot the </button> it appears. |
23:19.03 | Antiarc|Work | Very important :) |
23:19.03 | pastamancer | only if you don't have a validating xml parser handy |
23:19.04 | Mortius | it's usually a dumb mistake like that with me. |
23:19.21 | Mortius | I overlook the small things all the time. |
23:19.21 | Antiarc|Work | It's always a dumb mistake like that with everyone ;) |
23:19.42 | Antiarc|Work | I spend more time than I care to admit beating my head against walls over some stupid small error. |
23:19.57 | Mortius | well it's good to know it's not just me then :D |
23:20.24 | JoshBorke | well, i'd hardly say Antiarc|Work is good company ;-) :-P |
23:27.52 | Mortius | I've been using <TitleRegion setAllPoints="true" /> in conjunction with mouseEnable="true" to be able to move a frame. however, now that I made this awesome button, <TitleRegion setAllPoints="true" /> will make it not clickable again. |
23:30.05 | Mortius | is there perhaps a way to set the titleregion with lua? |
23:30.55 | *** join/#wowi-lounge Lej (n=WinNT@81-235-141-90-no63.tbcn.telia.com) |
23:31.57 | Lej | If I have a data structure that looks like this: http://wowi.pastey.net/8295-1u56 |
23:32.42 | Lej | How would I make a for-loop that loops from "Copper Powder" to "Shadowgem" |
23:33.18 | JoshBorke | for entry in pairs(ProspectInfo_OreData['Copper Ore']['Items']) do <stuff> end |
23:34.16 | wereHamster | where 'entry' would be the name of the item |
23:35.18 | Lej | thanks, not familiar with pairs() |
23:35.26 | Shirik|CS | you may want for key, entry in pairs() ... |
23:35.30 | wereHamster | if you want both the name and the corresponding table, do 'for name,entry in ...' |
23:35.33 | Shirik|CS | that way you can tell which index you want |
23:35.38 | Shirik|CS | s/want/are on/ |
23:36.16 | Mortius | this:RegisterForDrag("LeftButton").. can I make this SHIFT+left button? |
23:36.33 | Shirik|CS | you would want to do something like |
23:36.52 | Shirik|CS | register for clicks on left button |
23:37.20 | Shirik|CS | and then do something like |
23:37.24 | Lej | 'for name,entry in ...' would give name "Copper Powder" and entry the data in "Copper Powder"? |
23:37.33 | pastamancer | you can use RegisterForDrag, you'll have to check for the shift key in your OnDrag* functions |
23:37.43 | Shirik|CS | IsShiftKeyPressed() and StartMoving() and StopMovingOrSizing() |
23:37.51 | Shirik|CS | something ilke that |
23:37.56 | Shirik|CS | I'd need to go to wowwiki to get the exact names |
23:38.03 | Shirik|CS | which I don't feel like doing atm I'm too tired :P |
23:38.27 | wereHamster | Lej, yes, 'entry' would be the table, eg. '{ [BaseDrop] = 8840, [PlayerDrop] = 0, [QuantityMax] = 1 }' for copper powder |
23:38.29 | Shirik|CS | I know RDX handles only shift-click drags, let me see if I can find the code |
23:39.01 | Lej | wereHamster: ok, perfeky |
23:39.41 | Shirik|CS | Mortius: Here's how we give our windows that property: http://wowi.pastey.net/8297 |
23:39.57 | Shirik|CS | obviously not all lines apply to your case, but you should get it |
23:40.29 | Lej | So I would access [Basedrop] like so: entry.BaseDrop ? |
23:40.36 | Shirik|CS | aye |
23:40.39 | Mortius | sweet, thanks a lot. |
23:40.53 | Shirik|CS | "handle" is the title bar btw |
23:41.00 | Shirik|CS | "win" is the entire window |
23:41.11 | Shirik|CS | just to clarify; you may be wanting to put both as the same in your case |
23:41.26 | Shirik|CS | this is a generic function that we apply to all our windows on creation, that's where I pulled it from |
23:41.34 | Shirik|CS | so that's why it's a little bit of a mess |
23:42.05 | Mortius | gotcha. alright I'm going to go apply all I have learned. hehe. thanks for all the help. :D |
23:46.47 | Lej | If it looked like this http://wowi.pastey.net/8299 would looping with pairs(ProspectInfo_OreData['Copper Ore']) still only loop through "Copper Powder" to "Shadowgem" (i.e. not BaseProspected and PlayerProspected? |
23:47.51 | wereHamster | Lej, it would also iterate over BaseProspected and PlayerProspected |
23:48.17 | wereHamster | however, you could add 'if type(entry) == "table" then ... end' |
23:48.25 | Cide | hmm, does anyone know the url/name of the google site that shows you common search terms as you type in the search keywords? |
23:48.45 | Lej | wereHamster: ah yeah, that would work |
23:50.23 | Cide | nevermind |
23:53.08 | *** join/#wowi-lounge Adys (n=Miranda@90.11.148.254) |
23:54.45 | Lej | local ProspectInfo_ItemData = { |
23:54.48 | Lej | oops |