Skip to content
Success

Changes

Summary

  1. Notice.c: Add UTF-8 magic byte for OpenSpades (#59) (commit: bd599c5) (details)
  2. Block.c: Do not allow destroying layer 62 (commit: 1c81213) (details)
  3. Source: Fix the block checking logic (commit: 464b7e4) (details)
Commit bd599c51334ec97010a3243e7c0714cbbc23539e by noreply
Notice.c: Add UTF-8 magic byte for OpenSpades (#59)

* Notice.c: Add UTF-8 magic byte for OpenSpades

OpenSpades requires the server to send messages with 0xFF at the beginning
in order for them to be treated as UTF-8, otherwise they are treated as CP437.
Not sending the byte causes unicode text to show up as garbled. Unfortunately
BetterSpades and VOXLAP don't support UTF-8 yet, so this only sends the magic
byte for OpenSpades.
(commit: bd599c5)
The file was modified Source/Util/Notice.c (diff)
Commit 1c81213e98d293a7a5d0d7185c209ab7ac75ff54 by 16738302+Haxk20
Block.c: Do not allow destroying layer 62

IDK how this went on uncought for so long....
(commit: 1c81213)
The file was modified Source/Server/Block.c (diff)
Commit 464b7e4affcb6980bdd9583f0a2629c0c0eb3b4d by 16738302+Haxk20
Source: Fix the block checking logic

This lovely issue caused us to have multiple hacks
allowed like destroying below surface or allow fast destroying
of blocks and placing. Just all around broken
(commit: 464b7e4)
The file was modified Source/Util/Checks/WeaponChecks.c (diff)
The file was modified Source/Server/Block.c (diff)
The file was modified Source/Util/Checks/BlockChecks.c (diff)