This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [TUTORIAL] Dungeon entry  (Read 9328 times)

Shruik

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 121
    • View Profile
[TUTORIAL] Dungeon entry
« on: March 15, 2013, 01:34:18 pm »
You need:
-DBC Util/DBC Editor
-A Working WoW server (in my case arcemu 3.3.5a)
-Something to edit your server´s world-database

First extract the AreaTrigger.dbc file and open it or convert it with dbcutil.
Within this file you will see that you need the coords of where your portal is supposed to be. Log in to your
server and find the place you want your portal to be. In my test case i will use a pretty lame location on the
gmisland and teleport myself into the box under it. Use the .gps command to get the coords.

Then create a new entry in the areatriggers table in your world database. Further explenations can be found here.
I will use the entry 1 because it´s unused ;)
As type I set 1 for an instance.
Now it is getting interesting. In the database the coords of where you get by using the "portal" are set. So I get
inside the gmbox and use .gps again.

Then enter these coords to the areatriggers table. As we set our teleport to an instance we can add a required_level
in the last column of the table. For testing purposes i will set it to 60. And also we have a name field (only for
us to better see where it leads us to) and a screen column where you can set the loadingscreen. And of course the
required honorrank.
Now that we finished our work on the areatriggers table open the AreaTrigger.dbc
As you maybe notice the first Number in every line is our refID or otherwise said entry again. So wirte 1 in a new
line. The second number is the map where our teleport is located. In my case it´s 1 because gmisland is on Kalimdor.
Then you add x, y and z coords with a dot between the number and the decimal place. Next is the radius. The radius
is measured in what ever unit wow uses (i think it was supposed to be feet but translated as meter in german or
such). I´ll set it to 5 what means, that in a 5m radius (ball shaped) around my coords the teleport will start. For
small doors you should use values like 2.0 and for giant entrys like ahn´qiraj it´s 80.0 etc.
Next are the box_x _y and _z value as well as the box_orientation. For these check the comment at pxr.

Now that we got our entry in the AreaTrigger.dbc put it into a patch and your server´s dbc folder. Reload the
server´s tables (or restart it) and get to your choosen point.
Small demonstration video: http://www.youtube.com/watch?v=A5u41ugZ ... e=youtu.be

Quote from: "Ascathos"
On a side note, TrinityCore features this as entry within the database. I am not exactly sure right now how this would require you to add a DBC entry, but I assume not.
« Last Edit: March 16, 2013, 05:31:38 pm by Admin »
"If you don´t like modelchanging, you don´t know the fascination of it"

hyakkimaru

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 128
    • View Profile
    • http://mc-revolution.fr
Re: [TUTORIAL] Dungeon entry
« Reply #1 on: March 15, 2013, 09:15:11 pm »
Nice thank you :D !
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Steff

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 4551
    • View Profile
Re: [TUTORIAL] Dungeon entry
« Reply #2 on: March 16, 2013, 09:23:22 am »
Yes very usefull :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
Please mark as solved if solved.
Don't ask if you could ask a question... JUST ask the Question.
You can send me also offline messages. I will answer if I get online.
Skype: project.modcraft
Discord: steff#6954

Ascathos

  • Moderators
  • Creator of Worlds
  • *****
  • Posts: 1129
    • View Profile
Re: [TUTORIAL] Dungeon entry
« Reply #3 on: March 16, 2013, 01:11:54 pm »
On a side note, TrinityCore features this as entry within the database. I am not exactly sure right now how this would require you to add a DBC entry, but I assume not.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Shruik

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 121
    • View Profile
Re: [TUTORIAL] Dungeon entry
« Reply #4 on: March 16, 2013, 05:31:18 pm »
Quote from: "Ascathos"
On a side note, TrinityCore features this as entry within the database. I am not exactly sure right now how this would require you to add a DBC entry, but I assume not.

I´m too lazy to compile trinity due to massive (personal) problems with cmake ;) But thanks for the note :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
"If you don´t like modelchanging, you don´t know the fascination of it"

elarose

  • Registred Member
  • GM Isle Explorer
  • *****
  • Posts: 17
    • View Profile
Re: [TUTORIAL] Dungeon entry
« Reply #5 on: March 29, 2013, 09:40:11 pm »
Trinitycore wiki

Quote: This is the trigger identifier, it must match with the one from AreaTrigger.dbc

Trinity cores entry is merely the 'where do i go from this point' The reason why you see two is that it required both for exit and entry.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
To those making tools or contributing answers or help, always a big Thankyou. =)

stan84

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 184
    • View Profile
Re: [TUTORIAL] Dungeon entry
« Reply #6 on: March 30, 2013, 02:20:13 pm »
Id like to use inactive instance  portal to teleport from 1 place to another.

i have added new areatrigger in areatrigger.dbc with unique id, and added new entry in areatrigger_teleport table. after that dbc file was copied to server folder. Mangos runs without any errors, but trigger not working. Command .go areatrigger (trigger_id)  takes me to place where trigger is located, but not teleports me to destination place.

my sql line looks like that :

'4135', 'destination place name', '0', '0', '0', '0', '532', '-11040.1', '-1996.85', '94.6837', '2.20224'

areatrigger.dbc line :

4135; 0; -11041.9003906; -1995.01000977; 93.0334014893; 0.0; 8.97200012207; 5.5560002327; 13.3299999237; 5.37599992752,

532 area exists ( .go xyz takes me there)

Edit: 30.03.2013

ok i realized that mangos not supporting this solution, but i wonder why,  just wanted add portals to karazhan which are exists in tbc...

thanks Stan
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Dracbane

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 105
    • View Profile
Re: [TUTORIAL] Dungeon entry
« Reply #7 on: April 12, 2013, 10:04:27 pm »
I am trying to use this to get a custom instance portal working. I have managed to get the EXIT portal to work without issue.  The entrance however wont trigger.  I have even tried to change where the entrance triggered but that didnt work either.  Is this an issue with custom maps?

The Entrance is ID 5901
The Exit is ID 5902 (WORKS!)

[attachment=1:3j14z3vn]DBC.jpg[/attachment:3j14z3vn]

[attachment=0:3j14z3vn]database.jpg[/attachment:3j14z3vn]
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Shruik

  • Contributors
  • Wiki Incarnate
  • *****
  • Posts: 121
    • View Profile
Re: [TUTORIAL] Dungeon entry
« Reply #8 on: May 20, 2013, 12:56:33 pm »
I think you might have a little problem within your dbc. The first number after the x, y, z axis is a ball shaped area around that point where it will trigger. As you set it to 0.0 it can´t trigger. Try it out with 3.0 or 5.0.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
"If you don´t like modelchanging, you don´t know the fascination of it"

Ginev

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 13
    • View Profile
Re: [TUTORIAL] Dungeon entry
« Reply #9 on: April 10, 2015, 09:51:09 pm »
Well guys if you want call me a idiot but i dont understand what to do in the begining after i convert the AreaTrigger.dbc with dbcutil program.yes i understand the part with how to get the coordinates from Wow but after that i really dont know what to open and with what program to open it?The tutorial dont say that information here.Sorry Shruik but if you have time could you make some new tutorial explained for newbies like me.Everything explained step by step with pictures like Steff tutorials?
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Senix

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 7
    • View Profile
Re: [TUTORIAL] Dungeon entry
« Reply #10 on: February 05, 2018, 02:03:57 pm »
Hey guys i have a massive problem with my dungeon portals.. the first 5 new portals works perfeclty after the 6 entry, the portals doenst work someone knows how to fix this?

PS: Its TrinityCore it works perfect with this Tutorial