Welcome to JadaDev

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

  • Announcements

    • JadaDev

      Themes   10/08/2018

      You're able to change theme in the bottom of the site.
    • JadaDev

      Live Chat   10/30/2019

      Live Chat

Forums

  1. News and Announcements

    1. News

      Catch up on the latest news

      3
      posts
  2. General

    1. General Chat

      Discussion about anything that isn't world of warcraft

      7
      posts
    2. Graphics Discussion

      Anything graphics related goes in here

      • No posts here yet
    3. Coding Lounge

      General programming discussion (C++/C#/PHP etc...)

      • No posts here yet
  3. World Of Warcraft

    1. 57
      posts
    2. 11
      posts
    3. Support

      Need Help? Ask here!

      20
      posts
    4. Private Server Chat

      General private server chat, this is NOT a help section!

      6
      posts
    5. Retail Discussion

      Retail World of Warcraft discussion.

      • No posts here yet
    6. Model Editing

      World Of Warcraft Model Editing

      • No posts here yet
    7. Exploits

      In Game Exploits for World Of Warcraft Private Servers.

      • No posts here yet
  4. WoW Servers

    1. Server Listing

      List your WoW private server here!

      30
      posts
    2. Recruitment & Gamemasters

      Gamemaster applications and server/project recruitment.

      4
      posts
  5. Marketplace

    1. Marketplace

      Buy or sell WoW/Graphics related goods or services.

      2
      posts
  6. Other Games

    1. Minecraft

      Minecraft Discussion.

      • No posts here yet
    2. League Of Legends

      League Of Legends Discussion.

      • No posts here yet
    3. Diablo 3

      Diablo discussion.

      • No posts here yet
  7. Non-WoW Section

    1. Applications

      Applications such as windows 7 / 8 / 10 and other OS

      • No posts here yet
    2. General Chat

      Non-WoW General Chat

      • No posts here yet
  8. Videos



  • Topics

  • Posts

    • /* <---------------------------------------------------------------------------> - Developer: Kolin 'Valtorei' - Updated By: JadaDev Special Thanks for Loud21! - Complete: ?% - ScriptName: 'Beastmaster_Trainer' - Developed: 07/15/2014 - Update: 12/28/2019 <---------------------------------------------------------------------------> */ #include "Pet.h" #include "ObjectMgr.h" #include "Log.h" #include "ScriptMgr.h" #include "ScriptedCreature.h" #include "ScriptedGossip.h" #include "Player.h" #include "WorldSession.h" #include "CreatureAI.h" class CS_beastmaster_trainer : public CreatureScript { public: CS_beastmaster_trainer() : CreatureScript("CS_beastmaster_trainer") {} struct BeastMasterAI : public ScriptedAI { BeastMasterAI(Creature* creature) : ScriptedAI(creature) {} void CreatePet(Player* player, Creature* creature, uint32 entry) { Creature* creatureTarget = creature->SummonCreature(entry, player->GetPositionX(), player->GetPositionY() + 2, player->GetPositionZ(), player->GetOrientation(), TEMPSUMMON_CORPSE_TIMED_DESPAWN, 500); if (!creatureTarget) return; Pet* pet = player->CreateTamedPetFrom(creatureTarget, 0); if (!pet) return; creatureTarget->setDeathState(JUST_DIED); creatureTarget->RemoveCorpse(); creatureTarget->SetHealth(0); pet->SetPower(POWER_HAPPINESS, 10480000); pet->SetUInt64Value(UNIT_FIELD_CREATEDBY, player->GetGUID()); pet->SetUInt64Value(UNIT_FIELD_FACTIONTEMPLATE, player->GetFaction()); pet->SetUInt64Value(UNIT_FIELD_LEVEL, player->GetLevel()); pet->GetMap()->AddToMap(pet->ToCreature()); pet->GetCharmInfo()->SetPetNumber(sObjectMgr->GeneratePetNumber(), true); if (!pet->InitStatsForLevel(player->GetLevel())) TC_LOG_INFO("misc", "Falha %u", entry); pet->UpdateAllStats(); player->SetMinion(pet, true); pet->SavePetToDB(PET_SAVE_AS_CURRENT); pet->InitTalentForLevel(); player->PetSpellInitialize(); ClearGossipMenuFor(player); creature->Whisper("Você adquiriu um novo pet, parabéns", LANG_UNIVERSAL, player); } bool OnGossipHello(Player* player, Creature* creature) { if (player->GetClass() != CLASS_HUNTER) { creature->Whisper("Apenas posso treinar hunters.", LANG_UNIVERSAL, player); ClearGossipMenuFor(player); return false; } if (player->GetPet()) { creature->Whisper("Você tem que remover seu pet atual para receber um novo.", LANG_UNIVERSAL, player); ClearGossipMenuFor(player); return false; } AddGossipItemFor(player, 1, "Obter novo pet", GOSSIP_SENDER_MAIN, 30); if (player->CanTameExoticPets()) AddGossipItemFor(player, 2, "Obter um pet exotico", GOSSIP_SENDER_MAIN, 50); AddGossipItemFor(player, 5, "Sair!", GOSSIP_SENDER_MAIN, 150); SendGossipMenuFor(player, 1, creature->GetGUID()); return true; } bool OnGossipSelect(Player* player, Creature* creature, uint32 /*sender*/, uint32 action) { player->PlayerTalkClass->ClearMenus(); switch (action) { case 100: OnGossipHello(player, creature); break; case 150: ClearGossipMenuFor(player); break; case 30: AddGossipItemFor(player, 6, "Bat", GOSSIP_SENDER_MAIN, 18); AddGossipItemFor(player, 6, "Bear", GOSSIP_SENDER_MAIN, 1); AddGossipItemFor(player, 6, "Boar", GOSSIP_SENDER_MAIN, 2); AddGossipItemFor(player, 6, "Cat", GOSSIP_SENDER_MAIN, 4); AddGossipItemFor(player, 6, "Carrion Bird", GOSSIP_SENDER_MAIN, 5); AddGossipItemFor(player, 6, "Crab", GOSSIP_SENDER_MAIN, 6); AddGossipItemFor(player, 6, "Crocolisk", GOSSIP_SENDER_MAIN, 7); AddGossipItemFor(player, 6, "Dragonhawk", GOSSIP_SENDER_MAIN, 17); AddGossipItemFor(player, 6, "Gorilla", GOSSIP_SENDER_MAIN, 8); AddGossipItemFor(player, 6, "Hound", GOSSIP_SENDER_MAIN, 9); AddGossipItemFor(player, 6, "Hyena", GOSSIP_SENDER_MAIN, 10); AddGossipItemFor(player, 6, "Moth", GOSSIP_SENDER_MAIN, 11); AddGossipItemFor(player, 6, "Owl", GOSSIP_SENDER_MAIN, 12); AddGossipItemFor(player, 4, "Next Page ->", GOSSIP_SENDER_MAIN, 31); AddGossipItemFor(player, 4, "<- Main Menu", GOSSIP_SENDER_MAIN, 100); AddGossipItemFor(player, 5, "Nevermind!", GOSSIP_SENDER_MAIN, 150); SendGossipMenuFor(player, 1, creature->GetGUID()); break; case 31: AddGossipItemFor(player, 6, "Raptor", GOSSIP_SENDER_MAIN, 20); AddGossipItemFor(player, 6, "Ravager", GOSSIP_SENDER_MAIN, 19); AddGossipItemFor(player, 6, "Strider", GOSSIP_SENDER_MAIN, 13); AddGossipItemFor(player, 6, "Scorpid", GOSSIP_SENDER_MAIN, 414); AddGossipItemFor(player, 6, "Spider", GOSSIP_SENDER_MAIN, 16); AddGossipItemFor(player, 6, "Serpent", GOSSIP_SENDER_MAIN, 21); AddGossipItemFor(player, 6, "Turtle", GOSSIP_SENDER_MAIN, 15); AddGossipItemFor(player, 6, "Wasp", GOSSIP_SENDER_MAIN, 93); AddGossipItemFor(player, 4, "<- Previous Page", GOSSIP_SENDER_MAIN, 30); AddGossipItemFor(player, 4, "<- Main Menu", GOSSIP_SENDER_MAIN, 100); AddGossipItemFor(player, 5, "Nevermind!", GOSSIP_SENDER_MAIN, 150); SendGossipMenuFor(player, 1, creature->GetGUID()); break; case 50: AddGossipItemFor(player, 6, "Chimaera", GOSSIP_SENDER_MAIN, 51); AddGossipItemFor(player, 6, "Core Hound", GOSSIP_SENDER_MAIN, 52); AddGossipItemFor(player, 6, "Devilsaur", GOSSIP_SENDER_MAIN, 53); AddGossipItemFor(player, 6, "Rhino", GOSSIP_SENDER_MAIN, 54); AddGossipItemFor(player, 6, "Silithid", GOSSIP_SENDER_MAIN, 55); AddGossipItemFor(player, 6, "Worm", GOSSIP_SENDER_MAIN, 56); AddGossipItemFor(player, 6, "Loque'nahak", GOSSIP_SENDER_MAIN, 57); AddGossipItemFor(player, 6, "Skoll", GOSSIP_SENDER_MAIN, 58); AddGossipItemFor(player, 6, "Gondri.", GOSSIP_SENDER_MAIN, 59); AddGossipItemFor(player, 4, "<- Main Menu", GOSSIP_SENDER_MAIN, 100); AddGossipItemFor(player, 5, "Nevermind!", GOSSIP_SENDER_MAIN, 150); SendGossipMenuFor(player, 1, creature->GetGUID()); break; // Credits to Serifaz who helped me with these ID's. case 51: // Chimera CreatePet(player, creature, 21879); break; case 52: // Core hound CreatePet(player, creature, 21108); break; case 53: // Devilsaur CreatePet(player, creature, 20931); break; case 54: // Rhino CreatePet(player, creature, 30445); break; case 55: // Silithid CreatePet(player, creature, 5460); break; case 56: // Worm CreatePet(player, creature, 30148); break; case 57: // Loque'nahak CreatePet(player, creature, 32517); break; case 58: // Skoll CreatePet(player, creature, 35189); break; case 59: // Gondria CreatePet(player, creature, 33776); break; case 16: // Spider CreatePet(player, creature, 2349); break; case 17: // Dragonhawk CreatePet(player, creature, 27946); break; case 18: // Bat CreatePet(player, creature, 28233); break; case 19: // Ravager CreatePet(player, creature, 17199); break; case 20: // Raptor CreatePet(player, creature, 14821); break; case 21: // Serpent CreatePet(player, creature, 28358); break; case 1: // Bear CreatePet(player, creature, 29319); break; case 2: // Boar CreatePet(player, creature, 29996); break; case 93: // Bug CreatePet(player, creature, 28085); break; case 4: // Cat CreatePet(player, creature, 28097); break; case 5: // Carrion CreatePet(player, creature, 26838); break; case 6: // Crab CreatePet(player, creature, 24478); break; case 7: // Crocolisk CreatePet(player, creature, 1417); break; case 8: // Gorila CreatePet(player, creature, 28213); break; case 9: // Hound CreatePet(player, creature, 29452); break; case 10: // Hyena CreatePet(player, creature, 13036); break; case 11: // Moth CreatePet(player, creature, 27421); break; case 12: // Owl CreatePet(player, creature, 23136); break; case 13: // Strider CreatePet(player, creature, 22807); break; case 414: // Scorpid CreatePet(player, creature, 9698); break; case 15: // Turtle CreatePet(player, creature, 25482); break; } return true; } }; CreatureAI* GetAI(Creature* creature) const override { return new BeastMasterAI(creature); } }; void AddSC_Beastmaster_Trainer() { new CS_beastmaster_trainer(); }  
    • The End of PrivateWoW-TopServers Journey

      Dear Members, we are unfortunately to announce of shutting down PrivateWoW-TopServers toplist site.
      Over 4 years we had our ups and downs.
      Unfortunately we were unable to find a developer to fix and improve our toplist site.

      All Presonal Data (Email, Server Name, Payment information...) will be delete by the GDPR Law.

      PrivateWoW-TopServers Website/Files are on Sale.
      If you want to know more information, feel free contact us on our Official PrivateWoW-TopServers discord server (https://discord.gg/amZC94x)

      PrivateWoW-TopServers will shutdown 1.1.2020.
      All Members who have "In" Votes will get Free Premium Rank until 1.1.2020.

      PrivateWoW-TopServers Administrator.
    • Guest morpheusxeno
      Hello, I'd would like to have my account removed from your website in accordance with GDPR.  Please and thank you. 
    • can u please fix this to work with newest trinitycore and db thanks!
  • Popular Contributors

    Nobody has received reputation this week.

  • Forum Statistics

    • Total Topics
      60
    • Total Posts
      148
  • Download Statistics

    • Files
      11
    • Reviews
      1

    Latest File
    By JadaDev

    38    0

  • Member Statistics

    • Total Members
      229
    • Most Online
      388

    Newest Member
    TeeJayAwreka
    Joined
  • Latest Videos

  • Latest Comments

  • Top Downloads

    1. By JadaDev
         3   0
    2. By Cloud9
         1   0
    1. By JadaDev
         3   0
    2. By Cloud9
         2   0