IRC log for #arl on 20150606

12:41.05*** join/#arl Ressy (Ressy@192-0-172-185.cpe.teksavvy.com)
12:41.05*** join/#arl Ressy (Ressy@WoWUIDev/WoWAce/ARL/Ressy)
12:41.05*** mode/#arl [+v Ressy] by ChanServ
12:53.12RessyQuestion Torhal.. That AddLocation...
12:53.23RessyDid you not add that?
12:54.09RessyBecause you've automatically made all pets with AddZoneLocation as a pet battle.
12:54.23Ressywhich doesn't work.
13:04.54RessyI think the best way to check would be checking if the level is set to nil
14:03.44TorhalRessy: Huh?
14:03.52Ressysoo...
14:03.55RessyAddZoneLocations.
14:03.58TorhalIt does work that way.
14:04.02Ressynope.
14:04.10TorhalSet levelRange and isSecondary is nil.
14:04.14Ressyyes.
14:04.15RessyI did.
14:04.21Ressyits still showing pet battle.
14:04.23TorhalBut yeah, pet_battle will always be for pets.
14:04.41TorhalThere is a case where the pet just sits somewhere?
14:04.43Ressyyup
14:04.50TorhalFuck.
14:04.51RessyLooting from nests
14:04.55TorhalYou didn't tell me that :D
14:05.02RessyLoot egg, get pet. learn
14:05.03Ressy:D
14:05.18RessyLeaping Hatchling for example
14:05.25TorhalOk, easy fix.
14:05.42Ressyand Azure Crane Chick. :D
14:05.58RessyTheres more nests I'm adding.
14:06.04Ressybut those are the ones I've run into already
14:06.14Ressygoing through the Custom.lua page righ tnow
14:06.49TorhalActually.
14:07.08Ressy?
14:08.43TorhalThe least messy way is to replace isSecondary with locationType
14:09.15Ressyok...
14:09.33TorhalisSecondary is only ever used when no coords are supplied, and I can just do that automatically if no coords are supplied, and in its place we would put "zoneLocation" or "petBattle"
14:09.41Torhalor "worldDrop"
14:10.06RessyisSecondary is either true or false usually..
14:10.09TorhalYes
14:10.18TorhalAnd it's never true when coords are supplied.
14:10.25Ressyright
14:10.26TorhalSo just set it to tru when coords aren't.
14:10.29Torhaltrue*
14:11.14RessyI don't get it..
14:11.35TorhalI'm saying it's an unnecessary parameter.
14:12.03TorhalIf we have coords, it's true. If we don't, it's false. Always. So we can infer its value instead of explicitly setting it.
14:12.04RessyYou'd have to check level to choose between pet battle or just zone location.
14:12.33Ressycuz pet battles have coords
14:12.35TorhalNo, because we could add other types later - better to pass it in as a parameter.
14:12.58TorhalSo if it has coords and you don't want it to be a pet battle, you say so.
14:13.04TorhalInstead of trying to magically figure it out.
14:13.12Ressyand how will I do that.
14:13.15TorhalEspecially
14:13.39TorhalI just said: Replace isSecondary with label. Or type. Or whatever I name it that makes sense.
14:14.08TorhalProbably an enum like ZoneLocationType.PetBattle
14:14.36TorhalDunno, I need to wake up. I started sipping offee before I started talking to you.
14:14.39Ressyyeah..
14:14.40Torhalcoffee*
14:14.43Ressynot making much sense.
14:14.49Ressypet:AddZoneLocations(Z.NORTHERN_BARRENS, nil, nil, "61.0:19.8", "62.8:20.2", "64.1:23.0", "65.0:28.7")
14:14.53RessyThats leaping hatchling.
14:15.12RessyThis is 2 lines for Rabbit:
14:15.12Ressypet:AddZoneLocations(Z.ASHENVALE, "4-6", true)
14:15.13Ressypet:AddZoneLocations(Z.AZSHARA, "3-6", false, "33.2:70.2")
14:16.38TorhalThat would become: pet:AddZoneLocations(Z.NORTHERN_BARRENS, nil, ZL.LOOTED, "61.0:19.8", "62.8:20.2", "64.1:23.0", "65.0:28.7")
14:16.43TorhalSnowy Owl is: pet:AddZoneLocations(Z.WINTERSPRING, "17-18", false, "63.6:49.4", "57.6:45.8", "51.6:32.6", "57.6:58.8")
14:16.55TorhalWould become: pet:AddZoneLocations(Z.WINTERSPRING, "17-18", ZL.PET_BATTLE, "63.6:49.4", "57.6:45.8", "51.6:32.6", "57.6:58.8")
14:17.10Ressyok...
14:17.17RessyI can do a replace all in the db..
14:18.24TorhalWhen I figure out exactly how I'm doing this, I'll just go ahead and do it. Less hassle for you.
14:18.39Ressyso.. I should push soon then. lol
14:44.33Ressytheres way more pets available from the world than I thought.. geez
16:07.20RessyTorhal: Pushed ARL.
16:07.22Ressygo ahead :D
16:10.34Ressyerr
16:10.37RessyCollectinator.
16:10.39Ressymy head hurts
16:15.18sidjiyeah I won the offline glyph quiz (IngressFS)
16:34.59Ressy?
16:38.36RessyHey Torhal..
16:38.49RessyI pushed an update to Collectinator 30 mins ago, and it hasn't been packaged yet
16:38.50TorhalMmmph?
16:38.53Ressyand packager shows nothing
16:38.56TorhalHAWT
16:41.22Ressyyou kicked it. nice
16:41.25RessyPending commits
16:41.25Ressy<PROTECTED>
16:41.29TorhalIndeed.
16:41.35TorhalZip exists.
16:41.42TorhalThinking I'll nap.
16:41.55TorhalActually, I know I will. Thinking is too difficult.
16:42.01Ressylol
16:42.03Ressythank you
16:42.04Ressy:)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.