Commit Graph

204 Commits

Author SHA1 Message Date
David Markowitz
bd7f532a28
Implement the Imaginite Backpack and Shard armor scripts (#886)
* Imaginite Pack now works

* Remove unused params

* Address issues

* Add TeslaPack script

Co-authored-by: aronwk-aaron <aronwk.aaron@gmail.com>
2022-12-21 14:33:41 -08:00
David Markowitz
84c5d74450
Add Delete Inventory Slash Command (#865)
* moving branch

* Add deleteinven slash command

* Change name of BRICKS_IN_BBB

* Use string_view instead of strcmp

* Remove GameConfig

* Revert "Remove GameConfig"

This reverts commit cef5cdeea2.
2022-12-18 09:46:04 -06:00
David Markowitz
cd78a3dec7
Fix cannon super charge speed (#883)
* Fix cannon

* Update SGCannon.cpp
2022-12-16 15:23:09 -06:00
Aaron Kimbrell
2b9c014b86
Quiet activity manager timer logs (#861) 2022-12-02 00:44:20 -08:00
David Markowitz
d382eb3bc2
Fix Boogie Down (#854)
- Give entities that have a script component ID of zero a script component still
- Progress scripted entity missions within the for loop as we do for script calls

Tested that Boogie Down is (finally) completable.
Tested that Mission 737 is still completable
Checked that missions progressed inside OnEmoteReceived scripts to not double trigger progression
2022-11-27 04:03:30 -08: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
Aaron Kimbrell
c552f46780
ignore empty.lua and empty scripts (#769)
* ignore empty.lua and empty scripts
and return early if it's an ignored script

* return it else if logic
2022-09-04 21:43:16 -05:00
Aaron Kimbrell
14d4bf3cc5
Script for aborting a wbl zone transfer (#766) 2022-09-02 13:49:38 -05:00
Aaron Kimbrell
1af3e59348
Scripts for the AG sentinel camp QB wall (#761)
* Scripts for the AG sentinel camp QB wall

* use lookat

* Address feedback

* Fix stromling spawner

* fix aggro and remove logs

Co-authored-by: Jett <55758076+Jettford@users.noreply.github.com>
2022-09-01 21:44:26 -05:00
Aaron Kimbrell
3b75ecc0b4
Add script to playfx on canisters before consoles are active (#754)
* Add script to playfx on canisters before consoles are active

* remove debug stuff
2022-08-27 21:48:03 -05:00
Aaron Kimbrell
b70e7334e8
Parrot crash script to become a sneaky ninja and steal the pirate's booty (#752) 2022-08-26 22:58:41 -05:00
Aaron Kimbrell
500b7885e2
Add pirate rep script (#751)
* Add pirate rep script

* fix formattimg
2022-08-25 21:09:08 -05:00
Aaron Kimbrell
47f0830483
Add GF geyser script (#749)
* Add GF geyser script

* remove uneeeded include

* const
2022-08-25 15:51:22 -05:00
Aaron Kimbrell
e707207ffa
Add FV Geyser script (#748)
* Add FV Geyser script

* remove uneeded include

* const
2022-08-25 15:50:13 -05:00
David Markowitz
ceb374591f
Move mailbox closing to its script (#740) 2022-08-18 19:42:52 -07:00
Aaron Kimbrell
f8c1e2fb52
Script for when archway rebuild is done (#739) 2022-08-18 15:33:32 -05:00
Aaron Kimbrell
e4a15a0f2e
Add imagimeter visibility script (#738) 2022-08-18 00:09:14 -05:00
Aaron Kimbre
72477e01e2 convert to unix line endings 2022-08-05 22:01:59 -05:00
Jett
9ee219ea42
Move Navmesh code away from dPhysics (#701) 2022-08-02 06:30:19 +01:00
aronwk-aaron
19e77a38d8 format codebase 2022-07-28 08:39:57 -05:00
avery
a632ef8ccd
Clean up format logs (#682) 2022-07-26 23:52:53 -07:00
Aaron Kimbrell
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
David Markowitz
6a38b67ed5
General AMF cleanup (#663)
* 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 AMFFormat.cpp
2022-07-21 22:26:09 -07:00
Jett
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
David Markowitz
9ba297dd2e
Add code to complete hidden property mission (#641) 2022-07-13 09:10:02 -07:00
Aaron Kimbrell
3865a186a7
Possessor and possessable additions (#619)
* possessor-fixup and possessable additions

* comment and docstring fixes

* fix possessable initialization

* split animation flags into it's own header
remove unnecessary checks
2022-07-08 22:25:15 -05:00
David Markowitz
8cdb388915
Optimize scripts for faster compilation (#597)
* Implement Precompiled Headers

* First volume of optimizations

* Scripts A-B

Gonna be doing this in alphabetical order now.

* C Scripts and remove unneeded includes from base cppscripts header

Remove the MissionComponent and Loot includes from all base scripts and place their needed includes in the respective scripts.

* D scripts

* F scripts

* F scripts 2

Finish up removing extraneous includes from scripts that start with the letter F

* G scripts

Removing extraneous includes from scripts that start with the letter G

* I scripts

Removing extraneous includes from scripts that start with the letter I

* M-Z scripts

Removing extraneous includes from scripts that start with the letter M-Z

* Revert "Implement Precompiled Headers"

This reverts commit d79d8d4991.

* Revert "Revert "Implement Precompiled Headers""

This reverts commit 0597faf308.

* Add back in PCH

Add back in PCH

* Fix CMake

Whitespace

Remove duplicate file glob

Remove newline
2022-07-04 23:00:10 -07:00
Aaron Kimbrell
1497d9b35a
breakout possessor from char comp (#606)
* breakout possessor from char comp
Use the correct component for possessor
cleanup scirps that were using possessor improperly
beginnings of mounts

* fix comments
added bounds check
2022-06-29 18:50:24 -05:00
David Markowitz
a55162775e
Address incorrect stun played by growl speakers (#605)
Add the FireFirstSkillonStartup script to allow for scripts that use this to function.

Add comments

Fix QB Stunner scripts

Use SetVar for variable

Remember that variables for scripts need to be stored in the entity since a script can be used across multiple entities.

Remove unused variable

Specify Unsigned Int

Start skill asap, not next tick
2022-06-28 23:17:45 -07:00
David Markowitz
670a2de95b
Address issue with Inventor Beehive and Buccaneer Monkey ability on valiant weapon (#604)
* Add Script

Add the FireFirstSkillonStartup script to allow for scripts that use this to function.

* Add comments
2022-06-27 21:36:18 -07:00
Aaron Kimbrell
94e161df55
Address players leaving Battle of Nimbus Station causing a crash that wont save (#600) 2022-06-24 15:26:09 -05:00
EmosewaMC
6b30292efd Fix issue with dropship computer
The dropship computer now no longer gives a player a second mission item should they interact with it again after mission completion
2022-06-20 22:22:32 -07:00
EmosewaMC
968114199b The shooting Gallery now properly ends when a player leaves the instance
The shooting Gallery now properly ends when a player leaves the instance

Frakjaw player update

Update the Frakjaw battle instance script to remove players when they leave the instance

Simplify comparison

Simplify comparison for entity pointer to be implicit
2022-06-19 01:40:16 -07:00
Jett
842cb80137
Revert "Don't give activity loot for Battle of Nimbus Station" 2022-06-13 04:19:27 +01:00
EmosewaMC
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
EmosewaMC
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
Aaron Kimbrell
66215da37a
Fix overrides in ActMine (#568) 2022-05-31 00:24:55 -05:00
Aaron Kimbre
729e79eadb resolves #556 2022-05-17 19:12:43 -05:00
Aaron Kimbre
aba349301f Add AM Teapot server
Resolves #224
2022-05-09 23:21:20 -05:00
Aaron Kimbre
bd3e8aee51 Implement Rocket Launch Lup Component 2022-05-03 15:05:29 -05:00
Aaron Kimbre
763a1f4a61 Split out Darkitect reveal into it's own file
add reveal to Fong
2022-05-01 08:54:45 -05:00
EmosewaMC
2435870ec5 Added animation
Added the GM animation and stun for the Nexus Tower Paradox Panels for mission 1281.  Tested on local instance and animation played correctly when having the mission and did not play at all before or after completing the mission
2022-04-28 19:52:03 -07:00
EmosewaMC
2f598dad09 Serialize ape when changing armor value 2022-04-28 00:14:06 -07:00
EmosewaMC
27edf5da1d Typo in NsConcertInstruments 2022-04-25 18:16:47 -07:00
EmosewaMC
4fd1467cbf changed loot sources to none
Changed loot sources for some scripts to none so they properly give loot to the player.
2022-04-24 18:40:20 -07:00
EmosewaMC
7a051afd97 loot source for item drops
Added support for Items to have a loot source attached to them when dropped or rolled.  This fixes the issue where achievements would give the item before it appeared in the achievement window.
2022-04-23 20:35:34 -07:00
EmosewaMC
a4d934913c added lootsource send in GM
WIP commit
2022-04-23 05:13:06 -07:00
Aaron Kimbre
8db7dfef75 also apply overrides to AG fans 2022-04-18 21:09:27 -05:00
Aaron Kimbre
f3dd71ccb1 cleanup logs, fix overrides, define LOTs in header 2022-04-18 21:02:04 -05:00
Aaron Kimbre
8fe5c00984 remove dereference
(I think that's what it is called)
2022-04-18 08:36:11 -05:00
Aaron Kimbre
d05601ce64 Fixes 2022-04-18 08:27:37 -05:00
Aaron Kimbre
2122448284 cleaning up some stuff 2022-04-17 21:30:25 -05:00
Aaron Kimbre
263eaf03b0 ugh, another semicolon 2022-04-17 20:24:49 -05:00
Aaron Kimbre
6cef7a437a scope 2022-04-17 20:24:19 -05:00
Aaron Kimbre
0778b4f81c missed semicolon 2022-04-17 20:17:36 -05:00
Aaron Kimbre
235934714f honor the logic in the lua script 2022-04-17 20:16:27 -05:00
Aaron Kimbre
a343ed9493 rock hydrants work 2022-04-17 19:43:17 -05:00
Aaron Kimbre
cc68b0768b remove log 2022-04-17 17:43:25 -05:00
Aaron Kimbre
e696d26941 update the Effect ID 2022-04-17 17:41:10 -05:00
Aaron Kimbre
a8fcb4c153 make the hydrant match the lua script 2022-04-17 16:44:46 -05:00
Aaron Kimbre
1e85ae2035 tabs and log 2022-04-17 15:58:26 -05:00
Aaron Kimbre
67615d5688 fix volumen physics name 2022-04-17 12:46:41 -05:00
Aaron Kimbre
23677b4bd3 Simplify some stuff
Remove render component in startup
2022-04-17 12:38:12 -05:00
Aaron Kimbre
5b0f917485 update script path for fans 2022-04-17 00:05:04 -05:00
Aaron Kimbre
b3695c42b2 fix copy past error 2022-04-16 23:35:22 -05:00
Aaron Kimbre
0e5a1c9721 fix comparator 2022-04-16 23:33:44 -05:00
Aaron Kimbre
b4acf329b4 implement some missing scripts 2022-04-16 23:32:15 -05:00
EmosewaMC
9d79fc3d2e resolved MacOS compilation warnings 2022-04-05 05:11:06 -07:00
EmosewaMC
041dc8256f comment 2022-03-30 18:34:26 -07:00
EmosewaMC
b79ebf1d40 Corrected faction for Buff Station 2022-03-30 18:25:32 -07:00
Jett
ff9d736073
Merge pull request #442 from EmosewaMC/AvantGardensSurvivalBuffStation
Fully implemented Avant Gardens Survival Buff Station
2022-03-30 22:22:50 +01:00
Jett
b2890262fb
Merge pull request #445 from EmosewaMC/explodingDummyFix
Implemented script for exploding dummy in Nexus Tower Combat Training
2022-03-30 22:21:30 +01:00
Jett
0a6b8f139e
Merge pull request #437 from EmosewaMC/racingSpecificSmashFix
Addressed specific race smash missions not progressing
2022-03-30 22:20:38 +01:00
Jett
2a2fa94b03
Merge pull request #475 from EmosewaMC/ape-fixes
Addressed incorrect ape attacks
2022-03-30 22:18:57 +01:00
Jett
58c6429209
Merge pull request #393 from EmosewaMC/DragonQBFix
Implemented a script that spawns a Golem Quick Build on Crux Prime dragons when they reach zero armor
2022-03-30 22:18:44 +01:00
Jett
3a959778fe
Merge pull request #451 from EmosewaMC/ShootingGalleryScoreFix
Shooting Gallery daily mission fix
2022-03-25 15:59:39 +00:00
EmosewaMC
f83ad8bbe4 fixed wrong stun removal
Apes no longer stack their attacks

Apes no longer stack their attacks and excess comments removed
2022-03-24 01:05:36 -07:00
EmosewaMC
6be274b259 fixed issue 2022-02-23 17:38:25 -08:00
EmosewaMC
55def02c8f Added script to CppScripts 2022-02-20 19:51:54 -08:00
EmosewaMC
6905120ac6 Added MailBoxServer files 2022-02-20 19:51:35 -08:00
EmosewaMC
a60738f78f cleaned up SGCannon 2022-02-09 16:42:31 -08:00
EmosewaMC
e397ed310e Updated script for teams
Updated script to drop buffing items for all members in a team.
2022-02-08 02:02:05 -08:00
EmosewaMC
1122f50c7c Changed time when buff station spawns 2022-02-08 01:55:25 -08:00
Marcono1234
d9874b452e
Fix Plunger Gun not being removed from inventory after mission (#444) 2022-02-07 21:45:56 +01:00
EmosewaMC
0253a1fcb4 Added script for exploding asset 2022-02-07 03:43:57 -08:00
EmosewaMC
a22e1bd53d Added new case in CppScripts 2022-02-07 03:43:57 -08:00
EmosewaMC
204f03fd2a removed extra function 2022-02-06 22:19:23 -08:00
EmosewaMC
b297d21a8d Fully implemented buff station script 2022-02-06 22:15:32 -08:00
EmosewaMC
f41e8292e8 Clarified numbers and added comments 2022-02-06 21:34:26 -08:00
EmosewaMC
3de2c3bfc6 set faction of buff station to 6 2022-02-06 21:32:36 -08:00
EmosewaMC
9cfb9a0de6 Added specific smashable mission progression 2022-02-06 14:28:37 -08:00
Nordegraf
f7009b499b
added tracking of Pet Excavator achievement (#213)
* added tracking of the Pet Excavator achievement

* make Pet Extractor Progress Zone specific

* added tracking of Pet Excavator Achievement using player flags
2022-02-05 13:19:25 +01:00
David Markowitz
84cf79906b
Frakjaw Battle instance fixes (#409)
* Update NjMonastryBossInstance.cpp

* Changed spawn position to be 1.

* Changed stored variable from vector to int

Added clarifying comments
2022-02-05 13:11:58 +01:00
David Markowitz
828c457614
Added script for Friend of the Ninja mission (#406)
* Added script for Friend of the Ninja mission

* Added comments
2022-02-05 13:00:10 +01:00
David Markowitz
fe178bf745
Fully Implemented Shooting Gallery Mission and Achievement Fixes (#381)
* Fixed tab indent

* Fully implemented Achievement tracking for Shooting Gallery

- Removed logging in MissionTask.cpp and moved the checks for mission progression to after checking the instance.

- Implemented the achievement tracking in SGCannon as well as tracking of the maximum hit streak and progression of enemy smashes in the shooting gallery.
2022-02-05 12:54:12 +01:00
David Markowitz
c6f220ee31
Implementing and Fixing All Racing Achievements (#366)
* Grammatical changes in comments

* Grammatical fixes in comments

Small grammatical fixes found in comments throughout the code.

* Added descriptions to functions

Added descriptions to functions that didn't have them to keep the code well documented

* Created RacingTaskParam.h

Created RacingTaskParam so eliminate magic numbers in the original implementation of completing racing missions.

* Updated magic numbers in Mission.cpp

Updated magic numbers in Mission.cpp to a meaningful name.

* Implemented racing smashable task progression

Previously, races did not progress tasks for smashing Entities.  Now all achievements tracking smashables track them correctly.  This has been implemented in the three Entities that can be smashed in a race (imagination boxes, track specific smashables, Forbidden Valley dragon eggs).

* Updated race imagination task progression

Race imagination now no longer uses a magic number when passed to missionComponent.  Instead we use a number defined in an enum located in RacingTaskParam.h

* Updated Race task checks

Racing tasks for completing races without smashing now no longer auto complete the whole chain of missions.  Tasks that track placing on tracks and races overall now properly complete.  Tasks that count how many missions in a zone are completed now function.  Tasks that track race completions in multiple areas now function.

* Updated RacingControlComponent.cpp

Fixed any tasks that required 3 players to now require 3 or more players in a race to progress.  This restriction is ignored if the world config opted in for solo racing to allow progression in solo worlds.  Updated magic numbers sent into missionComponent->Progress to an enum created in this PR.  Fixed some indentation.

* Fixed a grammatical error in variable name

Fixed a grammatical error in the enum for task params
2022-02-05 12:28:17 +01:00
wincent
dc2bd76aba Fixed scripted powerup spawners
When applied this commit fixes scripted powerups
2022-02-05 12:27:24 +01:00
David Markowitz
dac8ec621c
Added stun immunity for bosses in Battle of Nimbus Station (#428) 2022-02-01 17:48:23 +01:00
EmosewaMC
f605451693 Added pragma once to header file 2022-01-22 17:48:09 -08:00
EmosewaMC
fa747a27db Added missing script for Gate Crasher mission 2022-01-22 17:40:08 -08:00