Öne çıkan içerik

MSBuild: Add support for VS2026 (v145) (#659) * MSBuild: Add support for VS2026 (v145) When running VS2026 (there seems to be no good way to detect if a specific toolset actually exists at this point), we now set the default platform toolset to v145 (2026). Otherwise, we set it to v143 (2022) as before. Additionally, replace the N3Base wrapper projects with their own individual implementations for client & tool builds. It's a pain to debug with the wrapper project involved, so at the...
Merge pull request #660 from Open-KO/msbuild/guard-git-access Parallel builds can unintentionally use git at the same time. This causes it to hit git's internal lock, which occasionally fails builds. A rebuild usually fixes this, unless it was unlucky enough to corrupt the git index. MKDIR is atomic, so we basically just guard it behind a created directory. The only annoying part is the delay; the ping trick is the only thing that really seems to behave in this environment. We could run it...
MSBuild: Guard git access Parallel builds can unintentionally use git at the same time. This causes it to hit git's internal lock, which occasionally fails builds. A rebuild usually fixes this, unless it was unlucky enough to corrupt the git index. MKDIR is atomic, so we basically just guard it behind a created directory. The only annoying part is the delay; the ping trick is the only thing that really seems to behave in this environment. We could run it through Powershell but invoking...
Update README.md for CMake Github Commit Görüntüle... See Commints... ..
Add CMake builds for server projects (#657) * Implemented basic CMake build config (builds on Windows/MSVC). * Removed use of `_CRT_SECURE_NO_WARNINGS` macro (fixing related use cases). * Fixed 64-bit related warnings (as the default build for MSVC is 64-bit). * Updated for Clang (Linux) builds (fixing new warnings, any unsupported code). * Fixed numerous minor warnings (mostly unreferenced or uninitialized vars/parameters). * Added `strcpy_safe()` to replace `strcpy_s()` usage...
Merge pull request #656 from Open-KO/update-nanodbc Update nanodbc Github Commit Görüntüle... See Commints... ..
Update nanodbc This adds datetimeoffset support, and updates nanodbc's CMakeLists.txt to include our new options and sets them to our intended build defaults. Github Commit Görüntüle... See Commints... ..
Remove notes.txt A lot of these are irrelevant now, otherwise should be issues (but they're mostly all dealt with at this point). Github Commit Görüntüle... See Commints... ..
Merge pull request #655 from Open-KO/server/tidy-up-logger-init Server: Tidy up logger initialisation Github Commit Görüntüle... See Commints... ..
Server: Tidy up logger initialisation Previously this would be manually initialised within App::OnStart(), after config is loaded so that it can fetch the associated logger config. This creates a problem with ftxui/renderer setup; it really should be rendering throughout startup, so we don't have to be awkwardly swapping from 'raw' console back to the ftxui rendered container. To rectify this, we abstract config loading to handle it under AppThread. It loads the config file (which no...
Server: Minor cleanup (#654) * Server: Minor cleanup Move loggers to their own files, remove remaining ReportTableLoadError() refs. * AIServerApp: Rename member vars for consistency * AI: Strip Define.h Github Commit Görüntüle... See Commints... ..
Merge pull request #653 from Open-KO/server/strip-msc-ver Server: Strip _MSC_VER checks Github Commit Görüntüle... See Commints... ..
Server: Strip _MSC_VER checks As-is, they're not portable. No real reason to not just use #pragma once directly; all modern compilers handle this just fine. Github Commit Görüntüle... See Commints... ..
Merge pull request #652 from Open-KO/server/rename-instance-to-app Rename server 'Instances' to 'Apps' to match the 'App'Thread Github Commit Görüntüle... See Commints... ..
Rename server 'Instances' to 'Apps' to match the 'App'Thread Github Commit Görüntüle... See Commints... ..
Merge pull request #651 from Open-KO/server/load-zone-info-first AI: Load ZONE_INFO table explicitly before maps or spawn data Github Commit Görüntüle... See Commints... ..
AI: Load ZONE_INFO table explicitly before maps or spawn data GetServerNumber() should use this for its zone ID -> server ID mapping, so that it's available before maps have loaded. Maps load object event NPCs before they insert to their own container, so the old method simply doesn't work at all for object event NPCs. This fixes the numerous "AiServerInstance::GetServerNumber: zoneId={} not found" errors during server startup. Github Commit Görüntüle... See Commints... ..
Merge pull request #650 from Open-KO/server/fix-signed-overflow-warning Server: Fix signed overflow check warning in myrand_generic() Github Commit Görüntüle... See Commints... ..
Server: Fix signed overflow check warning in myrand_generic() This ensures the result can never overflow and wrap around; if it does, the result ends up becoming max instead. https://github.com/Open-KO/KnightOnline/security/code-scanning/43 Github Commit Görüntüle... See Commints... ..
Merge pull request #649 from Open-KO/use-console-sink-by-default Server: Use the console sink by default Github Commit Görüntüle... See Commints... ..
Geri
Üst