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

(Instance/Culling of Stratholme): Chromie (ID: 26527) no action support for Gossip Menu 9586 option 1 #18561

Open
chaosua opened this issue Mar 16, 2024 · 0 comments

Comments

@chaosua
Copy link
Contributor

chaosua commented Mar 16, 2024

Current Behaviour

We have Chromie https://www.wowhead.com/wotlk/npc=26527. She has 3 gossip_menu_option OptionIDs with same menuid
SELECT menuid, optionID, OptionText, actionMenuId FROM gossip_menu_option WHERE MenuID IN (9586,11277);
| menuid | optionID | OptionText | actionMenuId |
| 9586 | 0 | Why have I been sent back to this particular place and time? | 9594 |
| 9586 | 1 | Yes, please! | 0 |
| 9586 | 2 | Chromie, you and I both know what's going to happen in this time stream. We've seen this all before. Can you just skip us ahead to all the real action? | 11277 |
| 11277 | 0 | Yes, please! | 0 |

In script there is handler for actionmenu 11277 which teleports player to Arthas to skip start event
[ else if (player->PlayerTalkClass->GetGossipMenu().GetMenuId() == 11277) ]
but there is MenuId=9586 with OptionID=1 which, i suppose, intended to do the same skip thing but without long text reading and for now it does nothing. look at video

world.of.warcraft.2024-03-16.12-09-41.mp4

Simple making another [else if (player->PlayerTalkClass->GetGossipMenu().GetMenuId() == 9586)] will not work properly because it gives TRUE fo every OptionID with MenuID 9586.
I tried uncomment uint32 action in bool OnGossipSelect but it gived me action=1 for every gossip i pressed
else if (player->PlayerTalkClass->GetGossipMenu().GetMenuId() == 9586 && action == 1)
{
creature->Say("ACTION==1", LANG_UNIVERSAL);
}

world.of.warcraft.2024-03-16.12-40-09.mp4

I'm not strong in core functions so don't know how to filter OptionID in selected gossip in C++

Expected Blizzlike Behaviour

make first "Yes, Please" option to Work

Source

No response

Steps to reproduce the problem

.go creature 1970801
try press second menu option

Extra Notes

No response

AC rev. hash/commit

db7475f

Operating system

Windows 10 x64

Custom changes or Modules

No response

@chaosua chaosua changed the title (Instance/Culling of Stratholme): Chromie (ID: 26527) no action support for Gossip Menu (Instance/Culling of Stratholme): Chromie (ID: 26527) no action support for Gossip Menu 9586 option 1 Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant