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: [QUESTION]  AreaTrigger limitation on client?  (Read 2013 times)

sevi

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 56
    • View Profile
[QUESTION]  AreaTrigger limitation on client?
« on: March 23, 2014, 09:57:58 am »
Hello,

I'm back with a new Problem... I hate this.

In the past days i will add some areatriggers for instance portals and ingame tavernes. I have search free and unused IDs in the AreaTrigger.dbc and add my custom Trigger Points, add the dbc to the server and to the client. (of course i add the areatrigger to the db) loggin and testing the points. Yay works fine.

But now my Problem. Some another AreaTrigger from Blizz will not works. At last i used the Trigger Ids 1106, 4000, 4001 with this entry will not works the areatrigger 5869, 5972, the linket to Rubysanctum. It's me not will porting to the instance. So i delete my new custom entrys, i was portet to the instance.

Than i added a AreaTrigger they bigger as the last added from blizz - but they will not works ingame.

I testet it with some another free and in the dbc unused ids, some another portals will not work.

Some here an idea why it is so? The working trigger ids client side connected with the in the dbc free ids to work? Or some another things?

great sunday and thanks for answers.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

sevi

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 56
    • View Profile
Re: [QUESTION]  AreaTrigger limitation on client?
« Reply #1 on: March 27, 2014, 09:00:26 pm »
no one a idea or something like that?

i search more, maybe i will find a solution  :)
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stan84

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 184
    • View Profile
Re: [QUESTION]  AreaTrigger limitation on client?
« Reply #2 on: March 28, 2014, 09:23:00 pm »
Some time ago Shlumpf explained this, areatriggers also hardcoded in wow exe, you cant add more working ones. You can only reuse existing ones, for example if you add your own areatrigger and check it in game by command  .areatrigger near; core returns information about that areatrigger is active - but brings no effect. I saw somwhere that some cores ignores that limitation (acrcore if am not mistake) , in mangos for exampe you can only reuse unused areatriggers from your client version.

sry for my bad english.

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

sevi

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 56
    • View Profile
Re: [QUESTION]  AreaTrigger limitation on client?
« Reply #3 on: March 28, 2014, 10:23:04 pm »
mhm okey, I  thought to myself, that the areatrigger a limited in the wow.exe has.  Thanks for your answer.
I used trinitycore, so i must looking for a another way.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stan84

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 184
    • View Profile
Re: [QUESTION]  AreaTrigger limitation on client?
« Reply #4 on: March 28, 2014, 10:42:07 pm »
do tele npc, or tele gameobject, or find unused areatrigger and use it for own purpose, i have used one to make portal to black morass in classic client
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

sevi

  • Registred Member
  • Polygonshifter
  • *****
  • Posts: 56
    • View Profile
Re: [QUESTION]  AreaTrigger limitation on client?
« Reply #5 on: March 28, 2014, 10:49:45 pm »
yes a tele crea or gameobject is the simple way found unused trigger id can a some time take.  But i will look for unused trigger ids...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [QUESTION]  AreaTrigger limitation on client?
« Reply #6 on: March 29, 2014, 03:33:56 pm »
There must be a way to implement your own AreaTriggers, I see no reason why custom ID's would not work. Must be missing something somewhere.

It's a hell'a lot more efficient and nice to use a AreaTrigger than a teleport creature/object.

edit:

Didn't see this "Some time ago Shlumpf explained this, areatriggers also hardcoded in wow exe, you cant add more working ones."

No idea why it would be hardcoded. Makes no sense to me.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stan84

  • Registred Member
  • Wiki Incarnate
  • *****
  • Posts: 184
    • View Profile
Re: [QUESTION]  AreaTrigger limitation on client?
« Reply #7 on: March 29, 2014, 05:52:10 pm »
My mistake it was'nt Shlupf's explanation, you said that on ownedcore, lost lot of time also trying to make custom areatriggers in mangos core with no effect.  

here is great tutorial, but works only with existing areatriggers ( on mangos). viewtopic.php?f=61&t=4159&hilit=areatrigger.dbc

dont know why custom areatriggers not working , even you said that in ownedcore borad.
http://www.ownedcore.com/forums/world-o ... ances.html

I have read that areartiggers are chcecked and controlled server side, you have right Stoneharry. But even when core has modified .dbc and sql they are not working...

spawns in game ( easy to check by gm command) , activates when player is in radius, but not teleporting.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [QUESTION]  AreaTrigger limitation on client?
« Reply #8 on: March 29, 2014, 10:14:07 pm »
Quote from: "stan84"
My mistake it was'nt Shlupf's explanation, you said that on ownedcore, lost lot of time also trying to make custom areatriggers in mangos core with no effect.  

here is great tutorial, but works only with existing areatriggers ( on mangos). viewtopic.php?f=61&t=4159&hilit=areatrigger.dbc

dont know why custom areatriggers not working , even you said that in ownedcore borad.
http://www.ownedcore.com/forums/world-o ... ances.html

I have read that areartiggers are chcecked and controlled server side, you have right Stoneharry. But even when core has modified .dbc and sql they are not working...

spawns in game ( easy to check by gm command) , activates when player is in radius, but not teleporting.

The server side code is simple and shouldn't be an issue. I'm pretty sure this is a client limitation somewhere:

Code: [Select]
case ATTYPE_TELEPORT:
{
if(GetPlayer()->GetPlayerStatus() != TRANSFER_PENDING) //only ports if player is out of pendings
{
GetPlayer()->SaveEntryPoint(pAreaTrigger->Mapid);
GetPlayer()->SafeTeleport(pAreaTrigger->Mapid, 0, LocationVector(pAreaTrigger->x, pAreaTrigger->y, pAreaTrigger->z, pAreaTrigger->o));
}
}
break;
« Last Edit: January 01, 1970, 01:00:00 am by Admin »