00:13.19 | *** join/#wowace Torhal (~callahan@74-141-246-74.dhcp.insightbb.com) |
00:13.19 | *** mode/#wowace [+v Torhal] by ChanServ |
00:14.06 | *** join/#wowace Wizardling (Durandal@ip-118-90-115-121.xdsl.xnet.co.nz) |
00:18.31 | *** join/#wowace ccKep (~Kep@188-194-178-144-dynip.superkabel.de) |
00:20.21 | Repo | 10heatsink: 03durcyn 07master * 0b5a630 / (3 files in 1 directory): [+1 commit] add localizations, apparently someone's actually been entering them on the web interface? |
00:20.33 | Repo | 10heatsink: 03durcyn 043.3.5.5 * 65ebf30 /: [new tag] 3.3.5.5 |
00:30.19 | *** join/#wowace Aens|Superiority (~a@76-10-141-48.dsl.teksavvy.com) |
00:32.19 | *** join/#wowace Torhal (~callahan@74-141-246-74.dhcp.insightbb.com) |
00:32.19 | *** mode/#wowace [+v Torhal] by ChanServ |
00:40.00 | *** join/#wowace |mascondante| (~kvirc@pool-72-71-116-103.atl01.dsl-w.verizon.net) |
00:50.14 | *** join/#wowace Torhal (~callahan@74-141-246-74.dhcp.insightbb.com) |
00:50.14 | *** mode/#wowace [+v Torhal] by ChanServ |
00:51.39 | *** join/#wowace Funkeh` (~funk@WoWUIDev/WoWAce/Ace3/BigWigs/funkeh) |
00:51.39 | *** mode/#wowace [+o Funkeh`] by ChanServ |
00:57.40 | *** join/#wowace orionshock_ (~orionshoc@ip68-226-29-3.tc.ph.cox.net) |
00:59.27 | *** join/#wowace Humbedooh^ZZzz (~Humbedooh@port530.ds1-op.adsl.cybercity.dk) |
01:14.30 | *** join/#wowace Cralor` (~cralor@c-75-68-70-97.hsd1.ma.comcast.net) |
01:16.08 | *** join/#wowace Torhal (~callahan@74-141-246-74.dhcp.insightbb.com) |
01:16.08 | *** mode/#wowace [+v Torhal] by ChanServ |
01:18.46 | *** join/#wowace Next96 (Next96@121.129.140.105) |
01:19.23 | *** join/#wowace bluspacecow (~bluspacec@60-234-165-167.bitstream.orcon.net.nz) |
01:30.59 | *** join/#wowace orionshock__ (~orionshoc@ip68-226-29-3.tc.ph.cox.net) |
01:33.21 | *** join/#wowace Transformer (~Transform@ool-4a59e397.dyn.optonline.net) |
01:33.50 | *** part/#wowace Transformer (~Transform@ool-4a59e397.dyn.optonline.net) |
01:38.02 | *** join/#wowace Torhal (~callahan@74-141-246-74.dhcp.insightbb.com) |
01:38.02 | *** mode/#wowace [+v Torhal] by ChanServ |
01:53.57 | *** join/#wowace bluspacecow (~bluspacec@60-234-165-167.bitstream.orcon.net.nz) |
01:56.17 | bluspacecow | anyone have OS X 10.5.8 here ? ... trying to figure out why my kernel_tas is taking up 26 - 30 % of my CPU |
01:58.04 | *** join/#wowace Torhal (~callahan@74-141-246-74.dhcp.insightbb.com) |
01:58.04 | *** mode/#wowace [+v Torhal] by ChanServ |
02:00.31 | *** join/#wowace Nechckn (Nechckn@WoWUIDev/Norganna/Admin/Nechckn) |
02:00.31 | *** mode/#wowace [+v Nechckn] by ChanServ |
02:17.56 | *** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com) |
02:17.56 | *** mode/#wowace [+v Torhal_] by ChanServ |
02:21.44 | *** join/#wowace FernandoLop (~root@190.233.20.128) |
02:30.41 | *** join/#wowace Axodious (~6z9a@modemcable106.115-23-96.mc.videotron.ca) |
02:46.57 | *** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com) |
02:46.57 | *** mode/#wowace [+v Torhal_] by ChanServ |
03:14.07 | *** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com) |
03:14.07 | *** mode/#wowace [+v Torhal_] by ChanServ |
03:39.40 | *** join/#wowace Kaelten (~Kaelten@WoWUIDev/WoWAce/WoWIFA/CurseStaff/kaelten) |
03:39.41 | *** mode/#wowace [+o Kaelten] by ChanServ |
03:40.06 | *** join/#wowace Adys (~Adys@unaffiliated/adys) |
03:40.45 | *** join/#wowace DarkAudit (~Brian@c-98-236-98-13.hsd1.wv.comcast.net) |
03:51.41 | *** join/#wowace Silowyi (~silowyi_d@99-5-223-222.lightspeed.snantx.sbcglobal.net) |
03:55.17 | *** join/#wowace tekkub (~tekkub@WoWUIDev/WoWI/Featured/Dongle/GitHub/Tekkub) |
03:55.17 | *** mode/#wowace [+v tekkub] by ChanServ |
04:02.34 | *** join/#wowace ausmara (~syeren@cpc2-salf5-2-0-cust876.10-2.cable.virginmedia.com) |
04:05.20 | *** join/#wowace Humbedooh^ZZzz (~Humbedooh@port530.ds1-op.adsl.cybercity.dk) |
04:05.28 | *** join/#wowace Sesshu (~Sesshu@ip-137-17.travedsl.de) |
04:25.25 | *** join/#wowace asmodai (asmodai@dhammapada.xs4all.nl) |
04:37.56 | starlon | My Mom's coworker was telling people it would take a week to 7 days for their refunds to be processed. |
04:50.36 | quiescens | o.o |
05:09.46 | *** join/#wowace RaydenUni (~rayden@ip68-5-22-175.oc.oc.cox.net) |
05:13.03 | *** join/#wowace the-golem (~Darrin@c-98-255-201-176.hsd1.ca.comcast.net) |
05:43.31 | Repo | 10gathermate_data: 03kagaro * r318 version: GatherMate_Data: Weekly update |
05:43.38 | Repo | 10gathermate_data: 03kagaro 04v2.16 * r319 : GatherMate_Data: weekly update |
06:32.22 | *** join/#wowace Tinyboom (~nahh@c91FD653E.dhcp.bluecom.no) |
06:35.55 | *** join/#wowace Jygga (ordog@f053015062.adsl.alicedsl.de) |
06:35.56 | *** join/#wowace Jygga (ordog@unaffiliated/jygga) |
06:37.57 | *** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com) |
06:37.57 | *** mode/#wowace [+v Torhal_] by ChanServ |
06:39.54 | *** join/#wowace robokitty (~roboe@50A2E6C0.flatrate.dk) |
06:45.39 | *** join/#wowace daev (~bleh@pool-72-86-110-88.aubnin.fios.verizon.net) |
06:48.15 | *** join/#wowace the-golem (~Darrin@c-98-255-201-176.hsd1.ca.comcast.net) |
06:51.48 | *** join/#wowace the-golem (~Darrin@c-98-255-201-176.hsd1.ca.comcast.net) |
06:55.28 | Connor1 | Any XP grinding spot at 67 I should know about? |
06:57.44 | Niv | just quest |
06:58.14 | *** join/#wowace the-golem (~Darrin@c-98-255-201-176.hsd1.ca.comcast.net) |
06:59.37 | Connor1 | Found one. |
07:01.06 | *** join/#wowace the-golem (~Darrin@c-98-255-201-176.hsd1.ca.comcast.net) |
07:08.43 | *** join/#wowace evl (~evl@unaffiliated/evl) |
07:16.23 | Connor1 | Hmm |
07:22.13 | Connor1 | Oh |
07:22.15 | Connor1 | These mobs give no XP |
07:26.15 | *** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com) |
07:26.15 | *** mode/#wowace [+v Torhal_] by ChanServ |
07:35.49 | *** join/#wowace airtonix (~airtonix@unaffiliated/airtonix) |
07:47.43 | *** join/#wowace harl (harl@dslb-088-077-194-188.pools.arcor-ip.net) |
07:48.12 | harl | hi |
07:53.40 | *** join/#wowace Megalon (~Megalon@d86-32-171-172.cust.tele2.at) |
07:56.04 | sylvanaar | oh hey - no "i find automatic mining addon " spam today |
07:57.45 | Humbedooh^ZZzz | you sound disappointed |
07:58.23 | *** join/#wowace Dashkal (~dashkal@WoWUIDev/Nexus/dashkal) |
08:02.34 | *** join/#wowace Repo (~supybot@repos.curseforge.net) |
08:09.25 | *** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com) |
08:09.25 | *** mode/#wowace [+v Torhal_] by ChanServ |
08:10.34 | *** join/#wowace Repo (~supybot@repos.curseforge.net) |
08:17.09 | *** join/#wowace Caleb| (~caleb@dsl51B78A9F.pool.t-online.hu) |
08:21.10 | *** join/#wowace stolenlegacy (~stolenleg@d86-33-159-51.cust.tele2.at) |
08:24.43 | *** join/#wowace CrazyBenny (~s_m@actplus.cust.sloane.cz) |
08:29.20 | *** join/#wowace Srosh (~Srosh@d038105.adsl.hansenet.de) |
08:31.25 | *** join/#wowace profalbert (~profalber@188-23-211-78.adsl.highway.telekom.at) |
08:41.16 | *** join/#wowace silentium (silentium@dslb-088-066-018-098.pools.arcor-ip.net) |
08:43.33 | *** join/#wowace profalbert1 (~profalber@91-113-14-200.adsl.highway.telekom.at) |
08:51.04 | *** join/#wowace VonhintenHOME` (~Kiss@c-71-203-110-77.hsd1.fl.comcast.net) |
09:50.09 | quiescens | o.o |
09:50.10 | ccKep | guess I actually fell in love with blizzards new raid UI stuff (raid frames are a huge step in the right direction, and - even more important - this smoke-signal thingie.. lovin it :D) |
09:52.57 | *** join/#wowace Yogibear75 (~Andreas@p57AA360F.dip.t-dialin.net) |
09:53.00 | *** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com) |
09:53.00 | *** mode/#wowace [+v Torhal_] by ChanServ |
09:54.41 | *** part/#wowace Yogibear75 (~Andreas@p57AA360F.dip.t-dialin.net) |
09:57.52 | *** join/#wowace Ali1331 (~ali.neowi@213.83.80.129) |
10:07.54 | Repo | 10raidbuffstatus: 03danielbarron 04v3.267-beta * r371 : RaidBuffStatus: |
10:07.56 | Repo | - Tagged as beta. For Pidgeon. |
10:37.25 | *** join/#wowace ShadniX (~shadow1st@pD9E2B440.dip.t-dialin.net) |
11:12.58 | *** join/#wowace Next96 (Next96@121.129.140.105) |
11:37.06 | *** join/#wowace evl (~evl@unaffiliated/evl) |
11:39.51 | *** join/#wowace Copperman (~Copperman@host81-152-92-174.range81-152.btcentralplus.com) |
11:45.12 | *** join/#wowace Kalroth (kalroth@3e6bae47.rev.stofanet.dk) |
11:46.10 | *** join/#wowace faCe| (~face@p5489DF90.dip.t-dialin.net) |
11:56.22 | *** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com) |
11:56.22 | *** mode/#wowace [+v Torhal_] by ChanServ |
12:10.54 | *** join/#wowace nevcairiel (~nev@WoWUIDev/WoWAce/Ace3/nevcairiel) |
12:10.55 | *** mode/#wowace [+o nevcairiel] by ChanServ |
12:23.04 | *** join/#wowace Fargos (~tus@manz-590f0533.pool.mediaWays.net) |
12:26.31 | *** join/#wowace Sliker (~ponies@5e0b5116.bb.sky.com) |
12:28.23 | *** join/#wowace Xinhuan (~xinhuan@WoWUIDev/WoWAce/xinhuan) |
12:28.23 | *** mode/#wowace [+v Xinhuan] by ChanServ |
12:45.47 | *** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com) |
12:45.47 | *** mode/#wowace [+v Torhal_] by ChanServ |
12:46.27 | *** join/#wowace Axodious (~6z9a@modemcable106.115-23-96.mc.videotron.ca) |
13:01.50 | *** join/#wowace ccKep (~Kep@188-194-178-144-dynip.superkabel.de) |
13:10.58 | *** join/#wowace AKX (akx@dsl-tkubrasgw1-fe90f800-13.dhcp.inet.fi) |
13:17.03 | *** join/#wowace Srosh_ (~Srosh@d038105.adsl.hansenet.de) |
13:20.03 | *** join/#wowace Nickenyfiken (~Miranda@c83-255-99-211.bredband.comhem.se) |
13:44.23 | *** join/#wowace FireAllianceNX (~leon@cpe-98-14-99-50.nyc.res.rr.com) |
13:45.25 | *** part/#wowace Copperman (~Copperman@host81-152-92-174.range81-152.btcentralplus.com) |
13:47.15 | *** join/#wowace Funkeh` (~funk@WoWUIDev/WoWAce/Ace3/BigWigs/funkeh) |
13:47.15 | *** mode/#wowace [+o Funkeh`] by ChanServ |
13:56.39 | *** join/#wowace Jagobah (~ljugo@74-141-112-78.dhcp.insightbb.com) |
14:01.02 | ramoz | ccKep: got a ss of the new raidframes? |
14:23.30 | *** join/#wowace Tinyboom_ (~nahh@c91FD653E.dhcp.bluecom.no) |
14:34.52 | *** join/#wowace Odlaw (~ozzy@c-98-245-3-204.hsd1.co.comcast.net) |
14:39.28 | *** join/#wowace Copperman (~Copperman@host81-152-92-174.range81-152.btcentralplus.com) |
14:43.17 | *** join/#wowace Legorol (~legorol@cpc8-sgyl28-2-0-cust43.sgyl.cable.virginmedia.com) |
14:51.04 | *** join/#wowace ckknight (~ckknight@WoWUIDev/WoWAce/CurseStaff/CurseForge/ckknight) |
14:51.04 | *** mode/#wowace [+o ckknight] by ChanServ |
14:52.02 | *** join/#wowace lozon (~lozon@CPE0018f85e6502-CM001a66710456.cpe.net.cable.rogers.com) |
15:10.24 | *** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com) |
15:10.24 | *** mode/#wowace [+v Torhal_] by ChanServ |
15:21.55 | *** join/#wowace Silowyi (~silowyi_d@99-5-223-222.lightspeed.snantx.sbcglobal.net) |
15:26.04 | *** join/#wowace Copperman (~Copperman@host81-152-92-174.range81-152.btcentralplus.com) |
15:30.21 | *** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com) |
15:30.21 | *** mode/#wowace [+v Torhal_] by ChanServ |
15:30.28 | *** join/#wowace Lysithea (Lyset@c-92a572d5.017-172-73746f34.cust.bredbandsbolaget.se) |
15:38.23 | *** join/#wowace Kaelten (~Kaelten@WoWUIDev/WoWAce/WoWIFA/CurseStaff/kaelten) |
15:38.23 | *** mode/#wowace [+o Kaelten] by ChanServ |
15:48.19 | *** join/#wowace Kilroo (~Kilroo@174.111.58.51) |
15:55.14 | *** join/#wowace syeren (~syeren@cpc2-salf5-2-0-cust876.10-2.cable.virginmedia.com) |
15:59.03 | *** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com) |
15:59.03 | *** mode/#wowace [+v Torhal_] by ChanServ |
16:08.08 | Repo | 10gathermate: 03kagaro 07cataclysm * r692 : Creating cata branch |
16:14.13 | *** join/#wowace Ingela (~Ingela@90-230-169-130-no35.tbcn.telia.com) |
16:20.46 | *** join/#wowace profalbert (~profalber@80-121-25-8.adsl.highway.telekom.at) |
16:33.33 | *** join/#wowace spode (~spode@213.21.91.195) |
16:34.30 | *** join/#wowace harl (harl@dslb-088-077-194-188.pools.arcor-ip.net) |
16:34.58 | *** join/#wowace Cralor` (~cralor@c-75-68-70-97.hsd1.ma.comcast.net) |
16:47.11 | *** join/#wowace evl (~evl@unaffiliated/evl) |
16:48.54 | *** join/#wowace NM|Xinhuan (~xinhuan@WoWUIDev/WoWAce/xinhuan) |
16:48.54 | *** mode/#wowace [+v NM|Xinhuan] by ChanServ |
16:51.26 | *** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com) |
16:51.26 | *** mode/#wowace [+v Torhal_] by ChanServ |
16:55.42 | *** join/#wowace Yssaril (~kvirc@99-57-32-25.lightspeed.cicril.sbcglobal.net) |
16:55.59 | *** join/#wowace SqueeG (~ZomgInter@cpe-24-161-96-151.hvc.res.rr.com) |
17:03.12 | *** join/#wowace Groktar (Groktar@c-76-20-77-109.hsd1.ca.comcast.net) |
17:06.00 | *** join/#wowace lozon (~lozon@CPE0018f85e6502-CM001a66710456.cpe.net.cable.rogers.com) |
17:24.24 | *** join/#wowace lozon_ (~lozon@CPE0018f85e6502-CM001a66710456.cpe.net.cable.rogers.com) |
17:27.22 | evl | How's inlining functions compared to calling them in speed? |
17:27.29 | *** join/#wowace lozon__ (~lozon@CPE0018f85e6502-CM001a66710456.cpe.net.cable.rogers.com) |
17:28.51 | *** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com) |
17:28.51 | *** mode/#wowace [+v Torhal_] by ChanServ |
17:30.16 | *** join/#wowace Fogger (~fogger@host109-152-40-51.range109-152.btcentralplus.com) |
17:31.10 | *** join/#wowace nuoHep (~nuohep@89.222.156.36) |
17:31.58 | *** join/#wowace daev (~bleh@pool-72-86-110-88.aubnin.fios.verizon.net) |
17:39.08 | *** join/#wowace the-golem (~Darrin@c-98-255-201-176.hsd1.ca.comcast.net) |
17:39.11 | *** join/#wowace Mochito (~smbdy@HSI-KBW-078-043-115-068.hsi4.kabel-badenwuerttemberg.de) |
17:39.39 | *** part/#wowace Mochito (~smbdy@HSI-KBW-078-043-115-068.hsi4.kabel-badenwuerttemberg.de) |
17:49.17 | Pneumatus | hahaha phishmail saying that my AION account may have been traded, which conflicts with Blizzard's EULA |
17:50.50 | durcyn | you didn't read the non-compete clause in the new EULA? thou shalt have no other gods before blizzard. |
17:55.43 | *** join/#wowace Wobin (~quassel@203-214-158-61.perm.iinet.net.au) |
17:55.43 | *** mode/#wowace [+v Wobin] by ChanServ |
17:56.08 | *** join/#wowace MoonWitch (~Kelly@d51A56B25.access.telenet.be) |
18:04.17 | *** join/#wowace nuoHep (~nuohep@89.222.156.36) |
18:09.04 | *** join/#wowace lozon (~lozon@CPE0018f85e6502-CM001a66710456.cpe.net.cable.rogers.com) |
18:11.35 | *** join/#wowace the-golem (~Darrin@c-98-255-201-176.hsd1.ca.comcast.net) |
18:15.08 | *** join/#wowace [SW]Dodge`oFF (dodge@ip01.vserver01.remolus.at) |
18:18.04 | *** join/#wowace BigRedBrent (~Brent@pool-72-86-75-100.aubnin.fios.verizon.net) |
18:22.16 | *** join/#wowace highvoltz (~mmmhmm@71.50.206.19) |
18:23.42 | *** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com) |
18:23.42 | *** mode/#wowace [+v Torhal_] by ChanServ |
18:26.50 | SqueeG | why is this slash command recognizing a number as a string? |
18:27.44 | BigRedBrent | as far as I knew all commands passed to the slash handler are outputted as strings |
18:28.59 | BigRedBrent | If you need to find a number I would suggest using the string.find function with the correct regular expression to find what you are looking for. |
18:29.30 | SqueeG | that's weird |
18:29.44 | Funkeh` | Not really |
18:29.56 | quiescens | moo |
18:30.07 | BigRedBrent | well it is the way I do it, I am sure someone knows of a better way |
18:31.09 | *** join/#wowace Tinyboom (~nahh@c91FD653E.dhcp.bluecom.no) |
18:31.22 | *** part/#wowace highvoltz (~mmmhmm@71.50.206.19) |
18:31.28 | BigRedBrent | So I figured out how to use the .pkgmeta file in the repository, but not so sure about the .docmeta file. I am pretty sure I put the luadoc code into the lua files correctly, and I think I uploaded the correctly formatted .docmeta file, but when I package the release I don't see any difference. Isn't an API page of some kind supposed to be generated? I am trying to get this documenter working so that the moderators will approve |
18:31.40 | BigRedBrent | Here is the location of my repository if it will help: |
18:31.40 | BigRedBrent | svn://svn.curseforge.net/wow/spellflashcore/mainline/trunk |
18:34.59 | SqueeG | type() should recognize a number as a number, not a string |
18:35.02 | SqueeG | and.... it's not |
18:35.08 | *** join/#wowace spode- (~spode@213.21.91.195) |
18:35.29 | *** join/#wowace TNSe (~evil@ti0042a380-3718.bb.online.no) |
18:35.59 | *** join/#wowace sylvanaar (~sylvanaar@unaffiliated/sylvanaar) |
18:35.59 | BigRedBrent | if the number is inside of a string it will recognize it as a string |
18:38.20 | BigRedBrent | if you are looking for only a number you can see if the string only contains a number and then convert the string into a number |
18:39.50 | SqueeG | hrm |
18:40.20 | *** join/#wowace spode (~spode@213.21.91.195) |
18:43.05 | BigRedBrent | local number = nil if string.find(slashcommand, "^%d+$") then number = tonumber(slashcommand) end if number then --[[do something with number]] end |
18:44.32 | SqueeG | mmmm |
18:45.29 | Repo | 10ihml: 03Ackis 07master * v2.7-6-g641dd04 / (2 files in 2 directories): [+2 commits] |
18:45.31 | Repo | 641dd04: Possibly break somethings to understand what's going on. Yes this is an alpha. If I am reading the code correctly, I would have never changed macros based on SubZoneText, so now I'm trying to do it for everything instead of RealZoneText. Also added MiniMapText as a fall back if SubZoneText is empty. |
18:45.32 | Repo | 34af00d: Add Ornolf the Scarred |
18:45.35 | SqueeG | or i could just try turning every string into a number |
18:45.42 | SqueeG | if nil, ignore it :D |
18:45.53 | SqueeG | it's only suppose to be accepting numbers anyway |
18:46.26 | BigRedBrent | local number = nil |
18:46.27 | BigRedBrent | if string.find(slashcommand, "^%d+$") then |
18:46.27 | BigRedBrent | <PROTECTED> |
18:46.27 | BigRedBrent | end |
18:46.27 | BigRedBrent | if number then |
18:46.27 | BigRedBrent | <PROTECTED> |
18:46.27 | BigRedBrent | end |
18:46.37 | BigRedBrent | what is, if you explain more it may help |
18:47.20 | BigRedBrent | what is giving the input? |
18:47.55 | SqueeG | the slash command |
18:48.05 | BigRedBrent | a slash command? like: /thisismyslashcommand 55 |
18:48.08 | SqueeG | yea |
18:48.14 | SqueeG | i'm screwing around with scaling |
18:48.38 | BigRedBrent | ok, well someone could use /thisismyslashcommand biteme |
18:48.44 | BigRedBrent | that would not be a number at all |
18:49.36 | SqueeG | exactly |
18:49.39 | SqueeG | and would be ignored |
18:50.03 | BigRedBrent | if I was you I would add a key word to the command so that this would work: /thisismyslashcommand scale 33 |
18:50.48 | SqueeG | Hai |
18:51.11 | SqueeG | I was thinking of something along those lines when I start to mess with other things |
18:51.22 | SqueeG | But right now it's just the one |
18:51.35 | BigRedBrent | this would be fairly simple to do, I can show you how if you like |
18:52.14 | SqueeG | sure :D |
18:52.39 | *** join/#wowace faCe| (~face@p5489DF90.dip.t-dialin.net) |
18:52.42 | BigRedBrent | you don't want to use just a number unless it will not be a problem with adding key worlds in later, otherwise it would be best to just start with using key words |
18:53.32 | BigRedBrent | first of all what is the argument named that is passed to the slash handler? |
18:53.41 | SqueeG | n |
18:54.10 | BigRedBrent | ok, so you are using n as the argument passed from the slash handler |
18:54.14 | SqueeG | yup |
18:54.27 | SqueeG | i don't have an issue wiht building *up* |
18:54.40 | SqueeG | it's starting too big and then having to track down problems that annoys me :: |
18:54.42 | SqueeG | :P |
18:54.53 | *** join/#wowace orionshock__ (~orionshoc@ip68-226-29-3.tc.ph.cox.net) |
18:55.59 | BigRedBrent | well you can use just numbers if you like, but if you ever add more options it could get confusing depending on what the option is for |
18:56.37 | SqueeG | yea |
18:57.03 | BigRedBrent | I prefer to use string.find a lot when dealing with slash commands, it makes things simpler for me to understand |
18:57.20 | SqueeG | even with all the regex jargon? xD |
18:57.26 | BigRedBrent | yes |
18:57.54 | BigRedBrent | I don't use regex all the time though |
18:58.26 | BigRedBrent | for a basic slash command with no numbers regex is not needed, it will be needed to find a number in the command though |
18:59.27 | BigRedBrent | if you need to find a number in a command regex is almost unavoidable, I know the basic command for it though and I can show you |
19:00.00 | BigRedBrent | in a minute I am going to build you an example that you will be able to duplicate for your own uses |
19:00.14 | SqueeG | Thanks :D |
19:00.27 | SqueeG | That'd be really helpful ^_^ |
19:02.01 | BigRedBrent | first of all you will want to make sure the command that is passed is converted into lower case, this can be done but putting this at the top of the function: local n = string.lower(n) |
19:03.02 | BigRedBrent | that way when you try to compare the string with another you will always use lower case so that the command is not case sensitive |
19:04.41 | SqueeG | Yea... I had that in for another command I had scratched |
19:05.00 | BigRedBrent | could you show me all the code you are using for your existing slash handler, this will allow me to rebuild it for you as an example |
19:05.10 | *** join/#wowace Humbedooh^nap (~Humbedooh@port530.ds1-op.adsl.cybercity.dk) |
19:05.25 | SqueeG | sure |
19:05.27 | *** join/#wowace Torhal_ (~callahan@74-141-246-74.dhcp.insightbb.com) |
19:05.28 | *** mode/#wowace [+v Torhal_] by ChanServ |
19:06.43 | SqueeG | sec |
19:09.46 | SqueeG | http://paste.wowace.com/2381/ |
19:10.07 | SqueeG | Nothing crazy at the moment :p |
19:10.43 | BigRedBrent | is f local |
19:12.06 | SqueeG | yea |
19:12.07 | SqueeG | local frame |
19:12.24 | SqueeG | BScale is a local too |
19:12.45 | Humbedooh^nap | hm, that's a lot of redundant checks there, squeeg |
19:13.17 | BigRedBrent | are you using something like this below it: |
19:13.17 | Humbedooh^nap | just do hrm |
19:13.18 | BigRedBrent | SlashCmdList.MyAddon = f.SlashCommand |
19:13.18 | BigRedBrent | SLASH_MyAddon1 = "/myslashcommand" |
19:13.18 | BigRedBrent | SLASH_MyAddon2 = "/myslashcommandtwo" |
19:13.18 | BigRedBrent | SLASH_MyAddon3 = "/myslashcommandthree" |
19:13.28 | Humbedooh^nap | function f.slashCommand(n) |
19:13.45 | SqueeG | sec, i'm pushing thing around |
19:14.03 | Humbedooh^nap | if ( tonumber(n) == nil ) then print("Expected number, got " .. type(n)); else scale = tonumber(x); end |
19:14.06 | Humbedooh^nap | end |
19:15.10 | Humbedooh^nap | s/x\)/n\)/ |
19:15.14 | Humbedooh^nap | wru purl! |
19:15.51 | SqueeG | Humbedooh^nap: I'm probably going to be mixing in text for key words |
19:16.04 | SqueeG | That's what BigRed has been talking to me about xD |
19:16.51 | SqueeG | so trimming it down like that would work awesome until text gets mixed in |
19:17.06 | Humbedooh^nap | mayhaps, buy all the type checks aren't really needed |
19:17.18 | Humbedooh^nap | you just need to check via tonumber() once |
19:17.41 | Humbedooh^nap | if it's a string-number or a number, it'll return a number, otherwise it'll return nil |
19:18.35 | Humbedooh^nap | and in your error message, x will always be nil, so that's useless info as well |
19:19.06 | SqueeG | oh |
19:19.15 | SqueeG | those checks are left overs xD |
19:19.27 | Humbedooh^nap | you just need one initial check :) |
19:19.33 | BigRedBrent | What is the best way to extract a number from a string with a key word in it? The only way I know of is: |
19:19.33 | BigRedBrent | local number |
19:19.33 | BigRedBrent | local found, _, n = string.find(string, "(%d+)") |
19:19.33 | BigRedBrent | if found then |
19:19.34 | BigRedBrent | number = tonumber(n) |
19:19.34 | BigRedBrent | end |
19:20.07 | Humbedooh^nap | depends on what the string is like |
19:20.32 | BigRedBrent | something like "keyword 987596" |
19:20.36 | Humbedooh^nap | mkay |
19:20.54 | Humbedooh^nap | local number = argument:match("(%d+)"); |
19:20.59 | Humbedooh^nap | would be the fastest |
19:22.04 | BigRedBrent | I always knew a better way existed, I just never bothered to look because I already had a way. Now what if no number is in that string, what will be the output? |
19:22.10 | BigRedBrent | nil or 0 or what |
19:22.21 | Humbedooh^nap | it'll output nil |
19:23.06 | BigRedBrent | but where is string in argument:match("(%d+)") |
19:23.17 | Humbedooh^nap | string.match (s, pattern [, init]) |
19:23.17 | Humbedooh^nap | Looks for the first match of pattern in the string s. If it finds one, then match returns the captures from the pattern; otherwise it returns nil. If pattern specifies no captures, then the whole match is returned. A third, optional numerical argument init specifies where to start the search; its default value is 1 and can be negative. |
19:23.20 | BigRedBrent | is it: argument:match(string, "(%d+)") |
19:23.24 | Humbedooh^nap | no no |
19:23.36 | Humbedooh^nap | ("my string here"):match("(%d+)"); |
19:23.43 | Humbedooh^nap | argument is the string variable |
19:23.47 | BigRedBrent | oh, I see |
19:23.59 | Humbedooh^nap | since it's a string, it inherits the string.* stuff |
19:24.04 | BigRedBrent | string:match("(%d+)") |
19:24.15 | Humbedooh^nap | and thus, calling variable:something is like calling string.something(variable) |
19:25.23 | *** join/#wowace DarkAudit (~Brian@64.181.5.194) |
19:26.08 | BigRedBrent | will argument:match("(%d+)") work on numbers strings and nil variables? |
19:26.25 | Humbedooh^nap | not nil values no |
19:26.32 | Humbedooh^nap | then you need to add a statement check first |
19:26.46 | Humbedooh^nap | (argument or ""):match("(%d+)"); |
19:27.00 | Humbedooh^nap | that way, if argument is nil, it'll use "" instead |
19:27.01 | BigRedBrent | if arg then number = aeg:match("(%d+)") end ? |
19:27.14 | Humbedooh^nap | that'll work too ye |
19:27.27 | BigRedBrent | <PROTECTED> |
19:28.01 | SqueeG | :D |
19:28.12 | BigRedBrent | those tiny mistakes come back to haunt if you don't catch them right way |
19:28.52 | Humbedooh^nap | helps to have Lua installed locally for sure |
19:30.20 | BigRedBrent | will arg:match("(%d+)") output a number or a string if arg is a string? |
19:30.46 | Yssaril | BigRedBrent: always a string |
19:31.05 | BigRedBrent | got it |
19:31.26 | BigRedBrent | so the use of tonumber would be required for my use |
19:31.41 | Yssaril | most likely |
19:31.57 | Gagorian | depends |
19:33.16 | Gagorian | Something like local a = "25" + 5 is fine |
19:34.09 | Gagorian | As in, no tonumber is needed on the example string "25" |
19:35.13 | Gagorian | but if you intend to index a numeric table for example then you need to use tonumber on it |
19:36.07 | BigRedBrent | well if it is for a function that gives the return value that could be used for anything it would be safer to have the return value be a number |
19:38.29 | BigRedBrent | will tonumber(arg:match("(%d+)")) return nil if arg is a string but has no number in it |
19:39.01 | Yssaril | try it and see what happens :P |
19:39.09 | BigRedBrent | will tonumber work on a nil argument |
19:39.25 | BigRedBrent | or will it throw an error |
19:40.15 | Humbedooh^nap | it'll work |
19:41.10 | SqueeG | wooooooooooo |
19:41.11 | Humbedooh^nap | that is, tonumber(nil) will just return nil |
19:41.53 | BigRedBrent | will tonumber("") or tonumber("something") return nil as well |
19:42.38 | SqueeG | yea |
19:43.39 | BigRedBrent | local function GetSpellRank(SpellName) |
19:43.40 | BigRedBrent | <PROTECTED> |
19:43.40 | BigRedBrent | <PROTECTED> |
19:43.40 | BigRedBrent | <PROTECTED> |
19:43.40 | BigRedBrent | <PROTECTED> |
19:43.40 | BigRedBrent | <PROTECTED> |
19:43.40 | BigRedBrent | <PROTECTED> |
19:43.41 | BigRedBrent | <PROTECTED> |
19:43.41 | BigRedBrent | <PROTECTED> |
19:43.42 | BigRedBrent | <PROTECTED> |
19:43.42 | BigRedBrent | <PROTECTED> |
19:43.43 | BigRedBrent | end |
19:44.07 | orionshock | BigRedBrent, fail |
19:44.12 | BigRedBrent | I just converted one of my simple functions that I use |
19:44.15 | Humbedooh^nap | can be done much shorter |
19:44.23 | orionshock | things that BigRedBrent should use paste.wowace.com |
19:44.24 | BigRedBrent | ok, well |
19:44.30 | Yssaril | BigRedBrent: use http://paste.wowace.com/ if you want to show us your code in here it will just anoy people |
19:44.47 | BigRedBrent | ok, sorry |
19:44.50 | wink | that code indentation has a nice layout |
19:45.38 | Humbedooh^nap | local rankNumber = GetSpellinfo(spellid):match("(%d+)") or 1; |
19:45.48 | *** join/#wowace Copperman (~Copperman@host81-152-92-174.range81-152.btcentralplus.com) |
19:45.56 | Humbedooh^nap | GetSpellInfo ofc |
19:46.21 | Humbedooh^nap | and you can add a tonumber() around it to get a number val |
19:46.49 | Humbedooh^nap | so, local rankNumber = tonumber(GetSpellInfo(spellName):match("(%d+)")) or 1; |
19:47.00 | BigRedBrent | http://paste.wowace.com/2383/ |
19:47.41 | Humbedooh^nap | local function GetSpellRank(SpellName) return tonumber(GetSpellInfo(spellName):match("(%d+)")) or 1; end |
19:48.26 | Humbedooh^nap | though...why would you need to match the string if GetSpellInfo already returns a rank ;\ |
19:49.04 | *** join/#wowace Adys (~Adys@unaffiliated/adys) |
19:49.15 | BigRedBrent | it returns the rank as a string with a word in front of it |
19:49.22 | Humbedooh^nap | oh |
19:50.14 | BigRedBrent | and it is in the second index, will :match("(%d+)") look through all indexes? |
19:50.47 | BigRedBrent | and what if for some odd reason a spell name is made with a number in it, I doubt it will ever happen, but it is possable |
19:51.42 | Humbedooh^nap | like fx. "Missile 2 (Rank 5)"? |
19:52.07 | Humbedooh^nap | shouldn't matter if rank just returns the rank |
19:52.45 | BigRedBrent | yes, and not all rank names have a number in them, so I count those as 1 and spells that are not found as 0 |
19:53.57 | BigRedBrent | I am not sure is rank always exists if the spell name does, I think it does though, so I could shorten that part up a bit if that is the case |
19:54.27 | Humbedooh^nap | rank |
19:54.27 | Humbedooh^nap | <PROTECTED> |
19:55.52 | Humbedooh^nap | the code you pasted looks fine as it is now |
19:56.11 | BigRedBrent | I just updated it |
19:58.07 | *** join/#wowace tekkub (~tekkub@WoWUIDev/WoWI/Featured/Dongle/GitHub/Tekkub) |
19:58.07 | *** mode/#wowace [+v tekkub] by ChanServ |
20:02.01 | BigRedBrent | http://paste.wowace.com/2384/ |
20:02.59 | BigRedBrent | I am sure I have a lot more code that could be made simpler, this is just one that I have always wanted to be simpler because I didn't like using string find to output the number. |
20:03.52 | SqueeG | man, that's like half the code you used before xD |
20:04.48 | BigRedBrent | lol |
20:07.04 | BigRedBrent | I am glad you pointed me to http://paste.wowace.com I have a lot of snippets of code that I would like to share and perhaps even improve upon. |
20:07.28 | Connor1 | Is there any way I can enable an option to require my authenticator to post on the forums? |
20:08.18 | BigRedBrent | you should already have to, do you mean the worldofwarcraft.com forums? |
20:08.56 | Connor1 | Yes |
20:09.47 | SqueeG | hm |
20:09.52 | SqueeG | I thought they didn't require that |
20:09.57 | Connor1 | They don't |
20:10.00 | SqueeG | so people could post if they were hacked |
20:10.01 | Connor1 | I want the option to have it |
20:10.10 | Connor1 | I just got banned for the second time for 72 hours on the forums for a post I didn't make |
20:10.12 | Connor1 | First time was my fault |
20:10.15 | Connor1 | Second time I didn't do it |
20:10.26 | BigRedBrent | I just logged in and out with my authenticator, so I know it can be done |
20:10.36 | *** join/#wowace Repo (~supybot@repos.curseforge.net) |
20:10.38 | BigRedBrent | I did it on the beta forums |
20:10.53 | BigRedBrent | not sure if it is any different on live |
20:10.55 | Connor1 | SO what should I do? |
20:11.18 | Connor1 | There it is |
20:11.19 | Connor1 | So* |
20:11.20 | Connor1 | Hmm |
20:11.27 | *** join/#wowace Kilroo1 (~Kilroo@cpe-174-111-058-051.triad.res.rr.com) |
20:11.32 | Connor1 | I see the authenticator box now |
20:11.43 | Connor1 | I'm always logged in on the forums though because I read them a lot |
20:11.50 | Connor1 | I don't see how that post was made... |
20:14.25 | BigRedBrent | http://paste.wowace.com/2385/ |
20:14.47 | *** join/#wowace Gnamra (~Gnamra@195.204.136.141) |
20:15.38 | BigRedBrent | Anything that could be improved on that code? |
20:16.08 | Humbedooh^nap | nothing noteworthy |
20:16.23 | Humbedooh^nap | only the length of the script - the stuff it'll really run would be the same |
20:17.06 | Humbedooh^nap | like; if ( msg:lower():match("keyword") ) then do stuf.... end |
20:17.19 | Humbedooh^nap | but it'd do the same things |
20:17.46 | *** join/#wowace pentium166 (~pentium16@d24-235-229-73.home1.cgocable.net) |
20:18.57 | BigRedBrent | yeah, but with a long script that uses match a lot it would be nice not to use lower every time |
20:19.08 | Humbedooh^nap | indeed |
20:19.15 | *** join/#wowace Hjalte (~chatzilla@cpe.ge-0-2-0-835.arcnqu2.customer.tele.dk) |
20:19.40 | Humbedooh^nap | you should probably use upper() instead of lower() |
20:19.46 | Humbedooh^nap | so you can easilly spot your keywords |
20:20.15 | Humbedooh^nap | fx, a clause that says (if key == "MYKEYWORD" ) is easier to spot for you than if (key == "mykeyword") |
20:20.20 | *** join/#wowace Funkeh` (~funk@WoWUIDev/WoWAce/Ace3/BigWigs/funkeh) |
20:20.20 | *** mode/#wowace [+o Funkeh`] by ChanServ |
20:22.18 | BigRedBrent | I guess that is just personal preference, I use notepad++ and the strings pop out at me fine, and I prefer to use lower case strings whenever I can, they are just more legible to me, I do some times use upper case variable names some times though |
20:22.58 | BigRedBrent | no one ever talks in the #curseforge channel |
20:23.16 | BigRedBrent | I asked a question over an hour ago with no responce |
20:23.16 | Humbedooh^nap | well it's mostly just for spamming commits I guess :p |
20:23.22 | *** join/#wowace Fogger (~fogger@host109-152-35-121.range109-152.btcentralplus.com) |
20:23.35 | SqueeG | the curseforge community by and large seems to be less.... together |
20:23.41 | Humbedooh^nap | join #wowuidev instead |
20:23.47 | BigRedBrent | I have all my irc commit notifications turned off |
20:24.31 | BigRedBrent | just having a problem with .docmeta and luadoc |
20:25.06 | BigRedBrent | Here is the location of my repository if it will help: |
20:25.06 | BigRedBrent | svn://svn.curseforge.net/wow/spellflashcore/mainline/trunk |
20:25.19 | BigRedBrent | I am pretty sure I put the luadoc code into the lua files correctly, and I think I uploaded the correctly formatted .docmeta file, but when I package the release I don't see any difference. Isn't an API page of some kind supposed to be generated? |
20:25.31 | kagaro | i dont think its working bigredbrent |
20:25.40 | Humbedooh^nap | I usually just make those pages by hand |
20:25.49 | BigRedBrent | for how long? |
20:25.54 | kagaro | thats what we did for raidwatch since it wouldnt generate |
20:26.01 | Humbedooh^nap | having a computer to it usually ends up being not-so intuitive |
20:26.09 | BigRedBrent | I would prefer not to make them by hand, I don't even know what they should look like |
20:26.50 | Humbedooh^nap | there's no de facto standard really |
20:26.52 | BigRedBrent | I mainly just want the moderators to approve the addon so I can begin using it publicly |
20:26.57 | Humbedooh^nap | http://wow.curseforge.com/addons/libspreadsheet/pages/lib-spreadsheet-api/ fx |
20:27.05 | Humbedooh^nap | just a big pile of whatever I thought was nifty to include |
20:27.38 | kagaro | BigRedBrent: just run luacdoc by hand and get the outputed html |
20:27.48 | Humbedooh^nap | ofc, now that I've added some twenty-ish macro functions, it'll be a pain to update ;| |
20:28.16 | Humbedooh^nap | but hey! Now you get to do exciting stuff like SUM(B1:D8) inside WoW as well! |
20:28.17 | BigRedBrent | I have never used luadoc, don't even know how to install or use it |
20:28.22 | kagaro | http://luadoc.luaforge.net/ |
20:28.30 | kagaro | thats all the .docmeta is supposed todo |
20:30.00 | BigRedBrent | I gathered that, but how do I manually install and run luadoc on a windows (god forbid i mention anything spawned from the evil Bill Gates) machine. |
20:30.37 | kagaro | read the docs on the luadoc homepage |
20:31.50 | SqueeG | most people use windows :p |
20:32.12 | BigRedBrent | read something to figure it out, fine I will get right on that |
20:32.12 | SqueeG | I don't see why asking about windows functionality would be flamed |
20:32.17 | kagaro | i only have a single window VM, every other machine in my network is ether linux or os x |
20:32.30 | SqueeG | you're not the average user, kagaro :p |
20:32.35 | BigRedBrent | Bill Gates is evil, didn't you know? |
20:32.42 | kagaro | i wasnt flaming, there are instructions on the luadoc hmepage |
20:32.57 | SqueeG | i didn't say you were flaming O-o |
20:32.59 | SqueeG | lol |
20:33.03 | SqueeG | so is the mac guy |
20:33.05 | SqueeG | jobs |
20:33.10 | BigRedBrent | yes |
20:33.27 | SqueeG | his 'evil nature' just isn't held up as often |
20:33.27 | BigRedBrent | the guy gates screwed over so very royally |
20:33.35 | kagaro | sorry but rtfm it has a manual |
20:33.55 | kagaro | http://luadoc.luaforge.net/manual.html#installation |
20:34.10 | SqueeG | kagaro ~ I wasn't attacking you |
20:34.20 | SqueeG | I was responding to his comment about windows and bill gates |
20:34.33 | kagaro | i was answering BigRedBrents how do i install run it on windows |
20:35.28 | BigRedBrent | ah, I hate utilities without at least a windows compatible gui |
20:36.00 | SqueeG | then right it by hand :p |
20:36.19 | SqueeG | write* |
20:36.19 | SqueeG | wow |
20:36.21 | kagaro | boo, cmdline ftw! |
20:36.21 | BigRedBrent | seriously, we are way too far into the future to make people learn how to use something that you could have made a gui for so that others don't have to wast any time learning something they otherwise would not have had to |
20:36.47 | kagaro | gui is for the weak |
20:36.54 | SqueeG | lol |
20:37.02 | kagaro | if you really want a gui to it, write one |
20:37.06 | SqueeG | xD |
20:37.15 | SqueeG | i'm sure the command line isn't too complicated |
20:37.26 | BigRedBrent | ah, gui's are cool... |
20:37.32 | kagaro | lua luadoc.lua [files] |
20:37.33 | SqueeG | BigRedBrent, learning things is good for the soul |
20:38.05 | nevcairiel | people don't use luadoc (or similar tools, javadoc, doxygen, whatever) from GUIs, they are mostly used scripted in build scripts to automatically generate all the docs :d |
20:38.37 | kagaro | rdoc ftw! |
20:38.46 | BigRedBrent | I don't even use many slash commands at all for my addons I make, I make a gui for all the options. If you have the ability to make a gui for a program you should, because if you don't your just pissing people off. |
20:39.32 | kagaro | mine usually start as a slash command, till they get complicated enough to require a gui |
20:39.37 | nevcairiel | Maybe you're not targeting people that want a GUI :P |
20:39.56 | kagaro | ~uses a lot of slash commands |
20:40.24 | SqueeG | xD |
20:40.34 | SqueeG | I run on the same principle kagaro |
20:40.37 | BigRedBrent | I can't understand why someone would not want a gui unless they want everything to be automated, and a gui would be nice to have just to set that automation up in the first place. |
20:40.53 | SqueeG | because guis tend to get bloated |
20:40.57 | kagaro | ^^ |
20:41.20 | kagaro | plus take up screen space for something that a sinple command can handle much faster than wating for a gui to launch |
20:41.30 | nevcairiel | tools like luadoc are used with other GUIs, development environments, they don't need their own GUIs :p |
20:41.44 | SqueeG | it really depends on the losses and gains |
20:42.03 | SqueeG | handling a ton of options via cmd line can be a PiTA, that's when a GUI comes in handy |
20:42.08 | SqueeG | but when it's something simple... |
20:42.13 | BigRedBrent | well, I have not had any problems with bloated gui's, I just hate learning command lines for something that could have been made trivial with a simple gui |
20:42.21 | nevcairiel | that thing is trivial |
20:42.27 | nevcairiel | put in the file name to parse, and it runs |
20:42.33 | nevcairiel | no need to learn any switches |
20:43.55 | nevcairiel | but if you're not willing to do that, maybe its just not for you. |
20:44.21 | kagaro | ill use a gui for handbrake cause the cmdline take sooo many options its faster for the gui to be used. |
20:45.03 | kagaro | but if something only has a few switches/options its just faster to hit the cmdline |
20:45.33 | nevcairiel | i use git only in cmdline, because all GUIs are much more complicated then knowing a handful of switches |
20:45.39 | BigRedBrent | oh, I am willing, I have learned way too much already to stop now, I just like to find things to be simpler whenever possible |
20:45.51 | kagaro | ya git or svn gui are crappy imho i always use cmdline |
20:46.17 | SqueeG | i like the git gui |
20:46.34 | nevcairiel | i only use the git gui for history browsing |
20:46.35 | BigRedBrent | lol, I use subversion because I like the most popular windows gui for it |
20:46.35 | SqueeG | simple and quick |
20:46.46 | nevcairiel | anything else it fails at |
20:47.02 | quiescens | o.o |
20:48.17 | SqueeG | whens the last time you used git gui nevcairiel? |
20:48.32 | nevcairiel | few hours ago |
20:48.33 | nevcairiel | why? :P |
20:48.55 | Repo | 10raidbuffstatus: 03danielbarron * r372 / (3 files in 1 directory): RaidBuffStatus: |
20:48.55 | SqueeG | other than for history browsing? |
20:48.56 | Repo | - Made the selection of whom to rez automatically put lower priority on those currently being rezed. |
20:49.03 | nevcairiel | never |
20:49.06 | BigRedBrent | I just hate command lines for repetitive tasks that can be automated by a simple gui, and when voice recognition becomes more advanced I will push for all interfaces to be voice activated. :P |
20:49.17 | SqueeG | xD |
20:49.31 | SqueeG | ./facepalm |
20:49.39 | SqueeG | i hate voice recognition |
20:49.42 | BigRedBrent | :) |
20:49.49 | SqueeG | i still use touch tone for online menu nav |
20:50.18 | BigRedBrent | voice recognition has a long way to go before it is anything like is depicted on StarTrek. |
20:50.35 | BigRedBrent | but when we get there I will be on the bandwagon |
20:51.00 | *** join/#wowace DarkerAudit (~Brian@64.181.5.194) |
20:51.01 | *** join/#wowace Vonhinten (~Kiss@c-71-203-110-77.hsd1.fl.comcast.net) |
20:52.06 | BigRedBrent | ok, well I don't even have lua installed, so I am guessing I need that installed as well |
20:52.48 | BigRedBrent | I imagine that is what the lua5.1 command is referring to |
20:53.38 | SqueeG | xD |
20:53.46 | quiescens | i hate using gui's for repetitive tasks that can be automated on a command line |
20:53.48 | quiescens | nodnod |
20:54.04 | BigRedBrent | lol |
20:54.14 | nevcairiel | cmdlines are far easier to automate, indeed |
20:54.29 | nevcairiel | its hard to somehow get a script to click the right box |
20:55.02 | quiescens | mostly i just don't like repeating things that require mouse movement like silly context menus and stuff |
20:55.15 | quiescens | and then people go and either skip accelerator keys on the menus |
20:55.39 | quiescens | or they put them in, but stupidly have the same accelerator key for multiple choices in the menu, so that they don't work anyway |
21:01.31 | Humbedooh^nap | http://wow.curseforge.com/addons/libspreadsheet/pages/macro-functionality/ <- am I missing anything or do I have all the common macro math stuff listed now? :| |
21:01.38 | BigRedBrent | is arg:match("keword") the same as string.match(arg, "keyword") |
21:01.44 | Humbedooh^nap | ye |
21:02.08 | nevcairiel | well no |
21:02.17 | nevcairiel | the first matches for keword, the second for keyword |
21:02.36 | Pneumatus | lol |
21:02.37 | BigRedBrent | is arg:match("keyword") the same as string.match(arg, "keyword") |
21:03.06 | BigRedBrent | I did not try to make it a trick question, :) |
21:03.17 | Pneumatus | it's also the same as strmatch(arg, "keyword") fwiw |
21:03.35 | BigRedBrent | what is the difference between find and match |
21:03.50 | Humbedooh^nap | match returns a match, find returns a location iirc |
21:04.00 | orionshock | functionally nothing |
21:04.10 | orionshock | however find returns the location as well, match doesn't |
21:04.32 | orionshock | lua> ("Hi, my name is bob"):find("my") |
21:04.35 | orionshock | ... |
21:04.48 | orionshock | luabot is gone. |
21:04.51 | Humbedooh^nap | the luabot is a lie |
21:05.09 | BigRedBrent | i see, so since I mostly never need the location match would be better for me to use in most cases |
21:05.11 | quiescens | yet another thing you've broken orion |
21:05.12 | quiescens | ! |
21:05.35 | Humbedooh^nap | it would yeah |
21:06.44 | BigRedBrent | but if all I wanted was a Boolean return either would work fine |
21:07.16 | Humbedooh^nap | close enough :) |
21:07.25 | Humbedooh^nap | you wouldn't get a boolean, but it'd eval as one anyway |
21:08.02 | BigRedBrent | I could turn it into a boolean pretty easily, but almost no need for that is almost never required |
21:10.04 | BigRedBrent | Why does code on http://paste.wowace.com/ expire if you select the never expire option? |
21:12.35 | SqueeG | i tried pulling from my git repo, and it didn't seem to copy anything new to my folder.. |
21:29.17 | *** join/#wowace TNSe (~evil@ti0042a380-3718.bb.online.no) |
21:29.48 | *** join/#wowace Lisimba (~Lisimba@s55915088.adsl.wanadoo.nl) |
21:31.56 | *** join/#wowace Diao (vince@adsl-76-254-23-136.dsl.pltn13.sbcglobal.net) |
21:32.07 | *** join/#wowace SqueeG_ (~SqueeG@cpe-24-161-96-151.hvc.res.rr.com) |
21:32.13 | *** join/#wowace pentium166 (~pentium16@d24-235-229-73.home1.cgocable.net) |
21:34.16 | Repo | 10cowtip_luatext: 03profalbert 07master * v0.5-beta-21-g569df51 / (8 files in 1 directory): [+19 commits] (15 truncated) |
21:34.18 | Repo | 569df51: fix tooltip-hiding-behaviour |
21:34.19 | Repo | 9f82966: use self instead of dedicated AceTimer-3.0-ref |
21:34.21 | Repo | 9707880: add cowtip as OptDep |
21:34.22 | Repo | d7cb93e: Merge branch 'detach' |
21:35.30 | evl | Any inventory addon that simply displays a list of what I have in my bags? |
21:36.37 | Humbedooh^nap | shift + B? :> |
21:37.48 | evl | Thing is I have 5x20 slots with gems |
21:37.56 | evl | and I'd like to know what kind of stock I have |
21:42.18 | SqueeG_ | you mean a text list? |
21:42.24 | evl | basically yeah |
21:42.42 | SqueeG | I looked for one once, didn't find anything promising |
21:42.49 | *** join/#wowace harl (harl@dslb-088-076-034-077.pools.arcor-ip.net) |
21:43.24 | SqueeG | what about those ehm.....barker mods? |
21:44.03 | Repo | 10cowtip_luatext: 03profalbert 07master * v0.5-beta-22-g52421a2 .pkgmeta: [+1 commit] add Callback-handler to .pkgmeta |
21:47.05 | *** part/#wowace profalbert (~profalber@80-121-25-8.adsl.highway.telekom.at) |
21:50.46 | *** join/#wowace Lisimba (~Lisimba@s55915088.adsl.wanadoo.nl) |
21:50.49 | *** join/#wowace Fogger (~fogger@host86-164-181-17.range86-164.btcentralplus.com) |
21:54.00 | *** join/#wowace spode (spode@213-21-77-27.bon.t3.se) |
21:58.00 | *** join/#wowace harl (harl@dslb-088-076-057-152.pools.arcor-ip.net) |
22:02.45 | *** join/#wowace spode (spode@213.21.119.83) |
22:10.00 | Repo | 10cowtip_luatext: 03profalbert 07master * v0.5-beta-23-gd51cae8 .pkgmeta: [+1 commit] add acehook to .pkgmeta |
22:12.39 | *** join/#wowace Antiarc (~Antiarc@ip70-190-192-186.ph.ph.cox.net) |
22:12.39 | *** mode/#wowace [+v Antiarc] by ChanServ |
22:20.39 | *** join/#wowace faCe| (~face@p5489EE17.dip.t-dialin.net) |
22:21.39 | BigRedBrent | is string.gsub(arg, "find", "replace") the same as arg:gsub("find", "replace") |
22:22.47 | durcyn | calling stringlib moethods on strings works the same regardless of notation, yes |
22:22.56 | durcyn | methods |
22:24.56 | *** join/#wowace Silker (~ponies@5e0b7655.bb.sky.com) |
22:26.52 | BigRedBrent | Can you think of a better way to do this: |
22:26.52 | BigRedBrent | local RACE = (({UnitRace("player")})[2]):upper():gsub("[^A-Z]",""):gsub("SCOURGE","UNDEAD") |
22:27.04 | Shadowed | yes |
22:27.25 | Shadowed | local RACE = select(2, UnitRace("player"):upper():blah for one |
22:27.32 | Shadowed | whats the [^A-Z] supposed to even do |
22:27.51 | BigRedBrent | remove everything but letters |
22:27.55 | BigRedBrent | if they exist |
22:28.05 | Shadowed | Pretty sure UnitRace can only have letters |
22:28.34 | BigRedBrent | well to be on the safe side I added it, :P |
22:28.40 | Shadowed | that's silly |
22:28.44 | BigRedBrent | lol |
22:28.55 | Humbedooh^nap | it's quite silly :> |
22:29.04 | Shadowed | local race = select(2, UnitRace("player")):upper() |
22:29.05 | Humbedooh^nap | but I get the feeling that Brent is a silly man! |
22:29.08 | Ali1331 | surely if it has numbers, it's supposed to have numbers |
22:29.12 | Shadowed | race = race == "SCOURGE" && "UNDEAD" || race |
22:29.27 | Shadowed | Realy doing SCOURGE -> UD is rather pointless too but |
22:29.54 | Shadowed | Even doing an upper() is pointless cause it doesn't change |
22:30.13 | BigRedBrent | you forgot :gsub("SCOURGE","UNDEAD") |
22:30.19 | *** join/#wowace Copperman (~Copperman@host81-152-92-174.range81-152.btcentralplus.com) |
22:30.23 | Humbedooh^nap | no he didn't :> |
22:30.28 | Shadowed | race = race == "SCOURGE" && "UNDEAD" || race is the same thing |
22:30.41 | Shadowed | Doing a gsub is unnecessary, you're just replacing A with B if it's A |
22:30.53 | Ali1331 | the first value returned has Undead instead of Scourge anyway |
22:31.07 | Shadowed | The first value is localized, you use the second one since it's a token |
22:31.14 | BigRedBrent | yeah, but I am using it with something that will call for undead and not scourge |
22:31.26 | Shadowed | If you wrote the code yourself, you might as well use scourge :P |
22:31.37 | Shadowed | but suit yourself, that's a more sane way of doing it |
22:32.19 | Humbedooh^nap | race = race == "SCOURGE" && "UNDEAD" || race means race = (true and "UNDEAD" if race == "SCOURGE") otherwise race |
22:32.29 | Humbedooh^nap | it's math! |
22:32.45 | Humbedooh^nap | which is just the ancient way of making zip files! |
22:32.55 | Shadowed | er no |
22:33.05 | Humbedooh^nap | ofc it is |
22:33.14 | Shadowed | What I gave is the equivalent to if( race == "SCOURGE" ) then race = "UNDEAD" end |
22:33.27 | Humbedooh^nap | oh wait, I missed a sign there |
22:33.34 | Humbedooh^nap | well anywhooo |
22:34.47 | Humbedooh^nap | actually, what I said was correct too :> |
22:35.00 | BigRedBrent | well I am just going to use this because I don't ever want to have to change it if they mess with the case sensitivity some day: |
22:35.00 | BigRedBrent | local CLASS = select(2,UnitClass("player")):upper():gsub("[^A-Z]","") |
22:35.00 | BigRedBrent | local RACE = select(2,UnitRace("player")):upper():gsub("[^A-Z]",""):gsub("SCOURGE","UNDEAD") |
22:35.03 | Humbedooh^nap | if you read it like I do :| |
22:35.17 | Ali1331 | You know addons get updated right? |
22:35.27 | Humbedooh^nap | they do? ;O |
22:35.36 | BigRedBrent | lol, I never would have guessed |
22:35.38 | Ali1331 | So why plan for something thats unlikely to ever happen |
22:35.45 | Ali1331 | And is a simple fix anyway |
22:35.53 | Humbedooh^nap | trial and error :) |
22:35.57 | Ali1331 | what |
22:35.58 | BigRedBrent | I am methodical like that |
22:36.04 | Ali1331 | You're silly like that |
22:36.15 | Humbedooh^nap | first he does it, then he twiddles his thumbs and go "why'd I do that" |
22:36.20 | Humbedooh^nap | and next time, he'll wait |
22:36.46 | Humbedooh^nap | for all I care, he could add: if (time() == time()) then end |
22:37.14 | Ali1331 | Is there a point to what you're saying? |
22:37.31 | Humbedooh^nap | none whatsoever |
22:38.53 | BigRedBrent | lol, I found meaning in the pretty words, :) |
22:39.11 | *** join/#wowace spode- (spode@213.21.119.83) |
22:39.19 | Humbedooh^nap | spode? |
22:39.23 | Humbedooh^nap | as in Roderick Spode? |
22:39.29 | Humbedooh^nap | or some other spode? |
22:39.38 | spode- | some other :) |
22:39.44 | Humbedooh^nap | aaw, poo |
22:43.32 | *** join/#wowace profalbert1 (~profalber@80-121-23-156.adsl.highway.telekom.at) |
22:53.31 | *** join/#wowace evl (~evl@unaffiliated/evl) |
23:21.58 | *** part/#wowace BigRedBrent (~Brent@pool-72-86-75-100.aubnin.fios.verizon.net) |
23:26.20 | Repo | 10bartender4_dualspec: 03profalbert 07master * v1.2-1-gbfb7f9e / (2 files in 1 directory): [+1 commit] rewrite to support multiple addons |
23:31.25 | *** join/#wowace |mascondante| (~kvirc@pool-72-71-116-103.atl01.dsl-w.verizon.net) |
23:38.08 | *** join/#wowace bien|| (~bien@p4FF47433.dip.t-dialin.net) |
23:43.36 | *** join/#wowace zero7 (~crazy@86.36.49.1) |