00:00.02 | foxlit | SetText sets the text of a button. |
00:00.17 | foxlit | A button can only have one text that is accessible with SetText/GetText |
00:02.04 | Sstixrud | I am not sure how the XMLFrameName stuff would look, could I not just create a table for each frame and go 1=key, 2=key, 3=key etc..? |
00:02.22 | Sstixrud | then index the table for each of my button events? |
00:02.59 | foxlit | Lost you there. |
00:05.08 | Sstixrud | my addon will be triggering a function for every UNITHEALTH/AURA event and checking each button in multiple frames to see if a condition is true (i.e. health below xx, curse, debuff, buff lost etc..). |
00:05.25 | Mike-N-Go | My WoW client is not saving data, and settings from previous sections.. |
00:05.38 | Guillotine | Mike-N-Go: are you using Vista? |
00:06.22 | *** join/#wowi-lounge ChanServ (ChanServ@services.) |
00:06.22 | *** mode/#wowi-lounge [+o ChanServ] by irc.freenode.net |
00:06.41 | *** mode/#wowi-lounge [+v Guillotine] by ChanServ |
00:06.56 | Mike-N-Go | Nope. |
00:06.58 | Sstixrud | so I was thinking instead of SetText/GetText I could just create a table for each frame, listing each button and the user defined characteristics to trigger from |
00:07.08 | Mike-N-Go | I am using Mac OS 10.4.8 |
00:09.43 | Guillotine | then I dunno. is it possible that the saved variables folder is protected from non-admins? |
00:10.08 | *** join/#wowi-lounge Tem_ (n=tardmrr@adsl-234-95-174.lft.bellsouth.net) |
00:10.08 | *** mode/#wowi-lounge [+v Tem_] by ChanServ |
00:11.23 | *** join/#wowi-lounge tingle (n=tingle@W321e.w.pppool.de) |
00:11.28 | tingle | hi |
00:11.37 | Mike-N-Go | The main account I use is Admin, yes I know I am risky. |
00:12.15 | Mike-N-Go | It is the interface settings, like the Action Bar that I just checked to be there, disipeared after I logeded out |
00:13.17 | tingle | i have a question, im learning about scripts and would like to know about a certain function, this is the code: http://wowi.pastey.net/5301 ; what i would like to know is, what action must be taken ingame to make the onload function to be used (Hello World!) |
00:14.45 | *** join/#wowi-lounge stavmar (n=mstav@ppp-70-250-154-177.dsl.austtx.swbell.net) |
00:15.11 | tingle | any help? |
00:16.39 | tingle | please |
00:17.41 | Cairenn | tingle: patience friend, most folks are afk, it's the weekend and everyone is busy playing the expansion :) |
00:18.04 | Cide | must... get... 70... |
00:18.06 | Cairenn | just hang in there and sooner or later someone will hopefully be around that can give you a hand :) |
00:18.17 | Cairenn | heheheh, thanks for proving my point, Cide :) |
00:19.10 | bleetah | I'm downloading, not playing WoW... trying to beat 'Sambo, Sexy Man's high score in Maelstrom |
00:19.33 | bleetah | man I suck at this game |
00:20.02 | Cairenn | I'm actually having fun replaying NWN (original) :p |
00:20.08 | Cairenn | yes yes, I know, I'm lame, sue me |
00:20.17 | bleetah | (for those who don't know, "our very own" Sam Lantinga ported it to Linux) |
00:20.40 | bleetah | some would no doubt argue it's the best thing he ever did ;) |
00:21.41 | foxlit | Weee netherdrake flight |
00:23.33 | foxlit | Hm, it's a neat idea to tease people with flying on things every 1-2 zones |
00:25.16 | Industrial | :P |
00:26.13 | foxlit | It's a pity outdoor pvp here is almost entirely dead. |
00:26.27 | tingle | anyone bothered to check my post up there |
00:26.28 | foxlit | Halaa would've been fun |
00:27.44 | Mikma | tingle: /script MyMod_ShowMessage() ? :) |
00:27.51 | bleetah | tingle: yup, and I'm a noob, so no idea |
00:30.29 | Iriel | tingle: That OnLoad should run on startup as you have it there, assuming your .toc is correct |
00:30.45 | tingle | ok thx |
00:31.22 | tingle | is there somewhere a list of differnt typ of messages i can use instead of message |
00:31.40 | Industrial | wowwiki.com |
00:32.07 | tingle | under where? |
00:35.30 | bleetah | i guess world of warcraft API->chat functions |
00:35.42 | Iriel | tingle: try DEFAULT_CHAT_FRAME:AddMessage("Something") |
00:36.06 | bleetah | Iriel: seeing you're about.... |
00:36.13 | Mike-N-Go | I have what I think is from CT mod, the quest objectives text on my screen |
00:36.24 | bleetah | something ckknight was asking last night, dunno if he worked it out.. but what event happens when a guild member logs out? |
00:36.25 | Mike-N-Go | But I rightclicked it one day |
00:36.43 | Mike-N-Go | And then I am unable to move or alter its state, any ideas? |
00:36.47 | ckknight | I didn't work it out :-P |
00:37.10 | bleetah | oh, heya ckknight... i figured you to be afk/asleep or similar .. thought I might keep asking |
00:37.33 | ckknight | I'm playing my druid |
00:38.11 | bleetah | my favourite class |
00:38.49 | Iriel | bleetah: I believe if the player has guild member notifcations enabled, it's a system message, but i'd have to try it in-game to know for sure |
00:38.57 | Iriel | You could use /dtchatevent or /dteventtrace to find out |
00:39.13 | Iriel | It doesn't update the guild information API's though |
00:39.27 | bleetah | hah, thanks for reminding me to download your devtools to my linux box ;) |
00:39.33 | Iriel | And now.. AFK for a bit. |
00:39.39 | bleetah | it occured to me late last night.. just forgot this morn |
00:39.40 | bleetah | k, cya |
00:44.27 | ckknight | yep, it's CHAT_MSG_SYSTEM |
00:50.19 | *** join/#wowi-lounge nymbia (n=nymbia@67-40-140-44.hlrn.qwest.net) |
00:50.52 | Industrial | What faction is the Bloodsail Buccaneers? wnd why am I 35550/36000 Hated? |
00:51.31 | Cairenn | opposite booty bay |
00:52.51 | Cairenn | basically just about every quest you do in STV gets you negative Bloodsail and positive BootyBay |
00:53.02 | bleetah | Industrial: if you go nutzo against BB, you can get special rewards.. downside is you get killed when trying to enter, say Everlook |
00:53.17 | bleetah | but if you've completed the two continents, there's no faction affiliation in Outlands.. so slay away ;) |
00:53.39 | Industrial | k |
00:53.53 | Industrial | im 31 now |
00:53.55 | Industrial | ;0 |
00:54.11 | Industrial | about to go to grom gol \o/ |
00:54.53 | tingle | some have a sec |
00:55.57 | tingle | heres the code: why wont a frame apear ingame: |
00:55.57 | tingle | http://wowi.pastey.net/5303 |
00:59.37 | Cide | because the xml is far from correct |
01:01.02 | Cide | I can look over it if you indent the code |
01:09.09 | *** join/#wowi-lounge Dezzimal (n=Dezzimal@207-118-140-59.dyn.centurytel.net) |
01:16.01 | Rophy | is it TBC now in the EU-WoW? |
01:16.37 | Xolan | was a day before the US actually |
01:16.47 | Cairenn | what Xolan said :) |
01:17.14 | Rophy | I'd like to get GlobalStrings.lua for the non-enUS locales. |
01:17.18 | Xolan | well, same date, but the time difference made it seem like a day :P |
01:19.12 | Xolan | could I bug anyone with downloading the mod I'm working on and so you can see the bug I can't figure out, and maybe even fix it?... Basically I have a symbol set for a destination on the my compass (which is the mod :P), but it shows when it's not supposed to. I can't see any reason for that in my code. |
01:20.42 | Xolan | nvm I'll sleep on it for tomorrow :P |
01:20.52 | Cairenn | sweet dreams Xolan :) |
01:20.59 | Xolan | cheers :) |
01:21.55 | *** join/#wowi-lounge Sairen (n=Miranda@p549E7A91.dip.t-dialin.net) |
01:22.36 | Xolan | Rophy: Your best bet would be to get a user of each locale to download http://ftp.blizzard.com/pub/WoW/other/InterfaceAddOnKit_Win.zip and extract it for you. |
01:24.03 | Xolan | or... http://wow.curse-gaming.com/en/files/search/?cat=1&q_labels=1&q=globalstrings curse-gaming seems to have the french and german ones :9 |
01:24.59 | Rophy | the ones in curse are still 1.12 |
01:26.32 | *** join/#wowi-lounge Tem (n=tardmrr@adsl-234-95-174.lft.bellsouth.net) |
01:26.32 | *** mode/#wowi-lounge [+v Tem] by ChanServ |
01:31.03 | zenzelezz | I see someone at Blizzard likes Dune |
01:31.59 | bleetah | seems more like 'yay, more space for pop culture references', not just Dune ;) |
01:32.18 | zenzelezz | I like Dune, so I choose to read it my way |
01:32.42 | bleetah | I like H2G2, so every NPC I see I think 'Marvin' |
01:36.44 | *** join/#wowi-lounge Tem__ (n=tard@adsl-234-95-174.lft.bellsouth.net) |
01:37.44 | *** mode/#wowi-lounge [+v tardmrr] by ChanServ |
01:38.14 | Cairenn | we have some EBIL peoples in this channel! |
01:38.26 | Cairenn | http://forums.worldofwarcraft.com/thread.html?topicId=69830477&sid=1 |
01:38.35 | Cairenn | no, I'm not finking on who it is |
01:38.58 | *** join/#wowi-lounge tardmrr (n=tardmrr@adsl-234-95-174.lft.bellsouth.net) |
01:38.58 | *** mode/#wowi-lounge [+v tardmrr] by ChanServ |
01:39.53 | Smeltn` | anyone seen a good guide on getting Tailoring from 300+ |
01:40.45 | Cide | 1. Farm netherweave |
01:40.48 | Cide | 2. Profit! |
01:40.56 | bleetah | 3. Goto 1 |
01:40.56 | Cairenn | Cide: you got it wrong |
01:40.57 | Cide | it takes so much netherweave =( |
01:41.06 | Cide | forgot the "???"? |
01:41.07 | Cairenn | 1. Farm netherweave |
01:41.09 | Cairenn | 2. ?? |
01:41.12 | Cairenn | 3. Profit! |
01:41.20 | Cide | ack. |
01:41.32 | Cairenn | (with an option 4. Goto 1.) |
01:41.36 | Cairenn | optional* |
01:41.43 | *** join/#wowi-lounge kaso (n=kaso@resnet01.nat.lancs.ac.uk) |
01:41.51 | bleetah | that's what the API needs.. more goto's |
01:42.11 | bleetah | Cairenn: that's some seriously twisted post |
01:42.46 | Cairenn | I'm frankly rather frightened by the second post in the thread |
01:43.04 | bleetah | only frightened? i'd be terrified |
01:43.32 | bleetah | i wouldn't pay for RDX if that's the IQ of their devs :/ |
01:44.03 | Smeltn` | ok another question |
01:44.15 | Smeltn` | is there a mob out that will show me who is talking in vent in game |
01:44.16 | Industrial | bleetah: what rewards can you get from going anti BB? |
01:44.29 | Smeltn` | I just got rid of my G15 so now I need a mod to do it for me |
01:44.31 | Smeltn` | : ) |
01:44.50 | Industrial | i dont think thats allowed Smeltn` |
01:44.59 | bleetah | Industrial: http://www.wowwiki.com/Bloodsail_Buccaneers |
01:45.10 | Industrial | bleetah: right |
01:46.15 | bleetah | Industrial: can't immediately see the item links there, but there's a set you can score off them |
01:46.43 | Industrial | cool |
01:46.50 | Industrial | wonder if you can go back to neutral with BB after that |
01:46.53 | Industrial | :D |
01:47.17 | bleetah | Industrial: http://www.wowhead.com/?item=12185 |
01:47.32 | bleetah | yeah, you can... the wiki page has a reasonable guide... no doubt it may be inaccurate for 2.0.5 |
01:47.46 | bleetah | that is just one of the items from the bloodsails |
01:48.45 | Gnarfoz_ | <Industrial> i dont think thats allowed Smeltn` <-- it's fine to do that, you'd need VoiceOverlay |
01:49.13 | Gnarfoz_ | Smeltn`: http://www.voice-overlay.info.ms/ |
02:04.42 | Smeltn` | ok |
02:04.42 | Smeltn` | so |
02:04.47 | Smeltn` | which do we use |
02:04.50 | Smeltn` | and thanks Gnarfoz |
02:05.00 | Smeltn` | Aldor or Scryer |
02:05.39 | Corrodias | there's a wowwiki article about this |
02:06.10 | Smeltn` | http://www.wowwiki.com/Comparison_of_Aldor_and_Scryer_rewards |
02:06.11 | Smeltn` | ? |
02:06.11 | Corrodias | http://www.wowwiki.com/Comparison_of_Aldor_and_Scryer_rewards |
02:06.14 | Smeltn` | hehe |
02:06.15 | Corrodias | damn you |
02:06.15 | Smeltn` | k |
02:06.19 | Corrodias | able to find things for yourself >_< |
02:06.35 | Corrodias | thus, my mage is going for Aldor and my healing druid for Scryer, i believe |
02:07.44 | bleetah | wot?! no engi rewards?! |
02:08.05 | *** join/#wowi-lounge Neuro_Medivh (i=Neuro@pool-71-96-153-94.dfw.dsl-w.verizon.net) |
02:11.46 | Corrodias | engineers already get rewarded with BEING ENGINEERS. |
02:11.57 | Corrodias | that would be like rewarding paladins with their own fancy mounts. OH WAIT! |
02:17.22 | kergoth | being engineers is a worthless reward |
02:22.22 | Corrodias | hey, you get teleporters, nets, and all sorts of other gadgets |
02:22.56 | Corrodias | my little Tailor will never have anything all that fun |
02:23.07 | Corrodias | and leatherworking was just a huge bore. i tossed that out long ago. |
02:23.44 | *** join/#wowi-lounge gnorlish (n=jaydee@cpe-76-173-212-2.socal.res.rr.com) |
02:24.41 | *** join/#wowi-lounge Elkano_2nd (n=elkano@p54A5259D.dip0.t-ipconnect.de) |
02:25.52 | kergoth | lots of gadgets that fail a lot and most of which take up a trinket slot that would be better used on something else |
02:26.14 | *** join/#wowi-lounge LightShadow (i=go@c-68-55-106-124.hsd1.md.comcast.net) |
02:28.36 | *** join/#wowi-lounge Sairen (n=Miranda@p549E7A91.dip.t-dialin.net) |
02:32.58 | *** join/#wowi-lounge Kaelten (n=kaelten@c-68-63-37-246.hsd1.al.comcast.net) |
02:33.00 | *** mode/#wowi-lounge [+v Kaelten] by ChanServ |
02:34.30 | bleetah | before mages got water elementals, having a dragonling handy was.. very useful |
02:34.39 | *** join/#wowi-lounge gnor (n=jaydee@cpe-76-173-212-2.socal.res.rr.com) |
02:34.49 | Austerity | for 1 min |
02:35.04 | Austerity | then hour cooldown |
02:36.28 | bleetah | yup, useful for getting out of the way of adds in tight spots, if deployed correctly |
02:36.41 | Austerity | I wish I could pronounce Azjol-Nerub |
02:36.41 | bleetah | and the cooldowns aren't shared ;) |
02:36.54 | Austerity | =) |
02:36.56 | *** part/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |
02:37.01 | kahdgarxi | Austerity - play warcraft 3 |
02:37.02 | *** join/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |
02:37.07 | bleetah | woops, wrong button! :D |
02:37.12 | Austerity | laff |
02:38.22 | Austerity | az-jol-knee-rub? |
02:39.26 | kahdgarxi | az-jole neh-rube |
02:41.03 | Austerity | ty really bizare help request i guess lol |
02:44.56 | bleetah | omg "if you can't understand UNIX-based operating systems please stick to Windows." /cry |
02:45.23 | kahdgarxi | yeah, cause everybody understands windowxs |
02:45.57 | bleetah | yup, I understand "use it and pray it won't eat your babies" quite clearly ;) |
02:46.52 | bleetah | OT: anyone in here a last.fm member? feel free to add Bleeter to your friends :) |
02:46.58 | bleetah | and send me a message ;) |
02:47.10 | XolanZzz | <-- same |
02:47.13 | XolanZzz | "Xolan" though |
02:48.20 | XolanZzz | had to watch some House before snoozing :P |
02:51.50 | bleetah | mmm bit of a tull fan, XolanZzz... I wish I had more Tull and some early maiden |
02:52.05 | kahdgarxi | awesome movie |
02:52.30 | bleetah | i'd still prolly not get to listen to it, 60days ~ 110GB of music |
02:52.31 | XolanZzz | I'm down with anything rock related bleetah ;) |
02:53.15 | XolanZzz | thought as you can probably see/guess I'm more of a metal guy |
02:53.19 | XolanZzz | and classical actually :P |
02:53.28 | *** join/#wowi-lounge Insa (n=ins@80.201.214.186) |
02:54.11 | bleetah | as you may be able to tell from mine, I'm all over the place |
02:54.22 | XolanZzz | yep lol |
02:54.37 | bleetah | cept for a couple I left on repeat when I went afk for two weeks :/ |
02:54.42 | bleetah | hence they're high on the list |
02:54.56 | XolanZzz | hehe |
02:55.07 | XolanZzz | pink floyd \o/ |
02:55.57 | bleetah | Beethoven! \o/ ^ \o/ |
02:56.16 | bleetah | not as crazy as Mahler, but I still like his stuff ;) |
02:56.48 | XolanZzz | :) |
02:57.17 | XolanZzz | you should try http://www.last.fm/music/Diablo+Swing+Orchestra |
02:58.15 | bleetah | ok, as long as you try some http://www.last.fm/music/TISM |
02:58.26 | bleetah | yes, they are actually worth the 3000 plays/top position on my chart |
02:58.36 | XolanZzz | thought that was the fluke lol |
02:58.45 | bleetah | definately not |
02:59.38 | bleetah | XolanZzz: http://home.vicnet.net.au/~moretism/ for their lyrics, to give you an idea... many many australianisms in there, but.. damned good at it ;) |
03:00.08 | XolanZzz | interesting... :) |
03:00.18 | XolanZzz | I'll give it a spin in the morning |
03:00.28 | XolanZzz | think I need to do what my nick says now |
03:00.58 | Austerity | xolan? j/k |
03:01.22 | XolanZzz | ... :) |
03:01.43 | *** part/#wowi-lounge XolanZzz (n=Xolan@217-104-65.521110.adsl.tele2.no) |
03:03.27 | *** join/#wowi-lounge kahdgarxi (n=kahdgarx@64.16.47.157) |
03:14.11 | Mike-N-Go | http://pastey.net/5310 I sent in for a quest that is un-doable.. |
03:18.05 | bleetah | I've done it |
03:18.22 | bleetah | I collected some bottles of booze, took it to the guy, he gave me the invite... then I could loot the items on the table |
03:20.38 | *** join/#wowi-lounge Antiar1 (n=Chris@wsip-70-184-82-98.ph.ph.cox.net) |
03:21.28 | *** part/#wowi-lounge Grumnal (n=Grumnal@ool-4574dc93.dyn.optonline.net) |
03:28.49 | Corrodias | bloodsail buccaneers. are they fun to be allied with? :( |
03:31.42 | bleetah | some would argue you haven't really done endgame until you've gone and got allied with them, then back again with BB ;) |
03:36.20 | *** join/#wowi-lounge PProvost (n=PProvost@pool-71-112-42-102.sttlwa.dsl-w.verizon.net) |
03:37.38 | Nightdew | any addons left that show what a particular item is used in..? |
03:37.48 | Nightdew | quest.. profession .. etc? |
03:37.58 | kahdgarxi | Nightdew- the auctioneer swuite does that for professions |
03:38.02 | kahdgarxi | and QuestFu does that for quests |
03:38.22 | Nightdew | auctioneer is out of commission .. no? |
03:38.28 | zenzelezz | eh? |
03:38.28 | kahdgarxi | there's a beta out |
03:38.30 | bleetah | hope not |
03:38.40 | bleetah | lot of wasted time spent on the beta, and supporting the users, etc. |
03:38.41 | Nightdew | i didnt see it on there site |
03:38.43 | Nightdew | where can i find it |
03:38.58 | kahdgarxi | http://www.auctioneeraddon.com/dl/AuctioneerComplete/ |
03:39.19 | bleetah | our usual download location |
03:39.38 | bleetah | just so i can skip the next support request.. make sure you get the beta |
03:39.45 | Nightdew | 3.9? |
03:39.50 | bleetah | yes |
03:40.09 | Nightdew | why didnt yall go with 4.0.. with so mny api changes |
03:40.20 | bleetah | 3.9 is the beta version for 4.0 |
03:40.30 | bleetah | that 3.9+0.1=4.0 is pure coincidence ;-) |
03:40.45 | bleetah | sorry.. that 3.8+0.2 = 4.0 ... |
03:41.04 | Nightdew | why isnt there anyting on the main page..? |
03:41.15 | bleetah | why are you here and not in #norganna? |
03:41.30 | bleetah | pretty much the same reason, I guess... too many things to keep track of |
03:41.30 | Nightdew | lol |
03:41.47 | Nightdew | k k |
03:42.03 | Nightdew | not trying to be difficult.. even if i am |
03:42.08 | bleetah | iu'd rather the crew work on code, than tart up web pages that refer to beta test version, because then we get every idiot using the stuff as opposed to those with half a clue to debug |
03:42.22 | bleetah | when we go gamma, it'll prolly be a different story ;-) |
03:43.18 | Nightdew | whats the timeline for that if i may ask |
03:43.24 | Nightdew | high level timeline |
03:44.36 | bleetah | seeing Blizz (TM)'d 'Soon', we've (TM)'d 'When it's ready' ;-) |
03:44.41 | kergoth | whats a good small addon for setting raid icons on targets? |
03:44.46 | kergoth | i know there was a raid icon bar somewhere.. |
03:47.10 | Nightdew | lol |
03:47.52 | bleetah | seriously, though, we're looking at better calculation algorhythms... and that's eating a fair bit of delay |
03:48.22 | bleetah | algorithm ... argh, why do I keep using that other word... it's only a lame CD produced by my brother ;) |
03:50.39 | Nightdew | heh |
03:57.14 | *** join/#wowi-lounge [Wobin] (i=Wobin@218-214-59-86.people.net.au) |
03:58.27 | Corrodias | well, kergoth... i remember seeing one a while back |
03:59.14 | Corrodias | personally i think i just use control+fkeys bound with the keybinds menu, and my unitframes (xperl) give me a popup menu on right-click that includes a dropdown for raid icons |
04:00.45 | [Wobin] | so. |
04:00.48 | [Wobin] | FrameXML |
04:01.05 | [Wobin] | will the normal one do for TBC, or do I need the specific TBC one |
04:01.06 | [Wobin] | ? |
04:05.22 | kergoth | Corrodias, true, thatll do |
04:05.26 | kergoth | didnt think about that |
04:23.32 | PProvost | WowAceUpdater v1.7beta2 is now available for download from http://sf.net/projects/wowaceupdater. This release has minor updates to mirror caching and a few other fixes. |
04:36.27 | bleetah | omg, they finally fixed the blizz store to work in firefox with adblock! |
04:37.00 | bleetah | damn, BC's out of stock.. that's gotta hurt ;) |
04:40.17 | *** join/#wowi-lounge Quetzi (n=Quetzi@i-83-67-30-147.freedom2surf.net) |
04:40.27 | *** join/#wowi-lounge Parak (i=PROFI@user-10874ap.cable.mindspring.com) |
04:42.21 | Corrodias | i've never tried a rep grind of any kind |
04:42.40 | Corrodias | wait, scratch that |
04:42.59 | Corrodias | i've done AV for rep, which was fast after that one patch, and also some ZG |
04:43.12 | Corrodias | but i've never done a "normal speed" rep grind |
04:43.21 | Mr_Rabies2 | av isnt really a rep grind :p |
04:47.01 | Mr_Rabies2 | who here's on the enGB client? :O |
04:47.24 | zenzelezz | me |
04:48.28 | bleetah | yeah, AV's more of a fish grind than a rep grin ;) |
04:48.52 | *** part/#wowi-lounge ag` (n=ag`@0x535bbf63.bynxx18.adsl-dhcp.tele.dk) |
04:48.58 | Mr_Rabies2 | is it "Honour Hold" for you guys? :O |
04:49.23 | zenzelezz | not for me anyhow |
04:49.25 | bleetah | Mr_Rabies2: doubt it, last I heard they still were getting enUS |
04:49.40 | bleetah | *enUS strings, that it |
04:49.42 | bleetah | is |
04:49.50 | Mr_Rabies2 | what about honor points? |
04:49.57 | Mr_Rabies2 | honour or no? :o |
04:50.10 | zenzelezz | "honor" |
04:50.22 | Mr_Rabies2 | bet that drives you guys nuts :x |
04:50.35 | bleetah | it drives oceanics nutzo, too |
04:50.49 | Mr_Rabies2 | i know itd drive me nuts if it was the other way around |
04:51.04 | kremonte | for a dynamic fontstring, would i be using CreateFrame("FontString", ...) ? |
04:51.15 | bleetah | what's worse for Oceanics, we abandoned imperial measurements around 30 years ago... and yet the game is in feet/yards |
04:51.42 | bleetah | enGB is still going through that phase, so prolly not as annoying to them ;) |
04:51.44 | Mr_Rabies2 | well you guys are on the us client right? |
04:51.44 | zenzelezz | meh, I'm EU and I still get yards in-game as well |
04:51.55 | *** join/#wowi-lounge Xuerian (n=core@12-196-151-145.psknet.net) |
04:51.57 | kremonte | bleetah: arbitrary measurements, lol, frFR and deDE clients use "m" instead of "yd" |
04:52.12 | kremonte | instead of 30 yd, it'd just show 30 m |
04:52.13 | Mr_Rabies2 | yd ~= meter anyhow |
04:52.21 | kremonte | yea, they're arbitrary |
04:52.46 | bleetah | yeah, but it just demonstrates how the localisation.. isn't that localised ;-) |
04:52.49 | zenzelezz | yard and meter aren't too different though |
04:52.50 | kremonte | for a dynamic fontstring, would i use createframe()? |
04:52.54 | zenzelezz | 91.44cm to a yard |
04:53.01 | kremonte | createframe("fontstring", ...) anyhow |
04:53.52 | bleetah | what beats me, is why blizz haven't invented their own measurement system, and then just said 1 foobre = 1 yard or 1 metre. Stop yer whining, it's saving our translators! |
04:53.57 | Cide | kremonte: no |
04:54.12 | kremonte | what am i using? :x |
04:54.19 | Cide | :CreateFontString() |
04:54.32 | Mr_Rabies2 | 1 yard is most likely 3 ingame units |
04:54.47 | Mr_Rabies2 | since it's easier for them to work in feet for scaling for anything probably |
04:55.15 | kremonte | hm wait a minurte. i'm labelling a button here, but button:SetText() isnt working |
04:55.18 | kremonte | did i break something :( |
04:55.22 | Cide | button:SetFont |
04:55.27 | *** part/#wowi-lounge buu (n=buu@71.6.194.243) |
04:55.31 | Cide | or :SetButtonFont, I forgot |
04:55.57 | Cide | Button:SetTextFontObject actually |
04:55.58 | kremonte | what am i using for setfont()? :x |
04:56.12 | Cide | http://www.wowwiki.com/API_Button_SetTextFontObject |
04:56.21 | Mr_Rabies2 | man i feel like such a traitor for joining scryers |
04:56.22 | Mr_Rabies2 | :[ |
04:57.39 | kremonte | what's the virtual font for large? before i go looking through mods :< |
05:20.19 | Nom- | heh....i wish i could grind as well as some of the guys on our server |
05:20.23 | Nom- | We already have a level 70 |
05:20.33 | Nom- | and we have several people with BE Pallys above level 40 |
05:20.42 | Nom- | I'm level 28 :(* |
05:21.12 | *** join/#wowi-lounge rronkiv (n=drkanglx@ip68-8-218-90.sd.sd.cox.net) |
05:21.21 | rronkiv | Howdy |
05:23.54 | Cairenn | hi |
05:24.22 | Corrodias | HI! |
05:24.24 | Corrodias | WELCOME TO FUNVILLE |
05:24.31 | Corrodias | WHERE ALL YOUR DREAMS TURN INTO SMILING RAINBOWS |
05:24.40 | Cairenn | Corrodias hunny, you okay there? |
05:24.54 | Corrodias | i love hard apple cider. |
05:25.12 | Corrodias | however, i'm not drunk, just pleased with my new action buttons layout |
05:25.35 | rronkiv | anyone know of a auctionier like pluggin that works? |
05:25.50 | Cairenn | auctioneer works fine if you get the beta version of it |
05:26.03 | Cairenn | Test versions: http://auctioneeraddon.com/dl/AuctioneerComplete & http://gathereraddon.com/dl/Gatherer | Post bugs on trac or http://norganna.pastey.net/ | Uploads to http://norganna.org/up (if asked) | Vent: talk.norganna.org:4905 | ~auctstuff | #wowi-lounge for general chatter | Patience, my young padawan. |
05:26.18 | rronkiv | wtf |
05:26.20 | rronkiv | which 1 do i download? |
05:26.33 | rronkiv | it doesnt work in my wow |
05:26.46 | bleetah | i'd type that I just broke my keyboard by hitting my head against it.. but as I've broken my keyboard.. I shant |
05:26.50 | Cairenn | well, one is auctioneer and the other is gatherer, as indicated by the names in the links ;) |
05:26.51 | Corrodias | report bugs. |
05:26.59 | rronkiv | but i think i downloaded the wrong one |
05:27.04 | rronkiv | brb |
05:27.13 | bleetah | if you didn't read, you wouldn't have downloaded the beta |
05:27.24 | rronkiv | TYTYTYTYTYTYTT |
05:27.35 | rronkiv | oh i did download from auctioneercomplete |
05:27.44 | rronkiv | however i think i accidently unzipped the wrong one ( i had a couple dl'ed |
05:27.50 | Cairenn | make sure you get the beta version |
05:27.58 | rronkiv | hey can anyone recommend a GOOD PST PvP Server? I am located in San Diego :) |
05:28.05 | rronkiv | i did, wow just loaded it. |
05:28.21 | Cairenn | good |
05:29.08 | bleetah | is it just me, or are the 'rested footprints' of the new inns smaller? |
05:29.37 | bleetah | eg, honor hold -> have to be well inside the doorway almost fully inside the main room... bloodwatch->have to be well inside the doorway |
05:46.58 | *** part/#wowi-lounge Wing87 (n=Wing@c83-254-243-177.bredband.comhem.se) |
05:53.10 | bleetah | i've gotta say, there's something totally both satisfying and freaky grinding mobs to the Colonel Bogey march |
05:54.51 | Cairenn | rofl |
05:55.33 | bleetah | might have to go get myself a Sousa CD, just to further test this theory |
05:56.55 | rronkiv | anyone here play on BronzeBead? |
05:57.36 | Industrial | Where do I learn first aid 150+ ? |
05:58.08 | bleetah | Industrial: books from... ugh, that busted castle up in arathi |
05:58.13 | bleetah | bane escapes me atm |
05:58.19 | bleetah | s/bane/name/ |
05:58.29 | bleetah | new auctioneer beta build released |
05:58.41 | zenzelezz | "Expert First Aid - Under Wraps" |
05:58.51 | zenzelezz | Stromgarde if you're alliance |
05:59.11 | bleetah | oh yeah.. i forgot.. maybe not alliance. my brain's rotted by guildies :/ |
05:59.38 | Industrial | im horde |
05:59.44 | zenzelezz | Brackenwall |
05:59.54 | Cairenn | umm.. yeah, what zenzelezz just saiud |
05:59.56 | Cairenn | said |
06:00.06 | bleetah | what Cairenn said |
06:00.11 | bleetah | -typos |
06:00.15 | Industrial | k |
06:00.50 | Industrial | so, wheres that? Brackenwall? |
06:00.54 | Industrial | lol :p |
06:01.23 | Cairenn | zone just south west (?) of Barrens |
06:01.26 | Cairenn | the marsh one |
06:01.46 | Industrial | k |
06:02.03 | bleetah | dustwallow |
06:02.14 | Cairenn | that's it |
06:02.19 | bleetah | Cide: matter of curiosity, what causes the 'mail db error' when opening multiple mails using MailMod? |
06:02.22 | Industrial | >_o im level 32 |
06:03.02 | Cide | opening stuff too fast usually |
06:03.52 | bleetah | hehe, that makes sense.. I get the lag error message when sending, and open too fast... almost sounds too close to my life |
06:04.16 | Industrial | Desolace \o/ |
06:07.15 | *** join/#wowi-lounge Thunder_Child (i=user@cpe-76-169-214-196.socal.res.rr.com) |
06:08.33 | Kemayo | Anyone happen to know how Ravagers stack up to pre-expansion pets? |
06:15.45 | Cairenn | depends on the pet |
06:15.58 | Cairenn | I'm sure some of them, you have to stack them up 3 or 4 high |
06:17.52 | *** join/#wowi-lounge Hallu3 (n=Hallucin@65.90.6.2) |
06:17.56 | Cairenn | (I know, that was lame) |
06:20.07 | Thunder_Child | Groan @ Cairenn |
06:24.35 | bleetah | I once saw a stack of pets |<----------------- this wide ------------------->| ... dunno how it'd go horizontal, tho |
06:26.06 | kaso | Anyone got a copy of the 2.0.6 patchnotes? i cant seem to find any |
06:26.24 | bleetah | 2.0.6 is out? |
06:26.40 | kaso | oh wait nm |
06:26.41 | Cairenn | PTR |
06:26.43 | kaso | its on the PTR |
06:26.46 | kaso | found them |
06:26.50 | kaso | http://forums.worldofwarcraft.com/thread.html?topicId=69997048&sid=1 |
06:27.37 | bleetah | "Improved the robustness of the pet action bar display. It is now less likely to be accidentally blocked by addons. " hehehe |
06:27.43 | bleetah | love how they're covering themselves there |
06:28.43 | Cide | not really |
06:28.50 | Cide | can never prevent things from becoming tainted |
06:29.13 | Cairenn | night clad|sleep |
06:29.23 | Cide | night (going to bed as well) |
06:29.24 | clad|sleep | night |
06:29.29 | Cairenn | night Cide |
06:29.35 | Cairenn | sweet dreams both :) |
06:29.38 | Cide | you too |
06:30.41 | Thunder_Child | would anyone know what the name of the pin that connects the front tire to the frame on a bicycle? |
06:31.22 | zenzelezz | hm, those patch notes don't seem to mention getting disconnected after being mind-controlled |
06:33.45 | zenzelezz | and there the world server goes again... this time almost at the least crowded time of day |
06:34.50 | rronkiv | hey, i am trying to create a WoW Forum, would anyone in here be intrested in helping, im looking for Mods and Users |
06:42.24 | Cairenn | sorry, kinda already have my hands full |
06:43.21 | bleetah | "you cannot logout right now" << lies! pkill ftw! :) |
06:44.05 | Xuerian | rronkiv: The world needs another wow forum? |
06:45.35 | Mr_Rabies2 | haha i love getting tells after i run an instance of "holy crap dude you rock" |
06:45.55 | Mr_Rabies2 | makes me feel so great :p |
06:46.07 | Cairenn | nice :) |
06:47.19 | Mr_Rabies2 | honestly the thing that saved the group was the priest leaving shadowform midway through the final boss of ramparts, good times |
06:47.35 | Mr_Rabies2 | gave much needed ranged dps to the first part, gave much needed healing to the second part |
06:47.48 | Mr_Rabies2 | kudos blizz for making hybrid fights :D |
06:48.38 | Mr_Rabies2 | i still got top dps tanking though :P |
06:50.53 | Mr_Rabies2 | okay this is weird |
06:51.04 | Mr_Rabies2 | i keep having npcs calling me sweetheart and darlin |
06:51.14 | Cairenn | o.O |
06:51.17 | Mr_Rabies2 | male npcs, male char |
06:51.28 | Xuerian | o.0; |
06:51.52 | kergoth | meh, feels a lot later than it is for some reason |
06:51.55 | Mr_Rabies2 | well |
06:51.58 | Mr_Rabies2 | i think it's just gunny |
06:52.02 | Mr_Rabies2 | actually |
06:52.37 | Mr_Rabies2 | he says "Druid, put together a force to investigate the Bloof Furnace inside Hellfire Citadel at once! And that means today, princess!" |
06:52.44 | Mr_Rabies2 | bloof |
06:52.45 | Mr_Rabies2 | ha |
06:53.06 | zenzelezz | Gunny in the HH keep? |
06:53.21 | Mr_Rabies2 | yeah |
06:53.30 | zenzelezz | he also says "What is your major malfunction?" when you talk to him and he doesn't have a quest for you at the time |
06:53.34 | Xuerian | Well princess I can see. (See: Dr. Cox). But sweetheart and darlin'.... |
06:53.39 | Mr_Rabies2 | Dialogue appears to be based upon Gunnery Sergeant Hartmann from Full Metal Jacket. |
06:53.40 | kergoth | zenzelezz, nice |
06:53.40 | Mr_Rabies2 | okay |
06:53.42 | Mr_Rabies2 | that's why |
06:53.51 | Mr_Rabies2 | i was like |
06:53.52 | Mr_Rabies2 | O_o |
06:54.03 | Mr_Rabies2 | i'd understand if he was a blood elf i mean |
06:54.13 | Xuerian | Haha. |
07:01.56 | Mr_Rabies2 | hrm |
07:02.19 | Mr_Rabies2 | is there a list of jewels somewhere? i'm looking all over wowhead and don't see crap |
07:04.31 | *** join/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |
07:06.03 | Cairenn | http://www.thottbot.com/?iclass=7.4 |
07:07.03 | bleetah | there's something totally screwey with Blizz offering free transfers off Khaz Modan and threats of forced server split if people dont.... |
07:07.25 | kaso | hmm, he went |
07:07.27 | Cairenn | Mr_Rabies2: that link was for you |
07:07.46 | *** join/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |
07:07.54 | bleetah | ... whilst the char-transfer allows the same realm as a target to move to |
07:08.18 | kaso | Hm? what do you mean bleetah |
07:09.05 | bleetah | ok, the login screen for the game, mentions free transfers off Khaz Modan, and threatens server splits if the realm pop doesn't decrease enough to their liking. yet they'll still happily take my $25 to transfer a char ONTO that realm ;) |
07:09.14 | kergoth | paid char transfer you mean? i dont see why they'd remove it, if people are stupid enough to pay for what they can get for free, its their own fault |
07:09.22 | kergoth | ohhh |
07:09.25 | kergoth | thats just silly |
07:09.47 | bleetah | I haven't crosschecked the list, but that singular example.... |
07:09.53 | bleetah | .. might post to the Customer forums ;) |
07:12.36 | Mr_Rabies2 | <@Cairenn> Mr_Rabies2: that link was for you |
07:12.38 | Mr_Rabies2 | oh sorry, thanks |
07:12.43 | Mr_Rabies2 | i was looking all over wowhead again :p |
07:12.48 | Mr_Rabies2 | missed it |
07:22.19 | *** join/#wowi-lounge LLoydBates (n=anonym@p50925A8D.dip.t-dialin.net) |
07:25.12 | *** join/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |
07:25.59 | Industrial | ding 33 |
07:26.06 | zenzelezz | grats |
07:58.35 | *** join/#wowi-lounge dukeku_ (n=dukeku@c-67-160-162-146.hsd1.or.comcast.net) |
08:01.08 | *** join/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |
08:02.50 | *** join/#wowi-lounge Bleeter (n=Bleeter@guifications/developer/bleeter) |
08:04.58 | *** join/#wowi-lounge Antiarc (n=Chris@wsip-70-184-82-98.ph.ph.cox.net) |
08:09.02 | Mr_Rabies2 | wth |
08:09.08 | Mr_Rabies2 | kalimdor is down |
08:09.12 | Mr_Rabies2 | of all things |
08:20.44 | *** join/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |
08:32.10 | Mr_Rabies2 | where are people getting 2.06 notes? |
08:33.54 | Cairenn|afk | PTR |
08:34.35 | Cairenn|afk | http://forums.worldofwarcraft.com/thread.html?topicId=69997048&sid=1 |
08:34.55 | Shadowed | "v |
08:34.58 | Shadowed | "Counterspell" no longer triggers the global cooldown. |
08:34.59 | Shadowed | damnit =( |
08:35.02 | Shadowed | whiny mages |
08:36.11 | Mr_Rabies2 | The Legion Fel Cannons at Forge Camp Anger in Blades Edge will now properly spawn above ground. |
08:36.14 | Mr_Rabies2 | this is a good thing |
08:36.22 | Mr_Rabies2 | those freakin felcannons underground shooting me |
08:36.29 | Mr_Rabies2 | i even had one shooting me from across the continent |
08:37.54 | Mr_Rabies2 | so how do you reverse your aldor/scyer choice? |
08:37.54 | Mr_Rabies2 | scryer* |
08:37.54 | Mr_Rabies2 | turning in armaments/whatever? |
08:42.07 | bleetah | wonder if they'll fix the mage frostbolt and arcane missiles in 2.0.6 |
08:42.14 | bleetah | or, if they're fixed and not mentioned |
08:42.58 | bleetah | rank 12 frostbolt doing less dmg than 11.. and arcance missiles seeming impossible to fire the 5 you're meant to get (mostly get four, I seem to recall someone saying they only got 3) |
08:46.14 | bleetah | Mr_Rabies2: I get the feeling those bugged canons may have been left in to remind people there'd still be a few bugs ;) |
08:47.10 | Mr_Rabies2 | i get reminded of that every day :[ |
08:47.19 | Mr_Rabies2 | every time im autoattacking, hit mangle, and get "out of range" |
08:48.09 | bleetah | every time I hit think of hitting FD, I have to think twice about whether it might be not worth it if the aggro table doesn't get dumped properly |
08:48.41 | Mr_Rabies2 | i hate that too |
08:48.51 | Mr_Rabies2 | or it lagging on dumping it |
08:49.18 | Mr_Rabies2 | i cant do my feign/jump back up instantly cause there's a delay half the time |
08:49.22 | bleetah | nah, it's definately bugged... after the mobs beat your pet to death, you'll prolly see them come over to you and start pounding your head in |
08:49.46 | bleetah | oh, sorry, thought you were suggesting it was caused by lag.. yeah, that sucks a bit too |
08:50.06 | Mr_Rabies2 | but this druid range bug sucks :[ |
08:50.17 | Mr_Rabies2 | its been in siunce release |
08:50.23 | Mr_Rabies2 | since* |
08:51.19 | bleetah | what gets me, on pretty much all classes I've played.. one spell/melee/ranged can be out of range, yet you go for another spell/melee/ranged again after not moving and the mob not moving, then it's in range... change back to the original attack, out of range again |
08:51.29 | bleetah | some weird ass rounding going on, I think |
09:03.45 | *** join/#wowi-lounge Xuerian (n=core@12-196-151-145.psknet.net) |
09:08.58 | *** join/#wowi-lounge Widgertick (n=hello@adsl-69-231-234-168.dsl.irvnca.pacbell.net) |
09:09.49 | Widgertick | Moo. |
09:14.07 | *** join/#wowi-lounge Dolby-wowi_ (n=Dolby-wo@CPE-70-94-30-72.wi.res.rr.com) |
09:15.01 | Widgertick | Sup Dolby =) |
09:16.17 | *** join/#wowi-lounge Dolby-wowi_ (n=Dolby-wo@CPE-70-94-30-72.wi.res.rr.com) |
09:18.03 | *** join/#wowi-lounge Royal (n=m@cp291458-a.landg1.lb.home.nl) |
09:18.46 | *** join/#wowi-lounge Dolby-wowi_ (n=Dolby-wo@CPE-70-94-30-72.wi.res.rr.com) |
09:21.33 | *** mode/#wowi-lounge [+o dolby-wowi] by ChanServ |
09:24.01 | *** join/#wowi-lounge Jens (n=jens@pdpc/supporter/active/Jens) |
09:30.22 | Mr_Rabies2 | hrm |
09:31.29 | *** join/#wowi-lounge Jocco_S (n=jocco@217-210-128-16-no18.tbcn.telia.com) |
09:31.31 | Mr_Rabies2 | wth, bc items can have negative ids? |
09:32.45 | Widgertick | What? |
09:32.52 | Widgertick | That shouldn't be possible. |
09:33.48 | Mr_Rabies2 | are there any databases that list item IDs? |
09:34.14 | Widgertick | Yeah, Allakhazam |
09:34.46 | Mr_Rabies2 | http://wow.allakhazam.com/db/item.html?witem=24391&locale=enUS;source=live |
09:34.48 | Mr_Rabies2 | don't see the id |
09:35.16 | Widgertick | It's 24391 |
09:35.27 | Mr_Rabies2 | lemme see |
09:35.51 | Widgertick | It's in the URL |
09:36.01 | Mr_Rabies2 | hrm |
09:36.09 | Mr_Rabies2 | according to informant |
09:36.53 | Mr_Rabies2 | the item link for those are 24392:0:2690:0:0:-1948061197 |
09:36.55 | Mr_Rabies2 | er |
09:37.06 | Mr_Rabies2 | the item link for those are 24391:0:2698:0:0:-1948061197 |
09:37.09 | Widgertick | Yeah |
09:37.14 | Mr_Rabies2 | hrm |
09:37.20 | Mr_Rabies2 | for some reason wardrobe hates that item |
09:37.26 | Widgertick | The first number is the itemID, the last number is for identifying who crafted the item. |
09:37.31 | Mr_Rabies2 | ohhh |
09:37.33 | Widgertick | Or who dropped it |
09:37.53 | Widgertick | It's possible the negative number is mucking with wardrobe though |
09:38.00 | Mr_Rabies2 | yeah |
09:38.03 | Mr_Rabies2 | i think it is |
09:38.20 | Mr_Rabies2 | only negative item i have |
09:39.04 | Widgertick | First time I've ever seen that number be negative myself. |
09:39.13 | Mr_Rabies2 | wardrobe is like OH GOD WHAT DO I DO |
09:39.19 | Mr_Rabies2 | it leaves the spot -blank- |
09:39.26 | Mr_Rabies2 | doesn't error, doesn't leave what was in it |
09:39.29 | Widgertick | OH NOES WE'RE IN UR ADDON MESSIN WIT UR FORUMLAZ |
09:39.33 | Mr_Rabies2 | but unequips what i had |
09:39.41 | Mr_Rabies2 | lemme see what the savedvarable is |
09:41.09 | Mr_Rabies2 | ohwait |
09:41.13 | Mr_Rabies2 | gotta logout to save |
09:41.17 | bleetah | nah |
09:41.18 | Widgertick | You can reloadui |
09:41.20 | bleetah | /console reloadui |
09:41.36 | bleetah | just wondering, could the negative crafter/drop ID indicate BC content? |
09:41.39 | *** join/#wowi-lounge tingle (n=tingle@W26c6.w.pppool.de) |
09:41.44 | tingle | hoi |
09:41.52 | Widgertick | Hey tingle =) |
09:41.54 | Mr_Rabies2 | nah i got bc stuff with positive numbers, bleetah |
09:42.04 | Mr_Rabies2 | it's my only negative item |
09:42.07 | Mr_Rabies2 | from broggok |
09:42.20 | tingle | got a question |
09:42.29 | tingle | better said i need something explained |
09:42.34 | tingle | is this correct: |
09:42.41 | tingle | function Frame_OnLoad() |
09:42.41 | tingle | MyFrame:Show() |
09:42.41 | tingle | end |
09:42.55 | bleetah | norgs is away for the weekend, MP's offline.. my collective brain is mush ;) |
09:43.00 | Widgertick | Uh |
09:43.07 | tingle | thats a function, whend the game loads the frame shows |
09:43.12 | tingle | right? |
09:43.21 | Widgertick | Where are you calling that function though? |
09:43.43 | tingle | <Scripts> |
09:43.43 | tingle | <PROTECTED> |
09:43.43 | tingle | <PROTECTED> |
09:43.44 | tingle | <PROTECTED> |
09:43.44 | tingle | <PROTECTED> |
09:43.49 | tingle | does that work? |
09:43.56 | Widgertick | Well, yeah, that should do it. |
09:44.05 | Widgertick | Does your frame have an anchor and dimensions? |
09:44.09 | tingle | wait i show full code |
09:44.15 | Widgertick | Use the pastey site |
09:44.17 | Mr_Rabies2 | itemslot 10 is pants right? |
09:44.34 | Widgertick | No |
09:44.36 | Widgertick | That's gloves |
09:44.39 | tingle | http://wowi.pastey.net/5313 |
09:45.02 | Widgertick | Pants is 7 |
09:45.06 | tingle | now why doesnt that work that code is in the xml file and the function in a lua |
09:45.14 | Mr_Rabies2 | okay wardrobe doesnt use the default numbers then |
09:45.19 | tingle | why when i log on nothing shows up |
09:45.44 | tingle | wheres the problem |
09:45.46 | Widgertick | Uh |
09:46.21 | Widgertick | Your Size and Anchors elements need to be inside the Frame element, not the Frames element |
09:46.55 | tingle | under frame not frames? |
09:46.57 | Widgertick | And your Frame needs to have a parent, probably UIParent |
09:46.59 | Widgertick | Yeah |
09:47.01 | Widgertick | So like this |
09:47.02 | Widgertick | Sec |
09:48.01 | Widgertick | http://wowi.pastey.net/5314-7nv8 |
09:48.35 | tingle | wait i try |
09:50.59 | tingle | ok i get a close button,, but no big frame around it and when i click on it ai get a error window |
09:51.50 | Widgertick | OK, well... |
09:52.02 | Widgertick | Your frame MyFrame has no textures, so it won't show up as anything |
09:52.10 | Widgertick | It just contains that button |
09:52.19 | Widgertick | When you click on the button, it's trying to do autoInviteMainConfigFrame:Hide(); |
09:52.33 | Widgertick | But if autoInviteMainConfigFrame doesn't exist, you'll get an error |
09:52.42 | Mr_Rabies2 | hrm |
09:52.45 | Mr_Rabies2 | interesting |
09:52.57 | tingle | where is the autoinvitemainconfigframe |
09:52.57 | Mr_Rabies2 | sockets don't get the bonus from Heart of the Wild |
09:53.06 | Nom- | What's the scaling formula for Flash of Light, anyone know? |
09:53.07 | Widgertick | I have no idea, tingle =) |
09:53.16 | Widgertick | It's your button! |
09:53.36 | tingle | im learning with tuts |
09:53.56 | tingle | ok well can yoiu explane a couple of things to me |
09:54.05 | Widgertick | Ahh, well, if you change it to MyFrame:Hide(); then it will make the button disappear when you click on it. |
09:54.09 | Widgertick | I can try! |
09:54.26 | tingle | im gonna go from top to bottom, and say something to it (what i know) and if im rong you tell me |
09:54.37 | Widgertick | Okie dokie |
09:54.58 | tingle | <Script file="myui.lua"/> - load the functions from the lua |
09:55.28 | Corrodias | my guildmates seem to be AFK, which isn't good, because i need a bodyguard later today for the fishing tournament |
09:55.44 | tingle | <Frame name="MyFrame" parent="UIParent"> - the name of the big frame, and uiparrent? whats that |
09:55.46 | Corrodias | or i can't participate until another time |
09:55.48 | Widgertick | Fishing tournaments on PVP servers must be hilarious =) |
09:56.02 | Widgertick | UIParent is the name of the main WoW interface frame. |
09:56.22 | Widgertick | By setting things to have specific parents, you tell the UI where to put them |
09:56.35 | Widgertick | If something's parent is hidden, it is hidden as well |
09:56.54 | tingle | ok |
09:57.23 | tingle | <Size><RelDimension x="0.5" y="0.5"/> </Size> the size of the main frame? |
09:57.27 | Widgertick | Yep |
09:57.52 | tingle | <Anchors> starts a achor |
09:58.05 | Widgertick | Well, yes and no |
09:58.13 | tingle | <Anchor point="LEFT"/> anchors the main frame to the left |
09:58.17 | Widgertick | Yeah |
09:58.26 | tingle | </Anchors> end anchor |
09:58.37 | tingle | then comes the scripts i know about that |
09:58.42 | Widgertick | <Anchors> starts all the anchors |
09:58.47 | tingle | yes |
09:58.50 | Widgertick | <Anchor point="LEFT"/> starts and ends one anchor |
09:58.55 | Widgertick | And then </Anchors> ends all the anchors |
09:59.07 | Widgertick | So if you have more than one anchor, you'd put them all inside of one <Anchors> </Anchors> |
09:59.35 | tingle | what i dont understand is the structure of the hole xml, can there only be one frame per xml, with subframes (children) inside? |
09:59.50 | Widgertick | No, you can have multiple frames |
10:00.40 | tingle | so.. after the load script at top i can have a frame and /frame with frames inside, and at the end of that frame start again a new frame with frame and /frame |
10:00.54 | Widgertick | Yep =) |
10:01.06 | tingle | ah |
10:01.08 | tingle | ok |
10:01.53 | tingle | now yesterday i learned how to make a frame show up well i got that but only a close button shows up, wheres the big frame around that ( and is the the main frame or the sub frames) ? |
10:01.58 | Widgertick | I think figuring out the interactions between XML and LUA is one of the hardest things to do when you're first starting, so don't sweat it too much if you run into problems |
10:02.29 | Widgertick | In order for you to see the big frame, you need to give it a texture. |
10:02.42 | Widgertick | One of the easiest ways to do that is to use a <Backdrop> tag |
10:03.39 | Widgertick | For example... |
10:03.41 | *** join/#wowi-lounge Elkano (n=elkano@p54A5259D.dip0.t-ipconnect.de) |
10:04.02 | Widgertick | http://wowi.pastey.net/5317 |
10:04.02 | tingle | im reading wikki about backdrop maby i understand it |
10:04.02 | Widgertick | That's a tutorial frame backdrop |
10:04.04 | Widgertick | From wowwiki |
10:04.44 | tingle | ok now i need the things explained |
10:04.57 | tingle | <Backdrop bgFile="Interface\TutorialFrame\TutorialFrameBackground" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
10:05.06 | Widgertick | OK |
10:05.10 | tingle | where do i get the bgfile wherecan i see what thos are |
10:05.46 | tingle | or what is the bgfile and what the edgefile |
10:06.06 | Widgertick | The bgfile is a texture that goes behind the contents of your frame. That one in particular is included with WoW. Did you download the UI kit from worldofwarcraft.com? |
10:06.26 | tingle | no |
10:06.38 | Widgertick | OK, well, you should go check it out, let me get you the link really quick |
10:07.03 | tingle | but if i use that then i need to send everyone that file when i make a mod o_O? |
10:07.16 | Mr_Rabies2 | hahaha |
10:07.18 | Mr_Rabies2 | apparently |
10:07.29 | Mr_Rabies2 | there's a bug where hunters can get mc'd by their own pet or something |
10:07.30 | tingle | ah ok i unserstand |
10:07.34 | Widgertick | http://www.blizzard.com/support/wow/?id=aww01669p |
10:07.57 | tingle | User Interface Customization tool ? |
10:08.00 | Widgertick | Yeah |
10:08.18 | Widgertick | ROFL @ huntards =) |
10:09.25 | tingle | i cant extract it or better said it doesnt download correctly... |
10:09.48 | Widgertick | Try again? |
10:10.09 | tingle | did |
10:10.31 | tingle | it starts and then completes in less than a second and when itry to extract it it says no archive found |
10:11.00 | Widgertick | Did you click on the link, or did you save the link? |
10:11.09 | Widgertick | It takes you to another page where you have to pick Windows or Macintosh >_< |
10:11.10 | tingle | tried both |
10:11.14 | tingle | windows |
10:11.38 | Widgertick | Hrm, dunno what to tell ya then |
10:11.55 | Widgertick | That file has a copy of all the art in the game, so you can see what it looks like |
10:12.07 | tingle | ok got it i downloaded it through my explorer ^^ |
10:12.19 | Widgertick | Cool |
10:12.31 | tingle | daten or grafik ? |
10:12.35 | tingle | the top or bottom |
10:12.37 | Widgertick | Both |
10:13.05 | tingle | where does it install them to? |
10:13.10 | Widgertick | To your WoW directory |
10:13.18 | tingle | tbc? or wow |
10:13.35 | Widgertick | For me those are the same directories. =P |
10:14.01 | tingle | um what happens if i dont put parent="UIParent" in the main frame |
10:14.35 | Widgertick | It will still show up, but if you use the UI Scale video option, your frame won't change size. |
10:15.05 | tingle | i can play videos in a frame? |
10:15.07 | Widgertick | Since users expect that behavior, it's best to set things to have UIParent as a parent. |
10:15.32 | Widgertick | Not as far as I know. |
10:15.48 | tingle | then what is the video option? |
10:15.59 | Widgertick | On the main menu? |
10:16.04 | Corrodias | sometimes i want frames to scale with uiparent, and sometimes i don't |
10:16.26 | tingle | ok so parent="UIParent" makes it scale itsself? |
10:16.37 | Widgertick | Generally |
10:16.42 | tingle | if i dont put that in there i have to put a size value in the frame? |
10:17.39 | Widgertick | You always need a size value in the frame when you only have one anchor, or multiple anchors that don't define multiple dimensions. |
10:18.08 | *** join/#wowi-lounge Sairen (n=Miranda@p549E5984.dip.t-dialin.net) |
10:18.13 | Widgertick | So if you had <Anchor point="LEFT"/> and <Anchor point="RIGHT"/> you'd still need a size, because you're not telling it how tall to make your frame. |
10:18.38 | Widgertick | But if you had <Anchor point="TOPLEFT"/> and <Anchor point="BOTTOMRIGHT"/> then you'd be telling it to make it a certain height and width, so you wouldn't need a size. |
10:18.57 | Widgertick | Sorry, this stuff is hard to explain, maybe I'm not the best person to do it =) |
10:19.38 | tingle | its ok i understand that |
10:21.24 | tingle | ok back to backdrop |
10:21.39 | *** join/#wowi-lounge Gungineer (n=Gun@c-69-137-155-86.hsd1.md.comcast.net) |
10:21.40 | tingle | bgFile= is the backround? |
10:21.48 | Widgertick | Yes |
10:21.53 | tingle | edgeFile= is the border |
10:21.55 | Widgertick | edgeFile is the border |
10:21.59 | Widgertick | Right. |
10:21.59 | tingle | ok, |
10:22.03 | tingle | i downloaded that kit, |
10:22.22 | tingle | the files are in the art folder? |
10:22.50 | Widgertick | Yeah |
10:22.55 | Widgertick | You need to get a BLP viewer to look at them |
10:23.07 | Widgertick | I'm not sure what the best one to use is |
10:23.10 | tingle | blp viewer? |
10:23.16 | tingle | photoshop cs2? |
10:23.25 | Widgertick | I don't think photoshop can look at blp files |
10:23.37 | tingle | blp or blp2? |
10:24.18 | tingle | what typ of viewr do i need blp or blp2? |
10:24.27 | Widgertick | blp2 should work |
10:24.42 | Widgertick | Dude =P |
10:24.53 | Widgertick | Sorry if my answers aren't immediate enough for you, I am actually doing other things. |
10:26.50 | tingle | kk |
10:27.05 | tingle | i cant find a blp2 viewer |
10:31.46 | bleetah | enraged ravager becomes enraged... well.. d'oh |
10:32.12 | *** join/#wowi-lounge Legorol (i=legorol@zr205.trin.cam.ac.uk) |
10:32.20 | Widgertick | Kek |
10:33.06 | tingle | do you have a link to a blp viewer? |
10:33.30 | Widgertick | Looking for one. Does anybody else have any recommendations? |
10:33.37 | Widgertick | Check on curse-gaming.com, tingle |
10:34.02 | tingle | yes but i cant download from there for some reson |
10:35.29 | tingle | hen i click on it i get a error from the website better said a page with a error loads |
10:35.33 | Widgertick | Dunno what to tell ya then |
10:35.37 | *** join/#wowi-lounge MageRooster (n=Rooster@216.190.229.32) |
10:36.28 | MageRooster | Morning. |
10:36.44 | Widgertick-AFK | ...crows the MageRooster? |
10:36.49 | MageRooster | Maybe! |
10:36.55 | MageRooster | I have a scripting question! |
10:37.01 | Widgertick-AFK | Shoot =) |
10:37.11 | Widgertick-AFK | This morning is twenty questions morning =) |
10:37.25 | kaso | Anyone speak spanish? |
10:37.29 | Widgertick-AFK | No. |
10:37.31 | Widgertick-AFK | That's spanish for no. |
10:37.40 | Widgertick-AFK | >_< |
10:37.42 | kaso | ha |
10:37.48 | Widgertick-AFK | Next question! |
10:38.12 | tingle | http://media5.curse-gaming.com/media/files/48/4455/47/blp2-viewer-blp2-viewer-rar.rar thats tjhe download link, doesnt work |
10:38.27 | Widgertick-AFK | What do you want me to do about it, Tingle? |
10:39.27 | MageRooster | I am currently updating the Titan Panel Hearthstone code for 2.x and there's only really one line that needs to change... the line that actually USES the hearthstone. The 2.x notes say the use "/use" instead of UseContainerItem, but I can't figure out how to use slash commands from within lua code. |
10:39.48 | Widgertick-AFK | You can't. =/ |
10:39.59 | Corrodias | you can't use items with an addon? |
10:40.12 | *** join/#wowi-lounge FtH|eagle (n=eagle@HSI-KBW-085-216-057-070.hsi.kabelbw.de) |
10:40.14 | MageRooster | So that completely went away? Arr. |
10:40.15 | Corrodias | that doesn't seem true |
10:40.20 | Widgertick-AFK | You can use items with an addon, you just can't use UseContainerItem |
10:40.28 | MageRooster | Right, what do I use now? |
10:40.39 | Corrodias | i misunderstood what you meant is not possible, sorry |
10:40.54 | Widgertick-AFK | You need to use something based off a secure button template, but I'm not terribly well versed in how that works. |
10:41.05 | Widgertick-AFK | I think Iriel posted a guide on the WoW forums about it |
10:41.06 | Corrodias | i don't know, but you should tell Prandur when you learn. |
10:41.43 | MageRooster | (Clicking the text of the titanpanel plugin either triggers Ancestral Recall, if it's cooled or your Hearthstone if if THAT'S cooled, in that order. |
10:41.49 | Corrodias | transporterfu and any number of other portal-related addons have not been updated for 2.0 |
10:42.13 | Corrodias | what is ancestral recall? |
10:42.17 | MageRooster | Shaman spell. |
10:42.25 | Widgertick-AFK | Shaman spell, like hearth, every 15 minutes. |
10:42.38 | MageRooster | It teleports you to your hearthstone location with a 15m cooldown. |
10:43.15 | MageRooster | Hrmm, secure templates, you say? *sneaks into the forums* |
10:43.19 | Widgertick-AFK | Yeah |
10:43.32 | MageRooster | No wonder I was banging my head. |
10:43.46 | Widgertick-AFK | You can use them to set buttons to specific actions, but they can't change during combat. |
10:43.56 | Widgertick-AFK | Since you only ever use two actions, that shouldn't affect you. |
10:44.07 | Corrodias | transporterfu could do that :( |
10:44.25 | Corrodias | except they are menu items rather than buttons. i wonder if the same model can be used in 2.0. |
10:44.50 | Widgertick-AFK | I'm pretty sure you can make a similar addon, but I don't see how it would work in a fubar. |
10:47.01 | Corrodias | objects on a dropdown menu can't cast spells, hm? |
10:48.49 | Corrodias | and hey, i'm not tied to transporterfu or its way of doing things. there just don't seem to be -any- addons that offer portal/teleport menus. |
10:49.05 | Widgertick-AFK | I've been thinking about that myself actually. =P |
10:49.15 | MageRooster | Well, I'm studying this now. |
10:49.32 | Widgertick-AFK | I'm pretty sure you can do dropdown menus as long as the contents don't change. |
10:49.54 | Widgertick-AFK | Rather, I'd imagine you can. |
10:49.54 | MageRooster | Yeah, the contents for this addon are static. |
10:51.51 | Widgertick-AFK | Looking at Iriel's templates, it seems like all of those things are possible. |
10:52.02 | Widgertick-AFK | Just needs somebody to be willing to relearn how to do it and then put it out there. |
10:52.10 | Widgertick-AFK | Not it! |
10:52.28 | Widgertick-AFK | =P |
10:54.25 | Insa | you can create a secure button with a macrotext like '/use hearthstone' |
10:54.40 | Mr_Rabies2 | hahahahaha |
10:55.02 | MageRooster | This isn't a bar button, though. |
10:55.11 | Mr_Rabies2 | this guy in general chat is talking about him being more qualified to argue about family guy quotes because he's in the philosophy club and in the debate team |
10:55.14 | Insa | doesn't matter=) |
10:55.26 | Insa | doesn't take a barslot |
10:55.28 | Widgertick-AFK | >_< |
10:55.40 | MageRooster | How do I call a macro, then? |
10:55.59 | Insa | euhm like whispercast has something like that |
10:56.10 | Insa | and capping |
10:56.16 | *** join/#wowi-lounge Neebler (n=BuM@70.135.57.221) |
10:57.53 | Insa | button = CreateFrame("Button", "MyModButton", UIParent, "SecureActionButtonTemplate") |
10:57.53 | Insa | button:RegisterForClicks("LeftButtonUp") |
10:57.53 | Insa | button:SetAttribute("type1", "macro") |
10:57.53 | Insa | button:SetAttribute("macrotext", "/use hearthstone") |
10:58.07 | Insa | doh, wrong paste, http://wowi.pastey.net/5318 |
10:58.22 | Insa | even that's wrong /cry, a=button |
10:58.44 | Widgertick-AFK | O_o |
10:58.58 | Widgertick-AFK | Still, pretty cool =) |
10:59.01 | Widgertick-AFK | Thanks Insa! |
11:00.28 | tingle | can i use only lua to make a text apeer in a chat window or do i need xml? and where is the function to creat a new chat window next to normal chat, and combat chat? |
11:01.33 | Corrodias | Der Assist Helper dynamically creates a macro out of combat using one keybind and then calls the macro with another during combat |
11:01.40 | Corrodias | i thought that was pretty nifty |
11:02.57 | Corrodias | if i want TransporterFu working so much, maybe i should go ahead and make an update |
11:03.15 | Corrodias | privately of course, since we can't go stepping on another author's toes! |
11:03.20 | Insa | What's transporterfu? |
11:05.15 | Widgertick-AFK | I get the feeling it was probably a fubar plugin that let mages choose a portal from a DDL |
11:06.27 | Widgertick-AFK | Tingle, you can use DEFAULT_CHAT_FRAME:AddMessage("Blah blah blah") to add stuff to a your main chat window. |
11:06.50 | Widgertick-AFK | Creating a new chat window is significantly more complicated than I can explain |
11:07.42 | Corrodias | yes, you could choose portals or teleports, for mages and druids. in addition, it supported the hearthstone |
11:08.03 | Corrodias | you could set a "default", which would then be displayed on the fubar, which you could click to cast that. if it was the hearthstone, it would show the current cooldown. |
11:12.07 | Corrodias | there's no reason the list of available spells would change during combat |
11:12.15 | Corrodias | and no reason to let the user change the current default during combat |
11:13.12 | Corrodias | the question is just how to do that, and i have almost no addon writing experience... or even lua experience |
11:13.31 | Widgertick-AFK | Well |
11:13.55 | MageRooster | I wrote a D&D 3.5 loot generator in Lua last week. ;) Lua isn't hard if you can code. It's WoW's UI that makes life frustrating. |
11:13.57 | Widgertick-AFK | I'll put it on my list of things to do, but that's rather long ATM, so no promises on delivery time. =P |
11:14.50 | Corrodias | i'm experienced in Java and C++. as far as i'm aware, Lua mostly just has a couple of features i'm not familiar with, like metatables |
11:15.17 | Corrodias | nothing bad about that. you're right that the WoW API is the challenge |
11:15.19 | Widgertick-AFK | You shouldn't need to do anything with metatables in a fubar plugin |
11:15.35 | Widgertick-AFK | At least, I would hope not =) |
11:17.01 | bleetah | the other thing I want to know, is the draenie /rude biting the thumb, or flinging snot? |
11:17.05 | Corrodias | i guess... to begin, i need to learn how to cast spells with secure frames. |
11:17.31 | Widgertick-AFK | Biting thumb |
11:19.35 | tingle | whats the function to print the character name if i do something like this: |
11:20.00 | tingle | self:Print |
11:20.26 | tingle | self:Print("hello") here char name |
11:21.02 | Corrodias | tingle: we're not a Lua interpreter and will not print out the results for you. |
11:21.16 | Corrodias | if i were such a thing, i would not be so handsome. |
11:21.24 | tingle | ? |
11:21.44 | Corrodias | just a little joke. |
11:21.46 | tingle | i want to know what the function is that gets the charcter name... o_O |
11:21.53 | Corrodias | i really don't know |
11:22.06 | Widgertick-AFK | UnitName("player") will give you your character name. |
11:22.11 | Widgertick-AFK | For a list of functions, check wowwiki.com |
11:22.25 | tingle | k |
11:24.17 | tingle | whats rong with this: function TAPLG:OnInitialize() i get a error when reloading it (taplg is the ui name) |
11:25.48 | tingle | ? |
11:26.09 | tingle | im a noob and learning :( |
11:26.18 | Widgertick-AFK | None of that is proper LUA =( |
11:26.35 | tingle | ? |
11:26.39 | Widgertick-AFK | Sounds like you're trying to be too ambitious, try going through and messing with the tutorial code and changing little things. |
11:27.03 | tingle | look this is the function |
11:27.03 | tingle | function TAPLG:OnInitialize() |
11:27.04 | tingle | self:Print("Hello ".. UnitName()) |
11:27.04 | tingle | end |
11:27.20 | Widgertick-AFK | That's really nice |
11:27.33 | Widgertick-AFK | But TAPLG:OnInitialize() doesn't mean anything |
11:27.42 | Corrodias | what do you mean it doesn't mean anything? |
11:27.53 | tingle | when it loads |
11:27.54 | Widgertick-AFK | I mean that OnInitialize isn't a handler for anything |
11:28.00 | Widgertick-AFK | And that you can't declare functions that way |
11:28.12 | Corrodias | the first part is true. but what do you mean, you can't declare functions that way? |
11:28.28 | Corrodias | TAPLG.OnInitialize(self), then? |
11:28.39 | Corrodias | or (frame)... or something |
11:28.45 | tingle | but in this tut it says that that means theat when the mod loads ingame |
11:28.46 | Widgertick-AFK | That would be a function call, not a declaration |
11:29.11 | tingle | how do i do it then |
11:29.32 | Widgertick-AFK | The same way you were doing it before in that code you pasted |
11:29.39 | Widgertick-AFK | In the <OnLoad> handler |
11:29.45 | tingle | but im not useing xml now only lua |
11:30.05 | tingle | i want to build a mod that reakts to event ingame and posts the reply in the chat |
11:30.13 | Widgertick-AFK | Then are you creating a frame named TAPLG? |
11:30.23 | tingle | no taplg is the mod name |
11:30.39 | Widgertick-AFK | AHHH |
11:30.40 | tingle | and there is no frame and also no xml |
11:30.40 | *** part/#wowi-lounge Widgertick-AFK (n=hello@adsl-69-231-234-168.dsl.irvnca.pacbell.net) |
11:31.07 | tingle | he left O.O? |
11:31.53 | Corrodias | perhaps it was accidental. but maybe he's frustrated. i don't know enough about how WoW works to say if it's possible to react to events without a frame, but i doubt it |
11:32.54 | tingle | hmm |
11:34.49 | Corrodias | if i'm going to make my own version of transpoterfu, i need to learn about this stuff |
11:37.45 | Daemona | hmm is there a command that returns my location like xx.xx,yy.yy ? |
11:38.04 | Corrodias | i... think you can get your current map position |
11:38.37 | Daemona | simpleminimap shows xx,yy for me |
11:38.52 | Daemona | but i need xx.xx,yy.yy for accuracy reason :/ |
11:39.11 | Daemona | and mouseovering my cursor on the worldmap is really not enough |
11:39.53 | Corrodias | yeah, well, let's see... |
11:40.02 | kergoth | just in case anyone in here runs into this at some point and is searching the irc logs, its possible, when entering cat form as a druid, for a UNIT_ENERGY (energy tick) to come in before the PLAYER_AURAS_CHANGED which indicates we just gained the cat form buff. bit of a pain, seeing cat form specific events happening before the mechanism used to detect going into cat form :P |
11:40.22 | MageRooster | Daemona: MetaMap adds your location as a persistant XX,YY form on the minimap itself. |
11:40.25 | MageRooster | It's always visible. |
11:40.39 | MageRooster | It hovers along the bottom edge of the minimap ring. |
11:40.39 | kergoth | MageRooster, thats not what he's asking about. |
11:40.57 | kergoth | simpleminimap shows at all times too, just not with the detail he wants |
11:41.01 | Corrodias | GetPlayerMapPosition("player") |
11:41.08 | Corrodias | this has something to do with it |
11:41.12 | Daemona | MageRooster i know, but i need need more decimals ;) |
11:41.31 | Daemona | for setting mapnotes more accurate so they really show on my position on my minimap in cartographer |
11:41.57 | Daemona | and i am sick of editing notes and notes laying over other notes not being clickable anymore |
11:41.59 | Daemona | and stuff |
11:42.27 | Corrodias | metamap has some interesting features, but i think i prefer Cartographer... or would if i could tell it not to accept notes from other players. |
11:42.47 | kergoth | Corrodias, thats easily fixed.. just pester ck incessently until he adds the feature |
11:42.48 | kergoth | :P |
11:46.43 | tingle | is there somewhere tuturials on how to programm with lua for WoW |
11:47.19 | *** join/#wowi-lounge TheKarn (n=thekarn@cpc3-glfd1-0-0-cust609.glfd.cable.ntl.com) |
11:47.31 | Corrodias | wowwiki might have a tutorial somewhere |
11:47.41 | tingle | ive looked, |
11:48.45 | Corrodias | here's a start, http://www.wowwiki.com/Category:HOWTOs |
11:49.21 | tingle | i need something explained. is it even possible to have a ui only with a lua file, for example i want to make a ui that says things in the chat window when certain things ingame happen |
11:49.26 | tingle | what do i need for that |
11:50.10 | Corrodias | that depends on whether you can catch events without a frame. even if you can't, though, you might be able to generate the frame in the lua code itself if you have to avoid having an .xml file |
11:50.44 | Corrodias | it's certainly possible to have only .lua files, as most function libraries are just that |
11:51.14 | tingle | but why a frame i dont care useing xml files but i dont want any frames or windows ingame just chat text apearing down in the chat window |
11:51.35 | Corrodias | a frame isn't necessarily a visible element on the screen |
11:51.44 | tingle | and im not useing ace2 library or stuff that that, im not useing any library |
11:51.53 | Corrodias | it could just be an object in memory that the player never "sees" |
11:51.54 | *** join/#wowi-lounge Cide (n=Cide@81-226-233-5-no60.tbcn.telia.com) |
11:51.55 | *** mode/#wowi-lounge [+v Cide] by ChanServ |
11:52.08 | Corrodias | i think you misunderstood why i mentioned function libraries |
11:52.34 | Corrodias | the purpose was to illustrate that it's possible to produce an addon that doesn't use an .xml file, whether or not it's possible to do what you want without one |
11:53.37 | *** join/#wowi-lounge Wing87 (n=Wing@c83-254-243-177.bredband.comhem.se) |
11:53.37 | tingle | ok then what is the best way to do what im wanting to do |
11:54.08 | Corrodias | the simplest way is to make an empty frame with an <OnEvent> handler |
11:54.26 | Corrodias | that i know of, anyway, and remember i'm a noob |
11:57.11 | tingle | an onevent handler? what for stuff goes between <OnEvent> ... </OnEvent> ??? |
11:57.27 | tingle | can you give me a example |
11:57.47 | Corrodias | Lua code goes in there. commonly, people put in a single call to a function that they spell out in more detail in the .lua file, but you don't have to |
11:57.51 | Corrodias | hang on |
11:58.56 | *** join/#wowi-lounge Kilabie (n=tonnyl@port2060.ds1-vbr.adsl.cybercity.dk) |
11:58.59 | Corrodias | ABInfo has some frames, and in one is... |
11:59.10 | Corrodias | <OnEvent> ABI_MainOnEvent(); </OnEvent> |
11:59.14 | *** join/#wowi-lounge foxlit (n=me@0x50c4b029.albnxx9.adsl-dhcp.tele.dk) |
11:59.31 | tingle | and what does that do? |
11:59.44 | Corrodias | that function has an "if" control structure that goes like if ( event == "VARIABLES_LOADED") then |
11:59.57 | Corrodias | you also need to register for the events you want to catch |
12:00.08 | foxlit | Question: if I remove a variable from ##SavedVariables: in .toc, will it still load the first time .toc is processed (i.e. are SVs just dumb LUA files that WoW always executes)? |
12:00.35 | Corrodias | something like this:RegisterEvent("VARIABLES_LOADED"); in the <OnLoad> handler for the same frame. |
12:01.06 | Corrodias | foxlit, that is an interesting question that deserves an answer, which i cannot give. |
12:01.07 | tingle | so abi_mainonevent() is a link to a function in the lua |
12:01.17 | Corrodias | yes |
12:01.52 | tingle | so lets get this straight |
12:01.58 | Corrodias | in fact, i think the .lua file is processed first so that the function calls can be made. the .xml file includes this tag: <Script file="ABInfo.lua"/> |
12:02.16 | Corrodias | either that or at least it looks for function definitions in that file |
12:02.20 | Corrodias | that's more likely. |
12:03.02 | tingle | <onevent> ... </onvevent> in this must go 2 things, one that reigisters the event and one that links to the lua file to do it? |
12:03.36 | Corrodias | the RegisterEvent goes in <onload>. the event handler function call goes in <onevent>. |
12:04.25 | tingle | oh so something like this: |
12:04.43 | tingle | oh first must the frame have a name then? |
12:05.09 | Corrodias | i think so |
12:05.41 | tingle | then what does the frame name have for a function where does it go |
12:06.18 | Corrodias | this is an example of a very simple frame: http://wowi.pastey.net/5322 |
12:07.48 | tingle | k |
12:07.55 | tingle | then lets get this straight: |
12:08.10 | tingle | <Frame Name="nlaba.ala"> |
12:08.38 | Corrodias | i don't think it can have a period in it |
12:08.45 | krka | true |
12:09.01 | Corrodias | must it have a parent? |
12:09.21 | tingle | parent="UIParent" |
12:09.48 | tingle | ok what comes first <OnLoad> or <OnEvent> |
12:09.52 | Corrodias | i don't suppose dewdrop uses secure templates for its dropdown menus? |
12:09.56 | tingle | LOL |
12:10.03 | Corrodias | onload is first |
12:10.07 | tingle | i get it |
12:10.08 | Corrodias | if it matters |
12:10.16 | foxlit | It doesn't :) |
12:10.17 | tingle | i havent been reading it correctly -.- |
12:11.04 | Corrodias | transporterfu, as writte, uses dewdrop to make the menus and associate the spellcasting function with the dropdown item. so i guess that's pretty thoroughly boned. |
12:11.09 | tingle | onload is what happens when the mod loads, onevent is when somethings loads that happens through a event |
12:11.13 | tingle | right? |
12:11.35 | foxlit | OnLoad is what happens after XML has finished loading. |
12:11.47 | tingle | yes |
12:11.59 | tingle | ok i get it now ill try some things :D |
12:12.13 | Corrodias | the code in <onevent> executes whenever an event occurs for which the frame has registered |
12:12.23 | tingle | oh |
12:12.32 | tingle | regisrerd |
12:12.44 | tingle | what registers or how do i register and when do ineed to register |
12:12.59 | Corrodias | that's what RegisterEvent was for |
12:13.05 | tingle | where does the register go |
12:13.15 | Corrodias | i said before that it is in <onload> |
12:13.21 | tingle | ok |
12:13.27 | Corrodias | although it can be placed anywhere, that's a reasonable place to put it |
12:14.14 | foxlit | <foxlit> Question: if I remove a variable from ##SavedVariables: in .toc, will it still load the first time .toc is processed (i.e. are SVs just dumb LUA files that WoW always executes)? |
12:14.26 | Corrodias | i wonder how much of this transporterfu code could be reused in another addon... |
12:14.27 | tingle | and i need to register an event befor a function in the lua is abel to work as in IF blabla Then blabla Els blabla |
12:14.28 | foxlit | [Correct answer: SV would still be loaded on the first .toc update; they are "dumb" LUA files] |
12:14.29 | tingle | for example |
12:14.54 | Mr_Rabies2 | so er |
12:14.59 | Mr_Rabies2 | is there a grand master cook? |
12:15.02 | tingle | If (someregister event) = (some quest ID) Then (print some text) |
12:15.09 | tingle | is that corect? |
12:15.17 | Corrodias | Mr_Rabies2: well, there's a Chef in Thrallmar, but i don't know how good he is. |
12:15.19 | Mr_Rabies2 | how do i learn >300 cooking stuff? paper recipes only? |
12:15.26 | Mr_Rabies2 | hrm |
12:15.34 | Mr_Rabies2 | the one in honor hold has nothing new |
12:15.40 | Mr_Rabies2 | so i'm sure thrallmar's the same :p |
12:16.02 | Corrodias | uh. i don't know what someregister event and quest id are supposed to be. |
12:16.13 | Corrodias | there might be a QUEST_LOG_UPDATE event, or something like it... |
12:16.23 | tingle | okt hen like this: |
12:17.06 | tingle | If questlog = quest id then print text |
12:17.50 | Corrodias | we talked about examples before |
12:18.16 | tingle | ok ill just try around and see if something works |
12:18.22 | Corrodias | if ( event == "VARIABLES_LOADED") |
12:18.33 | Corrodias | and i think "event" is a variable that's set by WoW |
12:20.17 | *** join/#wowi-lounge Widgertick (n=hello@adsl-69-231-234-168.dsl.irvnca.pacbell.net) |
12:21.15 | Mr_Rabies2 | what's transporterfu for? :O |
12:21.29 | Widgertick | How about a minimap button that shows a radial menu of transport locations when you mouseover it? |
12:22.51 | Corrodias | that's a great start |
12:23.26 | Corrodias | i was thinking it would be nice to be able to use it during combat, but i suppose if you want to hearth during combat you can always activate that manually |
12:23.44 | Cide | you can use that in combat with a state header |
12:24.07 | Corrodias | i have no idea what a state header is. |
12:24.42 | Cide | http://wdn.wowinterface.com/code/2016180/FrameXML/SecureStateHeader.lua |
12:24.57 | Corrodias | wowwiki seems to be a little lacking on that subject |
12:25.30 | Cide | along with http://forums.worldofwarcraft.com/thread.html?topicId=50956831&sid=1&pageNo=1 |
12:27.10 | Corrodias | thanks. i'll read these now. |
12:28.18 | Corrodias | it looks like it can't show the menu on mouseover, but it could on click |
12:28.28 | Cide | you could |
12:28.29 | Corrodias | according to the first few paragraphs of the .lua file |
12:29.07 | Cide | http://wdn.wowinterface.com/code/2016180/FrameXML/SecureTemplates.xml |
12:29.13 | Cide | has <Frame name="SecureAnchorEnterTemplate" inherits="SecureFrameTemplate" virtual="true"> |
12:29.33 | *** join/#wowi-lounge bindi (i=indigo@d51A479A6.access.telenet.be) |
12:29.37 | Cide | which you can use for that |
12:29.46 | Corrodias | okay, i'll make note of that |
12:31.57 | Widgertick | Thanks in advance, btw, Corrodias, if you make that mod, I'll definitely use it on my mage =D |
12:32.51 | Corrodias | i'd have to say there's very little chance that i'll be able to do it. however, i do have a bachelor's degree in software development, so i ought to have some ability to learn. i just don't know if i have the patience to learn enough to produce a decent addon of such complexity. |
12:33.07 | Widgertick | Baby steps into the elevator. =P |
12:33.15 | Corrodias | not as my first, anyway |
12:34.08 | Corrodias | well, second. that "no xp bar" thing was my first. |
12:39.50 | Corrodias | now, if the player puts the mouse over the minimap button, then moves the mouse off onto a child that has popped up, will that change the state of the parent back again and hide the children? |
12:44.00 | Cide | no, you can have it do whatever you want really |
12:44.48 | tingle | <OnLoad> mean when the addon gets loaded right? |
12:44.55 | Widgertick | Yep |
12:44.59 | tingle | k thx |
12:46.30 | Cide | not really |
12:46.39 | Cide | OnLoad means that widget has been loaded |
12:46.57 | Cide | I believe that's done on a one-by-one basis |
12:47.29 | Cide | and if you define an xml file at the top of your .toc and a .lua file below it, <OnLoad> will be fired before the lua file has been executed |
12:48.25 | Cide | so the answer to your question is both yes and no, depending on what you need |
12:48.31 | *** join/#wowi-lounge _aLF (n=Alexandr@aix73-2-88-160-210-8.fbx.proxad.net) |
12:49.00 | Widgertick | I don't think the subtlety is particularly important in his application >_< |
12:50.51 | Corrodias | the complexity of what i would want to do when i don't know how to do any of it is rather indimitating |
12:51.37 | tingle | can someone tell me whats rong and why no msg shows up ingame? http://wowi.pastey.net/5323 |
12:52.11 | Corrodias | i take it the function is in the .lua file? |
12:52.22 | Corrodias | did you define message(string)? |
12:52.46 | Widgertick | message() is a global function, it should open a popup window with the contents. |
12:53.03 | Corrodias | is it? i see |
12:53.26 | MageRooster | Arg. Stupid question time. What should I be passing for the self parameter to SecureActionButtons_OnClick()? |
12:53.33 | Cide | unless you use BugSack, which overrides it |
12:54.01 | tingle | nothing shows up and yes the function is the lua |
12:54.09 | tingle | whats missing? |
12:54.22 | Widgertick | I'll just be right over here leveling my shammy, have fun Cide! |
12:54.51 | Cide | MageRooster: you probably should not call that, why? |
12:55.09 | MageRooster | Because it's relevant to my proddings. >.> |
12:55.45 | Corrodias | i guess self is the thing being clicked? |
12:55.58 | MageRooster | I think it is. |
12:56.05 | tingle | so whats rong |
12:56.08 | MageRooster | But it's acting like self is the player. |
12:56.16 | Corrodias | i don't know, tingle |
12:56.16 | MageRooster | tingle: 'wrong'. :( |
12:56.30 | tingle | :P |
12:56.32 | tingle | what wrong |
12:56.39 | Cide | MageRooster: I don't think you want to call that |
12:56.47 | Cide | self is the frame most likely |
12:57.01 | MageRooster | http://wdn.wowinterface.com/code/2016180/FrameXML/SecureTemplates.lua |
12:57.26 | Cide | yes, you don't call that |
12:57.54 | Cide | to call it on OnClick you inherit SecureActionButtonTemplate |
12:58.07 | Cide | and don't override <OnClick> |
12:58.24 | MageRooster | ...I see. Well, that won't work, then. |
12:58.30 | Cide | why not? |
12:58.48 | MageRooster | Because it doesn't work exactly like an action button. |
12:59.06 | Cide | if you don't give me information I can't help |
12:59.45 | MageRooster | I'm trying to fix Titan Hearthstone. Left clicking should trigger the hearthstone. I'm having trouble with the 2.x workaround. |
13:00.57 | tingle | http://wowi.pastey.net/5323 this is exactly what i have in the lua and xml file, but nothing pops up ingame... |
13:01.10 | tingle | wheres the problem it should work... |
13:01.24 | bleetah | Cide: where's my coffee! :'( |
13:03.25 | tingle | ??? |
13:03.30 | Widgertick | tingle, in your WoW directory, there should be a logs directory. See if there's a file in there named FrameXML.log, and if there is, see if it says anything about your addon |
13:03.56 | Widgertick | It might not be working 'cause your frame isn't actually being drawn anywhere. |
13:04.08 | Widgertick | Err |
13:04.19 | Widgertick | I mean, 'cause it's like, non existant in terms of size, whether or not it's being rendered. |
13:05.07 | tingle | 1/21 14:02:58.000 Loading add-on TAPLG |
13:05.07 | tingle | 1/21 14:02:58.000 ** Loading table of contents Interface\AddOns\TAPLG\TAPLG.toc |
13:05.07 | tingle | 1/21 14:02:58.000 Couldn't parse XML in Interface\AddOns\TAPLG\TAPLG.xml |
13:05.36 | Corrodias | the frame doesn't have to be a visible UI frame in order to receive events or execute code onload |
13:05.42 | Widgertick | Oh, I see. |
13:05.57 | Widgertick | I think, anyways |
13:06.01 | tingle | whats the problem? |
13:06.17 | Widgertick | Well, I don't know if the XML tags are case sensitive, but you have <OnLoad> and </Onload> |
13:06.37 | Corrodias | i think they are. |
13:07.17 | tingle | lol -.- |
13:07.22 | tingle | that did it |
13:08.16 | tingle | ok now |
13:08.36 | tingle | i changed message to self:Print("Hello World!") why doesnt that work what is the print command to make it show up down in the chat? |
13:08.54 | Cide | MageRooster: that works fine as an action button |
13:08.57 | Widgertick | It's DEFAULT_CHAT_FRAME:AddMessage("Hello World!"); |
13:09.47 | tingle | ah cool that works |
13:10.00 | tingle | now heres a tricky one ^^ |
13:10.16 | tingle | there are 2 default chat frames, the normal and combat |
13:10.27 | tingle | is there away to creat a new one and post in there? |
13:10.27 | Widgertick | Nope, only one of them is the default chat frame. =P |
13:10.40 | tingle | damm that would of been to nice :P |
13:10.59 | *** join/#wowi-lounge IleBur (i=ilebur@shell.node.fi) |
13:11.49 | Widgertick | All of the chat frames can use AddMessage() though. |
13:11.53 | Corrodias | i think ItemRack does things kinda how i'd like a portals addon to work... |
13:12.54 | Widgertick | stborrow code! |
13:14.45 | Corrodias | i'm not experienced enough to even start with someone else's addon |
13:15.11 | *** join/#wowi-lounge BigFreak (n=n@82-44-61-55.stb.ubr01.mort.blueyonder.co.uk) |
13:16.04 | BigFreak | howdy |
13:16.11 | Widgertick | Morning! |
13:16.34 | BigFreak | afternoon! xD |
13:16.43 | Widgertick | Briton?! |
13:16.54 | Widgertick | European?! |
13:16.56 | Corrodias | but it certainly has buttons that show/hide during combat and can perform actions. |
13:17.00 | Widgertick | SOMEWHERE FURTHER EASTEAN?! |
13:17.34 | BigFreak | England :>> |
13:17.43 | Widgertick | w00t |
13:17.53 | BigFreak | FIRST GUESS GOT IT |
13:17.58 | Widgertick | ALRIGHT! |
13:18.41 | *** join/#wowi-lounge [Wobin] (i=Wobin@218-214-59-86.people.net.au) |
13:19.16 | Wobin | Bah |
13:19.21 | Widgertick | Is your name pronounced Wobin or [Wobin]? |
13:19.23 | BigFreak | righty, i've been playing with WoW moddin' all morning and i have to say...it's pretty cocking confusing |
13:19.30 | Wobin | Bloody blizzard making lastTell local =( |
13:19.51 | Widgertick | What're ya tryin' to accomplish, BigFreak? |
13:19.53 | Wobin | Widgertick: I don't know. Do you normally pronounce brackets? |
13:20.21 | BigFreak | well my GOAL is to get something like the quest log for the spell book |
13:20.23 | Cide | left bracket-wobin-right brack is how I say it! |
13:20.25 | Widgertick | Depending on the context. =P |
13:20.34 | Cide | s/brack /bracket / |
13:20.49 | Wobin | It's a bit of a mouthful =\ |
13:20.57 | BigFreak | so you'd have a section for each ability line, and then a sub-one for each rank of spell n such |
13:21.02 | Corrodias | s/on/off/ |
13:21.19 | BigFreak | but like...no idea how to dynamically create frames...is that how you'd do it ? :\\\ |
13:21.56 | Cide | dynamically creating frames doesn't work in combat, I'm afraid |
13:22.22 | Cide | i.e. you can't get the new frames to do any protected actions since you can't set attributes |
13:22.28 | Widgertick | You wouldn't need to dynamically create frames unless you were planning on having your window resizable, but you definitely wouldn't be able to dynamically create a frame that was linked to an action in combat, like Cide said. =/ |
13:23.11 | BigFreak | yeah it wouldn't have to do anything with combat, i'm just thinking of an easier-to-use spellbook |
13:23.24 | BigFreak | cos scrolling through 8 pages for mind blast rank 1382492 is annoying :( |
13:23.44 | BigFreak | and it's more of a learning exercise |
13:24.06 | BigFreak | but yeah, wouldn't you have to create a frame for each SPELL? or am i barking up the wrong tree |
13:24.18 | Wobin | You might want to take the code directly from the framexml to see how it's done there |
13:24.25 | Widgertick | No, you could reuse the frames |
13:24.33 | Widgertick | You'd just need to change the values of the frames |
13:24.39 | Widgertick | That's how the spellbook does it. |
13:24.58 | BigFreak | so then is the frame like a template rather than an instance of an area? |
13:25.01 | tingle | how do i make "QUEST_ACCEPT_CONFIRM" work, i want this: when the player accepts a certain quest a message shows up |
13:25.32 | Widgertick | Fraid I don't follow, BigFreak |
13:26.02 | Widgertick | Tingle, in order to do that, you need to register your addon to monitor the QUEST_ACCEPT_CONFIRM event. |
13:26.22 | Widgertick | Check out this page for help: http://www.wowwiki.com/Events_%28API%29 |
13:26.35 | Corrodias | looks like someone's still working on updating Cryolysis. it would at least solve the problem of mages having way too many portals to put on action bars. |
13:27.00 | Corrodias | let's see if it works... |
13:27.56 | Mr_Rabies2 | for hilarity at the end of parties: |
13:29.29 | Mr_Rabies2 | /castrandom Portal: Silvermoon City, Portal: Orgrimmar, Portal: Undercity, Portal: Thunder Bluff, Portal: Shattrath |
13:29.52 | BigFreak | Ok so IT SEEMS the spellbook has 12 buttons pre-defined, per-page, amirite? |
13:30.17 | wereHamster | is it possible to disable the blizzard logo at startup? |
13:30.30 | Mr_Rabies2 | i dont get one O_o |
13:30.34 | Widgertick | ._. |
13:30.44 | Widgertick | No, wereHamster, as that would involve modifying GlueXML files |
13:30.46 | Mr_Rabies2 | only on first load |
13:30.58 | Widgertick | It's underneath your password entry box, Mr_Rabies |
13:31.01 | wereHamster | maybe there's an option? |
13:31.06 | Mr_Rabies2 | ohh |
13:31.13 | Corrodias | Cryolysis is still... in development. |
13:31.15 | Mr_Rabies2 | i dont see the point, but okay :p |
13:31.24 | Widgertick | I also don't see the point |
13:31.37 | Corrodias | but i may be stuck with using it, in the future, when it's fully functional |
13:32.23 | Mr_Rabies2 | just organize some click casting corr |
13:32.27 | bleetah | I don't see the point either.. portals are not something I enjoy accidentally opening... it's a per request thing. just as easy to open the spell book |
13:32.48 | Widgertick | My comment was directed at wereHamster =) |
13:32.51 | tingle | what does this mean: |
13:32.54 | tingle | this:RegisterEvent("ADDON_LOADED"); |
13:33.04 | tingle | what does the "this"mean |
13:33.48 | BigFreak | it refers to whatever's calling the function |
13:33.51 | Widgertick | The frame that's calling the function |
13:34.24 | tingle | k |
13:34.24 | *** join/#wowi-lounge Floyddotnet (n=FF@pD9EAF16D.dip.t-dialin.net) |
13:34.26 | tingle | so |
13:34.29 | Floyddotnet | hello.. |
13:34.32 | Mr_Rabies2 | reason # 334 why i hate coding |
13:34.38 | Widgertick | Heya Floyd =) |
13:34.42 | Mr_Rabies2 | it makes me hate the word "this" |
13:34.50 | tingle | if this frame: <Frame name="MyAddOn_MainFrame" ...> then it must say MyAddOn_MainFrame:RegisterEvent("ADDON_LOADED"); |
13:35.09 | Widgertick | No, you can use the word this instead |
13:35.12 | Widgertick | That's what it's for =) |
13:35.14 | bleetah | users.. users.. and more users ;) |
13:35.15 | Floyddotnet | sorry but have nevertheless still one asks |
13:35.16 | wereHamster | oh.. SET expansionMovie "0", I had my Config.wtf read-only |
13:35.22 | BigFreak | so if you change the name, it all still works |
13:35.24 | tingle | ah ok |
13:35.55 | tingle | ok check me if im rong |
13:35.59 | tingle | wrong* |
13:36.09 | BigFreak | but yeah, is there any way to create frames by code then? |
13:36.19 | |FF|Im2good4u | yes |
13:36.24 | tingle | in the frame i have: |
13:36.24 | tingle | <OnLoad> |
13:36.24 | tingle | <PROTECTED> |
13:36.24 | tingle | <PROTECTED> |
13:36.35 | Cide | another rule there tingle |
13:36.38 | |FF|Im2good4u | BigFreak: there is CreateFrame9) function in lua |
13:36.40 | Cide | don't paste several lines unless you have to |
13:36.44 | BigFreak | genius |
13:36.55 | tingle | now the function |
13:36.59 | Cide | rewrite that as <OnLoad> MyAddOn_MainFrame_OnLoad() </OnLoad> |
13:37.00 | tingle | function MyAddOn_MainFrame_OnLoad() |
13:37.11 | tingle | must have all the events in it? |
13:37.28 | tingle | like |
13:37.36 | tingle | his:RegisterEvent("SOME_OTHER_EVENT"); |
13:37.42 | BigFreak | right so: in, for example, MonkeyQuest do you know if it creates a new frame for each quest entry? |
13:37.46 | tingle | all events to be registed must be in there? |
13:38.17 | |FF|Im2good4u | i think it should but i dunno :P |
13:38.33 | BigFreak | fair enough |
13:38.44 | Corrodias | bleetah: i never, EVER want to see you suggest again that opening the spellbook is a decent way to cast a spell. :) |
13:39.26 | tingle | but what if i want 1 event for multipal purpases, like the "QUEST_ACCEPT_CONFIRM" , i want more than just one quest to be used |
13:39.29 | Widgertick | BigFreak: Try looking at the FauxScrollFrameTemplate in UIPanelTemplates.lua |
13:39.50 | Corrodias | well, Cryolysis still a little buggy, and i have no real desire to use anything but its portals menu, but it's getting there. i think i'll start using it. |
13:39.51 | bleetah | it's a non-combat spell. I have the important stuff always up front. everything tucked away. I like to see what's going on, not have everything covered in 15 million buttons. |
13:39.59 | bleetah | *everything else |
13:40.22 | tingle | do i need to add more than one questaccept confirmed to the functionr egister event or is 1 enough and covers all quests in the game? |
13:40.23 | Floyddotnet | witch function called wow if it open the questlog.. i would be set a prefix befor each questname |
13:40.26 | Corrodias | ah, a fundamental difference |
13:40.44 | BigFreak | i'll give it a look, thanks Widgertick :> |
13:40.44 | bleetah | 'cept for track ores/herbs, as that needs to be recast after death.. that's annoying having to go to spellbook everytime ;) |
13:40.50 | Corrodias | well, i need to go to bed. my problem appears to be in the process of being solved. |
13:40.55 | Corrodias | 'ni |
13:41.00 | Widgertick | G'night Corrodias =) |
13:41.03 | Widgertick | Stick with it! |
13:41.04 | bleetah | nn |
13:41.05 | tingle | ah i think i understand |
13:41.12 | bleetah | mm bed sounds like a brilliant idea catually |
13:41.30 | Corrodias | Widgertick: look into "Cryolysis" on curse. it's still a bit buggy, but they're making progress, and it has a portals menu. |
13:41.33 | bleetah | I'll leave you with this fortune: "The best way to get rid of worries is to let them die of neglect." |
13:41.44 | Widgertick | LOL |
13:41.47 | Widgertick | Nice bleetah =) |
13:41.51 | Widgertick | And I will check it out! |
13:44.32 | BigFreak | what's an example of FauxScrollFrame btw? |
13:44.34 | Floyddotnet | does you know what i mean? |
13:45.22 | Wobin | Floyddotnet: have a look at the framexml of the questlog |
13:45.39 | Floyddotnet | where i found this? |
13:46.05 | Floyddotnet | World of Warcraft\Blizzard Interface Data (deDE)\AddOns ? |
13:46.15 | Floyddotnet | the isent any frame witch quest in name |
13:46.39 | Wobin | FrameXML |
13:46.43 | Floyddotnet | ah \World of Warcraft\Blizzard Interface Data (deDE)\FrameXML .. oky thank you |
13:46.56 | Wobin | QuestFrame.lua |
13:47.32 | Widgertick | BigFreak: QuestLogListScrollFrame in QuestLogFrame.xml is one, a couple more simple ones are in FriendsFrame.xml |
13:47.32 | tingle | on wikki it says under the discription fopr "QUEST_ACCEPT_CONFIRM" : arg1 is the npc name and arg2 is the quest name, what do i typ in there the quest name and npc name or the quest id and npc id, and what if someone uses it in english or in german version of WoW then it wouldnt be correct anymore |
13:49.08 | Mr_Rabies2 | who is afrasiabi? |
13:49.19 | Mr_Rabies2 | tigole's cat or something if i recall? |
13:49.26 | Widgertick | LOL |
13:49.39 | Widgertick | He's Furor from Fires of Heaven when it was an EverQuest guild |
13:49.49 | Mr_Rabies2 | close enough |
13:49.54 | Widgertick | I think he works at Blizzard too or something |
13:49.59 | tingle | can someone help me with what i just typed up there |
13:50.05 | Mr_Rabies2 | yeah he's the quest designer |
13:50.23 | Mr_Rabies2 | "To M.A. Afrasiabi, you'll always be missed" in the credits :O |
13:51.44 | tingle | ok ill put it short is it possible to put the quest id instead of the name in there so it works for all languages of WoW |
13:51.46 | Widgertick | Maybe one of his relatives died during production? =/ |
13:52.12 | Widgertick | Tingle, I'm pretty sure that the quest name that QUEST_ACCEPT_CONFIRM returns is localized, so it will always work for all languages of WoW |
13:53.06 | tingle | os i can typ in the english quest name and someone that has german the mod will work too? |
13:53.31 | Widgertick | No, you can use arg2 from the QUEST_ACCEPT_CONFIRM event and it will always return the quest name |
13:53.50 | Mr_Rabies2 | ah |
13:53.54 | tingle | so i only have to typ in arg1 and arg2? |
13:53.59 | Widgertick | Yeah |
13:54.06 | Mr_Rabies2 | alex afrasiabi is furor |
13:54.18 | tingle | but why does this example say: if(event=="QUEST_ACCEPT_CONFIRM" and arg1=="MyAddOn" and arg2=="") then |
13:54.27 | Mr_Rabies2 | i thought it was his nickname or sommat |
13:54.39 | tingle | MyAddOn at arg1 ? |
13:54.42 | tingle | what does that mean |
13:54.52 | Widgertick | That doesn't make any sense, tingle, arg1 would never be MyAddOn for that event. |
13:54.59 | Widgertick | So the example is bad. |
13:55.02 | Wobin | Man |
13:55.04 | Wobin | That's weird |
13:55.27 | tingle | this is the original |
13:55.28 | tingle | if(event=="ADDON_LOADED" and arg1=="MyAddOn") then |
13:55.45 | tingle | i changen ADDON_LOADED to QUEST_ACCEPT_CONFIRM |
13:55.53 | *** join/#wowi-lounge Rophy (n=Miranda@61-225-20-30.dynamic.hinet.net) |
13:55.57 | Widgertick | Ahh. |
13:56.06 | Widgertick | You see, when events occur, they return different arguments. |
13:56.17 | Widgertick | In the case of the ADDON_LOADED event, arg1 is the name of the addon that was loaded. |
13:56.22 | Wobin | For the lastreply list, where it stores the last 10 people replied to, they do this funky shifting thing where they scan if the person replied to is in the list, then shifts every entry up one to replace it... then puts the last told in the beginning |
13:56.34 | tingle | ah ok |
13:56.38 | Wobin | When they could just use table.insert/remove and reverse the order of the check for the tab |
13:56.54 | tingle | and witht he quest log confirmed what i put to the arg1 and arg2? |
13:57.03 | Widgertick | You don't need to put anything |
13:57.13 | tingle | just typ in arg1 and arg2 |
13:57.15 | Widgertick | You can just do if ( event == "QUEST_ACCEPT_CONFIRM" ) then |
13:57.32 | Widgertick | DEFAULT_CHAT_FRAME:AddMessage(arg2) or something |
13:57.40 | tingle | but i want it to check if the correct quest has been confirmed |
13:57.57 | Widgertick | Ahh... |
13:58.08 | Widgertick | In that case, you would need different versions for German and English. |
13:58.45 | tingle | so i typ in the correct quest name |
13:58.46 | Widgertick | And do this... |
13:58.56 | tingle | or is it possible to typ in the quest id? |
13:59.13 | Widgertick | There aren't quest ids |
13:59.18 | tingle | oh o k |
14:00.09 | *** join/#wowi-lounge kaso (n=kaso@resnet01.nat.lancs.ac.uk) |
14:00.44 | tingle | <PROTECTED> |
14:00.52 | *** join/#wowi-lounge Sumhat (n=Sumhat@222.71.215.159) |
14:01.00 | Widgertick | Nope. |
14:01.16 | Widgertick | elseif ( event == "QUEST_ACCEPT_CONFIRM" ) then |
14:02.09 | tingle | then what i put there to do if a quest has been confirmed that is not the arg1 and arg2 of the if(... |
14:02.35 | Widgertick | That's what I just typed. |
14:02.42 | tingle | ah ok |
14:02.45 | tingle | i get it thx |
14:02.55 | Widgertick | 'cause you're not checking to see what arg1 or arg2 are |
14:03.57 | tingle | ok so this is correct: if(event=="QUEST_ACCEPT_CONFIRM" and arg1=="npc" and arg2=="quest") then typ some message .... |
14:04.15 | tingle | and then |
14:04.27 | tingle | elsif then typ other message |
14:04.35 | Widgertick | Yeah, that would work |
14:04.41 | tingle | ok ill try that ^^ |
14:05.16 | *** join/#wowi-lounge beerke (n=beerke@5353E177.cable.casema.nl) |
14:05.17 | Widgertick | I'm out, see ya =) |
14:05.31 | BigFreak | does: i = 5; getglobal("x"..i); define and declare a global variable called x5? :S |
14:05.55 | Cide | no |
14:06.15 | Cide | that looks up the variable called x5 |
14:06.20 | BigFreak | ahar |
14:06.48 | MageRooster | I've had that sort of code throw an error and need tostring(i) for some reason. |
14:07.15 | tingle | with quests and npc names do i but a _ inbetween them like deputy wilhem do i do deputy_wilhem ? |
14:07.46 | BigFreak | i'm looking at an example that has the line: local curFrame = getglobal("myFrame"..i) so what'd that do? |
14:08.20 | Cide | if i = 5, grab the global variable myFrame5 |
14:08.38 | Cide | if i = 3, myFrame3.. i = N, grab myFrameN |
14:08.41 | BigFreak | ok so you can dynamically name variables in lua as well? |
14:08.51 | Cide | yes |
14:08.54 | BigFreak | crazy stuff |
14:08.54 | Cide | it's just a table entry |
14:09.01 | BigFreak | table == array? |
14:09.12 | MageRooster | Argh, I wish I had to declare variables. |
14:09.15 | tingle | do i need to put a _ inbetween names ??? |
14:09.15 | Cide | hash table/array combination |
14:09.23 | BigFreak | cool thanks :> |
14:09.25 | MageRooster | Especially since Lua is case sensitive. |
14:09.32 | Cide | MageRooster: local declaredName; |
14:09.40 | MageRooster | Oooh, so there is a way. Thanks. |
14:09.58 | Cide | of course that just declares a local variable |
14:10.06 | MageRooster | ...oh, durr. No. |
14:10.08 | Cide | if you don't declare it local it will check the global table |
14:10.13 | MageRooster | I mean like VB's option explicit. |
14:10.23 | Cide | not familiar with that one |
14:10.34 | MageRooster | Forced variable declaration. |
14:10.35 | Cide | but you can't really declare variables in lua in the traditional sense, no |
14:10.42 | MageRooster | Helps me trap typo errors on variable names well. |
14:10.56 | Cide | do setfenv(1, {}) :) |
14:10.57 | BigFreak | yeah, seems pretty sloppy with regards to that |
14:11.00 | tingle | <PROTECTED> |
14:11.02 | BigFreak | ooh cool :> |
14:11.22 | Cide | MageRooster: setfenv(1, { }) -- Note, that won't work very well, but try it |
14:11.26 | MageRooster | Why are you asking me? I know lua, not the WoW UI. |
14:11.42 | MageRooster | I'll give that a try some time I'm not grinding. |
14:11.44 | Cide | tingle: spaces |
14:11.49 | BigFreak | Cide, you seem to know things, would you be up to walking me through some bits? |
14:12.06 | Cide | don't really have time to do that |
14:12.12 | BigFreak | fair enough |
14:12.15 | Cide | ask the channel and I'll answer if I have time |
14:12.32 | tingle | ok, when i reload my addon to check it i get a error saysing unexpected ympol by then |
14:12.46 | BigFreak | quotes? |
14:12.47 | Cide | MageRooster: what setfenv does is it changes the function environment |
14:12.48 | MageRooster | ...symbol? |
14:12.52 | tingle | wait i make a code |
14:13.05 | Cide | the "1" means current environment, so you can hide the global table if you want |
14:13.19 | Cide | which means that any global lookup would fail since the environment it looks in is empty |
14:13.21 | tingle | http://wowi.pastey.net/5328 |
14:13.40 | Cide | so you can't get buggy code because lua found a global that was really a typoed local |
14:14.07 | BigFreak | arg1 == x and arg1==y isn't a very likely condition |
14:14.07 | MageRooster | Mmm. |
14:14.09 | BigFreak | to be honest |
14:14.22 | Sumhat | tingle: replace "elseif then" with "else" |
14:17.26 | tingle | uh... i just tested it and exepted the quest but no message, here is code of both lua and xml: http://wowi.pastey.net/5329 |
14:18.43 | tingle | what wrong? |
14:19.32 | Cide | you are testing for two different arg1 |
14:19.41 | tingle | yes? |
14:19.48 | Cide | arg1 can't be Deputy Willem and A Threat Within at the same time |
14:20.03 | tingle | oh i misstyped |
14:20.07 | tingle | sec i retry |
14:20.51 | tingle | just fixed still doesnt work |
14:21.05 | Sumhat | tingle: is the message in MyMod_ShowMessage() shown? |
14:21.40 | tingle | where? |
14:21.52 | *** join/#wowi-lounge Andalia (n=xx@p54AC9C29.dip0.t-ipconnect.de) |
14:21.54 | tingle | in the chat or as message |
14:22.01 | Sumhat | line 22 to 25 |
14:22.48 | tingle | no thos mesagesd show up in the chat |
14:22.57 | tingle | i mean yes they show up |
14:23.08 | *** join/#wowi-lounge Maldivia (i=the_real@85.24.43.48) |
14:23.32 | tingle | that works but the mesage richtig" doesent show up when i accept the quest |
14:23.36 | *** join/#wowi-lounge Insaclone (n=ins@186.214-201-80.adsl-dyn.isp.belgacom.be) |
14:23.48 | Cide | what about it, Maldivia ? |
14:23.55 | Maldivia | # Each rank of "Improved Fireball" now reduces your spell damage coefficient by 2%. |
14:23.55 | Maldivia | # Each rank of "Improved Frostbolt" now reduces your spell damage coefficient by 2%. |
14:24.06 | Cide | ah, hehe |
14:24.09 | Mikma | aww |
14:24.12 | Cide | I got nerfed too! |
14:24.23 | Mikma | thats' a bad nerf :( |
14:24.24 | Maldivia | but 10%? |
14:24.26 | Sumhat | i dont know that event exactly, but according to http://www.wowwiki.com/Events/Q, it may not work |
14:24.31 | kergoth | whats the url to the 2.0.x thread again? |
14:24.37 | Maldivia | http://forums.worldofwarcraft.com/thread.html?topicId=69997047&sid=1 |
14:24.54 | kergoth | thanks |
14:24.55 | BigFreak | apprently shadow word pain is nerfed as well :( |
14:25.30 | Mikma | good thing i don't play preist anymore :P |
14:25.34 | tingle | why isnt it working is everything correct that i coded? |
14:26.25 | BigFreak | paste the link, tingle |
14:27.04 | Sumhat | tingle: your code seems okay |
14:27.06 | tingle | http://wowi.pastey.net/5330 |
14:27.16 | tingle | but why doesnt it show up when i accept the quest |
14:27.38 | Cide | that's up for you to debug |
14:29.44 | tingle | i did no error messages nothing the first messages show up but the message thats suppose to show up when the quest gets acepted doesnt do it |
14:29.59 | BigFreak | ok i need to get my head around the ui stuff...am i getting this right? a frame is just that, a FontString is...is it supposed to represent a single string, or an area of text or what? |
14:30.20 | Cide | it can be both just a string and an area of text |
14:30.27 | Cide | it becomes an area of text if you set its width and height |
14:30.47 | Cide | otherwise it's just a string that occupies however much space it takes |
14:30.57 | *** join/#wowi-lounge Xuerian (n=core@12-196-151-111.psknet.net) |
14:31.22 | BigFreak | ok |
14:32.15 | BigFreak | so if it want, like, a list of buttons, of variable length, decided at run time...what needs to be defined in the xml and how do i create them? |
14:32.23 | BigFreak | cos most of the default ui stuff seems o |
14:32.25 | tingle | anyone abel to find my problem |
14:32.44 | BigFreak | *...seems to just have a set number of available slots and then fill them as required |
14:34.22 | Cide | tingle: that's up to you |
14:34.38 | Cide | we're not here to write your addon |
14:35.20 | tingle | i know but i cant figure out why the message isnt showing up did you see a problem if yes tell me or just tell me that there is a problem and give me a hint |
14:35.58 | *** join/#wowi-lounge Pheagator (n=Piotrek@etna.magma-net.pl) |
14:36.02 | Cide | print your args to chat and check what they are |
14:36.41 | tingle | if(event == "QUEST_ACCEPT_CONFIRM" and arg1 == "Deputy Willem" and arg2 == "A Threat Within") |
14:36.49 | tingle | arg1 is the quest npc |
14:36.55 | tingle | and arg2 the quest name |
14:37.02 | Cide | that's what you think they are |
14:37.08 | Cide | you haven't checked them, have you? |
14:37.12 | tingle | thats what wiki says |
14:37.19 | Cide | yes, but you need to verify that |
14:37.23 | Cide | wikis are not always correct |
14:37.35 | tingle | maby other way around? |
14:37.42 | Cide | print them to chat and see? |
14:38.03 | tingle | what print them to chat |
14:38.06 | BigFreak | cos if they were right it'd run xD |
14:38.12 | tingle | wiki says: |
14:38.12 | tingle | <PROTECTED> |
14:38.12 | tingle | <PROTECTED> |
14:38.12 | tingle | arg2 |
14:38.12 | tingle | <PROTECTED> |
14:38.13 | Floyddotnet | can someone pls help my? why can i remove all [..] from this string "[level] [..] QuestText" |
14:38.17 | Cide | don't.. do... that |
14:38.23 | Floyddotnet | not why . i mean how |
14:38.42 | tingle | you just told me to |
14:38.49 | BigFreak | DEFAULT_CHAT_FRAME:AddMessage(arg1 .. arg2); |
14:38.50 | Cide | no |
14:38.52 | BigFreak | in the else clause |
14:38.54 | BigFreak | do that :> |
14:38.56 | Cide | I said verify that they are correct |
14:39.04 | Cide | I did not say "spam the channel" |
14:39.07 | Sumhat | i guess MyAddOn_MainFrame_OnEvent is not invoked |
14:39.13 | Floyddotnet | at examplestring: "[12] [M] ExampleQuestentext" |
14:39.14 | tingle | i just turned them around and still doesnt work.. |
14:39.25 | Floyddotnet | my function will be makes a recursion |
14:39.27 | Cide | I did not say "turn them around" either |
14:39.36 | Cide | Floyddotnet: what's the [M]? |
14:39.36 | tingle | you said verify them |
14:39.47 | Cide | turning them around doesn't verify them |
14:39.48 | Floyddotnet | from my addon is [M] |
14:39.51 | Cide | printing them to chat is |
14:40.00 | tingle | what do you mean with print them to chat |
14:40.04 | BigFreak | tingle |
14:40.06 | Floyddotnet | but i need the real clean questtext |
14:40.09 | tingle | print what to witch chat |
14:40.32 | BigFreak | line 16 change to: DEFAULT_CHAT_FRAME:AddMessage("Args: " .. arg1 .. arg2); |
14:40.58 | Cide | Floyddotnet: what part do you want? |
14:41.04 | Cide | only questtext? |
14:41.06 | BigFreak | then run it, read the arguments, see how the are different from what you're testing them against |
14:41.09 | Floyddotnet | yes |
14:41.13 | BigFreak | </debug 101> |
14:41.46 | BigFreak | lua syntax is weird, btw |
14:42.13 | Cide | Floyddotnet: string.match("[level] [..] QuestText", "^%[.-%] %[.-%] (.+)$") |
14:42.38 | *** join/#wowi-lounge Quetz (n=Quetzi@i-83-67-30-147.freedom2surf.net) |
14:42.41 | tingle | i just did what you said bigfreak still nothing |
14:42.44 | BigFreak | regexp4tw |
14:42.49 | BigFreak | what does it say in your chat window?;o |
14:42.49 | Floyddotnet | thank you.. i will test it if sever online agans |
14:43.02 | tingle | no |
14:43.12 | tingle | only the stuff that comes when it loads is down there |
14:43.16 | BigFreak | ok |
14:43.41 | BigFreak | so like |
14:43.44 | tingle | cide was Floyddotnet: string.match("[level] [..] QuestText", "^%[.-%] %[.-%] (.+)$") for me? |
14:43.52 | BigFreak | have you accepted a quest? |
14:44.01 | Cide | tingle: then I would not have prefixed it with "Floyddotnet:" |
14:44.07 | BigFreak | . |
14:44.08 | *** join/#wowi-lounge Droolio (n=drool@87-194-188-170.bethere.co.uk) |
14:44.13 | Floyddotnet | will it be to make if the QuestText like "[M] Questname" or "[level] Questname" too? |
14:44.23 | Cide | no |
14:44.28 | Floyddotnet | oh :/ |
14:44.47 | tingle | i accept the quest then it should come right? |
14:45.09 | Floyddotnet | this is a regex command corretly? |
14:45.18 | BigFreak | it should say something in your chat box |
14:45.30 | tingle | doesnt.. |
14:45.34 | BigFreak | if it's listening for the event and all is well |
14:46.19 | tingle | i get no error and the first part shows up but not when i acept a quest |
14:46.41 | BigFreak | try like |
14:46.52 | BigFreak | just outputting a message OnEvent |
14:46.54 | Cide | Floyddotnet: what? |
14:46.55 | BigFreak | with no condition |
14:47.25 | Floyddotnet | ^%[.-%] %[.-%] (.+)$" = regex ? |
14:47.26 | tingle | you mean removing the args? |
14:47.40 | BigFreak | yeah that's regular expressions |
14:47.45 | Cide | I wouldn't call it a regexp, no |
14:47.49 | Nom- | Does anyone know the scaling formula for Flash of Light ? |
14:47.49 | BigFreak | or not |
14:47.51 | BigFreak | :( |
14:48.02 | Cide | lua's pattern engine is missing a lot of regex tools |
14:48.17 | tingle | still no message when accepting the quest |
14:48.19 | Cide | I believe it's called a "pattern match" in the documentation, but don't quote me on that |
14:48.46 | tingle | is this:RegisterEvent("QUEST_ACCEPT_CONFIRM"); not working correctly or what |
14:49.12 | BigFreak | if i want to have a list of buttons that varies depending on how many skills the player has learnt how would i go about doing that? |
14:49.27 | Cide | varying in length how? |
14:49.39 | BigFreak | directly corelatiting to |
14:50.00 | BigFreak | for example, a subsection for each skill line and then beneath that a button for each skill |
14:50.17 | BigFreak | button/clickable line of text |
14:50.39 | BigFreak | i.e. representing the spellbook in an all-in-one, easier to use view |
14:50.59 | BigFreak | (going for something similar to the quest log) |
14:51.21 | Cide | the quest log buttons' width doesn't change |
14:51.26 | Cide | or do they? |
14:51.35 | Cide | s/doesn't/don't/ |
14:51.42 | Cide | grrrr |
14:51.43 | BigFreak | not as far as i know |
14:51.51 | Cide | well |
14:51.54 | Cide | you could do an ugly hack |
14:52.04 | Cide | have a temporary font string, set the text to whatever you want |
14:52.15 | tingle | argh nothing works why doesnt the message show up i get no error message i have no log it should be working |
14:52.46 | tingle | it seems as if it isnt registering the quest accept event |
14:53.57 | BigFreak | and then? |
14:53.59 | Cide | let the game render the font and read :GetWidth() or :GetStringWidth() |
14:54.24 | Cide | and use that to set the button's width.. you might be able to do it by anchoring the button to a font though |
14:54.56 | BigFreak | i meant the number of buttons varies depending on how many skills they have, hehe |
14:55.04 | Cide | oh, well that's easy |
14:55.10 | BigFreak | ahar |
14:55.13 | BigFreak | gut |
14:55.33 | Cide | you can create frames dynamically |
14:55.33 | BigFreak | i'm guessing some form of an array of buttons? |
14:55.36 | BigFreak | awesome |
14:56.02 | Cide | http://www.wowwiki.com/API_CreateFrame |
14:56.08 | *** join/#wowi-lounge XolanZzz (n=Xolan@217-104-65.521110.adsl.tele2.no) |
14:56.14 | BigFreak | fanta-tastic |
14:56.46 | BigFreak | and a button is just a derived frame, yeah? |
14:57.03 | Cide | yes.. CreateFrame("Button", ...) |
14:57.17 | BigFreak | awesome, thanks :> |
14:58.21 | Floyddotnet | this sould be also work or? (realm is inaktiv :() |
14:58.21 | Floyddotnet | cNeuString, nWieOft = string.gsub (value, "(\[\d*\])" ,"") |
14:58.22 | Floyddotnet | <PROTECTED> |
14:59.51 | Cide | you don't escape with \ |
14:59.53 | Cide | you escape with % |
15:00.22 | Floyddotnet | cNeuString, nWieOft = string.gsub (value, "(%[%d*%])" ,"") |
15:00.41 | Floyddotnet | <PROTECTED> |
15:00.41 | Floyddotnet | ? |
15:00.45 | Cide | probably |
15:01.01 | Floyddotnet | i will test it if server will be online agans |
15:05.06 | *** join/#wowi-lounge Funkeh` (n=funkydud@host86-147-50-181.range86-147.btcentralplus.com) |
15:05.10 | *** join/#wowi-lounge amro (n=amro@82.101.184.178) |
15:07.33 | tingle | well, anyone figure out what is rong with http://wowi.pastey.net/5331 cant get the message to show up after ive accepted a quest |
15:08.39 | BigFreak | http://www.wowwiki.com/Events/Quest |
15:09.02 | BigFreak | according to that, it might not work |
15:09.08 | tingle | o_O? |
15:09.47 | BigFreak | :/ |
15:10.05 | BigFreak | under "QUEST_ACCEPT_CONFIRM": "(this doesnt seem like it works)-Noraj" |
15:10.22 | tingle | ok lets put it like this i just tried it with QUEST_GREETING that doesnt work ether |
15:11.39 | tingle | so im thinking that it isnt registering the event.. is there soemthing rong about what i coded to register the event? |
15:12.05 | tingle | or must i put each <OnLoad> ... </OnLoad> into a serperat online |
15:12.09 | tingle | onload* |
15:12.43 | BigFreak | i dunno if you can call more than one function OnLoad...is that ok? |
15:12.48 | BigFreak | i'm new to this, really no idea |
15:13.00 | BigFreak | s'pose it follows that that should work |
15:13.02 | tingle | thats what i just wanted to know |
15:13.20 | BigFreak | try registering like |
15:13.24 | BigFreak | a different event |
15:13.44 | BigFreak | then have OnEvent as just: DEFAULT_CHAT_FRAME:AddMessage("richtig!"); |
15:13.47 | tingle | thats what i did still doesnt work |
15:14.15 | BigFreak | try changing onevent to just that one line |
15:14.24 | BigFreak | so as soon as the event fires it should show something |
15:15.25 | tingle | nop just tried |
15:16.52 | *** join/#wowi-lounge Andalia (i=xx@p54AC9C29.dip0.t-ipconnect.de) |
15:19.42 | BigFreak | is there any way to output to a frame a line at a time without looping and using x:SetText(x:GetText() .. "foo"); ? |
15:25.40 | *** join/#wowi-lounge |moonsorrow| (n=eagle@HSI-KBW-085-216-057-070.hsi.kabelbw.de) |
15:25.54 | tingle | aw fuck why doesnt this work arghhh |
15:26.58 | tingle | isnt anyone here abel to tell me why my code wont work??? |
15:27.11 | tingle | http://wowi.pastey.net/5331 |
15:27.25 | tingle | message after completing the quest doenst show up |
15:29.24 | *** join/#wowi-lounge Rooster[DC] (n=Rooster@216.190.229.32) |
15:33.30 | *** join/#wowi-lounge ckknight (n=ckknight@rrcs-74-62-251-185.west.biz.rr.com) |
15:36.31 | Rooster[DC] | Is this a history of lines like a chat window? |
15:37.01 | Cide | define 'this' |
15:37.09 | Cide | IRC? yes, pretty much |
15:37.11 | Rooster[DC] | [07:17] <BigFreak> is there any way to output to a frame a line at a time without looping and using x:SetText(x:GetText() .. "foo"); ? <- Oh oops, didn't look at the timestamp. |
15:38.18 | BigFreak | hehe, naw just generally like...filling a box, looping and concatting seems messy |
15:38.38 | Rooster[DC] | I generally hold a persistant array with that data and fill the box from the array. |
15:39.39 | BigFreak | right, fair enough |
15:39.47 | BigFreak | where each element of the array is a line of text? |
15:39.51 | Rooster[DC] | Right. |
15:39.53 | BigFreak | or chunk of text or whatever |
15:39.57 | BigFreak | ok thanks :> |
15:39.58 | *** join/#wowi-lounge XolanZzz (n=Xolan@217-104-65.521110.adsl.tele2.no) |
15:40.12 | Rooster[DC] | Whether you hold it as just an array of strings for each line, or as a table structure is up to you. |
15:40.19 | BigFreak | really new to all this (wow addons, lua, etc heh) |
15:42.57 | *** join/#wowi-lounge MageRooster (n=Rooster@216.190.229.32) |
15:44.50 | *** join/#wowi-lounge Droolio (n=drool@87-194-188-170.bethere.co.uk) |
15:45.56 | Floyddotnet | cNeuString, nWieOft = string.gsub (value, "(%[%d*%])" ,"") makes an error: "'then' expected near ',' |
15:46.00 | BigFreak | function SpellBookLoad() |
15:46.02 | BigFreak | button = CreateFrame("Button", "SpellLine", SimpleSpellBookFrame, UIPanelButtonTemplate2); |
15:46.06 | BigFreak | fuck, sorry |
15:46.07 | BigFreak | :| |
15:46.07 | Floyddotnet | what is wrong? |
15:46.23 | MageRooster | You have it in an if statement? |
15:46.36 | BigFreak | ok, i've got this: http://wowi.pastey.net/5333 and it's drawing no button, any ideas? |
15:46.57 | Floyddotnet | i yes.. i have write "end if" .. :D sorry |
15:48.11 | tingle | anyone abel to tell me whats rong with http://wowi.pastey.net/5331 and why the message wont show up when i accept the quest? |
15:48.18 | *** join/#wowi-lounge Kathyrine (n=MommaBea@CPE-24-208-117-107.kc.res.rr.com) |
15:50.23 | MageRooster | Because animals in newbie zones aren't skinnable. |
15:50.34 | MageRooster | Go somewhere out into L5+ areas and things will skin. |
15:50.37 | Kathyrine | See, i knew there was an incredibly simple answer lol |
15:51.06 | MageRooster | Rabbits, being a critter that's used everywhere, still skin. |
15:51.24 | MageRooster | But they don't expect you to have trade skills until L5 at the earliest. |
15:51.49 | MageRooster | So linen doesn't drop on humanoids that low. You can't skin animals that low. No mining points. No herbs. |
15:52.07 | Kathyrine | Thank you, the only other skinner I had picked up the skill later on as a backup to something else, so I've never had to mess with it in newbie lands |
15:52.09 | MageRooster | (And they don't want you coming back later.) |
15:53.14 | Kathyrine | okies, again, thanks, lol |
15:54.50 | *** part/#wowi-lounge Kathyrine (n=MommaBea@CPE-24-208-117-107.kc.res.rr.com) |
16:00.55 | tingle | ok i fugred out something |
16:01.17 | tingle | QUEST_ACCEPT_CONFIRM doesnt seem to work in any way - the code i made works but this doesnt work |
16:01.42 | BigFreak | (15:10:08) (BigFreak) under "QUEST_ACCEPT_CONFIRM": "(this doesnt seem like it works)-Noraj" |
16:01.42 | BigFreak | :/ |
16:01.56 | tingle | any ideas on how i can make a event response to a certain quest being acepted or completed |
16:02.37 | tingle | reputation :D |
16:03.03 | tingle | under what are the events of reputation changes??? |
16:04.07 | *** join/#wowi-lounge Kilabie (n=tonnyl@port2060.ds1-vbr.adsl.cybercity.dk) |
16:04.42 | tingle | no reputation would be it |
16:05.46 | *** join/#wowi-lounge HYDRA (i=HYDRA@c-aedee055.1243-1-64736c10.cust.bredbandsbolaget.se) |
16:06.40 | MageRooster | Perhaps you should go look at EQL and see how they did it. |
16:06.55 | tingle | eql? |
16:07.00 | tingle | what did they do |
16:07.00 | MageRooster | ExtendedQuestLog. |
16:07.19 | tingle | ah true |
16:07.29 | tingle | good idea thats a addon right? |
16:07.38 | MageRooster | ...right. |
16:07.53 | foxlit | Anyone got a rtfm pointer for making own hyperlinks in chat window? |
16:08.20 | foxlit | If I wanted to do a [EventLib/Panic] Something did something it was not supposed to, click [here] for callstack., for example. |
16:08.46 | MageRooster | So an item link style thing for events? |
16:09.06 | foxlit | Yep. |
16:09.19 | HYDRA | I have a question guys... I hear you here are kinda into addons/LUA etc... |
16:09.19 | foxlit | An itemlink style thing for popping up custom text. |
16:09.21 | HYDRA | am I right |
16:09.28 | MageRooster | Kinda? :D |
16:09.33 | MageRooster | It's all this channel talks about. |
16:09.41 | HYDRA | this function removes blizzards' actionbars etc -> MainMenuBar:Hide(); |
16:09.43 | HYDRA | am I right |
16:10.18 | foxlit | removes from view is probably more appropriate |
16:10.25 | HYDRA | yeah ok... |
16:10.40 | HYDRA | question: Is there any way to show PARTS of that mainmenubar? |
16:10.43 | *** join/#wowi-lounge YammYgirlcoding (n=hoho@201.37.244.215) |
16:11.00 | MageRooster | Make a frame and hack together parts of original UI art? |
16:11.03 | HYDRA | I want to hide it all, except the actionbars that pop up whenever I mindcontrol someone |
16:11.19 | YammYgirlcoding | guys! what is the last toc version for wow version just before BC install and after BC install ? is it 2 different versions? |
16:11.21 | foxlit | That's PetActionBar, if memory serves. |
16:11.26 | HYDRA | Ohhhh |
16:11.27 | MageRooster | YammYgirlcoding: Topic. |
16:11.37 | YammYgirlcoding | lol !!! |
16:11.50 | HYDRA | AAH so the petActionBar... AAAHHHHH |
16:11.52 | YammYgirlcoding | but this toc is for before BC or after ? |
16:11.54 | HYDRA | omg my addon HAS a petaction bar |
16:11.58 | HYDRA | so If I enable that... |
16:12.00 | MageRooster | ...BC doesn't have a different TOC. |
16:12.03 | HYDRA | and mindcontrol.. |
16:12.04 | YammYgirlcoding | ah cool |
16:12.07 | HYDRA | it might work |
16:12.10 | HYDRA | and I dont even have to add it myself. |
16:12.16 | MageRooster | That's what the 2.x patch was... adding BC content to the standard client. |
16:12.24 | MageRooster | Hence, 500 megs. |
16:12.24 | YammYgirlcoding | and there is already a working wowtoc to download ? |
16:12.25 | HYDRA | omg I suddenly feel so stupid, thanks for your fine words of wisdom lads |
16:12.33 | HYDRA | keep up the good work |
16:12.58 | MageRooster | Of making you feel stupid :) |
16:12.59 | MageRooster | ? |
16:13.36 | YammYgirlcoding | and there is already a working wowtoc to download today ? |
16:14.06 | MageRooster | Could always steal someone else's. Not like ToCs are complicated. |
16:14.20 | foxlit | Steal wiki's :) |
16:14.26 | MageRooster | Or that! |
16:14.32 | MageRooster | (If you can't tell, I'm a big fan of learning from other people's code.) |
16:17.41 | foxlit | Hm, what's wrong with the database sites lately |
16:18.03 | foxlit | wowhead outright times out, allakhazam doesn't display search results :( |
16:18.25 | sergio | they're getting hammered |
16:19.23 | foxlit | Were fine yesterday, though |
16:20.01 | HYDRA | omg you guys are just fantastic, I asked in one sentece, and you answered, and it solved it all |
16:20.06 | HYDRA | I love you, therefore, I must ask more. |
16:20.37 | HYDRA | is it hard to modify an already existing exp bar to show a different colored slice, say light yellow, up until rested? |
16:20.44 | HYDRA | it's a % bar |
16:21.25 | HYDRA | wouldnt it be something like.. taking the current exp including rested, - rested exp, and color that and place it in front of current exp... |
16:21.56 | HYDRA | ah I dont know I'm gonna read up on it, thanks anyway |
16:22.42 | BigFreak | wahay. i have a button for every spell line your character has |
16:22.43 | BigFreak | progress. |
16:23.27 | YammYgirlcoding | guys. Is it safe to update toc from 20000 to 20003 safely ? |
16:23.33 | *** join/#wowi-lounge Srosh (n=Srosh@c155093.adsl.hansenet.de) |
16:23.37 | MageRooster | Sure. |
16:23.43 | MageRooster | Try your mod out to see if it still works though. |
16:23.46 | MageRooster | Or check the changelog. |
16:24.01 | MageRooster | They change the TOC for a reason. |
16:24.05 | YammYgirlcoding | you guys have any program similar to wowtoc ? |
16:24.16 | MageRooster | What does WoWTOC do? |
16:24.21 | YammYgirlcoding | change tocs for me |
16:24.26 | YammYgirlcoding | all of them at once |
16:24.28 | MageRooster | Oh, I use notepad. |
16:24.34 | YammYgirlcoding | O.o |
16:24.49 | MageRooster | It's generally not a good idea to change tocs unless you know for sure it works right. :P |
16:24.49 | YammYgirlcoding | it stopped working since storms patch |
16:25.13 | YammYgirlcoding | i see.... it's that i have 100+ addons installed .. prety painfull update one by one... |
16:25.19 | MageRooster | ...wow, 100? |
16:25.25 | MageRooster | Your RAM must hate you. |
16:25.33 | YammYgirlcoding | i got 2gb ram =) |
16:25.37 | MageRooster | So do I. |
16:25.44 | MageRooster | Doesn't prevent WoW from using a big chunk. |
16:26.01 | tingle | hey magerooster |
16:26.02 | YammYgirlcoding | it does . around 500 to 1gb :) |
16:26.16 | tingle | i found something about that quest accept complete |
16:26.32 | tingle | can you explane to me what everything does: |
16:26.32 | tingle | if ( event == "QUEST_ACCEPT_CONFIRM" ) then |
16:26.33 | tingle | StaticPopup_Show("QUEST_ACCEPT", arg1, arg2); |
16:26.33 | tingle | return; |
16:26.33 | tingle | end |
16:27.07 | MageRooster | Sure, it calls StaticPopup_Show when you accept a new quest. |
16:27.22 | foxlit | Nono |
16:27.22 | BigFreak | ...with the arguments "QUEST_ACCEPT", arg1, arg2 |
16:27.24 | BigFreak | natch |
16:27.27 | foxlit | Well, not quite |
16:27.44 | MageRooster | Go look for StaticPopup_Show. |
16:28.06 | foxlit | QUEST_ACCEPT_CONFIRM occurs only on some quests, typically when you're offered to share into the action with your groupmates. |
16:28.27 | foxlit | i.e. if you and I are in a group, I start jailbreak, you get QUEST_ACCEPT_CONFIRM to ask you if you _also_ want to do jailbreak. |
16:28.47 | MageRooster | Ahhh. |
16:29.14 | foxlit | Wheres, I, myself do not get QUEST_ACCEPT_CONFIRM since I've started the quest. |
16:29.27 | YammYgirlcoding | guys can I save toc files in unicode format ? |
16:29.37 | YammYgirlcoding | i found some tocs with german characters |
16:29.38 | foxlit | yes |
16:29.47 | tingle | i csant find the static popup thing on wiki |
16:30.02 | foxlit | UI function, pops up a dialog box |
16:31.13 | foxlit | Like "Do you want to accept XYZ's resurrection spell?" |
16:31.13 | foxlit | Or "Summon you to the edge of the world?" |
16:31.30 | MageRooster | Are you sure it isn't a function within the .lua file itself that the call was from? |
16:33.37 | foxlit | It's somewhere inside FrameXML, anyway. |
16:34.01 | foxlit | FrameXML\StaticPopup.(lua|xml) |
16:34.14 | Cairenn|afk | Bleeter: *snicker* |
16:45.39 | *** join/#wowi-lounge kaso (n=kaso@resnet01.nat.lancs.ac.uk) |
16:48.16 | BigFreak | ooh |
16:48.27 | BigFreak | your uni doesn't filter irc, kaso? xD |
16:48.35 | kaso | nope |
16:48.41 | BigFreak | awesome heh |
16:48.46 | kaso | They let most things through, wow, vent |
16:48.53 | BigFreak | my uni's pretty harsh for that :\ |
16:49.03 | BigFreak | can't get on msn, irc etc |
16:49.09 | kaso | owch |
16:49.17 | BigFreak | (portsmouth ;o) |
16:49.19 | kaso | well, thats what proxies were made for! |
16:49.26 | BigFreak | poxyproxies |
16:53.39 | tingle | then what event happens when i accept a quest? |
16:55.31 | tingle | ??? |
16:55.50 | Xuerian | Hm.... It's been so long since I was actually in a group loot party, I've forgotten - When someone selects need or greed, do they roll immediately, or are the rolls only once all have chosen? |
16:56.51 | kaso | They roll immediately |
16:57.15 | Xuerian | Excellent. |
16:57.20 | Cide | no they don't |
16:57.20 | BigFreak | i'm fairly sure |
16:57.23 | BigFreak | that's wrong |
16:57.55 | tingle | hey i got a idea |
16:57.55 | kaso | What? |
16:57.55 | Cide | all the rolls happen simultaneously |
16:57.55 | Cide | when everyone has selected their option |
16:57.55 | kaso | sure? |
16:57.55 | Cide | yes |
16:57.55 | BigFreak | yer |
16:57.57 | kaso | i could have sworn it was the other way |
16:58.06 | Xuerian | Ah well, equally excellent. |
16:58.09 | tingle | is there anyway to patch the packets or console/script command when a character does something? like sometihing that shows event when you do something in game so i can figure out what the event is when i accept a quest??? |
16:58.20 | tingle | not patch watch* |
16:58.20 | Xuerian | Thanks, Cide. |
16:58.40 | Xuerian | ~devtools |
16:58.46 | purl | methinks devtools is Iriel's DevTools, a highly useful set of debugging tools for developers on WoW. Found at http://www.wowinterface.com/downloads/fileinfo.php?id=3999 Why isn't it in the default client yet?, or found at http://www.wowinterface.com/downloads/fileinfo.php?s=&id=5415 for the beta |
16:59.19 | tingle | devtools? can use devtools to figure that out? |
16:59.20 | BigFreak | do people use OO in wow addons? |
16:59.26 | Cide | yes |
16:59.28 | Xuerian | Yes and yes |
16:59.38 | Cide | metatables are nice for that |
16:59.57 | BigFreak | i am not farmiliar with metatables |
17:00.12 | Xuerian | They're fun :3 |
17:00.16 | BigFreak | good schtuff |
17:00.52 | Cide | local class = { }; function class:Method(arg1, arg2) -- variable "self" references the object -- end .... local instance = { }; setmetatable(instance, { __index = class }) |
17:01.14 | Cide | instance:Method() will now call class:Method, but with instance set as the "self" variable |
17:01.39 | tingle | devtools is a addon? |
17:01.43 | BigFreak | so that'd be like using this in C++/java? |
17:01.51 | Cide | BigFreak: yes |
17:01.54 | Xuerian | tingle: Yes |
17:01.55 | BigFreak | coolies |
17:02.21 | BigFreak | so the setmetatable tells it it's an instance of the class? |
17:03.15 | Xuerian | Tables can have metatables set to them. They generally modify behaviors of the table - Accessing, setting, etc. That's just one thing you can do. |
17:05.49 | BigFreak | right |
17:05.51 | BigFreak | thanks :> |
17:07.06 | tingle | what command are there in devtools? /dtchatevent i found that but when i have that on and accept a quest an error message shows up saying: atempted to call field 'mod' (a nil value) |
17:08.27 | tingle | any ideasß |
17:08.30 | tingle | ? |
17:09.07 | Xuerian | ./dteventtrace |
17:10.25 | tingle | command doesnt exist |
17:11.08 | Xuerian | I'm just reading the description here: http://www.wowinterface.com/downloads/fileinfo.php?id=3999 - Might be easier to read it yourself. |
17:12.20 | *** join/#wowi-lounge JoshBorke (n=Joshua@adsl-219-67-209.asm.bellsouth.net) |
17:13.00 | JoshBorke | morning |
17:16.43 | BigFreak | the Lua documentation is sexist :( |
17:17.05 | BigFreak | Most OO languages have this mechanism partly hidden from the programmer, so that she does not have to declare this parameter (although she still can use the name self or this inside a method). |
17:17.11 | BigFreak | he/she surely? :( |
17:18.03 | JoshBorke | anyone know what happens if i try to log into outlands without having upgrading my installation? |
17:18.19 | BigFreak | no idea |
17:18.36 | Cide | you can't log in |
17:18.44 | JoshBorke | i see that =) |
17:18.57 | Cide | "This account is valid for an expansion bla bla" [Cancel] [Quit Game] |
17:19.01 | JoshBorke | yea |
17:19.11 | JoshBorke | it says you can download it at their website :P |
17:19.22 | JoshBorke | they lie |
17:21.19 | tingle | ha i figuresd it out ~~ i use "CHAT_MESSAGE_SYSTEM" arg1 = the quest mesage that i eccepted it or removed it ^^ |
17:21.26 | tingle | that should do the trick :D |
17:26.15 | tingle | is this valid? if(event=="CHAT_MESSAGE_SYSTEM" and arg1=="Quest accepted: Kobold Camp Cleanup") then |
17:26.15 | tingle | DEFAULT_CHAT_FRAME:AddMessage("luck0r"); |
17:27.52 | |FF|Im2good4u | syntax is |
17:28.25 | tingle | ok it works but the message comes before the quest accepted message is in the chat... isthere a way to say wait 0.5 sec or something so it comes after? |
17:28.38 | |FF|Im2good4u | nope :P |
17:28.46 | tingle | lol... that sucks |
17:28.56 | |FF|Im2good4u | but .. u can hok addmessage |
17:29.06 | tingle | ??? |
17:29.09 | tingle | how |
17:29.14 | tingle | what line must i put in there |
17:29.36 | |FF|Im2good4u | and preform your stuff after the addmesagefunction has been used by the blizzard code |
17:29.48 | |FF|Im2good4u | well hooking is a bit more then 1 line |
17:30.19 | tingle | well then nevermind, ill just leave it the way it is :-P |
17:30.27 | |FF|Im2good4u | oke |
17:33.28 | *** join/#wowi-lounge Kaelten (n=kaelten@c-68-63-37-246.hsd1.al.comcast.net) |
17:33.30 | *** mode/#wowi-lounge [+v Kaelten] by ChanServ |
17:42.35 | *** join/#wowi-lounge kaso (n=kaso@resnet01.nat.lancs.ac.uk) |
17:45.03 | *** join/#wowi-lounge Insa (n=ins@120.89-136-217.adsl-dyn.isp.belgacom.be) |
17:45.43 | tingle | got a question: |
17:46.13 | tingle | how can i make the text that comes out of DEFAULT_CHAT_FRAME:AddMessage be a color instead of white? |
17:47.17 | XolanZzz | bu using the |cffRRBBGGtext|r pattern |
17:47.44 | XolanZzz | where rrbbgg is the hex value of each color |
17:47.52 | tingle | say this is my text: Hello where do i put the number |
17:48.04 | XolanZzz | so for example if you want green text type |cff00ff00Hello|r |
17:48.18 | tingle | so a hex color is only out of 2 number? |
17:48.28 | |FF|Im2good4u | 8 numbers |
17:48.32 | |FF|Im2good4u | in segments on 2 |
17:48.36 | tingle | oh yes ok |
17:48.42 | XolanZzz | instead of 1-10, it's 1-f, with two segments yes |
17:48.53 | XolanZzz | 0-9 even :) |
17:48.59 | |FF|Im2good4u | first 2 should be alpha i think but better leave them FF |
17:49.10 | XolanZzz | yep |
17:57.05 | XolanZzz | erm, it's rrggbb actually... :-O |
17:57.09 | XolanZzz | *:-P |
18:00.35 | tingle | gota querstion, i have WoW in german how do i make tbc in german too because my BC is in english |
18:01.39 | |FF|Im2good4u | thne u bought the wrong one :P |
18:02.03 | tingle | well if my WOW is in german then i can make bc in german too right? |
18:02.26 | |FF|Im2good4u | on the acount managemend page there used tobe a link to download other versions like DE , FR |
18:08.52 | *** join/#wowi-lounge Taktaal (n=blubb@80-218-92-240.dclient.hispeed.ch) |
18:10.41 | *** join/#wowi-lounge PProvost (n=PProvost@pool-71-112-42-102.sttlwa.dsl-w.verizon.net) |
18:12.07 | Taktaal | if an error message gets cut off because its too long for the window, how do i read it? |
18:12.56 | MageRooster | Use ImprovedErrorFrame? |
18:13.36 | *** join/#wowi-lounge JoshBorke (n=Josh@r35h14.res.gatech.edu) |
18:16.18 | Taktaal | thanks |
18:20.45 | *** join/#wowi-lounge gngsk| (n=gngsk@c-68-55-43-190.hsd1.md.comcast.net) |
18:25.55 | *** join/#wowi-lounge Cairenn (n=Cairenn@MMOI/Administratrix/Cairenn) |
18:25.55 | *** mode/#wowi-lounge [+o Cairenn] by ChanServ |
18:26.13 | tingle | ios there some event to use "if character level = 1 then...." |
18:32.26 | |FF|Im2good4u | no event but u can use a function to get its level |
18:33.03 | *** join/#wowi-lounge Mike-N-Go (n=mjgoosse@64.193.93.197) |
18:39.13 | *** join/#wowi-lounge stavmar (n=chatzill@ppp-70-250-154-177.dsl.austtx.swbell.net) |
18:40.36 | Xolan | Finished version 0.41 of Xolpass iif anyone's interested :) It now has a ping pointer, and you can set a custom pointer with /xp (or /xolpass) xx,yy . |
18:41.50 | Cairenn | http://www.wowinterface.com/downloads/info6743-Xolpass.html |
18:42.46 | Xolan | :) |
18:43.01 | Xolan | grats on getting your nick on the credits btw |
18:53.16 | *** join/#wowi-lounge Nickenyfiken (n=najklord@83.145.59.23) |
18:53.20 | *** join/#wowi-lounge Kaso (n=Jonathan@resnet01.nat.lancs.ac.uk) |
18:54.26 | *** join/#wowi-lounge Kilabie (n=tonnyl@port2060.ds1-vbr.adsl.cybercity.dk) |
19:07.07 | *** join/#wowi-lounge Guillotine (n=Guilloti@ns.motek-services.com) |
19:14.04 | *** join/#wowi-lounge Kirkburn (n=Kirkburn@82-32-40-219.cable.ubr06.azte.blueyonder.co.uk) |
19:15.11 | phyber | anyone know if it's possible to enchant a socketed item, like, they've actually done it |
19:15.24 | phyber | because I'm getting an error while attempting to enchant a guildies socketed item |
19:17.17 | Xolan | never tried no |
19:17.22 | Xolan | but think it should be possible... |
19:18.12 | MageRooster | I'm pretty sure enchants and sockets are in the same "slot", so to speak. |
19:18.15 | MageRooster | I remember reading that. |
19:19.04 | *** join/#wowi-lounge kaso (n=kaso@resnet01.nat.lancs.ac.uk) |
19:19.14 | Xolan | so you can have either, but not both? |
19:19.57 | *** join/#wowi-lounge Hobinheim (n=Hobinhei@c-69-142-120-32.hsd1.nj.comcast.net) |
19:20.11 | *** part/#wowi-lounge Hobinheim (n=Hobinhei@c-69-142-120-32.hsd1.nj.comcast.net) |
19:20.39 | kergoth | anyone here on a german wow client, and with a rogue or druid (with cat form)? would like to debug a problem in my energy ticker that someone reported, but i'm on enUS, so cant test |
19:21.48 | tingle | could someone tell me if theres some event or api that does this: if character is level 1 then.... |
19:22.57 | kergoth | tingle, http://www.wowwiki.com/API_UnitLevel |
19:23.00 | kergoth | wowwiki is your friend |
19:23.07 | kergoth | if UnitLevel('player') == 1 then.. |
19:23.41 | Taktaal | what website other than allakhazam lists item ids? |
19:25.00 | tingle | "player" do i have to typ in the player name or just leave it as player |
19:25.05 | kergoth | leave it as player |
19:25.06 | Taktaal | every second wow related website seems to be (almost) down |
19:25.31 | foxlit | weirdness |
19:25.41 | Cairenn | check thottbott, alla's (it's about to be up again), wowwiki |
19:26.15 | Cairenn | alla's server was being fussy, they're restarting it (or something like that) |
19:29.50 | Taktaal | thottbot doesn't list proper item ids |
19:29.57 | Taktaal | they use their own numbering system |
19:31.28 | tingle | this isnt right: if (event == UnitLevel('player') == 1) then whats correct |
19:31.35 | *** join/#wowi-lounge Antiarc (n=Chris@wsip-70-184-82-98.ph.ph.cox.net) |
19:32.54 | kaso | tingle you're looking for something like if event=="NAME_OF_EVENT" then if UnitLevel("player")==1 then DoStuff() end end |
19:33.09 | kaso | of f event=="NAME_OF_EVENT" and UnitLevel("player")==1 then DoStuff() end |
19:33.20 | kaso | (that should be "or if |
19:34.36 | Taktaal | if (event == "PLAYER_ENTERING_WORLD" and UnitLevel('player') == 1) |
19:34.46 | Taktaal | for instance |
19:34.58 | tingle | ah ok |
20:01.52 | *** join/#wowi-lounge Wing87 (i=Wing@c83-254-245-52.bredband.comhem.se) |
20:10.31 | *** join/#wowi-lounge Dhraga (n=chatzill@213-64-237-101-o871.telia.com) |
20:19.44 | *** join/#wowi-lounge Kilabie (n=tonnyl@port2060.ds1-vbr.adsl.cybercity.dk) |
20:24.12 | kahdgarxi | A-KREESH |
20:30.23 | *** join/#wowi-lounge Parak (i=PROFI@user-10874ap.cable.mindspring.com) |
20:34.15 | *** join/#wowi-lounge Zxcvb (n=somebody@12-214-84-247.client.mchsi.com) |
20:35.38 | *** join/#wowi-lounge ag` (n=ag`@0x535bbf63.bynxx18.adsl-dhcp.tele.dk) |
20:47.07 | *** join/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |
20:56.08 | Xolan | innkeeper called Floyd Pinkus :P |
20:56.33 | Cairenn | ROFL |
20:57.13 | Xolan | I love references like that :) |
21:02.30 | tingle | whats wrong about this if (event == "PLAYER_ENTERING_WORLD" and UnitLevel('player') == 1) then it doesnt work ingame when i enter the game with a levle 1 char |
21:03.52 | tingle | any idea? |
21:04.16 | Xolan | looks fine |
21:04.29 | tingle | ok heres the code: |
21:04.29 | kaso | have you registered the PLAYER_ENTERING_WORLD event? |
21:04.33 | Malivil | tingle no |
21:04.34 | Malivil | stop |
21:04.39 | tingle | ? |
21:04.45 | Malivil | put it in wowi.pastey.net |
21:04.52 | tingle | thats what im doing |
21:04.56 | Malivil | ok, just making sure |
21:05.01 | Malivil | too many people have just pasted it |
21:05.02 | Malivil | sorry |
21:05.43 | tingle | http://wowi.pastey.net/5340 |
21:05.49 | Xolan | and yeah you have register the event |
21:06.04 | tingle | then whats the problem |
21:06.52 | Xolan | onload this:RegisterEvent("PLATER_ENTERING_WORLD"); |
21:07.16 | tingle | ? |
21:07.31 | Xolan | for registering the event |
21:07.42 | Xolan | and you're running aa_Show() onload but comparing an event |
21:07.54 | Malivil | MyMod_ShowMessage(); is onLoad |
21:08.00 | Malivil | and hte register is in that function |
21:08.09 | Xolan | ah right didn't notice :p |
21:08.25 | Xolan | aa_ShowMessage() should be in OnEvent though |
21:08.31 | Malivil | yup |
21:09.15 | tingle | ah i missplaced it |
21:09.19 | tingle | ok gotit thx ^^ |
21:12.11 | tingle | ok another question ^^ |
21:13.04 | tingle | youve seen my code, im makeing a leveling guid based on the quests that you accept or complete it tells you what to do next |
21:13.07 | tingle | now |
21:13.54 | tingle | if someone logs out and reloads i want the last message that my guid posted to show up like: Current Message: or Last Message: |
21:14.07 | tingle | how do i do that |
21:14.26 | Malivil | Store the last message as a variable and display that variable onLoad |
21:14.48 | tingle | that gets stored even if the computer restarts? |
21:14.58 | Malivil | or on PLAYER_ENTERING_WORLD |
21:15.03 | Malivil | If you make it a savedvariable |
21:15.21 | tingle | ok can you tell me what i need to add where to make that happen, |
21:15.45 | tingle | you know the last message of the last quest to show up when he restarts his computer |
21:16.17 | Malivil | in the toc, add ## SavedVariables: VariableName |
21:16.58 | tingle | k |
21:17.01 | tingle | did it |
21:17.39 | Malivil | then when you display a message, set VariableName = to that message |
21:17.54 | tingle | ??? |
21:18.14 | Malivil | What? |
21:18.19 | tingle | i dont get it |
21:18.28 | Malivil | When you display a message |
21:18.31 | tingle | yes |
21:18.48 | tingle | the last message displayed |
21:18.49 | Malivil | say its called myMessage |
21:18.54 | tingle | ok |
21:18.58 | Malivil | after oyu display it |
21:19.09 | Malivil | VariableName = myMessage |
21:19.25 | Malivil | it basically makes a copy of myMessage and then saves it' |
21:19.33 | tingle | even if restart? |
21:19.41 | Malivil | thats what SavedVariable does |
21:19.46 | tingle | ok |
21:19.47 | tingle | cool |
21:19.49 | *** join/#wowi-lounge cladhaire (n=jnwhiteh@WoWUIDev/WoWI/FA/cladhaire) |
21:19.49 | *** mode/#wowi-lounge [+o cladhaire] by ChanServ |
21:19.51 | Xolan | if the UI shuts down abnormally there's nothing you can do about it |
21:19.57 | Malivil | right |
21:20.06 | Malivil | But if they relog, or reloadui or log off |
21:20.10 | Xolan | yep |
21:20.10 | Malivil | it stores fine |
21:20.19 | *** join/#wowi-lounge cladhaire (n=jnwhiteh@WoWUIDev/WoWI/FA/cladhaire) |
21:20.19 | *** mode/#wowi-lounge [+o cladhaire] by ChanServ |
21:20.22 | tingle | ok |
21:20.27 | Xolan | should be a way to force a save |
21:20.44 | tingle | well i was thinking.. |
21:20.55 | tingle | after every message it saved that message |
21:21.02 | |FF|Im2good4u | no that would cost way to much cpu is wow has to imeatly write save variables to disk |
21:21.07 | tingle | and every new message replaces the old one saved |
21:21.21 | Malivil | Yea, what |FF|Im2good4u said is true |
21:21.37 | Malivil | Forcing a save after every change will cost a lot of CPU usage |
21:22.20 | zenzelezz | from what I've seen, if you tell WoW to log chat/combat log, it also caches it and writes it only every 48kb or so (or when you leave WoW) |
21:22.38 | tingle | but wouldnt that suck if the computer crashes while someone just did something and the new message is lost, then he wouldnt know where to go or what to do next |
21:23.01 | Malivil | you could write a function that displays teh correct message and do that onLoad |
21:23.05 | |FF|Im2good4u | there nothing u cn do about that tingle |
21:23.30 | |FF|Im2good4u | oO oke u help him :P |
21:23.42 | Malivil | How are you going to display the messages tingle? |
21:23.49 | tingle | with |
21:24.04 | tingle | DEFAULT_CHAT_FRAME:AddMessage |
21:24.04 | *** join/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |
21:24.20 | Malivil | I mean |
21:24.33 | Malivil | Is there a function that calls that with a certain message based on thier level or something? |
21:25.11 | Malivil | Is what you pastey'd all of your code? |
21:25.22 | tingle | can i post the code of a function its only 2 lines :P |
21:25.49 | tingle | if(event=="CHAT_MSG_SYSTEM" and arg1=="") then |
21:25.49 | tingle | DEFAULT_CHAT_FRAME:AddMessage("|cff00fff0|r"); |
21:26.02 | Malivil | o.O |
21:26.09 | Xolan | if nothing then add nothing? |
21:26.19 | tingle | in the arg1=="" comes the quest message like quest accepted: kobold cleanup |
21:26.44 | Xolan | ah |
21:26.52 | |FF|Im2good4u | lol |
21:26.53 | tingle | and in the addmessage the objective of what to do or what to do next |
21:26.54 | Malivil | So... |
21:26.57 | Malivil | Thats... |
21:26.59 | tingle | its a leveling guid |
21:26.59 | Malivil | uhhh..... |
21:27.07 | Xolan | if you're gonna hard code everything that's gonna be one bigass mod :) |
21:27.12 | Malivil | Yea |
21:27.15 | Malivil | s'what i was thinking |
21:27.31 | tingle | i know what im new -.- its the easiest way for me |
21:27.35 | Malivil | wow, i dunno how you are gonna do that |
21:27.38 | |FF|Im2good4u | "|cff00fff0|r" <- this is no text at all :P |
21:27.45 | Malivil | |FF|Im2good4u: He knows |
21:27.49 | Malivil | Its a prototype |
21:27.50 | tingle | i know in there comes the text of the objective |
21:28.02 | |FF|Im2good4u | Malivil: so do i :P |
21:28.08 | tingle | so... |
21:28.12 | Malivil | Tingle, are you going to write one of those for every quest? |
21:28.38 | tingle | not every quest just enough quests to get to 60... |
21:28.41 | tingle | well 70... |
21:28.51 | tingle | including each starting loc |
21:28.53 | Malivil | .... |
21:28.57 | Malivil | Thats like... |
21:28.58 | tingle | but alliance only |
21:29.07 | Malivil | wow |
21:29.46 | tingle | ive just been messing around with codeing for 2 days and been learning because what i know i want everyone to know - that is that leveling isnt hard and i want to make a leveling addon |
21:29.50 | Guillotine | thats still TONS of quests |
21:30.20 | Malivil | That's very inefficient |
21:30.21 | Guillotine | I suppose with code reuse you could make it not as big. Maybe have each 10 levels grouped together in a seperate load on demand addon |
21:30.32 | tingle | if i remember right, its 544 quests to 60 and another 126 to 70 |
21:30.35 | Malivil | But still |
21:31.03 | Guillotine | that wouldn't be too bad with code reuse |
21:31.04 | Malivil | So thats 670 functions |
21:31.10 | |FF|Im2good4u | wow i though there where much more quest :P |
21:31.15 | Guillotine | you could do it with 1 function and a table for each 10 levels. |
21:31.17 | Malivil | thats nuts |
21:31.20 | Guillotine | and only load the table on demand |
21:31.24 | Malivil | true |
21:31.27 | Malivil | but still, thats nuts |
21:31.29 | tingle | no not 670 functions |
21:31.32 | Malivil | ANYWAY |
21:31.33 | Guillotine | ya, it'll be a big file |
21:31.35 | Malivil | My point is |
21:31.40 | Guillotine | but won't take up all that much memory if you do it correctly |
21:31.45 | Malivil | If you use 1 function that gets it data from a table |
21:31.51 | Malivil | that is LoD like Guillotine suggest |
21:32.01 | Malivil | Then you would just make that function onLoad as well |
21:32.14 | Malivil | and it would print out the appropriate mesage when you log in |
21:32.47 | Guillotine | a problem though would be if they don't start using the guide at level 1. What happens if the next quest in line was completed? |
21:33.06 | Malivil | true |
21:33.10 | Guillotine | suppose you could add a 'skip this quest' command |
21:33.33 | Guillotine | its actually an interesting idea. I'd be willing to help with it if you'd like |
21:33.36 | Malivil | mm, good idea |
21:33.42 | Malivil | me too |
21:33.45 | MageRooster | As well, I do quests in groups... |
21:33.49 | MageRooster | Generally by area. |
21:33.55 | Malivil | yup |
21:33.59 | Malivil | itll be complicated |
21:34.02 | Malivil | not a small job |
21:34.09 | tingle | well ive played the game over 5 years and know about everything |
21:34.10 | MageRooster | It WOULD be nice to have a quest gadget that tells me the efficient path towards L60. |
21:34.22 | Guillotine | tingle: game has only been in beta for < 4 |
21:34.23 | MageRooster | ...you've played WoW for longer than it's been out? |
21:34.24 | |FF|Im2good4u | LoL its still verry complex addon u might aswel ask blizzard for direct stream to thottbot :P |
21:34.39 | Guillotine | I really don't think it'll be that bad if its only 544 quests |
21:34.50 | tingle | thottobt is not with blizzard thottbot is a addon that feed info to there website |
21:35.01 | Guillotine | tingle: we kno |
21:35.03 | Guillotine | know* |
21:35.05 | tingle | yes that many quests BUT |
21:35.05 | Malivil | tingle, this came is only 2 years old... |
21:35.21 | Malivil | *game |
21:35.24 | |FF|Im2good4u | i didnt mean the addon i mean the website search engine :P |
21:35.24 | Xolan | 3 or so if you count the beta |
21:35.24 | tingle | a fucntion per quest acept and quest complete |
21:35.34 | Guillotine | tingle: you don't even need that |
21:35.37 | tingle | no it isnt |
21:35.51 | Guillotine | at least not if you have a specific order |
21:35.57 | tingle | the game is older i played it since the usa and korean alpha testingings of WoW |
21:36.10 | Guillotine | that was still less than 4 years, but ya |
21:36.12 | Malivil | It release November 2004 |
21:36.16 | Malivil | Alpha test? |
21:36.19 | Malivil | How'd oyu get into that? |
21:36.24 | Malivil | nevermind, not important |
21:36.25 | Guillotine | friend of someone at blizzard |
21:36.30 | Guillotine | or family |
21:36.30 | tingle | ok then 2 years back of testing times the alpha and beta testing closed and open |
21:36.40 | Malivil | ANYWAY |
21:37.05 | Guillotine | tingle: if you have a list of the quests (just need like 10 in a row), I can write up a quick example addon for how to do this efficiently |
21:37.41 | Guillotine | would need all the information you're going to give though: start loc, end loc, quest locs, ect. |
21:38.04 | tingle | öhm but i send a message when a quest gets accepted and completed |
21:38.40 | Guillotine | send a message? as in to the chat frame? |
21:38.44 | Guillotine | that'll be easy to include |
21:38.46 | tingle | yes |
21:39.08 | Guillotine | can have dynamically created messages as well as custom messages if you think certain quests need them |
21:39.42 | tingle | wait let me put a example: |
21:40.13 | *** mode/#wowi-lounge [+v Guillotine] by ChanServ |
21:40.14 | Xolan | localising it will be a bitch... |
21:40.23 | Guillotine | heh. don't think hes going to end up localizing it most likely |
21:40.24 | tingle | wait let me give a example: |
21:41.11 | *** join/#wowi-lounge Nargiddley (n=narg@203-97-236-74.cable.telstraclear.net) |
21:41.25 | tingle | you log on as a level 1 char all fresh and new, then comes the message, "Now lets dont wast any time - every minute counts, go get the first quest from blabla" |
21:41.27 | tingle | then |
21:41.56 | Malivil | That's easy enough |
21:41.57 | Xolan | you'd have to check startzone and stuff too though but nvm |
21:42.04 | Malivil | check location |
21:42.18 | tingle | once you get the quest shows up: "Now run down to the south and kill wolfes untill you got 10 wolfs meat and run back up and hand in the quest" |
21:42.47 | tingle | and so on |
21:42.48 | Malivil | So basically you are going to tell the user exactly what they need to do |
21:42.53 | tingle | yes |
21:42.53 | Malivil | every step of the way |
21:43.00 | Malivil | Alright |
21:43.01 | tingle | everystep to 1-70 |
21:43.13 | Xolan | you must have a lot of free time :) |
21:43.17 | Xolan | nice project though |
21:43.21 | Malivil | Good idea |
21:43.23 | Malivil | Lot of work |
21:43.29 | Xolan | but seems like it might be a bit too much for 1 person |
21:43.29 | Xolan | yeah |
21:43.41 | tingle | best and optimal xp/h rate doing quests in the correct order and colecting the correct ones or not collecting the wrong ones |
21:43.51 | Guillotine | wouldn't it be easier to assume the player has basic knowledge of WoW and just say: "Quest 1: Go to 56,54 to complete quest "Wolf Meat"" |
21:44.07 | Guillotine | "Quest "Wolf Meat" completed. Return to 45,32" |
21:44.11 | tingle | nah i dont like that |
21:44.21 | Xolan | with my mod you could even slap those coordinates on my compass :) |
21:44.28 | Guillotine | yup |
21:44.34 | Malivil | addon itegration |
21:44.39 | Malivil | (integration |
21:44.43 | tingle | now a other idea what i had |
21:44.54 | Guillotine | oh, if you're going to do custom messages for everything, its going to be a hella a big addon |
21:45.04 | Malivil | indeed |
21:45.15 | Malivil | Guillotine's way it would be |
21:45.58 | Malivil | "Quest "..questName.." completed. Return to "..xLoc..","..yLoc |
21:46.20 | tingle | that wouldnt be good |
21:46.25 | Malivil | Why not? |
21:46.33 | Guillotine | could also integrate mine with Cartographer/Xcompass to give exact directions |
21:47.01 | foxlit | Why does /castsequence Mangle (Cat)(), Ferocious Bite never get to Bite? |
21:47.01 | tingle | becuase at some points id say something like, kill everything on the way and collect the buzzard meats and gore livers while running to sentinel hill (we need it for a further quest" |
21:47.36 | tingle | i dont like the idea of dots on the map |
21:47.51 | tingle | to systematic |
21:48.04 | Malivil | tingle, that's fine. Custom messages are fine. They will just take a lot longer to do |
21:48.10 | tingle | i know |
21:48.12 | tingle | i have time |
21:48.18 | Malivil | Alright |
21:48.46 | Guillotine | you could also integrate custom messages with mine |
21:48.51 | tingle | ill even put your guyses name under the credit line if you help me code the things i need |
21:48.58 | Malivil | Yea sure |
21:49.14 | Malivil | We can have two lines printed, Guillotine's message and then the custom one |
21:49.23 | Malivil | And and option to enable/disable either one |
21:49.44 | tingle | what was guillotines message |
21:49.46 | Guillotine | or just print the dynamic one, or, if there is a custom one, the custom one |
21:49.55 | Malivil | That's a good idea |
21:50.05 | Guillotine | I doubt every quest is going to need a custom |
21:50.26 | tingle | is it possible to do this: |
21:51.20 | tingle | some custom messaged say: go kill the wolves for meat and another message for a differnt quest says: go find blabla, look at your map i added a map note |
21:51.42 | tingle | and then a note apears on the map |
21:51.49 | tingle | bigmap |
21:51.56 | Guillotine | you'll need to integrate that part with another addon (like Cartographer) but yes, that would be easy |
21:52.10 | Guillotine | especially if you chose Cartographer. its extremely developer friendly |
21:52.36 | tingle | ok, all comes to its time, im gonna start at level 1 now |
21:53.26 | tingle | is there something like this UnitLevel('player') that also checks the zone |
21:53.37 | tingle | look: |
21:53.57 | tingle | if (event == "PLAYER_ENTERING_WORLD" and UnitLevel('player') == 1 and ) then add a zone check |
21:54.28 | Xolan | GetRealZoneText(); |
21:54.37 | Malivil | GetRealZoneText(). |
21:54.40 | Malivil | beat me to it |
21:54.56 | tingle | put that after the and? |
21:55.05 | Malivil | o.O |
21:55.13 | Malivil | huh? |
21:55.42 | Xolan | 10 01if (event == "PLAYER_ENTERING_WORLD" and UnitLevel('player') == 1 and GetRealZoneText() == "whatever_zone_you're_looking_for" ) then |
21:55.44 | ckknight | tingle: note: you may want to use Babble-Zone to get a locale-neutral name of the zone |
21:56.04 | ckknight | so BZ:GetReverseTranslations(GetRealZoneText) == "Whatever one" |
21:56.06 | Guillotine | ckknight: he doesn't lan on localizing it |
21:56.11 | ckknight | err, :GetReverseTranslation |
21:56.13 | ckknight | oh |
21:56.17 | ckknight | fair enough |
21:56.23 | tingle | the zone check thing would only be at level 1 so it apears only 4 times by each starting loc |
21:56.46 | foxlit | Could you go through worldmap IDs? |
21:56.48 | Guillotine | hes trying to make an addon that gives tips for every quest to level from 1-60, so it would be a HUGE pain to localize |
21:57.06 | ckknight | I'd say still put the ability to. |
21:58.02 | tingle | is dun morgue a zon or coldridge valey |
21:58.11 | ckknight | Dun Morogh |
21:58.13 | ckknight | zone |
21:58.14 | tingle | k |
21:58.18 | |FF|Im2good4u | id say his addon is so huge he soon gona loose the spirit for it so lets keep it as simpel as posable at start :P' |
21:58.20 | ckknight | Coldridge Valley is a subzone |
21:58.24 | *** join/#wowi-lounge Wobin (i=Wobin@218-214-59-86.people.net.au) |
21:58.47 | *** join/#wowi-lounge nymbia (n=nymbia@67-40-140-44.hlrn.qwest.net) |
21:58.54 | tingle | so this should work: |
21:58.54 | tingle | if (event == "PLAYER_ENTERING_WORLD" and UnitLevel('player') == 1 and GetRealZoneText() == "Dun Morogh" ) |
21:59.10 | Malivil | Yup |
21:59.52 | *** part/#wowi-lounge Xolan (n=Xolan@217-104-65.521110.adsl.tele2.no) |
22:00.33 | Guillotine | you'll also need "then" but I assume that was just an example |
22:01.16 | ckknight | also, the parentheses are unnecessary. |
22:01.32 | ckknight | if event == "PLAYER_ENTERING_WORLD" and UnitLevel('player') == 1 and GetRealZoneText() == "Dun Morogh" then ... end |
22:01.44 | foxlit | Reads like decent language if they're there. |
22:02.44 | foxlit | Sigh, some of the mobs in Blade's Edge have obnoxious follow ranges. |
22:03.05 | Malivil | I usually put the () for clarity |
22:03.13 | ckknight | they're completely unnecessary and a remnant of old C where it didn't have nearly as good parsing as nowadays. |
22:03.22 | Malivil | Still |
22:03.26 | Malivil | Its good for readability |
22:03.30 | ckknight | no, it's not |
22:03.34 | Malivil | .... |
22:03.38 | ckknight | the if and then close it up, parentheses do nothing |
22:03.39 | Malivil | Maybe not for you |
22:03.51 | foxlit | "if" and "then" are letters |
22:03.54 | Malivil | Its a choice, you dont have to if you dont want to |
22:04.00 | foxlit | ^ composed of |
22:04.22 | |FF|Im2good4u | lol i use them when i got multiple evaluation if 1 if statement but then ill put one around all like if (a == 1) and (b == d) then |
22:04.30 | foxlit | And at the end of the day, ) then is more noticible than then |
22:05.05 | tingle | why doestn (event == "PLAYER_ENTERING_WORLD" and UnitLevel('player') == 1 and GetRealZoneText() |
22:05.05 | tingle | == "Dun Morogh" ) |
22:05.12 | tingle | work |
22:05.24 | ckknight | it should |
22:05.45 | tingle | do i need to add any thing anywhere els i dont see any other events |
22:05.50 | Malivil | does player need " or will ' work fine? |
22:06.10 | Malivil | tingle, pastey the new code |
22:06.14 | tingle | k |
22:06.21 | |FF|Im2good4u | lol u should know " and 'are the same arent they ? |
22:06.33 | Malivil | Not always |
22:06.40 | tingle | http://wowi.pastey.net/5341 |
22:06.46 | |FF|Im2good4u | they moddyed it oO |
22:06.51 | Malivil | In C++, the difference between " and ' ios the different between a string and a character |
22:07.02 | Malivil | I was just wondering for Lua |
22:07.08 | tingle | k |
22:07.13 | foxlit | They're virtually identical in lua; you just need to escape one or the other char when you use them. |
22:07.25 | tingle | http://wowi.pastey.net/5342 |
22:07.50 | Malivil | btw tingle |
22:07.54 | tingle | ? |
22:07.55 | Malivil | Guide has an e at the end |
22:08.02 | tingle | o |
22:08.07 | ckknight | 'adsf' == "asdf" |
22:08.28 | Malivil | Thats a comparison, could either be true or false |
22:08.31 | Guillotine | tingle: are you calling that via OnEvent? Are you registering for the event? |
22:08.47 | ckknight | Malivil: don't be a douche, seriously, I told you the answer, you should assume true. |
22:08.50 | bleetah | what was it Linus said about spell-checking code... 'you can always tell when we're about to go for a stable release when people start spell checking the kernel' |
22:08.52 | *** join/#wowi-lounge Gnarfoz (i=smallbra@unaffiliated/gnarfoz) |
22:09.10 | tingle | i posted the way it is |
22:09.12 | Malivil | I know its true, i was just saying that someone that DIDNT know could still be confused |
22:09.13 | Malivil | Sorry |
22:09.26 | ckknight | that's a straw-man argument |
22:09.40 | bleetah | ckknight: please refrain from the direct personal abuse |
22:09.41 | Malivil | Not a saying im familiar with |
22:09.45 | bleetah | it does you no favours |
22:10.05 | ckknight | bleetah: maybe he'll learn next time and not do that again. |
22:10.15 | Malivil | I'm sorry for trying to clarify |
22:10.17 | Malivil | My bad |
22:10.19 | Malivil | Won't happen again |
22:10.22 | |FF|Im2good4u | well maybe it doesnt work becase GetRealZoneText() isnt available at the time u call it |
22:10.23 | tingle | well its a event isnt it? he enters the world |
22:10.31 | tingle | i reloged |
22:10.39 | ckknight | tingle: is it being done in OnEvent? |
22:10.49 | tingle | yes |
22:10.50 | Sstixrud | anyone here used wow tab's before? |
22:11.03 | bleetah | ckknight: that's the silliest logic I've heard in a while. it's like beating someone senseless to teach them how 1+1=2. |
22:11.25 | ckknight | they'd learn, wouldn't they? |
22:11.30 | Sstixrud | I have the tabs showing up, they are clickable... but they do not do anything and my subframes are not showing up.. but at least I get no errors :| |
22:11.37 | Malivil | ... |
22:12.36 | tingle | ??? well |
22:12.58 | Malivil | |FF|Im2good4u, when is GetRealZoneText() available? |
22:13.19 | foxlit | Did you register the event? |
22:13.25 | Malivil | Yea, he did |
22:15.12 | tingle | this:RegisterEvent("PLAYER_ENTERING_WORLD") is registered |
22:15.24 | tingle | i worked without the zone check but now it doesnt |
22:15.36 | Malivil | <PROTECTED> |
22:15.38 | |FF|Im2good4u | hmm i have readed about it somewhere on the wiki that some functions do not work yes during loading but i cant find it anymore |
22:15.48 | Malivil | ahhh |
22:16.00 | tingle | i loged out and back in still didnt do it... |
22:16.01 | bleetah | that's stupid. most of the places that used violence as an educational tool, also ran gulags, gas chambers etc. |
22:16.41 | bleetah | Cairenn: apologies |
22:16.49 | Malivil | me aswell |
22:17.21 | |FF|Im2good4u | tingle maybe try to DEFAULT_CHAT_FRAME:AddMessage(GetRealZoneText()) |
22:17.45 | Malivil | Yea, thats good fro debugging |
22:17.49 | tingle | why do i want a message saying the zone |
22:17.51 | tingle | oh |
22:17.54 | Sstixrud | If anyone has a second to take a look, I created a simple test mod that attempts to create a simple frame with two tabs and a close button, then display subframes for each tab.. XML: http://wowi.pastey.net/5343 LUA: http://wowi.pastey.net/5344 - subframes are not showing up and tabs do not show/hide subframes |
22:18.14 | |FF|Im2good4u | i got to go bye bye |
22:19.00 | |FF|Im2good4u | tingle u dont want that message but printing variables is a nice way of debugging u can remove it later when your code works |
22:19.08 | tingle | wait a moment ^^ |
22:19.15 | tingle | the test char is level 2 ~~ |
22:20.05 | Malivil | ... |
22:20.07 | Malivil | thatll do it |
22:20.51 | foxlit | "Click to waive Tally's liability" Gnomes! :) |
22:28.38 | Malivil | tingle, how's it going? |
22:29.35 | Sstixrud | xml drives me batty |
22:31.33 | Malivil | Calculus drives me batty |
22:33.15 | bleetah | I'm just batty |
22:33.30 | Sstixrud | I wouldn't mind a wow xml book with examples and theory |
22:33.31 | tingle | what is the word for more than one wolf |
22:33.40 | batty | blast it, already registered |
22:33.48 | Malivil | wolves |
22:33.55 | tingle | ok |
22:35.53 | Sstixrud | what happens exactly when a xml frame is called via :Show() |
22:36.33 | Sstixrud | is everything already active or does :Show() actully process the Frame? |
22:38.51 | tingle | is there some wait command to make a action wait for lets sac 1 sec after a "then" |
22:38.57 | foxlit | nope |
22:39.02 | tingle | -.- |
22:39.11 | Malivil | Why would you need that? |
22:39.13 | foxlit | As for :Show(), well it runs whatever OnShow does. |
22:39.27 | foxlit | And displays the frame, of course (the frame still exists prior to :Show()) |
22:42.15 | Sstixrud | So everything in a xml file that is loaded as part of my mod startup is already built? and Show just makes it visable? |
22:42.42 | foxlit | Yep |
22:42.58 | Sstixrud | why is it :Show() can cause errors? due to OnEvent or OnShow in frame? |
22:43.10 | Malivil | mhmm |
22:43.19 | foxlit | OnShow in a frame |
22:43.22 | foxlit | Or the frame not existing |
22:44.28 | Sstixrud | is there an easy way to verify if a frame exists? I ran into an issue a couple times where I /script mysubframe:Show() and it said it was a nil value yet it appeared correct... although I may of had the crazy <Frame> / <Frames> logic messed up |
22:46.04 | Sstixrud | I can't seem to find a way to debug why my sub-frames fail to display in the parent frame, /script subframe:Show() reports no errors but they do not show up in the parent framefor some reason |
22:51.07 | foxlit | Anchoring? |
22:52.39 | *** join/#wowi-lounge Gnarfoz_ (i=smallbra@unaffiliated/gnarfoz) |
22:52.59 | *** join/#wowi-lounge MGiannett (n=MG@pool-141-150-213-116.delv.east.verizon.net) |
22:54.55 | Sstixrud | hmm they are center anchored, am I not correct in thinking subframes should show up overlaying their parent in the center if they are <Anchor point="CENTER"/> ? |
22:55.52 | foxlit | you are] |
22:56.37 | Sstixrud | http://wowi.pastey.net/5343 if you have a moment |
22:56.44 | tingle | question: im looking for a quest log check event, like if all quest items have been collected (quest complete) |
22:56.52 | tingle | what should i use? |
22:57.14 | foxlit | I'm not sure if there is one |
22:57.53 | tingle | there must be because the quest log changes to complete when that hapens.. |
22:59.32 | Sstixrud | QUEST_LOG_UPDATE? |
23:00.07 | tingle | not sure |
23:00.22 | tingle | wiki says things that doesnt make it sound like thats what im looking for |
23:00.25 | Malivil | http://www.wowwiki.com/Events/Q |
23:00.29 | Malivil | mm |
23:00.54 | Sstixrud | that one sounds like it is called everytime your quest book would reflect the change |
23:01.13 | Sstixrud | i.e. u killed a quest mob, picked up a quest item, found a quest location etc.. |
23:01.23 | tingle | yes |
23:03.43 | Sstixrud | ugh! I am about to just create a huge config window with a scroll bar ! :) |
23:03.50 | Malivil | lol |
23:04.13 | Malivil | Sstixrud: Sage Unit Frames has a config with tabs if you want to look at hte code for a reference |
23:04.46 | Sstixrud | thanks I will.. although sct and xperl does also but they are complex enough to cause me pain :) |
23:05.22 | Sstixrud | I get so confused when there are frames 6 levels deep and they are not even layed out in the XML file in order |
23:05.57 | Sstixrud | hell I dont even know if the in file order is important :0 |
23:06.20 | Malivil | it isn't, but it helps readability |
23:06.58 | foxlit | It could be? |
23:07.18 | foxlit | Can I inherit from templates I didn't declare yet? |
23:07.30 | Malivil | dunno how well that would work |
23:08.11 | Sstixrud | I wonder how much of my confusion is XML specific vs WOW xml schemea |
23:10.17 | Sstixrud | ugh Sage is huge :) |
23:10.35 | *** join/#wowi-lounge Antiar1 (n=Chris@wsip-70-184-82-98.ph.ph.cox.net) |
23:11.21 | sysrage | is there any way to send like a whole zone of mapnote notes to somebody without just giving them your LUA? |
23:13.14 | Sstixrud | hmmm sage |
23:13.18 | Sstixrud | seems to be pretty clean tho |
23:16.04 | kergoth | sysrage, what mapnote addon? |
23:19.36 | *** join/#wowi-lounge Legorol (i=legorol@zr205.trin.cam.ac.uk) |
23:20.02 | *** join/#wowi-lounge Cairenn (n=Cairenn@MMOI/Administratrix/Cairenn) |
23:20.08 | *** mode/#wowi-lounge [+o Cairenn] by ChanServ |
23:22.03 | *** join/#wowi-lounge Tem (n=tardmrr@ip68-227-128-41.br.br.cox.net) |
23:22.03 | *** mode/#wowi-lounge [+v Tem] by ChanServ |
23:23.38 | *** join/#wowi-lounge snurre (n=snurre@AVelizy-153-1-11-104.w83-199.abo.wanadoo.fr) |
23:25.36 | ckknight | tingle: btw, if you are basing your stuff off of Cartographer and need help/a new API function, you can come to me about it |
23:26.23 | *** join/#wowi-lounge Cairenn (n=Cairenn@MMOI/Administratrix/Cairenn) |
23:26.23 | *** mode/#wowi-lounge [+o Cairenn] by ChanServ |
23:29.01 | Taktaal | i have a problem with fubar, i need to set a function handler but don't know how to word it so dewdrop can understand what argument to pass |
23:29.04 | Taktaal | http://wow.pastey.net/5347 |
23:29.20 | Taktaal | set = "SetMarkDisplayed" |
23:29.21 | sysrage | kergoth: didn't know there were more than one. it's just called Mapnotes |
23:29.24 | Taktaal | doesnt pass an argument |
23:41.16 | Tem | Kirkburn|afk, poke? |
23:43.43 | Taktaal | alternatively, is there a way to send an event to yourself? |
23:58.56 | *** join/#wowi-lounge LoqtiteMYG (n=Matt@pool-151-204-215-196.pskn.east.verizon.net) |
23:59.24 | *** join/#wowi-lounge bleetah (n=Bleeter@guifications/developer/bleeter) |