PDA

View Full Version : [TrinityCore] [Recoded] C++ TrinityCore PhasingSystem



Dr.Core
08-10-15, 06:18 PM
Owner : QQRofl -> AC Web (http://www.ac-web.org/forums/member.php?60494-QQrofl)
Contributor : Lionzero -> I have the idea to recode it because it is a powerful tool for any core!
Helper and Credits -> QQRofl for Creating (Thanks for the BaseScript man!) -> Rochet2 for Fixxing Hardcore Issues :D (Without your Help it is not able to make it public, thanks for your time that you have spend to me :D)



http://abload.de/img/wowscrnshot_100915_009jptd.jpg



A new command 'phase' and 13 sub commands.
Friend to friend building, anywhere in their phase(s).
2 Tables that will keep the player's phase data and member data.
Endless fun for your server!


Commands :


.phase create # - Creates your phase
.phase join # - Joins a phase
.phase go # - Spawns a gameobject
.phase gotarget guid or id - Targets a gameobject
.phase godelete guid or id - Deletes a gameobject
.phase help Shows you all the commands and what they do.
.phase delete # #(Confirm) - Deletes a phase
.phase kick playername - Kicks a player from your phase.
.phase get - Returns your current phase
.phase complete 0 = No, 1 = yes - Completes your phase
.phase addmember target phaseid - Adds the player to your phase so he or she can spawn objects/npcs.
.phase npcadd # - Adds a npc to your phase.
.phase npcdelete (target) - Deletes a npc


Status : Up2Date with latest TrinityCore Revision


Changelog :


Fixxed : Issue with Create Creature in Phase
Fixxed : Issue with CodeStyle
Fixxed : Rename old values to new values ( The Core was more as one time up2date ) Many renames :D
Fixxed : Issue with ObjectCreate in a phase
Fixxed : Sql Query ! Was a bit confused and wrong o0


More Changes avaible but later, the code has complete to recheck and bring more performance in it ...


Sry for my bad english, i am only a simple german guy :D


Download : PhasingSystem.cpp (http://hastebin.com/eqetokirip.m)
Download : RBAC.h Patch (http://hastebin.com/atiwicawig.md)
Download : PhasingSystem.sql (http://hastebin.com/anaderazeg.sql)

Apple
09-10-15, 08:35 AM
Thanks for sharing.