Commit Graph

82 Commits

Author SHA1 Message Date
18a0ae599b Add bandwidth limit of 10kb/s(#863) 2022-12-05 16:08:47 -08:00
e2616c5f11 Move enums to a single directory
A technical change to move all emum files to a single directory
2022-11-26 14:22:00 -08:00
2570c74b71 Remove hardcoded port number in AuthPackets
Removes the hard coded port numbers in AuthPackets
2022-11-07 01:27:48 -08:00
1464762bcd Implement GTest and change windows output path
Implement GTest as a testing infrastructure.
Make windows output binaries to the build folder instead of the release type folder (potentially issue further down the line)
Add a simple unit test for DestroyableComponent
2022-11-07 00:12:35 -08:00
63af2c8da7 Add ZLIB for Windows (#768)
Added ZLIB for Windows.  Packets for character creation are now compressed on windows before sending and ZCompression can now be used on Windows.
2022-09-05 20:28:47 -07:00
26f2eb409f Mounts v2 (#726)
* Mounts -v2

* fix stun state and make comments a bit nicer

* remove extra serilization

* update the char position a bit more correctly

* make vehicles face thr player's direction

* address feedback

* fix compiling for real this time

* removed uneeded check
2022-09-02 13:49:19 -05:00
9e4ce24fd2 add semi-colons to macros consistently 2022-08-05 08:40:12 -05:00
19e77a38d8 format codebase 2022-07-28 08:39:57 -05:00
9e08bb20d2 Implement proper bounds checks across the codebase (#681)
* Implement proper bounds checks across the codebase

* Implement strnlen_s for cross platform
2022-07-26 20:52:04 -05:00
e97ae92624 Make logger automatically put a newline (#675)
at the end of the line
remove all the newlines in log calls
2022-07-24 21:26:51 -05:00
ef0a3c6d0b Add Hot Properties struct and address some whitespace (no functionality change) (#667)
* Add GameMessages

* General AMF cleanup

Proper memory management as well as style cleanup

* General AMF cleanup

Proper memory management as well as style cleanup

* General optimizations

Fix AMFArray so values are properly deleted when you leave the scope it was created in.
Add bounds check for deletion so you don't double delete.
Remove all AMFdeletions that are contained in an array since the array now manages its own memory and deletes it when it is no longer needed.

* Better tests and fix de-serialize

Fix de-serialize to be correct and implement a test to check this

* Update AMFDeserializeTests.cpp

* Update GameMessages.h

* Add GM

* Comment out function

* Spacing

* eof
2022-07-22 19:58:20 -07:00
45a7dbdadd Add Unimplemented GameMessages (#662) 2022-07-20 01:28:57 -07:00
8e5da2cf1f Merge pull request #652 from DarkflameUniverse/blacklist-and-chat-changes
Blacklist and chat changes
2022-07-19 10:40:44 +01:00
69a0d5a50b Efficiency and naming changes. 2022-07-18 10:01:43 +01:00
945e572493 Add best friend check and complete blacklist 2022-07-17 09:40:34 +01:00
ef8c2a40f3 Framework for GM's and helpers for mounts (#651)
* Framework for GM's and helpers for mounts

* docs and spacing

* whitespace
2022-07-17 02:35:11 -05:00
fab8a1e982 Implement new chat features 2022-07-17 07:54:36 +01:00
77d35019cc Replace the usage of RakString (#648) 2022-07-17 04:40:46 +01:00
df0f11c95b Update CMake configuration for easier maintenance (#642)
* Update CMake configuration for easier maintenance

* Incorrect casing fix

* Move package requirement

* Update CTest linking

* Add logs to the CMake

* Add linking for common libraries

Added linking for common libraries in tests subdirectory.

* Move test subdirectory higher up for some reason

* Whitespace a log removal

Missed new line

* Add dCommon to dChatFilter

* Update library output dir

* Correct libBcrypt

* Further refactor CMake behaviour

* Repair bad comments and update library defines

* Revert to old include directory method

* Implement platform defines

* Add missing include

Mac needs a specific include for defining platform.  Does not compile without this.

Co-authored-by: EmosewaMC <39972741+EmosewaMC@users.noreply.github.com>
2022-07-17 00:24:16 +01:00
136937184e Add to common vars and dnet
Added values to enums on dnet and common vars that were missing
2022-06-17 22:18:46 -07:00
5afeb265cd Updated vendor component
Fixed a few issues in VendorComponent.
- Corrected serialization to only happen on construction.
- Added functionality to refresh the vendor based on info from the vendor component table
- some whitespaceing inconsistencies.
- Sorted includes.
Tested the vendor in Nimbus Station and when the player re-enters the world, the vendor inventory refreshes, as opposed to previously where the world would need to reset in order to refresh the inventory.
2022-04-26 03:41:16 -07:00
ece83db6ed World packets change
World packets now takes an entity so we can process reputation
2022-03-31 18:17:23 -07:00
8ae7bc0f92 Where to send reputation to client 2022-03-31 16:12:36 -07:00
258174d4e1 Added GameMessage for UpdateReputation 2022-03-29 23:46:23 -07:00
af15cc60eb Add GM for performance cost 2022-03-29 19:46:47 -07:00
352f654ede Added GM in GameMessages 2022-02-12 21:02:52 -08:00
975654f8e2 Merge branch 'main' into Log-Line-Cleaning 2022-01-03 17:51:13 +00:00
2d5d5b273a remove unneeded log 2021-12-31 15:07:20 +00:00
f15b716ea7 Implement master server fix 2021-12-31 02:52:35 +00:00
ed151e6d45 Added extra information to connection log
- Added correct class name to log calls
 - Added extra zone and instance information in ambiguous log call
2021-12-13 01:33:51 +00:00
393cce885b Windows fixes
- "Fixed" segfault
- Fixed logger not actually logging time
2021-12-07 11:12:29 +00:00
0545adfac3 Public release of the DLU server code!
Have fun!
2021-12-05 18:54:36 +01:00