• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Search results

  1. Z

    TrinityCore 3.3.5 Fetch from specific Field CPP

    Hi, i wanna get the value from an specific field when I'm doing a SQL request. This is my code: int itemsBD = 5; QueryResult id_items = WorldDatabase.PQuery("SELECT entry_item,nombre_item,valor_en_tickets FROM gm_recompensa"); int64 id_itemsDB = 0; int64 valor_BD = 0...
  2. Z

    TrinityCore 3.3.5 TABLE: character_queststatus is not updating itself

    As the title says, the table "character_queststatus" inside db Characters is not actualizing or updating itself, so it causes many issues in player quests making invalid to complete their quests. I tried with .save, and creating an NPC with "player->SaveToDB();" but it seems is not working. I...
  3. Z

    [SOLVED] Quest Status and Verify Items/Kills

    Well, I'm making a npc to verify if a player has a quest completed. As you maybe know, some custom quest gets bug and the players can't recive the awards and they have the npc kills or items requireds. So, my NPC will check the items and requiredNPCorGo, and if those fields are completed...
  4. Z

    [SOLVED] Gossip Items Question

    Hello I'm making an npc Gossip with options (obviously) and I have an option to create another menu clearing the current menu. So, when I make the new menu, I wanna add a gossip item to return to the main menu. How can I do it? Thanks
  5. Z

    [SOLVED] Player Extensions CPP

    Hey, where I can find the player extensions?? For ex: player->GetSession Where I can find more extensions like GetSession? Or all the extensions for Items, Spells, etc. Thanks
  6. Z

    [SOLVED] Remove X Aura if player has another Aura.

    Well, as the title says... I wan't to remove X aura from the player if (s)he has another aura, for ex: Player uses X spell and it gives the aura 12345, and then If (s)he uses the aura 22334, remove 12345 from the player. I'm trying to do this in Spell.cpp and SpellMgr.cpp, but it doesn't...
  7. Z

    TrinityCore 3.3.5 Player Alert in CPP file

    Hey what's up. I'm trying to clone the WoD BG Alert system (countdown and then, appears the faction logo). I'm trying to do this with the: SendAreaTriggerMessage(""); But the message is in the top, i wanna have something more centered, like the alert "The battle has begun" in the battlegrounds.
  8. Z

    TrinityCore 3.3.5 Do something in X time

    Hey, what's up. I'm making a script and I'm implementing QueryResult, so, when the QueryResult returns X value, the script will delete a row inside the db after 2 hours. Is simple, QueryResult returns 5 (for ex), if (result == 5) delete row from table after 2 hours. I hope u can help me. Regards
  9. Z

    [SOLVED] QueryResult inside CPP file crash server?

    Hey, I'm doing a new system and it requires a Query consult to avoid compile every time I need to add a new ID to the array, so I made a db and I'm getting the data. I write: Item* item = _player->GetItemByPos(INVENTORY_SLOT_BAG_0, i); QueryResult itemdb = CharacterDatabase.PQuery("SELECT...
  10. Z

    TrinityCore 3.3.5 Control BG Announcer Buttons

    Hey, I wanna verify something before the player enter to BG (Clicking on "Join Battle" or "Leave Queue"). Which files I need to edit?? These buttons I wanna edit (I'm Colombian, I hope you can understand Spanish). Thanks a lot for, at least, entering here.
  11. Z

    TrinityCore 3.3.5 Don't allow access to BG/Arena if player has item equipped

    Well, as the title says... I wanna block the access to arena or bg (Clicking on the button "enter to the bg/arena") if the player has equipped an item specified before in an array or similar. Or if u have in mind something similar as that I want, I'll appreciate your ideas. I really really...
  12. Z

    TrinityCore 3.3.5 Add tag before player name (chat)

    Hey what's up. I wanna put a tag before the player name when (s)he send any message (say, yell, guild, etc). At this moment, the basic msg: [Zhier]: Hi bro. I wanna do something like: [TAG][Zhier]: Hi bro. (I wanna do it with GetSecurity or checking which commands the player have). I hope...
Top