Commit Graph

1152 Commits

Author SHA1 Message Date
4a39221dd0 Address reviews
Changed the activator position parsing to have TryParse so that we dont throw an exception trying to load the position.  Should the loading of the activator position fail the game will default to the position of the entity.

change delimiter value to hex

Updated the character delimiter used for rebuild_activator settings to use hex

Remove extra parsing of activator position

in Entity.cpp we were parsing the activator position but when doing so where we were, this was after we had ended up spawning the activator since that is now in the constructor of the rebuild component.  The extra parsing has been removed.

Simplify dirty parent/child info

Simplify the if condition for parent child info.  This info only needs to be written should it be changed (dirty) or if the packet being sent is a construction, meaning that a requesting player needs all base data and needs to know what parents/children an entity has at that time.

get rid of extra parenthesis

Left over extra parenthesis were around these conditions on accident
2022-06-16 08:50:01 -07:00
09c459a083 Added comment 2022-06-15 23:17:44 -07:00
7dfcd22a2e Properly place build activator
The build activator as a result of the previous changes was spawning at the wrong position.  This commit pulls the activators position from the settings (should they exist) and sets them accordingly.
2022-06-15 22:59:30 -07:00
8bdd5b6e2c Address quickbuilds being unbuildable
Address an issue where quickbuilds would become unbuildable.  The main issue lied within serializing parent/child info too often for some reason / serializing it when the info wasnt dirty.  Only serializing this info when it is actually dirty and has changed has addressed the issue and allows quickbuilds to never break.
2022-06-15 22:58:38 -07:00
4556faf833 Merge pull request #583 from EmosewaMC/SetLevelCommand
Add setlevel command
2022-06-13 01:06:41 -07:00
1179f5a2fe Add setlevel to commands doc 2022-06-13 00:45:29 -07:00
a61c6e5e41 Add /setlevel slash command
Add the setlevel slash command.  Command accepts parameters of the requested level and a player to set the level of.  This also adjects the uscore of the player accordingly.  The player must re-log upon using the command to see any updates to themselves or others.
2022-06-13 00:45:17 -07:00
1f62f169c8 Merge pull request #582 from DarkflameUniverse/revert-581-bons-hotfix
Revert "Don't give activity loot for Battle of Nimbus Station"
2022-06-13 04:20:54 +01:00
842cb80137 Revert "Don't give activity loot for Battle of Nimbus Station" 2022-06-13 04:19:27 +01:00
2868465e89 Merge pull request #581 Don't give activity loot for Battle of Nimbus Station
Don't give activity loot for Battle of Nimbus Station
2022-06-12 19:25:56 -07:00
ef8ea13d99 Don't give activity loot for Battle of Nimbus Station
Address an issue on Brick Mesa where Battle of Nimbus Station was dropping activity loot.  Tested completing Battle of Nimbus Station and ending early and was not given loot as is expected.
2022-06-12 19:25:28 -07:00
df9f9f08b6 Merge pull request #580 Address issue with bricks selling 1 at a time
Address issue with bricks selling 1 at a time
2022-06-12 14:15:42 -07:00
50fd27b973 Merge branch 'DarkflameUniverse:main' into selling-fix-bricks 2022-06-12 11:49:17 -07:00
81431cfcbd Address bricks selling 1 at a time
Bricks have a stack size of zero in the cdclient so we need to make sure to give them a full stack size of 999 as we do for the bricks inventory with the selling inventory.
2022-06-12 11:48:52 -07:00
7af248feeb Merge pull request #578 Fix Selling "random" item
Address issue with selling/moving items grabbing a "random" item
2022-06-12 11:43:36 -07:00
fbf0b59ff1 Fix item getter for moving items
This fixes an issue where the item would get overwritten and would effectively fetch a "random" item in the inventory to move instead of the requested one.
2022-06-12 10:56:01 -07:00
c5dff54e01 Merge pull request #577 Address issue with some kills not contributing towards progress
Address issue with player spawned abilities not getting team
2022-06-11 22:01:41 -07:00
30c8326c3e Move owner override
Mover owner override to be earlier so that we dont try to get the team of an entity that doesnt have a team and may be a child entity of a player.  Tested changes with a team of two players and players were correctly given credit for kills
2022-06-11 20:50:01 -07:00
d8cde40b49 Fix unhealthy docker containers (#574)
* Add curl to brickfix dockerfile.

* Add curl to AccountManager docker.

* Fix issue preventing container from building.
2022-06-11 19:31:58 -05:00
db773e9778 Merge pull request #573 Fix crash for Footraces on Windows
Corrected ambiguous string to number conversion  which would cause a crash on operating systems where a long is 32 bits and not 64 bits.
2022-06-06 23:09:10 -07:00
33cc3a3dd9 Corrected string to long conversion
For Windows, the definition for a long is 32 bits, not 64 bits like on other operating systems.  This caused an issue on Windows only where a number larger than 32 bits was attempted to be converted to a long, the WorldServer would crash.  This commit replaces all instances of `stol` with `stoull` to further define a long and reduce ambiguity of number length.
2022-06-05 21:02:41 -07:00
66215da37a Fix overrides in ActMine (#568) 2022-05-31 00:24:55 -05:00
73bbe641c6 Merge pull request #567 Address solo activity team sizes
Activities that would now force players into teams no longer make teams of size 1.
2022-05-27 19:04:46 -07:00
c6f871d42b only make teams for minigames
if we have more than one participant
2022-05-27 15:25:57 -05:00
445c01d485 Add instructions on solving missing DLL issue (#379)
* Add instructions on solving missing DLL issue

* Repair formatting to be consistent
2022-05-25 18:41:42 -05:00
915b779f03 Update Docker.md with buildkit and submodule notes. (#458)
* Update Docker.md

Add link to enabling docker buildkit. Add note to remember to clone submodules.

* Remove unpacked client option

Unpacked client does not have required directories/files (e.g. /versions/trunk.txt) and thus the packed client is required.

* Add note about renaming CDClient.fdb

DarkflameSetup will fail because it cannot find cdclient.fdb. However, CDClient.fdb exists. Renaming it fixes the issue.

* Remove extra "client"
2022-05-25 12:32:18 -05:00
731c25741c Merge pull request #563 Fix leaderboard not updating when it is supposed to
Fixed leaderboards not updating when they are supposed to.
2022-05-24 20:36:35 -07:00
f8d73ccbc5 Fixed display logic for NS Survival leaderboard 2022-05-25 02:03:40 +00:00
f5caa1f00d Merge branch 'leaderboard-updates' of https://github.com/Verathian/DarkflameServer into leaderboard-fix-resubmit 2022-05-25 02:00:10 +00:00
769f789a43 Merge pull request #354 Sanitize SQLite Queries
adds support to prevent sql injection via using prepared statements and also fixes an issue with the runmacro command.
2022-05-24 17:31:58 -07:00
e3422ac0c5 Merge branch 'main' into main 2022-05-24 19:00:52 -05:00
cdb2cf0344 Added Comprehensive Slash Command Documentation (#402)
* Added documentation for all available commands

* Adjust formatting, removing backtick characters

* Replace HTML tables with Markdown tables

* Formatting changes

* Suggestions from @sersorrel in #402 and other minor edits

* Add detailed usage for /inspect

(thanks to @sersorrel for this information, in discussion of #402)
2022-05-23 21:59:31 -05:00
44e17eabca Merge pull request #559 Properly implement climbable setting for climbables
This shouldn't change anything that was available in live but anything that can be spawned in as climbable is able to be done so now.
2022-05-19 12:38:40 -07:00
06df15717c maybe fix it 2022-05-19 08:40:50 -05:00
813aca9d20 resolve comments 2022-05-18 06:36:21 -05:00
a363d0734c Merge pull request #557 optimized LUP Component
Optimized LUP Component to not use a query to build its list of worlds
2022-05-17 21:30:12 -07:00
667677dcdd Merge pull request #558 Implement boom trap
Implement Mine Script for boom trap
2022-05-17 21:29:33 -07:00
9169d844e2 explicit set to 0 2022-05-17 21:38:36 -05:00
03a5aa4da0 climbable server side settings 2022-05-17 21:27:08 -05:00
729e79eadb resolves #556 2022-05-17 19:12:43 -05:00
ca55fccb27 remove cdclient include 2022-05-17 10:20:36 -05:00
81af1f382e get zones from settings 2022-05-17 10:18:50 -05:00
cc23538244 Merge pull request #549 Players hold rockets when interacting with some launch pads 2022-05-12 19:25:58 -07:00
20b45bc27f Merge branch 'main' into proper-rocket-holding 2022-05-12 08:21:17 -05:00
85cd8c8833 Merge pull request #553 Fix Crux Prime Teapot
Add crux prime tea pot server script
2022-05-10 14:18:28 -07:00
d6aece44aa Merge pull request #552 Replace survey link with repo link
Replace the survey link with the repo link
2022-05-10 04:16:22 -07:00
aba349301f Add AM Teapot server
Resolves #224
2022-05-09 23:21:20 -05:00
875827d688 Set url from world config instead of hardcoding 2022-05-09 17:33:43 -05:00
d7eb8783a8 replace the survey link with the repo link
(not that anything can load in the in-game browser anyway)
2022-05-09 08:43:31 -05:00
d39df2e5a1 Merge pull request #551 exclude Frostburgh race track from ghosting
Exclude space blizzard from Zone ghosting
2022-05-09 04:51:37 -07:00