Network: WoW Gold | WoW Accounts | MPS Games | FPSowned
MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides
Homepage »      Register »      Hall of Fame »      Ranks And Awards »      Advertise »      Marketplace »
 
Sign up



Do you like this excellent information? Then Donate HERE to remove ads and support the MMOwned community.


Go Back   MMOwned - World of Warcraft Exploits, Hacks, Bots and Guides > WoW Emulator Server > Emulator Server Guides

Emulator Server Guides Guides for working with World of Warcraft Emulator servers. Learn how to create a WoW Server here.
[NO QUESTIONS HERE]

Reply
 
LinkBack Thread Tools
  #1  
Old 07-02-2009
Nightfoxx's Avatar
Nightfoxx is offline.
Contributor
  
 
Join Date: Oct 2006
Location: 127.0.0.1
Posts: 993
Nominated 2 Times in 2 Posts
Reputation: 234
Points: 4,280, Level: 6
Points: 4,280, Level: 6 Points: 4,280, Level: 6 Points: 4,280, Level: 6
Level up: 76%, 220 Points needed
Level up: 76% Level up: 76% Level up: 76%
Activity: 1.5%
Activity: 1.5% Activity: 1.5% Activity: 1.5%
[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:
[Only registered and activated users can see links. ]

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:
[Only registered and activated users can see links. ]

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 Nightfoxx; 07-02-2009 at 11:56 AM. Reason: Miss spell
Reply With Quote


Donate to remove ads, get your "DONATOR title, and get access to the MMOwned community's elite Shoutbawx.

  #2  
Old 07-02-2009
[Ichigo]'s Avatar
[Ichigo] is offline.
Site Donator
  
 
Join Date: Oct 2008
Posts: 181
Reputation: 15
Points: 877, Level: 1
Points: 877, Level: 1 Points: 877, Level: 1 Points: 877, Level: 1
Level up: 96%, 23 Points needed
Level up: 96% Level up: 96% Level up: 96%
Activity: 4.3%
Activity: 4.3% Activity: 4.3% Activity: 4.3%

"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
__________________
[Only registered and activated users can see links. ]
My page is bugged click the above link
Reply With Quote
  #3  
Old 07-02-2009
Nightfoxx's Avatar
Nightfoxx is offline.
Contributor
  
 
Join Date: Oct 2006
Location: 127.0.0.1
Posts: 993
Nominated 2 Times in 2 Posts
Reputation: 234
Points: 4,280, Level: 6
Points: 4,280, Level: 6 Points: 4,280, Level: 6 Points: 4,280, Level: 6
Level up: 76%, 220 Points needed
Level up: 76% Level up: 76% Level up: 76%
Activity: 1.5%
Activity: 1.5% Activity: 1.5% Activity: 1.5%
I don't think my spelling is very relevant, But I'll change it, Thanks for letting me know.
Reply With Quote
  #4  
Old 07-02-2009
alj03's Avatar
alj03 is online.
Knight-Captain
  
 
Join Date: Feb 2008
Posts: 418
Reputation: 43
Points: 1,653, Level: 3
Points: 1,653, Level: 3 Points: 1,653, Level: 3 Points: 1,653, Level: 3
Level up: 37%, 447 Points needed
Level up: 37% Level up: 37% Level up: 37%
Activity: 3.6%
Activity: 3.6% Activity: 3.6% Activity: 3.6%

I'd use it if i had my own server. GJ.
__________________
Reply With Quote
  #5  
Old 07-02-2009
Vindicated's Avatar
Vindicated is offline.
Contributor
  
 
Join Date: Aug 2008
Location: USA
Posts: 1,058
Reputation: 213
Points: 3,189, Level: 5
Points: 3,189, Level: 5 Points: 3,189, Level: 5 Points: 3,189, Level: 5
Level up: 49%, 411 Points needed
Level up: 49% Level up: 49% Level up: 49%
Activity: 21.8%
Activity: 21.8% Activity: 21.8% Activity: 21.8%

Nice guide Nightfoxx. Keep up the good work x2

Edit - Gotta spread
__________________
To Write Love On Her Arms <3
Reply With Quote
  #6  
Old 07-03-2009
Nightfoxx's Avatar
Nightfoxx is offline.
Contributor
  
 
Join Date: Oct 2006
Location: 127.0.0.1
Posts: 993
Nominated 2 Times in 2 Posts
Reputation: 234
Points: 4,280, Level: 6
Points: 4,280, Level: 6 Points: 4,280, Level: 6 Points: 4,280, Level: 6
Level up: 76%, 220 Points needed
Level up: 76% Level up: 76% Level up: 76%
Activity: 1.5%
Activity: 1.5% Activity: 1.5% Activity: 1.5%
Thanks ^^
Reply With Quote
  #7  
Old 07-03-2009
slade1000's Avatar
slade1000 is offline.
Corporal
  
 
Join Date: Jun 2008
Posts: 25
Reputation: 38
Points: 337, Level: 1
Points: 337, Level: 1 Points: 337, Level: 1 Points: 337, Level: 1
Level up: 85%, 63 Points needed
Level up: 85% Level up: 85% Level up: 85%
Activity: 0.9%
Activity: 0.9% Activity: 0.9% Activity: 0.9%
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 12:48 PM.
Reply With Quote
  #8  
Old 07-03-2009
Nightfoxx's Avatar
Nightfoxx is offline.
Contributor
  
 
Join Date: Oct 2006
Location: 127.0.0.1
Posts: 993
Nominated 2 Times in 2 Posts
Reputation: 234
Points: 4,280, Level: 6
Points: 4,280, Level: 6 Points: 4,280, Level: 6 Points: 4,280, Level: 6
Level up: 76%, 220 Points needed
Level up: 76% Level up: 76% Level up: 76%
Activity: 1.5%
Activity: 1.5% Activity: 1.5% Activity: 1.5%
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.
Reply With Quote
  #9  
Old 07-03-2009
Cripto's Avatar
Cripto is offline.
Master Sergeant
  
 
Join Date: Jul 2008
Location: Squire-DB Admin
Posts: 86
Reputation: 26
Points: 769, Level: 1
Points: 769, Level: 1 Points: 769, Level: 1 Points: 769, Level: 1
Level up: 74%, 131 Points needed
Level up: 74% Level up: 74% Level up: 74%
Activity: 0.3%
Activity: 0.3% Activity: 0.3% Activity: 0.3%

nice guide + rep
__________________
Reply With Quote
  #10  
Old 07-09-2009
Hanpuch is offline.
New User
  
 
Join Date: Oct 2008
Posts: 24
Reputation: 1
Points: 216, Level: 1
Points: 216, Level: 1 Points: 216, Level: 1 Points: 216, Level: 1
Level up: 54%, 184 Points needed
Level up: 54% Level up: 54% Level up: 54%
Activity: 1.7%
Activity: 1.7% Activity: 1.7% Activity: 1.7%

nice guide!
Reply With Quote
  #11  
Old 09-05-2009
mr_lew is offline.
New User
  
 
Join Date: Sep 2009
Posts: 9
Reputation: 1
DBC Method Takes server load down and if you look at that c++ code its horrendous +rep for original info
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On



All times are GMT -4. The time now is 12:44 AM.




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.1

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490