jadebenn
6699081080
Merge branch 'main' into ub-fixes
2024-12-20 01:58:51 -06: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
jadebenn
5599bd946b
reduce memcpying
2024-11-27 01:38:00 -06:00
jadebenn
66fa3ff4ba
created FromBitsUnchecked memcpy wrapper
2024-11-25 01:40:58 -06:00
jadebenn
7740bbbaab
reinterpret_cast-based type-punning is almost always UB
2024-11-23 02:29:11 -08:00
jadebenn
ef6f2f133e
chore: Eradicate C-style casts and further clean up some code ( #1361 )
...
* cast and code cleanup
* cast cleanup
* bug fixes and improvements
* no getBoolField method exists
* fixes
* unbroke sg cannon scoring
* removing comments
* Remove the c-style cast warning I added from CMakeLists now that they're gone (it triggers on 3rd party dependencies and slows down compilation)
* (Hopefully) fix MacOS compilation error
* partially-implemented feedback
* more updates to account for feedback
* change bool default
---------
Co-authored-by: jadebenn <jonahebenn@yahoo.com>
2023-12-27 22:18:20 -06:00
David Markowitz
0c0f7216a1
Merge branch 'main' into pr/1107
2023-07-21 19:38:59 -07:00
David Markowitz
455f9470a5
Move EntityManager to Game namespace ( #1140 )
...
* Move EntityManager to Game namespace
* move initialization to later
Need to wait for dZoneManager to be initialized.
* Fix bugs
- Cannot delete from a RandomAccessIterator while in a range based for loop.
Touchup zone manager initialize
replace magic numbers with better named constants
replace magic zonecontrol id with a more readable hex alternative
condense stack variables
move initializers closer to their use
initialize entity manager with zone control
change initialize timings
If zone is not zero we expect to initialize the entity manager during zone manager initialization
Add constexpr for zone control LOT
* Add proper error handling
* revert vanity changes
* Update WorldServer.cpp
* Update dZoneManager.cpp
2023-07-15 13:56:33 -07:00
David Markowitz
259f0c8371
Working in game again
...
hooray
2023-06-05 04:10:59 -07:00
EmosewaMC
0107d05d55
draft
2023-05-30 04:11:37 -07:00
David Markowitz
3448426caf
commit
2023-05-09 22:00:13 -07:00
David Markowitz
7a067e7b48
Working in game!
...
- Add score saving for races
- Fix some bugs
- Still work to do.
2023-05-09 01:42:11 -07:00
David Markowitz
c91f0d16b3
Get it compiling, add a test and optimize heavily
2023-04-13 00:45:03 -07:00
Aaron Kimbre
faf42d2f8c
cleanup enums to make them more consistent
2023-01-22 17:38:47 -06:00
David Markowitz
8d37d9b681
Organize dScripts ( #814 )
...
* Organize dScripts
whitespace
Remove parent scope
Remove parent scope from initial setter
Remove debug
Remove helper programs
* Fix NtImagimeterVisibility script
Co-authored-by: aronwk-aaron <aronwk.aaron@gmail.com>
2022-11-03 12:57:54 -05:00