These are chat archives for arenanet/api-cdi

6th
Oct 2017
Michael Dougall
@madou
Oct 06 2017 04:51
Is there any community developed package for calculating item stats values or it's still needs to be done sourcing the wiki stat table etc?
If the item / character stats is what you mean
Michael Dougall
@madou
Oct 06 2017 05:06
Nah stats you choose on an item. The calculated ones.
Currently in the armory we use a massive lookup json file along with the api values, wondering if there has been any improvments..
If not going to make an API of it so I can remove the massive Json from the bundle...
As a side, have you started converting efficiency to react?
David Reeß
@queicherius
Oct 06 2017 05:40
Oh if you are doing it from user items, then the stats should just be inlined anyway? (See WeaponA1)
The daily page is react (or, preact, to be exact), and i'm moving other parts, but it's a slow process, since I am doing the rewrite on the side. Slow and steady wins the race I guess.
It's actually pretty fascinating how little gue code you need to get preact rendering an angular 1 component (around 10 lines)
Michael Dougall
@madou
Oct 06 2017 05:44
Nah it's for embeds.
David Reeß
@queicherius
Oct 06 2017 05:44
The only small issues I had so far are anglular 1 services, since they are so freaking tightly coupled with angular (and that's what I like about react, just "normal" JS functions, no BS dependency injection crap)
Michael Dougall
@madou
Oct 06 2017 05:45
Hehe yeah, one of the best things about it
BoyC
@BoyC
Oct 06 2017 08:19
alternatively i can get you the exact fonts used ingame, but those aren't ttfs :)
smiley
@codemasher
Oct 06 2017 08:42
no really, i think someone here came op with a .ttf or .woff for the current ingame font (menomonia is the beta font iirc)
BoyC
@BoyC
Oct 06 2017 08:56
i was the one who dismantled the ingame font
it's in a proprietary bitmap format with postprocessing applied on the fly
smiley
@codemasher
Oct 06 2017 09:22
oh :D
(i'd also gladly take a bitmap font btw since i work in gd anyway)
BoyC
@BoyC
Oct 06 2017 09:29
are you familiar with the bmfont format?
smiley
@codemasher
Oct 06 2017 09:29
not yet :D
BoyC
@BoyC
Oct 06 2017 09:30
it's what TacO uses basically
i have some code that can convert the fonts from the datafile into that format
smiley
@codemasher
Oct 06 2017 09:30
i'm on that page already
smiley
@codemasher
Oct 06 2017 09:31
that'd do (also might end up with a bmfont reader for php)
BoyC
@BoyC
Oct 06 2017 09:33
ping me tonight when i'm not at work and i'll get you some snippets (or the converter, can't give out the whole code as it's based on a non-public codebase)
smiley
@codemasher
Oct 06 2017 09:34
i'm at work too... trying not to forget
BoyC
@BoyC
Oct 06 2017 09:35
:)
interesting fact, there are about 150 mbytes worth of bitmap fonts in the datafile
smiley
@codemasher
Oct 06 2017 09:38
guess there are some more interesing ones
BoyC
@BoyC
Oct 06 2017 09:39
not really
there are a couple fonts, each rasterized at different sizes, and many containing huge unicode glyphsets for the non latin clients
but if you want an immediate example of the output of my converter you can just download taco, look into the wbs file (the ui skin) and unpack the base64 encoded data in the xml nodes
smiley
@codemasher
Oct 06 2017 09:52
i'll take a look at it later
smiley
@codemasher
Oct 06 2017 15:53
this gif was made for that occasion https://twitter.com/portlandia/status/916324511066103808
Archomeda
@Archomeda
Oct 06 2017 17:12
image.png
:tada:
windwarrior
@windwarrior
Oct 06 2017 17:22
thats no cause for celebration
Archomeda
@Archomeda
Oct 06 2017 17:25
why not? :(
image.png
this was the previous one that my bot posted :(
windwarrior
@windwarrior
Oct 06 2017 17:27
One Wolf Pack is the same dps as Entangle but less utility, which makes that skill basically useless but I used it because it looks cool to use a new skill :P
kay
Darqam
@Darqam
Oct 06 2017 18:49
Was there a github update for the addition of
Attuned
BulkConsume
DeleteWarning
Infused
Tonic
flags in v2/items?
uhh probably not
I don't think there's a file for /v2/items in the repo
iirc I started making one then gave up because lol complicated
Darqam
@Darqam
Oct 06 2017 19:28
ah right, makes sense
windwarrior
@windwarrior
Oct 06 2017 21:01
dev ama is up
windwarrior
@windwarrior
Oct 06 2017 21:31
trying to update my dev tracker but babel is being a bit annoying
windwarrior
@windwarrior
Oct 06 2017 21:40
was only missing like 24 devs
whoops
smiley
@codemasher
Oct 06 2017 22:27
image.png
y tho
l-looks fine to me
smiley
@codemasher
Oct 06 2017 22:29
the game upscales the map so that there's virtually one more zoom level
(note the 125% zoom in chrome)
o
:sadpanda:
not gonna fix it because reasons
smiley
@codemasher
Oct 06 2017 22:30
hehe
(gw1 did only upscale the base map, the tiles of individual maps were 1:1)
smiley
@codemasher
Oct 06 2017 22:54
image.png
uhh since when does it show the distance? öö
and 7793 what? bananas?
Archomeda
@Archomeda
Oct 06 2017 22:58
7,793 aways of course ;)
Eearslya Sleiarion
@Eearslya
Oct 06 2017 23:01
whatever unit of measurement is shown on skills
smiley
@codemasher
Oct 06 2017 23:01
(it was inches iirc)
(which is practically the same as bananas)
re line breaks: are these in content and removed for the API or is it done arbitrary ingame?
image.png
Archomeda
@Archomeda
Oct 06 2017 23:08
yeah... i never could figure that out either
smiley
@codemasher
Oct 06 2017 23:09
Cliff said that several things like placeholders and stuff are being removed before it gets to API output, so i guess that's just the case