These are chat archives for PrismarineJS/prismarine-server

18th
Apr 2015
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:28
yay wrong chat
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:28
haha
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:28
i was trying to use the comments in github for tracking ideas and such
Gdocs probably works better
easier for people to edit
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:28
Hahaha yeah
If you want to jump in and help out :stuck_out_tongue:
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:30
can't
currently building an app that will make me not have a day job anymore
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:30
uhh
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:30
and will ultimately help fund prismarine
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:30
cool
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:31
like 10 hours today and 10 hours tomorrow
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:31
that’s all?
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:31
btw did we ever finish up anvil format reading?
no, thats just for this weekend
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:31
Don’t think so
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:31
i also do about 6 hours per day during the week
on top of my regular 40 hour work week
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:33
fun
aaaand roblabla is nowhere to be found
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:35
oh?
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:35
he’s the one that suggested we spec out the prismarine module APIs
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:35
oh you mean helping to fiull out the document
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:35
mhm
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:36
do you have it documented in doc blocks inside the code yet?
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:36
nope
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:36
if you can follow that format, i’ll try to setup a nice system that will read it from the github account on push
and turn it into a website
using ghpages
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:37
eventually
Using gh-pages for now :stuck_out_tongue:
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:37
just whenever i mean
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:38
:+1:
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:38
i can have circle-ci do it
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:39
Writing documentation sucks :/
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:39
agreed
thats why i have my dev teams at work write it first
heh
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:39
hahahaha
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:40
there is actually sound reasoning behind it
we do BTDD development
Business Driven Test Driven Development
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:41
Is that a thing?
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:41
it is for me
its not normally
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:41
lol
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:41
but i make the business give us rules, which we build the documentation on
once the business agrees to that, we build tests to spec
and then write code
ensures every new feature has tests and docs
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:46
nice
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:47
it also gives the business lots of time to move things around with logic before we start writing actual code
did you ever get lighting working?
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:49
Yup
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:50
nice
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:50
PR got merged like 20 min ago
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:50
ah
so how do i use this
dcbartlett @dcbartlett goes to read docs
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:50
(Most productive chemistry class ever :stuck_out_tongue:)
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:50
who needs chemistry when you have “SCIENCE"
i mean, minecraft and computers
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:51
<offtopic>
Remember Apple’s new 1 USBC port laptop that everyone said was gonna be awful?
10/10. Love this thing.
</offtopic>
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:52
yeah
still waiting for the charger with the inline usb ports
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:52
I can live without it for a while
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:53
i need to buy one
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:53
What I need is one of those hubs that has displayport out
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:53
but its on my shopping list for august
yeah
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:53
30 Hz is unbearable
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:53
i can imagine not having multiple monitors if you have to charge the battery sucks
oh hai, how do i install and use prismarine chunk?
heh
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:54
npm install prismarine-chunk…?
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:54
i mean setting it up to work with a client
aka do you have your server laying around you can send me
that you used for testing
i’m going to do a “getting started” section on the readme
Will Franzen
@wtfaremyinitials
Apr 18 2015 16:56
var chunk = new Chunk();
client.write(‘map_chunk’, {
   x: 0,
   z: 0,
   groundUp: true,
   bitMap: 0xFFFF,
   chunkData: chunk.dump()
});
Dennis Bartlett
@dcbartlett
Apr 18 2015 16:57
ty
oh look private npmjs.org is here
<.<
Will Franzen
@wtfaremyinitials
Apr 18 2015 17:01
Are you writing a README.md for prismarine-chunk?
Dennis Bartlett
@dcbartlett
Apr 18 2015 17:01
possably
i was thinking more the server as “getting started"
Will Franzen
@wtfaremyinitials
Apr 18 2015 17:02
K cool
Dennis Bartlett
@dcbartlett
Apr 18 2015 17:02
its replacing dirt with stone
lol
i just logged into it to see what its doing
Will Franzen
@wtfaremyinitials
Apr 18 2015 17:02
it’s meant to do that
Dennis Bartlett
@dcbartlett
Apr 18 2015 17:02
can i “light” it anyhow?
Will Franzen
@wtfaremyinitials
Apr 18 2015 17:02
I was testing to make sure that the light updates were going to the right blocks
Dennis Bartlett
@dcbartlett
Apr 18 2015 17:02
its REALLY dark
Will Franzen
@wtfaremyinitials
Apr 18 2015 17:02
when a block changes to stone the light value also chage
changes**
Dennis Bartlett
@dcbartlett
Apr 18 2015 17:03
yeah
i see that
Will Franzen
@wtfaremyinitials
Apr 18 2015 17:03
add a setSkyLight call at the very top of the file
Dennis Bartlett
@dcbartlett
Apr 18 2015 17:03
due to the difference in light values for them?
k
Will Franzen
@wtfaremyinitials
Apr 18 2015 17:03
to light the entire chunk
Dennis Bartlett
@dcbartlett
Apr 18 2015 17:03
are you using the minecraft data they are working on for the bots?
n/m
does y matter on setSkyLight
    world.setSkyLight(x, 0, z, 15);
had no effect
added it to the setBlockType for loop at the beginning
n/m
stupid syntax missing on the for loop
lol
well it still didn’t light it up
:/
i’ll play with it some
Will Franzen
@wtfaremyinitials
Apr 18 2015 17:09
yes it does have an effect
you’re setting the wrong light value
Dennis Bartlett
@dcbartlett
Apr 18 2015 17:10
oh?
i thought 15 was brightest?
Will Franzen
@wtfaremyinitials
Apr 18 2015 17:10
you’re setting the light inside the bottom block to 15
you want the block above it
Dennis Bartlett
@dcbartlett
Apr 18 2015 17:10
oh
Will Franzen
@wtfaremyinitials
Apr 18 2015 17:10
yeah
Dennis Bartlett
@dcbartlett
Apr 18 2015 17:10
so y = 1
Will Franzen
@wtfaremyinitials
Apr 18 2015 17:10
yes
Dennis Bartlett
@dcbartlett
Apr 18 2015 17:10
ah yup
that makes sense
Will Franzen
@wtfaremyinitials
Apr 18 2015 17:11
mhm
Dennis Bartlett
@dcbartlett
Apr 18 2015 17:11
slick stuff
Will Franzen
@wtfaremyinitials
Apr 18 2015 17:11
thanks ^-^
Will Franzen
@wtfaremyinitials
Apr 18 2015 17:17
TIL json web tokens
super cool stuff
Robin Lambertz
@roblabla
Apr 18 2015 17:55
Just saying, we’re going to be using slate for mineflayer IIRC
Romain Beaumont
@rom1504
Apr 18 2015 22:21
yeah it looks good I think (andrewrk/mineflayer#260)
still needs to be proven it can work though !