Restrict an item in BG and Arena menu

User Tag List

Results 1 to 5 of 5
  1. #1
    ludde_193's Avatar Member
    Reputation
    16
    Join Date
    Mar 2007
    Posts
    87
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Restrict an item in BG and Arena

    I'm using the OregonCore, a TrinityCore based emu, and I made this 300% mount..
    Now to the problem, I dont want players to be able to use it in arenas or battlegrounds, are there any way to do this?

    Thanks.
    Last edited by stoneharry; 07-16-2011 at 11:38 AM. Reason: Added prefix because apparently you can't read the stickied thread saying the rules.

    Restrict an item in BG and Arena
  2. #2
    phantom325's Avatar Turtle Nation
    Reputation
    1033
    Join Date
    Apr 2011
    Posts
    2,628
    Thanks G/R
    81/162
    Trade Feedback
    2 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm sure there is a way, but I'm not some expert on this kind of thing. While you're waiting for a better response, I'd just disable the mount

  3. #3
    ludde_193's Avatar Member
    Reputation
    16
    Join Date
    Mar 2007
    Posts
    87
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by phantom325 View Post
    I'm sure there is a way, but I'm not some expert on this kind of thing. While you're waiting for a better response, I'd just disable the mount
    Well, it's pretty decent flying around at 580% for regular players in Outland, and 300% in azeroth ^^

  4. #4
    stoneharry's Avatar Moderator Harry


    Reputation
    1618
    Join Date
    Sep 2007
    Posts
    4,564
    Thanks G/R
    151/150
    Trade Feedback
    0 (0%)
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Find where the spell effect is handled within the core, check for IsInBattleground (if there is such a function) or if the map ID is equal to one of the BG map's, and then if it is, don't let it cast and display message, if it isn't, let it mount normally.

  5. #5
    ludde_193's Avatar Member
    Reputation
    16
    Join Date
    Mar 2007
    Posts
    87
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by stoneharry View Post
    Find where the spell effect is handled within the core, check for IsInBattleground (if there is such a function) or if the map ID is equal to one of the BG map's, and then if it is, don't let it cast and display message, if it isn't, let it mount normally.
    Pretty much impossible for me, I've compiled the core myself, I can add custom scripts, but that's about it.. So I have no clue what to do NVM, I solved it by setting -1000Stamina and -10000Mana on the item.
    Last edited by ludde_193; 07-18-2011 at 01:14 AM.

Similar Threads

  1. item Teleport [completed and functional]
    By venom9122 in forum World of Warcraft Emulator Servers
    Replies: 15
    Last Post: 12-13-2007, 11:46 PM
  2. Mage or rogue for end game pvp?(worldpvp[lol] and arena)
    By Blaqk05 in forum World of Warcraft General
    Replies: 7
    Last Post: 10-28-2007, 12:13 AM
  3. PICTURE Tutorial: Extract a list of all NPCS/ITEMS with ID and Display ID!
    By selulancie in forum WoW EMU Guides & Tutorials
    Replies: 2
    Last Post: 09-26-2007, 08:26 AM
  4. Replies: 10
    Last Post: 09-17-2007, 02:37 AM
  5. Transfer gold and items between horde and alliance
    By Coolness in forum World of Warcraft Exploits
    Replies: 6
    Last Post: 11-04-2006, 03:46 PM
All times are GMT -5. The time now is 02:14 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search