00:03.02 | Aiiane | going out shopping for a little bit, back in a few |
00:09.09 | art3mis | wierd |
00:09.25 | art3mis | huduf stubs arent saving and neither is the location of my zchat windows |
00:25.36 | *** join/#waruidev encaitar (n=James@c-71-205-106-209.hsd1.mi.comcast.net) |
00:26.17 | art3mis | bahhuduf wb/sc stubs reset on zone |
00:26.21 | art3mis | how irritating |
00:44.58 | art3mis | so where does it list your inf for rvr lakes? |
00:45.13 | art3mis | wanna get me some inf gear for rvr ;) |
00:49.20 | *** join/#waruidev amirabiri2_ (n=chatzill@bzq-79-178-26-29.red.bezeqint.net) |
01:08.56 | amirabiri2 | @project wow/acetimer |
01:08.56 | Repo | amirabiri2: No project found that matches 'wow/acetimer' |
01:09.02 | amirabiri2 | where is it ? |
01:10.10 | amirabiri2 | there it is ! |
01:10.12 | amirabiri2 | http://www.wowace.com/projects/ace3/pages/api/ace-timer-3-0/ |
01:50.04 | *** part/#waruidev Odlaw (n=ozzy@c-98-245-75-224.hsd1.co.comcast.net) |
01:50.05 | *** join/#waruidev Odlaw (n=ozzy@c-98-245-75-224.hsd1.co.comcast.net) |
01:50.35 | *** part/#waruidev Odlaw (n=ozzy@c-98-245-75-224.hsd1.co.comcast.net) |
01:57.48 | *** join/#waruidev amirabiri2_ (n=chatzill@bzq-79-178-26-29.red.bezeqint.net) |
01:58.50 | *** join/#waruidev ChaosInc (n=chatzill@206.230.110.138) |
02:02.00 | ChaosInc | . |
02:03.17 | Aiiane | .. |
02:04.23 | ChaosInc | ... |
02:04.36 | ChaosInc | sry, started typing in wrong window |
02:04.43 | art3mis | ._.. |
02:05.01 | art3mis | you're in a braille channel? |
02:05.38 | ChaosInc | YES! |
02:06.17 | ChaosInc | no, just trying to make my headache go away. and I'd like to thank WAR's list API for that |
02:06.41 | art3mis | it's happy to have helped |
02:07.06 | ChaosInc | still haven't gotten the stupid thing working yet |
02:22.20 | encaitar | I guess Tactics Editor Wif Namez isn't being maintained any more? |
02:22.32 | *** join/#waruidev ChaosInc_ (n=ChaosInc@206.230.110.138) |
02:23.13 | ChaosInc_ | Not sure |
02:23.45 | ChaosInc_ | why, having probs with it? |
02:23.48 | encaitar | It breaks hooks into TacticsEditor |
02:24.22 | ChaosInc_ | don't use TE, so can't help ya there |
02:24.44 | *** part/#waruidev ChaosInc_ (n=ChaosInc@206.230.110.138) |
02:25.51 | *** join/#waruidev ChaosInc (n=ChaosInc@206.230.110.138) |
02:25.52 | encaitar | Well, the last time that addon was updated was the day the game launched |
02:26.08 | ChaosInc | I'd call that dead then |
02:26.38 | encaitar | You posted on it's page too! |
02:26.45 | encaitar | Or at least somebody with the same name did. |
02:26.53 | encaitar | About it not working with vertical tactics |
02:27.02 | ChaosInc | that was ages ago |
02:27.11 | encaitar | Yeah |
02:27.16 | encaitar | Still not working :) |
02:27.48 | ChaosInc | so take it up then :p |
02:28.07 | encaitar | I had a peek at it, he basically just rewrote the whole window. |
02:29.22 | ChaosInc | personally, have enough on my addon plate as it is. RFM's lists refuse to work, so I can't finish the other sections and I'm probably taking over xPanels since talv's going bye-bye |
02:30.11 | Aiiane | my usual mantra applies here |
02:30.17 | Aiiane | 'if you want help debugging, pastey the code' |
02:30.22 | ChaosInc | plus, have a Blackguard that I'm supposed to be leveling for my guild, which of course I haven't been doing since |
02:30.35 | encaitar | Well, I'm thinking of doing something in a similar vein to tactics editor wif namez, but different. |
02:30.42 | ChaosInc | I'm taking a break from it tonight lady |
02:30.49 | encaitar | From something somebody commented on QuickTacticSwitch |
02:31.29 | ChaosInc | I've already almost deleted the stupid thing out of frustration. Pretty good time to put it away for now :D |
02:31.39 | amirabiri2_ | Is there table.sort available in WAR ? |
02:31.44 | Aiiane | of course |
02:31.44 | ChaosInc | yes |
02:31.45 | encaitar | Yes |
02:31.48 | Aiiane | all of the table library is |
02:32.50 | amirabiri2_ | hmm I d( table ) and didn't see it |
02:32.55 | amirabiri2_ | but perhaps I was being thick |
02:33.10 | ChaosInc | are the dropdown combo boxes as complicated as trying to make a stupid list in WAR? |
02:33.23 | encaitar | They're pretty easy |
02:34.01 | encaitar | Whats the problem with your list? |
02:34.17 | ChaosInc | I was originally trying to do a semi-xfer of the DFM layout, but I may just settle with one of those for people to select frames from if it's less of a headache |
02:34.56 | ChaosInc | http://www.warhammeralliance.com/forums/showthread.php?t=218964&page=3 |
02:36.53 | Aiiane | what is RFM_ListButton |
02:38.00 | Aiiane | and what is Field |
02:38.50 | encaitar | If you look at the just approved 0.3 version of GroupAssistant there's a very basic example of a listbox in the GroupAssistantPending files. |
02:40.51 | ChaosInc | Field was removed, that was from tort's thing |
02:41.38 | ChaosInc | <PROTECTED> |
02:41.38 | ChaosInc | <PROTECTED> |
02:41.38 | ChaosInc | <PROTECTED> |
02:41.39 | ChaosInc | <PROTECTED> |
02:41.39 | ChaosInc | <PROTECTED> |
02:41.39 | ChaosInc | <PROTECTED> |
02:41.42 | ChaosInc | <PROTECTED> |
02:41.44 | ChaosInc | <PROTECTED> |
02:41.46 | ChaosInc | <PROTECTED> |
02:41.49 | ChaosInc | <PROTECTED> |
02:41.51 | ChaosInc | <PROTECTED> |
02:41.56 | ChaosInc | <PROTECTED> |
02:41.56 | ChaosInc | <PROTECTED> |
02:41.57 | ChaosInc | <PROTECTED> |
02:42.27 | ChaosInc | "Field" was replaced with the proper data |
02:42.31 | Aiiane | it's a button, so you'd have to do ButtonSetText, not LabelSetText |
02:43.03 | ChaosInc | "LabelSetText(rowFrame.. i, TestList[i]) |
02:43.24 | Aiiane | but rowFrame..i isn't a label |
02:43.43 | ChaosInc | yeah, saw that |
02:43.51 | ChaosInc | when you typed, I mean |
02:44.06 | Aiiane | also, why do you have the for i=1,10 ? |
02:44.23 | Aiiane | you have ..row, and then ..i |
02:45.07 | ChaosInc | cause my copy/paste skills suck? :D |
02:45.38 | ChaosInc | perfect honesty: I haven't the FOGGIEST idea what I'm doing at this point lol |
02:45.43 | Aiiane | tbh |
02:45.48 | Aiiane | I'd start over |
02:45.53 | Aiiane | find a good example of a working listbox |
02:46.07 | encaitar | Is it just text in your listbox? |
02:46.11 | Aiiane | walk yourself over it until you understand /why and how/ it works |
02:46.15 | Aiiane | not just /that/ it works |
02:46.19 | Aiiane | then write your own |
02:46.36 | ChaosInc | my problem is trying to follow other people's codes |
02:46.39 | Aiiane | if you need help understanding the why-and-how, ask away |
02:47.01 | Aiiane | if you grab a fairly simple working example |
02:47.03 | ChaosInc | it's just populating it is where I'm having the trouble |
02:47.08 | Aiiane | im happy to go over it line by line |
02:47.22 | amirabiri2_ | is there a simple frame to show textures? |
02:47.26 | amirabiri2_ | i.e not dynamic? |
02:48.02 | Aiiane | amirabiri2_: there's HorizontalResizeImage, FullResizeImage |
02:48.07 | Aiiane | CircleImage |
02:48.55 | Aiiane | and AnimatedImage |
02:49.02 | Aiiane | those 4 plus DynamicImage are your options |
02:49.10 | ChaosInc | the initial setup I understand, with the declaration, size/position, button templates, etc., it's putting the info on them that always gets me. had the same issue in WoW |
02:49.23 | encaitar | Are you calling ListBoxSetDisplayOrder at some point? |
02:49.42 | Aiiane | but horizontal/fullresize images can't have their textures changed at runtime |
02:49.55 | ChaosInc | encaitar: yeah, that's the RFM_SortList() |
02:50.27 | ChaosInc | function RFM_SortList() |
02:50.27 | ChaosInc | <PROTECTED> |
02:50.27 | ChaosInc | end |
02:50.41 | tortall | What is TestList? |
02:50.44 | amirabiri2_ | I don't want to change it at runtime |
02:50.45 | tortall | why is it a string? |
02:50.50 | encaitar | second argument should be a table with the sort order in it. |
02:50.53 | amirabiri2_ | I want a simple frame around a dynamic image |
02:50.59 | amirabiri2_ | where the frame doesn't change |
02:51.01 | ChaosInc | *head slap* |
02:51.51 | tortall | if you have a list: mylist = { "One", "Two", "Three" } and want to display it in that order, you do something like this... |
02:51.52 | Aiiane | amirabiri2_: fullresizeimage would work then |
02:52.19 | amirabiri2_ | how can I avoid specifying all the parts ? |
02:52.22 | tortall | ListBoxSetDisplayOrder("mylistbox", { [1] = 1, [2] = 2, [3] = 3 })) |
02:52.29 | Aiiane | use a dynamicimage? heh |
02:53.44 | encaitar | QuickTacticSwitch uses a dynamic image in a list box. Most of the data is set from the table, but the image is set with the populationfunction. |
02:54.21 | ChaosInc | ok, but what if the list is changed along the way? users will be able to add frames on the fly |
02:55.39 | encaitar | If the list changes rebuild the table and call ListBoxSetDisplayOrder again |
02:56.04 | ChaosInc | well, that's interesting now. telling me it can't assign texts (Labels, Buttons) cause they don't exist, yet still assigns them..... |
02:56.52 | ChaosInc | ok, taking Aiiane's advice here and starting this over from scratch |
02:57.38 | tortall | That's a good approach. |
02:57.44 | ChaosInc | so I've got this list box set up: |
02:57.57 | ChaosInc | <PROTECTED> |
02:57.57 | ChaosInc | <PROTECTED> |
02:57.57 | ChaosInc | <PROTECTED> |
02:57.57 | ChaosInc | <PROTECTED> |
02:57.57 | ChaosInc | <PROTECTED> |
02:57.58 | ChaosInc | <PROTECTED> |
02:58.00 | ChaosInc | <PROTECTED> |
02:58.02 | ChaosInc | <PROTECTED> |
02:58.04 | ChaosInc | <PROTECTED> |
02:58.06 | ChaosInc | <PROTECTED> |
02:58.08 | ChaosInc | <PROTECTED> |
02:58.18 | ChaosInc | Button Template: |
02:58.21 | ChaosInc | <PROTECTED> |
02:58.21 | ChaosInc | <PROTECTED> |
02:58.21 | ChaosInc | <PROTECTED> |
02:58.22 | ChaosInc | <PROTECTED> |
02:58.22 | ChaosInc | <PROTECTED> |
02:58.24 | ChaosInc | <PROTECTED> |
02:58.27 | ChaosInc | <PROTECTED> |
02:58.29 | ChaosInc | <PROTECTED> |
02:58.31 | ChaosInc | <PROTECTED> |
02:58.34 | ChaosInc | <PROTECTED> |
02:58.36 | ChaosInc | <PROTECTED> |
02:58.38 | ChaosInc | <PROTECTED> |
02:58.40 | ChaosInc | <PROTECTED> |
02:58.42 | ChaosInc | <PROTECTED> |
02:58.44 | ChaosInc | all good to this point, understand it all |
02:58.47 | Aiiane | ok. |
02:58.48 | Aiiane | don't do that. |
02:58.55 | Aiiane | (pasting giant blocks into the channel) |
02:58.59 | Aiiane | that's what pastey is for. |
02:59.04 | Aiiane | waruidev.pastey.net |
02:59.51 | encaitar | I've always used a Window for a rowdef |
03:00.30 | ChaosInc | I would, but I want users to be able to click them |
03:00.39 | encaitar | you can click on windows |
03:01.16 | Aiiane | buttons just allow you to set different visual appearance states for pressed/unpressed/etc |
03:01.23 | Aiiane | any window can have a left-click event handler |
03:01.39 | ChaosInc | good to know |
03:03.08 | Aiiane | (as an example, Squared doesn't use any buttons for its unitframes) |
03:03.48 | ChaosInc | I want to keep the buttons though, it'll be the only indicator for what frame is being modified |
03:04.29 | Aiiane | you could just change the color of the label to highlight it |
03:04.36 | Aiiane | or w/e |
03:04.48 | encaitar | Do you mean to the user or to your code? |
03:04.55 | ChaosInc | nice, didn't think of that |
03:05.03 | ChaosInc | encaitar: user |
03:08.21 | tortall | I only use buttons because that's what I got working first. I also like the look it gives the rows with the default template. |
03:14.49 | amirabiri2_ | argh this FullSizeImage is annoying |
03:15.29 | ChaosInc | all of em are at first. I got annoyed trying to add textures for buttons |
03:15.30 | Aiiane | amirabiri2_: just use a dynamicimage |
03:16.22 | amirabiri2_ | I want to do things right! :-\ |
03:16.30 | amirabiri2_ | Sigh... |
03:16.41 | encaitar | Who says dynamic image is wrong? |
03:17.48 | amirabiri2_ | if the image isn't dynamic it's wrong |
03:18.05 | amirabiri2_ | also I want to create multiple instances of this, and I have to set the frame from code for each one |
03:18.12 | amirabiri2_ | while in fact it shuold be part of the template |
03:18.12 | Aiiane | not really. the 'cost' of dynamic images is only invoked if you change the texture |
03:20.00 | Aiiane | also; you can set the default texture for a dynamic image from XML |
03:20.04 | amirabiri2_ | less to do with cost and more to do with redundant code |
03:20.05 | Aiiane | you don't have to set it from Lua |
03:20.15 | amirabiri2_ | I can ? |
03:20.18 | Aiiane | <DynamicImage name="blah" texture="blahtex"> |
03:20.24 | amirabiri2_ | and coords ? |
03:20.32 | Aiiane | <TexCoords> |
03:20.35 | Aiiane | inside the dynamic image |
03:20.36 | amirabiri2_ | kk thanks |
03:21.05 | Aiiane | if the coords are 0,0 you don't need to specify them |
03:21.07 | Aiiane | that's the default |
03:22.10 | amirabiri2_ | o.O |
03:22.44 | amirabiri2_ | So the solution was 10 characters long all along and I spent 30 minutes bashing my head against the wall trying to get it to work with FullResizeImage... :-) |
03:22.59 | amirabiri2_ | Sounds familiar? :-) |
03:23.26 | Aiiane | random example from squared's xml: http://waruidev.pastey.net/105185 |
03:23.35 | encaitar | Hey, I spent an hour tyring to figure out why my labels wern't working when they were outside a Windows tag. doh. |
03:35.52 | amirabiri2_ | hmm |
03:36.04 | amirabiri2_ | You can't call GetAbilityData on an ability that you don't have... |
03:36.12 | encaitar | right |
03:36.13 | amirabiri2_ | ? |
03:36.20 | Aiiane | left |
03:36.21 | Valkea | Aiiane -> is TargetInfoFix.lua still usefull / needed on the current WAR version ? |
03:36.29 | Aiiane | Valkea: yes |
03:36.33 | amirabiri2_ | annoying |
03:36.41 | amirabiri2_ | Actually that's not the annoying part |
03:37.11 | Valkea | ok, so each addon using targetInfo should have this file inside the package i guess ;) |
03:37.12 | amirabiri2_ | The annoying part is that the pet abilities are considered "gone" when the pet changes stance |
03:38.06 | encaitar | hmm, that sucks |
03:39.45 | amirabiri2_ | well I have a workaroudn |
03:39.53 | amirabiri2_ | basically the whole addon is built around this workaroudn |
03:40.10 | amirabiri2_ | What I'm gonna do (evil me) is save all the abilities in the saved variables |
03:40.19 | amirabiri2_ | so that the addon "learns" the pet abilities of the character |
03:40.28 | amirabiri2_ | as it encounters them |
03:40.49 | amirabiri2_ | That way I don't need hardcoded huge tables maintained by information sent by users who run wierd commands |
03:40.53 | encaitar | What are you doing with the data? |
03:41.35 | amirabiri2_ | Displaying it in a simple grid of buttons, so you can view your pet abilities and prioritize them |
03:42.27 | encaitar | cool |
03:42.59 | amirabiri2_ | the only difference now is that I wanted to rely on GetAbilityData and only save ability ids |
03:43.07 | amirabiri2_ | but now I'll have to save everything |
03:43.48 | encaitar | Can you build the ability tooltip for an ability you don't have? |
03:43.58 | Repo | New project: http://war.curseforge.com/projects/warwhisperer/. WarWhisperer. smurfy (Manager/Author). Approved by Aiiane. |
03:45.41 | amirabiri2_ | yes, if I save the data |
03:45.51 | amirabiri2_ | the tooltip functions accept the ability data array |
03:46.10 | encaitar | Right |
03:47.37 | encaitar | But CreateAbilityTooltip internally calls stuff like GetAbilityDesc, didn't know if that would work. |
03:48.40 | amirabiri2_ | does it? |
03:48.42 | amirabiri2_ | :-\ |
03:49.09 | amirabiri2_ | I may have to copy-paste |
03:56.11 | ChaosInc | ok, here's where I'm at now starting the population from scratch based on prior "knowledge" (<- term used loosely): http://waruidev.pastey.net/105187 |
03:57.42 | encaitar | Is PopulateList your populationfunction? |
03:57.53 | ChaosInc | yes |
03:58.09 | encaitar | shouldn't be |
03:58.15 | encaitar | not all of it anyway |
03:58.45 | Aiiane | PopulateList should not be calling listboxsetdisplayorder. |
03:58.50 | Aiiane | The job of the population function |
03:59.00 | Aiiane | is to take a set of numbered data indices |
03:59.14 | Aiiane | and tweak the rows to properly display those data entries |
03:59.31 | Aiiane | setting up the set of data entries used for the /entire/ list should be done somewhere else. |
03:59.37 | Aiiane | and that's what should call listboxsetdisplayorder. |
03:59.50 | encaitar | What she said :) |
04:01.05 | ChaosInc | so move ListOrder stuff and listboxsetdisplay order to their own function? |
04:01.14 | Aiiane | yes |
04:01.28 | Aiiane | in fact |
04:01.32 | Aiiane | you dont even need a new function |
04:01.38 | Aiiane | you can do it in the first one you have there |
04:01.56 | Aiiane | you're not doing any special reordering of the frames, right? |
04:02.02 | Aiiane | so you can just set the order when you create the list |
04:02.04 | Aiiane | and you're good |
04:04.02 | encaitar | I don't think your ButtonSetText is going to work if you need to scroll though. |
04:04.06 | ChaosInc | arg, one sec |
04:04.39 | ChaosInc | I'm using 2 dif mods here (RFM and WindowMover) where WindowMover is using data already in RFM and it's not liking it |
04:04.51 | ChaosInc | so gonna temp move some of it |
04:07.45 | encaitar | The first row in the list box is always row 1, even if you scroll. |
04:08.19 | encaitar | SO you need to use ListBoxGetDataIndex to reference back to your original data |
04:08.49 | Aiiane | actually, you don't |
04:08.56 | Aiiane | the populatorindices table tells you the mapping |
04:09.17 | encaitar | Well, he doesn't have that in there either. |
04:09.24 | Aiiane | true :P |
04:10.42 | ChaosInc | gah! once sec, just realized I have each button calling OnInit in another frame, no wonder I'm being spammed in debug |
04:22.11 | ChaosInc | woot, progress: http://waruidev.pastey.net/105190 |
04:22.25 | ChaosInc | now it shows 2 buttons (so far), but no text |
04:24.56 | tortall | In PopulateList(), you need to use RFM_FrameSelector_FrameList.PopulatorIndices |
04:27.39 | ChaosInc | for where? put into ipairs(like tortallDPS), still no text |
04:29.00 | ChaosInc | updated, last link |
04:29.36 | encaitar | for row, data ... |
04:29.41 | encaitar | data is actually an index |
04:29.54 | encaitar | so instead of towstring(data) ... |
04:30.10 | encaitar | towstring(RF_FrameList[index]) |
04:30.54 | encaitar | does that make sense? |
04:31.42 | Aiiane | oh you turkey |
04:31.50 | Aiiane | you're overriding the windows component of a button |
04:31.55 | Aiiane | no wonder you're not seeing any text |
04:32.16 | Aiiane | specifying a <windows> container in an element which inherits from something |
04:32.28 | Aiiane | does not /add/ those windows, it /replaces/ the windows of the old one with the ones you specify |
04:33.16 | ChaosInc | ok, you lost me. what are you referring to? |
04:33.35 | Aiiane | your list row template. |
04:33.36 | ChaosInc | the XML? |
04:33.38 | Aiiane | yes |
04:33.44 | Aiiane | pastey what you currently have |
04:34.33 | ChaosInc | http://waruidev.pastey.net/105192 |
04:34.59 | encaitar | Your FullResizeImage is killing the button label. |
04:35.19 | Aiiane | plus it'd cover it up anyways |
04:35.32 | Aiiane | since children are drawn on top of their parents |
04:35.42 | Aiiane | just get rid of the fullresizeimage for now |
04:37.05 | ChaosInc | updated, last link, no text still |
04:39.13 | Aiiane | what happens if from the chat window you do /script ButtonSetText("RFM_FrameSelector_FrameListRow1", L"test") |
04:40.29 | ChaosInc | nothing |
04:40.48 | encaitar | nothing in debug window either? |
04:41.00 | ChaosInc | nope |
04:41.08 | Aiiane | try making it a bit taller then |
04:41.20 | Aiiane | might be that it's getting cut off |
04:41.30 | encaitar | wouldn't that give a warning? |
04:41.58 | Aiiane | not everyone keeps warnings turned off |
04:41.59 | Aiiane | er |
04:41.59 | Aiiane | on |
04:42.11 | Aiiane | the default ui throws way too many of them :P |
04:42.28 | ChaosInc | that it does |
04:43.54 | ChaosInc | set template height to 40, big buttons, no text :/\ |
04:44.04 | ChaosInc | :-\* |
04:44.14 | ChaosInc | and still no debug errors |
04:44.56 | Aiiane | well, do a d(ButtonGetText("RFM_FrameSelector_FrameListRow1")) |
04:45.00 | Aiiane | and see if that dumps out 'test' |
04:45.54 | encaitar | The PopulateList function in the pastey is still what you have?> |
04:47.56 | ChaosInc | no: http://waruidev.pastey.net/105193 |
04:48.22 | ChaosInc | and /script d(ButtonGetText("RFM_FrameSelector_FrameListRow1")) yields no result (yes, debug log is on) |
04:49.10 | Aiiane | try /script d(L"meep:"..ButtonGetText("RFM_FrameSelector_FrameListRow1")) |
04:49.49 | ChaosInc | get the "meep", nothing for button text |
04:50.15 | encaitar | You did a /reloadui since you set the text to test? |
04:50.28 | encaitar | because you'd need to set it again |
04:50.55 | Aiiane | do a /script d(RFM_FrameList) |
04:50.57 | ChaosInc | grrr |
04:50.58 | Aiiane | what do you get |
04:51.05 | ChaosInc | war locked up, one sec |
04:54.05 | ChaosInc | [debug] {string} 1 = ButtonTest3 |
04:55.08 | Aiiane | that's all? |
04:55.52 | ChaosInc | goes down 11 |
04:55.55 | Aiiane | k |
04:56.21 | Aiiane | next thing to try would probably be to put a d() inside the populate function's for loop |
04:56.38 | Aiiane | and dump out both of the argument's it's passing to buttonsettext |
04:56.57 | ChaosInc | brb, woman just got home |
04:59.39 | encaitar | if he set table="RFM_FrameList" and added ListColumns, would that work with a button or does it need to be a label? |
05:00.20 | Aiiane | no idea |
05:00.50 | *** join/#waruidev encaitar1 (n=James@c-71-205-106-209.hsd1.mi.comcast.net) |
05:04.34 | *** join/#waruidev beatrixkiddo (i=b@75-11-36-159.lightspeed.kscyks.sbcglobal.net) |
05:14.17 | ChaosInc | added a print to RFM_FrameDB loop, confirmed it's adding the names to the list |
05:14.43 | ChaosInc | doing pop list now |
05:17.30 | ChaosInc | d(towstring("Confirm: ".. RFM_FrameList[index].. " added.")) yields "Confirm: <name> added." for each one |
05:18.02 | Aiiane | and d()'ing the windows it's attempting to set the text for gives? |
05:19.00 | ChaosInc | ? |
05:20.21 | ChaosInc | that was set after ButtonSetText |
05:22.05 | Aiiane | yes. I mean d() out the *first* argument that's being passed to buttonsettext. |
05:22.27 | Aiiane | you're passing 2 arguments to it. why would you only check that 1 of them is correct? |
05:24.36 | ChaosInc | .... |
05:24.39 | ChaosInc | um, I have text now |
05:25.15 | ChaosInc | double checked button template, apparently needed font specified |
05:27.03 | ChaosInc | window scrolls fine, I'm gonna go hit something now |
05:27.49 | ChaosInc | 4 of us staring at this thing and no one noticed it. lol |
05:39.24 | ChaosInc | ok, next problem. when a button is clicked, how can you pull it's name? when I try to pass "function="WindowMover.SelectFrame(self)"" I get an error |
05:40.48 | encaitar1 | That's when you want want ListBoxGetDataIndex |
05:41.43 | encaitar1 | Get the row number first from WindowGetId(SystemData.ActiveWindow.name) |
05:41.57 | encaitar1 | Then pass it into ListBoxGetDataIndex |
05:42.16 | encaitar1 | and it gives you an index back into your RFM_FrameList |
05:42.56 | tortall | If you just need the button name, you can use SystemData.ActiveWindow.name |
05:43.44 | tortall | oops, i must be tired. didn't see that encaitar1 already said that. |
05:44.19 | ChaosInc | Button Click -> change color -> get name to load it's detailed info -> fill data in other fields |
05:46.54 | ChaosInc | ListBoxGetDataIndex (var)? |
05:47.49 | Aiiane | yes |
05:47.52 | Aiiane | argument is a row index |
05:47.55 | Aiiane | return value is a data index |
05:50.57 | ChaosInc | Error: Invalid parameters to: ListBoxGetDataIndex -> number 2.0000 [NON EXISTANT] |
05:51.15 | ChaosInc | clicking 2nd button |
05:52.00 | Aiiane | you need to specify the list box |
05:52.02 | Aiiane | :PP |
05:52.15 | Aiiane | sorry, slipped my mind because it's usually just automatic when im typing |
05:55.12 | ChaosInc | are both args supposed to return the same? |
05:55.31 | ChaosInc | d()ing steps now to make sure I don't screw things up |
05:58.18 | ChaosInc | I ask cause WindowGetID and ListBoxGetDataIndex are both returning the same numbers, and if that's the case do I really need the extra step (ListBox...)? |
06:00.55 | Aiiane | the only reason they're returning the same is because you haven't scrolled the box at all. |
06:01.00 | Aiiane | thus, the #1 data is at row #1. |
06:01.06 | Aiiane | as soon as you scroll any, that won't be the case. |
06:01.28 | ChaosInc | I see |
06:08.50 | ChaosInc | aight, you guys are officially awesome and RFM should be finished tomorrow or the next day. midnight, have to be up in 5 hrs for work. thx for the help, definitely wouldn't have been possible without you LOL |
06:11.09 | *** part/#waruidev ChaosInc (n=ChaosInc@206.230.110.138) |
06:29.08 | amirabiri2_ | I'm creating a frame, then destroying it |
06:29.11 | amirabiri2_ | it has children |
06:29.39 | amirabiri2_ | I get tons of errors whining about windowgetparent: "blah" does not exist |
06:29.52 | *** join/#waruidev xd (n=xd@24.32.29.149) |
06:31.12 | Aiiane | because you're not destroying its children? |
06:31.41 | amirabiri2_ | yes, but why do I need to ? |
06:31.51 | amirabiri2_ | when I can DestroyParent() I don't need to do that... |
06:31.54 | amirabiri2_ | :-( |
06:32.03 | amirabiri2_ | fine, I'll kill the children |
06:37.28 | amirabiri2_ | Is there no easier way to do this?? |
06:37.47 | amirabiri2_ | it's becoming recursive |
06:39.16 | Aiiane | have you registered these windows for something? |
06:39.24 | Aiiane | or whatnot |
06:39.34 | Aiiane | (if you'd rather not play 20 questions, just pastey the code :P) |
06:39.38 | amirabiri2_ | do you if I created frames for them ? |
06:40.25 | Aiiane | I mean what have you done with them before destroying them. |
06:40.27 | *** join/#waruidev Felyza (n=Felyza@6532199hfc31.tampabay.res.rr.com) |
06:40.29 | amirabiri2_ | never mind I hardcoded one granchild :-) |
06:40.31 | *** part/#waruidev Felyza (n=Felyza@6532199hfc31.tampabay.res.rr.com) |
06:40.49 | amirabiri2_ | i.e hardcoded the destruction of that one child |
06:43.55 | *** join/#waruidev Felyza (n=Felyza@6532199hfc31.tampabay.res.rr.com) |
07:36.16 | Valkea | good night / day |
07:37.41 | *** part/#waruidev Valkea (n=Valkea@bdv75-1-81-57-75-144.fbx.proxad.net) |
07:48.34 | amirabiri2_ | wha's the copy / clone table function in WAR ? |
07:54.39 | Aiiane | the DataUtils.CopyTable one, you mean? |
07:54.49 | Aiiane | or you can just roll your own |
07:56.22 | Aiiane | http://lua-users.org/wiki/CopyTable has a very simple one |
08:03.21 | Repo | 10twister: 03Aiiane * r18 / (3 files in 1 directory): Added tag 1.8 for changeset dc426e29b73d |
08:03.26 | Repo | ADDED: More checking to try and prevent odd behavior. |
08:03.30 | Repo | FIXED: Auras should no longer occasionally refuse to be recognized as valid auras. |
08:03.33 | Repo | Small hack to avoid floating point precision issues. |
08:07.33 | Aiiane | sleepytime, night all! |
08:15.29 | gutgut_ | n8 :) |
09:16.56 | *** join/#waruidev smcn (i=smcn@75-164-153-84.ptld.qwest.net) |
10:49.10 | *** join/#waruidev thanners_ (n=thantel@124-169-226-187.dyn.iinet.net.au) |
10:52.00 | *** join/#waruidev sacrilege (n=sacrileg@66.237.5.217) |
11:00.16 | *** join/#waruidev Haloperidol (i=h1a753ep@p57A0CB20.dip.t-dialin.net) |
11:05.50 | *** join/#waruidev Haloperidol (i=ipgbnn3b@p57A0CB20.dip.t-dialin.net) |
11:19.08 | *** join/#waruidev thanners (n=thantel@124-169-243-184.dyn.iinet.net.au) |
11:46.20 | *** join/#waruidev talvinen (n=Miranda@92.50.105.97) |
11:46.24 | talvinen | ffs |
11:46.30 | talvinen | did they change the buff events again? |
11:50.08 | Repo | 10amethyst: 03talvinen * r14 AmethystEffects/AmethystEffects.lua: AmethystEffects should now work for everyone |
11:50.27 | Repo | 10amethyst: 03talvinen 041.3.3 * r15 : tagged |
11:51.00 | Repo | 10squaredhotindicators: 03talvinen * r12 SquaredHotIndicators.lua: updated to new event parameters (wtf mythic?) |
11:52.02 | Repo | 10squaredhotindicators: 03talvinen 043.2 * r13 : tagged |
11:52.11 | Repo | 10xhud: 03talvinen * r55 / (2 files in 1 directory): fixed most of the buff stuff |
11:52.26 | Repo | 10xhud: 03talvinen 042.1.3 * r56 : tagged |
13:42.13 | *** join/#waruidev Haloperidol (i=52jy2564@p57A0CB20.dip.t-dialin.net) |
13:53.03 | *** join/#waruidev gutgut (n=Aes@p5B0A7403.dip.t-dialin.net) |
14:01.08 | *** join/#waruidev thanners_ (n=thantel@124-169-94-230.dyn.iinet.net.au) |
14:28.12 | *** join/#waruidev Deadhawk (n=kvirc@79-65-202-37.dynamic.dsl.as9105.com) |
14:41.17 | *** join/#waruidev encaitar (n=James@c-71-205-106-209.hsd1.mi.comcast.net) |
15:14.39 | *** join/#waruidev ckknight (n=ckknight@WoWUIDev/WoWAce/CurseStaff/CurseForge/ckknight) |
15:14.39 | *** mode/#WARUIDev [+o ckknight] by ChanServ |
15:33.18 | *** part/#waruidev encaitar (n=James@c-71-205-106-209.hsd1.mi.comcast.net) |
15:34.16 | *** join/#waruidev tortall (n=kvirc@adsl-75-42-96-214.dsl.sfldmi.sbcglobal.net) |
15:52.40 | nicoli_s | finally! looks like we may have fixed the problem of wardb not showing alot of drops |
16:04.04 | *** join/#waruidev ckknight_ (n=ckknight@WoWUIDev/WoWAce/CurseStaff/CurseForge/ckknight) |
16:04.04 | *** mode/#WARUIDev [+o ckknight_] by ChanServ |
16:20.03 | *** join/#waruidev ckknight_ (n=ckknight@WoWUIDev/WoWAce/CurseStaff/CurseForge/ckknight) |
16:20.03 | *** mode/#WARUIDev [+o ckknight_] by ChanServ |
16:40.45 | *** join/#waruidev encaitar (n=James@c-71-205-106-209.hsd1.mi.comcast.net) |
16:59.21 | *** join/#waruidev Valkea (n=Valkea@bdv75-1-81-57-75-144.fbx.proxad.net) |
16:59.25 | Valkea | hello |
16:59.58 | encaitar | hi |
17:00.45 | Repo | New project: http://war.curseforge.com/projects/craftvaluetip/. Crafting Info Tooltip. Irinia (Manager/Author). Approved by Ackis. |
17:03.38 | encaitar | That sounds useful |
17:04.42 | nicoli_s | yes it does |
17:05.07 | nicoli_s | i'll be using some of that info once we get profession info added to wardb |
17:50.48 | tortall | So, my magus has a quest to turn in at an Order camp in the Shadowlands. |
17:53.17 | Alocer | Nice, I have faith you can complete it |
17:54.24 | *** join/#waruidev Bloodwalker (n=none@CPE001ee55ab1f9-CM0012254086ac.cpe.net.cable.rogers.com) |
18:13.00 | tortall | Hey Bloodwalker. Happy holidays |
18:16.00 | tortall | the npc won't talk to me |
18:16.16 | *** join/#waruidev smcn (i=smcn@75-164-153-84.ptld.qwest.net) |
18:16.35 | Bloodwalker | Happy Holidays tortall hows your xmas been |
18:16.51 | tortall | was nothing special. I'm Jewish :D |
18:17.05 | Bloodwalker | ya I remember :) |
18:17.38 | tortall | So, I'm standing in an Order camp, as a chicken, standing next to an NPC I have to hand a quest in to, and he won't talk to me. Can't imagine why not. |
18:18.15 | Bloodwalker | he still trying to decide if your dinner |
18:18.31 | tortall | he's actually ignoring me completely. arrogant elf! |
18:18.35 | Bloodwalker | it is the holidays.. on a guards salary you msut look like a gift from santa for the family |
18:18.46 | Aiiane | how's your hanukkah been then :P |
18:19.13 | tortall | been great! :) |
18:19.40 | tortall | Should I send a bug report about this quest/ |
18:19.41 | tortall | ? |
18:19.53 | Aiiane | check it on wardb first? |
18:20.02 | Aiiane | see if there's any comments on it |
18:20.06 | tortall | It's a quest for Order, Aiiane :) |
18:20.21 | Aiiane | how'd you manage that one o.o |
18:20.46 | tortall | I'm special (upside the head) |
18:21.35 | Deadhawk | Destruction can get Order quests in Reikland too :) |
18:21.55 | Aiiane | bug report it then |
18:22.26 | tortall | The only comment on wardb is another destro player saying he got the quest. |
18:22.32 | Deadhawk | It's no big deal really. I'd rather they fixed other things first |
18:22.39 | tortall | It's from a drop from a hero mob on the order side of shadowlands. |
18:23.51 | tortall | I wonder if there's any RI that prevents a destro from handing in an Order quest or vice versa. |
18:24.02 | tortall | Would be really funny to find a way to corrupt the server's DB :p |
18:25.44 | encaitar | What mod is a good reference for multi-language support? |
18:27.08 | tortall | spammenot |
18:28.10 | Aiiane | or as a more simple example, BlackBox |
18:28.36 | encaitar | Ah good, blackbox I still have installed. |
18:31.53 | Aiiane | hmm... nicoli_s, a lot of the KotBS actions seem to be missing from wardb |
18:46.33 | xd | i picked up that quest once |
18:46.45 | xd | as a destruction player that is |
18:51.25 | tortall | Bloodwalker, we really need to get Share working in MM |
19:08.32 | nicoli_s | i'll look into it Aiiane |
19:11.02 | Aiiane | what i specifically noticed were a lot of the auras, there might be others as well, though |
19:14.15 | amirabiri2_ | I'm getting some od behavior |
19:14.26 | amirabiri2_ | perhaps some knows something off the top of their head |
19:15.04 | Aiiane | the only things I know are below the top of my head |
19:15.20 | amirabiri2_ | I have a button with onlbuttonup, onrbuttonup and onmouseover |
19:15.37 | amirabiri2_ | everything works fine until the onlbuttonup fires |
19:15.42 | amirabiri2_ | which does a cursor.pickup |
19:15.51 | amirabiri2_ | then the button stops receiving events |
19:16.13 | amirabiri2_ | Does that ring any bells to anyone ? |
19:16.21 | amirabiri2_ | I'll pastey |
19:17.30 | amirabiri2_ | That's the XML: http://waruidev.pastey.net/105232 for the button template |
19:18.49 | amirabiri2_ | And these are two of the abilities: http://waruidev.pastey.net/105233 |
19:18.57 | amirabiri2_ | sory callbacks |
19:19.18 | amirabiri2_ | there is inheritence there the class names are correct |
19:20.07 | Aiiane | but the item itself gets picked up correctly? |
19:20.53 | amirabiri2_ | Yes. |
19:20.57 | amirabiri2_ | OK I think I understand what's going on |
19:21.10 | amirabiri2_ | the problem only happens if I right-click to clear the pickup on the window itself |
19:21.32 | amirabiri2_ | after I do that the events disappear, and the UI debug shows another window when I mouse over the buttons |
19:21.46 | amirabiri2_ | that window is the background of the window section that the buttons are on top |
19:21.52 | amirabiri2_ | so this is a layers problem |
19:21.56 | amirabiri2_ | right ? |
19:22.09 | amirabiri2_ | the background comes to the front |
19:23.33 | amirabiri2_ | OK problem solved by giving the template of the background layer="background" |
19:27.40 | Aiiane | yeah, the other thing to do would be to set popable="false" |
19:27.49 | Aiiane | that way it can't "pop" to the top of anything on the same layer |
19:35.22 | *** join/#waruidev Severos (n=gene@fs152.nysaes.cornell.edu) |
19:37.58 | *** join/#waruidev Geneshift (n=gene@fs152.nysaes.cornell.edu) |
19:38.13 | *** join/#waruidev tronned (i=tronned@pool-96-244-251-190.bltmmd.fios.verizon.net) |
19:38.38 | tronned | herro everyone |
19:39.02 | encaitar | we're all heros? |
19:39.32 | tronned | herro ~= hero |
19:39.35 | Aiiane | no, you're all herros |
19:41.40 | Geneshift | what does that even mean? |
19:42.06 | Aiiane | it's like a herring, but more mexican |
19:42.12 | tronned | lol |
19:42.28 | Geneshift | mexican herring, swedish fish.. related? |
19:42.35 | tronned | distant cousins |
19:42.49 | Geneshift | Anyone know of a camera lock binding? |
19:43.45 | Aiiane | there isn't one |
19:45.26 | Geneshift | shucks |
19:46.43 | tortall | ~poke Bloodwalker |
19:46.44 | purl | ACTION cuts down a small tree, sneaks up behind Bloodwalker, pokes Bloodwalker repeatedly, hilarity ensues. |
19:47.33 | Bloodwalker | ya ya Im alive tortall :) |
19:54.09 | tortall | I got my GM using MM, but I need to be able to share! |
19:57.11 | Bloodwalker | heh its coming I swear :) |
19:58.14 | *** join/#waruidev MoronWar (i=MoronWar@dynamic-acs-24-154-210-158.zoominternet.net) |
20:00.49 | Bloodwalker | I still have to make an editor for pin types and icons too |
20:01.04 | tortall | Sharing first! :) |
20:02.21 | *** join/#waruidev Haldol (i=6f15903u@p57A0F93D.dip.t-dialin.net) |
20:02.49 | Repo | 10twister: 03Aiiane * r20 / (3 files in 1 directory): Added tag 1.9 for changeset 262effe8e9a4 |
20:02.53 | Repo | FIXED: Corrected a typo that was resulting in any circumstance triggering a loading screen to throw off timer counts. |
20:08.09 | *** join/#waruidev Freddy1 (n=Freddy@cpe-72-181-167-52.tx.res.rr.com) |
20:49.03 | *** join/#waruidev Daegalus (n=Daegalus@four.alameda.net) |
20:54.49 | *** join/#waruidev encaitar1 (n=James@c-71-205-106-209.hsd1.mi.comcast.net) |
21:15.28 | Bloodwalker | took awhile but I have the pins I lost back |
21:19.10 | *** join/#waruidev Aiiane (n=Aiiane@c-71-207-133-87.hsd1.va.comcast.net) |
21:19.10 | *** mode/#WARUIDev [+o Aiiane] by ChanServ |
21:20.51 | *** join/#waruidev tronned (i=tronned@pool-96-244-251-190.bltmmd.fios.verizon.net) |
21:23.12 | tortall | yay |
21:25.43 | Thrae | Oi, done with this KotBS. I'm not cut out for melee. Let's try Engineer. |
21:26.58 | Aiiane | tortall: yay? |
21:28.42 | tortall | Yay to Bloodwalker |
21:29.21 | tronned | Thrae: Don't do it, it'' be the death of you! |
21:29.34 | tronned | s/it''/it'll |
21:35.09 | Aiiane | It makes me sort of sad, I've put a lot of effort into making Squared plugin friendly, and only a couple of people have done anything with it :| |
21:36.44 | Aiiane | one of whom has left the game, and the other is now planning to >< |
21:42.49 | tronned | Did you not give them cookies? |
21:42.52 | tronned | I'll stay for cookies. |
21:43.09 | tronned | Russian Teacakes, prz. |
21:43.28 | Aiiane | I only have API cookies :s |
21:50.17 | *** join/#waruidev Haldol (i=6f15903u@p57A0F93D.dip.t-dialin.net) [NETSPLIT VICTIM] |
21:50.17 | *** join/#waruidev Repo (n=supybot@69.57.184.216) [NETSPLIT VICTIM] |
21:50.17 | *** mode/#WARUIDev [+v Repo] by irc.freenode.net |
21:52.10 | *** join/#waruidev ckknight (n=ckknight@WoWUIDev/WoWAce/CurseStaff/CurseForge/ckknight) |
21:52.10 | *** join/#waruidev tronned (i=tronned@pool-96-244-251-190.bltmmd.fios.verizon.net) [NETSPLIT VICTIM] |
21:52.10 | *** join/#waruidev Valkea (n=Valkea@bdv75-1-81-57-75-144.fbx.proxad.net) [NETSPLIT VICTIM] |
21:52.10 | *** join/#waruidev xd (n=xd@24.32.29.149) [NETSPLIT VICTIM] |
21:52.10 | *** join/#waruidev beatrixkiddo (i=b@75-11-36-159.lightspeed.kscyks.sbcglobal.net) [NETSPLIT VICTIM] |
21:52.10 | *** join/#waruidev Nechckn (n=N@WoWUIDev/Norganna/PRManager/Nechckn) |
21:52.10 | *** join/#waruidev Thunder_Child (n=TC@cpe-76-169-229-41.socal.res.rr.com) |
21:52.10 | *** join/#waruidev Aii (n=Aiiane@knuth.cs.hmc.edu) |
21:52.11 | *** join/#waruidev nicoli_s (n=email@173-19-166-197.client.mchsi.com) [NETSPLIT VICTIM] |
21:52.11 | *** join/#waruidev art3mis (n=art3mis@WoWUIDev/WoWI/HKUI/art3mis) [NETSPLIT VICTIM] |
21:52.11 | *** join/#waruidev sysrage (i=sysrage@cpe-069-134-058-172.nc.res.rr.com) [NETSPLIT VICTIM] |
21:52.11 | *** join/#waruidev knix (n=knix@unaffiliated/knix) [NETSPLIT VICTIM] |
21:52.11 | *** join/#waruidev Dotoff (i=Dotted@bureaucrat.wowwiki.dk) |
21:52.11 | *** join/#waruidev lua_bot (n=lua_bot@li37-84.members.linode.com) |
21:52.11 | *** join/#waruidev Ratler (n=ratler@lunar-linux/developer/ratler) [NETSPLIT VICTIM] |
21:52.11 | *** join/#waruidev norgs (n=ken@WoWUIDev/Norganna/Administrator/Norgs) |
21:52.11 | *** join/#waruidev Kaelten (n=Kaelten@WoWUIDev/WoWAce/WoWIFA/CurseStaff/kaelten) |
21:52.11 | *** mode/#WARUIDev [+oo ckknight Aii] by irc.freenode.net |
21:52.13 | *** join/#waruidev Repo (n=supybot@69.57.184.216) |
21:52.13 | *** mode/#WARUIDev [+v Repo] by ChanServ |
22:06.41 | art3mis | the minute they see me fear me |
22:06.50 | art3mis | cuz im the epitome of public enemy |
22:08.51 | tronned | Samuel Adams, you are my only friend. /hug |
22:14.44 | art3mis | that may not be the case if you bathed more brushed your teeth and stoped greeting everyone with "hey fuckhead hows the herpes" |
22:18.29 | tronned | O.o |
22:25.19 | tronned | Aiiane: Have you started on LibSharedAssets yet? ;) (::) |
22:26.01 | Aiiane | I was debating whether to play around with it this evening. Why, did you have some burning desire to write it? |
22:26.38 | Aiiane | s/write it/write it yourself |
22:27.52 | tronned | I was waiting for you to write it, kik |
22:28.57 | Aiiane | well, like I said, I'm probably going to at least preliminarily mess around with it tonight |
22:30.02 | art3mis | i wonder if i'll suddenly feel the need to make out with men once im done my windows 7 beta 1 install |
22:30.19 | art3mis | or stab myself in the face numerous times with a spork |
22:30.38 | tronned | art3mis: as a preemptive strike, i respectfully decline the former but encourage the latter |
22:31.50 | art3mis | till do! |
22:31.54 | art3mis | errr will |
22:32.06 | tronned | Aiiane: want/need help? maybe collecting textures, defining texture sizes, metadata? I would like to contribute, at the very least |
22:32.29 | Aiiane | well, the way I'm envisioning it the framework itself won't have any textures at all |
22:32.43 | Aiiane | it'll more just be a clearinghouse that allows addons to register or request lists of textures |
22:32.55 | tronned | contribute vis a vis assist / learn |
22:32.57 | tronned | oh, i see |
22:33.10 | Aiiane | then you'll have a separate (and thus optional) module to register a given collection of textures with it |
22:33.17 | Aiiane | that way, the framework will be embeddable |
22:33.18 | tronned | let addons register their own textures |
22:33.40 | Aiiane | and that way, if someone /doesn't/ want custom textures, they don't have to download the library addon |
22:33.48 | Aiiane | library/collection/whatever |
22:34.14 | Aiiane | and yes, it'll also let addons register textures with it for later use |
22:34.20 | art3mis | you should do bartender and cycircled instead ;) |
22:34.39 | tronned | however, if someone wanted to use a particular texture another addon uses by default, that addon would need to be installed as well, for the texture? |
22:35.00 | Aiiane | tronned: depends on whether the texture is present in the common collection addon or not |
22:35.11 | Aiiane | but basically, yes |
22:35.18 | Aiiane | if the texture is only present due to another addon |
22:35.23 | Aiiane | then that other addon needs to be installed :P |
22:36.38 | tronned | that's what i'm getting at, adding addon bloat only to use a specific texture. what about loading order and dependencies as well? |
22:37.05 | tronned | AddOn X wants to use AddOn Y's texture, and AddOn Y is loaded after X? |
22:37.44 | Aiiane | which is why ideally, most textures people want to use will be in the texture collection. |
22:38.21 | Aiiane | consider this: there is nothing *lost* by allowing other addons to register textures. |
22:38.36 | Aiiane | either way, any addon can use any texture in "collection" addons |
22:39.04 | Aiiane | the only thing which changes is that addons *gain* the ability to register additional textures above and beyond what's there. |
22:39.06 | tronned | hm, if LibSharedAssets ( or whatever you call it) is a dependency for both AddOns, then it should not be an issue of which addon is loaded before or after the other, right? |
22:39.33 | Aiiane | ah, but that's the beauty of my intended design, it's not going to require any hard dependencies :) |
22:39.56 | Aiiane | because the framework is embedded |
22:41.09 | tronned | Can you elaborate? (sorry) |
22:41.57 | Aiiane | it'll be libstub'd |
22:42.09 | Aiiane | and thus just included directly into the addon's .mod which is using it |
22:42.29 | Aiiane | the collection libraries can be loaded by the framework separately |
22:42.42 | Aiiane | (remember, we figured out a way to optdep) |
22:43.33 | tronned | right |
22:43.39 | Aiiane | so what I'm planning |
22:43.46 | Aiiane | is to have the framework, when it loads |
22:43.56 | Aiiane | simply go through and optdep every addon which begins with some prefix |
22:44.10 | Aiiane | so that all of the collections are guaranteed to be loaded up |
22:47.14 | tronned | So, what can I do to help? Texture collection? Cheerleading? Cookie delivery? xD |
22:47.37 | encaitar1 | Did somebody say cookie? |
22:47.43 | Aiiane | um, nag me in a few hours (after I've had the opportunity to eat dinner) to start working on it |
22:48.17 | tronned | can do, i can also create/convert textures if need be ... i was a big LibSharedMedia abuser back in the day |
22:48.25 | tronned | need custom fonts /sniffle |
22:54.16 | *** join/#waruidev Computerpunk (n=pcpunk_0@92.82.168.91) |
22:54.18 | Computerpunk | Hello^_^ |
22:54.48 | encaitar1 | hello |
22:55.32 | Computerpunk | Mmm...I'm a bit new around here....tbh I just joined. |
22:55.44 | Computerpunk | I was thinking of picking up xHUD |
22:56.22 | encaitar1 | I think that's still active |
22:56.26 | Computerpunk | but I need like 1 private lesson in which I get told exactly what I gotta do to learn LUA, since I know C++ and stuff. |
22:56.32 | Computerpunk | Nope, the Dev just quit these days. |
22:56.35 | Computerpunk | http://www.warhammeralliance.com/forums/showthread.php?t=224261 |
22:58.58 | encaitar1 | Well, lua itself is pretty simple, I used this http://www.lua.org/manual/5.1/ mostly, along with google searches where needed. |
22:59.22 | encaitar1 | The tricky part is learning about WARs API |
23:00.10 | Aiiane | ~pil |
23:00.11 | purl | Programming in Lua, a book written by the authors of the Lua programming language. The first edition is available free online at http://www.lua.org/pil and covers Lua 5.0. The second edition is available in print from most online bookstores, and covers Lua 5.1. |
23:00.11 | Computerpunk | Well, those are on the war wiki |
23:00.25 | Aiiane | ^ that's probably the best place to start to pick up Lua itself |
23:00.26 | Computerpunk | http://thewarwiki.com/wiki/API:Full_list |
23:00.49 | encaitar1 | The war wiki is very useful but incomplete. |
23:00.52 | Aiiane | the online version is fine for most things |
23:01.26 | encaitar1 | this is very useful too http://code.google.com/p/wardiff/ for some stuff that's not on war wiki |
23:03.34 | Computerpunk | I'll start reading right away...<.< |
23:10.39 | *** join/#waruidev Valkea1 (n=Valkea@bdv75-1-81-57-75-144.fbx.proxad.net) |
23:20.02 | Bloodwalker | well Im off awhile..laters |
23:34.34 | amirabiri2_ | has there been an update recently on the US servers ? |
23:34.42 | Aiiane | not afaik |
23:34.49 | Aiiane | mythic's on holiday vacation |
23:35.04 | amirabiri2_ | OK thanks |
23:35.07 | Computerpunk | What is servers break down?:o |
23:35.12 | Computerpunk | if* |
23:35.35 | amirabiri2_ | No just some users of Equipment Sets of the annoying kind "reporting" problems after recent update |
23:35.41 | amirabiri2_ | I thought maybe they meant an update of the game |
23:35.45 | Aiiane | there's still a skeleton crew around in the server rooms Computerpunk |
23:35.52 | Aiiane | just most of the actual devs are on vacation |
23:36.08 | encaitar1 | What kind of problems? |
23:36.16 | amirabiri2_ | oh enc I'm glad you're here :-) |
23:36.23 | encaitar1 | :) |
23:36.29 | amirabiri2_ | have you spotted any problems with the Equipment Set's latest version ? |
23:36.38 | Alocer | Yeah I've been having problems with 1.0.11 as well |
23:36.45 | encaitar1 | No ... but I've been writing addons more than playing recently :) |
23:36.56 | amirabiri2_ | really Alocer? |
23:37.00 | amirabiri2_ | What kind of problems ? |
23:37.47 | Alocer | Yes, the thing that happened to me is I tried adding a second accessory to get swapped, then when I change to my other equipment set (I just have 2) then it gets stuck in some sort of loop and keeps trying to change items around |
23:38.00 | Alocer | Have to reloadui to get it to stop |
23:38.20 | Alocer | And all of the accessories I use have different names |
23:38.51 | amirabiri2_ | And that's 100% reproducable ? |
23:38.56 | Alocer | I can go take screenshots or check the debug log if you'd like |
23:38.59 | encaitar1 | yeah, there's some problems |
23:39.06 | amirabiri2_ | :-( |
23:39.13 | Alocer | Well I can reproduce it every time, yes |
23:39.24 | amirabiri2_ | hmm |
23:39.25 | encaitar1 | Somethings wrong with the tactic binding too |
23:39.37 | amirabiri2_ | the problem is that it's all working for me |
23:39.42 | amirabiri2_ | so I can't reproduce it |
23:40.08 | Alocer | That always makes it more difficult |
23:40.35 | amirabiri2_ | Can you try and explain the steps I'm not sure I got it |
23:40.43 | amirabiri2_ | you are just adding a second accessory? |
23:40.46 | amirabiri2_ | and the swapping ? |
23:40.50 | Alocer | I'll go step by step |
23:40.56 | amirabiri2_ | thank you :-) |
23:41.16 | encaitar1 | I think I just needed to setup my sets again. |
23:41.23 | encaitar1 | Did you change the mod version number? |
23:41.30 | amirabiri2_ | yes |
23:41.48 | encaitar1 | yeah, wipes your savedvariables |
23:41.54 | amirabiri2_ | yeah I know I had to |
23:41.59 | amirabiri2_ | I added a comment to the notes |
23:42.04 | Alocer | I had two equipment sets working in a previous version on my DoK, the first set was using tactics setup 1, 2 swords, and a str accessory (along with the 3 renown ones in T1). The second set was using tactics setup 2, sword and chalice, and a willpower accesory |
23:42.09 | encaitar1 | Like I read notes :p |
23:42.30 | Alocer | I found a 2nd willpower accessory I wanted to use in my healing set, set 2, so equipped it |
23:42.40 | Alocer | Then when I went to go back to set 1, my dps set, it borked |
23:43.14 | Alocer | Errr wait, it may have been after I went back to set 1, then to set 2 again, let me log in and test it fast |
23:43.27 | amirabiri2_ | ok thank you :-) |
23:48.44 | Alocer | It seems it's something with my set 2 that is causing problems. I logged in with set 1, switched to set 2, then it got stuck (and when I say stuck, the green button stays disabled, and every few seconds I hear the sound when you change tactic sets and the morale abilities pop up for a second as if I opened then closed my ablilities window) |
23:49.10 | Alocer | So did a reload ui, so then I started with set 2 and it was fine, change to set 1 no problems, change back to set 2 then stuck again |
23:49.56 | amirabiri2_ | OK, do you have some time now to help me out ? |
23:50.18 | amirabiri2_ | It's OK if you don't, I'll just wait |
23:50.19 | Alocer | Sure |
23:50.30 | amirabiri2_ | great, thanks |
23:50.53 | Alocer | First want me to try getting rid of that accessory? that's when it all started |
23:51.34 | amirabiri2_ | well if you can narrow it down to one exact item which is 100% reproducable that would be good yes |
23:51.48 | Alocer | Lemme try that then |
23:54.30 | Alocer | It may just be set 2 all together, I tried going back to my old accessory in set 2, but when I went to set 1 then back to set 2 it still did it. So I changed all of my equipment in set 2 to be the same as set 1, then still go to set 1 no prob and going to set 2 it still gets stuck |
23:54.36 | Alocer | Want me to try set 3, see if it works? |
23:55.28 | amirabiri2_ | no, let's start sticking debug statements |
23:55.43 | amirabiri2_ | I'll use pastey and describe where in the code the snippet goes to |
23:55.45 | amirabiri2_ | is that OK ? |
23:55.55 | Alocer | Sure, or line numbers would work? |
23:57.08 | amirabiri2_ | wait a minute |
23:57.20 | Alocer | Yokay |
23:57.25 | amirabiri2_ | I think I may have a guess |
23:58.19 | Alocer | Good good |
23:58.33 | amirabiri2_ | No it's just something I want to eliminate first |
23:58.36 | amirabiri2_ | before we go on |
23:58.52 | amirabiri2_ | The LibStub bundled with Equipment Sets is minor version 3 |
23:59.07 | amirabiri2_ | Can you update it first to the latest one ? I have a pastey for you |
23:59.15 | Alocer | Sure |
23:59.40 | amirabiri2_ | http://waruidev.pastey.net/105241 |