jadebenn
1dbaf6a2bc
enable sanitizer on Mac
2024-12-31 19:42:59 -06:00
jadebenn
4860410f6f
Merge branch 'main' into ub-fixes
2024-12-31 15:12:55 -06:00
David Markowitz
0b261e934f
fix shooting gallery bugs ( #1702 )
2024-12-29 18:21:22 -06:00
David Markowitz
1b9f7e44c7
remove dead loop ( #1700 )
v3.0.1
2024-12-28 17:11:44 -06:00
David Markowitz
08a168de88
update cdclient.fdb file check ( #1699 )
2024-12-27 22:15:32 -06:00
jadebenn
701fc8061b
Merge remote-tracking branch 'origin/main' into ub-fixes
2024-12-26 17:16:48 -06:00
David Markowitz
0c948a8df6
use simpler converter ( #1695 )
2024-12-24 22:23:14 -08:00
Gie "Max" Vanommeslaeghe
6ed6efa921
Merge pull request #1694 from DarkflameUniverse/latin1
...
fix: use encoding on latin1 strings from cdclient
2024-12-25 00:27:00 +01:00
Gie "Max" Vanommeslaeghe
dcc9e023a6
Merge pull request #1693 from DarkflameUniverse/bandwidth
...
fix: remove bandwidth limit
2024-12-25 00:26:51 +01:00
Gie "Max" Vanommeslaeghe
8509ec8856
Merge pull request #1692 from DarkflameUniverse/really
...
fix: folder and file checks
2024-12-25 00:25:48 +01:00
David Markowitz
18295017c1
use encoding
...
use template function
Update GeneralUtils.cpp
consolidate duplicate code
Update GeneralUtils.cpp
Update BinaryIO.cpp
compilers
2024-12-24 14:32:08 -08:00
David Markowitz
e8f011b830
Update sharedconfig.ini
2024-12-24 13:07:55 -08:00
David Markowitz
a787673baf
show error box for windows
2024-12-24 12:57:20 -08:00
David Markowitz
e869c0ad03
Add parenthesis around path
2024-12-24 12:39:18 -08:00
David Markowitz
b2af3fa9d4
use binary dir paths, create ones that dont exist, do not run if critical ones do not exist.
2024-12-24 12:36:54 -08:00
David Markowitz
2560bb00da
feat: add ns race server script and ignore 3 scripts from pet cove ( #1682 )
...
* brother
* use some better logic
* Implement spider boss msg script
tested that the message now shows up when hitting the survival spider entrance area
* add drag to start race feature
* ignore 3 more scripts
* add Ns race server script
* remove logs
* unique
* Update RaceImaginationServer.cpp
* Update CppScripts.cpp
2024-12-20 01:59:22 -06:00
jadebenn
6699081080
Merge branch 'main' into ub-fixes
2024-12-20 01:58:51 -06:00
David Markowitz
1ae21c423f
skip non-files ( #1690 )
2024-12-19 12:19:41 -06:00
jadebenn
0ae9eb4a96
remove unneeded Component.cpp, forward declare dependencies, and make Component definition header-only ( #1688 )
2024-12-18 00:45:56 -08:00
David Markowitz
fced6d753a
fix: Create resServer and logs if it doesnt exist and update readme ( #1686 )
...
* create resServer if not exist
* Update README.md
* Update README.md
2024-12-17 21:06:07 -06:00
David Markowitz
15dc5feeb5
feat: start car races if you "equip" the car near the car pad; add more old ns scripts to ignore list ( #1681 )
...
* brother
* use some better logic
* Implement spider boss msg script
tested that the message now shows up when hitting the survival spider entrance area
* add drag to start race feature
2024-12-17 21:04:35 -06:00
David Markowitz
a60865cd19
feat: allow SQLite database backend ( #1663 )
...
* simplify leaderboard code, fully abstract database
* update exception catching
* update exception catching and sql references, remove ugc from gamemessages
fix deleting model
remove unrelated changes
Update GameMessages.cpp
* remove ugc from gamemessages
* Update GameMessages.cpp
* Update Leaderboard.cpp
* bug fixes
* fix racing leaderboard
* remove extra stuff
* update
* add sqlite
* use a default for optimizations
* update sqlite
* Fix limits on update and delete
* fix bugs
* use definition to switch between databases
* add switch for different backends
* fix include guard and includes
* always build both
* add mysql if block
* Update Database.cpp
* add new options and add check to prevent overriding mysql
* correct config names
* Update README.md
* Update README.md
* merge to 1 sql file for sqlite database
* move to sqlite folder
* add back mysql migrations
* Update README.md
* add migration to correct the folder name or mysql
* yes aron
* updates
* Update CMakeLists.txt
* dont use paths at all, add where check to only update if folder name still exist
check also doesnt check for slashes and assumes one will be there since it will be.
* default dont auto create account
for releases we can change this flag
* default 0
* add times played query
* fix leaderboard not incrementing on a not better score
* add env vars with defaults for docker
* use an "enum"
* default to mariadb
* Update .env.example
v3.0.0
2024-12-17 16:07:07 -08:00
jadebenn
77b42daca1
feat: Remove reinterpret_casts from AG race timer script and add method and chat command to get current server uptime ( #1673 )
...
* use steady_clock race timer
* formatting and const
* improve time interface
* added uptime chat command
* fix bug and update documentation
* inrease /uptime GM level requirement
* update GM level for /uptime (again)
* made changes according to feedback
2024-12-17 14:06:16 -06:00
David Markowitz
ba364800fe
feat: allow for teleporting to player or relative position ( #1683 )
...
* allow for teleporting to player or relative position
* Update Commands.md
* Update Commands.md
* Update SlashCommandHandler.cpp
2024-12-17 13:39:28 -06:00
David Markowitz
e1c20192f7
fix: Implement missing survival tooltip script ( #1679 )
...
* brother
* use some better logic
* Implement spider boss msg script
tested that the message now shows up when hitting the survival spider entrance area
2024-12-16 13:35:36 -06:00
David Markowitz
0f8c5b436d
fix: implement enemy clear threat script ( #1678 )
...
* brother
* use some better logic
2024-12-15 23:44:57 -06:00
Aaron Kimbrell
53242ad5d5
Merge pull request #1680 from DarkflameUniverse/warn
...
fix: warnings
2024-12-15 22:45:52 -06:00
David Markowitz
a8919c8c14
Update dGame/dUtilities/Preconditions.cpp
...
Co-authored-by: jadebenn <jadebenn@users.noreply.github.com>
2024-12-14 21:14:07 -08:00
David Markowitz
5ff121612e
use a cast
...
fix warning
remove pragma
we dont need this tbh
2024-12-14 17:55:41 -08:00
Aaron Kimbrell
34618607c3
Merge pull request #1675 from DarkflameUniverse/invisible-items
...
the client code for this is a mess and should load everything at once or use non race condition code
2024-12-11 11:32:20 -06:00
Jett
02b76adb7a
Replace keygen with CyberChef ( #1677 )
2024-12-11 16:58:37 +00:00
David Markowitz
3beb414b55
good enough
...
the client code for this is a mess and should load everything at once or use non race condition code
2024-12-10 19:10:54 -08:00
David Markowitz
1dadeeb36f
fix leaderboard not incrementing on a not better score ( #1674 )
2024-12-10 05:37:49 -06:00
David Markowitz
aa7c3b9061
better vanity checks ( #1666 )
...
tested that vanity npcs now chat when close, and then on a cooldown
2024-12-08 16:27:04 -06:00
David Markowitz
1644d9448d
Update .gitignore ( #1672 )
2024-12-08 16:23:55 -06:00
David Markowitz
8b56b0b7ba
fix: use current binary directory mariadb shared object and dont override env variable ( #1669 )
...
* mac stuff
grab correct mariadb file and dont override env variable
fix for unix
Update CMakeLists.txt
unix only
* get that dylib
2024-12-08 00:36:49 -06:00
David Markowitz
4a1c289fb1
fix: avant gardens switches ( #1667 )
...
* yep
* remove dumb knockback
idk how the 1 switch in pet cove does it
2024-12-07 19:11:13 -06:00
David Markowitz
32a1e5ece5
update sqlite ( #1665 )
2024-12-06 15:04:23 -06:00
David Markowitz
7fcbb9507b
feat: re-write leaderboards again and fully remove mysql dependency outside of database ( #1662 )
...
* simplify leaderboard code, fully abstract database
* update exception catching
* update exception catching and sql references, remove ugc from gamemessages
fix deleting model
remove unrelated changes
Update GameMessages.cpp
* remove ugc from gamemessages
* Update GameMessages.cpp
* Update Leaderboard.cpp
* bug fixes
* fix racing leaderboard
* remove extra stuff
* update
2024-12-06 05:03:47 -06:00
David Markowitz
730533c690
fix: abstract ugc rockets and cars from GameMessages ( #1660 )
...
* update exception catching and sql references, remove ugc from gamemessages
fix deleting model
remove unrelated changes
Update GameMessages.cpp
* remove ugc from gamemessages
2024-12-05 20:00:54 -08:00
David Markowitz
129d9fd0b9
update exception catching ( #1661 )
2024-12-04 03:30:14 -06:00
David Markowitz
ec4ec2133b
fix: logging uninitialized memory ( #1658 )
...
fixes an issue where the console would halt because we printed a control code which did such
2024-12-03 15:01:43 -06:00
jadebenn
4922e2edb1
Merge remote-tracking branch 'upstream/main' into ub-fixes
2024-11-27 20:51:24 -06:00
David Markowitz
218a3f2d0d
Update BaseFootRaceManager.cpp ( #1657 )
2024-11-27 16:26:10 -06:00
jadebenn
c05c2543a9
Merge branch 'ub-fixes' of https://github.com/DarkflameUniverse/DarkflameServer into ub-fixes
2024-11-27 01:38:03 -06:00
jadebenn
5599bd946b
reduce memcpying
2024-11-27 01:38:00 -06:00
jadebenn
a568e66e41
Stop annoying mac build failure
2024-11-27 00:34:37 -06:00
David Markowitz
c37a0c86c1
fix: Old level files not loading ( #1656 )
...
* emmo help
* fix parsing live data
---------
Co-authored-by: Aaron Kimbre <aronwk.aaron@gmail.com>
2024-11-26 22:14:07 -06:00
David Markowitz
9e7ef8c4ee
fix: Player activated switches ( #1655 )
2024-11-25 22:55:50 -06:00
jadebenn
66fa3ff4ba
created FromBitsUnchecked memcpy wrapper
2024-11-25 01:40:58 -06:00