Hello & Welcome to our community. Is this your first visit? Register
Follow us on
Follow us on Facebook Follow us on Twitter Watch us on YouTube


MMOCoin

Likes Likes:  0
Results 1 to 2 of 2
  1. #1
    Graphics Guru

    Join Date
    Feb 2009
    Posts
    1,377
    Post Thanks / Like
    Rep Power
    22
    Reputation
    382

    C++ Make a zone Sanctuary!


    Register to remove this ad
    C++ Make a zone Sanctuary!



    I know a lot of people use DBC editing to make a zone a sanctuary, but here is a simple C++ edit that will give you exactly the same results (and it's much easier to edit etc). This will allow dueling in the specified zone, but disables PvP between factions (great for a mall).


    Open -> Player.cpp:

    Find: (around line 7636)
    Code:
    if (area && area->IsSanctuary()) // in sanctuary
    Replace with:
    Code:
    if (area && area->IsSanctuary() || GetAreaId() == 100) // Replace the 100 with your area ID
    Just change the 100 to whatever area ID you wish to use. (Use .gps in the area you wish to make a sanctuary and replace it with the ID above).




    › See More: C++ Make a zone Sanctuary!



  2. Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread

  3. #2
    Founder
    Apple's Avatar
    Join Date
    Jul 2008
    Location
    HeaveN
    Posts
    15,916
    Post Thanks / Like
    Rep Power
    10
    Reputation
    295

    Register to remove this ad
    nice , thanks for sharing!





 

 

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!
SEO Blog

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -5. The time now is 01:32 AM.
Powered by vBulletin® Copyright ©2000-2024, Jelsoft Enterprises Ltd.
See More links by ForumSetup.net. Feedback Buttons provided by Advanced Post Thanks / Like (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
vBulletin Licensed to: MMOPro.org