Can I add more than 1 area?
Example: if (area && area->IsSanctuary() || GetAreaId() == area1, area2, area3, area4, etc...) // Replace the 100 with your area ID
Honestly it's a lot quicker and easier to do it via DBC. Edit the area flags in AreaTable.dbc and restart your server, cuts a 10~ minute recompile down to a 30 second restart.
Here's everything you need to know: http://collab.kpsn.org/display/tc/AreaTable
You can enable duels or disable them as you please as well. The sanctuary change will be in effect, but it won't show the blue area text client side unless they've got the same DBC file in a patch, but it'll still disable it nonetheless.
Last edited by Zero; 08-03-2014 at 03:11 AM.Achievements:
Yes but my idea is to add in at least a 5 worldserver.conf areas so I can change whenever you want :)
Last edited by renatokeys; 08-03-2014 at 06:30 AM.Achievements:
Only two things are infinite: the universe and WINRAR test license
This does work I was placing the function in the wrong area.
Thanks Again bud. :)
Last edited by Abundant; 09-20-2015 at 07:09 AM.Achievements:
There are currently 1 users browsing this thread. (0 members and 1 guests)