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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悰 [Bug Report] Someone elses hard work pays off - Problem with quest #3633

Open
Szymplo opened this issue Dec 16, 2023 · 7 comments
Open
Labels
Expansion: TBC (2.4.3) Issues relating to the TBC Expansion (2.4.3). System: PvE e.g. open world, quests, dungeons, and raids System: Scripting e.g. ScriptDev, DBScripts, EAI, CSL

Comments

@Szymplo
Copy link

Szymplo commented Dec 16, 2023

Bug Details

Cryo-Engineer Sha'heen shows up correctly. The he goes to first device (ether gatherer or something) the first wave of mobs spawns correctly. After defeating them Sha'heen stands and does nothing. You can't complete quest because he seems be unable to take care of first device.

Steps to Reproduce

  1. Make your way to place where quest "Someone elses hard work pays off" starts
  2. See that Sha'heen won't proceed with quest after dealing with 1'st wave of enemies

Expected behavior

Quest should work correctly cause now it looks it's impossible to finish it.

Suggested Workaround

No response

Crash Log

No response

Core SHA1 Commit Hash

162cd3f237022e229da6cc976295a607e0a1cc76

Database SHA1 Commit Hash

9cc4fb63c86a908c0d2ac387fdec0d560bff65b1

Operating System

Debian 11 with MariaDB

Client Version

2.4.3 (The Burning Crusade)

@Szymplo Szymplo added the Info: Needs Replication Issue needs replication before further action. label Dec 16, 2023
@insunaa insunaa added Expansion: TBC (2.4.3) Issues relating to the TBC Expansion (2.4.3). System: PvE e.g. open world, quests, dungeons, and raids System: Scripting e.g. ScriptDev, DBScripts, EAI, CSL labels Jan 2, 2024
@MantisLord
Copy link

MantisLord commented Feb 1, 2024

Confirmed... He gets stuck here:
image
The escort pauses and never resumes for some reason.
We're also getting errors because he uses DoScriptText with broadcast text entries instead of DoBroadcastText:

DoScriptText with source entry 19671 (TypeId=3, guid=10009140) attempts to process text entry 17229, but text entry must be negative.
DoScriptText with source entry 19671 (TypeId=3, guid=10009140) attempts to process text entry 17249, but text entry must be negative.

Maybe it's possible we can delete the entire npc_shaheen C++ script and redo him in the DB.

@MantisLord MantisLord removed the Info: Needs Replication Issue needs replication before further action. label Feb 1, 2024
@Grz3s
Copy link
Member

Grz3s commented Feb 1, 2024

I could do it...but
question is - if we want to do that
I remember that @xfurry wanted to do all escorts in c++ (prob had a reason for it)
Are there any advantages above dbscripting? @killerwife ?

@xfurry
Copy link
Member

xfurry commented Feb 1, 2024

I guess that was an old approach to scripting escorting quests.
If it's possible to do it in DB I would go for it

@killerwife
Copy link

Proximity check for people on quest for failing is not currently available in db.

@MantisLord
Copy link

I think I will keep his C++ script for now and give him creature_spell_list for his combat abilities.

@xfurry
Copy link
Member

xfurry commented Feb 1, 2024

Issue is probably around this line
https://github.com/cmangos/mangos-wotlk/blob/master/src%2Fgame%2FAI%2FScriptDevAI%2Fscripts%2Foutland%2Fauchindoun%2Fmana_tombs%2Fmana_tombsScripts.cpp#L142

Probably the script does not register the summoned adds which die, hence the movement does not restart.

killerwife added a commit to cmangos/mangos-tbc that referenced this issue Feb 1, 2024
@miraco
Copy link

miraco commented Feb 2, 2024

Issue is probably around this line https://github.com/cmangos/mangos-wotlk/blob/master/src%2Fgame%2FAI%2FScriptDevAI%2Fscripts%2Foutland%2Fauchindoun%2Fmana_tombs%2Fmana_tombsScripts.cpp#L142

Probably the script does not register the summoned adds which die, hence the movement does not restart.

That鈥檚 something I noticed when reworking other escort quests, on blizz the escort npcs most of the time don鈥檛 wait till the spawned adds are dead to they move on. It鈥檚 possible that escort npcs just ignore them and keep moving.

MantisLord added a commit to cmangos/tbc-db that referenced this issue Feb 3, 2024
* Vir'aani Arcanist 17150 does not flee at low HP + remove extra auras in creature_addon
* Add spell list for Cyro-Engineer Sha'heen 19671

cmangos/issues#3633
MantisLord added a commit to cmangos/mangos-tbc that referenced this issue Feb 3, 2024
Make him a caster and fix text usage.
We'll give him combat abilities in the DB.

cmangos/issues#3633
killerwife added a commit to cmangos/mangos-wotlk that referenced this issue Mar 24, 2024
killerwife pushed a commit to cmangos/mangos-wotlk that referenced this issue Mar 24, 2024
Make him a caster and fix text usage.
We'll give him combat abilities in the DB.

cmangos/issues#3633
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Expansion: TBC (2.4.3) Issues relating to the TBC Expansion (2.4.3). System: PvE e.g. open world, quests, dungeons, and raids System: Scripting e.g. ScriptDev, DBScripts, EAI, CSL
Projects
None yet
Development

No branches or pull requests

7 participants