[Noob Friendly] Creating a Sanctuary or Free For All Zone menu

User Tag List

Results 1 to 15 of 15
  1. #1
    Nadromar's Avatar Contributor
    CoreCoins Purchaser
    Reputation
    368
    Join Date
    Oct 2006
    Posts
    509
    Thanks G/R
    13/28
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [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:
    Filebeam - Free Fast File Hosting

    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:
    http://www.zezula.net/download/mpqediten32.zip

    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 :P
    Last edited by Nadromar; 07-02-2009 at 09:56 AM. Reason: Miss spell

    [Noob Friendly] Creating a Sanctuary or Free For All Zone
  2. #2
    [Ichigo]'s Avatar Active Member
    Reputation
    16
    Join Date
    Oct 2008
    Posts
    201
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    "17536 - Free for All (Used in places sich as gurubashi arena)"
    You made a mistake mate.
    17536 - Free for All (Used in places Such as gurubashi arena)

    btw thnxx +rep
    God's unwated children

  3. #3
    alj03's Avatar Contributor
    Reputation
    91
    Join Date
    Feb 2008
    Posts
    1,103
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd use it if i had my own server. GJ.
    Death to all but Metal.

  4. #4
    Vindicated's Avatar Contributor
    Reputation
    226
    Join Date
    Aug 2008
    Posts
    1,067
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Nice guide Nightfoxx. Keep up the good work +Rep x2

    Edit - Gotta spread


  5. #5
    Nadromar's Avatar Contributor
    CoreCoins Purchaser
    Reputation
    368
    Join Date
    Oct 2006
    Posts
    509
    Thanks G/R
    13/28
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks ^^

  6. #6
    slade1000's Avatar Active Member

    Reputation
    66
    Join Date
    Jun 2008
    Posts
    99
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could also do this in c++ Very Easily

    Code:
    #include "StdAfx.h"
    #include "Setup.h"
    
    void PvPDisableAtMall(PlayerPointer Plr, uint32 Type, uint32 Lang, const char * Message, const char * Misc)
    {
    	/*
    	 Comment One or The Other - One can set the map ID or One Can set the Zone ID - Example
    	 if (Plr->GetMapId() == 44)  = Turns Off PvP Flag when The Enter Map ID 44 ( Unused Monestary Instance )
    	 if (Plr->GetZoneId() == 394) = Turns Off PvP on Zone ID 394  ( Some Random Town Area in Grizzly Hills )
    	 Now that you see how to do this, you can also Add more zones to your "Disabled Areas" that you wish PvP
    	 to Disable on entry to save players from being ganked when exiting BG's or coming from other contested areas
    	 In the Future I may write this one out so that it disables pvp on entry of every new map, its really
    	 annoying when you enter an instance and certain things don't work because you are flagged for pvp
    	 Adding This to every map or zone possible with GM Checks can also be a good way to shut off pvp flags
    	 for Game Masters ^QQ^
    	 NOTE: PvP Can Still Be Enabled once you are in the map or zone, this only turns off your pvp flag
    	 On Map or Zone Entry
    	 TO DO: Figure out a constant call to have the script check every second if players are flagged and to disable
    	 */
    	/* EXAMPLE FOR ADDED MAPS / ZONES */
    	/*
    		// Random Map and Zone ID's used for Examples
    
    		if (Plr->GetGetMapId() == 44)
    		{
    		if (Plr->GetMapId() == 571) 
    		{
    		if (Plr->GetZoneId() == 396)
    		{
    		if (Plr->GetZoneId() == 1457)
    		{
    
    	*/
    	
    	//if (Plr->GetMapId() == 169)
    	if (Plr->GetZoneId() == 394)
      {
        if (Plr->IsPvPFlagged())
        {
          Plr->StopPvPTimer();
          Plr->RemovePvPFlag();
    
    	  /* 
    	  This Message is sent to the player on map / zone entry
    	  */
          sChatHandler.SystemMessage(Plr->GetSession(), "PvP is Disabled Here");
    
    	  /* 
    	  This Message Is sent to the Console Like So-
    	  "Server: Kalan Has Entered A Non PVP Area"
    	  */
          char msg[256];
    		sprintf(msg, "%s", Plr->GetName());
    		sprintf(msg, "%s Has Entered A Non PVP Area", msg);
    		Log.Notice("Server", msg);
    	}
    }
    }
    void SetupPvPDisableAtMall(ScriptMgr * mgr)
    {
      mgr->register_hook(SERVER_HOOK_EVENT_ON_ENTER_WORLD, (void*)&PvPDisableAtMall);
    }
    Not Mine I found it but its pretty easy to understand and somewhat easier then editiny mpqs credits go to tekkeryole on ac web for this


    But good guide non the less
    Last edited by slade1000; 07-03-2009 at 10:48 AM.

  7. #7
    Nadromar's Avatar Contributor
    CoreCoins Purchaser
    Reputation
    368
    Join Date
    Oct 2006
    Posts
    509
    Thanks G/R
    13/28
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes it does the same thing, But opening a DBC file isnt that hard, And the c++ does not do all the client side things.

  8. #8
    Cripto's Avatar Active Member
    Reputation
    33
    Join Date
    Jul 2008
    Posts
    104
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice guide + rep

    Aka Milation

  9. #9
    Hanpuch's Avatar Member
    Reputation
    1
    Join Date
    Oct 2008
    Posts
    27
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nice guide!

  10. #10
    mr_lew's Avatar Member
    Reputation
    1
    Join Date
    Sep 2009
    Posts
    9
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    DBC Method Takes server load down and if you look at that c++ code its horrendous +rep for original info

  11. #11
    Umpteenth's Avatar Member
    Reputation
    1
    Join Date
    Jun 2010
    Posts
    26
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    SO let me get this straight, It doesnt actually work, until you do the last step?

  12. #12
    Reflection's Avatar Legendary
    Reputation
    783
    Join Date
    Mar 2008
    Posts
    3,377
    Thanks G/R
    1/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Umpteenth View Post
    SO let me get this straight, It doesnt actually work, until you do the last step?
    No. The edited zone will still be free for all if you set it to that.

    Say that you edited Orgrimmar to be free for all: with only the first steps you'd be able to kill one another inside of the city but the zone would still DISPLAY as horde territory. If you'd add the dbc to an .mpq file as well, the players that you shared it to would also SEE Orgrimmar (Free for All).

    So:
    First Step: Only server-side
    Both Steps: Client & Server-side

    Freelance Digital Artist
    https://reflectionartwork.deviantart.com
    You did not desert me
    My brothers in arms


  13. #13
    Umpteenth's Avatar Member
    Reputation
    1
    Join Date
    Jun 2010
    Posts
    26
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Damnit, its not working for me. I shutdown server. deleted cache and put it back up. And its not working. I filled in field 4 to 17536, Changed the name place to Ump's PvP Area, The original place was Ring of Observance. I changed the field 11 to Ump's PvP Area. I saved it. And its still the same.
    I have done everything, restarted server, Exited wow, deleted cache, Ugh.. Nothing :/.
    Any help?

  14. #14
    I Hypnotoad I's Avatar Contributor
    Reputation
    147
    Join Date
    Aug 2007
    Posts
    873
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Scripting it in c++ is easier.
    Just sayin'


    Dragon[Sky] can get into our signatures, AND our pants.



  15. #15
    Umpteenth's Avatar Member
    Reputation
    1
    Join Date
    Jun 2010
    Posts
    26
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by I Hypnotoad I View Post
    Scripting it in c++ is easier.
    Just sayin'
    Dont know how. Im not a c++ person, but if you could show a guide or any help that would be helpful ^^

Similar Threads

  1. [Noob Friendly] Creating Custom requirement for your vendor
    By Nadromar in forum WoW EMU Guides & Tutorials
    Replies: 19
    Last Post: 05-23-2010, 01:41 PM
  2. [C++] Free For All Pvp
    By mager1794 in forum WoW EMU General Releases
    Replies: 25
    Last Post: 10-23-2009, 04:48 PM
  3. [Core Patch] Free for All Pvp
    By Gastricpenguin in forum WoW EMU General Releases
    Replies: 11
    Last Post: 02-11-2009, 08:23 PM
All times are GMT -5. The time now is 06:05 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search