Azerothcore-wotlk: Karazhan The opera house Script Bug

Created on 9 Oct 2016  路  11Comments  路  Source: azerothcore/azerothcore-wotlk

Description:
The scene can't trigger
http://www.wowhead.com/npc=16812/barnes
Current behaviour: Tell us what happens

Expected behaviour: Tell us what should happen instead

Steps to reproduce the problem:

  1. Click on the NPC after didn't open the option.

Branch(es): 0.x / 1.x / master (Specify the branch(es) affected by this issue)

AC hash/commit:

Operating system:
WIN7/X64
Modules: Are you using modules? if yes, list them

Other Customizations: Are you use core/db patches or other customizations? If yes please specify them here.

20161009104152

Most helpful comment

In my repo (https://github.com/HellFire-wow/first/commits/master) opera event and nightbane works fine. But please do not swear much, if you find any problems ... I'm still new to programming :)

All 11 comments

I think I have found the problem :
In Karazhan.cpp, at line 364, the script checks if Moroes has been defeated : if (instance->GetData(TYPE_MOROES) == DONE && instance->GetData(TYPE_OPERA) != DONE)

In boss_moroes.cpp, in the JustDied function, the TYPE_MOROES does not get set to DONE and therefore the event can not start.
Also, there are some lines that are commented in instance_karazhan.cpp. The file has to be checked since most of instance data and objects are not working properly.

instance->SetBossState(TYPE_MOROES, DONE); thats script what you put in just died function, but still is not working.

can this be of any help? https://github.com/HellFire-wow/first/commits/master

it looks like to have some karazhan improvements

It probably can. I'm gonna try it

they have not fixed the opera problem, just looked at the commits, i think i found the problem
untitled

In my repo (https://github.com/HellFire-wow/first/commits/master) opera event and nightbane works fine. But please do not swear much, if you find any problems ... I'm still new to programming :)

@xnova214 do not worry, this is an educative project and it's meant also for those who are just starting (I started with this stuff at 15 years old with almost 0 knowledge in programming stuff).

I suggest you to open a PR, so your code can be reviewed by others and can be improved, then merged with the official code base. Here the guide: https://github.com/azerothcore/azerothcore-wotlk/wiki/Contribute#how-to-create-a-pull-request

PS: join our chat if you need to ask something https://gitter.im/azerothcore/azerothcore

@xnova214 Thank you very much for the link, I need to test, and then tell everyone.

managed to get all the doors working, just need to get the opera working correctly.

sorry ives not updated this issue, i am getting close to solving the problem, once i do i will do a PR 馃憤

there is a PR to solve this issue:

https://github.com/azerothcore/azerothcore-wotlk/pull/200

please can you guys test it and give your feedback? so it can be merged to master

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Franklampardst picture Franklampardst  路  3Comments

dev-master21 picture dev-master21  路  3Comments

FrancescoBorzi picture FrancescoBorzi  路  3Comments

fragcamp picture fragcamp  路  4Comments

fallen26 picture fallen26  路  3Comments