20 Feb 2024 |
sByte | In reply to @dyerat:matrix.org better get to work i think summit does some hacky stuff to get it working https://github.com/Summitvc/aos.rs | 00:04:30 |
sByte | ah nvm he just uses the low level lib | 00:05:05 |
dyerat | In reply to @bytenotabit-ch-:matrix.org i think summit does some hacky stuff to get it working https://github.com/Summitvc/aos.rs Yeah I did something similar, and just exposed the lower function in a fork of enet-rs | 12:20:54 |
dyerat | easier than I was worried it was going to be ahahah range coding is magic to me | 12:21:18 |
dyerat | their packet implementation is interesting tho im definitely doing mine in a dumber way ahah | 12:22:15 |
dyerat | For sending the map chunks, am I right in thinking that I can just load the bytes from a vxl file, deflate the byte array, then send each byte one-by-one in a MapChunk packet? | 19:25:30 |
dyerat | This is what I'm trying currently but OpenSpades doesn't seem to like it | 19:25:42 |
notafile | openspades has some particular opinions around the ordering of packets on join | 19:26:29 |
dyerat | ooh exciting | 19:27:59 |
dyerat | I'll have a little dig in their source | 19:28:13 |
dyerat | otherwise the logic is sound tho? | 19:28:19 |
notafile | should be mostly it, I think | 19:43:11 |
21 Feb 2024 |
utf-4096 | @notafile psst, reminder to put pyenet on pypi | 13:36:55 |
1 Mar 2024 |
utf-4096 | @notafile hey | 20:38:01 |
notafile | hi, sorry | 20:41:03 |
sByte | notafile @notafile:matrix.org: _hey_ | 21:44:12 |
7 Mar 2024 |
utf-4096 | pypi pyenet update when | 22:13:09 |
9 Mar 2024 |
utf-4096 | this function in world_c.cpp has been causing me issues:
inline void ftol(float f, long *a)
{
*a = (long)floor(f + 0.5f);
}
this actually dates to a commit by matpow2 which was supposed to make physics more accurate to voxlap, but in my case with babel apoc it seems to break the can_see() function. when using the original implementation which was just (long) f; it seems to work just fine | 22:44:28 |
utf-4096 | pysnip and spadesx both use (long) f; | 22:44:59 |
utf-4096 | im planning to change the aloha fork | 22:54:44 |
utf-4096 | * im planning to change the aloha fork to use the regular cast | 22:54:52 |
utf-4096 | but i want to know if thats the proper solution or if this is an entire math rabbit hole | 22:55:20 |
10 Mar 2024 |
sByte | Can we get piqueserver bython edition? | 11:05:00 |
sByte | Download IMG_20240310_080502.jpg | 11:05:16 |
18 Mar 2024 |
utf-4096 | @notafile sorry for asking again but please push the updated pyenet wheels to pypi | 12:04:58 |
notafile | ah, right, I can actually do it today too 😅 | 12:05:37 |
notafile | there you go, been so long since I've done this 😅 | 12:30:26 |
utf-4096 | works, thanks a ton 👍️ | 12:33:22 |
utf-4096 | also I think the matrix bridge needs fixing, none of the messages are getting relayed to the discord | 12:53:06 |
utf-4096 | * also I think the matrix bridge needs fixing, none of the messages are getting relayed to/from discord | 12:54:00 |