JavaScript's semantics here are incredibly stupid, but basically if the initial DWORD's high WORD's MSB is true, the number would become negative after the shift left by 16. Then when ORing it with the highDword, the initial DWORD would be sign-extended to a QWORD, meaning the high DWORD would become all 1s, basically cancelling out the entire OR operation.
Space Ninja Server
More information for the moment here: https://discord.gg/PNNZ3asUuY
Project Status
This project is in active development at https://onlyg.it/OpenWF/SpaceNinjaServer.
To get an idea of what functionality you can expect to be missing have a look through the issues. However, many things have been implemented and should work as expected. Please open an issue for anything where that's not the case and/or the server is reporting errors.
config.json
SpaceNinjaServer requires a config.json
. To set it up, you can copy the config.json.example, which has most cheats disabled.
logger.level
can befatal
,error
,warn
,info
,http
,debug
, ortrace
.myIrcAddresses
can be used to point to an IRC server. If not provided, defaults to[ myAddress ]
.worldState.lockTime
will lock the time provided in worldState if nonzero, e.g.1743202800
for night in POE.
Languages
TypeScript
82%
JavaScript
13.1%
HTML
4.7%