Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Ulduar/Tram): add rocket booster, turnaround visuals, button logic #18900

Merged
merged 1 commit into from
May 28, 2024

Conversation

sogladev
Copy link
Contributor

Changes Proposed:

This PR proposes changes to:

  • Core (units, players, creatures, game systems).
  • Scripts (bosses, spell scripts, creature scripts).
  • Database (SAI, creatures, etc).

drawing of tram structure, ids - guids
tram

I used timings to get the visual effects to sync up however the StaticTransport events for arrival should be used, but I can't get them to emit? I tried the following

-- 1: event_scripts to activate the "doors" circles upon arrival
DELETE FROM `event_scripts` WHERE `id` IN (21393,21394);
INSERT INTO `event_scripts` (`id`, `delay`, `command`, `datalong`, `datalong2`, `dataint`, `x`, `y`, `z`, `o`)
VALUES
(21393, 0, 11, 42867, 0, 0, 0.0, 0.0, 0.0, 0.0),
(21394, 0, 11, 56125, 0, 0, 0.0, 0.0, 0.0, 0.0);
-- 2: smartAI on the tram to activate the "doors" circles upon arrival
DELETE FROM `smart_scripts` WHERE (`source_type` = 1 AND `entryorguid` = 194675);
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `event_param5`, `event_param6`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(194675, 1, 0, 0, 71, 0, 100, 0, 21394, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 14, 56125, 194913, 0, 0, 0, 0, 0, 0, 'Tram - On Event 21393 Inform - Activate Gameobject'),
(194675, 1, 1, 0, 71, 0, 100, 0, 21393, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 14, 42879, 194915, 0, 0, 0, 0, 0, 0, 'Tram - On Event 21394 Inform - Activate Gameobject');

3: ProcessEvent in instancescript

AddPassenger is called onPlayerEnter, not sure where else to do this

Issues Addressed:

SOURCE:

The changes have been validated through:

  • Live research (checked on live servers, e.g Classic WotLK, Retail, etc.)
  • Sniffs (remember to share them with the open source community!)
  • Video evidence, knowledge databases or other public sources (e.g forums, Wowhead, etc.)
  • The changes promoted by this pull request come partially or entirely from another project (cherry-pick). Cherry-picks must be committed using the proper --author tag in order to be accepted, thus crediting the original authors, unless otherwise unable to be found

The rocket booster position was present in DB as relative to the Tram object.
"Activate Tram" object

Tests Performed:

This PR has been:

  • Tested in-game by the author.
  • Tested in-game by other community members/someone else other than the author/has been live on production servers.
  • This pull request requires further testing and may have edge cases to be tested.
tram.mp4

How to Test the Changes:

  • This pull request can be tested by following the reproduction steps provided in the linked issue
  • This pull request requires further testing. Provide steps to test your changes. If it requires any specific setup e.g multiple players please specify it as well.

tp to the tram at center

  1. .go xyz 2275 288 419.3 603 0.067

Known Issues and TODO List:

  • [ ]
  • [ ]

How to Test AzerothCore PRs

When a PR is ready to be tested, it will be marked as [WAITING TO BE TESTED].

You can help by testing PRs and writing your feedback here on the PR's page on GitHub. Follow the instructions here:

http://www.azerothcore.org/wiki/How-to-test-a-PR

REMEMBER: when testing a PR that changes something generic (i.e. a part of code that handles more than one specific thing), the tester should not only check that the PR does its job (e.g. fixing spell XXX) but especially check that the PR does not cause any regression (i.e. introducing new bugs).

For example: if a PR fixes spell X by changing a part of code that handles spells X, Y, and Z, we should not only test X, but we should test Y and Z as well.

…und gobjects

remove go_call_tram GameObjectScript

add tram gobjects to header

add tram logic

renames

update position of boosters
@github-actions github-actions bot added DB related to the SQL database CORE Related to the core Script file-cpp Used to trigger the matrix build labels May 15, 2024
@heyitsbench
Copy link
Contributor

Based on your provided video, looks quite well done! 🥳

@PkllonG
Copy link
Contributor

PkllonG commented May 15, 2024

Tested eecfd7b

@sudlud sudlud added Tested This PR has been tested and is working. and removed Tested This PR has been tested and is working. labels May 16, 2024
@elthehablo elthehablo merged commit 733fbf8 into azerothcore:master May 28, 2024
28 of 29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CORE Related to the core DB related to the SQL database file-cpp Used to trigger the matrix build Ready to be Reviewed Script Tested This PR has been tested and is working.
Projects
None yet
5 participants