Jump to content
  • Announcements

    • Xmat

      Pravidlo pro postování v TTT

      Do sekce Tipy, triky, tutoriály nepatří žádné dotazy.   Postujte sem vaše návody, tipy a různé další věci jež uznáte za vhodné sdělit zdejšímu osazenstvu, ale veškeré dotazy směřujte do sekce Všeobecná diskuse.
    • Replik

      Seznam návodů a důležitých témat v této sekci

      Pro lepší přehlednost jsem vytvořil tento seznam, který vás, méně zkušené, lépe provede touto sekcí. Věřím, že zde najdete, co hledáte. Vypsané jsou návody, které jsou oficiálně uznané jako návody. Běžné diskuze, které neposkytují postupy a rady zvěřejněny nejsou.   Instalace vlastního MaNGOS Serveru Díky těmto návodům budete (měli by jste být) schopni vytvořit a následně spustit váš vlastní server. Nastavení je pro verze s i bez datadisku.   Instalace MaNGOS Serveru (bez datadisku TBC) - Autor Benny Instalace MaNGOS Serveru (s datadiskem TBC) - Autor Malfik Instalace MaNGOS Serveru v prostředí Linux - Autor charlie Instalace MaNGOS Serveru v prostředí Linux - Autor kupkoid   Chyby a jejich řešení při přihlašování k serveru - Autor Cybe   Zálohování uživatelských dat   Dávkový soubor (BAT soubor) pro vytvoření SQL záloh - Autor Replik   Kompilování - tvoření vlastních release (revizí)   Tvorba kompilací pro Win32 (MangoScript) - Autor bLuma   Ostatní - těžko zařaditelné, ale neznamená to, že nejsou dobré   VIP Systém - Autor charlie Tvorba Webových stránek pro MaNGOS - Autor zahuba Tvorba teleportačních NPC (MangoScript) - Autor Replik Registrační web (původně předělaná SPORA) Funkční pro Antrix i MaNGOS - Autor Replik Nastavení a spuštění Minimanager pro MaNGOS - Autor BlackMartin Nastavení MaNGOS Website - Autor Artorius   Samozřejmě jsou zde i jiné návody, ale tyto jsou nejvíce používané, proto věřím, že vám budou nápomocné. Tuto sekci budeme upravovat podle potřeby. Pokud by jste něco nenašli nebo si nevěděli rady, hledejte na fóru a teprve potom založte vlastní topik. Pokud nějaký autor vytvoří kvalitní návod a chtěl by ho zveřejnit i v tomto seznamu, doporučuji, aby mi napsal zprávu skrze PM.   Díky a přeji hezký den na WoWResource   Replik
    • Aristo

      Příspěvky tam, kde nemají co dělat

      Dodržujte zákaz přispívání do topiků s repaky pokud si to zakladatelé nepřejí!! Opakované psaní příspěvků bude trestáno warnem.
    • Aristo

      Používání spoilerů

      Poslední dobou má většina uživatelů fora zvláštní nutkání postovat extrémně dlouhé texty nebo kódy, které zabírají v nejedenom případu i 80% obsahu celé stránky a hodně tak zvedají nepřehlednost v topiku. Chtěl bych všechny uživatele požádat, aby při postování citací, jakýchkoliv kódů, errorů, atp... delších než 30 řádků používali funkci spoileru.   Funkci vyvoláte příkazem [spoiler] text [/spoiler]   Ukázka:  
Sign in to follow this  
Smrtokvitek

[C++] Apokalypsa WoW Server - Custom Profession

Recommended Posts

Je hezké vidět, že se stále někdo snaží aby toto forum neulehlo v zapomnění i přes to jak byl odsud vyháněn. Máš u mě velké + za vytrvalost a za kvalitu tvých příspěvků.

  • Upvote 5
  • Downvote 1

Share this post


Link to post
Share on other sites

Každý sa len klania :mellow: to je až take dobre?:D

 

Osobně nevím jestli je to dobré, ani jsem to nečetl :D Ale tvé předchozí práce byly výborné a spolupracuje se mi s tebou taktéž velmi dobře :) Jen tak dál, jsem rád že si tu zůstal.

Share this post


Link to post
Share on other sites

Osobně nevím jestli je to dobré, ani jsem to nečetl :D Ale tvé předchozí práce byly výborné a spolupracuje se mi s tebou taktéž velmi dobře :) Jen tak dál, jsem rád že si tu zůstal.

 

AJ ja som rád , že som tu ostal :) a budem sa snažiť pre WS robiť čo najviac noviniek, a pomáhať :)

Share this post


Link to post
Share on other sites

Mi nepreháňame.. Takýto naozaj si.. Ako vždy.. Nemusím komentovať.. :D SUPER +1

Share this post


Link to post
Share on other sites

Ahojte, tak síce tu už nechodím, ale ajtak...

 

Spravil som najnovšiu verziu Custom Profession Searching

 

• Upravené na TrinityCore2 rev.10476+

• Opravené errory pri kompilácii , menšie úpravy (100% Funkčné Otestované)

• Pridané Spawny Chestov (Bedničiek - Sú naspawnované celkom kvalitne nie všetko pri sebe, abo len tak od veci, niektoré sú poskrývané a podobne)

• Pridaný Teleporter pre uľahčenie dostavenia sa na územie , kde sa nachádzajú dané Chesty (Bedničky)

 

CustomProfession.patch [1339 Riadkov]

 

 

/*
* Copyright (C) 2010 Apokalypsa <http://www.apokalypsa.sk/>
*
* World of Warcraft: WotLK - Apokalypsa Custom Profession
* This is official first Apokalypsa Custom Profession.
* You can edit but you can not delete this copyright.
* TrinityCore2 rev.10476+
* 
* By Smrtokvitek - Head Admin of Apokalypsa Server
*/


••••••••••••••••
••• Database •••
••••••••••••••••

/* Strings */
INSERT INTO `trinity_string` VALUES ('820', 'You don't have the required count of treasures! The required count is 75.', null, null, null, null, null, null, null, null);
INSERT INTO `trinity_string` VALUES ('821', 'Requires Treasure!', null, null, null, null, null, null, null, null);
INSERT INTO `trinity_string` VALUES ('822', 'Requires Apprentice Searching!', null, null, null, null, null, null, null, null);
INSERT INTO `trinity_string` VALUES ('823', 'Requires Journeyman Searching!', null, null, null, null, null, null, null, null);
INSERT INTO `trinity_string` VALUES ('824', 'Requires Expert Searching!', null, null, null, null, null, null, null, null);
INSERT INTO `trinity_string` VALUES ('825', 'Requires Artisan Searching!', null, null, null, null, null, null, null, null);
INSERT INTO `trinity_string` VALUES ('826', 'Requires Master Searching!', null, null, null, null, null, null, null, null);
INSERT INTO `trinity_string` VALUES ('827', 'Requires Grand Master Searching!', null, null, null, null, null, null, null, null);
INSERT INTO `trinity_string` VALUES ('828', 'Combat!', null, null, null, null, null, null, null, null);

/* Creatures */
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES 
(999900, 0, 0, 0, 0, 0, 7061, 0, 7061, 0, 'General Skills', 'Searching', '', 0, 80, 80, 0, 35, 35, 129, 1, 1.14286, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, '', 1);
(999901, 0, 0, 0, 0, 0, 7061, 0, 7061, 0, 'Other Skills', 'Searching', '', 0, 80, 80, 0, 35, 35, 1, 1, 1.14286, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, '', 1);
(999902, 0, 0, 0, 0, 0, 7061, 0, 7061, 0, 'Teleporter', 'Searching', '', 0, 80, 80, 0, 35, 35, 1, 1, 1.14286, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 3, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, '', 1);

INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) VALUES 
(999900, 0, 999912, 0, 0, 0);

/* Items */
INSERT INTO `item_template` (`entry`, `class`, `subclass`, `unk0`, `name`, `displayid`, `Quality`, `Flags`, `FlagsExtra`, `BuyCount`, `BuyPrice`, `SellPrice`, `InventoryType`, `AllowableClass`, `AllowableRace`, `ItemLevel`, `RequiredLevel`, `RequiredSkill`, `RequiredSkillRank`, `requiredspell`, `requiredhonorrank`, `RequiredCityRank`, `RequiredReputationFaction`, `RequiredReputationRank`, `maxcount`, `stackable`, `ContainerSlots`, `StatsCount`, `stat_type1`, `stat_value1`, `stat_type2`, `stat_value2`, `stat_type3`, `stat_value3`, `stat_type4`, `stat_value4`, `stat_type5`, `stat_value5`, `stat_type6`, `stat_value6`, `stat_type7`, `stat_value7`, `stat_type8`, `stat_value8`, `stat_type9`, `stat_value9`, `stat_type10`, `stat_value10`, `ScalingStatDistribution`, `ScalingStatValue`, `dmg_min1`, `dmg_max1`, `dmg_type1`, `dmg_min2`, `dmg_max2`, `dmg_type2`, `armor`, `holy_res`, `fire_res`, `nature_res`, `frost_res`, `shadow_res`, `arcane_res`, `delay`, `ammo_type`, `RangedModRange`, `spellid_1`, `spelltrigger_1`, `spellcharges_1`, `spellppmRate_1`, `spellcooldown_1`, `spellcategory_1`, `spellcategorycooldown_1`, `spellid_2`, `spelltrigger_2`, `spellcharges_2`, `spellppmRate_2`, `spellcooldown_2`, `spellcategory_2`, `spellcategorycooldown_2`, `spellid_3`, `spelltrigger_3`, `spellcharges_3`, `spellppmRate_3`, `spellcooldown_3`, `spellcategory_3`, `spellcategorycooldown_3`, `spellid_4`, `spelltrigger_4`, `spellcharges_4`, `spellppmRate_4`, `spellcooldown_4`, `spellcategory_4`, `spellcategorycooldown_4`, `spellid_5`, `spelltrigger_5`, `spellcharges_5`, `spellppmRate_5`, `spellcooldown_5`, `spellcategory_5`, `spellcategorycooldown_5`, `bonding`, `description`, `PageText`, `LanguageID`, `PageMaterial`, `startquest`, `lockid`, `Material`, `sheath`, `RandomProperty`, `RandomSuffix`, `block`, `itemset`, `MaxDurability`, `area`, `Map`, `BagFamily`, `TotemCategory`, `socketColor_1`, `socketContent_1`, `socketColor_2`, `socketContent_2`, `socketColor_3`, `socketContent_3`, `socketBonus`, `GemProperties`, `RequiredDisenchantSkill`, `ArmorDamageModifier`, `Duration`, `ItemLimitCategory`, `HolidayId`, `ScriptName`, `DisenchantID`, `FoodType`, `minMoneyLoot`, `maxMoneyLoot`, `WDBVerified`) VALUES 
(999900, 15, 0, -1, 'Small Treasure', 9151, 2, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 'Profession Searching 0-75', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 1);
(999901, 15, 0, -1, 'Medium Treasure', 9151, 2, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 'Profession Searching 75-150', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 1);
(999902, 15, 0, -1, 'Large Treasure', 9151, 3, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 'Profession Searching 150-225', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 1);
(999903, 15, 0, -1, 'Southsea Treasure', 9151, 3, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 'Profession Searching 225-300', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 1);
(999904, 15, 0, -1, 'Family Treasure', 9151, 4, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 'Profession Searching 300-375', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 1);
(999905, 15, 0, -1, 'Extreme Treasure', 9151, 4, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 'Profession Searching 375-450', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 1);

(999906, 15, 0, -1, 'Apprentice Searching', 1317, 4, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, '[0-75]', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 1);
(999907, 15, 0, -1, 'Journeyman Searching', 1317, 4, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, '[75-150]', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 1);
(999908, 15, 0, -1, 'Expert Searching', 1317, 4, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, '[150-225]', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 1);
(999909, 15, 0, -1, 'Artisan Searching', 1317, 4, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, '[225-300]', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 1);
(999910, 15, 0, -1, 'Master Searching', 1317, 4, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, '[300-375]', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 1);
(999911, 15, 0, -1, 'Grand Master Searching', 1317, 4, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, '[375-450]', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 1);

(999912, 15, 0, -1, 'Treasure', 9151, 0, 0, 0, 1, 0, 0, 0, -1, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1000, 0, 0, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 0, '', 0, -1, 0, -1, 0, 'Profession Searching Start', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 1);

(999913, 15, 0, -1, 'Searching Regalia', 47130, 4, 0, 0, 1, 0, 0, 20, -1, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8822, 0, 0, 0, 120000, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 1, 'Searching Profession', 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 12340);
(999914, 15, 0, -1, 'Searching Hat', 47255, 4, 0, 0, 1, 0, 0, 1, -1, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 1, 'Searching Profession', 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 12340);
(999915, 15, 0, -1, 'Searching Slippers', 47221, 4, 0, 0, 1, 0, 0, 8, -1, -1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 62375, 0, 0, 0, 1200000, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 0, 0, 0, 0, -1, 0, -1, 1, 'Searching Profession', 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, '', 0, 0, 0, 0, 12340);

/* Objects */
INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `faction`, `flags`, `size`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `data0`, `data1`, `data2`, `data3`, `data4`, `data5`, `data6`, `data7`, `data8`, `data9`, `data10`, `data11`, `data12`, `data13`, `data14`, `data15`, `data16`, `data17`, `data18`, `data19`, `data20`, `data21`, `data22`, `data23`, `ScriptName`, `WDBVerified`) VALUES 
(999900, 9, 2491, 'Locations of Treasures', '', '', '', 35, 0, 2, 0, 0, 0, 0, 0, 0, 999900, 7, 1, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '', 1);

(999901, 1, 1765, 'Small Searching Chest', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, '', 1);
(999902, 1, 1765, 'Medium Searching Chest', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, '', 1);
(999903, 1, 259, 'Large Searching Chest', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, '', 1);
(999904, 1, 259, 'Southsea Searching Chest', '', '', '', 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, '', 1);
(999905, 1, 10, 'Family Searching Chest', '', '', '', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, '', 1);
(999906, 1, 10, 'Extreme Searching Chest', '', '', '', 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, '', 1);

/* Texts */
INSERT INTO `page_text` (`entry`, `text`, `next_page`) VALUES 
(999900, 'Locations of Treasures!$B$BSmall Treasure ---> Borean Tundra [60]$BMedium Treasure ---> Dragonblight [55]$BLarge Treasure ---> Grizzly Hills [50]$BSouthsea Treasure ---> Sholazar Basin [45]$BFamily Treasure ---> Wintergrasp [40]$BExtreme Treasure ---> Icecrown [35]', 0);

/* Objects Spawns */
--- Small Searching Chest ---
INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES
(9139280, 999901, 571, 1, 1, 2932.18, 5764.54, 118.343, 1.31922, 0, 0, 0.61281, 0.79023, 300, 0, 1);
(9139414, 999901, 571, 1, 2, 2915.7, 6738.59, 14.1739, 3.72086, 0, 0, 0.958348, -0.285602, 300, 0, 1);
(9139411, 999901, 571, 1, 1, 3066.01, 6496.53, 82.8789, 2.08566, 0, 0, 0.863834, 0.503777, 300, 0, 1);
(9139420, 999901, 571, 1, 1, 2389.02, 6350.8, 43.719, 3.4067, 0, 0, 0.991227, -0.132168, 300, 0, 1);
(9139421, 999901, 571, 1, 1, 2295.97, 6214.71, 44.1165, 4.27771, 0, 0, 0.842946, -0.537998, 300, 0, 1);
(9139416, 999901, 571, 1, 1, 2639.29, 6774.81, 6.36224, 2.67864, 0, 0, 0.973328, 0.229416, 300, 0, 1);
(9139413, 999901, 571, 1, 1, 2936.6, 6653.41, 60.6426, 3.14045, 0, 0, 1, 0.000570611, 300, 0, 1);
(9139417, 999901, 571, 1, 2, 2497.75, 6718.47, 5.88549, 3.40749, 0, 0, 0.991176, -0.132556, 300, 0, 1);
(9139193, 999901, 571, 1, 1, 2316.08, 6075.35, 84.5515, 4.8166, 0, 0, 0.66932, -0.742975, 300, 0, 1);
(9139281, 999901, 571, 1, 1, 2888.7, 5581.76, 54.2995, 4.20713, 0, 0, 0.861404, -0.507921, 300, 0, 1);
(9139296, 999901, 571, 1, 1, 3982.87, 4636.14, 1.8713, 5.03336, 0, 0, 0.585025, -0.811015, 300, 0, 1);
(9139405, 999901, 571, 1, 1, 3711.21, 5733.8, 62.731, 4.19167, 0, 0, 0.865305, -0.501245, 300, 0, 1);
(9139426, 999901, 571, 1, 1, 3315.03, 5649.46, 53.199, 5.59011, 0, 0, 0.339641, -0.940555, 300, 0, 1);
(9139423, 999901, 571, 1, 1, 2720.94, 5943.93, 65.5126, 5.03405, 0, 0, 0.584746, -0.811216, 300, 0, 1);
(9139425, 999901, 571, 1, 1, 3202.22, 5765.82, 51.7344, 2.05896, 0, 0, 0.857032, 0.515263, 300, 0, 1);
(9139419, 999901, 571, 1, 1, 2459.47, 6350.48, 40.1945, 5.05211, 0, 0, 0.577396, -0.816464, 300, 0, 1);
(9139287, 999901, 571, 1, 1, 3145.98, 5147.41, 42.5354, 0.386955, 0, 0, 0.192272, 0.981342, 300, 0, 1);
(9139194, 999901, 571, 1, 1, 2416.51, 6132.88, 82.8652, 3.70055, 0, 0, 0.961199, -0.275856, 300, 0, 1);
(9139289, 999901, 571, 1, 1, 3309.81, 5189.71, 13.3732, 2.33867, 0, 0, 0.92049, 0.390765, 300, 0, 1);
(9139307, 999901, 571, 1, 1, 3945.79, 5431.39, 24.3989, 0.135083, 0, 0, 0.0674901, 0.99772, 300, 0, 1);
(9139418, 999901, 571, 1, 1, 2428.47, 6480.19, 43.4783, 4.85105, 0, 0, 0.656422, -0.754394, 300, 0, 1);
(9139306, 999901, 571, 1, 1, 4007.78, 5305.11, 14.593, 4.3888, 0, 0, 0.811779, -0.583965, 300, 0, 1);
(9139303, 999901, 571, 1, 1, 4232.69, 5283.94, 40.8059, 2.86724, 0, 0, 0.990606, 0.136748, 300, 0, 1);
(9139290, 999901, 571, 1, 1, 3523.08, 5126.79, 14.1888, 5.37266, 0, 0, 0.439699, -0.898145, 300, 0, 1);
(9139291, 999901, 571, 1, 1, 3660.54, 5030.85, 14.3977, 5.97349, 0, 0, 0.15423, -0.988035, 300, 0, 1);
(9139292, 999901, 571, 1, 1, 3758.13, 4962.76, -1.24138, 5.59021, 0, 0, 0.339594, -0.940572, 300, 0, 1);
(9139302, 999901, 571, 1, 1, 4345.87, 5213.57, 35.778, 5.02787, 0, 0, 0.587252, -0.809404, 300, 0, 1);
(9139195, 999901, 571, 1, 1, 2578.17, 6052.23, 87.9576, 1.43311, 0, 0, 0.65679, 0.754073, 300, 0, 1);
(9139278, 999901, 571, 1, 1, 2680.71, 5930.08, 90.1385, 3.81915, 0, 0, 0.943162, -0.332334, 300, 0, 1);
(9139282, 999901, 571, 1, 1, 2747.46, 5400.34, 60.3959, 4.87158, 0, 0, 0.648645, -0.761091, 300, 0, 1);
(9139279, 999901, 571, 1, 1, 2867.39, 5842.82, 102.001, 0.445861, 0, 0, 0.221088, 0.975254, 300, 0, 1);
(9139294, 999901, 571, 1, 1, 3937.27, 4882.11, -12.9498, 5.09777, 0, 0, 0.558609, -0.829431, 300, 0, 1);
(9139295, 999901, 571, 1, 1, 4002.84, 4814.94, 25.148, 6.01904, 0, 0, 0.131688, -0.991291, 300, 0, 1);
(9139415, 999901, 571, 1, 1, 2754.21, 6769.23, 5.46146, 3.62112, 0, 0, 0.971395, -0.237471, 300, 0, 1);
(9139297, 999901, 571, 1, 1, 4118.44, 4720.08, 13.4365, 0.604505, 0, 0, 0.297671, 0.954668, 300, 0, 1);
(9139293, 999901, 571, 1, 1, 3895.72, 5000.25, -12.8399, 1.28388, 0, 0, 0.598749, 0.800937, 300, 0, 1);
(9139189, 999901, 571, 1, 1, 2249.94, 5690.58, 48.2565, 3.19318, 0, 0, 0.999667, -0.0257931, 300, 0, 1);
(9139288, 999901, 571, 1, 1, 3207.63, 5256.02, 48.5605, 1.32943, 0, 0, 0.616836, 0.787092, 300, 0, 1);
(9139192, 999901, 571, 1, 1, 2188.22, 6125, 55.3099, 0.178039, 0, 0, 0.0889021, 0.99604, 300, 0, 1);
(9139286, 999901, 571, 1, 1, 3033.75, 5107.58, 35.7959, 4.74042, 0, 0, 0.697129, -0.716946, 300, 0, 1);
(9139408, 999901, 571, 1, 1, 3438.22, 6178.2, 78.0189, 3.208, 0, 0, 0.999449, -0.0331956, 300, 0, 1);
(9139406, 999901, 571, 1, 1, 3694.82, 5855.53, 67.7261, 2.60752, 0, 0, 0.964557, 0.263875, 300, 0, 1);
(9139285, 999901, 571, 1, 1, 2980.91, 5165.11, 42.3967, 1.20377, 0, 0, 0.566197, 0.82427, 300, 0, 1);
(9139191, 999901, 571, 1, 1, 2135.73, 6003.2, 54.5723, 3.11622, 0, 0, 0.999919, 0.0126884, 300, 0, 1);
(9139190, 999901, 571, 1, 1, 2153.84, 5886.92, 58.882, 0.842487, 0, 0, 0.408895, 0.912581, 300, 0, 1);
(9139403, 999901, 571, 1, 1, 3752.41, 5520.34, 48.3638, 0.0643982, 0, 0, 0.0321935, 0.999482, 300, 0, 1);
(9139299, 999901, 571, 1, 1, 4357.63, 4678.77, 28.188, 5.51481, 0, 0, 0.374805, -0.927104, 300, 0, 1);
(9139300, 999901, 571, 1, 1, 4407.35, 4860.9, 24.3219, 0.915522, 0, 0, 0.441941, 0.897044, 300, 0, 1);
(9139409, 999901, 571, 1, 1, 3247.52, 6246.04, 63.7779, 4.54631, 0, 0, 0.763319, -0.646022, 300, 0, 1);
(9139283, 999901, 571, 1, 1, 2806.09, 5151.64, 73.0059, 4.537, 0, 0, 0.76632, -0.642459, 300, 0, 1);
(9139304, 999901, 571, 1, 1, 4232.69, 5283.94, 40.8059, 2.86724, 0, 0, 0.990606, 0.136748, 300, 0, 1);
(9139305, 999901, 571, 1, 1, 4125.69, 5304.18, 29.5308, 4.47598, 0, 0, 0.785561, -0.618784, 300, 0, 1);
(9139407, 999901, 571, 1, 1, 3393.05, 6161.13, 79.83, 3.50644, 0, 0, 0.983406, -0.181416, 300, 0, 1);
(9139404, 999901, 571, 1, 1, 3791.92, 5543.29, 43.1993, 0.161002, 0, 0, 0.0804142, 0.996762, 300, 0, 1);
(9139301, 999901, 571, 1, 1, 4417.39, 5076.85, 32.0744, 1.24225, 0, 0, 0.58195, 0.813225, 300, 0, 1);
(9139308, 999901, 571, 1, 1, 3928.64, 5448.62, 22.8795, 2.46222, 0, 0, 0.942859, 0.333192, 300, 0, 1);
(9139769, 999901, 571, 1, 1, 3268.52, 5274.21, 40.0578, 5.47555, 0, 0, 0.392933, -0.919567, 300, 0, 1);
(9139410, 999901, 571, 1, 1, 3115.57, 6289.7, 94.9319, 2.5946, 0, 0, 0.962832, 0.2701, 300, 0, 1);
(9139402, 999901, 571, 1, 1, 3875.28, 5457.18, 33.9262, 5.46872, 0, 0, 0.396068, -0.918221, 300, 0, 1);
(9139284, 999901, 571, 1, 1, 2806.09, 5151.64, 73.0059, 4.537, 0, 0, 0.76632, -0.642459, 300, 0, 1);

--- Medium Searching Chest ---
INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES
(9139529, 999902, 571, 1, 1, 2833.97, 1316.25, 142.955, 2.33401, 0, 0, 0.919578, 0.392907, 300, 0, 1);
(9139527, 999902, 571, 1, 1, 2936.16, 1180.32, 139.303, 2.29474, 0, 0, 0.911687, 0.410886, 300, 0, 1);
(9139526, 999902, 571, 1, 1, 3056.11, 1096.52, 118.847, 3.02438, 0, 0, 0.998283, 0.0585745, 300, 0, 1);
(9139525, 999902, 571, 1, 1, 3221.91, 936.612, 123.086, 1.7701, 0, 0, 0.773945, 0.633253, 300, 0, 1);
(9139524, 999902, 571, 1, 1, 3356.38, 926.398, 142.59, 4.07367, 0, 0, 0.893355, -0.449351, 300, 0, 1);
(9139770, 999902, 571, 1, 1, 4097.99, 266.848, 34.9095, 0.889664, 0, 0, 0.430306, 0.902683, 300, 0, 1);
(9139653, 999902, 571, 1, 1, 4925.84, 381.543, 117.996, 5.77442, 0, 0, 0.251648, -0.967819, 300, 0, 1);
(9139655, 999902, 571, 1, 1, 5133.2, 311.111, 182.753, 5.94642, 0, 0, 0.167587, -0.985857, 300, 0, 1);
(9139771, 999902, 571, 1, 1, 4188.66, 138.291, 40.8946, 5.32481, 0, 0, 0.46106, -0.887369, 300, 0, 1);
(9139654, 999902, 571, 1, 1, 5026.91, 273.545, 160.178, 5.22228, 0, 0, 0.505922, -0.862579, 300, 0, 1);
(9139531, 999902, 571, 1, 1, 2766.12, 1725.25, 157.699, 0.870814, 0, 0, 0.421779, 0.906699, 300, 0, 1);
(9139664, 999902, 571, 1, 1, 3752.67, 23.8664, 85.1836, 2.42234, 0, 0, 0.936028, 0.351924, 300, 0, 1);
(9139539, 999902, 571, 1, 1, 4036.06, 1661.24, 121.2, 2.78876, 0, 0, 0.984479, 0.175505, 300, 0, 1);
(9139538, 999902, 571, 1, 1, 3778.05, 1984.26, 91.1598, 0.67525, 0, 0, 0.331247, 0.943544, 300, 0, 1);
(9139650, 999902, 571, 1, 1, 4746.39, 753.912, 130.223, 4.81466, 0, 0, 0.670038, -0.742326, 300, 0, 1);
(9139642, 999902, 571, 1, 1, 4177.58, 876.567, 73.7511, 2.5767, 0, 0, 0.960377, 0.278704, 300, 0, 1);
(9139635, 999902, 571, 1, 1, 3986.36, 1646.14, 108.527, 3.01102, 0, 0, 0.99787, 0.0652382, 300, 0, 1);
(9139537, 999902, 571, 1, 1, 3664.91, 1952.46, 79.6936, 1.10565, 0, 0, 0.525093, 0.851045, 300, 0, 1);
(9139536, 999902, 571, 1, 1, 3610.16, 1764.01, 112.464, 2.54057, 0, 0, 0.955185, 0.296008, 300, 0, 1);
(9139640, 999902, 571, 1, 1, 3976.46, 787.874, 100.749, 1.06874, 0, 0, 0.509299, 0.86059, 300, 0, 1);
(9139639, 999902, 571, 1, 1, 3758.44, 934.494, 70.4817, 2.30259, 0, 0, 0.913293, 0.407303, 300, 0, 1);
(9139648, 999902, 571, 1, 1, 4734.29, 880.321, 140.919, 5.58907, 0, 0, 0.340134, -0.940377, 300, 0, 1);
(9139535, 999902, 571, 1, 1, 3514.05, 1702.67, 75.4373, 1.78659, 0, 0, 0.779141, 0.626849, 300, 0, 1);
(9139530, 999902, 571, 1, 1, 2749.13, 1518.43, 150.34, 3.89224, 0, 0, 0.930389, -0.366574, 300, 0, 1);
(9139638, 999902, 571, 1, 1, 3882.33, 1031.31, 147.397, 3.69982, 0, 0, 0.9613, -0.275503, 300, 0, 1);
(9139646, 999902, 571, 1, 1, 4479.61, 1263.49, 140.011, 0.753006, 0, 0, 0.367671, 0.929956, 300, 0, 1);
(9139534, 999902, 571, 1, 1, 3332.31, 1756.77, 132.955, 5.05699, 0, 0, 0.575406, -0.817868, 300, 0, 1);
(9139641, 999902, 571, 1, 1, 4050.68, 805.281, 87.2024, 1.11508, 0, 0, 0.529099, 0.84856, 300, 0, 1);
(9139651, 999902, 571, 1, 1, 4811.69, 520.629, 120.43, 6.0069, 0, 0, 0.137705, -0.990473, 300, 0, 1);
(9139533, 999902, 571, 1, 1, 3241.55, 1892.04, 136.195, 5.48895, 0, 0, 0.38676, -0.92218, 300, 0, 1);
(9139647, 999902, 571, 1, 1, 4534.39, 1242.69, 139.606, 0.534243, 0, 0, 0.263956, 0.964535, 300, 0, 1);
(9139643, 999902, 571, 1, 1, 4317.13, 984.037, 84.3805, 0.181238, 0, 0, 0.0904949, 0.995897, 300, 0, 1);
(9139645, 999902, 571, 1, 1, 4506.27, 984.304, 77.3749, 6.04031, 0, 0, 0.121141, -0.992635, 300, 0, 1);
(9139637, 999902, 571, 1, 1, 3889.88, 1263.12, 140.31, 4.45773, 0, 0, 0.791176, -0.611589, 300, 0, 1);
(9139644, 999902, 571, 1, 1, 4372.24, 997.5, 95.4546, 5.99711, 0, 0, 0.14255, -0.989788, 300, 0, 1);
(9139636, 999902, 571, 1, 1, 3951.94, 1460.48, 128.799, 2.37328, 0, 0, 0.927115, 0.374777, 300, 0, 1);
(9139532, 999902, 571, 1, 1, 3049.81, 1945.2, 128.717, 5.52116, 0, 0, 0.371862, -0.928288, 300, 0, 1);
(9139649, 999902, 571, 1, 1, 4734.29, 880.321, 140.919, 5.58907, 0, 0, 0.340134, -0.940377, 300, 0, 1);
(9139665, 999902, 571, 1, 1, 3471.97, -40.3241, 90.3363, 3.23444, 0, 0, 0.998923, -0.0464082, 300, 0, 1);
(9139657, 999902, 571, 1, 1, 4543.88, -330.025, 112.448, 3.42765, 0, 0, 0.989789, -0.142542, 300, 0, 1);
(9139673, 999902, 571, 1, 1, 3190.82, -303.016, 142.355, 0.0598649, 0, 0, 0.029928, 0.999552, 300, 0, 1);
(9139668, 999902, 571, 1, 1, 2975.19, 119.67, 78.9556, 3.46299, 0, 0, 0.987116, -0.160009, 300, 0, 1);
(9139667, 999902, 571, 1, 1, 3124.82, 37.5683, 71.1595, 2.53622, 0, 0, 0.95454, 0.298084, 300, 0, 1);
(9139658, 999902, 571, 1, 1, 4282.17, -368.491, 65.4752, 3.14334, 0, 0, 1, -0.00087206, 300, 0, 1);
(9139652, 999902, 571, 1, 1, 4817.05, 414.453, 105.66, 4.34185, 0, 0, 0.825262, -0.56475, 300, 0, 1);
(9139661, 999902, 571, 1, 1, 3940.91, -264.545, 109.858, 1.54584, 0, 0, 0.698227, 0.715876, 300, 0, 1);
(9139663, 999902, 571, 1, 1, 3752.67, 23.8664, 85.1836, 2.42234, 0, 0, 0.936028, 0.351924, 300, 0, 1);
(9139662, 999902, 571, 1, 1, 3895.34, -118.359, 52.8911, 2.59277, 0, 0, 0.962585, 0.270979, 300, 0, 1);
(9139669, 999902, 571, 1, 1, 2918.1, -71.0548, 86.1835, 3.77401, 0, 0, 0.950421, -0.310967, 300, 0, 1);
(9139671, 999902, 571, 1, 1, 2941.3, -173.464, 97.9285, 4.77147, 0, 0, 0.685913, -0.727683, 300, 0, 1);
(9139666, 999902, 571, 1, 1, 3264.6, 14.3695, 77.896, 2.44983, 0, 0, 0.940777, 0.339026, 300, 0, 1);
(9139660, 999902, 571, 1, 1, 4080.28, -490.134, 123.831, 2.3548, 0, 0, 0.923612, 0.383329, 300, 0, 1);
(9139672, 999902, 571, 1, 1, 3078.8, -240.065, 99.9095, 5.8349, 0, 0, 0.222272, -0.974985, 300, 0, 1);
(9139659, 999902, 571, 1, 1, 4189.17, -442.445, 120.926, 3.26272, 0, 0, 0.998167, -0.0605253, 300, 0, 1);
(9139656, 999902, 571, 1, 1, 4717.33, -154.799, 130.368, 4.57198, 0, 0, 0.754967, -0.655762, 300, 0, 1);

--- Large Searching Chest ---
INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES
(9139904, 999903, 571, 1, 1, 3919.33, -5135.85, 66.843, 0.977175, 0, 0, 0.469379, 0.882997, 300, 0, 1);
(9139910, 999903, 571, 1, 1, 4696.4, -4863.79, 31.7277, 4.82877, 0, 0, 0.664787, -0.747033, 300, 0, 1);
(9139905, 999903, 571, 1, 1, 4137.07, -4954.64, 37.8373, 0.149365, 0, 0, 0.0746133, 0.997213, 300, 0, 1);
(9139903, 999903, 571, 1, 1, 3877.73, -5192.02, 75.6187, 0.977175, 0, 0, 0.469379, 0.882997, 300, 0, 1);
(9139901, 999903, 571, 1, 1, 3400.28, -5534.98, 188.142, 0.465095, 0, 0, 0.230457, 0.973082, 300, 0, 1);
(9139911, 999903, 571, 1, 1, 4541.46, -4869.64, 47.9488, 3.65303, 0, 0, 0.967482, -0.252939, 300, 0, 1);
(9139907, 999903, 571, 1, 1, 4289.59, -5010.54, 30.6341, 5.53563, 0, 0, 0.365136, -0.930954, 300, 0, 1);
(9139921, 999903, 571, 1, 1, 4680.06, -4019.88, 213.282, 2.07437, 0, 0, 0.860977, 0.508644, 300, 0, 1);
(9139919, 999903, 571, 1, 1, 4917.73, -4241.86, 260.815, 1.77749, 0, 0, 0.776282, 0.630385, 300, 0, 1);
(9139925, 999903, 571, 1, 1, 4594.77, -3859.8, 240.234, 1.04158, 0, 0, 0.497564, 0.867428, 300, 0, 1);
(9139924, 999903, 571, 1, 1, 4594.77, -3859.8, 240.234, 1.04158, 0, 0, 0.497564, 0.867428, 300, 0, 1);
(9139898, 999903, 571, 1, 1, 3409.74, -5493.5, 208.574, 3.63967, 0, 0, 0.969149, -0.246475, 300, 0, 1);
(9139897, 999903, 571, 1, 1, 3479.68, -5453.86, 180.432, 2.83071, 0, 0, 0.987944, 0.154814, 300, 0, 1);
(9139918, 999903, 571, 1, 1, 4890.72, -4216.94, 257.438, 5.24503, 0, 0, 0.496081, -0.868276, 300, 0, 1);
(9139920, 999903, 571, 1, 1, 4689.54, -4118.64, 219.949, 5.01726, 0, 0, 0.591535, -0.806279, 300, 0, 1);
(9139913, 999903, 571, 1, 1, 4566.95, -4614.05, 87.5193, 1.38794, 0, 0, 0.639593, 0.768714, 300, 0, 1);
(9139909, 999903, 571, 1, 1, 4676.58, -4916.72, 47.9926, 1.6322, 0, 0, 0.728479, 0.685068, 300, 0, 1);
(9139908, 999903, 571, 1, 1, 4452.71, -5017.95, 2.47344, 2.87234, 0, 0, 0.990952, 0.134219, 300, 0, 1);
(9139923, 999903, 571, 1, 1, 4586.86, -3967.57, 227.784, 2.62337, 0, 0, 0.966618, 0.256223, 300, 0, 1);
(9139914, 999903, 571, 1, 1, 4570.49, -4442.59, 184.06, 3.12445, 0, 0, 0.999963, 0.00857028, 300, 0, 1);
(9139916, 999903, 571, 1, 1, 4639.91, -4334.79, 188.136, 1.09655, 0, 0, 0.521217, 0.853424, 300, 0, 1);
(9139799, 999903, 571, 1, 1, 3425.58, -5261.7, 270.566, 4.40936, 0, 0, 0.805734, -0.592278, 300, 0, 1);
(9139917, 999903, 571, 1, 1, 4712.67, -4219.41, 222.122, 4.32218, 0, 0, 0.830777, -0.556606, 300, 0, 1);
(9139902, 999903, 571, 1, 1, 3677.47, -5360.56, 105.817, 0.325294, 0, 0, 0.161931, 0.986802, 300, 0, 1);
(9139793, 999903, 571, 1, 1, 3455.94, -3620.77, 248.343, 2.37832, 0, 0, 0.928056, 0.372442, 300, 0, 1);
(9139791, 999903, 571, 1, 1, 3498.02, -3653.54, 244.511, 1.74057, 0, 0, 0.764514, 0.644607, 300, 0, 1);
(9139797, 999903, 571, 1, 1, 3371.14, -4803.14, 282.094, 4.38658, 0, 0, 0.812427, -0.583062, 300, 0, 1);
(9139796, 999903, 571, 1, 1, 3396.12, -4439.18, 240.834, 0.354345, 0, 0, 0.176247, 0.984346, 300, 0, 1);
(9139781, 999903, 571, 1, 1, 3389.34, -3252.24, 218.152, 5.1814, 0, 0, 0.523448, -0.852058, 300, 0, 1);
(9139786, 999903, 571, 1, 1, 3168.45, -2944.39, 126.187, 0.790239, 0, 0, 0.384919, 0.922951, 300, 0, 1);
(9139790, 999903, 571, 1, 1, 2789.21, -2939.69, 69.8551, 4.83818, 0, 0, 0.661263, -0.750154, 300, 0, 1);
(9139784, 999903, 571, 1, 1, 3089.86, -3054.84, 130.136, 1.78455, 0, 0, 0.778503, 0.627641, 300, 0, 1);
(9139779, 999903, 571, 1, 1, 3523.81, -3266.29, 237.156, 1.47432, 0, 0, 0.672188, 0.74038, 300, 0, 1);
(9139776, 999903, 571, 1, 1, 4244.64, -3430.39, 304.053, 2.70897, 0, 0, 0.976695, 0.21463, 300, 0, 1);
(9139798, 999903, 571, 1, 1, 3320.27, -5065.2, 333.595, 3.86665, 0, 0, 0.935003, -0.354639, 300, 0, 1);
(9139789, 999903, 571, 1, 1, 3039.57, -2691.98, 65.9791, 2.95872, 0, 0, 0.995823, 0.0913069, 300, 0, 1);
(9139795, 999903, 571, 1, 1, 3554.95, -4270.68, 212.844, 2.54482, 0, 0, 0.955812, 0.293978, 300, 0, 1);
(9139792, 999903, 571, 1, 1, 3519.95, -3815.1, 224.587, 4.19573, 0, 0, 0.864286, -0.503001, 300, 0, 1);
(9139782, 999903, 571, 1, 1, 3201.09, -3221.84, 196.894, 2.02488, 0, 0, 0.848128, 0.529791, 300, 0, 1);
(9139780, 999903, 571, 1, 1, 3507.98, -3199.9, 231.038, 1.4861, 0, 0, 0.676538, 0.736408, 300, 0, 1);
(9139778, 999903, 571, 1, 1, 3725.01, -3306.99, 278.948, 3.08831, 0, 0, 0.999645, 0.0266361, 300, 0, 1);
(9139787, 999903, 571, 1, 1, 3187.74, -2846.94, 142.133, 1.08084, 0, 0, 0.514495, 0.857494, 300, 0, 1);
(9139777, 999903, 571, 1, 1, 3974.1, -3362.75, 296.541, 3.12915, 0, 0, 0.999981, 0.00621895, 300, 0, 1);
(9139785, 999903, 571, 1, 1, 3056.59, -3024.11, 140.868, 1.66831, 0, 0, 0.740731, 0.671802, 300, 0, 1);
(9139774, 999903, 571, 1, 1, 4479.29, -3509.53, 228.233, 1.58977, 0, 0, 0.713784, 0.700366, 300, 0, 1);
(9139794, 999903, 571, 1, 1, 3644.5, -4028, 181.561, 0.00170146, 0, 0, 0.000850729, 1, 300, 0, 1);
(9139788, 999903, 571, 1, 1, 3187.74, -2846.94, 142.133, 1.08084, 0, 0, 0.514495, 0.857494, 300, 0, 1);
(9139772, 999903, 571, 1, 1, 4407.65, -3598.23, 237.726, 0.270306, 0, 0, 0.134742, 0.990881, 300, 0, 1);
(9139775, 999903, 571, 1, 1, 4424.76, -3409.04, 235.314, 3.32393, 0, 0, 0.995847, -0.0910441, 300, 0, 1);
(9139773, 999903, 571, 1, 1, 4549.75, -3650.57, 228.792, 5.95031, 0, 0, 0.165672, -0.986181, 300, 0, 1);

--- Southsea Searching Chest ---
INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES
(9139949, 999904, 571, 1, 1, 5387.39, 5211.09, -134.607, 0.97855, 0, 0, 0.469986, 0.882674, 300, 0, 1);
(9139948, 999904, 571, 1, 1, 5291.5, 4960.76, -133.477, 1.69562, 0, 0, 0.749833, 0.661627, 300, 0, 1);
(9140057, 999904, 571, 1, 1, 6720.87, 5303.59, 59.5552, 5.7632, 0, 0, 0.257076, -0.966391, 300, 0, 1);
(9140053, 999904, 571, 1, 1, 5747.69, 5671.3, -74.9581, 0.407567, 0, 0, 0.202376, 0.979308, 300, 0, 1);
(9140058, 999904, 571, 1, 1, 6616.8, 5008.08, -31.1657, 6.09227, 0, 0, 0.0953121, -0.995447, 300, 0, 1);
(9140056, 999904, 571, 1, 1, 6522.79, 5481.01, 55.0239, 0.393428, 0, 0, 0.195448, 0.980714, 300, 0, 1);
(9139952, 999904, 571, 1, 1, 5252.01, 5572.3, -98.1321, 3.02137, 0, 0, 0.998194, 0.0600745, 300, 0, 1);
(9139951, 999904, 571, 1, 1, 5345.15, 5360.96, -134.309, 1.37675, 0, 0, 0.635282, 0.77228, 300, 0, 1);
(9140049, 999904, 571, 1, 1, 5033.55, 5689.53, -88.3502, 2.82109, 0, 0, 0.987188, 0.159564, 300, 0, 1);
(9139953, 999904, 571, 1, 1, 5142.33, 5582.26, -95.6123, 2.46452, 0, 0, 0.943242, 0.332105, 300, 0, 1);
(9140051, 999904, 571, 1, 1, 5422.52, 5979.18, -40.4845, 6.07814, 0, 0, 0.102342, -0.994749, 300, 0, 1);
(9140052, 999904, 571, 1, 1, 5568.91, 5902.83, -55.7182, 5.55978, 0, 0, 0.353867, -0.935296, 300, 0, 1);
(9140059, 999904, 571, 1, 1, 6526.61, 4757.65, -60.5687, 5.55899, 0, 0, 0.354238, -0.935155, 300, 0, 1);
(9140055, 999904, 571, 1, 1, 6217.93, 5536.59, -43.2002, 0.519091, 0, 0, 0.256641, 0.966507, 300, 0, 1);
(9139950, 999904, 571, 1, 1, 5300.57, 5261.61, -132.25, 2.76219, 0, 0, 0.982061, 0.188565, 300, 0, 1);
(9140054, 999904, 571, 1, 1, 5994.45, 5484.45, -81.8979, 6.25564, 0, 0, 0.0137727, -0.999905, 300, 0, 1);
(9140050, 999904, 571, 1, 1, 5192.12, 6006.36, -46.242, 6.1881, 0, 0, 0.0475267, -0.99887, 300, 0, 1);
(9140060, 999904, 571, 1, 1, 6251.44, 4640.93, -86.4485, 3.4604, 0, 0, 0.987322, -0.15873, 300, 0, 1);
(9140154, 999904, 571, 1, 1, 5973.47, 4329.03, -83.7647, 3.76985, 0, 0, 0.951066, -0.308988, 300, 0, 1);
(9140155, 999904, 571, 1, 1, 5789.72, 4164.35, -85.9846, 2.86428, 0, 0, 0.990403, 0.13821, 300, 0, 1);
(9140156, 999904, 571, 1, 1, 5619.46, 4209.74, -95.3445, 2.88785, 0, 0, 0.991962, 0.126533, 300, 0, 1);
(9140157, 999904, 571, 1, 1, 5414.34, 4127.71, -88.4587, 3.8531, 0, 0, 0.937384, -0.348298, 300, 0, 1);
(9140158, 999904, 571, 1, 1, 5292.98, 4020.85, -70.6887, 2.38519, 0, 0, 0.929331, 0.369249, 300, 0, 1);
(9140159, 999904, 571, 1, 1, 5288.58, 3846.82, -56.6432, 4.43744, 0, 0, 0.797339, -0.603532, 300, 0, 1);
(9140161, 999904, 571, 1, 1, 5335.21, 3656.84, 19.8374, 4.36047, 0, 0, 0.819969, -0.572408, 300, 0, 1);
(9140162, 999904, 571, 1, 1, 5335.21, 3656.84, 19.8374, 4.36047, 0, 0, 0.819969, -0.572408, 300, 0, 1);
(9140163, 999904, 571, 1, 1, 5082.07, 4064.61, -57.4455, 2.03491, 0, 0, 0.850773, 0.525533, 300, 0, 1);
(9140164, 999904, 571, 1, 1, 4972.95, 4254.38, -81.0826, 2.29409, 0, 0, 0.911553, 0.411183, 300, 0, 1);
(9140165, 999904, 571, 1, 1, 4983.46, 4349.51, -86.9358, 1.83856, 0, 0, 0.795165, 0.606393, 300, 0, 1);
(9140166, 999904, 571, 1, 1, 5839.68, 3645.8, -3.60564, 5.60925, 0, 0, 0.330625, -0.943762, 300, 0, 1);
(9140169, 999904, 571, 1, 1, 5871, 3583.1, 7.3582, 4.97072, 0, 0, 0.610135, -0.792298, 300, 0, 1);
(9140170, 999904, 571, 1, 1, 5943.38, 3530.36, 45.4686, 0.63847, 0, 0, 0.31384, 0.949476, 300, 0, 1);
(9140171, 999904, 571, 1, 1, 6029.44, 3636.57, 75.824, 0.494742, 0, 0, 0.244856, 0.969559, 300, 0, 1);
(9140172, 999904, 571, 1, 1, 6102.46, 3612.67, 121.731, 6.26977, 0, 0, 0.00670515, -0.999978, 300, 0, 1);
(9140173, 999904, 571, 1, 1, 6132.19, 3696.62, 134.822, 1.03981, 0, 0, 0.496797, 0.867867, 300, 0, 1);
(9140174, 999904, 571, 1, 1, 6149.22, 3767.47, 98.4968, 2.47473, 0, 0, 0.944925, 0.327286, 300, 0, 1);
(9140175, 999904, 571, 1, 1, 6217.22, 3985.55, 33.7027, 5.47731, 0, 0, 0.392123, -0.919913, 300, 0, 1);
(9140176, 999904, 571, 1, 1, 6377.99, 4192.94, -37.2717, 0.361224, 0, 0, 0.179632, 0.983734, 300, 0, 1);
(9140177, 999904, 571, 1, 1, 6514.23, 4339.86, -43.8855, 6.03651, 0, 0, 0.123024, -0.992404, 300, 0, 1);
(9140179, 999904, 571, 1, 1, 6367.06, 4493.32, -63.2922, 1.16312, 0, 0, 0.549327, 0.835608, 300, 0, 1);
(9140180, 999904, 571, 1, 1, 6293.31, 4677.54, -75.4131, 2.0679, 0, 0, 0.859325, 0.51143, 300, 0, 1);
(9140182, 999904, 571, 1, 1, 5424.82, 4740.66, -196.239, 4.87884, 0, 0, 0.645879, -0.76344, 300, 0, 1);
(9140183, 999904, 571, 1, 1, 5151.62, 5170.16, -134.485, 2.38912, 0, 0, 0.930055, 0.367421, 300, 0, 1);
(9140241, 999904, 571, 1, 1, 5066.76, 5218.16, -75.7235, 2.17235, 0, 0, 0.884852, 0.465872, 300, 0, 1);
(9140242, 999904, 571, 1, 1, 4884.75, 5352.68, -82.7249, 2.9554, 0, 0, 0.995669, 0.0929642, 300, 0, 1);

--- Family Searching Chest ---
INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES
(9140244, 999905, 571, 1, 1, 4778.23, 2294.82, 355.443, 2.07876, 0, 0, 0.862091, 0.506754, 300, 0, 1);
(9140245, 999905, 571, 1, 1, 4717.2, 2392.18, 364.008, 3.28749, 0, 0, 0.99734, -0.0728839, 300, 0, 1);
(9140246, 999905, 571, 1, 1, 4598.25, 2390.61, 379.798, 3.29849, 0, 0, 0.996925, -0.0783661, 300, 0, 1);
(9140247, 999905, 571, 1, 1, 4569.46, 2523.61, 359.779, 1.65622, 0, 0, 0.736654, 0.67627, 300, 0, 1);
(9140248, 999905, 571, 1, 1, 4548.58, 2709.76, 362.025, 1.57375, 0, 0, 0.708151, 0.706061, 300, 0, 1);
(9140249, 999905, 571, 1, 1, 4613.68, 2823.27, 397.667, 0.37052, 0, 0, 0.184202, 0.982888, 300, 0, 1);
(9140250, 999905, 571, 1, 1, 4507.54, 3016.58, 352.384, 2.78955, 0, 0, 0.984548, 0.175115, 300, 0, 1);
(9140251, 999905, 571, 1, 1, 4454.24, 3239.97, 358.41, 2.87673, 0, 0, 0.991243, 0.132047, 300, 0, 1);
(9140252, 999905, 571, 1, 1, 4340.91, 3495.21, 383.184, 1.38604, 0, 0, 0.638863, 0.76932, 300, 0, 1);
(9140253, 999905, 571, 1, 1, 4340.91, 3495.21, 383.184, 1.38604, 0, 0, 0.638863, 0.76932, 300, 0, 1);
(9140255, 999905, 571, 1, 1, 4520.16, 3670.43, 397.297, 0.624989, 0, 0, 0.307433, 0.95157, 300, 0, 1);
(9140256, 999905, 571, 1, 1, 4790.87, 3714.65, 361.698, 0.16396, 0, 0, 0.081888, 0.996642, 300, 0, 1);
(9140257, 999905, 571, 1, 1, 5028.1, 3624.66, 360.761, 0.288838, 0, 0, 0.143917, 0.98959, 300, 0, 1);
(9140258, 999905, 571, 1, 1, 5145.08, 3503.24, 356.911, 3.64092, 0, 0, 0.968996, -0.247077, 300, 0, 1);
(9140259, 999905, 571, 1, 1, 5145.08, 3503.24, 356.911, 3.64092, 0, 0, 0.968996, -0.247077, 300, 0, 1);
(9140260, 999905, 571, 1, 1, 5087.84, 3324.32, 359.173, 3.82077, 0, 0, 0.942891, -0.333101, 300, 0, 1);
(9140261, 999905, 571, 1, 1, 5206.81, 3066.17, 395.601, 0.0037408, 0, 0, 0.0018704, 0.999998, 300, 0, 1);
(9140262, 999905, 571, 1, 1, 5273.1, 2999.03, 408.829, 3.03302, 0, 0, 0.998527, 0.0542587, 300, 0, 1);
(9140263, 999905, 571, 1, 1, 4910.32, 2808.86, 379.116, 3.67705, 0, 0, 0.964375, -0.264541, 300, 0, 1);
(9140264, 999905, 571, 1, 1, 5049.05, 2615.78, 359.403, 6.22566, 0, 0, 0.0287566, -0.999586, 300, 0, 1);
(9140265, 999905, 571, 1, 1, 5058.39, 2358.24, 360.507, 5.37193, 0, 0, 0.440024, -0.897986, 300, 0, 1);
(9140266, 999905, 571, 1, 1, 4863.65, 2165.45, 359.977, 4.40511, 0, 0, 0.806991, -0.590564, 300, 0, 1);
(9140268, 999905, 571, 1, 1, 4675.05, 2119.96, 384.103, 4.58025, 0, 0, 0.752248, -0.65888, 300, 0, 1);
(9140269, 999905, 571, 1, 1, 4487.23, 2064.29, 407.248, 3.41001, 0, 0, 0.991008, -0.133805, 300, 0, 1);
(9140270, 999905, 571, 1, 1, 4261.3, 2088.28, 360.193, 4.00927, 0, 0, 0.90736, -0.420355, 300, 0, 1);
(9140271, 999905, 571, 1, 1, 4275.51, 1825.3, 351.257, 4.53391, 0, 0, 0.76731, -0.641276, 300, 0, 1);
(9140272, 999905, 571, 1, 1, 4497.51, 1863.02, 388.008, 5.33895, 0, 0, 0.454774, -0.890607, 300, 0, 1);
(9140273, 999905, 571, 1, 1, 4243.36, 2691, 355.432, 2.25076, 0, 0, 0.902432, 0.430832, 300, 0, 1);
(9140369, 999905, 571, 1, 1, 4293.77, 2830.85, 367.891, 0.987842, 0, 0, 0.474082, 0.880481, 300, 0, 1);
(9140370, 999905, 571, 1, 1, 4303.18, 3100.71, 358.206, 1.82665, 0, 0, 0.791539, 0.611118, 300, 0, 1);
(9140371, 999905, 571, 1, 1, 4305.78, 3137.42, 469.314, 1.46065, 0, 0, 0.667114, 0.744956, 300, 0, 1);
(9140372, 999905, 571, 1, 1, 4474.57, 3158.27, 386.941, 0.0650011, 0, 0, 0.0324948, 0.999472, 300, 0, 1);
(9140455, 999905, 571, 1, 1, 4456.61, 2935.78, 365.707, 4.4114, 0, 0, 0.80513, -0.593099, 300, 0, 1);
(9140456, 999905, 571, 1, 1, 4352.11, 2883.88, 384.344, 3.34404, 0, 0, 0.994881, -0.101051, 300, 0, 1);
(9140457, 999905, 571, 1, 1, 4328.42, 2951.63, 392.68, 1.94446, 0, 0, 0.826144, 0.563459, 300, 0, 1);
(9140458, 999905, 571, 1, 1, 4354.48, 2717.92, 367.216, 2.25626, 0, 0, 0.903613, 0.428349, 300, 0, 1);
(9140459, 999905, 571, 1, 1, 4340.27, 2711.12, 360.203, 1.44023, 0, 0, 0.659472, 0.751729, 300, 0, 1);
(9140460, 999905, 571, 1, 1, 4351.48, 2569.49, 354.574, 5.99083, 0, 0, 0.145658, -0.989335, 300, 0, 1);
(9140461, 999905, 571, 1, 1, 4246.12, 2323.06, 354.8, 4.80723, 0, 0, 0.672792, -0.739831, 300, 0, 1);
(9140462, 999905, 571, 1, 1, 4408.88, 2290.34, 353.392, 0.22522, 0, 0, 0.112372, 0.993666, 300, 0, 1);

--- Extreme Searching Chest ---
INSERT INTO `gameobject` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`rotation0`,`rotation1`,`rotation2`,`rotation3`,`spawntimesecs`,`animprogress`,`state`) VALUES
(9140463, 999906, 571, 1, 1, 7269.99, 1659.91, 435.027, 0.952683, 0, 0, 0.458531, 0.888678, 300, 0, 1);
(9140464, 999906, 571, 1, 1, 7401.16, 1515.46, 338.456, 5.98866, 0, 0, 0.146733, -0.989176, 300, 0, 1);
(9140465, 999906, 571, 1, 1, 7238.44, 1221.2, 307.483, 3.39056, 0, 0, 0.992262, -0.124161, 300, 0, 1);
(9140466, 999906, 571, 1, 1, 7106.84, 1181.76, 298.703, 3.4848, 0, 0, 0.985312, -0.170765, 300, 0, 1);
(9140467, 999906, 571, 1, 1, 6852.43, 1238.56, 281.719, 2.74417, 0, 0, 0.980322, 0.197404, 300, 0, 1);
(9140468, 999906, 571, 1, 1, 6684.13, 1314.97, 302.22, 2.2266, 0, 0, 0.89716, 0.441705, 300, 0, 1);
(9140469, 999906, 571, 1, 1, 6390.1, 1278.77, 334.855, 2.9688, 0, 0, 0.99627, 0.0862899, 300, 0, 1);
(9140470, 999906, 571, 1, 1, 6284.91, 1204.64, 324.952, 5.47657, 0, 0, 0.392461, -0.919769, 300, 0, 1);
(9140471, 999906, 571, 1, 1, 6333.42, 1741.17, 525.192, 0.00863314, 0, 0, 0.00431655, 0.999991, 300, 0, 1);
(9140472, 999906, 571, 1, 1, 6192.07, 2049.53, 528.907, 2.05931, 0, 0, 0.857121, 0.515115, 300, 0, 1);
(9140473, 999906, 571, 1, 1, 6132.4, 2299.54, 505.518, 2.55175, 0, 0, 0.956825, 0.290663, 300, 0, 1);
(9140474, 999906, 571, 1, 1, 6127.17, 2774.2, 573.914, 1.98391, 0, 0, 0.837097, 0.547054, 300, 0, 1);
(9140475, 999906, 571, 1, 1, 6391.97, 2671.18, 577.024, 0.56391, 0, 0, 0.278234, 0.960513, 300, 0, 1);
(9140476, 999906, 571, 1, 1, 6807.28, 2911.2, 456.733, 1.17731, 0, 0, 0.555241, 0.831689, 300, 0, 1);
(9140477, 999906, 571, 1, 1, 6980.76, 2890.41, 433.937, 1.62891, 0, 0, 0.727352, 0.686265, 300, 0, 1);
(9140478, 999906, 571, 1, 1, 7062.04, 3043.7, 463.731, 0.332218, 0, 0, 0.165346, 0.986236, 300, 0, 1);
(9140479, 999906, 571, 1, 1, 7084.39, 3284.23, 594.811, 1.31004, 0, 0, 0.609174, 0.793036, 300, 0, 1);
(9140480, 999906, 571, 1, 1, 7610.35, 3089.55, 557.513, 1.05321, 0, 0, 0.502603, 0.864518, 300, 0, 1);
(9140482, 999906, 571, 1, 1, 7814.75, 3016.37, 518.12, 0.256817, 0, 0, 0.128056, 0.991767, 300, 0, 1);
(9140483, 999906, 571, 1, 1, 7840.34, 2909.26, 525.618, 5.49385, 0, 0, 0.3845, -0.923125, 300, 0, 1);
(9140484, 999906, 571, 1, 1, 7992.06, 2810.65, 510.795, 4.99827, 0, 0, 0.599165, -0.800626, 300, 0, 1);
(9140485, 999906, 571, 1, 1, 8256.44, 2776.14, 641.84, 6.12768, 0, 0, 0.0776763, -0.996979, 300, 0, 1);
(9140486, 999906, 571, 1, 1, 8359.74, 2800.85, 655.365, 0.552135, 0, 0, 0.272574, 0.962135, 300, 0, 1);
(9140487, 999906, 571, 1, 1, 8327.96, 2541.09, 703.561, 2.87456, 0, 0, 0.9911, 0.133121, 300, 0, 1);
(9140488, 999906, 571, 1, 1, 8149.55, 2344.7, 608.986, 2.70963, 0, 0, 0.976766, 0.214308, 300, 0, 1);
(9140489, 999906, 571, 1, 1, 7883, 2032.96, 501.711, 3.36779, 0, 0, 0.993611, -0.112857, 300, 0, 1);
(9140490, 999906, 571, 1, 1, 7902.39, 1611.21, 379.27, 6.13004, 0, 0, 0.0764989, -0.99707, 300, 0, 1);
(9140491, 999906, 571, 1, 1, 7796.95, 1425.35, 366.976, 5.04697, 0, 0, 0.579493, -0.814977, 300, 0, 1);
(9140493, 999906, 571, 1, 1, 7869.96, 1069.31, 426.738, 5.4915, 0, 0, 0.385584, -0.922673, 300, 0, 1);
(9140551, 999906, 571, 1, 1, 7798.4, 966.843, 449.789, 5.3366, 0, 0, 0.455821, -0.890071, 300, 0, 1);
(9140552, 999906, 571, 1, 1, 7686.02, 884.671, 486.505, 1.61852, 0, 0, 0.723777, 0.690034, 300, 0, 1);
(9140553, 999906, 571, 1, 1, 7686.02, 884.671, 486.505, 1.61852, 0, 0, 0.723777, 0.690034, 300, 0, 1);
(9140554, 999906, 571, 1, 1, 7477.29, 875.597, 490.589, 4.38862, 0, 0, 0.811832, -0.583891, 300, 0, 1);
(9140555, 999906, 571, 1, 1, 7224.5, 707.196, 498.761, 2.57278, 0, 0, 0.959828, 0.280588, 300, 0, 1);
(9140556, 999906, 571, 1, 1, 7137.93, 715.097, 529.771, 2.66781, 0, 0, 0.972072, 0.234681, 300, 0, 1);

/* ScriptNames */
UPDATE `gameobject_template` SET `ScriptName`='go_chestsmall' WHERE `entry`=999901;
UPDATE `gameobject_template` SET `ScriptName`='go_chestmedium' WHERE `entry`=999902;
UPDATE `gameobject_template` SET `ScriptName`='go_chestlarge' WHERE `entry`=999903;
UPDATE `gameobject_template` SET `ScriptName`='go_chestsouthsea' WHERE `entry`=999904;
UPDATE `gameobject_template` SET `ScriptName`='go_chestfamily' WHERE `entry`=999905;
UPDATE `gameobject_template` SET `ScriptName`='go_chestextreme' WHERE `entry`=999906;

UPDATE `creature_template` SET `ScriptName`='npc_professiongeneral' WHERE `entry`=999900;
UPDATE `creature_template` SET `ScriptName`='npc_professionother' WHERE `entry`=999901;
UPDATE `creature_template` SET `ScriptName`='npc_professionteleport' WHERE `entry`=999901;

•••••••••••••••••••••••••••••••••••••••••••••••••
••• /src/server/game/Miscellaneous/Language.h •••
•••••••••••••••••••••••••••••••••••••••••••••••••

// Room for in-game strings           820-999 not used

+   LANG_YOU_NOT_HAVE_TREASURE      = 820,
+   LANG_TREASURE_TREASURE               = 821,
+   LANG_TREASURE_APPRENTICE           = 822,
+   LANG_TREASURE_JOURNEYMAN           = 823,
+   LANG_TREASURE_EXPERT               = 824,
+   LANG_TREASURE_ARTISAN              = 825,
+   LANG_TREASURE_MASTER               = 826,
+   LANG_TREASURE_GRANDMASTER          = 827,
+   LANG_TREASURE_COMBAT               = 828,

// Level 4 (CLI only commands)
LANG_COMMAND_EXIT                   = 1000,

•••••••••••••••••••••••••••••••••••••••••••••••••
••• /src/server/scripts/Custom/CMakeLists.txt •••
•••••••••••••••••••••••••••••••••••••••••••••••••

set(scripts_STAT_SRCS
 ${scripts_STAT_SRCS}
+Custom/npc_profession.cpp
+Custom/go_profession.cpp
)

•••••••••••••••••••••••••••••••••••••••••••••••••••
••• /src/server/game/Scripting/ScriptLoader.cpp •••
•••••••••••••••••••••••••••••••••••••••••••••••••••

// custom
+void AddSC_npc_profession();
+void AddSC_go_profession();


void AddCustomScripts()
{
#ifdef SCRIPTS
+    AddSC_npc_profession();
+    AddSC_go_profession();
#endif
}

•••••••••••••••••••••••••••••••••••••••••••••••••••••
••• /src/server/scripts/Custom/npc_profession.cpp •••
•••••••••••••••••••••••••••••••••••••••••••••••••••••

/*
* Copyright (C) 2010 Apokalypsa <http://www.apokalypsa.sk/>
*
* World of Warcraft: WotLK - Apokalypsa Custom Profession
* This is official first Apokalypsa Custom Profession.
* You can edit but you can not delete this copyright.
* TrinityCore2 rev.10283+
* 
* By Smrtokvitek - Head Admin of Apokalypsa Server
*/

#include "ScriptPCH.h"

/* Teleporter */

class npc_professionteleport : public CreatureScript
{
public:
   npc_professionteleport() : CreatureScript("npc_professionteleport") { }

   bool OnGossipHello(Player *player, Creature *_creature)
   {
       if (player->isInCombat())
       {
           player->CLOSE_GOSSIP_MENU();
           _creature->MonsterWhisper("Combat!", player->GetGUID());
           return true;
       }
       else
       {
           player->ADD_GOSSIP_ITEM( 2, "I am ready to search Small Treasure!"         , GOSSIP_SENDER_MAIN, 1);
           player->ADD_GOSSIP_ITEM( 2, "I am ready to search Medium Treasure!"        , GOSSIP_SENDER_MAIN, 2);
           player->ADD_GOSSIP_ITEM( 2, "I am ready to search Large Treasure!"         , GOSSIP_SENDER_MAIN, 3);
           player->ADD_GOSSIP_ITEM( 2, "I am ready to search Southsea Treasure!"      , GOSSIP_SENDER_MAIN, 4);
           player->ADD_GOSSIP_ITEM( 2, "I am ready to search Family Treasure!"        , GOSSIP_SENDER_MAIN, 5);
           player->ADD_GOSSIP_ITEM( 2, "I am ready to search Extreme Treasure!"       , GOSSIP_SENDER_MAIN, 6);
       }

       player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         
       return true;
   }

   bool OnGossipSelect(Player *player, Creature *_creature, uint32 sender, uint32 uiAction)
   {
       if (sender == GOSSIP_SENDER_MAIN)
       {
           player->PlayerTalkClass->ClearMenus();
           switch(uiAction)
           {
		 case 1: //Borean Tundra
   				player->CLOSE_GOSSIP_MENU();
   				player->TeleportTo(571, 3256.570068f, 5278.229980f, 40.804600f, 0.246367);
		       break;
		 case 2: //Dragonblight
   				player->CLOSE_GOSSIP_MENU();
   				player->TeleportTo(571, 3256.570068f, 5278.229980f, 40.804600f, 0.246367f);
		       break;
		 case 3: //Grizzly Hills
   				player->CLOSE_GOSSIP_MENU();
   				player->TeleportTo(571, 4391.729980f, -3587.919922f, 238.530991f, 3.575260f);
		       break;
		 case 4: //Sholazar Basin
   				player->CLOSE_GOSSIP_MENU();
   				player->TeleportTo(571, 5323.00000f, 4942.00000f, -133.558655f, 2.17000f);
		       break;
		 case 5: //Wintergrasp
   				player->CLOSE_GOSSIP_MENU();
   				player->TeleportTo(571, 4561.580078f, 2835.330078f, 389.790009f, 0.340000f);
		       break;
		 case 6: //Icecrown 
   				player->CLOSE_GOSSIP_MENU();
   				player->TeleportTo(571, 7253.640137f, 1644.780029f, 433.679993f, 4.83410f);
		       break;
           } 
       } 
       return true;
   } 
};

/* General Skill Trainer */

class npc_professiongeneral : public CreatureScript
{
public:
   npc_professiongeneral() : CreatureScript("npc_professiongeneral") { }

   bool OnGossipHello(Player *player, Creature *_creature)
   {
       if (player->isInCombat())
       {
           player->CLOSE_GOSSIP_MENU();
           _creature->MonsterWhisper("Combat!", player->GetGUID());
           return true;
       }
       else
       {
           player->ADD_GOSSIP_ITEM( 3, "Apprentice Searching [0-75]"                  , GOSSIP_SENDER_MAIN, 1);
           player->ADD_GOSSIP_ITEM( 3, "Journeyman Searching [75-150]"                , GOSSIP_SENDER_MAIN, 2);
           player->ADD_GOSSIP_ITEM( 3, "Expert Searching [150-225]"                   , GOSSIP_SENDER_MAIN, 3);
           player->ADD_GOSSIP_ITEM( 3, "Artisan Searching [225-300]"                  , GOSSIP_SENDER_MAIN, 4);
           player->ADD_GOSSIP_ITEM( 3, "Master Searching [300-375]"                   , GOSSIP_SENDER_MAIN, 5);
           player->ADD_GOSSIP_ITEM( 3, "Grand Master Searching [375-450]"             , GOSSIP_SENDER_MAIN, 6);
           player->ADD_GOSSIP_ITEM( 1, "Reagents"                                     , GOSSIP_SENDER_MAIN, 7);
       }

       player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         
       return true;
   }

   bool TryToSellItem(Player *player, Creature *_creature, unsigned int reqID, unsigned int rewardID)
   {
       if (player->HasItemCount( reqID, 75, false ))
       {
           player->CLOSE_GOSSIP_MENU();

           //Addnutie Itemu
           uint32 noSpaceForCount = 0;

           //Kontrola volneho miesta v Bagu
           ItemPosCountVec dest;
           uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, rewardID, 1, &noSpaceForCount );
            unsigned int count = 1;
           if( msg != EQUIP_ERR_OK )                               
               count -= noSpaceForCount;

           if( count == 0 || dest.empty())                         
           {
               ChatHandler(player).PSendSysMessage(LANG_ITEM_CANNOT_CREATE, rewardID, noSpaceForCount );
               return false;
           }
           player->DestroyItemCount(reqID, 75, true, false);
           Item* item = player->StoreNewItem( dest, rewardID, true, Item::GenerateItemRandomPropertyId(rewardID));

           return true;
       }

       player->CLOSE_GOSSIP_MENU();
       ChatHandler(player).SendSysMessage(LANG_YOU_NOT_HAVE_TREASURE);

       return false;
   }

   bool OnGossipSelect(Player *player, Creature *_creature, uint32 sender, uint32 uiAction)
   {
       if (sender == GOSSIP_SENDER_MAIN)
       {
           player->PlayerTalkClass->ClearMenus();
           switch(uiAction)
           {
           case 1://Apprentice Searching [0-75]
                   return TryToSellItem(player, _creature, 999900, 999906);
           case 2://Journeyman Searching [75-150]
                   return TryToSellItem(player, _creature, 999901, 999907);
           case 3://Expert Searching [150-225]
                   return TryToSellItem(player, _creature, 999902, 999908);
           case 4://Artisan Searching [225-300]
                   return TryToSellItem(player, _creature, 999903, 999909);
           case 5://Master Searching [300-375]
                   return TryToSellItem(player, _creature, 999904, 999910);
           case 6://Grand Master Searching [375-450]
                   return TryToSellItem(player, _creature, 999905, 999911);
           case 7:
                 player->SEND_VENDORLIST( _creature->GetGUID());
           break;
           } 
       } 
       return true;
   } 
}; 

/* Other Skill Trainer */

class npc_professionother : public CreatureScript
{
public:
   npc_professionother() : CreatureScript("npc_professionother") { }

   bool OnGossipHello(Player *player, Creature *_creature)
   {
       if (player->isInCombat())
       {
           player->CLOSE_GOSSIP_MENU();
           _creature->MonsterWhisper("Combat!", player->GetGUID());
           return true;
       }
       else
       {
           player->ADD_GOSSIP_ITEM( 3, "Water Breathing [Apprentice]"                      , GOSSIP_SENDER_MAIN, 1);
           player->ADD_GOSSIP_ITEM( 3, "Track Demons [Apprentice]"                         , GOSSIP_SENDER_MAIN, 2);
           player->ADD_GOSSIP_ITEM( 3, "Track Hidden [Apprentice]"                         , GOSSIP_SENDER_MAIN, 3);
           player->ADD_GOSSIP_ITEM( 3, "Track Dragonkin [Journeyman]"                      , GOSSIP_SENDER_MAIN, 4);
           player->ADD_GOSSIP_ITEM( 3, "Track Undead [Journeyman]"                      , GOSSIP_SENDER_MAIN, 5);
           player->ADD_GOSSIP_ITEM( 3, "Track Elementals [Expert]"                         , GOSSIP_SENDER_MAIN, 6);
           player->ADD_GOSSIP_ITEM( 3, "Parachute [Expert]"                             , GOSSIP_SENDER_MAIN, 7);
           player->ADD_GOSSIP_ITEM( 3, "Track Giants [Expert]"                             , GOSSIP_SENDER_MAIN, 8);
           player->ADD_GOSSIP_ITEM( 3, "Frost Wyrm Mount [Artisan]"                        , GOSSIP_SENDER_MAIN, 9);
           player->ADD_GOSSIP_ITEM( 3, "Track Humanoids [Artisan]"                         , GOSSIP_SENDER_MAIN, 10);
           player->ADD_GOSSIP_ITEM( 3, "Furbolg Form [Master]"                             , GOSSIP_SENDER_MAIN, 11);
           player->ADD_GOSSIP_ITEM( 3, "Searching Slippers [Grand Master]"                 , GOSSIP_SENDER_MAIN, 12);
           player->ADD_GOSSIP_ITEM( 3, "Searching Regalia [Grand Master]"                  , GOSSIP_SENDER_MAIN, 13);
           player->ADD_GOSSIP_ITEM( 3, "Searching Hat [Grand Master]"                      , GOSSIP_SENDER_MAIN, 14);
       }

       player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, _creature->GetGUID());         
       return true;
   }

   bool TryToSellOtherItem(Player *player, Creature *_creature, unsigned int reqID, unsigned int rewardID)
   {
       if (player->HasItemCount( reqID, 1, false ))
       {
           player->CLOSE_GOSSIP_MENU();

           //Addnutie Itemu
           uint32 noSpaceForCount = 0;

           //Kontrola volneho miesta v Bagu
           ItemPosCountVec dest;
           uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, rewardID, 1, &noSpaceForCount );
            unsigned int count = 1;
           if( msg != EQUIP_ERR_OK )                               
               count -= noSpaceForCount;

           if( count == 0 || dest.empty())                         
           {
               ChatHandler(player).PSendSysMessage(LANG_ITEM_CANNOT_CREATE, rewardID, noSpaceForCount );
               return false;
           }
           Item* item = player->StoreNewItem( dest, rewardID, true, Item::GenerateItemRandomPropertyId(rewardID));

           return true;
       }

       player->CLOSE_GOSSIP_MENU();
       ChatHandler(player).SendSysMessage(LANG_TREASURE_GRANDMASTER);
       return false;
   }

   bool OnGossipSelect(Player *player, Creature *_creature, uint32 sender, uint32 uiAction)
   {
       if (sender == GOSSIP_SENDER_MAIN)
       {
           player->PlayerTalkClass->ClearMenus();
           switch(uiAction)
           {
             case 1://Water Breathing [Apprentice]
               if (player->HasItemCount( 999906, 1, false ))
               {
                   player->CLOSE_GOSSIP_MENU();
                     player->learnSpell(7178, true);
               }
               else
               {
                    player->CLOSE_GOSSIP_MENU();
                     ChatHandler(player).SendSysMessage(LANG_TREASURE_APPRENTICE);
                     return false;
               }
             break;

             case 2://Track Demons [Apprentice]
               if (player->HasItemCount( 999906, 1, false ))
               {
                   player->CLOSE_GOSSIP_MENU();
                     player->learnSpell(19878, true);
               }
               else
               {
                    player->CLOSE_GOSSIP_MENU();
                     ChatHandler(player).SendSysMessage(LANG_TREASURE_APPRENTICE);
                     return false;
               }
             break;

             case 3://Track Hidden [Apprentice]
               if (player->HasItemCount( 999906, 1, false ))
               {
                   player->CLOSE_GOSSIP_MENU();
                     player->learnSpell(19885, true);
               }
               else
               {
                    player->CLOSE_GOSSIP_MENU();
                     ChatHandler(player).SendSysMessage(LANG_TREASURE_APPRENTICE);
                     return false;
               }
             break;

             case 4://Track Dragonkin [Journeyman]
               if (player->HasItemCount( 999907, 1, false ))
               {
                   player->CLOSE_GOSSIP_MENU();
                     player->learnSpell(19879, true);
               }
               else
               {
                    player->CLOSE_GOSSIP_MENU();
                     ChatHandler(player).SendSysMessage(LANG_TREASURE_JOURNEYMAN);
                     return false;
               }
             break;

             case 5://Track Undead [Journeyman]
               if (player->HasItemCount( 999907, 1, false ))
               {
                   player->CLOSE_GOSSIP_MENU();
                     player->learnSpell(19884, true);
               }
               else
               {
                    player->CLOSE_GOSSIP_MENU();
                     ChatHandler(player).SendSysMessage(LANG_TREASURE_JOURNEYMAN);
                     return false;
               }
             break;

             case 6://Track Elementals [Expert]
               if (player->HasItemCount( 999908, 1, false ))
               {
                   player->CLOSE_GOSSIP_MENU();
                     player->learnSpell(19880, true);
               }
               else
               {
                    player->CLOSE_GOSSIP_MENU();
                     ChatHandler(player).SendSysMessage(LANG_TREASURE_EXPERT);
                     return false;
               }
             break;

             case 7://Parachute [Expert]
               if (player->HasItemCount( 999908, 1, false ))
               {
                   player->CLOSE_GOSSIP_MENU();
                     player->learnSpell(55001, true);
               }
               else
               {
                    player->CLOSE_GOSSIP_MENU();
                     ChatHandler(player).SendSysMessage(LANG_TREASURE_EXPERT);
                     return false;
               }
             break;

             case 8://Track Giants [Expert]
               if (player->HasItemCount( 999908, 1, false ))
               {
                   player->CLOSE_GOSSIP_MENU();
                     player->learnSpell(19882, true);
               }
               else
               {
                    player->CLOSE_GOSSIP_MENU();
                     ChatHandler(player).SendSysMessage(LANG_TREASURE_EXPERT);
                     return false;
               }
             break;

             case 9://Frost Wyrm Mount [Artisan]
               if (player->HasItemCount( 999909, 1, false ))
               {
                   player->CLOSE_GOSSIP_MENU();
                     player->learnSpell(51960, true);
               }
               else
               {
                    player->CLOSE_GOSSIP_MENU();
                     ChatHandler(player).SendSysMessage(LANG_TREASURE_ARTISAN);
                     return false;
               }
             break;

             case 10://Track Humanoids [Artisan]
               if (player->HasItemCount( 999909, 1, false ))
               {
                   player->CLOSE_GOSSIP_MENU();
                     player->learnSpell(19883, true);
               }
               else
               {
                    player->CLOSE_GOSSIP_MENU();
                     ChatHandler(player).SendSysMessage(LANG_TREASURE_ARTISAN);
                     return false;
               }
             break;

             case 11://Furbolg Form [Master]
               if (player->HasItemCount( 999910, 1, false ))
               {
                   player->CLOSE_GOSSIP_MENU();
                     player->learnSpell(6405, true);
               }
               else
               {
                    player->CLOSE_GOSSIP_MENU();
                     ChatHandler(player).SendSysMessage(LANG_TREASURE_MASTER);
                     return false;
               }
             break;

       case 12://Searching Slippers [Grand Master]
                   return TryToSellOtherItem(player, _creature, 999911, 999913);

       case 13://Searching Regalia [Grand Master]
                   return TryToSellOtherItem(player, _creature, 999911, 999914);

       case 14://Searching Hat [Grand Master]
                   return TryToSellOtherItem(player, _creature, 999911, 999915);
           } 
       } 
       return true;
   } 
};

void AddSC_npc_profession()
{
   new npc_professiongeneral();
   new npc_professionother();
}



•••••••••••••••••••••••••••••••••••••••••••••••••••••
••• /src/server/scripts/Custom/go_profession.cpp  •••
•••••••••••••••••••••••••••••••••••••••••••••••••••••

/*
* Copyright (C) 2010 Apokalypsa <http://www.apokalypsa.sk/>
*
* World of Warcraft: WotLK - Apokalypsa Custom Profession
* This is official first Apokalypsa Custom Profession.
* You can edit but you can not delete this copyright.
* TrinityCore2 rev.10283+
* 
* By Smrtokvitek - Head Admin of Apokalypsa Server
*/

#include "ScriptPCH.h"

/* Small Treasure */

class go_chestsmall : public GameObjectScript
{
public:
   go_chestsmall() : GameObjectScript("go_chestsmall") { }

   bool OnGossipHello(Player* player, GameObject* go)
   {
       if (player->isInCombat())
       {
           player->CLOSE_GOSSIP_MENU();
           go->MonsterWhisper("Combat!", player->GetGUID());
           return true;
       }
       else
       {
           player->ADD_GOSSIP_ITEM( 0, "Small Treasure!"                         , GOSSIP_SENDER_MAIN, 1);
       }

       player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, go->GetGUID());         
       return true;
   }

   bool TryToSellTreasureItem(Player* player, GameObject* go, unsigned int reqID, unsigned int rewardID)
   {
       if (player->HasItemCount( reqID, 1, false ))
       {
           player->CLOSE_GOSSIP_MENU();

           //Addnutie Itemu
           uint32 noSpaceForCount = 0;

           //Kontrola volneho miesta v Bagu
           ItemPosCountVec dest;
           uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, rewardID, 1, &noSpaceForCount );
            unsigned int count = 1;
           if( msg != EQUIP_ERR_OK )                               
               count -= noSpaceForCount;

           if( count == 0 || dest.empty())                         
           {
               ChatHandler(player).PSendSysMessage(LANG_ITEM_CANNOT_CREATE, rewardID, noSpaceForCount );
               return false;
           }
           Item* item = player->StoreNewItem( dest, rewardID, true, Item::GenerateItemRandomPropertyId(rewardID));

           return true;
       }

       player->CLOSE_GOSSIP_MENU();
       ChatHandler(player).SendSysMessage(LANG_TREASURE_TREASURE);
       return false;
   }

   bool OnGossipSelect(Player* player, GameObject* go, uint32 sender, uint32 uiAction)
   {
       if (sender == GOSSIP_SENDER_MAIN)
       {
           player->PlayerTalkClass->ClearMenus();
           switch(uiAction)
           {
            case 1://Small Treasure!
               bool ret =  TryToSellTreasureItem(player, go, 999912, 999900);

               if(ret)
                   go->Delete();

               return ret;
           } 
       } 
       return true;
   } 
};

/* Medium Treasure */

class go_chestmedium : public GameObjectScript
{
public:
   go_chestmedium() : GameObjectScript("go_chestmedium") { }

   bool OnGossipHello(Player* player, GameObject* go)
   {
       if (player->isInCombat())
       {
           player->CLOSE_GOSSIP_MENU();
           go->MonsterWhisper("Combat!", player->GetGUID());
           return true;
       }
       else
       {
           player->ADD_GOSSIP_ITEM( 0, "Medium Treasure!"                         , GOSSIP_SENDER_MAIN, 1);
       }

       player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, go->GetGUID());         
       return true;
   }

   bool TryToSellTreasureItem(Player* player, GameObject* go, unsigned int reqID, unsigned int rewardID)
   {
       if (player->HasItemCount( reqID, 1, false ))
       {
           player->CLOSE_GOSSIP_MENU();

           //Addnutie Itemu
           uint32 noSpaceForCount = 0;

           //Kontrola volneho miesta v Bagu
           ItemPosCountVec dest;
           uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, rewardID, 1, &noSpaceForCount );
            unsigned int count = 1;
           if( msg != EQUIP_ERR_OK )                               
               count -= noSpaceForCount;

           if( count == 0 || dest.empty())                         
           {
               ChatHandler(player).PSendSysMessage(LANG_ITEM_CANNOT_CREATE, rewardID, noSpaceForCount );
               return false;
           }
           Item* item = player->StoreNewItem( dest, rewardID, true, Item::GenerateItemRandomPropertyId(rewardID));

           return true;
       }

       player->CLOSE_GOSSIP_MENU();
       ChatHandler(player).SendSysMessage(LANG_TREASURE_APPRENTICE);
       return false;
   }

   bool OnGossipSelect(Player* player, GameObject* go, uint32 sender, uint32 uiAction)
   {
       if (sender == GOSSIP_SENDER_MAIN)
       {
           player->PlayerTalkClass->ClearMenus();
           switch(uiAction)
           {
            case 1://Medium Treasure!
               bool ret =  TryToSellTreasureItem(player, go, 999906, 999901);

               if(ret)
                   go->Delete();

               return ret;
           } 
       } 
       return true;
   } 
};


/* Large Treasure */

class go_chestlarge : public GameObjectScript
{
public:
   go_chestlarge() : GameObjectScript("go_chestlarge") { }

   bool OnGossipHello(Player* player, GameObject* go)
   {
       if (player->isInCombat())
       {
           player->CLOSE_GOSSIP_MENU();
           go->MonsterWhisper("Combat!", player->GetGUID());
           return true;
       }
       else
       {
           player->ADD_GOSSIP_ITEM( 0, "Large Treasure!"                         , GOSSIP_SENDER_MAIN, 1);
       }

       player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, go->GetGUID());         
       return true;
   }

   bool TryToSellTreasureItem(Player* player, GameObject* go, unsigned int reqID, unsigned int rewardID)
   {
       if (player->HasItemCount( reqID, 1, false ))
       {
           player->CLOSE_GOSSIP_MENU();

           //Addnutie Itemu
           uint32 noSpaceForCount = 0;

           //Kontrola volneho miesta v Bagu
           ItemPosCountVec dest;
           uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, rewardID, 1, &noSpaceForCount );
            unsigned int count = 1;
           if( msg != EQUIP_ERR_OK )                               
               count -= noSpaceForCount;

           if( count == 0 || dest.empty())                         
           {
               ChatHandler(player).PSendSysMessage(LANG_ITEM_CANNOT_CREATE, rewardID, noSpaceForCount );
               return false;
           }
           Item* item = player->StoreNewItem( dest, rewardID, true, Item::GenerateItemRandomPropertyId(rewardID));

           return true;
       }

       player->CLOSE_GOSSIP_MENU();
       ChatHandler(player).SendSysMessage(LANG_TREASURE_JOURNEYMAN);
       return false;
   }

   bool OnGossipSelect(Player* player, GameObject* go, uint32 sender, uint32 uiAction)
   {
       if (sender == GOSSIP_SENDER_MAIN)
       {
           player->PlayerTalkClass->ClearMenus();
           switch(uiAction)
           {
            case 1://Large Treasure!
               bool ret =  TryToSellTreasureItem(player, go, 999907, 999902);

               if(ret)
                   go->Delete();

               return ret;
           } 
       } 
       return true;
   } 
};


/* Southsea Treasure */

class go_chestsouthsea : public GameObjectScript
{
public:
   go_chestsouthsea() : GameObjectScript("go_chestsouthsea") { }

   bool OnGossipHello(Player* player, GameObject* go)
   {
       if (player->isInCombat())
       {
           player->CLOSE_GOSSIP_MENU();
           go->MonsterWhisper("Combat!", player->GetGUID());
           return true;
       }
       else
       {
           player->ADD_GOSSIP_ITEM( 0, "Southsea Treasure!"                         , GOSSIP_SENDER_MAIN, 1);
       }

       player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, go->GetGUID());         
       return true;
   }

   bool TryToSellTreasureItem(Player* player, GameObject* go, unsigned int reqID, unsigned int rewardID)
   {
       if (player->HasItemCount( reqID, 1, false ))
       {
           player->CLOSE_GOSSIP_MENU();

           //Addnutie Itemu
           uint32 noSpaceForCount = 0;

           //Kontrola volneho miesta v Bagu
           ItemPosCountVec dest;
           uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, rewardID, 1, &noSpaceForCount );
            unsigned int count = 1;
           if( msg != EQUIP_ERR_OK )                               
               count -= noSpaceForCount;

           if( count == 0 || dest.empty())                         
           {
               ChatHandler(player).PSendSysMessage(LANG_ITEM_CANNOT_CREATE, rewardID, noSpaceForCount );
               return false;
           }
           Item* item = player->StoreNewItem( dest, rewardID, true, Item::GenerateItemRandomPropertyId(rewardID));

           return true;
       }

       player->CLOSE_GOSSIP_MENU();
       ChatHandler(player).SendSysMessage(LANG_TREASURE_EXPERT);
       return false;
   }

   bool OnGossipSelect(Player* player, GameObject* go, uint32 sender, uint32 uiAction)
   {
       if (sender == GOSSIP_SENDER_MAIN)
       {
           player->PlayerTalkClass->ClearMenus();
           switch(uiAction)
           {
            case 1://Southsea Treasure!
               bool ret =  TryToSellTreasureItem(player, go, 999908, 999903);

               if(ret)
                   go->Delete();

               return ret;
           } 
       } 
       return true;
   } 
};

/* Family Treasure */

class go_chestfamily : public GameObjectScript
{
public:
   go_chestfamily() : GameObjectScript("go_chestfamily") { }

   bool OnGossipHello(Player* player, GameObject* go)
   {
       if (player->isInCombat())
       {
           player->CLOSE_GOSSIP_MENU();
           go->MonsterWhisper("Combat!", player->GetGUID());
           return true;
       }
       else
       {
           player->ADD_GOSSIP_ITEM( 0, "Family Treasure!"                         , GOSSIP_SENDER_MAIN, 1);
       }

       player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, go->GetGUID());         
       return true;
   }

   bool TryToSellTreasureItem(Player* player, GameObject* go, unsigned int reqID, unsigned int rewardID)
   {
       if (player->HasItemCount( reqID, 1, false ))
       {
           player->CLOSE_GOSSIP_MENU();

           //Addnutie Itemu
           uint32 noSpaceForCount = 0;

           //Kontrola volneho miesta v Bagu
           ItemPosCountVec dest;
           uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, rewardID, 1, &noSpaceForCount );
            unsigned int count = 1;
           if( msg != EQUIP_ERR_OK )                               
               count -= noSpaceForCount;

           if( count == 0 || dest.empty())                         
           {
               ChatHandler(player).PSendSysMessage(LANG_ITEM_CANNOT_CREATE, rewardID, noSpaceForCount );
               return false;
           }
           Item* item = player->StoreNewItem( dest, rewardID, true, Item::GenerateItemRandomPropertyId(rewardID));

           return true;
       }

       player->CLOSE_GOSSIP_MENU();
       ChatHandler(player).SendSysMessage(LANG_TREASURE_ARTISAN);
       return false;
   }

   bool OnGossipSelect(Player* player, GameObject* go, uint32 sender, uint32 uiAction)
   {
       if (sender == GOSSIP_SENDER_MAIN)
       {
           player->PlayerTalkClass->ClearMenus();
           switch(uiAction)
           {
            case 1://Family Treasure!
               bool ret =  TryToSellTreasureItem(player, go, 999909, 999904);

               if(ret)
                   go->Delete();

               return ret;
           } 
       } 
       return true;
   } 
};


/* Extreme Treasure */

class go_chestextreme : public GameObjectScript
{
public:
   go_chestextreme() : GameObjectScript("go_chestextreme") { }

   bool OnGossipHello(Player* player, GameObject* go)
   {
       if (player->isInCombat())
       {
           player->CLOSE_GOSSIP_MENU();
           go->MonsterWhisper("Combat!", player->GetGUID());
           return true;
       }
       else
       {
           player->ADD_GOSSIP_ITEM( 0, "Extreme Treasure!"                         , GOSSIP_SENDER_MAIN, 1);
       }

       player->SEND_GOSSIP_MENU(DEFAULT_GOSSIP_MESSAGE, go->GetGUID());         
       return true;
   }

   bool TryToSellTreasureItem(Player* player, GameObject* go, unsigned int reqID, unsigned int rewardID)
   {
       if (player->HasItemCount( reqID, 1, false ))
       {
           player->CLOSE_GOSSIP_MENU();

           //Addnutie Itemu
           uint32 noSpaceForCount = 0;

           //Kontrola volneho miesta v Bagu
           ItemPosCountVec dest;
           uint8 msg = player->CanStoreNewItem( NULL_BAG, NULL_SLOT, dest, rewardID, 1, &noSpaceForCount );
            unsigned int count = 1;
           if( msg != EQUIP_ERR_OK )                               
               count -= noSpaceForCount;

           if( count == 0 || dest.empty())                         
           {
               ChatHandler(player).PSendSysMessage(LANG_ITEM_CANNOT_CREATE, rewardID, noSpaceForCount );
               return false;
           }
           Item* item = player->StoreNewItem( dest, rewardID, true, Item::GenerateItemRandomPropertyId(rewardID));

           return true;
       }

       player->CLOSE_GOSSIP_MENU();
       ChatHandler(player).SendSysMessage(LANG_TREASURE_MASTER);
       return false;
   }

   bool OnGossipSelect(Player* player, GameObject* go, uint32 sender, uint32 uiAction)
   {
       if (sender == GOSSIP_SENDER_MAIN)
       {
           player->PlayerTalkClass->ClearMenus();
           switch(uiAction)
           {
            case 1://Extreme Treasure!
               bool ret =  TryToSellTreasureItem(player, go, 999910, 999905);

               if(ret)
                   go->Delete();

               return ret;
           } 
       } 
       return true;
   } 
};

void AddSC_go_profession()
{
   new go_chestsmall();
   new go_chestmedium();
   new go_chestlarge();
   new go_chestsouthsea();
   new go_chestfamily();
   new go_chestextreme();
}

 

 

 

(Poprípade link na sťiahnutie http://www.apokalypsa.sk/CustomProfession.patch )

 

Dúfam, že sa to niekomu zíde :mellow:

Edited by Smrtokvitek80
  • Upvote 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×