00:05.51 | *** join/#waruidev Wobin (n=Wobin@124-168-153-124.dyn.iinet.net.au) |
00:07.28 | *** join/#waruidev Cairenn (n=Cairenn@MMOI/Administratrix/Cairenn) |
00:07.28 | *** mode/#WARUIDev [+o Cairenn] by ChanServ |
00:09.33 | sysrage | don't suppose WAR has a function enabled to let you do a trash dump for addons like wow had? |
00:13.54 | Aiiane | not aware of one |
00:14.08 | Aiiane | hm |
00:14.11 | Aiiane | there is collectgarbage() |
00:16.08 | sysrage | gonna try macroing that and hitting it every 10 min or so. see if it helps with my crashing |
00:16.38 | Aiiane | doubtful - usually garbage collects are run at set intervals as well |
00:18.10 | sysrage | i'm trying everything i can.. i CTD once an hour and it's driving me insane |
00:19.15 | sysrage | tried all sorts of video drivers.. tried disabling sound like some ppl suggested.. tried texture cache slider in a million combinations |
00:21.49 | Aiiane | are you still using a beta client? |
00:21.56 | Aiiane | (patched up ofc) |
00:23.39 | Aiiane | some people who were having a lot of CTD issues said that reinstalling fresh worked better for them |
00:23.59 | sysrage | nope. i installed fresh |
00:31.06 | PenguinOfDoom | Personally, I blame it on destro spies in crashdorf |
00:31.11 | PenguinOfDoom | shooting me with invisible CTD arrows |
00:33.07 | sysrage | i'm destro :P |
00:35.49 | Jarika | seems order retaliates |
00:35.53 | Jarika | :) |
00:36.55 | *** join/#waruidev thanners_ (n=thantel@203-59-108-108.dyn.iinet.net.au) |
00:48.56 | Jarika | Anyone else getting a while shitload of errors when opening the guild window, about some alliance windows not existing? |
00:54.10 | Aiiane | yep. it's a glitch in the default UI code. |
00:54.31 | Aiiane | I have a fix for it I wrote in my personal random-code-stash-and-stuff mod |
00:54.36 | Aiiane | but it's not perfect |
00:55.59 | Aiiane | but I pretty much was forced to write it |
00:56.23 | Aiiane | because otherwise, in a guild with ~300 members, it would literally freeze my client for a good minute or so if I accidentally opened the guild window while I had the debug window open and logging on |
00:57.38 | *** join/#waruidev Nyborek (n=kero@dslb-088-074-012-197.pools.arcor-ip.net) |
00:57.41 | *** part/#waruidev Nyborek (n=kero@dslb-088-074-012-197.pools.arcor-ip.net) |
01:03.46 | Jarika | Wonder why mythic can never come up with such quick fixed for "glitches" |
01:04.33 | PenguinOfDoom | I think you should be more happy with Mythic |
01:04.55 | PenguinOfDoom | Perhaps you need a point of reference! For example: CCP still hasn't fixed the Retarded Jumping Window Bug Of Doom |
01:05.05 | PenguinOfDoom | it's old enough to go to kindergarten, I believe |
01:06.41 | *** join/#waruidev Andrew--` (n=nobody@66.183.27.55) |
01:17.13 | sysrage | aiiane wins.. garbage collection didn't work :P |
01:17.25 | sysrage | ctd every hour.. almost like clockwork |
02:06.20 | *** join/#waruidev Andrew-- (n=nobody@66.183.27.55) |
02:07.31 | *** join/#waruidev onebit (n=onebit4@adsl-67-125-135-37.dsl.frsn02.pacbell.net) |
02:11.44 | PenguinOfDoom | Mythic fixed the halloween PQ loot chest :P |
02:12.12 | Jarika | Can you add/change EventHandlers on buttons through a function (so i don't have to specify it in the xml)? |
02:12.24 | *** join/#waruidev ckknight (n=ckknight@WoWUIDev/WoWAce/CurseStaff/CurseForge/ckknight) |
02:12.24 | *** mode/#WARUIDev [+o ckknight] by ChanServ |
02:30.32 | onebit | Trick or Treat! |
02:33.19 | VonhintenHOME` | what's going on for halloween? |
03:17.28 | Daegalus | sysrage: i think 90% of CTDs are a problem wiht the amount of memory the game uses. I think htere is still a memory leak in the game, and window has a prevention built in that if an app starts takin too much memory, it kills it. For me it happens when my ram reachs 90% from 60% of war start, my game jitters, hot freezes, and then, boom, ctd. |
03:18.27 | sysrage | would make sense.. i haven't even bothered watching task manager |
03:18.41 | sysrage | 3.1gb out of 4gb used.. gettin close to the hour mark.. probably it |
03:19.15 | Daegalus | i think it is specifically any DirectX app. Cause there are some apps that max out your ram, and no problem, i think its a protection in the directx of windows that does it |
03:19.20 | Daegalus | cause i play on Linux with no CTDs |
03:20.24 | sysrage | war already works in wine? |
03:22.13 | Daegalus | mhmm |
03:23.05 | Daegalus | thre is a bug with WINE that causes really poor performance, but once patched in the source code, it runs at 80 fps on maximum settings with 8xAA and 16xAF on a 8600M GT |
03:23.20 | sysrage | nice |
03:23.54 | Daegalus | wth, i have my Live Event influence maxed out, bu thte herald wont give me my rewards =( |
03:39.15 | sysrage | definitely a leak |
03:39.27 | sysrage | zoning seems to make it worse |
03:44.32 | sysrage | or not.. flying to talebec just made it drop |
03:46.16 | Aiiane | my WAR runs consistently at 1.378 GB of memory |
03:46.25 | Aiiane | even after an hour of play |
03:46.42 | sysrage | mine's at about 1.5 |
03:48.26 | sysrage | actually wasn't watching the process itself. just overall mem usage |
03:49.57 | sysrage | watching hte process it's steadily increasing as i zone around |
03:58.22 | Jarika | Is there a maximum length to the size of a wstring? |
03:58.36 | Aiiane | not that I'm aware of |
03:58.54 | Aiiane | why? |
03:59.49 | Jarika | Then it must be the label thats limited. trying to add a really really long wstring as text to a label, but it gets cut off |
03:59.52 | Aiiane | sysrage: my WAR process just went /down/ from 1.378 to 1.366gb |
04:00.08 | Aiiane | Jarika: yes, labels have max lengths |
04:00.15 | Aiiane | they can be set with maxlength="#" in the xml |
04:00.28 | Jarika | ah ok |
04:00.41 | sysrage | lol so weird.. it showed war.exe using 1.5gb.. but totaly mem usage at 3.3gb.. quit game and total goes down to 944mb |
04:00.46 | sysrage | where's the missing memory! |
04:01.09 | Aiiane | hm... you're not on a laptop, are you |
04:01.13 | sysrage | nah |
04:03.00 | *** join/#waruidev Haloperidol (i=64c5v1e7@p57A0C6AE.dip.t-dialin.net) |
04:03.19 | sysrage | quad core 2.8.. 4gb ram.. bfg gtx280.. you'd sure think it'd be enough :) |
04:04.44 | Jarika | Thanks aiiane, that worked |
04:05.57 | Aiiane | so yeah sysrage |
04:06.02 | Aiiane | I zoned from praag to reikland |
04:06.05 | Aiiane | went down to 1.347 |
04:06.48 | sysrage | ya, i just spent a ton of silver flying all over the place. i don't think zoning is a problem. seems to be releasing mem properly |
04:07.06 | sysrage | praag seems to use a lot, too heh |
04:10.39 | sysrage | nite |
04:13.19 | *** join/#waruidev Daegalus (n=Daegalus@four.alameda.net) |
04:16.14 | Jarika | when i create a window from template, can i somehow give the eventhandlers in the template a dynamic name, including the actual name of the window? $parent seems to not do the trick |
04:21.05 | Aiiane | nop |
04:21.15 | Aiiane | but you can register event handlers from lua instead of from XML if you want |
04:23.15 | Jarika | The normal RegisterEventHandlers function works there too? |
04:23.46 | Jarika | I'll check into that, thanks once again ;) |
04:24.29 | Jarika | but i'll do that tomorrow. Good night everyone |
04:25.34 | *** join/#waruidev Ratler (n=ratler@lunar-linux/developer/ratler) |
04:46.49 | zarious | why won't window cleaner remember my settings... |
04:46.51 | zarious | getting annoying |
04:50.13 | *** join/#waruidev NigelTufnel (n=Adam@d134h45.resnet.uconn.edu) |
04:57.42 | NigelTufnel | happy haloweeeen |
05:36.08 | Repo | 10debuffalert: 03Celestian * r12 DebuffAlert.lua: corrected colour error on some buffs/debuffs. |
05:53.13 | Repo | 10debuffalert: 03Celestian 04v1.9 * r13 : Tagging as v1.9. |
06:10.16 | *** join/#waruidev Andrew--` (n=nobody@66.183.27.55) |
06:34.44 | *** join/#waruidev gloaming- (n=gloaming@66.237.5.217) |
06:42.21 | *** part/#waruidev NigelTufnel (n=Adam@d134h45.resnet.uconn.edu) |
06:45.07 | *** join/#waruidev gloaming- (n=gloaming@66.237.5.217) |
06:52.09 | *** join/#waruidev Chryzo (n=dtc@92.80.119.170) |
07:06.32 | Repo | 10nrarity: 03Nemes * r48 source (4 files in 2 directories): Use lazy initialisation |
07:06.33 | Repo | Fix bug with trophy slot rarity not occurring on first startup |
07:06.37 | Repo | Fix bug with quests not showing rarity when opened from tracker |
07:22.46 | gloaming- | http://www.youtube.com/watch?v=EQiSgWGAc24 uh huh. |
08:25.41 | Branderic | wtf |
08:27.41 | *** join/#waruidev Gruh (n=chatzill@c-71-195-76-89.hsd1.pa.comcast.net) |
08:29.09 | *** join/#waruidev benny (n=benny@i577A0F35.versanet.de) |
08:38.49 | Repo | 10libgui: 03Aiiane * r17 LibGUI.lua: Make comboboxes fail gracefully and return nil if you try to get the selected item/index when there aren't any. |
09:39.22 | *** join/#waruidev Ratler (n=ratler@lunar-linux/developer/ratler) |
09:40.53 | *** join/#waruidev Slakah (n=Slakah@5acd4394.bb.sky.com) |
09:53.01 | Andrew--` | Anyone know why when I do a string comparison between what should be two equivelent strings returns false? ie, buff.name == L"Sigmar's Fist" returns false. |
09:54.29 | Aiiane | maybe it has grammar markup on it? |
09:55.13 | Aiiane | dunno why it would, but you never know |
09:58.18 | Andrew--` | Hmm, not sure what I can do with that |
09:58.36 | Andrew--` | Since L"Sigmar's Fist" == L"Sigmar\'s Fist" |
10:00.34 | Aiiane | grammar markup is something specified to WAR |
10:00.34 | Aiiane | namely, some extra invisible characters that are tacked on the end of the string |
10:00.35 | Aiiane | you might try doing |
10:00.35 | Aiiane | (buff.name):sub(1,13) == L"Sigmar's Fist" |
10:00.41 | Aiiane | that way it's only comparing the first 13 characters |
10:01.06 | Andrew--` | Is there any way to get, say, a hex dump of a wstring? |
10:01.22 | Aiiane | um, you could write a function to iterate through it and dump out the values |
10:03.14 | Aiiane | nums={} for i=1,wstring.len(myStr) do table.insert(nums, wstring.byte(myStr:sub(i,i))) end |
10:03.33 | Aiiane | would give you the array nums where each value is equal to the byte-value of that position |
10:05.05 | Aiiane | here, actually |
10:05.06 | Aiiane | do this |
10:05.08 | Aiiane | ingame |
10:05.10 | Aiiane | <PROTECTED> |
10:05.13 | Aiiane | then you can do |
10:05.19 | Aiiane | <PROTECTED> |
10:05.29 | Aiiane | and it'll dump out each individual character in order to the debug console |
10:05.47 | Aiiane | including any markup characters at the end |
10:06.11 | Aiiane | (since the ^ only gets treated as markup if there are actually more characters in what's being printed) |
10:09.20 | Aiiane | alternatively |
10:10.03 | Aiiane | you can just do |
10:10.08 | Aiiane | d(mystr:gsub(L"%^", L"|")) |
10:10.21 | Aiiane | and then it will print out the markup as | followed by some characters |
10:10.25 | Andrew--` | Has 94, 110 tacked onto the end |
10:10.53 | Aiiane | yep |
10:11.26 | Andrew--` | Not sure what 6e is, but 5e is the carat. :/ |
10:11.36 | Aiiane | so, the solution is to just use :sub(1,len(whatimsearchingfor)) before comparing |
10:11.40 | Aiiane | to only compare the same number of chars |
10:12.41 | Aiiane | 6e is 'n' :P |
10:12.47 | Andrew--` | Yeah, just looked it up |
10:12.51 | Andrew--` | hmm. |
10:12.52 | Aiiane | most likely for "neutral" |
10:12.58 | Aiiane | as opposed to masculine or feminine |
10:21.14 | Aiiane | http://www.aiiane.net/images/sqc3.jpg |
10:29.55 | Aiiane | oki, sleepytime for me |
10:29.56 | Aiiane | night~ |
10:38.13 | *** join/#waruidev Werelds (n=ask@cm1113418-a.maast1.lb.home.nl) |
10:42.42 | *** part/#waruidev Slakah (n=Slakah@5acd4394.bb.sky.com) |
11:10.30 | Branderic | http://www.youtube.com/watch?v=tDgS6qLsVM4 |
11:25.32 | *** join/#waruidev Jarika (n=ordan@mnhm-590f5a78.pool.einsundeins.de) |
12:10.46 | *** join/#waruidev Haloperidol (i=c35t04s5@p57A0C6AE.dip.t-dialin.net) |
12:22.10 | *** join/#waruidev Ratler (n=ratler@lunar-linux/developer/ratler) |
13:34.43 | *** join/#waruidev Deadhawk (n=kvirc@79-65-255-35.dynamic.dsl.as9105.com) |
14:45.18 | *** part/#waruidev benny (n=benny@i577A0F35.versanet.de) |
14:46.58 | *** join/#waruidev benny (n=benny@i577A0F35.versanet.de) |
15:19.05 | *** join/#waruidev Nyborek (n=kero@dslb-088-073-076-170.pools.arcor-ip.net) |
15:20.49 | *** part/#waruidev Nyborek (n=kero@dslb-088-073-076-170.pools.arcor-ip.net) |
15:49.27 | *** join/#waruidev Odlaw (n=ozzy@c-98-245-75-224.hsd1.co.comcast.net) |
16:42.45 | *** join/#waruidev Amadeo (n=amadeo@c-69-139-228-203.hsd1.md.comcast.net) |
16:59.53 | *** join/#waruidev Cairenn (n=Cairenn@MMOI/Administratrix/Cairenn) |
16:59.53 | *** mode/#WARUIDev [+o Cairenn] by ChanServ |
17:02.21 | *** join/#waruidev NigelTufnel (n=Adam@d134h45.resnet.uconn.edu) |
17:08.50 | *** join/#waruidev smcn (i=smcn@75-164-149-61.ptld.qwest.net) |
17:28.05 | *** join/#waruidev Amadeo (n=amadeo@c-69-139-228-203.hsd1.md.comcast.net) |
17:37.05 | Jarika | so quiet here... frightening |
17:37.30 | NigelTufnel | everyones just hungover/drunk still |
17:38.45 | Amadeo | Or playing! My server is no longer a wasteland :D |
17:39.11 | NigelTufnel | haha, maybe mine will begin improving too then |
17:47.42 | Jarika | hmm, any idea if you can get events for custom keybinds, like something bound to Hotkey Button 84 (or manually specified) ? |
18:11.46 | *** join/#waruidev Thunder_Child (i=TC@cpe-76-169-230-188.socal.res.rr.com) |
18:22.30 | *** join/#waruidev Ratler (n=ratler@lunar-linux/developer/ratler) |
18:26.00 | *** join/#waruidev Nyborek (n=kero@dslb-088-073-076-170.pools.arcor-ip.net) |
18:26.15 | *** part/#waruidev Nyborek (n=kero@dslb-088-073-076-170.pools.arcor-ip.net) |
18:30.33 | Jarika | did window cleaner stop working? I updated (i think, had the curse client update all addons), and now i can't hide the groupbuffs |
18:32.53 | *** part/#waruidev Amadeo (n=amadeo@c-69-139-228-203.hsd1.md.comcast.net) |
18:49.03 | *** join/#waruidev Nyborek (n=kero@dslb-088-073-076-170.pools.arcor-ip.net) |
18:49.05 | *** part/#waruidev Nyborek (n=kero@dslb-088-073-076-170.pools.arcor-ip.net) |
19:06.49 | *** join/#waruidev Thunder_Child (i=TC@cpe-76-169-230-188.socal.res.rr.com) |
19:09.58 | *** join/#waruidev Ratler_ (n=ratler@c83-255-48-163.bredband.comhem.se) |
19:49.47 | NigelTufnel | if a function has an OnUpdate function |
19:49.53 | NigelTufnel | can you turn it on and off at times |
19:50.10 | NigelTufnel | or is a state based return every second not an issue at all |
19:55.10 | Jarika | I think you can't turn it off |
19:55.23 | Jarika | and it happens about 20 times or so per second |
19:56.11 | Jarika | on thewarwiki is a good example how you build a timer that only triggers every second or 2 with that |
19:56.17 | Jarika | if thats what you're asking |
19:56.42 | NigelTufnel | sorry blanked out |
19:56.55 | NigelTufnel | and no I already understand how to implement a timers based on delay |
19:57.02 | NigelTufnel | im asking if you can make it not trigger at all |
19:57.10 | NigelTufnel | like register the event and then unregister it |
19:57.20 | NigelTufnel | when appropriate to increase performance |
19:57.46 | NigelTufnel | but my thought is just bailing out of the onupdate based on a state isnt that big of a deal for performance, but not ideal |
19:57.52 | Jarika | I don't think so, at least haven't figured out how. If you find out let me know, i could use that too |
19:58.07 | NigelTufnel | ya il give it a look, but ya, not sure if its even possible |
19:58.34 | Jarika | Yeah thats what i do too, first think in onupdate i check a state, if its false i return immediately, don't even update the time |
19:58.36 | Jarika | timer |
19:59.53 | Jarika | What might work is to build a central OnUpdate addon, that other addons then register and unregister to. That way only one OnUpdate gets called and that one calls the single addons-onUpdate functions. But i have no idea really how to program a handler and i'm busy with my other addon to try it out |
20:00.20 | Jarika | Not sure though if it would really give a good enough performance increase to try |
20:00.49 | NigelTufnel | ya |
20:01.14 | NigelTufnel | that basically sums it up heh |
20:01.39 | Jarika | I mean i just had my OnUpdate output a debug message each time, it really spammed my debug window, was so fast, but didn't notice any performance loss, so guess exiting in the first line isn't really that bad |
20:01.59 | NigelTufnel | ya, thats what I have been doing too heh |
20:02.20 | NigelTufnel | but my comp doesnt care about performance of stuff like that, but im trying to keep the older computers in mind heh |
20:02.34 | NigelTufnel | but ya, a few onupdate's arent deal breakers for performance |
20:14.45 | Werelds | (20:55:24) (Jarika) and it happens about 20 times or so per second <-- it happens <insert your FPS here> times per second ;) |
20:14.51 | Werelds | in my case, that's way more than 20 :p |
20:15.00 | Werelds | (21:00:21) (Jarika) Not sure though if it would really give a good enough performance increase to try |
20:15.00 | NigelTufnel | haha ya |
20:15.02 | Werelds | and no |
20:15.27 | Werelds | it's way more efficient to let each addon take care of its onupdate throttling on its own |
20:15.47 | Werelds | and even then, you'd never get everyone to rely on a central addon |
20:16.14 | Werelds | look at wow, you've got rock, ace and non-framework addons, and in each of those categories there are good and bad ones |
20:16.24 | Werelds | it all depends on the programmer :) |
20:17.00 | NigelTufnel | ya, good points |
20:17.19 | Jarika | yup I know. I was jsut saying "I think the only way to register/unregister from onUpdate is to make a central hub addon that handles all that, then you can register/unregister there" |
20:17.41 | NigelTufnel | ya, theres no other on/off switch out there |
20:17.52 | Werelds | yeah okay, but it's not as if it's a performance hit if you bail out on the 2nd line |
20:18.06 | Jarika | I said that too :) |
20:18.10 | NigelTufnel | ya thats kinda what i was asking =] |
20:18.22 | Werelds | hell, i doubt it would even make a serious difference if you did it on the 50th line |
20:18.23 | Jarika | Would still be nicer if you could switch it off |
20:18.24 | NigelTufnel | but ya its such a trivial math |
20:18.32 | Werelds | the performance hit really is negligible :p |
20:18.37 | NigelTufnel | ya |
20:19.10 | zarious | so long as you aren't doing massive operations in onupdate, its negligible |
20:19.13 | Jarika | its not about performance its about not having my debug log spammed with 50 "OnUpdate" not found, if i somehow screwed up again, and the addon didn't load :) |
20:20.46 | Werelds | well, that's easy to solve |
20:21.02 | Werelds | you don't use the .mod stuff to register onupdate |
20:21.03 | Werelds | ;) |
20:21.12 | Werelds | instead, you do it in the code, in an init function |
20:21.15 | Werelds | problem solved, no spam! |
20:21.27 | zarious | yeah |
20:21.29 | Werelds | no init = no register = no spam |
20:21.55 | Aiiane | just fyi |
20:22.06 | Aiiane | SystemData.Events.UPDATE_PROCESSED is equivalent to OnUpdate |
20:22.20 | Aiiane | you can dynamically register/unregister the first with RegisterEventHandler |
20:22.27 | zarious | RegisterEventHandler(System.Data.Events.UPDATE_PROCESSED, "someglobalfunc") |
20:22.29 | zarious | damnit |
20:23.55 | NigelTufnel | aiiane, thats perfect =] |
20:23.57 | NigelTufnel | thanks |
20:27.56 | *** join/#waruidev Ratler (n=ratler@lunar-linux/developer/ratler) |
20:42.19 | *** join/#waruidev Darktao (i=no@user-160v1vc.cable.mindspring.com) |
20:45.25 | Repo | 10libstats2: 03pwerelds 041.01 * r8 : |
20:45.26 | Repo | Tagging it all as 1.01, which is the final version for now. I don't play WAR anymore (darn them people who got me into it and then quit), so if anyone wants to work on it further, catch me on IRC > Werelds @ irc.freenode.net/WARUIDev ;) |
20:45.50 | Werelds | hrm i hope that one went ok |
20:45.51 | Werelds | >_< |
20:47.36 | Jarika | Ah nice Aiiane, thanks. Now i can unregister it when i don't need the updates. |
20:48.21 | Werelds | just as a general suggestion: there's no need to use the On*** directives in the .mod files, so i wouldn't use them at all :) |
20:48.40 | Aiiane | OnInitialize is useful. |
20:48.59 | Aiiane | It provides an easy way to see where one should be looking in the code for initialization stuff. |
20:49.11 | Werelds | true, since the api is quite weird about that |
20:49.21 | Werelds | but onupdate and onshutdown aren't really needed |
20:50.28 | Werelds | anyone here know a lot about LDAP btw? warning up front: i'll be pestering you lots in about a week or so :P |
20:50.33 | Jarika | But except counting down time each update tick like in the warwiki tutorial there's no way to throttle it, right? |
20:50.54 | Aiiane | you can't throttle events aside from counting them yourself. |
20:51.19 | Jarika | I guessed so, but can't hurt to ask |
20:51.47 | zarious | is there a way to check if you've completed a quest? |
20:54.30 | Jarika | Next question which I guess I know the answer to as well: Is there a way to check if a spell is currently casting? Right now I'm monitoring begin and end cast events and set a boolean manually. works fine, but is there perhaps a function already that does that better? |
20:55.08 | zarious | theres prob a castingtimer variable you can just check for it its not 0 |
20:55.34 | zarious | look at how the default casting bar works and see which globals it uses |
20:56.02 | Jarika | hmm... that could work, maybe, i'll check it. |
21:03.09 | Aiiane | or you could just check and see if the cast bar is showing. |
21:03.24 | Jarika | Hmm, thats probably even easier |
21:04.59 | Jarika | Oh and another question for our resident addon god: when hotkeys are pressed like "Hotkey Button 84", do they trigger an event or something that an addon can use and do something on it? Or another way to react to a specific key? |
21:14.39 | Repo | 10debuffalert: 03Celestian * r14 DebuffAlert.lua: forcing update on curseforge. |
21:20.05 | Aiiane | Jarika: no, they don't trigger an event (except OnRawDeviceInput, but you can't register for that globally, and trying to register it for Root will disable all actual world input, so you can't do things like, well, move) |
21:23.07 | *** join/#waruidev Ratler (n=ratler@lunar-linux/developer/ratler) |
21:30.43 | Repo | 10debuffalert: 03Celestian 04v19 * r15 : Tagging as v19. |
21:33.09 | Jarika | Aiiane: That sucks... On german keyboard the - is where / is on the US one, and won't open the chatline with a /. Hoped i could catch - being pressed and manually do that. |
21:33.51 | Jarika | or is there actually a config option for that and i missed it all the time? |
21:35.36 | Aiiane | don't believe so, no |
21:35.46 | Aiiane | but |
21:35.56 | Aiiane | you could make a macro to open the chat box |
21:36.03 | Aiiane | and put it on a hotbar slot bound to - |
21:36.26 | Aiiane | and that would accomplish what you're trying to do |
21:37.29 | Jarika | I knew it was a good idea to ask, I never think of such easy solutions :) |
21:37.49 | Aiiane | basically, right now |
21:37.56 | Aiiane | if you want keyboard input to trigger something |
21:38.01 | Aiiane | it probably involves a macro |
21:39.06 | Jarika | I always forget we have them too :) |
21:43.47 | Jarika | why is it always the small things that mess up my addons... like = instead of == or my alltime favorite, missing comma in a table ... |
21:53.01 | *** join/#waruidev ckknight (n=Cameron@WoWUIDev/WoWAce/CurseStaff/CurseForge/ckknight) |
21:53.01 | *** mode/#WARUIDev [+o ckknight] by ChanServ |
21:53.05 | ckknight | in #curseforge |
21:53.09 | ckknight | urg |
21:59.14 | Aiiane | Jarika: learn to use luac -p |
21:59.19 | Aiiane | it's your friend :) for that kind of thing |
22:05.36 | *** join/#waruidev Ackis (n=asdf@WoWUIDev/WoWAce/ARL/Troll/Ackis) |
22:05.51 | Jarika | now if I knew what luac was... |
22:06.20 | Jarika | thinking of it... judging from the name most likely lua compiler |
22:07.00 | NigelTufnel | or a .2 second google search =P |
22:11.31 | NigelTufnel | hmmm, why is my saved variable file being made read only.. |
22:15.35 | Jarika | windows vista? |
22:21.35 | Aiiane | hmm... so, Squared now has 27 different files if you include the couple of base plugins I maintain... >.> |
22:22.20 | Aiiane | and will probably have at least 30 once I finish with SquaredConfigurator |
22:23.10 | Jarika | yeah its crazy how you manage all that |
22:23.25 | Aiiane | a lot of tabs in notepad++ :P |
22:23.27 | Jarika | i get lost in my one or two files already :) |
22:23.36 | Aiiane | well |
22:23.42 | Aiiane | I try to compartmentalize things logically |
22:24.06 | Jarika | yeah, can't say i don't see a system behind your many files |
22:24.12 | Aiiane | for instance, SquaredConfigurator is basically a main menu, that lets you select what panel you want to see, and then a bunch of panels, each of which is a set of options |
22:24.22 | Aiiane | so SquaredConfigurator has its own lua file |
22:24.26 | Aiiane | and then each panel has a lua file |
22:24.39 | Aiiane | so, you want to change something on a panel, you know exactly what file to go to |
22:25.12 | Aiiane | and it's actually a bit easier |
22:25.18 | Aiiane | because SquaredConfigurator uses LibGUI |
22:25.26 | Aiiane | so you don't have both an XML and a Lua file for each panel |
22:25.29 | Aiiane | it's just a Lua file |
22:25.42 | Branderic | good organization makes it easier to program while drunk or while being waterboarded |
22:25.49 | Jarika | libgui is released now? |
22:25.49 | Aiiane | o_o |
22:26.00 | Aiiane | Jarika: not officially released; I've posted a beta or two |
22:26.15 | Jarika | damn, should have known that a day or two ago... |
22:26.19 | Aiiane | using it for SquaredConfigurator is helping me find some kinks to correct before officially releasing it |
22:26.43 | Aiiane | since I'm basically putting it through its paces, noticing what's missing that should be there, or what's broken, etc |
22:26.45 | Jarika | next time i need to build a gui i'll have a look at it |
22:27.06 | Jarika | but changing mine to use libgui would be a bit stupid |
22:27.14 | Aiiane | hehe :) |
22:28.55 | Aiiane | 8 config panels done |
22:28.57 | Aiiane | 2-3 more to go |
22:33.52 | Branderic | I renamed my squared to rectangled because I changed the sides to not be proportional |
22:36.04 | Jarika | Thats unauthorised modification and you just lost your warranty |
22:36.17 | Jarika | ;) |
22:37.25 | Branderic | Noooo! |
22:52.32 | NigelTufnel | very odd, my addon keeps telling me "Unable to open file: SavedVariables.lua" |
22:52.37 | NigelTufnel | no idea why |
22:57.56 | *** join/#waruidev Wobin (n=Wobin@124-168-153-124.dyn.iinet.net.au) |
22:58.02 | Aiiane | is the saved variable set to nil |
22:58.31 | NigelTufnel | ya, just testing something, I thought I set it |
22:58.35 | NigelTufnel | but I was just thinking that |
23:00.36 | NigelTufnel | oo thats why, i set it as local |
23:01.58 | NigelTufnel | =\, maybe im wrong |
23:04.52 | NigelTufnel | ya so its all better now, it was just because it was local + nil |
23:05.40 | Aiiane | local would do it |
23:05.44 | Jarika | yeah if there's nothing to save the file is 0 byte, and then it won't load. doesn't matter though the addon still loads |
23:05.51 | NigelTufnel | haha ya |
23:05.51 | Aiiane | since savedvariables have to be global :) |
23:06.08 | NigelTufnel | ya, makes a lot of sense |
23:06.15 | NigelTufnel | just didnt see it |
23:06.28 | *** join/#waruidev Thunder_Child (i=TC@cpe-76-169-230-188.socal.res.rr.com) |
23:06.58 | Jarika | i sometimes manage to wipe my settings, usually when i messed up my code so it breaks of with a nil reference or something during initialisation, thats normal too? |
23:07.17 | Jarika | kinda like settings get loaded, file cleared, addon crashes, nothing gets saved |
23:08.13 | NigelTufnel | ya |
23:08.15 | NigelTufnel | hate that |
23:11.34 | Jarika | well at least if i want to keep my settings, now i make a backup before i start messing around with it. |
23:40.03 | *** join/#waruidev NigelTufne1 (n=Adam@d134h45.resnet.uconn.edu) |
23:42.45 | art3mis | boobies |
23:42.51 | art3mis | err hi |