mangosArchives / Mangos-One-scripts-old

* Current Repo: mangosone/scripts * Replacement for the Script Library that comes with MaNGOS, written in C++ and is compatible with both Windows and Linux. SQL supports MySQL and PGSql.
http://www.getmangos.co.uk/
GNU General Public License v2.0
40 stars 19 forks source link

Thirst Unending #5

Closed bugeyedcreepy closed 11 years ago

bugeyedcreepy commented 12 years ago

Possibly associated with this bug https://github.com/mangos-one/server/issues/14 but otherwise I couldn't find an issue raised for this. The quest requires using the Bloodelf racial talent "Mana Tap" on 6 creatures that use Mana. I've Mana Tapped several mana using mobs with no success at all. Bugged?

xfurry commented 12 years ago

Did you instal the latest Acid release? The quest is scripted with eventAI.

bugeyedcreepy commented 12 years ago

did I install the latest Acid release? I'm testing on the official Mangos-One test Server where us testers have been requested to raise bugs here, as in logon.getmangos.com, I'm not an admin. :D

NoReturn commented 11 years ago

Confirming it's bugged since a long time, afaik it's easy DB fix, maybe missing ReqSpellCast on quest_template.

xfurry commented 11 years ago

This is interesting... I know that this is fixed in the latest Acid. The ReqSpellCast is a hack. The quest has kill credit which should be given on spell hit. This is already done in eventAI, but I don't know why isn't this working for you. Maybe you should check the eventAI script and see what's wrong with it - maybe wrong spell id, or something similar.

NoReturn commented 11 years ago

Well quest_template has no ReqSpellCast but ACID has ACTION_T_QUEST_CASTCREATUREGO (16), shouldn't be ACTION_T_KILLED_MONSTER (33) with the trigger npc as param?

Salja commented 11 years ago

on test server is the last acid version

bugeyedcreepy commented 11 years ago

the quest only requires the use of the spell, killing the creature is inconsequential. Every non-blizz server had the same quest not working, even my current WotLK server is bugged like this. :(

NoReturn commented 11 years ago

I think OnSpellHit Event Type (8) doesn't get triggered for some reason because i changed the action type to 33 (kill) and still didn't work, altho i got quest credit when i manually summoned the credit npc and killed it.

xfurry commented 11 years ago

Sorry for the long response time. I fixed this quest some time ago but for some reason it wasn't included in the latest ACID. Try to use this one and let me know if it works:

-- ### Quest 8346 ###
-- Rewrite all scripts for npcs
DELETE FROM creature_ai_scripts WHERE creature_id=15274;
INSERT INTO creature_ai_scripts VALUES 
('1527401','15274','8','0','100','0','28734','-1','0','0','33','15468','6','0','0','0','0','0','0','0','0','0','Mana Wyrm - Killed Credit for Sunstrider Mana Tap Counter');
DELETE FROM creature_ai_scripts WHERE creature_id=15294;
INSERT INTO creature_ai_scripts VALUES 
('1529401','15294','8','0','100','0','28734','-1','0','0','33','15468','6','0','0','0','0','0','0','0','0','0','Mana Wyrm - Killed Credit for Sunstrider Mana Tap Counter'),
('1529402','15294','2','0','100','1','50','0','15300','22900','11','31325','0','0','0','0','0','0','0','0','0','0','Feral Tender - Cast Renew at 50% HP');
DELETE FROM creature_ai_scripts WHERE creature_id=15273;
INSERT INTO creature_ai_scripts VALUES 
('1527301','15273','8','0','100','0','28734','-1','0','0','33','15468','6','0','0','0','0','0','0','0','0','0','Mana Wyrm - Killed Credit for Sunstrider Mana Tap Counter'),
('1527302','15273','0','0','100','1','10100','16500','12700','24800','11','37361','1','0','0','0','0','0','0','0','0','0','Arcane Wraith - Cast Arcane Bolt');
DELETE FROM creature_ai_scripts WHERE creature_id=15298;
INSERT INTO creature_ai_scripts VALUES 
('1529801','15298','8','0','100','0','28734','-1','0','0','33','15468','6','0','0','0','0','0','0','0','0','0','Mana Wyrm - Killed Credit for Sunstrider Mana Tap Counter'),
('1529802','15298','0','0','100','1','9000','18800','21100','32200','11','25603','1','0','0','0','0','0','0','0','0','0','Tainted Arcane Wraith - Cast Slow');
xfurry commented 11 years ago

@bugeyedcreepy : Any updates on this? Can I close the bug report?

bugeyedcreepy commented 11 years ago

uh well, I'm still just a user on the Mangos One Test Server so I can't fix it myself but it's still not working there - has any Admins updated this server? because I just tested it again and it's still broke.

NoReturn commented 11 years ago

Tested on latest One core rev and db, works perfectly. Thank you.

xfurry commented 11 years ago

Thanks. The fix will be added in the latest acid. Closed.