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

Enabling Flight Masters #17781

Closed
wants to merge 2 commits into from
Closed

Enabling Flight Masters #17781

wants to merge 2 commits into from

Conversation

lorac2k14
Copy link

@lorac2k14 lorac2k14 commented Aug 14, 2016

Changes proposed:

  • Enabling the opcode to utilize the flight master handler

Target branch(es): 6.x

Issues addressed: Closes #17778

Tests performed: (Does it build, tested in-game, etc)
It builds with no warnings and has been tested by both campaigns
No crashes no issues and runs as it should

Known issues and TODO list:

  • Flightpaths need fine tuned for the new world
    I need to research how the flight paths work so maybe I can help address this
  • Seems to still lack a lot of functionality especially in new content
  • Closed for now

@@ -128,7 +128,7 @@ void OpcodeTable::Initialize()
DEFINE_HANDLER(CMSG_ACCEPT_LEVEL_GRANT, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleAcceptGrantLevel);
DEFINE_HANDLER(CMSG_ACCEPT_TRADE, STATUS_LOGGEDIN, PROCESS_THREADUNSAFE, &WorldSession::HandleAcceptTradeOpcode);
DEFINE_HANDLER(CMSG_ACCEPT_WARGAME_INVITE, STATUS_UNHANDLED, PROCESS_INPLACE, &WorldSession::Handle_NULL);
DEFINE_HANDLER(CMSG_ACTIVATE_TAXI, STATUS_UNHANDLED, PROCESS_THREADSAFE, &WorldSession::HandleActivateTaxiOpcode);
DEFINE_HANDLER(CMSG_ACTIVATE_TAXI, STATUS_LOGGEDIN, PROCESS_THREADSAFE, &WorldSession::HandleActivateTaxiOpcode);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you need to confirm that structure did not change

Copy link
Member

@Shauren Shauren Aug 15, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated the structure, didn't enable opcode because there are new fields that need to be handled.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is a newb question but how do I find the new fields so I can look at the changes and try to provide handlers for the new fields or did you already address the missing fields in commit 59cb674

@lorac2k14
Copy link
Author

lorac2k14 commented Sep 26, 2016

Closing PR since it is not a fix and its a fixhack and not getting any feedback as to how to address what makes this a hack
Without information I can not attempt to fix pr
I am not even sure where to start research on the new fields so I am at a loss so Ill leave it to the ones who do know how to gain the information. as I requested a starting point to research this and got no feed back. I was not asking for a flat out answer to "what do I fix?" I was asking to where I start researching for a fix so I could provide something a bit more useful.

@lorac2k14 lorac2k14 closed this Sep 26, 2016
@Traesh
Copy link
Contributor

Traesh commented Sep 26, 2016

I'll look at this later this week, but if you still want to work on this PR, two new fields has been added :

        uint32 GroundMountID = 0;
        uint32 FlyingMountID = 0;

It's a new functionnality allowing player to travel on one of his mount, maybe only a favorite one, need to be determined. It should be handled before packet could be activated.

You can gather data by sniffs, trying to get on travel with one of your mounts (seem like it's a random chance to me)

@Shauren
Copy link
Member

Shauren commented Sep 27, 2016

@Traesh yes, client selects one random favorite mount for these fields but the catch here is that only one flight master uses this - the one in Dalaran on Broken Isles (probably there is a flag for this that needs to be researched)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants