Guards. menu

User Tag List

Thread: Guards.

Results 1 to 8 of 8
  1. #1
    roflstomp15's Avatar Banned
    Reputation
    1
    Join Date
    Dec 2007
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Guards.

    I've read up a lot on them, but I can't seem to find it. Could anyone tell me how to make guards for a Mall area that I DON'T want PvP in?

    Guards.
  2. #2
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    #include "StdAfx.h"
    #include "Setup.h"
    
    #define Zone 42;
    void OnEnterCombat(Player *pPlayer, Unit *pUnit)
    {
       if (pPlayer->GetZoneId() == Zone)
       {        
    pPlayer->KillPlayer();   
    
          pPlayer->BroadcastMessage("Do not pvp!");
       }
    }
    void SetupNoPvP(ScriptMgr* mgr){
      mgr->register_hook(SERVER_HOOK_EVENT_ON_ENTER_COMBAT, &OnEnterCombat);
    }


    Change 42, to the number of your zone.
    Life Puzzler WoW - Website | Forums

  3. #3
    Sylex's Avatar Active Member
    Reputation
    101
    Join Date
    May 2007
    Posts
    141
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Doesn't that eat cpu?

  4. #4
    doublehex's Avatar Member
    Reputation
    34
    Join Date
    Mar 2007
    Posts
    385
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i think it does, you can try this guard: Board Message

  5. #5
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yea my method is a hacky way, and it does eat cpu
    But all anti-pvp scripts so far have.
    Life Puzzler WoW - Website | Forums

  6. #6
    roflstomp15's Avatar Banned
    Reputation
    1
    Join Date
    Dec 2007
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Gastricpenguin View Post
    Code:
    #include "StdAfx.h"
    #include "Setup.h"
    
    #define Zone 42;
    void OnEnterCombat(Player *pPlayer, Unit *pUnit)
    {
       if (pPlayer->GetZoneId() == Zone)
       {        
    pPlayer->KillPlayer();   
    
          pPlayer->BroadcastMessage("Do not pvp!");
       }
    }
    void SetupNoPvP(ScriptMgr* mgr){
      mgr->register_hook(SERVER_HOOK_EVENT_ON_ENTER_COMBAT, &OnEnterCombat);
    }
    Change 42, to the number of your zone.
    Now is that a LUA and go into the script folder?

    And I deleted my old guards in the pack I DL'd to get new ones, but I'm kind of stuck on how to make them. Any help?

  7. #7
    Spartansp's Avatar Member
    Reputation
    644
    Join Date
    Sep 2007
    Posts
    1,803
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by roflstomp15 View Post
    Now is that a LUA and go into the script folder?

    And I deleted my old guards in the pack I DL'd to get new ones, but I'm kind of stuck on how to make them. Any help?
    no this is C++ need to be compiled and placed in script_bin folder

  8. #8
    roflstomp15's Avatar Banned
    Reputation
    1
    Join Date
    Dec 2007
    Posts
    24
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Spartansp View Post
    no this is C++ need to be compiled and placed in script_bin folder

    I have no clue how to do that...

Similar Threads

  1. Process Guard
    By DoubleTap in forum World of Warcraft General
    Replies: 0
    Last Post: 12-20-2006, 09:50 PM
  2. Guard assistance
    By general_salsa in forum World of Warcraft Exploits
    Replies: 3
    Last Post: 12-04-2006, 02:02 AM
  3. Campfire -> Horde Guard Tower?
    By ifnspifn in forum WoW ME Questions and Requests
    Replies: 4
    Last Post: 09-10-2006, 04:28 PM
  4. gank in gadgetzan guards or players cant hurt u
    By Zanatons in forum World of Warcraft Exploits
    Replies: 4
    Last Post: 07-29-2006, 12:53 PM
  5. Make NPC Guards Mad!
    By Tbone in forum World of Warcraft Exploits
    Replies: 19
    Last Post: 07-14-2006, 10:34 PM
All times are GMT -5. The time now is 03:40 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