mangosR2 / mangos

Production (stable and testing) versions of current mangosR2 v2 server (World of Warcraft: Wrath of the Lich King, 3.3.5a client).
http://mangosr2.2x2forum.com/
GNU General Public License v2.0
175 stars 78 forks source link

The Amphitheater of Anguish Quest #1261

Closed Venom closed 11 years ago

Venom commented 11 years ago

The Amphitheater of Anguish Quest

http://www.wowhead.com/quest=12932

when accepting quest, boss summond but when u kill him quest Not Completed. so unable to take next quest. same problem to all other quests in this chain.

other arena quests working correctly.

rsa commented 11 years ago

DB problem, tru publish on DB forum. Quest requires DB script, but has only StartScript and not has EndScript (or any other requirements).

Venom commented 11 years ago

fix db but still same problem.

commands dbscripts_on_quest_start 10-TEMP_SUMMON_CREATURE [Working !] dbscripts_on_quest_end 7-QUEST_EXPLORED + 8-KILL_CREDIT commands not working.

is it not implemented in core? or someone messed up this one.

rsa commented 11 years ago

yn YTDB your give answer, that need script (EAI/SD2) for this quest chain. write this if intrest. this commands implemented and works good, but command dbscripts_on_quest_end be executed _ONLY_AFTER_SUCCESS_ALLREQUIREMENTS. currently NO any requirement in DB -> quest cannot be completed.

Venom commented 11 years ago

okay. nagrand arena quests working 100% , im going to check those db scripts. and if possble port it to this quest.

Venom commented 11 years ago

i finally fixed this shity quests by myself. with EventAI scripts, working correctly now all the quest chain. modify or change it as you wish

http://www.paste.to/MTg0MDMxNA==

rsa commented 11 years ago

@Venom thx, but this seems very strange. Quest end maked good (and true), but indeed this creatures not uses magic in combat? Not say any yells? Also SD2/ACID forum - more correct place for EAI scripts like this, R2 - only core :)

Venom commented 11 years ago

This quests i fixed exactly like nagrand quests. i dont know why ytdb removed this stuff from eventAi or why it was missing. Nagrand Arena 100% working on ACID/EventAi official scripts.

yes i can see all these creatures already have eventai for spells. i just added them quest complete script. spells and yell commands still working as it should. you ware right there are no EndScript for this quests. even if i make endscripts by myself. they still not working.

now they are working 100%

rsa commented 11 years ago

@KiriX , нет желания проверить правку и пушнуть ее если все ок? заодно и один СД2 скрипт можно прибить...

Venom commented 11 years ago

Ytdb says its a hack. :) and quest script already exist. but cant find any end script + i created an end script for quest but still not able to complete

rsa commented 11 years ago

exists script for only one quest from chain, and script old and bad (requires rewrite to EAI/Gossip script).

Venom commented 11 years ago

yes. i remember. quest script and yelling + quest complete worked ONLY on this npc. http://www.wowhead.com/npc=30025

other npc end scripts missing.

koksneo commented 11 years ago

i'm using this https://github.com/przemratajczak/scriptdev2/blob/master/DB_Updates/mangos/quests/s09_Q_ZulDrakArena.sql for a long time and it works. It's not perfect but it's better than nothing

rsa commented 11 years ago

thx for pointing. this must be more good...

Venom commented 11 years ago

not sure about creature_template updates. but EAI is okey.

koksneo commented 11 years ago

When i was writing this, most of npcs didn't have any stats in db so i had to set them. Right now required is only aiName and immune_masks, rest is provided by db provider.

Undergarun commented 11 years ago

Already implemented, right? Can be closed?

Undergarun commented 11 years ago

I was wrong, i'm not sure if this implemented, i thing @rsa implements Glizzy hill quest "The Conquest Pit" (Horde) as this in Zul'Drak file. See [sd2_mr0541]

rsa commented 11 years ago

this also implemented in same file :)

Venom commented 11 years ago

missing yell script for http://www.wowhead.com/npc=30024 , 30025

INSERT into creature_ai_scripts VALUES (3002403,30024,4,0,100,0,0,0,0,0,1,-1052,0,0,0,0,0,0,0,0,0,0,'Gargoral the Water Lord - Yell on Aggro');

INSERT into creature_ai_scripts VALUES (3002503,30025,4,0,100,0,0,0,0,0,1,-1053,0,0,0,0,0,0,0,0,0,0,'Erathius, King of Dirt - Yell on Aggro');