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

Search the Community: Showing results for tags 'trinity'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • News and Announcements
    • News
  • General
    • General Chat
    • Graphics Discussion
    • Coding Lounge
  • World Of Warcraft
    • Releases
    • Tutorials
    • Support
    • Private Server Chat
    • Retail Discussion
    • Model Editing
    • Exploits
  • WoW Servers
    • Server Listing
    • Recruitment & Gamemasters
  • Marketplace
    • Marketplace
  • Other Games
    • Minecraft
    • League Of Legends
    • Diablo 3
  • Non-WoW Section
    • Applications
    • General Chat
  • Videos
    • Videos

Categories

  • Applications
  • CMS
  • SQL Scripts
  • Non-WoW Applications

Categories

  • WoW Related Videos
  • Funny Videos
  • Other Games Videos
  • Music Videos
  • Designer Videos
  • Personal Videos
  • Other

Found 11 results

  1. /* <---------------------------------------------------------------------------> - 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(); }
  2. Version 1.0.0

    38 downloads

    This file is for the newest cores
  3. [Trinity] All Classes All Races View File This file is for the newest cores Submitter JadaDev Submitted 10/12/2018 Category SQL Scripts  
  4. Version 1.0.0

    10 downloads

    This file is for old cores
  5. [Trinity] All Classes All Races View File This file is for old cores Submitter JadaDev Submitted 10/12/2018 Category SQL Scripts  
  6. dbc editor DBC Editor

    Version 1.0.0

    9 downloads

    DBC Editiing
  7. dbc editor

    DBC Editor View File DBC Editiing Submitter JadaDev Submitted 10/10/2018 Category Applications  
  8. [Noob Friendly] Creating a Sanctuary or Free For All Zone I realise this has been posted before, But the guide I found only explains the pvp flags, and I heard some people not knowing wtf to do so I guess I'll make a slightly more detailed guide. Download DBC Editor: Now find the zone you want to edit, Two ways for this: a. Go ingame and type .gps: Look at the Zone ID, If the number is not 0, Remember it. If it is 0, remember the AREA ID. For example I will take The Veiled Sea in Silithus Zone ID: 1377, Area 2477, So I'll remember the Zone ID, 1377 Open up the DBC editor, Click File > Open Go to your server's folder/dbc (Example \Arcemu\dbc\), Look for the file Areatable.dbc and open it with the DBC editor. b. The second method is to now go to Field 11 and look for the name of the zone you want to edit. If you used the first method, Then go find the ID in field 0 or ID. If you have found the zone go to Field 4 of the zone and replace the current number with the one of your choice: 19496 - Sanctuary (No duels allowed) 19456 - Sanctuary (Duels allowed) 17536 - Free for All (Used in places such as gurubashi arena) 64 - Normal zone. If you have set everything the way you like, You can now save, But be careful because this program is a piece of shit sometimes, Click on a different zone or row and then press save, Otherwis it won't for some reason. When you have saved you can also rename the zone by changing Field 11. Note, This is only serverside, Players will not be able to see this unless they have a patch with this file in. The changes apply after a server restart Additional steps: If you have a client side server or would like to see the zone beign actually sanctuary or free for all ingame, and see the zone name ingame, Then you have to follow these steps. Download MPQ editor: Extract it and open it, and click File > New MPQ Archive. Enter the name of the patch. This should always be "patch-X.MPQ" The X can be replaced by another letter, Just make sure it's in caps or it won't read. And the p from patch cannot be in caps. (Heard some people having trouble with this aswell) When you have created the new MPQ create a folder named DBFilesClient. And put the Areatable.dbc in that folder inside the MPQ. Now close the program, You will find the MPQ in the same folder as the MPQ editor. Move this file to your World of Warcraft/Data folder, Restart wow, Restart your server, and done! I hope that was clear enough
  9. Item.DBC Creator View File The ultimate Item.dbc creator! 1 click creator! Submitter Cloud9 Submitted 10/07/2018 Category Applications  
  10. Item.DBC Creator

    Version 1.0.0

    15 downloads

    The ultimate Item.dbc creator! 1 click creator!