All the separate dbscripts_on_xxx tables were merged into a single table db_scripts where a additional type field decides the type of script.
I am currently in the middle of a large wiki docs update which will include this new table.
In the meantime, please review the file I'll add to the this post which is a early version of the wiki page.
I'm trying to complile MangosOne under Debian 9 (Stretch).
I have MangosZero compiled and working fine under the same OS, but when I go to complile MangosOne, it gets to 91%, and gives me a massive amount of errors, starting with:
[ 91%] Building CXX object src/game/CMakeFiles/game.dir/WorldHandlers/Map.cpp.o
In file included from /home/mangos/one/src/server/src/framework/GameSystem/Grid.h:30:0,
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h: In instantiation of ‘static SPECIFIC_TYPE* TypeUnorderedMapContainer<OBJECT_TYPES, KEY_TYPE>::find(ContainerUnorderedMap<SPECIFIC_TYPE, KEY_TYPE>&, KEY_TYPE, SPECIFIC_TYPE*) [with SPECIFIC_TYPE = Creature; OBJECT_TYPES = TypeList<Creature, TypeList<Pet, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > >; KEY_TYPE = ObjectGuid]’:
.... there are about 30 or 40 lines that continue in this fashion....
and it finishes with:
/home/mangos/one/src/server/src/framework/GameSystem/TypeContainer.h:210:40: error: ‘class std::tr1::unordered_map<ObjectGuid, DynamicObject*, std::tr1::hash<ObjectGuid>, std::equal_to<ObjectGuid>, std::allocator<std::pair<const ObjectGuid, DynamicObject*> > >’ has no member named ‘cend’; did you mean ‘end’?
src/game/CMakeFiles/game.dir/build.make:3350: recipe for target 'src/game/CMakeFiles/game.dir/WorldHandlers/Map.cpp.o' failed
make: *** [src/game/CMakeFiles/game.dir/WorldHandlers/Map.cpp.o] Error 1
CMakeFiles/Makefile2:842: recipe for target 'src/game/CMakeFiles/game.dir/all' failed
make: *** [src/game/CMakeFiles/game.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
There was an error building MaNGOS!
Does anyone have any input as to what this error might be?
I have no idea what version I am running, i used the getmangos script about 2 weeks ago though, if it helps.
So i created a scrip for halls of origination in cata core
-- Anhuur\'s Brige Raises after first boss kill
DELETE FROM dbscripts_on_creature_death WHERE id=39425;
INSERT INTO dbscripts_on_creature_death VALUES
(39425,1,11,0,0,206506,1000,7,0,0,0,0,0,0,0,0,'Raises anhuur\'s bridge');
however this was created for cmangos and i don not see any dbscripts_on_creature_death where will i find the script that represents similar to this.