These are chat archives for PrismarineJS/prismarine-server

8th
Mar 2015
Robin Lambertz
@roblabla
Mar 08 2015 02:04
@roblabot help
Hmm
roblabot, help
Dennis Bartlett
@dcbartlett
Mar 08 2015 02:05
help
roblabot
@roblabot
Mar 08 2015 02:05
roblabot adapter - Reply with the adapter
roblabot animate me <query> - The same thing as image me, except adds a few parameters to try to return an animated GIF instead.
roblabot echo <text> - Reply back with <text>
roblabot help - Displays all of the help commands that roblabot knows about.
roblabot help <query> - Displays all help commands that match <query>.
roblabot image me <query> - The Original. Queries Google Images for <query> and returns a random top result.
roblabot map me <query> - Returns a map view of the area returned by query.
roblabot mustache me <query> - Searches Google Images for the specified query and mustaches it.
roblabot mustache me <url> - Adds a mustache to the specified URL.
roblabot ping - Reply with pong
roblabot pug bomb N - get N pugs
roblabot pug me - Receive a pug
roblabot the rules - Make sure roblabot still knows the rules.
roblabot time - Reply with current time
roblabot translate me <phrase> - Searches for a translation for the <phrase> and then prints that bad boy out.
roblabot translate me from <source> into <target> <phrase> - Translates <phrase> from <source> into <target>. Both <source> and <target> are optional
roblabot youtube me <query> - Searches YouTube for the query and returns the video embed link.
ship it - Display a motivation squirrel
Dennis Bartlett
@dcbartlett
Mar 08 2015 02:05
i need help
Robin Lambertz
@roblabla
Mar 08 2015 02:05
hehe
Dennis Bartlett
@dcbartlett
Mar 08 2015 02:05
help
help
hum
roblabot, help
roblabot
@roblabot
Mar 08 2015 02:05
roblabot adapter - Reply with the adapter
roblabot animate me <query> - The same thing as image me, except adds a few parameters to try to return an animated GIF instead.
roblabot echo <text> - Reply back with <text>
roblabot help - Displays all of the help commands that roblabot knows about.
roblabot help <query> - Displays all help commands that match <query>.
roblabot image me <query> - The Original. Queries Google Images for <query> and returns a random top result.
roblabot map me <query> - Returns a map view of the area returned by query.
roblabot mustache me <query> - Searches Google Images for the specified query and mustaches it.
roblabot mustache me <url> - Adds a mustache to the specified URL.
roblabot ping - Reply with pong
roblabot pug bomb N - get N pugs
roblabot pug me - Receive a pug
roblabot the rules - Make sure roblabot still knows the rules.
roblabot time - Reply with current time
roblabot translate me <phrase> - Searches for a translation for the <phrase> and then prints that bad boy out.
roblabot translate me from <source> into <target> <phrase> - Translates <phrase> from <source> into <target>. Both <source> and <target> are optional
roblabot youtube me <query> - Searches YouTube for the query and returns the video embed link.
ship it - Display a motivation squirrel
Dennis Bartlett
@dcbartlett
Mar 08 2015 02:05
little slow
Robin Lambertz
@roblabla
Mar 08 2015 02:06
well, it runs on a machine that runs a shitbunch of other stuff
I was thinking making the hubot do the npm releases might be a good idea.
like, roblabot, ship prismarine-server makes it run the test, makes sure they pass, and npm publish
roblabot, ship it
Robin Lambertz
@roblabla
Mar 08 2015 02:08
hehe
ahem
Dennis Bartlett
@dcbartlett
Mar 08 2015 21:36
Will Franzen
@wtfaremyinitials
Mar 08 2015 21:36
Sure
Dennis Bartlett
@dcbartlett
Mar 08 2015 21:38
i’m not sure if its 100% done yet
but promisifing it might show me how to do it properly
:D
Robin Lambertz
@roblabla
Mar 08 2015 23:05
let's talk there :D
Dennis Bartlett
@dcbartlett
Mar 08 2015 23:05
there or here?
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:05
alright well block light works
but sky light is borked
Robin Lambertz
@roblabla
Mar 08 2015 23:05
@wtfaremyinitials xD
wtfaremyinitials @wtfaremyinitials shrugs
Robin Lambertz
@roblabla
Mar 08 2015 23:05
wait
wait
@wtfaremyinitials maybe block light and sky light should be separate loops too ?
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:06
they are
that was my last test
Robin Lambertz
@roblabla
Mar 08 2015 23:06
oh
then you're doing it wrong I guess :P
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:06
doing that fixed the weird stripe-y lighting
block light works perfectly fine, but sky light is completely ignored
Robin Lambertz
@roblabla
Mar 08 2015 23:07
hmm
ooooh
what packet are you using ?
Dennis Bartlett
@dcbartlett
Mar 08 2015 23:07
sky light should be block y -1
not x or z
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:07
im sending map_chunk
Robin Lambertz
@roblabla
Mar 08 2015 23:07
sklight is not sent under certain conditions
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:07
with groundUp = true
Robin Lambertz
@roblabla
Mar 08 2015 23:07
Skylight? (only in 0x26 - only if overworld in 0x21)
hm, so it should be sent
Dennis Bartlett
@dcbartlett
Mar 08 2015 23:07
maybe sky light doesn’t work when the client thinks its “night"
the client time might be off
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:08
the debug screen would at least show the right number @dcbartlett
Dennis Bartlett
@dcbartlett
Mar 08 2015 23:08
oh
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:12
PrismarineJS/prismarine-server#17
@roblabla
Robin Lambertz
@roblabla
Mar 08 2015 23:12
does it work ?
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:13
same issue
Robin Lambertz
@roblabla
Mar 08 2015 23:13
hmm
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:13
block light works, sky light is broken
also I think we’re almost up to feature parity with Glowstone xD
Robin Lambertz
@roblabla
Mar 08 2015 23:13
that's not nice :P
glowstone actually supports entities iirc
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:15
any idea what’s going wrong rob?
Dennis Bartlett
@dcbartlett
Mar 08 2015 23:15
i’ve got to head out for dinner
bbl
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:15
bye
Robin Lambertz
@roblabla
Mar 08 2015 23:16
What value does skylight get ?
instead of the correct one
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:16
0
Robin Lambertz
@roblabla
Mar 08 2015 23:19
@wtfaremyinitials do you send the client in a "normal" world ?
aka not nether or end
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:20
client.write('login', {
    entityId: client.id,
    gameMode: 1,
    dimension: 0,
    difficulty: 2,
    maxPlayers: server.maxPlayers,
    levelType: 'default',
    reducedDebugInfo: false
  });
  client.write('position', {
    x: 8.0,
    y: 8.0,
    z: 8.0,
    yaw: 0.0,
    pitch: 0.0,
    flags: 0
  });
Robin Lambertz
@roblabla
Mar 08 2015 23:21
hmm
wtfaremyinitials @wtfaremyinitials is very confused
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:23
It hurt itself in it’s confusion!
The foe’s wtfaremyinitials fainted
Robin Lambertz
@roblabla
Mar 08 2015 23:23
:|
I must say i'm a bit confused too.
I think you might want to try using the proxy on a minecraft server running in peaceful mode with flatworld generator
and dissect the chunk and map_chunk_bulk packets
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:25
I’m gonna update prismarine-server to work with 1.8
so I can stop copypasting the encodeChunk method around
Robin Lambertz
@roblabla
Mar 08 2015 23:25
haha
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:33
did the chat packet change?
@roblabla
Robin Lambertz
@roblabla
Mar 08 2015 23:33
yes.
server->client, added "position".
should be set to 0 for message to appear in the chatbox.
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:33
o yeah
prismarine server updated
woot
PrismarineJS/prismarine-server#18
Christopher
@fwhiffahder
Mar 08 2015 23:37
sorry if this is a dumb question, but is prismarine going to be a minecraft server or protocol-agnostic but primarily minecraft?
the gh-pages site says 'game server compatible with minecraft'
Robin Lambertz
@roblabla
Mar 08 2015 23:38
We're focussing on minecraft, but going with a very very modular architecture
Christopher
@fwhiffahder
Mar 08 2015 23:38
so does that allow for future support for non-minecraft clients
Robin Lambertz
@roblabla
Mar 08 2015 23:38
Yes.
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:38
yes
Christopher
@fwhiffahder
Mar 08 2015 23:38
e.g. something voxeljs based or mcpe
cool
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:39
huh I hadn’t even thought about mcpe support
that would be really fun
Robin Lambertz
@roblabla
Mar 08 2015 23:39
actually I thought about it by looking at Dragonet
it's a glowstone-based server that supports mcpe as well
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:39
cool
Christopher
@fwhiffahder
Mar 08 2015 23:39
i've played with dragonet
pretty cool
but anything like that will need some sort of lowest-common-denominator setup
for pe and pc features
Robin Lambertz
@roblabla
Mar 08 2015 23:39
Well, I don't think we'll natively support it.
Christopher
@fwhiffahder
Mar 08 2015 23:39
yeah
Robin Lambertz
@roblabla
Mar 08 2015 23:40
but anyone could write a plugin for mcpe support and boom it's there
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:40
heh chat position 2 is pretty cool
Robin Lambertz
@roblabla
Mar 08 2015 23:40
the plugin just need to satisfy the same interface as the one we'll be using for the networking bits.
Christopher
@fwhiffahder
Mar 08 2015 23:40
prismarine is officially the project i'm most excited about on this planet
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:41
awh thanks <3
Robin Lambertz
@roblabla
Mar 08 2015 23:41
@wtfaremyinitials is #18 ready to merge ?
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:41
yeah
Robin Lambertz
@roblabla
Mar 08 2015 23:42
oh also, @wtfaremyinitials is the 2-player crash of node-minecraft-protocol a bug inside the protocol or inside the server example ?
oh. hahaha
wooops.
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:44
I don’t know, actually
Robin Lambertz
@roblabla
Mar 08 2015 23:44
I think it has nothing to do with the amount of client
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:44
what is it then?
Robin Lambertz
@roblabla
Mar 08 2015 23:44
and everything to do with my client being set to 1.7.10
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:45
LOL
Robin Lambertz
@roblabla
Mar 08 2015 23:45
hmm, though it doesn't crash the server when I try it
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:45
well it’s probably not a good thing that prismarine can be crashed so easily
Robin Lambertz
@roblabla
Mar 08 2015 23:45
IDK, I'm testing things
node-minecraft-protocol can be pretty crash-happy
I've fixed that in protocols actually
and it can be ported to node-mc-proto with relative ease.
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:47
we should just remake node-mc-proto in Protocols
Robin Lambertz
@roblabla
Mar 08 2015 23:47
well, for that Protocols needs to be finished.
having 2 clients on the server.js example doesn't crash on my end
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:47
so we (you :stuck_out_tongue:) should finish protocols
Robin Lambertz
@roblabla
Mar 08 2015 23:47
I'm trying :)
Will Franzen
@wtfaremyinitials
Mar 08 2015 23:47
ill portforward mine
sec
Robin Lambertz
@roblabla
Mar 08 2015 23:48
yeah no crash here even with a 1.8 + 1.7 combination
let me try to listen to every packet