Forum > Level Design

[WotLk] [SOLVED] [WotLk] [QUESTION] Custom graveyard

(1/2) > >>

alwyn:
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

Amaroth:
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?

alwyn:
Hi Amaroth,

Thanks for your reply, sorry for the waiting.

So, i took a screenshots of my files :

AreaTable.dbc :


Map.dbc:


WorldSafeLocs.dbc :


world.game_graveyard_zone.sql :


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

Thanks for your help  8-)

Amaroth:
Wuh, there will be more of issues.:

AreaTable.dbc:
https://wowdev.wiki/DB/AreaTable
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.

Steff:
As fare I know you also need the serverside maps if it is a custom o changed map.

Navigation

[0] Message Index

[#] Next page

Go to full version