These are chat archives for arenanet/api-cdi

24th
Apr 2017
Michael Dougall
@madou
Apr 24 2017 00:50
:grimacing:
Darrian
@rikkuness
Apr 24 2017 13:36
as one of the ex Docker staff pointed out, you can't open source something that was already open source hah
still, gutted I couldn't make Dockercon this year
Eearslya Sleiarion
@Eearslya
Apr 24 2017 16:23
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
Archomeda
@Archomeda
Apr 24 2017 16:23
Eearslya Sleiarion
@Eearslya
Apr 24 2017 16:25
I've got 0.15, not 0.14.23
oh wait I see it now
Archomeda
@Archomeda
Apr 24 2017 16:25
both 0.15 and 0.14.23 are released
Eearslya Sleiarion
@Eearslya
Apr 24 2017 16:25
not sure what 0.14.23 was meant to be
Archomeda
@Archomeda
Apr 24 2017 16:26
bugfixes for the stable 0.14 branch
Eearslya Sleiarion
@Eearslya
Apr 24 2017 16:26
I guess a final bugfix for stable
pwdrequired: 1 what's this though
Archomeda
@Archomeda
Apr 24 2017 16:26
branches in steam might require a password to access
in this case, that setting was removed
Eearslya Sleiarion
@Eearslya
Apr 24 2017 16:27
I've never looked at how games work on steam's backend, huh
Archomeda
@Archomeda
Apr 24 2017 16:27
you can see in the beta tab of a game that there's a password field :P
Eearslya Sleiarion
@Eearslya
Apr 24 2017 16:29
Huh. Well, I have my factorio standalone stored in my google drive
No need to mess with steam :D
When dying in multiplayer you leave behind a body with your items that slowly degrades. oh good

So, did the NA reset not explode the wvw endpoints?

@Archomeda the API was fine but WvW exploded instead. We had to increase the maximum number of map instance servers in NA to compensate.

Archomeda
@Archomeda
Apr 24 2017 16:45
wait what
how did that happen
:shrug:
Nabrok
@Nabrok
Apr 24 2017 16:46
It took about 45 minutes for reset
It was like the old days
We ended up going to EotM for a while
Archomeda
@Archomeda
Apr 24 2017 16:47
.... what's eotm?
Nabrok
@Nabrok
Apr 24 2017 16:47
Edge of the Mists
Archomeda
@Archomeda
Apr 24 2017 16:48
yes, of course i knew ;)
Nabrok
@Nabrok
Apr 24 2017 16:48
It was kind of crazy there, because most other guilds did the same thing.
Archomeda
@Archomeda
Apr 24 2017 16:48
it was more directed at how no wvw players actually go there
Nabrok
@Nabrok
Apr 24 2017 16:49
I think more are now (in NA at least), if they don't want to deal with their current match up.
Archomeda
@Archomeda
Apr 24 2017 16:49
afaik EU still doesn't
at least not my server
Nabrok
@Nabrok
Apr 24 2017 16:50
Also my guild is trying to transfer to JQ, and if it doesn't open up before the next relink (and we lose the link) the plan is to go to EotM.
Eearslya Sleiarion
@Eearslya
Apr 24 2017 17:05
loaded up a local copy, immediately no power
Archomeda
@Archomeda
Apr 24 2017 17:05
lol
it's beautiful
Archomeda @Archomeda is currently working on solar
Eearslya Sleiarion
@Eearslya
Apr 24 2017 17:06
it is though
high res
<3
oh wow, it retroactively generated uranium
that's unexpected
Archomeda
@Archomeda
Apr 24 2017 17:08
yeah, i think it's part of the generation code
i think they've changed it in a way that it checks for player built structures
instead of non-generated tiles
Eearslya Sleiarion
@Eearslya
Apr 24 2017 17:12
Think we should ditch the map and start fresh with 0.15?
Archomeda
@Archomeda
Apr 24 2017 17:12
bleh, dunno
feels like i've wasted 2 hours today :P
Eearslya Sleiarion
@Eearslya
Apr 24 2017 17:12
Why's that?
Archomeda
@Archomeda
Apr 24 2017 17:12
because i've been playing 2h today :P
Eearslya Sleiarion
@Eearslya
Apr 24 2017 17:13
Whoopsie
that's the first tier of infinite
1500
darthmaim
@darthmaim
Apr 24 2017 17:17
whew
are you guys on the server or do we want to start a new map?
Eearslya Sleiarion
@Eearslya
Apr 24 2017 17:18
Oh god, the reactor itself consumes 40MW
I can't do much playing from work, but I can update the server
The current map is mostly okay except power needs to be redone entirely
Archomeda
@Archomeda
Apr 24 2017 17:19
well, we can now somewhat sustain from solar
darthmaim
@darthmaim
Apr 24 2017 17:19
that shouldn't be too difficult
Eearslya Sleiarion
@Eearslya
Apr 24 2017 17:19
Oh, you're on the server?
Archomeda
@Archomeda
Apr 24 2017 17:19
yes
Eearslya Sleiarion
@Eearslya
Apr 24 2017 17:19
Thought you meant playing in single player XD
Well that'll help, then
darthmaim
@darthmaim
Apr 24 2017 17:20
well, my factorio is just crashing now...
Value must be a dictionary in property tree at ROOT.other
Eearslya Sleiarion
@Eearslya
Apr 24 2017 17:21
you get 1 extra 235
XD
Archomeda
@Archomeda
Apr 24 2017 17:21
kovarex lol
that's a dev's name iirc
Eearslya Sleiarion
@Eearslya
Apr 24 2017 17:21
that's the owner's name iirc
Archomeda
@Archomeda
Apr 24 2017 17:22
or that
darthmaim
@darthmaim
Apr 24 2017 17:23
disabling steam clould fixed that error...
so, whats the plan?
Archomeda
@Archomeda
Apr 24 2017 17:24
well, i'm going to raid soon, so.. :P
darthmaim
@darthmaim
Apr 24 2017 17:24
boooo
Edgar Doiron
@Coffee4cr
Apr 24 2017 17:31
what game is that?
Eearslya Sleiarion
@Eearslya
Apr 24 2017 17:33
Well, I've got 0.15 on the server now, let me know when we're ready to transition
Archomeda
@Archomeda
Apr 24 2017 17:33
@Coffee4cr factorio
darthmaim
@darthmaim
Apr 24 2017 17:33
we are generation more solar power than steam power :O
so I guess we can transition anytime now
Archomeda
@Archomeda
Apr 24 2017 17:33
:P
the steam engines are still a backup
Eearslya Sleiarion
@Eearslya
Apr 24 2017 17:35
alright, here goes
darthmaim
@darthmaim
Apr 24 2017 17:36
:+1:
darthmaim
@darthmaim
Apr 24 2017 17:41
server is working :)
Eearslya Sleiarion
@Eearslya
Apr 24 2017 17:42
Is it? odd
darthmaim
@darthmaim
Apr 24 2017 17:42
"eearslya is being dropped from the game" with a progressbar ticking up
Eearslya Sleiarion
@Eearslya
Apr 24 2017 17:43
Yeah I may have done a bad thing when I just extracted 0.15 atop 0.14.22
gives me an error when I download the map, something about migration from 0.13
so uh, fresh install time
Archomeda
@Archomeda
Apr 24 2017 17:47
lol
darthmaim
@darthmaim
Apr 24 2017 17:47
I fixed the steam engines
now I trying to fix science
ChieftainAlex
@ChieftainAlex
Apr 24 2017 18:52
Does anyone have the relationship for waypoint distance and cost?
kinda assuming it must be based on the straight line distance
it displays the cost in the UI, right?
ChieftainAlex
@ChieftainAlex
Apr 24 2017 18:53
Yeah, but the wiki has some muddled crap about it varying with level too
guessing its ``` Cost = n*distance + c
if nobody knows that's fine I'll go calculate it
there's a base cost per-level that's added to the distance which is scaled by player level
the base cost uses a look-up table
oh god and the distance uses a per-map base value as well
okay this is actually kind of complicated
Archomeda
@Archomeda
Apr 24 2017 19:01
hey, if it ain't complicated, it ain't good enough for gw2
:P
ChieftainAlex
@ChieftainAlex
Apr 24 2017 19:02
per-map base.. oh great
the revive multiplier is 0, so that bit is turned off
ChieftainAlex
@ChieftainAlex
Apr 24 2017 19:03
used to cost more when dead?
Archomeda
@Archomeda
Apr 24 2017 19:03
revive multiplier? what?
ChieftainAlex
@ChieftainAlex
Apr 24 2017 19:04
So I can get the distance based cost if I use a player of the same level at opposite ends of the same map
if I then move to an adjacent map I can figure out the base
for each map. yay -_-
Archomeda
@Archomeda
Apr 24 2017 19:04
there's also a minimum
ChieftainAlex
@ChieftainAlex
Apr 24 2017 19:04
that's alright
Archomeda
@Archomeda
Apr 24 2017 19:04
1s something
distanceDiscount = 600
distanceMultiplier = 0.0003
baseMapValue = 0.78

playerLevelCost = lookupTable(playerLevel)
waypointCost = lookupTable(playerLevel)

distanceCostFloat = baseMapValue + max(0, distanceMultipler * (worldMapDistance - distanceDiscount))

cost = waypointCost * distanceCostFloat + playerLevelCost
ChieftainAlex
@ChieftainAlex
Apr 24 2017 19:05
thank you very much.
that doesn't give you the LUTs though
ChieftainAlex
@ChieftainAlex
Apr 24 2017 19:05
s'ok
I have the playerlevelcost table
the waypointCost at level 80 is 50
ChieftainAlex
@ChieftainAlex
Apr 24 2017 19:06
great, playerlevelcost on the wiki was wrong. ><
and 4 at level 1 -- and it looks about linear
Darrian
@rikkuness
Apr 24 2017 19:16
image.png
forever in a queue
ChieftainAlex
@ChieftainAlex
Apr 24 2017 19:16
doesn't seem that long
^
ChieftainAlex
@ChieftainAlex
Apr 24 2017 19:16
did you crop out average wait time 10s
Darrian
@rikkuness
Apr 24 2017 19:16
haha nah was like 1 min
Archomeda
@Archomeda
Apr 24 2017 19:16
i've had a waiting time of 10 minutes+ some time
Darrian
@rikkuness
Apr 24 2017 19:16
I got in after 3 mins but ehhh so long
Archomeda
@Archomeda
Apr 24 2017 19:16
apparently the queue was bugged for everyone at that time :')
Darrian
@rikkuness
Apr 24 2017 19:17
the worst is trying to do the guild mission, trying to get 2 fights in in the space of 30 mins is impossible
ChieftainAlex
@ChieftainAlex
Apr 24 2017 19:27
@lye - did you say above that the baseMapValue, in your example 0.78, changes per map? sod markup
Nabrok
@Nabrok
Apr 24 2017 19:44
Yeah, the pvp guild missions either shouldn't count time not in a match or have longer timers.
@ChieftainAlex my bad, that's actually a constant
It's the same for all maps
ChieftainAlex
@ChieftainAlex
Apr 24 2017 19:55
super thanks for clarifying.
ChieftainAlex
@ChieftainAlex
Apr 24 2017 20:09
sneaking suspicion that worldMapDistance isn't in the "units" displayed on hover over a waypoint
in fact it's in the map units, inches/24 derp.
total cost = [50 * { 0.78 + max(0, 0.0003 * ([hover_distance_inches/24] - 600)) }] + 100
FWIW, there's also a handful of special cases where the cost is free
Nabrok
@Nabrok
Apr 24 2017 20:15
I think if you have no money it's free
  • In WvW/PvP maps
  • When waypointing within a city
  • When waypointing in guild halls
When you're dead, the waypoint fee is capped at your remaining gold (EDIT: and actually it doesn't just apply when you're dead; I misread)
So if you're totally broke it'll be free.
That only applies if you're dead, though.
ChieftainAlex
@ChieftainAlex
Apr 24 2017 20:16
Now I know enough to figure out the cheapest route between pact scout vendors :D ... totally could have done it ingame by spending gold but hey now we have more knowledge. Thanks!
Nabrok
@Nabrok
Apr 24 2017 20:16
Isn't there a guild upgrade that reduces wp cost as well?
ChieftainAlex
@ChieftainAlex
Apr 24 2017 20:17
15%
that discount is applied after the waypoint cost is computed above
Nabrok
@Nabrok
Apr 24 2017 20:18
And when is Ellen Kiel running for re-election? More WP reductions!
Any sources of "discount waypoint" that you've got on you are summed together and applied to the computed cost
darthmaim
@darthmaim
Apr 24 2017 20:19
Learn how to travel for free between waypoints with this one weird trick. Anet devs will hate you.
actually, let me amend the "too poor" case to note that it only applies to the closest way point
you don't get to freely waypoint anywhere
darthmaim
@darthmaim
Apr 24 2017 20:20
welp
Eearslya Sleiarion
@Eearslya
Apr 24 2017 20:20
closest waypoint you have, I hope
yeah
closest unlocked one
i'm real good at explaining things lol
Nabrok
@Nabrok
Apr 24 2017 20:21
I never actually tried the waypointing with no money thing, but I remember it coming up in the early days after launch.
ChieftainAlex
@ChieftainAlex
Apr 24 2017 20:21
Lol thank god I was representing my noob storage guild, completely forgot about % discount
Nah you're doing great and you dug out all the waypoint cost formulae really quickly
Nabrok
@Nabrok
Apr 24 2017 20:22
I don't remember if it drew from your bank or not though (back then it was separate character/bank gold)
I don't recall either; the way it's written right now it only pulls from your account wallet
I cbf'd to sync pre-wallet code
Archomeda
@Archomeda
Apr 24 2017 20:26
lol, just only unlock the waypoints you need, go broke, free waypoints to the "closest" waypoint
or something
honestly, if someone put the effort into that they kind of deserve free waypoints
Archomeda
@Archomeda
Apr 24 2017 20:34
tp to friend makes it easier to get somewhere else :P
Eearslya Sleiarion
@Eearslya
Apr 24 2017 20:51
Archomeda
@Archomeda
Apr 24 2017 20:53
heh :P
wow that's super cool
i'm amazed how stable the camera is kept, despite the wind
smiley
@codemasher
Apr 24 2017 21:25
yea, i'm surprised too
(GoPro Karma)
Eearslya Sleiarion
@Eearslya
Apr 24 2017 21:27
@darthmaim updated server to 0.15.1 fyi
Archomeda
@Archomeda
Apr 24 2017 21:37
wow, bug fixes already?
windwarrior
@windwarrior
Apr 24 2017 22:14
yay, my nas is finally working again
it got attacked (ssh bruteforce)
and ReadyGear didnt really think about properly rotating the logs
so the 4G root partition went full
good thing my ssh passwords are strong :')
consider disabling PasswordAuth (and likewise ChallengeResponseAuthentication). There's no need to allow remote logins via passwords when RSA keys are so straightforward to use.
smiley
@codemasher
Apr 24 2017 22:36
@lye some more footage from the gopro mounted on the Karma Grip (which also serves as the drone gimbal) link
ahrg
it's like super smooth with anything
you just gotta make sure you record with 60+ fps
for reals
windwarrior
@windwarrior
Apr 24 2017 22:40
ya I know @lye
I had sshguard on my Pi when it was connected to the same university network
when I shut it off it had about 20 adresses permanently blocked
fair
windwarrior
@windwarrior
Apr 24 2017 22:43
sshguard is ruthless tho, 3 times wrong, 5 minutes ban, 6 times wrong, 15 minutes ban, 9 times wrong, permablock
or something like that
Pat Cavit
@tivac
Apr 24 2017 22:43
don't fat-finger it
better: don't use passwords
Eearslya Sleiarion
@Eearslya
Apr 24 2017 22:44
I usually just install fail2ban and forget it
in my experience, brute-forcers are smart enough to recognize that there's no enabled auth mechanisms they can attack and don't bother sending requests
windwarrior
@windwarrior
Apr 24 2017 22:44
sshguard is easier to configure
Eearslya Sleiarion
@Eearslya
Apr 24 2017 22:44
I don't configure fail2ban
the defaults work just fine
properly configuring sshd is also really straightforward :/
Eearslya Sleiarion
@Eearslya
Apr 24 2017 22:44
PermitRootLogin without-password
time-wasting routine go
:headdesk:
Eearslya Sleiarion
@Eearslya
Apr 24 2017 22:46
Hey, they still get banned if they fail the time-waster 3 times, so I'm happy
windwarrior
@windwarrior
Apr 24 2017 22:55
also, my router officially got its hostname
(My naming scheme is IKEA products)
my router is called Koppla, which is the closest thing the IKEA has to a router (a socket box)
Eearslya Sleiarion
@Eearslya
Apr 24 2017 23:20
I use mythical creatures for my servers
video game/cartoon/movie characters for my PCs
I've changed conventions so many times at this point I don't even know
it's to the point where they're all randomly named and I can't remember what any hostname is
(and jail hostnames are just whatever service the jail runs, e.g. nginx, postgresql etc)