12448 Commits

Author SHA1 Message Date
brainiac
49d45d7686 Fix headers and cpps in the wrong filters in common 2026-04-03 01:49:38 -07:00
brainiac
29034e14fe Fix inclusion of windows.h breaking things with its defines 2026-04-03 01:49:20 -07:00
brainiac
d58bc01755 Remove redundant stringstream 2026-04-03 00:57:38 -07:00
brainiac
70558cb2ff Misc cleanup 2026-04-03 00:57:38 -07:00
brainiac
72fa8cf845 Remove "typedef struct" or "typedef enum" from a few places 2026-04-03 00:57:38 -07:00
brainiac
b8deacca01 Move code in several net/event classes to cpp to hide platform details
Move DNSLookupSync to dns.h/cpp
Move platform-specific functionality of ksm to ksm.cpp
2026-04-03 00:57:38 -07:00
brainiac
82f9f7a02a cmake: re-enable warnings on windows, organize common 2026-04-03 00:51:58 -07:00
brainiac
94ca0c44d1 Warning fixes 2026-04-03 00:51:41 -07:00
brainiac
e12c52a66a Remove Mutex class, replace with std::mutex
Also removes unused Condition class
2026-04-03 00:51:22 -07:00
brainiac
4693b11cb2 add pdf entry to .gitattributes 2026-04-03 00:33:35 -07:00
brainiac
8bbfca961c Packets take SerializeBuffer via move
The existing implemented behavior is that of a transfer of ownership, however
it does it without move semantics.

This doesn't change the behavior but makes it explicitly clear that there
is a transfer of ownership via enforced move semantics.

Also includes some cleanup in the packet classes, including converting the
size parameter to size_t. While no packet will ever be large enough to require
64-bits of size, many places that are initializing packets are doing so
with a size_t parameter, so this will address those warnings here.
2026-04-03 00:33:35 -07:00
Knightly
48d18aa62a Update Readme for license changes
Some checks failed
Build / Linux (push) Has been cancelled
Build / Windows (push) Has been cancelled
2026-04-01 17:09:57 -07:00
Knightly
7ab909ee47 Standardize Licensing
- License was intended to be GPLv3 per earlier commit of GPLv3 LICENSE FILE
- This is confirmed by the inclusion of libraries that are incompatible with GPLv2
- This is also confirmed by KLS and the agreement of KLS's predecessors
- Added GPLv3 license headers to the compilable source files
- Removed Folly licensing in strings.h since the string functions do not match the Folly functions and are standard functions - this must have been left over from previous implementations
- Removed individual contributor license headers since the project has been under the "developer" mantle for many years
- Removed comments on files that were previously automatically generated since they've been manually modified multiple times and there are no automatic scripts referencing them (removed in 2023)
2026-04-01 17:09:57 -07:00
Knightly
287d4a66dc Fixup CMakePresets.json
- Fix vcpkg presetName variable evaluation
- Remove tabs & fix alignment
2026-04-01 16:57:28 -07:00
straps-eq
5bedbc18c4 Enhance quantity validation for stackable items
Some checks failed
Build / Linux (push) Has been cancelled
Build / Windows (push) Has been cancelled
Added handling for zero/negative quantity purchases for stackable items.
2026-03-16 18:39:50 -07:00
nytmyr
7c026ab25c [Bots] Make expansion settings universal
Some checks failed
Build / Linux (push) Has been cancelled
Build / Windows (push) Has been cancelled
Expansion Bitmask settings were saved by stances and should be universal for the bot.

This addresses that as well as moves the data back to the `bot_data` table instead of the `bot_settings` table.

This will check current settings saved and take the highest value of the stances to save to `bot_data`, if none are found (default), it will use the value from the rule `Bots:BotExpansionSettings`
2026-02-25 10:50:15 -08:00
Claude
024abf74a8 Fix inventory overflow bug overwriting equipment slot 0
Some checks failed
Build / Linux (push) Has been cancelled
Build / Windows (push) Has been cancelled
FindFirstFreeSlotThatFitsItem was returning 0 instead of INVALID_INDEX
when no free slot was found. This caused items to be placed in slot 0
(charm equipment slot) when inventory was full, overwriting equipped items.

Changes:
- Fix FindFirstFreeSlotThatFitsItem to return INVALID_INDEX when no slot found
- Add defensive check in PutItemInInventoryWithStacking to protect equipment
  slots 0-22 from being targeted for item placement
2026-01-27 18:42:02 -08:00
JJ
9d2cc213ce Fix Build Status link in README.md
Some checks failed
Build / Linux (push) Has been cancelled
Build / Windows (push) Has been cancelled
2026-01-08 14:51:25 -08:00
JJ
bf69182a62 Revise README for updated documentation and links
Updated links and images in the README to reflect the new EQEmu documentation site and repository.
2026-01-08 14:51:25 -08:00
Knightly
be493435cb Fix Shared Memory in Windows
Some checks failed
Build / Linux (push) Has been cancelled
Build / Windows (push) Has been cancelled
- Windows does not allow paths as mutexes
- Remove the config directory from the mutex name
- This fix has the potential for collision of concerns on Windows when running multiple instances, but it is an unlikely scenario given port requirements
2025-12-26 21:28:43 -08:00
brainiac
af6c3ec97d Fix undefined behavior in log aliases
making an inline global variable doesn't work around the fact that this
variable still has to be initialized at some point.

Unfortunately, logging may be called upon during static init because we
use rules inside of static initializers, and rules can log.

So we must always retrieve the logger when we want to log something. it
should be fairly cheap anyways.
2025-12-26 20:58:07 -08:00
brainiac
b56c2421b4 normalize includes: queryserv 2025-12-26 20:58:07 -08:00
brainiac
fe0682de9f More fixes: luabind 2025-12-26 20:58:07 -08:00
brainiac
5bef8b63e8 Remove unused world/main.h
It was being used by zone commands to forward declare the signal function :(
2025-12-26 20:58:07 -08:00
brainiac
f49c8ae0bd Add EQEMU_MSVC_DEBUG_CRT option to cmake 2025-12-26 20:58:07 -08:00
brainiac
2bff404d22 normalize includes: gm commands 2025-12-26 20:58:07 -08:00
brainiac
2af5f99fff normalize includes: loginserver 2025-12-26 20:58:07 -08:00
brainiac
d6f4904351 normalize includes: bot commands 2025-12-26 20:58:07 -08:00
brainiac
7fe49b5630 normalize includes: zone 2025-12-26 20:58:07 -08:00
brainiac
552a908f92 normalize includes: world 2025-12-26 20:58:07 -08:00
brainiac
6314b386ef add include dirs to luabind 2025-12-26 20:58:07 -08:00
brainiac
3d7101876f normalize includes: common 2025-12-26 20:58:07 -08:00
brainiac
c191ec02d4 remove global_define.h and adjust platform header includes
- Remove unused MRMutex
- Remove unused generate_key
2025-12-26 20:58:07 -08:00
brainiac
b95016c92f remove global_define.h: queryserv & shared_memory 2025-12-26 20:58:07 -08:00
brainiac
ed2344dc99 normalize includes: ucs 2025-12-26 20:58:07 -08:00
brainiac
b7fcee632e normalize includes: loginserver 2025-12-26 20:58:07 -08:00
brainiac
360e01d824 add new platform headers to simplify including windows/posix headers 2025-12-26 20:58:07 -08:00
brainiac
ab1edbf537 Remove unused and unmaintained sources 2025-12-26 20:58:07 -08:00
brainiac
260042a429 normalize includes: common 2025-12-26 20:58:07 -08:00
brainiac
6fd4a7d620 normalize includes: common/repositories 2025-12-26 20:58:07 -08:00
brainiac
0b8369c858 normalize includes: tests 2025-12-26 20:58:07 -08:00
brainiac
2c6d8795f9 normalize includes: shared_memory 2025-12-26 20:58:07 -08:00
brainiac
91defcad99 normalize includes: queryserv 2025-12-26 20:58:07 -08:00
brainiac
227553337e normalize includes: eqlaunch 2025-12-26 20:58:07 -08:00
brainiac
d306e139e8 normalize includes: common/repositories 2025-12-26 20:58:07 -08:00
brainiac
451eb0806a normalize includes: common 2025-12-26 20:58:07 -08:00
brainiac
723ca13482 normalize includes: client_files 2025-12-26 20:58:07 -08:00
brainiac
418e31911c cmake: remove unused copy of gm_commands CMakeLists.txt 2025-12-26 20:58:07 -08:00
brainiac
a8551f20c9 cmake: add project folders
- Add static libraries to "libraries" folder
- Add servers to "executables/servers" folder
- Add tools to "executables/tools" folder
- Add tests to "executables/tests" folder
- Add contrib projects to "contrib" folder
2025-12-26 20:58:07 -08:00
brainiac
f1ff227fbd Do not enforce lf line endings, that just creates mixed line endings errors on windows 2025-12-26 20:58:07 -08:00