Skip to content

Commit

Permalink
Merge pull request #3404 from KBVE/dev
Browse files Browse the repository at this point in the history
Preparing Alpha Branch
  • Loading branch information
h0lybyte authored Nov 28, 2024
2 parents b4bfa26 + 201209d commit 5d96527
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 12 deletions.
10 changes: 9 additions & 1 deletion apps/kbve.com/src/content/journal/11-27.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,12 @@ import { Adsense, Tasks } from '@kbve/astropad';
**Lifetime**

The next part will be to switch back from the asset management and focus on the lifetime and entrypoints, oh boi.
We still need to setup the level manager and multiplayer level manager, once both of those are setup, we move forward with the player and npc list of prefabs.
We still need to setup the level manager and multiplayer level manager, once both of those are setup, we move forward with the player and npc list of prefabs.

- 09:18PM

**Build**

While we are making some changes, we should move forward with having a build ready to queue up and run!
Let me go ahead and move forward the issue, ideally we need to make a couple more changes to the `mmextension` package but there are some issues to resolve.

34 changes: 34 additions & 0 deletions apps/kbve.com/src/content/journal/11-28.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
title: 'November: 28th'
category: Daily
date: 2024-11-28 12:00:00
client: Self
unsplash: 1732601471603-404af59bc450
img: https://images.unsplash.com/photo-1732601471603-404af59bc450?crop=entropy&cs=srgb&fm=jpg&ixid=MnwzNjM5Nzd8MHwxfHJhbmRvbXx8fHx8fHx8fDE2ODE3NDg2ODY&ixlib=rb-4.0.3&q=85
description: November 28th.
tags:
- daily
---

import { Adsense, Tasks } from '@kbve/astropad';

## 2024

- 01:40AM

**GameServer**

I am keeping track of the gameserver stats, which comes with some great surprises!
Our current gameserver is a 4mb docker build with about 2.7mb ram usage!
I think that has been my best build so far this year, really excited about it as well.
Yet I think there are some issues with the helm chart and the UDP access, but I think I can figure it out.

- 03:05AM

**Nightly**

Still working through the code to help me get a better understanding, but there are so many weird issues that I run into.
I am still a bit lost in the process of the websockets but I think that might be just a lack of experience?


<Adsense />
2 changes: 1 addition & 1 deletion apps/rust_rareicon_gameserver/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ use axum::{
};

// use axum_extra::TypedHeader;

use tokio::sync::broadcast;
use futures::{sink::SinkExt, stream::StreamExt};
use std::{net::SocketAddr, path::PathBuf};
use tokio::net::{ UdpSocket, TcpListener};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ metadata:
annotations:
nginx.ingress.kubernetes.io/proxy-read-timeout: "3600"
nginx.ingress.kubernetes.io/proxy-send-timeout: "3600"
nginx.ingress.kubernetes.io/http2-push-preload: "true"
nginx.ingress.kubernetes.io/proxy-http-version: "1.1"
nginx.ingress.kubernetes.io/enable-websocket: "true"
nginx.ingress.kubernetes.io/proxy-connect-timeout: "60"
nginx.ingress.kubernetes.io/keepalive: "on"
nginx.ingress.kubernetes.io/connection-proxy-header: "keep-alive"
spec:
rules:
- host: {{ .Values.gameserver.ingress.host }}
Expand Down Expand Up @@ -100,13 +106,9 @@ spec:
selector:
app: rareicon
ports:
{{- range $index, $port := .Values.gameserver.service.ports }}
{{- if eq $port.protocol "UDP" }}
- name: {{ $port.name }}
protocol: {{ $port.protocol }}
port: {{ $port.port }}
targetPort: {{ $port.targetPort }}
{{- end }}
{{- end }}
type: LoadBalancer
- name: udp-port
protocol: UDP
port: 8081
targetPort: 8081
type: NodePort
{{- end }}
2 changes: 1 addition & 1 deletion packages/kilonet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Adding new tilemap generator script and fixed some asmdefs.
Triggering another build once more, oh boi, another docker build.
We got the helm chart working and now are preparing for a basic multiplayer game.
The WebGL build is a bit slower and needs some adjustments, starting the test case now.
Vcontainers added and a new model is coming soon.
Vcontainers added and a new model is coming soon, getting the build ready to be triggered.

- [KBVE](https://kbve.com/)
- [RareIcon](https://rareicon.com/)

0 comments on commit 5d96527

Please sign in to comment.