Jump to content
  • 0

War effort snippets and dungeon/raid closing?


hsoares

Question

Hey. Some Vanilla servers have on them this "War Effort" counter on them. How can I make some of the same kind?

 

Also, how would I go about closing down a raid or dungeon?

As in, the portal is there, but players are unable to enter, like a player whom is below rank 6 can't enter the Champion's Hall?

 

Or a world boss? How do I temporarly stop a World Boss from spawning until I change such option?

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

9 hours ago, Talendrys said:

It is perfectly Vanilla-like for the champion's hall.

I mean like, how do I close a dungeon or raid's portall off, until I feel like "turning it back on", like Champion's Hall is? i.e. walking towards portal won't port you anywhere.

 

37 minutes ago, madmax said:

This is something that is logged, right now we have a large backlog of more important issues.

 

So later in the future there will be a script that would allow me to see AQ War efforts like http://therebirth.net/TheWarEffort.php for instance? :D

Link to comment
Share on other sites

47 minutes ago, hsoares said:

I mean like, how do I close a dungeon or raid's portall off, until I feel like "turning it back on", like Champion's Hall is? i.e. walking towards portal won't port you anywhere.

 

So later in the future there will be a script that would allow me to see AQ War efforts like http://therebirth.net/TheWarEffort.php for instance? :D

Check out the database, into the table areatrigger_teleport, there are several TP defined. (id 2527 & 2530 for horde, 2532 & 2534 for alliance). Alliance has condition 2032 and horde 2031.

In the table condition, you have the two records:

'2031', '-1', '3', '2030'
'2032', '-1', '4', '2030'

They both point to the condition 2030:

'2030', '39', '10', '1'

You can also see the conditions that exists there but sadly it's incomplete:

In the code, you have more ENUM: https://github.com/mangoszero/server/blob/756c8ff79723f3bf46eccc4bb819fc0e30ff3cc1/src/game/Object/ObjectMgr.h

So, if you put an higher value for the condition '2030' (e.g. 15) or remove the areatrigger_teleport enties 2532 & 2527, you will end-up by having portals with no actions or no portal at all.

Link to comment
Share on other sites

8 hours ago, Talendrys said:

Check out the database, into the table areatrigger_teleport, there are several TP defined. (id 2527 & 2530 for horde, 2532 & 2534 for alliance). Alliance has condition 2032 and horde 2031.

In the table condition, you have the two records:

'2031', '-1', '3', '2030'
'2032', '-1', '4', '2030'

They both point to the condition 2030:

'2030', '39', '10', '1'

You can also see the conditions that exists there but sadly it's incomplete:

In the code, you have more ENUM: https://github.com/mangoszero/server/blob/756c8ff79723f3bf46eccc4bb819fc0e30ff3cc1/src/game/Object/ObjectMgr.h

So, if you put an higher value for the condition '2030' (e.g. 15) or remove the areatrigger_teleport enties 2532 & 2527, you will end-up by having portals with no actions or no portal at all.

 

Awesome! Thank you so much for this! So technically, I could just put condition 15 for both to check if they are level 61, and if they aren't, they can't enter? :P

Even though this list in't complete, where can I find the rest? Or is it a complicated process?

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use