Compare commits

...

6 Commits

Author SHA1 Message Date
yukirij
35f51eb0f4 Revert lance position, add backward movement. 2024-08-30 23:35:22 -07:00
yukirij
d0e212e23d Fix incorrect variable. 2024-08-30 22:57:22 -07:00
yukirij
9b3e616de0 Update WSS port for experimental instance. 2024-08-30 14:42:47 -07:00
yukirij
08a684b777 Swap tower and castle positions. 2024-08-30 11:09:24 -07:00
yukirij
792a621202 Swap tower and castle positions. 2024-08-30 11:08:44 -07:00
yukirij
5a1d7ce978 Swap lance, castle, tower positions; change TCP/TLS ports. 2024-08-30 10:15:52 -07:00
4 changed files with 6 additions and 5 deletions

View File

@ -232,7 +232,7 @@ async fn main()
}
let mut tcp_server = TcpServer::new();
match tcp_server.bind("127.0.0.1:38611").await {
match tcp_server.bind("127.0.0.1:38615").await {
Ok(_) => {
let b = bus.connect().unwrap();
let c = cache.clone();
@ -252,7 +252,7 @@ async fn main()
if tls_server.add_cert("omen.kirisame.com", "cert/fullchain.pem", "cert/privkey.pem").await.is_err() {
println!("error: failed to load TLS certificates.");
}
match tls_server.bind("0.0.0.0:38612").await {
match tls_server.bind("0.0.0.0:38616").await {
Ok(_) => {
let b = bus.connect().unwrap();
let c = cache.clone();

View File

@ -696,6 +696,7 @@ GAME.Const = {
new GAME.PieceMovement()
.add_stride(0)
.add(1)
.add(3)
.add(5),
new GAME.PieceMovement()
.add(0)

View File

@ -838,14 +838,14 @@ const SCENES = {
buttons.push(UI.button(LANG("decline"), callback_decline));
rows.push([
UI.text(data.challenges[r].handle),
UI.text(LANG("unranked")),
UI.text(data.users[r].handle),
buttons,
]);
}
let tbody = UI.table_content(
[ LANG("rank"), LANG("handle"), "" ],
[ LANG("handle"), LANG("rank"), "" ],
rows,
);

View File

@ -1,7 +1,7 @@
function RECONNECT() {
if(SOCKET === null) {
console.log("Websocket connecting..");
SOCKET = new WebSocket("wss://omen.kirisame.com:38612");
SOCKET = new WebSocket("wss://omen.kirisame.com:38616");
SOCKET.binaryType = "arraybuffer";
SOCKET.addEventListener("error", () => {
SOCKET = null;