Likes: 0
Results 1 to 2 of 2
Thread: C++ Make a zone Sanctuary!
-
29-09-13, 08:47 PM #1
C++ Make a zone Sanctuary!
Register to remove this adC++ 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
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!
-
29-09-13, 10:22 PM #2
Register to remove this adnice , thanks for sharing!
Related Threads - Scroll Down after related threads if you are only interested to view replies for above post/thread
Visitors found this page by searching for:
Nobody landed on this page from a search engine, yet!
SEO Blog