Modcraft - The community dedicated to quality WoW modding!

Content creation => Level Design => Topic started by: alwyn on June 26, 2016, 11:23:04 pm

Title: [WotLk] [SOLVED] [WotLk] [QUESTION] Custom graveyard
Post by: alwyn on June 26, 2016, 11:23:04 pm
Hi,

I've a problem with my custom graveyard...

I've created in north kalimdor two islands, and two graveyards.

I've modified :

Areatable.dbc
5002 first graveyard
5012 Seconde graveyard

Worldsafeloc.dbc
1725 first graveyard
1726 second graveyard

Maps.dbc
1 Kalimdor collum 23 i've adding 5002.

In game
.link 1725
.link 1726

Great it's work for the first graveyard, but for the second graveyard it's moving to the fu**** first graveyard.

Do you have a tips or any idea ?

Thank you for your replies

Best regards
Title: Re: [WotLk] [QUESTION] Custom graveyard
Post by: Amaroth on June 27, 2016, 11:15:08 am
world.game_graveyard_zone, have you edited this table as well? And, have you assigned your graveyards to all areas there, and have you assigned them correctly to factions which are supposed to use them?
Title: Re: [WotLk] [QUESTION] Custom graveyard
Post by: alwyn on June 29, 2016, 07:51:46 pm
Hi Amaroth,

Thanks for your reply, sorry for the waiting.

So, i took a screenshots of my files :

AreaTable.dbc :
(http://img11.hostingpics.net/thumbs/mini_924073AreaTable.jpg) (http://www.hostingpics.net/viewer.php?id=924073AreaTable.jpg)

Map.dbc:
(http://img11.hostingpics.net/thumbs/mini_449567Map.jpg) (http://www.hostingpics.net/viewer.php?id=449567Map.jpg)

WorldSafeLocs.dbc :
(http://img11.hostingpics.net/thumbs/mini_556201WorldSafeLocs.jpg) (http://www.hostingpics.net/viewer.php?id=556201WorldSafeLocs.jpg)

world.game_graveyard_zone.sql :
(http://img11.hostingpics.net/thumbs/mini_563965worldgamegraveyardzone.jpg) (http://www.hostingpics.net/viewer.php?id=563965worldgamegraveyardzone.jpg)

So, i need to be moved in the cemetery "1725 " when I die in the zone "5012"

Thanks for your help  8-)
Title: Re: [WotLk] [QUESTION] Custom graveyard
Post by: Amaroth on June 29, 2016, 10:43:44 pm
Wuh, there will be more of issues.:

AreaTable.dbc:
https://wowdev.wiki/DB/AreaTable (https://wowdev.wiki/DB/AreaTable" onclick="window.open(this.href);return false;)
I don't know what are those values you have marked there supposed to be there for. To reffer to Area, just use its ID (#1 field). I hope those are not area bits, because they must not be above 4095. If your problem comes from maps, I'll describe this more in detail later.

Map.dbc:
It has absolutely nothing to do with graveyards. Btw, I am not entirely sure what is that field you have marked supposed to do at all. I've never really seen it actually doing something visible. It also doesn't really make sense to me, as map has multiple, even dozens and hundreds of Area IDs. Just a side note.

WorldSafeLocs.dbc:
It seems to be alright.

game_graveyard_zone.db
Your database table says exactly this:
"If player dies in zone 5002 and is from whatever faction, send him to graveyard 1726"
"If player dies in zone 5012 and is from whatever faction, send him to graveyard 1725".


So, if your player either dies in zone 5002 and appears on graveyard 1725, or dies in zone 5012 and appears on graveyard 1726, something is clearly wrong. Your database and DBCs are OK, so you either don't have up to date DBC files on server side (I doubt it), or you don't actually have up to date maps. To determine in which area player actually is server uses its local maps (folder named maps in data folder). Go to place where players are being sent to incorrect graveyard from and type .gps, to see what zone you are in for server.
Title: Re: [WotLk] [QUESTION] Custom graveyard
Post by: Steff on June 30, 2016, 11:40:19 am
As fare I know you also need the serverside maps if it is a custom o changed map.
Title: Re: [WotLk] [QUESTION] Custom graveyard
Post by: Amaroth on June 30, 2016, 05:37:24 pm
Well, his area IDs are custom, so no matter what or where, he needs to update maps anyway. The question is, if he really does have outdated maps. But yep, its most likely scenario.
Title: Re: [WotLk] [QUESTION] Custom graveyard
Post by: Valkryst on June 30, 2016, 06:17:42 pm
Yeah, I never did get graveyards working properly. If you can't figure it out, take a look at this script I've used and work out your own based on it.

http://pastebin.com/BWqKjQpv (http://pastebin.com/BWqKjQpv" onclick="window.open(this.href);return false;)
Title: Re: [WotLk] [QUESTION] Custom graveyard
Post by: Amaroth on June 30, 2016, 06:31:39 pm
Don't worry, I, on the other hand, made them work always properly :P. But those maps and problems with them are nasty and you can't make graveyards work without them. I've written a tutorial for that, just to get rid of all those problems community has with maps.

viewtopic.php?f=61&t=10605&p=56139 (http://modcraft.io/viewtopic.php?f=61&t=10605&p=56139" onclick="window.open(this.href);return false;)
Title: Re: [WotLk] [QUESTION] Custom graveyard
Post by: alwyn on July 01, 2016, 01:24:18 am
Thanks guys actualy i extract the news map  with the custom patch-3.mpq and my dbc files with  patch-frFR-3... Waiting Waiting...

I will let you know :')
Title: Re: [WotLk] [QUESTION] Custom graveyard
Post by: alwyn on July 10, 2016, 03:18:05 am
Hello my peep'

Thank you soooo much Amaroth your  trick works. I added my custom maps in patch-3.mpq without the file wdt, I added my dbc in the file Patch-frFR-3. MPQ. And that works great well.

Thanks to all and good evening