@MarshReaper@lemmy.world
@MarshReaper@lemmy.world avatar

MarshReaper

@MarshReaper@lemmy.world

This profile is from a federated server and may be incomplete. Browse more on the original instance.

MarshReaper,
@MarshReaper@lemmy.world avatar

UPDATE

I posted this before testing out an older version of godot and it seems to work just great! But as in the github issue, that is because of changes with how the protocols worked and what headers are sent!

Here is the code for use in Godot 3.1.1:


<span style="color:#323232;">extends Node
</span><span style="color:#323232;">
</span><span style="color:#323232;">var _client = WebSocketClient.new()
</span><span style="color:#323232;">
</span><span style="color:#323232;">func _ready():
</span><span style="color:#323232;">	print("connecting...")
</span><span style="color:#323232;">	_client.connect("connection_closed", self, "ws_closed")
</span><span style="color:#323232;">	_client.connect("connection_error", self, "ws_connection_error")
</span><span style="color:#323232;">	_client.connect("connection_established", self, "ws_connection_established")
</span><span style="color:#323232;">	_client.connect("server_close_request", self, "ws_close_request")
</span><span style="color:#323232;">	_client.connect_to_url("wss://ws.revolt.chat/?version=1&format=json&token={token}")
</span><span style="color:#323232;">
</span><span style="color:#323232;">func ws_closed(clean):
</span><span style="color:#323232;">	if !clean:
</span><span style="color:#323232;">		print("websocket closed")
</span><span style="color:#323232;">	else:
</span><span style="color:#323232;">		print("websocket closed cleanly")
</span><span style="color:#323232;">
</span><span style="color:#323232;">func ws_connection_error():
</span><span style="color:#323232;">	print("websocket connection failed")
</span><span style="color:#323232;">
</span><span style="color:#323232;">func ws_connection_established(protocol):
</span><span style="color:#323232;">	print("we're connected using protocol: ", protocol)
</span><span style="color:#323232;">
</span><span style="color:#323232;">func ws_close_request(code, reason):
</span><span style="color:#323232;">	print("closed with code: ", code, " and reason: ", reason)
</span><span style="color:#323232;">
</span><span style="color:#323232;">func _process(delta):
</span><span style="color:#323232;">	if _client.get_connection_status() == WebSocketClient.CONNECTION_DISCONNECTED:
</span><span style="color:#323232;">		return
</span><span style="color:#323232;">	print(_client.get_peer(1).get_packet().get_string_from_utf8())
</span><span style="color:#323232;">	_client.poll()
</span>
MarshReaper,
@MarshReaper@lemmy.world avatar

I wouldn’t have gotten here without doing almost all of the previous steps. I even learned a lot about Godot and other libraries.

To solve this issue, go to PROJECT SETTINGS -> NETWORK -> LIMITS -> Max In Buffer (KB) & Max Out Buffer (KB) to a generous 1024 AND (I think) set Max Buffer (Power of 2) to a whopping 256.

MarshReaper,
@MarshReaper@lemmy.world avatar

If you need help implementing this into your game, send me a message or email. I’ll see what I can do without a guarantee.

MarshReaper,
@MarshReaper@lemmy.world avatar

UPDATES

For this new chunking, each chunk gets a spatial for each of its terrain texture multimeshes. It is also functioning properly now. It simply counts up to the amount of necessary chunk_size points then starts a new chunk.

A chunking system that is actually good | better chunks 2b091f189e

https://lemmy.world/pictrs/image/178276d4-988b-4d20-972d-b401af7ccf9b.png

Each texture now has its own multimesh | terrain is now textured + generate texturedata d03de637ebhttps://lemmy.world/pictrs/image/16f302fa-c864-4ad3-b370-80f95a7a5dbd.png

Quickly set the size of each terrain node/point | cleanup and point size 2bff7a7cdehttps://lemmy.world/pictrs/image/c9de1831-7c9f-47b0-b2d4-13db59cfa112.png

MarshReaper,
@MarshReaper@lemmy.world avatar

What game engine will you be working in? (nudge nudge 🤖)

MarshReaper,
@MarshReaper@lemmy.world avatar

Maybe after a few too wrong moves, he’s trying to tank the company and make people think he’s doing it on purpose so he could say that all this time he’s been doing it on purpose. On purpose on purpose.

MarshReaper,
@MarshReaper@lemmy.world avatar

I believe that all of these major players are being controlled at almost gunpoint into destroying their platforms and making horrible business decisions (facebook, twitter, youtube, etc).

MarshReaper,
@MarshReaper@lemmy.world avatar

It probably wouldn’t work out for the spyware that doesn’t want you running a VM for “anti-cheating” purposes.

MarshReaper,
@MarshReaper@lemmy.world avatar

I know there are some configurations that manage to disguise themselves as a real machine. I would like to look into that as it could be very useful. At the same time, I also wonder how deep the kernel level whatever go into my personal device.

MarshReaper,
@MarshReaper@lemmy.world avatar

Cloudflare makes the website feel dirty, but it’ll protect the site until a better option is found.

MarshReaper,
@MarshReaper@lemmy.world avatar

Cloudflare definitely has a great service and the positives probably overweight the negatives in this situation. But the potential for an attack from within cloudflare itself via trackers or a probably very low chance of a letter man being in the middle can feel a little tense. It boils down to not trusting the company. I especially do not like those outages, captchas, cookies and a centralized web. Cloudflare will help Lemmy stay on top of everything and keep stability though.

Maybe being addicted to uBlock having only green and no detections makes me worried. It’s like a little bit of dirt on the floor.

MarshReaper,
@MarshReaper@lemmy.world avatar

Better to move them to something more private at the very least. Then we can slowly heal their addiction through in-app propaganda and purposefully declined algorithm performance over a long period of time.

MarshReaper,
@MarshReaper@lemmy.world avatar

Guys guys guys c/lemmyshitpost c/lemmyshitpost

MarshReaper,
@MarshReaper@lemmy.world avatar

Post was not showing on first time, reposted.

I have been experimenting with “AI” in FunBio. I recently saw a ragdoll for the infamous Rabbids character. It would be hilarious if I had them in Garry’s Mod, but no one created it yet. I would also love to have them in FunBio and this game! Vehicles are also needed and are similar to entities.

I will add the light switch entity in gm_construct soon as well.

If you are new here, please ask me any questions you have about the future of this open source physics sandbox!

MarshReaper,
@MarshReaper@lemmy.world avatar

Nah it’s the sudden decline of our lovable swashbuckling seafaring pirates

  • All
  • Subscribed
  • Moderated
  • Favorites
  • normalnudes
  • osvaldo12
  • magazineikmin
  • vwfavf
  • thenastyranch
  • Youngstown
  • slotface
  • Durango
  • ngwrru68w68
  • rosin
  • kavyap
  • tsrsr
  • PowerRangers
  • DreamBathrooms
  • Leos
  • khanakhh
  • hgfsjryuu7
  • cubers
  • everett
  • cisconetworking
  • InstantRegret
  • mdbf
  • tacticalgear
  • ethstaker
  • tester
  • modclub
  • GTA5RPClips
  • anitta
  • All magazines