These are chat archives for arenanet/api-cdi

21st
Apr 2017
I'm not really happy with it, but here's what I'm thinking about adding to /v2/skins.details
definitely think that doing the extra work to determine a base/overrides would be very worth
maybe I'll do that in javascript instead of C++
Archomeda
@Archomeda
Apr 21 2017 00:36

ughghhhhhhhhhhhhhh

indeed

if only someone would create a model viewer with dyeable armor...
(definitely not me, urgh)
Michael Dougall
@madou
Apr 21 2017 01:46
:smile:
:smirk:
Archomeda
@Archomeda
Apr 21 2017 02:25
i finally got tired of continuously calculating how many tokens i need for the dungeon collections...
so this was born
now i'll never have to calculate it manually
this is quite sad though:
Sorrow's Embrace Collector:
 - Unlocked Skins: 1/37
 - Tokens required: 9,900 (300/10,200)
 - Tokens to collect: 9,208 (692/9,900)
shows how much i cared about SE
Archomeda
@Archomeda
Apr 21 2017 02:34
and i totally did not waste my time creating this...
ChieftainAlex
@ChieftainAlex
Apr 21 2017 06:45
huh, different dye slot quantities per race/gender? weird
darthmaim
@darthmaim
Apr 21 2017 08:11
tooltips were one of the first things I did for the build editor
and I'm quite happy with them
Michael Dougall
@madou
Apr 21 2017 08:16
ok :)
windwarrior
@windwarrior
Apr 21 2017 11:06
wait this game has dungeons?
(Related: I once created this: https://github.com/windwarrior/DungeonMoney)
darthmaim
@darthmaim
Apr 21 2017 11:14
Why is the github pages link always missing from peoples repos...
(created a PR for you)
windwarrior
@windwarrior
Apr 21 2017 11:17
because thats manual work
also accepted
darthmaim
@darthmaim
Apr 21 2017 11:18
eh, creating the readme was faster than typing the gh pages url the first time...
windwarrior
@windwarrior
Apr 21 2017 11:22
re.replace(https:\/\/github.com\/([a-zA-Z0-9]+)\/([a-zA-Z0-9]+)\/, https://$1.github.io/$2)
windwarrior
@windwarrior
Apr 21 2017 13:02
wait, whats with the null's, @lye
dyes on skins have some sort of grid layout no?
wouldn't it be useful to specify it as such: {"id":0, "material": "Cloth", "size": 2}, {"id":6, "material": "Metal", "size": 1} , {"id":6, "material": "Metal", "size": 1} with sum of sizes is always 4?
darthmaim
@darthmaim
Apr 21 2017 13:17
isnt it always one of these:
+---+  +---+  +-+-+ +-+-+
|   |  +---+  +-+-+ +-+-+
+---+  +---+  +---+ +-+-+
  1      2      3     4
Archomeda
@Archomeda
Apr 21 2017 13:18
does this one exist too? (not sure)
+---+
+-+-+
+-+-+
darthmaim
@darthmaim
Apr 21 2017 13:18
I think its always the same if its 3
maybe I got mine the wrong way around
windwarrior
@windwarrior
Apr 21 2017 13:18
I think the one from @Archomeda also exists
darthmaim
@darthmaim
Apr 21 2017 13:19
so both exist? (2 at the top and 2 at the bottom)
windwarrior
@windwarrior
Apr 21 2017 13:19
I dont know about that
darthmaim
@darthmaim
Apr 21 2017 13:19
I think I just got mine upside down :P
and its always the same if its 3
Eearslya @Eearslya sighs, logs in.
darthmaim
@darthmaim
Apr 21 2017 13:20
:D
Eearslya Sleiarion
@Eearslya
Apr 21 2017 13:20
oh and the first thing I hear on the LA load screen, the death music
darthmaim
@darthmaim
Apr 21 2017 13:21
always two at the bottom
just checked in game
Eearslya Sleiarion
@Eearslya
Apr 21 2017 13:21
darthmaim
@darthmaim
Apr 21 2017 13:21
sample size of 2 says its always two at the bottom
windwarrior
@windwarrior
Apr 21 2017 13:21
but you can either encode that with a bunch of null's
that sort of implicitly say that the swatch should extend to the right if its null
e.g. something, null, something, null becomes example 2
darthmaim
@darthmaim
Apr 21 2017 13:23
no
you have to check the skin
to know how many slots it has
windwarrior
@windwarrior
Apr 21 2017 13:23
thats what the endpoint is about right
darthmaim
@darthmaim
Apr 21 2017 13:23
no
windwarrior
@windwarrior
Apr 21 2017 13:23
but it always gives you 4 slots, of which at most 3 can be null
darthmaim
@darthmaim
Apr 21 2017 13:23
all 4 can be null
if its the default color
Archomeda
@Archomeda
Apr 21 2017 13:24
oh well shit; how do you distinguish default colors from no dye slots then?
darthmaim
@darthmaim
Apr 21 2017 13:24
/v2/characters/:id/equipment returns 4 colors for each armor piece
/v2/skins has the information about the dye channels
how many, what material type, ...
Archomeda
@Archomeda
Apr 21 2017 13:25
ehh right
windwarrior
@windwarrior
Apr 21 2017 13:25
we are talking about skin_dye_details
(so far unnamed endpoint)
darthmaim
@darthmaim
Apr 21 2017 13:25
there is no new endpoint
dye channel info goes into /v2/skins
the actual colors of equipped armor are in /v2/characters/equipment
Archomeda
@Archomeda
Apr 21 2017 13:26
i need to check the gist again, because i'm kinda confused right now :D
windwarrior
@windwarrior
Apr 21 2017 13:26
me too, the gist is clearly talking about some sort of extension
Archomeda
@Archomeda
Apr 21 2017 13:26
oh right, id 1 is the default dye right?
darthmaim
@darthmaim
Apr 21 2017 13:27
yes
but lyes implementation will never return 1
but null instead
/v2/skins will include this:
"id": 123123,
"details": {
    "dye_slots": {
      "asura_female": [
        {
          "id": 1,
          "material": "Cloth"
        },
        {
          "id": 1,
          "material": "Metal"
        },
        {
          "id": 1,
          "material": "Cloth"
        },
        null
      ],
windwarrior
@windwarrior
Apr 21 2017 13:29
yes
and I am talking about that null
darthmaim
@darthmaim
Apr 21 2017 13:29
ahhh
Archomeda
@Archomeda
Apr 21 2017 13:29
there's no 4th dye slot basically
darthmaim
@darthmaim
Apr 21 2017 13:29
its just 3 slots
always
I thought you were talking about /v2/characters/:id/equipment
windwarrior
@windwarrior
Apr 21 2017 13:29
yeah, but would you render this as the hypothetical '3', or the fixed '3' by @Archomeda
darthmaim
@darthmaim
Apr 21 2017 13:30
yes
windwarrior
@windwarrior
Apr 21 2017 13:30
this was not a boolean statement
Archomeda
@Archomeda
Apr 21 2017 13:30
i think @darthmaim's 3 will be [1, 1, 1, null]
and mine [1, null, 1, 1]
darthmaim
@darthmaim
Apr 21 2017 13:30
I don't think so
windwarrior
@windwarrior
Apr 21 2017 13:31
I just think this presentation info might be useful to have in the response
by the way of saying what dye slots take "1-4 size"
darthmaim
@darthmaim
Apr 21 2017 13:31
I think there are only 4 possibilities, [1,null,null,null], [1,1,null,null], [1,1,1,null] and [1,1,1,1]
Archomeda
@Archomeda
Apr 21 2017 13:32
darthmaim
@darthmaim
Apr 21 2017 13:32
thanks gitter
oh i missed that
well I have no idea then
/shrug
Quaggan BooOOoot
@QuagganBooOOoot
Apr 21 2017 13:32
¯\_(ツ)_/¯
windwarrior
@windwarrior
Apr 21 2017 13:32
right, summary
darthmaim
@darthmaim
Apr 21 2017 13:33
I still think its just about count
windwarrior
@windwarrior
Apr 21 2017 13:33
@lye: can we conclude that there are only a fixed amount of configurations of dye slots and map that always to the 2x2 grid as shown ingame?
Archomeda
@Archomeda
Apr 21 2017 13:33
i think it will be encoded like this
+---+---+
| 1 | 2 |
+---+---+
| 3 | 4 |
+---+---+
darthmaim
@darthmaim
Apr 21 2017 13:33
^
windwarrior
@windwarrior
Apr 21 2017 13:34
yeah and if 2 is missing, then 1 takes two slots?
so "extends right"
Archomeda
@Archomeda
Apr 21 2017 13:34
i guess so yeah
darthmaim
@darthmaim
Apr 21 2017 13:34
but if 3 and 4 are also missing, it takes all squares
Archomeda
@Archomeda
Apr 21 2017 13:34
+---+---+
|   1   |
+---+---+
|   3   |
+---+---+
darthmaim
@darthmaim
Apr 21 2017 13:34
so not only extends right
Archomeda
@Archomeda
Apr 21 2017 13:35
right first -> then to bottom
man
windwarrior
@windwarrior
Apr 21 2017 13:35
that was wrong :P
but can only array spot 1 and 4 be filled?
what about that
Archomeda
@Archomeda
Apr 21 2017 13:35
what if the object specifies the dye channel, instead of having it like an array
darthmaim
@darthmaim
Apr 21 2017 13:36
+---+  +---+  +---+ +-+-+
|   |  | 1 |  | 1 | |1|2|
| 1 |  +---+  +-+-+ +-+-+
|   |  | 3 |  |3|4| |3|4|
+---+  +---+  +---+ +-+-+
Archomeda
@Archomeda
Apr 21 2017 13:36
i would say no, but it really depends if the backend data is sane
technically you can make it so that it is the same as having slots 1 and 3
since 3 and 4 overlap in this case
darthmaim
@darthmaim
Apr 21 2017 13:37
I would still render [null, null, 3, 4] as [3, null, 4, null]
Archomeda
@Archomeda
Apr 21 2017 13:37
this is about [1, null, null, 4] vs [1, null, 3, null]
windwarrior
@windwarrior
Apr 21 2017 13:37
well maybe the nulls are useless anyway
darthmaim
@darthmaim
Apr 21 2017 13:38
just throw the nulls away
and check the length
windwarrior
@windwarrior
Apr 21 2017 13:38
maybe all configurations of three are 1 big, and 2 small
Archomeda
@Archomeda
Apr 21 2017 13:38
i'm sure there are cases where [1, 2, 3, null] and [1, null, 3, 4] are both possible
windwarrior
@windwarrior
Apr 21 2017 13:40
anyhow super summary, I wonder whether the array layout in that skin details result can tell us something about how the dye slots are arranged in the ingame UI
(so that people who are interested dont have to read all ^that)
darthmaim
@darthmaim
Apr 21 2017 13:41
all the regulars in here are reading all of that anyway
and everyone else will never know we discussed it :D
Archomeda
@Archomeda
Apr 21 2017 13:42
well... just checked all of my characters; maybe i'm remembering wrong
we'll just have to wait for @lye to come back in office :D
windwarrior
@windwarrior
Apr 21 2017 13:44
I have a feeling both ("sizes") 1, 1, 2 and 2, 1, 1 are possible
but yeah not gonna boot GW2
darthmaim
@darthmaim
Apr 21 2017 13:44
I just checked all my chars too, only 2,1,1
Archomeda
@Archomeda
Apr 21 2017 13:45
who knows how the game treats it
maybe the backend does support other grids
windwarrior
@windwarrior
Apr 21 2017 13:45
probably with game scripts
and content
much content
Eearslya Sleiarion
@Eearslya
Apr 21 2017 13:53
we are the super-secret api council
we shape the api to our will
(It's actually funny how true that is)
windwarrior
@windwarrior
Apr 21 2017 13:55
we are not elected tho :(
Archomeda
@Archomeda
Apr 21 2017 13:55
we elected ourselves
Eearslya Sleiarion
@Eearslya
Apr 21 2017 13:56
we joined the council when we became large consumers of the API
windwarrior
@windwarrior
Apr 21 2017 13:56
fun fact, 1 of my 3 GW2 apps does not use the GW2 api
sad fact, Reddit has a terrible api
Darqam
@Darqam
Apr 21 2017 14:12
it's an old comment from Lye, but I always do like to see stuff like The backend work for this totally fell apart on live because I'm terrible.
Archomeda
@Archomeda
Apr 21 2017 14:13
oh, that's from a wvw pr :P
darthmaim
@darthmaim
Apr 21 2017 14:13
yup :D
Darqam
@Darqam
Apr 21 2017 14:13
yeah going through the past week's pr commits, found that one amusing
what other endpoint had that skirmish data that was added to matches from #381 ? Iirc, this was a 'dublicate' of somewhere else
darthmaim
@darthmaim
Apr 21 2017 14:15
scores
Darqam
@Darqam
Apr 21 2017 14:15
thanks
darthmaim
@darthmaim
Apr 21 2017 14:15
/v2/wvw/matches/scores/:id
Darqam
@Darqam
Apr 21 2017 14:15
wait shit, that doesn't help at all; didn't write that one yet on wiki
/tableflip
awwwww
no tableflip command, am sad
Archomeda
@Archomeda
Apr 21 2017 14:16
https://wiki.guildwars2.com/wiki/User:Archomeda/Sandbox/API_Changelog << get the changes from the day before yesterday on it as well :P
darthmaim
@darthmaim
Apr 21 2017 14:16
is it done now?
Archomeda
@Archomeda
Apr 21 2017 14:16
mailcarriers and pvp heroes
but no
i'm still missing a few months
this was just me keeping track of recent stuff at the same time i was going back in time
Darqam
@Darqam
Apr 21 2017 14:18
omg, this skirmish object is massive
darthmaim
@darthmaim
Apr 21 2017 14:19
/tableflip
Quaggan BooOOoot
@QuagganBooOOoot
Apr 21 2017 14:19
(╯°□°)╯︵ ┻━┻
darthmaim
@darthmaim
Apr 21 2017 14:19
well that was easy
/shrug
Quaggan BooOOoot
@QuagganBooOOoot
Apr 21 2017 14:19
¯\_(ツ)_/¯
Darqam
@Darqam
Apr 21 2017 14:19
<3
hum... I don't see "skirmish_end_time" on live api
Archomeda
@Archomeda
Apr 21 2017 14:20
:fire:
Darqam
@Darqam
Apr 21 2017 14:21
@lye :fire: ?
Archomeda
@Archomeda
Apr 21 2017 14:22
i kinda dislike the characters page on the wiki not having the separate subendpoints like account has :P
makes linking sort of difficult from the changelog
Darqam
@Darqam
Apr 21 2017 14:23
sigh but it's so much wooooooork
Archomeda
@Archomeda
Apr 21 2017 14:23
it is :(
Darqam
@Darqam
Apr 21 2017 14:28
map_score -> type -> "center"/"<color>Home", I feel like type might not have been the best possible word choice... but hell if I would have called it anything better
also, do these skirmish object only fill once the skirmish is over, or do they update on a timer?
darthmaim
@darthmaim
Apr 21 2017 14:29
pretty sure they are updating as fast as the scores
Darqam
@Darqam
Apr 21 2017 14:37
https://github.com/arenanet/api-cdi/pull/381/files also says there is something called ratings? never seen that in live either
well, the file does, not the pr
Darrian
@rikkuness
Apr 21 2017 14:42
Is there a PR yet for the guild K/D's?
my guild determine if it's been a good nights WvW based on how many lootbags everyone got and that's not a good enough metric in my books :p
Archomeda
@Archomeda
Apr 21 2017 14:43
it's still in the works
Darrian
@rikkuness
Apr 21 2017 14:43
cool :) thanks
Archomeda @Archomeda wants to reference what lye has said, but decides against it because Gitter search is horrible
Nabrok
@Nabrok
Apr 21 2017 14:44
We used to do a thing where we compared Spike counts :)
Darqam
@Darqam
Apr 21 2017 14:59
wiki uses Mist Champions, api uses PvP Heroes
/tableflip
Quaggan BooOOoot
@QuagganBooOOoot
Apr 21 2017 14:59
(╯°□°)╯︵ ┻━┻
Darqam
@Darqam
Apr 21 2017 15:01
also... mailcarrier vs pvp-heroes; Lye plz
Add /v2/pvp/heroes and /v2/account/pvp-heroes
darthmaim
@darthmaim
Apr 21 2017 15:05
but the file has the correct url
Darqam
@Darqam
Apr 21 2017 15:05
missed that I guess. ngh
Archomeda
@Archomeda
Apr 21 2017 15:22
did #449 ever made it in?
i mean, it's closed... but
#461 and #381
duplicates? :D
darthmaim
@darthmaim
Apr 21 2017 15:32
nice
Archomeda
@Archomeda
Apr 21 2017 15:33
i'll merge it with https://wiki.guildwars2.com/wiki/API:Changelog later today
i don't particularly care about <July 2015 at the moment :D
also, i now just realized that you can't delete pages yourself on mediawiki...
not even your own userpages
who thought that was a good idea when they designed mediawiki :(
darthmaim
@darthmaim
Apr 21 2017 15:36
there is no such thing as "your own userpages"
Archomeda
@Archomeda
Apr 21 2017 15:36
heh
darthmaim
@darthmaim
Apr 21 2017 15:36
if you don't have delete permissions for the User namespace you can't delete
Archomeda
@Archomeda
Apr 21 2017 15:37
bad design decision imo
darthmaim
@darthmaim
Apr 21 2017 15:37
I'm not even sure if you can limit that to namespaces
I think its just delete everywhere or nowhere
I have delete rights in all the wikis I care about
Eearslya Sleiarion
@Eearslya
Apr 21 2017 15:37
Well they can restrict editing by namespace
darthmaim
@darthmaim
Apr 21 2017 15:37
/shrug
Quaggan BooOOoot
@QuagganBooOOoot
Apr 21 2017 15:37
¯\_(ツ)_/¯
Archomeda
@Archomeda
Apr 21 2017 15:38
you know, i'm just gonna push it to the main changelog page and empty out mine
Eearslya Sleiarion
@Eearslya
Apr 21 2017 15:40
git inflict
Oh yeah, I forgot I made my GW2 wiki dark
darthmaim
@darthmaim
Apr 21 2017 15:40
nice
Archomeda
@Archomeda
Apr 21 2017 15:41
costed me 5 days haha
darthmaim
@darthmaim
Apr 21 2017 15:41
:heart:
Quaggan BooOOoot
@QuagganBooOOoot
Apr 21 2017 15:41
:heart:
Archomeda
@Archomeda
Apr 21 2017 15:41
haha
now i'm thinking that maybe a nav on the bottom of the page would be nice
kinda like what the living story pages have etc
Darqam
@Darqam
Apr 21 2017 15:47
api nav template.... I like that idea tbh
Darqam
@Darqam
Apr 21 2017 15:57
so archomeda, you going to keep on top of that now? plzzzz
Archomeda
@Archomeda
Apr 21 2017 15:57
the changelog?
Darqam
@Darqam
Apr 21 2017 15:57
yeah
Archomeda
@Archomeda
Apr 21 2017 15:57
maybe
Darqam
@Darqam
Apr 21 2017 15:57
also you seem to have impressed Greener
Archomeda
@Archomeda
Apr 21 2017 15:58
it should be easy if changes keep being posted here
Darqam
@Darqam
Apr 21 2017 15:58
mm, the github page is great to track things
Archomeda
@Archomeda
Apr 21 2017 16:04
i'm exhausted on that page now though :P
i think a lot of endpoint pages still have missing release dates or invalid ones
Darqam
@Darqam
Apr 21 2017 16:08
yeah, when I looked through some, there was no date I could find anywhere, I guess it might be worth collecting all the unknowns at some point and just asking lye.... but effort...
Archomeda
@Archomeda
Apr 21 2017 16:09
:P
Eearslya Sleiarion
@Eearslya
Apr 21 2017 16:30
gitter

I wonder whether the array layout in that skin details result can tell us something about how the dye slots are arranged in the ingame UI

@windwarrior the UI counts the number of slots and uses a layout based on the number of slots; it doesn't care which slots are which.

darthmaim
@darthmaim
Apr 21 2017 16:45
see :P
windwarrior
@windwarrior
Apr 21 2017 16:45
but are the null values in your example then to any use

hum... I don't see "skirmish_end_time" on live api

@Darqam fffffffffffffffffffffffff how do I screw up like this

Darqam
@Darqam
Apr 21 2017 16:46
:sparkles:
@windwarrior yes, because the dye values in /v2/character/equipment don't know about content (currently...)
/v2/character/equipment should probably just pull the skin data and get rid of unused channels -_-
windwarrior
@windwarrior
Apr 21 2017 16:48
wait, one step back, does /v2/character/equipment always have 4 dyes?
yes
darthmaim
@darthmaim
Apr 21 2017 16:48
yes
windwarrior
@windwarrior
Apr 21 2017 16:48
no matter what skin
ahh
but don't armorpieces sort of remember their dyes
Yeah, the dyes are stored in the itemstack data
windwarrior
@windwarrior
Apr 21 2017 16:50
but let me guess, that stores 4 no matter what?
yep
and the skin has the indexes to use, whether they're 0,1,2,3 or 0,3
windwarrior
@windwarrior
Apr 21 2017 16:51
ya, and if there are other indices set, they are just treated as garbage :P
makes sense
I'm not sure how long the per-item dyes are persisted though
also, when you equip an item that is undyed, it inherits the dyes from the armor it's replacing
(looks like it persists permanently)
windwarrior
@windwarrior
Apr 21 2017 16:53
it just sort of bothered me that an item that had 3 dye slots (for us humans), has an array of dye slots len 4, but with a single null value
that made -semantically- no sense
but given the implementation it does
additionally -- when you unequip some armor I think that armor's dyes get copied into a separate slot on your character
so that the next thing to go into that slot inherits the dyes
darthmaim
@darthmaim
Apr 21 2017 16:54
/tableflip
Quaggan BooOOoot
@QuagganBooOOoot
Apr 21 2017 16:54
(╯°□°)╯︵ ┻━┻
darthmaim
@darthmaim
Apr 21 2017 16:55
that was a great suggestion @Darqam
RE: wvw apis, I wonder if they'll break this week
Eearslya Sleiarion
@Eearslya
Apr 21 2017 16:56
Don't the armor dyes get stored in the armor?
I know you can have 2 differently dyed sets of armor in your inventory
Yeah, they do.
Pat Cavit
@tivac
Apr 21 2017 16:57
:clap::clap::clap: @Archomeda this API changelog is rad
Darqam
@Darqam
Apr 21 2017 16:57
tableflip is always good to have
Pat Cavit
@tivac
Apr 21 2017 16:57
thank you
@Eearslya a side-effect I didn't anticipate is that the API change exposes dye colors for items in all places.
Ugh I need to figure out how to make this not insane
Archomeda
@Archomeda
Apr 21 2017 17:00
@tivac <3
wait, so i can easily copy dyes from one armor piece to another if that other piece doesn't have any dyes set?
windwarrior
@windwarrior
Apr 21 2017 17:01
okay sorry for pressing onto this, but they are connected on slot id basis right? SO cant you have in /v2/skins/details, a list of len amount_of_slots, and then in /v2/characters/:name/equipment a dict of slot_id -> dye?
maybe I am just stupid
Archomeda
@Archomeda
Apr 21 2017 17:01
i knew it was somehow possible, but i couldn't do it consistently :(
@windwarrior yes, however, the slots on a skin vary by race/gender.
windwarrior
@windwarrior
Apr 21 2017 17:02
yeah, but the item just has a dict-ish of which id to fill with what color?
because that item has no clue on which race it is placed right?
More-or-less. The way it works is effectively:
skin:
    map[race-gender] defaultColor[4]

character:
    dyedColor[4]
err, the item knows which race/gender it's being placed on
windwarrior
@windwarrior
Apr 21 2017 17:03
its so minor, sorry for pressing this
no it's good
it's confusing af for me so it helps to talk about it
I'm thinking that for the endpoints, it makes sense to just delete all the nulls (which is maybe straightforward)
windwarrior
@windwarrior
Apr 21 2017 17:04
yeah, unless they are array matched together
like on index basis
Eearslya Sleiarion
@Eearslya
Apr 21 2017 17:04
@lye needs a rubber duck
well if the nulls are stripped from defaultColor in the same manner as dyedColor it should always match up
windwarrior
@windwarrior
Apr 21 2017 17:05
glad to be of service quack
:>
darthmaim
@darthmaim
Apr 21 2017 17:05
what if I put the item on a char with many slots, color it, then move it to a char with fewer channels
the info should still be there?
yeah
windwarrior
@windwarrior
Apr 21 2017 17:05
then you are QA
and usually annoying
darthmaim
@darthmaim
Apr 21 2017 17:05
so removing nulls wouldn't work
...
you're right
darthmaim
@darthmaim
Apr 21 2017 17:06
because the item has more colors set than the skin accepts
:headdesk:
windwarrior
@windwarrior
Apr 21 2017 17:06
wait
the item has 4 colors set then, and only like 2 get used, no? Arent they still matched on that id?
darthmaim
@darthmaim
Apr 21 2017 17:07
they are index based

sorry my previous diagram was wrong.

item:
    dyedColor[4] // never has null entries, defaults to dye remover

skin:
    map[race-gender] defaultColor[4] // may have null entries

so if you change race-gender (via moving it to a different character or a makeover kit) the used slots of item.dyedColor may change

darthmaim
@darthmaim
Apr 21 2017 17:08
for example: item gets color [1,2,3,4], moved to a different char, skin only has [1,null,3,4], with null removed that suddenly would be [1,2,3] instead of the correct [1,3,4]
windwarrior
@windwarrior
Apr 21 2017 17:08
OH right
I thought the dyedColor[4] was a tuple of (slot_id, Color)
and that they would only be matched on slot_id
darthmaim
@darthmaim
Apr 21 2017 17:10
yup, but the slot_id is the index of the array
if the slot is not set, it is null
removing that, basically offsets all following slot ids
windwarrior
@windwarrior
Apr 21 2017 17:10
oh yeah
well you can do a counting nulls then
darthmaim
@darthmaim
Apr 21 2017 17:11
just leave the nulls in like they are now
seems reasonable.
windwarrior
@windwarrior
Apr 21 2017 17:12
but then the 'id' in /v2/skins/details is useless
I am so confused
darthmaim
@darthmaim
Apr 21 2017 17:12
the id is just the default color, which is always dye remover?
windwarrior
@windwarrior
Apr 21 2017 17:13
nevermind, you are right then I guess
I'm not convinced the default color is ever used
for me, when equipping armor it always uses the 4 dyes that the previously equipped item had
Eearslya Sleiarion
@Eearslya
Apr 21 2017 17:14
I usually see dye remover when I equip a newly crafted set
windwarrior
@windwarrior
Apr 21 2017 17:14
also on a new char?
haven't tried a new char
ah okay, interesting
I stripped my char, relogged, then put freshly made armor on
and it got the default dyes
darthmaim
@darthmaim
Apr 21 2017 17:14
just leave it in
windwarrior
@windwarrior
Apr 21 2017 17:15
can you in the example you gave, add that that id references a dye. That threw me off so hard
the one above?
darthmaim
@darthmaim
Apr 21 2017 17:15
the /v2/skins.details gist
windwarrior
@windwarrior
Apr 21 2017 17:15
the one aptly titled "ughghhhhhhhhhhhhhhhhhhhh"
(also -- relogged; equipped freshly made item. no dyes. equipped dyed item, then re-equipped the first and the first became dyed)
@windwarrior lol
windwarrior
@windwarrior
Apr 21 2017 17:16
yeah
gitter open source when
gonna take another sabbatical and make gitter great again
darthmaim
@darthmaim
Apr 21 2017 17:17
:P
windwarrior
@windwarrior
Apr 21 2017 17:17
exactly, or name it something different, default_dye_id. At least make people like me not guess what id means because we will inevidably try to match it to any other id we find
fair
darthmaim
@darthmaim
Apr 21 2017 17:17
jup, leave everything else like it is in your examples
the null stuff is easy enogh to do client side
windwarrior
@windwarrior
Apr 21 2017 17:18
yeah, agree
it just took me a ... while
darthmaim
@darthmaim
Apr 21 2017 17:18
const channels = skin.details.dyechannels[char+gender].map((channel, index) => channel && { channel, dye: itemstack.dyes[index] }).filter(Boolean): or so
should return something like [{ channel: { material: 'Metal' }, dye: 123 }, ...]
without null
windwarrior
@windwarrior
Apr 21 2017 17:21
ieeeuw, multiple types in the same array
darthmaim
@darthmaim
Apr 21 2017 17:21
no?
windwarrior
@windwarrior
Apr 21 2017 17:21
before the filter :P
darthmaim
@darthmaim
Apr 21 2017 17:21
well, null, yes
You could do map((channel, index) => ({channel, index})).filter(channel => channel !== null).map(...)
if you really don't want false/null in the array
or channel === null ? null : { channel, dye }
then its just object/null instead of object/false
windwarrior
@windwarrior
Apr 21 2017 17:24
ya :P
Werdes
@werdes
Apr 21 2017 17:27
so will that guild kill thing require auth?
you know I was actually thinking about making it require auth to fetch arbitrary guild KDRs
but the N top kills/kdr% would be publicly available
I could probably be swayed either way on it, tbh
Jonathan Andrist
@rwfrk_twitter
Apr 21 2017 17:44
It's not like there's a grand list of GUIDs for guilds around for guilds who DONT claim things.
If you claim stuff, the GUID is on a website I just can't remember which. Otherwise you'd need a key for a player in that guild.
right?
darthmaim
@darthmaim
Apr 21 2017 17:44
no, you can search for the guid
/v2/guild/search
if you know the guild name
Jonathan Andrist
@rwfrk_twitter
Apr 21 2017 17:45
sigh Hrm.
Does it take only exact matches?
darthmaim
@darthmaim
Apr 21 2017 17:45
yes
Jonathan Andrist
@rwfrk_twitter
Apr 21 2017 17:45
I still don't see where they'd get that list if you don't claim things then.
You'd need to actually know players in those guilds. Or see them and enter it all by hand. Plus does guild KDR distinguish between server/matchup?
Query TTS :P
And I presume its only guild KDR if repped.
darthmaim
@darthmaim
Apr 21 2017 17:47
well, clicking on players in game isn't that complicated
if you don't know a guild you probably also don't want to know their kdr
@rwfrk_twitter yeah, it only tracks people who are repped
ChieftainAlex
@ChieftainAlex
Apr 21 2017 17:58
if items store the dye in groups of four, does that mean weapons have dye information stored, but no slots?
Jonathan Andrist
@rwfrk_twitter
Apr 21 2017 17:58
Can't see a reason to make guild KDR require auths. Info on your opponents KDR is cool and brings competition which is what the gamemode wants. Hopefully.
As for dyes. Well..if the render endpoint becomes a thing, that'll be cool,but..such a mess. =)
okay, for /v2/skins I've got it reduced down to
    "dye_slots": {
      "default": [
        {
          "color_id": 22,
          "material": "Metal"
        },
        {
          "color_id": 455,
          "material": "Metal"
        },
        {
          "color_id": 455,
          "material": "Leather"
        },
        null
      ],
      "overrides": {}
    }
  }
(and then overrides contains the rest of the old-format stuff)
I'm much happier with this I think
darthmaim
@darthmaim
Apr 21 2017 18:46
:+1:
Archomeda
@Archomeda
Apr 21 2017 19:00
then... what is default?
darthmaim
@darthmaim
Apr 21 2017 19:00
everything that isn't in overrides?
so human_female might have different channels
but all others use default
Archomeda
@Archomeda
Apr 21 2017 19:02
hmm
seems reasonable
windwarrior
@windwarrior
Apr 21 2017 19:03
oh right, so it is "default" unless otherwise specified by "overrides"
yeah
and overrides looks like
        "overrides": {
          "HumanFemale": [
            {
              "color_id": 22,
              "material": "Leather"
            },
            {
              "color_id": 455,
              "material": "Leather"
            },
            {
              "color_id": 455,
              "material": "Leather"
            },
            {
              "color_id": 1,
              "material": "Leather"
            }
          ],
might un-capitalize the material keys so that they can be used as-is against /v2/colors responses
darthmaim
@darthmaim
Apr 21 2017 19:07
that would be nice
windwarrior
@windwarrior
Apr 21 2017 19:07
ya, and for a item to be properly dyed, you would find from that item its colors (four of them), monadically paste them over the slot specification
makes sense!
yeppers! it's basically map fst $ filter snd $ zip charDyes itemDyeSlots in Haskell
windwarrior
@windwarrior
Apr 21 2017 19:12
yep
Archomeda
@Archomeda
Apr 21 2017 19:12
haskell.. ew
(map car (filter cdr (zip charDyes itemDyeSlots))) ?
windwarrior
@windwarrior
Apr 21 2017 19:13
embrace the dollar
I seriously wished it was in more languages
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:13
Factorio 0.15 Tuesday HYPE
Archomeda
@Archomeda
Apr 21 2017 19:13
yes
windwarrior
@windwarrior
Apr 21 2017 19:13
oh god
darthmaim
@darthmaim
Apr 21 2017 19:13
nice, I just started playing factorio again last week
Archomeda
@Archomeda
Apr 21 2017 19:13
i haven't done any factorio in a while :<
windwarrior
@windwarrior
Apr 21 2017 19:13
rip the report that is due end next week
look at it
Archomeda
@Archomeda
Apr 21 2017 19:14
get an API factorio server up :P
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:14
look at it
it's so beautiful
Archomeda
@Archomeda
Apr 21 2017 19:14
(i have been screaming on having API servers for multiple games...)
(heh)
darthmaim
@darthmaim
Apr 21 2017 19:14
I tried to setup a server
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:14
I totally could
darthmaim
@darthmaim
Apr 21 2017 19:14
but my root server is too old and missing a bunch of dependencies I would have to compile from source
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:14
kobold has been down for the past 2 weeks doing nothing
darthmaim
@darthmaim
Apr 21 2017 19:14
and I'm too lazy
maybe I'm just getting a new server... again
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:15
I think kobold has factorio installed actually
Archomeda
@Archomeda
Apr 21 2017 19:15
i wonder what the latency would be from NA <-> EU
darthmaim
@darthmaim
Apr 21 2017 19:15
shouldn't be that bad for factorio?
Archomeda
@Archomeda
Apr 21 2017 19:16
dunno
@Eearslya just think about how great that would be if your boilers and turbines were arrayed symmetrically
darthmaim
@darthmaim
Apr 21 2017 19:16
unless it rubberbands you around
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:16
>connects to hyper-v server
>first thing I see
>java wants admin permissions
Archomeda
@Archomeda
Apr 21 2017 19:16
lol
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:16
pls
Archomeda
@Archomeda
Apr 21 2017 19:16
java... urgh
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:16
@lye They will be in my game
That was straight from the FFF blogpost
ah heh
excessive OCD is why I gave up on factorio a long time ago
Archomeda
@Archomeda
Apr 21 2017 19:17
:<
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:17
I hope the heat pipes don't have loss or something
literally spent hours undoing and redoing supply lines as the base grew
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:17
main bus systems are good
darthmaim
@darthmaim
Apr 21 2017 19:17
^
Archomeda
@Archomeda
Apr 21 2017 19:17
i moved away from having big main busses
darthmaim
@darthmaim
Apr 21 2017 19:17
you can make them pretty clean looking
Archomeda
@Archomeda
Apr 21 2017 19:17
too annoying to modify every time :<
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:17
what
darthmaim
@darthmaim
Apr 21 2017 19:17
why modify?
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:17
you almost never modify main buses
just extend
Archomeda
@Archomeda
Apr 21 2017 19:18
because i just have to redo stuff every time :P
windwarrior
@windwarrior
Apr 21 2017 19:18
my storing strategy whether a pair of jeans is bad
Archomeda
@Archomeda
Apr 21 2017 19:18
capacity issues etc
windwarrior
@windwarrior
Apr 21 2017 19:18
it used to be, "if its folded" its not worn
but I dont fold my jeans anymore :(
Archomeda
@Archomeda
Apr 21 2017 19:19
tbh, i never actually had a base that big
i just keep redoing stuff :P
ditto
windwarrior
@windwarrior
Apr 21 2017 19:19
I actually played it mostly with a friend
I think we launched a rocket
and then it sorta died down
Archomeda
@Archomeda
Apr 21 2017 19:19
i never even launched one
but hey, now there's a reason to launch one
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:20
one of my longest-standing bases https://i.imgur.com/l0dd6P2r.jpg
Archomeda
@Archomeda
Apr 21 2017 19:20
because infinite researches
windwarrior
@windwarrior
Apr 21 2017 19:20
yeah do we get that science retroactively :(
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:20
probably not XD
windwarrior
@windwarrior
Apr 21 2017 19:21
I am disappoint
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:21
okay so my server has factorio extracted on it at least
darthmaim
@darthmaim
Apr 21 2017 19:22
./bin/x64/factorio
windwarrior
@windwarrior
Apr 21 2017 19:22
I forgot to charge my Switch
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:22
--start-server
windwarrior
@windwarrior
Apr 21 2017 19:22
now I cant BotW on the train
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:22
I need to gen a map first
hmm
Well, we're probably gonna trash it once 0.15 hits so I'll just do default
darthmaim
@darthmaim
Apr 21 2017 19:23
:+1:
Archomeda
@Archomeda
Apr 21 2017 19:26
oh wow, karka queen model is bugged
windwarrior
@windwarrior
Apr 21 2017 19:26
I need to buy an extra battery
Archomeda
@Archomeda
Apr 21 2017 19:26
lighting flickering + going invisible/visible
windwarrior
@windwarrior
Apr 21 2017 19:26
so that I can forget to charge twice
did you happen to play Chrono?
Archomeda
@Archomeda
Apr 21 2017 19:26
no
windwarrior
@windwarrior
Apr 21 2017 19:26
because when I use Tides of Time on Samarog
he goes mesmer stealth
Archomeda
@Archomeda
Apr 21 2017 19:27
his model just disappeared, not like 1% opacity :P
windwarrior
@windwarrior
Apr 21 2017 19:27
and my raid buddies mock me for it
like how can you care
but I miss all his tells
when the boss is literally like 10% opacity
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:28
aaaa now I need to deal with going through all my friggin firewalls
windwarrior
@windwarrior
Apr 21 2017 19:32
I used to not have a NAT
my life was careless and free
NAT's are a terrible plan imo
Eearslya Sleiarion
@Eearslya
Apr 21 2017 19:52
well it's up
kind of a crappy spawn
144.217.40.136:34197
oh yeah, and the password's quaggan
windwarrior
@windwarrior
Apr 21 2017 19:57
Not even a shrug
Taak
Tssk*
Archomeda
@Archomeda
Apr 21 2017 20:01
:O
that was fast :P
i'm doing guild missions atm :D
darthmaim
@darthmaim
Apr 21 2017 20:02
what mods are you using?
getting mod mismatch when trying to connect
Mods mismatch detected!
base: Mod contents are different even though versions are the same
or is that trying to tell me that the "base" game is different?
Eearslya Sleiarion
@Eearslya
Apr 21 2017 20:03
..wat
Archomeda
@Archomeda
Apr 21 2017 20:04
base = base game version
Eearslya Sleiarion
@Eearslya
Apr 21 2017 20:04
I just downloaded it
how can it be different
darthmaim
@darthmaim
Apr 21 2017 20:04
no idea
Archomeda
@Archomeda
Apr 21 2017 20:04
what factorio version?
darthmaim
@darthmaim
Apr 21 2017 20:04
I'm using the latest steam release
Eearslya Sleiarion
@Eearslya
Apr 21 2017 20:04
640.823 Refusing connection for address(93.181.2.44:63714). Active mods configuration doesn't match.
0.14.22
darthmaim
@darthmaim
Apr 21 2017 20:04
0.14.22
build 25342
Eearslya Sleiarion
@Eearslya
Apr 21 2017 20:04
Do you have mods installed..?
darthmaim
@darthmaim
Apr 21 2017 20:04
nope
Eearslya Sleiarion
@Eearslya
Apr 21 2017 20:05
0.000 2017-04-21 13:05:02; Factorio 0.14.22 (build 25342, linux64, headless)
darthmaim
@darthmaim
Apr 21 2017 20:05
same build...
let me try repair in steam
Eearslya Sleiarion
@Eearslya
Apr 21 2017 20:05
I'm confus
darthmaim
@darthmaim
Apr 21 2017 20:06
nope
still not working
let my try on my macbook
Eearslya Sleiarion
@Eearslya
Apr 21 2017 20:08
Even if you don't have any mods installed, maybe one of you has the scenario pack; afaik it's not working then.
Maybe..?
darthmaim
@darthmaim
Apr 21 2017 20:09
no idea, let me check
Eearslya Sleiarion
@Eearslya
Apr 21 2017 20:09
You don't have anything in the mods folder at all? (except mod-list.json)
darthmaim
@darthmaim
Apr 21 2017 20:09
worked on my macbook
I didn't do anything to it
but I can check
%appdata%/Factorio/mods has only the mod-list.json
Eearslya Sleiarion
@Eearslya
Apr 21 2017 20:12
bizarre
darthmaim
@darthmaim
Apr 21 2017 20:12
SteamLibrary\steamapps\common\Factorio\data\base\scenarios
has a few scenarios in it
freeplay, sandbox, supply, team-production-0.4.1
Eearslya Sleiarion
@Eearslya
Apr 21 2017 20:13
pretty sure anything in data\base is meant to be there
I have those too
Archomeda
@Archomeda
Apr 21 2017 20:14
let me try it in between my guild missions :P
wow, steam has trouble downloading ;-;
darthmaim
@darthmaim
Apr 21 2017 20:15
I could also try to redownload...
got it to work
I had to delete a data-updates.lua file in base
no idea where that came from
Archomeda
@Archomeda
Apr 21 2017 20:18
what is talking in chat? :P
i forgot
keybind
darthmaim
@darthmaim
Apr 21 2017 20:19
I had to rebind it because of german key layout
said "Grave"
but didn't work
aaaand you left the game
Archomeda
@Archomeda
Apr 21 2017 20:19
right
"toggle lua console"
thanks factorio
yes, i was just testing if i could get in :P
darthmaim
@darthmaim
Apr 21 2017 20:20
the spawn is shit anyways :P
no iron
and I'm running sooo slow
where is my powerarmor
Eearslya Sleiarion
@Eearslya
Apr 21 2017 20:23
Should I regen the map?
darthmaim
@darthmaim
Apr 21 2017 20:23
If you want to
also, I'm not noticing any lag
ctrl clicking stuff out of the drills takes a little bit longer, maybe 0.2s
but everything else is fine
Archomeda
@Archomeda
Apr 21 2017 20:29
yeah, that's factorio's latency
you also notice it while driving
walking has latency hiding
or something
ChieftainAlex
@ChieftainAlex
Apr 21 2017 20:31

It seems the custom icon url keys have different names between endpoints. E.g. in v2/continents/Dredgehaunt Cliffs it is "icon", but for wvw objectives, e.g. anything in v2/wvw/objectives the custom icon are called "marker" :/

Also I kinda expected the wvw objectives to all have coordinates.

icon/marker -- whoops. Kind of hard to keep track of internal : external names.
Pretty sure those are fileIcon/marker.fileSomething internally >_<
WvW is a mess. Right now, green/blue desert BL maps aren't in content so the objectives can't be listed (or something along those lines)
ChieftainAlex
@ChieftainAlex
Apr 21 2017 20:42
huh I thought I had skipped the green/blue desert BL maps and I still got coord undefined in my console. could easily be my mistake tbh
erk, if there are objectives that are capturable in-game that don't have coordinates something's wrong somewhere
Archomeda
@Archomeda
Apr 21 2017 20:44
well, the green/blue desert bl maps aren't coming back right?
it's now only the red bl
literally no idea what the plan is
ChieftainAlex
@ChieftainAlex
Apr 21 2017 20:44
I'll stick some more console.log things in
Archomeda
@Archomeda
Apr 21 2017 20:44
pretty sure that was the vote last year
i wonder if we'll get a forest bl at some point
for the green bl
/shrug
Quaggan BooOOoot
@QuagganBooOOoot
Apr 21 2017 20:47
¯\_(ツ)_/¯
honestly if we could just have like, a bl that's just a white box with a couple of gray box objectives
Archomeda
@Archomeda
Apr 21 2017 20:48
hahaha
where you did like 15v15 combat
i'd be okay with that
Archomeda
@Archomeda
Apr 21 2017 20:48
if you combine all the opinions of the playerbase, you'll end up with that
Darqam
@Darqam
Apr 21 2017 20:49
GvG confirmed supported by anet!
maybe we can bump the numbers to 25v25 if there are multiple objectives
annnnnnd i'm fired thanks it's been fun
Darqam
@Darqam
Apr 21 2017 20:49
<.<
Archomeda
@Archomeda
Apr 21 2017 20:49
</3
oh crap uhh are the wvw apis right for the EU?
I forgot to check at reset
Archomeda
@Archomeda
Apr 21 2017 20:50
ehm
Darqam
@Darqam
Apr 21 2017 20:50
EU WvW caught :fire: last night
yeah one of the servers was rebooted; that didn't have to do with the API though
Archomeda
@Archomeda
Apr 21 2017 20:50
it seems alright
yay
Archomeda
@Archomeda
Apr 21 2017 20:50
compared to what i see ingame
the last release should have fixed the bug where it sometimes breaks at reset due to race conditions
worst-case I can just VPN tonight at NA reset and fix the state
need to make sure my desktop doesn't BSOD like last friday though, hmm
Archomeda
@Archomeda
Apr 21 2017 20:51
lol
how did that happen anyway?
the BSOD? theory is that the SATA controller on the revision of our desktop builds is a little wonky
Archomeda
@Archomeda
Apr 21 2017 20:52
also, why didn't it reboot
ouch
windwarrior
@windwarrior
Apr 21 2017 20:52
Get faulty memory
it does reboot
windwarrior
@windwarrior
Apr 21 2017 20:52
That does wonders
but the HDD isn't detected until a repower
Archomeda
@Archomeda
Apr 21 2017 20:52
wat
windwarrior
@windwarrior
Apr 21 2017 20:52
Wait do you have intels P67
IT hasn't been able to figure it out; it happens to like a dozen people though (and less frequently than once/month)
windwarrior
@windwarrior
Apr 21 2017 20:53
The unpatched kind?
Archomeda
@Archomeda
Apr 21 2017 20:53
if you can't figure it out, just buy new pcs
/problem solved
@windwarrior literally no idea how to tell on windows
windwarrior
@windwarrior
Apr 21 2017 20:54
Is it like i{3. 2xxx
I3/i5/i7
i7-4790
windwarrior
@windwarrior
Apr 21 2017 20:54
Yeah no
That is not affected
dang
Archomeda
@Archomeda
Apr 21 2017 20:54
isn't the tool "System Information" showing it?
maybe, I'm looking at the device manager
windwarrior
@windwarrior
Apr 21 2017 20:55
Like the second core i generation had a faulthy transistor in the chipset part for SATA 2
Which made it more likely to eventually fail
ChieftainAlex
@ChieftainAlex
Apr 21 2017 20:55
Okay I had a look through /v2/wvw/objectives: there are objectives without coordinates, but they do have "label_coord". They are for example "Border" ([&DGcAAABfAAAA]) or "Citadel" ([&DG8AAABgAAAA]),
Quaggan BooOOoot
@QuagganBooOOoot
Apr 21 2017 20:55
link type id info links
[&DGcAAABfAAAA] invalid
[&DG8AAABgAAAA] invalid
ChieftainAlex
@ChieftainAlex
Apr 21 2017 20:56
wvw links bot bro
Archomeda
@Archomeda
Apr 21 2017 20:56
lol @QuagganBooOOoot
@ChieftainAlex ahhh okay that makes more sense
the label_coord is derived from the world map data
the uhh, coordinates are pulled by finding a tripwire in content that has a script on the map which has a parameter at a certain index that points to the wvw objective >___>
so if there's no capture point there won't be a corresponding coordinate
Archomeda
@Archomeda
Apr 21 2017 20:57
aren't those strings formatted ingame by the server name?
yes, but the API doesn't expose the raw string values
windwarrior
@windwarrior
Apr 21 2017 20:57
That sounds more messy then a fresh plate of spagetti
Archomeda
@Archomeda
Apr 21 2017 20:57
:<
@windwarrior there's definitely some nastier things that the API does with scripts
in some cases it's practically got a symbolic execution engine
windwarrior
@windwarrior
Apr 21 2017 20:58
How often do you shout at content people for them reinventing the wheel another way
And subsequently breaking your code
I don't know who they are
I just add workarounds in my code and hope for the best usually
ugh recipe unlocks is one I was thinking of
Archomeda
@Archomeda
Apr 21 2017 20:59
@lye is just dropping anonymous emails everywhere
windwarrior
@windwarrior
Apr 21 2017 20:59
Sincerely the API daemon
I inspect all "on-use" scripts attached to consume items, evaluate all script branches to find any that have a "recipe unlock" action, then append the corresponding recipes to the item's recipe unlock list
ChieftainAlex
@ChieftainAlex
Apr 21 2017 21:00
backend --> lye: magic v3/skillz --> api
s/magic/madness
windwarrior
@windwarrior
Apr 21 2017 21:00
Yeah sounds about right
ugh I was curious and made the mistake of looking at line counts
30k LOC for the backend C++ API servers
the internet was a mistake
ChieftainAlex
@ChieftainAlex
Apr 21 2017 21:02
I kind of hope 29k of those were to expose v2/build
windwarrior
@windwarrior
Apr 21 2017 21:03
We have established that save from preprocessor directives you dont really need newlines
So you can probably reduce that quite a bit ;)
Maybe class statements need newlines
I am not sure
ChieftainAlex
@ChieftainAlex
Apr 21 2017 21:12
so afaik those label_coord only objectives I mentioned above are only for the wvw borderlands, not EB or EotM. Plus they sit on top of the sector labels ... so I guess I'll filter them out.
@windwarrior they don't
hmm, label_coords may be derived from the sector label coords; I don't recall
I think there's a default value that's overriden if (1) there's a corresponding sector and (2) the sector has coords for the label