├── CREDITS.txt ├── Commands ├── Commands_Ahbot.lua ├── Commands_Char.lua ├── Commands_Char2.lua ├── Commands_Event.lua ├── Commands_GO.lua ├── Commands_Log.lua ├── Commands_Main.lua ├── Commands_Misc.lua ├── Commands_NPC.lua ├── Commands_NPC2.lua ├── Commands_PvP.lua ├── Commands_RPG.lua ├── Commands_Server.lua ├── Commands_Tele.lua ├── Commands_Ticket.lua ├── Commands_Vendor.lua └── Commands_Who.lua ├── Docs └── Adding.txt ├── Frames ├── MangFrames_LookupButtons.lua ├── MangFrames_MiniMenu.lua ├── MangFrames_PopupFrames.lua ├── MangFrames_SectionAhbot.lua ├── MangFrames_SectionChar.lua ├── MangFrames_SectionChar2.lua ├── MangFrames_SectionEvent.lua ├── MangFrames_SectionGO.lua ├── MangFrames_SectionLog.lua ├── MangFrames_SectionMain.lua ├── MangFrames_SectionMisc.lua ├── MangFrames_SectionNpc.lua ├── MangFrames_SectionNpc2.lua ├── MangFrames_SectionPvP.lua ├── MangFrames_SectionRPG.lua ├── MangFrames_SectionServer.lua ├── MangFrames_SectionTele.lua ├── MangFrames_SectionTicket.lua ├── MangFrames_SectionVendor.lua ├── MangFrames_SectionWho.lua ├── MangFrames_SmallPopupFrames.lua ├── MangFrames_Start.lua └── MangFrames_Tabs.lua ├── FunctionInit.lua ├── LICENSE ├── Libraries ├── AceAddon-2.0 │ ├── AceAddon-2.0.lua │ └── AceAddon-2.0.toc ├── AceConsole-2.0 │ ├── AceConsole-2.0.lua │ └── AceConsole-2.0.toc ├── AceDB-2.0 │ ├── AceDB-2.0.lua │ └── AceDB-2.0.toc ├── AceDebug-2.0 │ ├── AceDebug-2.0.lua │ └── AceDebug-2.0.toc ├── AceEvent-2.0 │ ├── AceEvent-2.0.lua │ └── AceEvent-2.0.toc ├── AceHook-2.1 │ ├── AceHook-2.1.lua │ └── AceHook-2.1.toc ├── AceLibrary │ ├── AceLibrary.lua │ └── AceLibrary.toc ├── AceLocale-2.2 │ ├── AceLocale-2.2.lua │ └── AceLocale-2.2.toc ├── AceOO-2.0 │ ├── AceOO-2.0.lua │ └── AceOO-2.0.toc ├── Dewdrop-2.0 │ └── Dewdrop-2.0.lua ├── FrameLib-1.0 │ ├── FrameLib-1.0.lua │ └── FrameLib-1.0.toc ├── FuBarPlugin-2.0 │ ├── Changelog-FuBarPlugin-2.0-r80867.txt │ ├── FuBarPlugin-2.0.lua │ ├── FuBarPlugin-2.0.toc │ ├── FuBarPlugin-2.0 │ │ └── FuBarPlugin-2.0.lua │ └── LICENSE.txt ├── Graph-1.0 │ └── Graph-1.0.lua ├── GraphTextures │ ├── Pie │ │ ├── 1-1.tga │ │ ├── 1-128.tga │ │ ├── 1-16.tga │ │ ├── 1-2.tga │ │ ├── 1-32.tga │ │ ├── 1-4.tga │ │ ├── 1-64.tga │ │ └── 1-8.tga │ ├── line.tga │ ├── sline.tga │ └── triangle.tga └── Tablet-2.0 │ └── Tablet-2.0.lua ├── Locales ├── buBU.lua ├── csCZ.lua ├── deDE.lua ├── enUS.lua ├── esES.lua ├── fiFI.lua ├── frFR.lua ├── huHU.lua ├── itIT.lua ├── liLI.lua ├── nlNL.lua ├── plPL.lua ├── ptBR.lua ├── ptPT.lua ├── roRO.lua ├── ruRU.lua ├── strings.lua ├── svSV.lua └── zhCN.lua ├── MangFrames.lua ├── MangLinkifier.lua ├── README.md ├── README.txt ├── Sound └── mail.wav ├── TeleportTable.lua ├── TeleportTable1.lua ├── Textures ├── icon.tga ├── icon2.png ├── icon2.tga ├── logo - Copy.tga ├── logo.bmp ├── logo.gif ├── logo.png ├── logo.tga ├── logo.tga__ └── logo_old.tga ├── TrinityAdmin.lua ├── TrinityAdmin.toc ├── changelog.txt ├── dbc.lua ├── gpl-3.0.txt └── models.lua /CREDITS.txt: -------------------------------------------------------------------------------- 1 | TrinityAdmin is derived from MangAdmin. 2 | TrinityAdmin is maintained and developed by iotech 3 | 4 | TrinityAdmin also contains code donated by: 5 | Pryd (teleport work) 6 | Gimp (teleport work) 7 | Shocker (various) 8 | 9 | Locale Team: 10 | iotech, Ravenheart, Gimp, Dracula70, MrLakeC, Namida, Amok, Lyrr123, borgotech, Morpheux, Georgios, Kitharo 11 | 12 | 13 | 14 | MangAdmin is developed by: 15 | Josh (Project Owner), iotech, infamousblob, Atreus420, killat200623, dragonfrost, and Necroblack 16 | -------------------------------------------------------------------------------- /Commands/Commands_Ahbot.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -------------------------------------------------------------------------------- /Commands/Commands_Char2.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | function BanButton() 21 | local cname = ma_charactertarget:GetText() 22 | local npccname = ma_npccharactertarget:GetText() 23 | MangAdmin:ChatMsg(".ban "..cname) 24 | MangAdmin:LogAction("Banned player: "..cname..".") 25 | 26 | end 27 | 28 | function GoNameButton() 29 | local cname = ma_charactertarget:GetText() 30 | local npccname = ma_npccharactertarget:GetText() 31 | MangAdmin:ChatMsg(".appear "..cname) 32 | MangAdmin:LogAction("Teleported TO player: "..cname..".") 33 | 34 | end 35 | 36 | function CreateGuildButton() 37 | local cname = ma_charactertarget:GetText() 38 | local npccname = ma_npccharactertarget:GetText() 39 | MangAdmin:ChatMsg(".guild create "..cname) 40 | MangAdmin:LogAction("Created Guild: "..cname..".") 41 | 42 | end 43 | 44 | function BanInfoButton() 45 | local cname = ma_charactertarget:GetText() 46 | local npccname = ma_npccharactertarget:GetText() 47 | MangAdmin:ChatMsg(".baninfo "..cname) 48 | MangAdmin:LogAction("Listed .baninfo: "..cname..".") 49 | 50 | end 51 | 52 | function GroupGoButton() 53 | local cname = ma_charactertarget:GetText() 54 | local npccname = ma_npccharactertarget:GetText() 55 | MangAdmin:ChatMsg(".groupsummon "..cname) 56 | MangAdmin:LogAction("Teleported "..cname.." and his/her group TO me.") 57 | 58 | end 59 | 60 | function GuildInviteButton() 61 | local cname = ma_charactertarget:GetText() 62 | local npccname = ma_npccharactertarget:GetText() 63 | MangAdmin:ChatMsg(".guild invite "..cname) 64 | MangAdmin:LogAction("Guild invitation: "..cname..".") 65 | 66 | end 67 | 68 | function BanlistButton() 69 | local cname = ma_charactertarget:GetText() 70 | local npccname = ma_npccharactertarget:GetText() 71 | MangAdmin:ChatMsg(".banlist "..cname) 72 | MangAdmin:LogAction("Listed bans matching: "..cname..".") 73 | 74 | end 75 | 76 | function NameGoButton() 77 | local cname = ma_charactertarget:GetText() 78 | local npccname = ma_npccharactertarget:GetText() 79 | MangAdmin:ChatMsg(".summon "..cname) 80 | MangAdmin:LogAction("Teleported "..cname.." TO me.") 81 | 82 | end 83 | 84 | function GuildRankButton() 85 | local cname = ma_charactertarget:GetText() 86 | local npccname = ma_npccharactertarget:GetText() 87 | MangAdmin:ChatMsg(".guild rank "..cname) 88 | MangAdmin:LogAction("Guild rank change: "..cname..".") 89 | 90 | end 91 | 92 | function TeleGroupButton() 93 | local cname = ma_charactertarget:GetText() 94 | local npccname = ma_npccharactertarget:GetText() 95 | MangAdmin:ChatMsg(".tele group "..cname) 96 | MangAdmin:LogAction("Group teleported: "..cname..".") 97 | 98 | end 99 | 100 | function UnBanButton() 101 | local cname = ma_charactertarget:GetText() 102 | local npccname = ma_npccharactertarget:GetText() 103 | MangAdmin:ChatMsg(".unban "..cname) 104 | MangAdmin:LogAction("Unbanned "..cname..".") 105 | 106 | end 107 | 108 | function GuildDeleteButton() 109 | local cname = ma_charactertarget:GetText() 110 | local npccname = ma_npccharactertarget:GetText() 111 | MangAdmin:ChatMsg(".guild delete "..cname) 112 | MangAdmin:LogAction("Deleted guild: "..cname..".") 113 | 114 | end 115 | 116 | function GuildUninviteButton() 117 | local cname = ma_charactertarget:GetText() 118 | local npccname = ma_npccharactertarget:GetText() 119 | MangAdmin:ChatMsg(".guild uninvite "..cname) 120 | MangAdmin:LogAction("Removed from guild: "..cname..".") 121 | 122 | end 123 | 124 | function TeleNameButton() 125 | local cname = ma_charactertarget:GetText() 126 | local npccname = ma_npccharactertarget:GetText() 127 | self:ChatMsg(".tele name "..cname) 128 | self:LogAction("Teleported: "..cname..".") 129 | 130 | end 131 | 132 | function MuteButton() 133 | local cname = ma_charactertarget:GetText() 134 | local npccname = ma_npccharactertarget:GetText() 135 | MangAdmin:ChatMsg(".mute "..cname) 136 | MangAdmin:LogAction("Muted "..cname..".") 137 | 138 | end 139 | 140 | function CharMorphButton() 141 | local cname = ma_charactertarget:GetText() 142 | local npccname = ma_npccharactertarget:GetText() 143 | MangAdmin:ChatMsg(".modify morph "..cname) 144 | MangAdmin:LogAction(".modify morph "..cname..".") 145 | 146 | end 147 | 148 | function CharAuraButton() 149 | local cname = ma_charactertarget:GetText() 150 | local npccname = ma_npccharactertarget:GetText() 151 | MangAdmin:ChatMsg(".aura "..cname) 152 | MangAdmin:LogAction(".aura "..cname..".") 153 | 154 | end 155 | 156 | function CharUnAuraButton() 157 | local cname = ma_charactertarget:GetText() 158 | local npccname = ma_npccharactertarget:GetText() 159 | MangAdmin:ChatMsg(".unaura "..cname) 160 | MangAdmin:LogAction(".unaura "..cname..".") 161 | 162 | end 163 | 164 | function JailA() 165 | cname=ma_charactertarget:GetText() 166 | MangAdmin:ChatMsg(".tele name "..cname.." ma_AllianceJail") 167 | MangAdmin:LogAction("Jailed player "..cname..".") 168 | MangAdmin:ChatMsg(".notify "..cname.." has been found guilty and jailed.") 169 | end 170 | 171 | function JailH() 172 | cname=ma_charactertarget:GetText() 173 | --self:ChatMsg("Selected "..cname) 174 | MangAdmin:ChatMsg(".tele name "..cname.." ma_HordeJail") 175 | MangAdmin:LogAction("Jailed player "..cname..".") 176 | MangAdmin:ChatMsg(".notify "..cname.." has been found guilty and jailed.") 177 | end 178 | 179 | function UnJail() 180 | cname=ma_charactertarget:GetText() 181 | MangAdmin:ChatMsg(".recall "..cname) 182 | MangAdmin:LogAction("UnJailed player "..cname..".") 183 | MangAdmin:ChatMsg(".notify "..cname.." has been pardoned and released from jail.") 184 | end 185 | 186 | function UnMuteButton() 187 | local cname = ma_charactertarget:GetText() 188 | local npccname = ma_npccharactertarget:GetText() 189 | MangAdmin:ChatMsg(".unmute "..cname) 190 | MangAdmin:LogAction(".unmute "..cname..".") 191 | 192 | end 193 | 194 | function QuestAddButton() 195 | local cname = ma_charactertarget:GetText() 196 | local npccname = ma_npccharactertarget:GetText() 197 | MangAdmin:ChatMsg(".quest add "..cname) 198 | MangAdmin:LogAction(".quest add "..cname..".") 199 | 200 | end 201 | 202 | function QuestCompleteButton() 203 | local cname = ma_charactertarget:GetText() 204 | local npccname = ma_npccharactertarget:GetText() 205 | MangAdmin:ChatMsg(".quest complete "..cname) 206 | MangAdmin:LogAction(".quest complete "..cname..".") 207 | 208 | end 209 | 210 | function QuestRemoveButton() 211 | local cname = ma_charactertarget:GetText() 212 | local npccname = ma_npccharactertarget:GetText() 213 | MangAdmin:ChatMsg(".quest remove "..cname) 214 | MangAdmin:LogAction(".quest remove "..cname..".") 215 | 216 | end 217 | 218 | function DamageButton () 219 | local cname = ma_charactertarget:GetText() 220 | local npccname = ma_npccharactertarget:GetText() 221 | MangAdmin:ChatMsg(".damage "..cname) 222 | MangAdmin:LogAction(".damage "..cname..".") 223 | 224 | end 225 | 226 | function HideAreaButton() 227 | local cname = ma_charactertarget:GetText() 228 | local npccname = ma_npccharactertarget:GetText() 229 | MangAdmin:ChatMsg(".hidearea "..cname) 230 | MangAdmin:LogAction(".hidearea "..cname..".") 231 | end 232 | 233 | function ShowAreaButton() 234 | local cname = ma_charactertarget:GetText() 235 | local npccname = ma_npccharactertarget:GetText() 236 | MangAdmin:ChatMsg(".showarea "..cname) 237 | MangAdmin:LogAction(".showarea "..cname..".") 238 | end 239 | 240 | function HonorAddButton() 241 | local cname = ma_charactertarget:GetText() 242 | local npccname = ma_npccharactertarget:GetText() 243 | MangAdmin:ChatMsg(".honor add "..cname) 244 | MangAdmin:LogAction(".honor add "..cname..".") 245 | end 246 | 247 | function HonorUpdateButton() 248 | local cname = ma_charactertarget:GetText() 249 | local npccname = ma_npccharactertarget:GetText() 250 | MangAdmin:ChatMsg(".honor update ") 251 | MangAdmin:LogAction(".honor update.") 252 | end 253 | 254 | -------------------------------------------------------------------------------- /Commands/Commands_Event.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -------------------------------------------------------------------------------- /Commands/Commands_GO.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | 22 | 23 | function OBJGo() 24 | local player = UnitName("target") or UnitName("player") 25 | local obj = ma_Obj_guidbutton:GetText() 26 | MangAdmin:ChatMsg(".go object "..obj) 27 | MangAdmin:LogAction("Go Object for player "..player..".") 28 | end 29 | 30 | function OBJAdd() 31 | local player = UnitName("target") or UnitName("player") 32 | local obj = ma_Obj_idbutton:GetText() 33 | MangAdmin:ChatMsg(".gobject add "..obj) 34 | MangAdmin:LogAction("Object Add for player "..player..".") 35 | end 36 | 37 | function OBJMove() 38 | local player = UnitName("target") or UnitName("player") 39 | local obj = ma_Obj_guidbutton:GetText() 40 | MangAdmin:ChatMsg(".gobject move "..obj) 41 | MangAdmin:LogAction("Object Move for player "..player..".") 42 | end 43 | 44 | function OBJTurn() 45 | local player = UnitName("target") or UnitName("player") 46 | local obj = ma_Obj_guidbutton:GetText() 47 | MangAdmin:ChatMsg(".gobject turn "..obj) 48 | MangAdmin:LogAction("Object Turn for player "..player..".") 49 | end 50 | 51 | function OBJDel() 52 | local player = UnitName("target") or UnitName("player") 53 | local obj = ma_Obj_guidbutton:GetText() 54 | MangAdmin:ChatMsg(".gobject delete "..obj) 55 | MangAdmin:LogAction("Object Delete for player "..player..".") 56 | end 57 | 58 | function OBJNear() 59 | local player = UnitName("target") or UnitName("player") 60 | MangAdmin:ChatMsg(".gobject near") 61 | MangAdmin:LogAction("Object Near for player "..player..".") 62 | end 63 | 64 | function OBJTarget() 65 | if gettingGOBinfo == 0 and gettingGOBinfoinfo == 0 then 66 | gettingGOBinfo=1 67 | --ma_gobtargetinfo:SetText("|cffffffff") 68 | --ma_gobinfoinfo:SetText("|cffffffff") 69 | 70 | local player = UnitName("player") 71 | MangAdmin:ChatMsg(".gobject target") 72 | MangAdmin:LogAction("Object Target for player "..player..".") 73 | --gettingGOBinfoinfo=1 74 | MangAdmin:ChatMsg(".gobject info") 75 | --ShowGobModel() 76 | end 77 | end 78 | 79 | function OBJActivate() 80 | local player = UnitName("target") or UnitName("player") 81 | MangAdmin:ChatMsg(".gobject activate "..ma_Obj_guidbutton:GetText()) 82 | MangAdmin:LogAction("Object "..ma_Obj_guidbutton:GetText().." activated for player "..player..".") 83 | end 84 | 85 | function OBJAddTemp() 86 | local player = UnitName("target") or UnitName("player") 87 | local obj = ma_Obj_idbutton:GetText() 88 | MangAdmin:ChatMsg(".gobject add temp "..obj) 89 | MangAdmin:LogAction("Object Add(Temp) for player "..player..".") 90 | end 91 | 92 | function OBJInfo() 93 | local player = UnitName("target") or UnitName("player") 94 | MangAdmin:ChatMsg(".gobject info") 95 | MangAdmin:LogAction("Object "..ma_Obj_guidbutton:GetText().." info obtained for player "..player..".") 96 | end 97 | 98 | function OBJSetPhase() 99 | local player = UnitName("target") or UnitName("player") 100 | local obj = ma_Obj_guidbutton:GetText() 101 | local phase = ma_gobsetphaseinput:GetText() 102 | MangAdmin:ChatMsg(".gobject set phase "..obj.." "..phase) 103 | MangAdmin:LogAction("Object "..obj.." phase set to "..phase.." for player "..player..".") 104 | end 105 | 106 | function ShowGobModel() 107 | local Scale = UIParent:GetEffectiveScale(); 108 | local Hypotenuse = ( ( GetScreenWidth() * Scale ) ^ 2 + ( GetScreenHeight() * Scale ) ^ 2 ) ^ 0.5; 109 | local CoordRight = ( ma_gobjectmodel:GetRight() - ma_gobjectmodel:GetLeft() ) / Hypotenuse 110 | local CoordTop = ( ma_gobjectmodel:GetTop() - ma_gobjectmodel:GetBottom() ) / Hypotenuse 111 | local Radian = 0.0174532925 112 | local gobdisplay = ma_gobdisplayid:GetText() 113 | local fu = tonumber(gobdisplay) 114 | ma_gobjectmodel:SetSequence(0) 115 | ma_gobjectmodel:SetCamera(2) 116 | ma_gobjectmodel:SetModelScale(0.5) 117 | ma_gobjectmodel:SetPosition((CoordRight/2),(CoordTop/2),0) 118 | ma_gobjectmodel:SetLight(1, 0, 0, -0.707, -0.707, 0.7, 1.0, 1.0, 1.0, 0.8, 1.0, 1.0, 0.8) 119 | tVar="" 120 | tVar = ModelA[fu] 121 | if not tVar then 122 | ma_gobinfoinfo="No data for this model" 123 | else 124 | ma_gobjectmodel:SetModel(tVar) 125 | end 126 | end 127 | 128 | function GobModelRotateLeft() 129 | ma_gobjectmodel.rotation = ma_gobjectmodel.rotation - 0.3 130 | ma_gobjectmodel:SetRotation(ma_gobjectmodel.rotation) 131 | PlaySound("igInventoryRotateCharacter") 132 | end 133 | 134 | function GobModelRotateRight() 135 | ma_gobjectmodel.rotation = ma_gobjectmodel.rotation + 0.3 136 | ma_gobjectmodel:SetRotation(ma_gobjectmodel.rotation) 137 | PlaySound("igInventoryRotateCharacter") 138 | end 139 | 140 | --ma_gobjectmodel:SetRotation((RotValSlider:GetValue() * Radian)) 141 | 142 | function InitGobModelFrame() 143 | ma_gobjectmodel:SetScript("OnUpdate", function() MangAdminModelOnUpdate(arg1) end) 144 | ma_gobjectmodel.rotation = 0.61 145 | ma_gobjectmodel:SetRotation(0.61) 146 | --ma_gobjectmodel:SetUnit("player") 147 | 148 | end 149 | 150 | function GobModelZoomIn() 151 | --ma_gobjectmodel:SetCamera(0) 152 | ma_gobjectmodel:SetModelScale(ma_gobjectmodel:GetModelScale() + .1) 153 | --ma_modelframe:SetPosition(1,ma_modelframe:GetModelScale()*3,0) 154 | --ma_modelframe:RefreshUnit() 155 | end 156 | 157 | function GobModelZoomOut() 158 | --ma_gobjectmodel:SetCamera(1) 159 | --ma_gobjectmodel:RefreshUnit() 160 | -- ma_modelframe:SetCamera(2) 161 | ma_gobjectmodel:SetModelScale(ma_gobjectmodel:GetModelScale() - .1) 162 | --ma_modelframe:SetPosition(0,0,0) 163 | --ma_modelframe:RefreshUnit() 164 | end 165 | 166 | --[[function CHAT_MSG_SYSTEM() 167 | 168 | if string.find(arg1,"Selected object") ~= nil then 169 | if fID == 1 then 170 | SendChatMessage('.gob info') 171 | fID = 2 172 | end 173 | end 174 | if string.find(arg1,"GUID:") ~= nil then 175 | if fID == 2 then 176 | WorkString = string.gsub(arg1, '(|.........)', '') 177 | WorkString = string.gsub(WorkString, 'GUID:', '') 178 | ObjectIDTxT:SetText(WorkString) 179 | fID = 3 180 | end 181 | end 182 | if string.find(arg1,"Model:") ~= nil then 183 | if fID == 3 then 184 | WorkString = string.gsub(arg1, '(|.........)', '') 185 | WorkString = string.gsub(WorkString, 'Model:', '') 186 | ObjectMTxt:SetText(WorkString) 187 | fID = 0 188 | end 189 | end 190 | if string.find(arg1,"Model:") ~= nil then 191 | WorkString = string.gsub(arg1, '(|.........)', '') 192 | WorkString = string.match(WorkString, '%d*%d') 193 | --ObjectPlay:LoadModel(WorkString) 194 | end 195 | if string.find(arg1,"No inrange GameObject") ~= nil then 196 | if fID == 1 then 197 | fID = 0 198 | end 199 | end 200 | end ]] 201 | 202 | function CheckToggle(action) 203 | if action == "spawn" then 204 | ma_moveonmovecheck:SetChecked(false) 205 | elseif action == "move" then 206 | ma_spawnonmovecheck:SetChecked(false) 207 | else 208 | end 209 | 210 | --[[ isChecked = ma_spawnonmovecheck:GetChecked() 211 | if isChecked == 1 then 212 | ma_spawnonmovecheck:SetChecked(false) 213 | else 214 | ma_spawnonmovecheck:SetChecked(true) 215 | end]] 216 | end 217 | 218 | --[[function GetOID() 219 | if fID == 0 then 220 | fID = 1 221 | SendChatMessage('.gob near') 222 | end 223 | end]] 224 | 225 | function DMUP() 226 | if cWorking == 0 then 227 | cWorking = 1 228 | incZ = ma_gobmovedistupdown:GetText() 229 | SendChatMessage(GPS) 230 | end 231 | end 232 | 233 | function DMDown() 234 | if cWorking == 0 then 235 | cWorking = 1 236 | incZ = 0 - ma_gobmovedistupdown:GetText() 237 | SendChatMessage(GPS) 238 | end 239 | end 240 | 241 | function DMLeft() 242 | if cWorking == 0 then 243 | cWorking = 1 244 | incY = ma_gobmovedistleftright:GetText() 245 | SendChatMessage(GPS) 246 | end 247 | end 248 | 249 | function DMRight() 250 | if cWorking == 0 then 251 | cWorking = 1 252 | incY = 0 - ma_gobmovedistleftright:GetText() 253 | SendChatMessage(GPS) 254 | end 255 | end 256 | 257 | function DMSS() 258 | if cWorking == 0 then 259 | cWorking = 1 260 | SendChatMessage(GPS) 261 | end 262 | end 263 | 264 | function DMSS2() 265 | isChecked = ma_spawnonmovecheck:GetChecked() 266 | isChecked2 = ma_moveonmovecheck:GetChecked() 267 | if isChecked == 1 then --AddonMove 268 | ObjectN = ma_Obj_idbutton:GetText() 269 | SendChatMessage('.gob add '..ObjectN) 270 | elseif isChecked2 == 1 then --MoveonMove 271 | SendChatMessage('.gob del '..ma_Obj_guidbutton:GetText()) 272 | ObjectN = ma_Obj_idbutton:GetText() 273 | SendChatMessage('.gob add '..ObjectN) 274 | else 275 | end 276 | OBJTarget() 277 | end 278 | 279 | function DMFront() 280 | if cWorking == 0 then 281 | cWorking = 1 282 | incX = ma_gobmovedistforwardback:GetText() 283 | SendChatMessage(GPS) 284 | end 285 | end 286 | 287 | function DMBack() 288 | if cWorking == 0 then 289 | cWorking = 1 290 | incX = 0 - ma_gobmovedistforwardback:GetText() 291 | SendChatMessage(GPS) 292 | end 293 | end -------------------------------------------------------------------------------- /Commands/Commands_Log.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -------------------------------------------------------------------------------- /Commands/Commands_Misc.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | function ApplyStyleChanges() 21 | if MangAdmin.db.account.style.color.buffer.backgrounds then 22 | MangAdmin.db.account.style.color.backgrounds = MangAdmin.db.account.style.color.buffer.backgrounds 23 | end 24 | if MangAdmin.db.account.style.color.buffer.frames then 25 | MangAdmin.db.account.style.color.frames = MangAdmin.db.account.style.color.buffer.frames 26 | end 27 | if MangAdmin.db.account.style.color.buffer.buttons then 28 | MangAdmin.db.account.style.color.buttons = MangAdmin.db.account.style.color.buffer.buttons 29 | end 30 | if MangAdmin.db.account.style.color.buffer.linkifier then 31 | MangAdmin.db.account.style.color.linkifier = MangAdmin.db.account.style.color.buffer.linkifier 32 | end 33 | if ma_checktransparencybutton:GetChecked() then 34 | MangAdmin.db.account.style.transparency.backgrounds = 0.5 35 | else 36 | MangAdmin.db.account.style.transparency.backgrounds = 1.0 37 | end 38 | if ma_checklocalsearchstringsbutton:GetChecked() then 39 | MangAdmin.db.account.localesearchstring = true 40 | else 41 | MangAdmin.db.account.localesearchstring = false 42 | end 43 | if ma_showtooltipsbutton:GetChecked() then 44 | MangAdmin.db.account.style.showtooltips = true 45 | else 46 | MangAdmin.db.account.style.showtooltips = false 47 | end 48 | if ma_showchatoutputbutton:GetChecked() then 49 | MangAdmin.db.account.style.showchat = true 50 | else 51 | MangAdmin.db.account.style.showchat = false 52 | end 53 | if ma_showminimenubutton:GetChecked() then 54 | MangAdmin.db.account.style.showminimenu = true 55 | else 56 | MangAdmin.db.account.style.showminimenu = false 57 | end 58 | if ma_delayparam then 59 | MangAdmin.db.account.style.delayparam = ma_delayparam:GetText() 60 | else 61 | end 62 | ReloadUI() 63 | end 64 | 65 | function ShowColorPicker(t) 66 | if t == "bg" then 67 | local r,g,b 68 | if MangAdmin.db.account.style.color.buffer.backgrounds then 69 | r = MangAdmin.db.account.style.color.buffer.backgrounds.r 70 | g = MangAdmin.db.account.style.color.buffer.backgrounds.g 71 | b = MangAdmin.db.account.style.color.buffer.backgrounds.b 72 | else 73 | r = MangAdmin.db.account.style.color.backgrounds.r 74 | g = MangAdmin.db.account.style.color.backgrounds.g 75 | b = MangAdmin.db.account.style.color.backgrounds.b 76 | end 77 | ColorPickerFrame.cancelFunc = function(prev) 78 | local r,g,b = unpack(prev) 79 | ma_bgcolorshowbutton_texture:SetTexture(r,g,b) 80 | end 81 | ColorPickerFrame.func = function() 82 | local r,g,b = ColorPickerFrame:GetColorRGB() 83 | ma_bgcolorshowbutton_texture:SetTexture(r,g,b) 84 | MangAdmin.db.account.style.color.buffer.backgrounds = {} 85 | MangAdmin.db.account.style.color.buffer.backgrounds.r = r 86 | MangAdmin.db.account.style.color.buffer.backgrounds.g = g 87 | MangAdmin.db.account.style.color.buffer.backgrounds.b = b 88 | end 89 | ColorPickerFrame:SetColorRGB(r,g,b) 90 | ColorPickerFrame.previousValues = {r,g,b} 91 | elseif t == "frm" then 92 | local r,g,b 93 | if MangAdmin.db.account.style.color.buffer.frames then 94 | r = MangAdmin.db.account.style.color.buffer.frames.r 95 | g = MangAdmin.db.account.style.color.buffer.frames.g 96 | b = MangAdmin.db.account.style.color.buffer.frames.b 97 | else 98 | r = MangAdmin.db.account.style.color.frames.r 99 | g = MangAdmin.db.account.style.color.frames.g 100 | b = MangAdmin.db.account.style.color.frames.b 101 | end 102 | ColorPickerFrame.cancelFunc = function(prev) 103 | local r,g,b = unpack(prev) 104 | ma_frmcolorshowbutton_texture:SetTexture(r,g,b) 105 | end 106 | ColorPickerFrame.func = function() 107 | local r,g,b = ColorPickerFrame:GetColorRGB() 108 | ma_frmcolorshowbutton_texture:SetTexture(r,g,b) 109 | MangAdmin.db.account.style.color.buffer.frames = {} 110 | MangAdmin.db.account.style.color.buffer.frames.r = r 111 | MangAdmin.db.account.style.color.buffer.frames.g = g 112 | MangAdmin.db.account.style.color.buffer.frames.b = b 113 | end 114 | ColorPickerFrame:SetColorRGB(r,g,b) 115 | ColorPickerFrame.previousValues = {r,g,b} 116 | elseif t == "btn" then 117 | local r,g,b 118 | if MangAdmin.db.account.style.color.buffer.buttons then 119 | r = MangAdmin.db.account.style.color.buffer.buttons.r 120 | g = MangAdmin.db.account.style.color.buffer.buttons.g 121 | b = MangAdmin.db.account.style.color.buffer.buttons.b 122 | else 123 | r = MangAdmin.db.account.style.color.buttons.r 124 | g = MangAdmin.db.account.style.color.buttons.g 125 | b = MangAdmin.db.account.style.color.buttons.b 126 | end 127 | ColorPickerFrame.cancelFunc = function(prev) 128 | local r,g,b = unpack(prev) 129 | ma_btncolorshowbutton_texture:SetTexture(r,g,b) 130 | end 131 | ColorPickerFrame.func = function() 132 | local r,g,b = ColorPickerFrame:GetColorRGB(); 133 | ma_btncolorshowbutton_texture:SetTexture(r,g,b) 134 | MangAdmin.db.account.style.color.buffer.buttons = {} 135 | MangAdmin.db.account.style.color.buffer.buttons.r = r 136 | MangAdmin.db.account.style.color.buffer.buttons.g = g 137 | MangAdmin.db.account.style.color.buffer.buttons.b = b 138 | end 139 | ColorPickerFrame:SetColorRGB(r,g,b) 140 | ColorPickerFrame.previousValues = {r,g,b} 141 | elseif t == "linkifier" then 142 | local r,g,b 143 | if MangAdmin.db.account.style.color.buffer.linkifier then 144 | r = MangAdmin.db.account.style.color.buffer.linkifier.r 145 | g = MangAdmin.db.account.style.color.buffer.linkifier.g 146 | b = MangAdmin.db.account.style.color.buffer.linkifier.b 147 | else 148 | r = MangAdmin.db.account.style.color.linkifier.r 149 | g = MangAdmin.db.account.style.color.linkifier.g 150 | b = MangAdmin.db.account.style.color.linkifier.b 151 | end 152 | ColorPickerFrame.cancelFunc = function(prev) 153 | local r,g,b = unpack(prev) 154 | ma_linkifiercolorbutton_texture:SetTexture(r,g,b) 155 | end 156 | ColorPickerFrame.func = function() 157 | local r,g,b = ColorPickerFrame:GetColorRGB(); 158 | ma_linkifiercolorbutton_texture:SetTexture(r,g,b) 159 | MangAdmin.db.account.style.color.buffer.linkifier = {} 160 | MangAdmin.db.account.style.color.buffer.linkifier.r = r 161 | MangAdmin.db.account.style.color.buffer.linkifier.g = g 162 | MangAdmin.db.account.style.color.buffer.linkifier.b = b 163 | end 164 | ColorPickerFrame:SetColorRGB(r,g,b) 165 | ColorPickerFrame.previousValues = {r,g,b} 166 | end 167 | ColorPickerFrame.hasOpacity = false 168 | ColorPickerFrame:Show() 169 | end 170 | 171 | function ChangeWeather(status) 172 | if not (status == "") then 173 | MangAdmin:ChatMsg(".wchange "..status) 174 | MangAdmin:LogAction("Changed weather ("..status..").") 175 | end 176 | end -------------------------------------------------------------------------------- /Commands/Commands_NPC.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | function InitModelFrameNPC() 21 | ma_npcmodelframe:SetScript("OnUpdate", function() MangAdminNpcModelOnUpdate(arg1) end) 22 | ma_npcmodelframe.rotation = 0.61; 23 | ma_npcmodelframe:SetRotation(ma_npcmodelframe.rotation) 24 | ma_npcmodelframe:SetUnit("player") 25 | 26 | end 27 | 28 | function NpcModelRotateLeft() 29 | ma_npcmodelframe.rotation = ma_npcmodelframe.rotation - 0.03 30 | ma_npcmodelframe:SetRotation(ma_npcmodelframe.rotation) 31 | PlaySound("igInventoryRotateCharacter") 32 | end 33 | 34 | function NpcModelRotateRight() 35 | ma_npcmodelframe.rotation = ma_npcmodelframe.rotation + 0.03 36 | ma_npcmodelframe:SetRotation(ma_npcmodelframe.rotation) 37 | PlaySound("igInventoryRotateCharacter") 38 | end 39 | 40 | function MangAdminNpcModelOnUpdate(elapsedTime) 41 | if ( ma_npcmodelrotatelbutton:GetButtonState() == "PUSHED" ) then 42 | this.rotation = this.rotation + (elapsedTime * 2 * PI * ROTATIONS_PER_SECOND) 43 | if ( this.rotation < 0 ) then 44 | this.rotation = this.rotation + (2 * PI) 45 | end 46 | this:SetRotation(this.rotation); 47 | end 48 | if ( ma_npcmodelrotaterbutton:GetButtonState() == "PUSHED" ) then 49 | this.rotation = this.rotation - (elapsedTime * 2 * PI * ROTATIONS_PER_SECOND) 50 | if ( this.rotation > (2 * PI) ) then 51 | this.rotation = this.rotation - (2 * PI) 52 | end 53 | this:SetRotation(this.rotation); 54 | end 55 | end 56 | 57 | function NpcModelChanged() 58 | if not MangAdmin:Selection("none") then 59 | ma_npcmodelframe:SetUnit("target") 60 | else 61 | ma_npcmodelframe:SetUnit("player") 62 | end 63 | ma_npcmodelframe:RefreshUnit() 64 | end 65 | 66 | function NPCKillSomething() 67 | local target = UnitName("target") or UnitName("player") 68 | MangAdmin:ChatMsg(".die") 69 | MangAdmin:LogAction("Killed "..target..".") 70 | end 71 | 72 | function Respawn() 73 | MangAdmin:ChatMsg(".respawn") 74 | MangAdmin:LogAction("Respawned creatures near you.") 75 | end 76 | 77 | function NPCDistance() 78 | local player = UnitName("target") or UnitName("player") 79 | MangAdmin:ChatMsg(".distance") 80 | MangAdmin:LogAction("Got distance to player "..player..".") 81 | end 82 | 83 | function NPCShowGUID() 84 | local player = UnitName("target") or UnitName("player") 85 | MangAdmin:ChatMsg(".guid") 86 | MangAdmin:LogAction("Got GUID for player "..player..".") 87 | end 88 | 89 | function NPCInfo() 90 | local player = UnitName("target") or UnitName("player") 91 | MangAdmin:ChatMsg(".npc info") 92 | MangAdmin:LogAction("Got NPC info for player "..player..".") 93 | end 94 | 95 | function NPCDemorph() 96 | local player = UnitName("target") or UnitName("player") 97 | MangAdmin:ChatMsg(".demorph") 98 | MangAdmin:LogAction("Demorphed player "..player..".") 99 | end 100 | 101 | 102 | function NPCMove() 103 | local player = UnitName("target") or UnitName("player") 104 | MangAdmin:ChatMsg(".npc move") 105 | MangAdmin:LogAction("Set NPC move for player "..player..".") 106 | end 107 | 108 | 109 | 110 | function NPCDel() 111 | local player = UnitName("target") or UnitName("player") 112 | MangAdmin:ChatMsg(".npc del") 113 | MangAdmin:LogAction("Set NPC deleted for player "..player..".") 114 | end 115 | 116 | function NPC_GUID_Get() 117 | MangAdmin:ID_Setting_Start_Write(1) 118 | local player = UnitName("target") or UnitName("player") 119 | MangAdmin:ChatMsg(".npc info") 120 | MangAdmin:LogAction("Got NPC_GUID_Get for player "..player..".") 121 | end 122 | 123 | function NPC_Add() 124 | local player = UnitName("target") or UnitName("player") 125 | local npc = ma_NPC_idbutton:GetText() 126 | MangAdmin:ChatMsg(".npc add "..npc) 127 | MangAdmin:LogAction("NPC Spawn mob "..npc..".") 128 | end 129 | 130 | function NPCGo() 131 | local player = UnitName("target") or UnitName("player") 132 | local npc = ma_NPC_guidbutton:GetText() 133 | MangAdmin:ChatMsg(".go creature "..npc) 134 | MangAdmin:LogAction("Go NPC for player "..player..".") 135 | end 136 | 137 | function NPCMorph() 138 | local cname = ma_charactertarget:GetText() 139 | local npccname = ma_npccharactertarget:GetText() 140 | MangAdmin:ChatMsg(".modify morph "..npccname) 141 | MangAdmin:LogAction(".modify morph "..npccname..".") 142 | end 143 | 144 | function NPCSay() 145 | local cname = ma_charactertarget:GetText() 146 | local npccname = ma_npccharactertarget:GetText() 147 | MangAdmin:ChatMsg(".npc say "..npccname) 148 | MangAdmin:LogAction(".npc say "..npccname..".") 149 | end 150 | 151 | function NPCYell() 152 | local cname = ma_charactertarget:GetText() 153 | local npccname = ma_npccharactertarget:GetText() 154 | MangAdmin:ChatMsg(".npc yell "..npccname) 155 | MangAdmin:LogAction(".npc yell "..npccname..".") 156 | end 157 | 158 | function NPCAura() 159 | local cname = ma_charactertarget:GetText() 160 | local npccname = ma_npccharactertarget:GetText() 161 | MangAdmin:ChatMsg(".aura "..npccname) 162 | MangAdmin:LogAction(".aura "..npccname..".") 163 | end 164 | 165 | function NPCUnaura() 166 | local cname = ma_charactertarget:GetText() 167 | local npccname = ma_npccharactertarget:GetText() 168 | MangAdmin:ChatMsg(".unaura "..npccname) 169 | MangAdmin:LogAction(".unaura "..npccname..".") 170 | end 171 | 172 | function NpcEmote(emote) 173 | MangAdmin:ChatMsg(".npc playemote "..emote) 174 | MangAdmin:LogAction("Played emote ("..emote..").") 175 | end 176 | 177 | function NPCBindSight() 178 | local npccname = ma_npccharactertarget:GetText() 179 | MangAdmin:ChatMsg(".bindsight") 180 | MangAdmin:LogAction("Sight bound to "..npccname) 181 | end 182 | 183 | function NPCUnBindSight() 184 | local npccname = ma_npccharactertarget:GetText() 185 | MangAdmin:ChatMsg(".unbindsight") 186 | MangAdmin:LogAction("Sight unbound to "..npccname) 187 | end 188 | 189 | function NPCComeToMe() 190 | local npccname = ma_npccharactertarget:GetText() 191 | MangAdmin:ChatMsg(".cometome 1") 192 | MangAdmin:LogAction("Forced "..npccname.." using ComeToMe") 193 | 194 | end 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | function DisplayUP() 218 | local currentid = ma_npcdisplayid:GetText() 219 | currentid = currentid + 1 220 | ma_npcdisplayid:SetText(currentid) 221 | MangAdmin:ChatMsg(".npc set model "..currentid) 222 | end 223 | function DisplayDown() 224 | local currentid = ma_npcdisplayid:GetText() 225 | currentid = currentid - 1 226 | ma_npcdisplayid:SetText(currentid) 227 | MangAdmin:ChatMsg(".npc set model "..currentid) 228 | end 229 | 230 | function ID_UP() 231 | local currentid = ma_NPC_idbutton:GetText() 232 | currentid = currentid + 1 233 | ma_NPC_idbutton:SetText(currentid) 234 | -- MangAdmin:ChatMsg(".npc set model "..currentid) 235 | end 236 | 237 | function ID_DOWN() 238 | local currentid = ma_NPC_idbutton:GetText() 239 | currentid = currentid - 1 240 | ma_NPC_idbutton:SetText(currentid) 241 | -- MangAdmin:ChatMsg(".npc set model "..currentid) 242 | end 243 | 244 | function NPCModelZoomIn() 245 | ma_npcmodelframe:SetCamera(0) 246 | -- ma_modelframe:SetModelScale(ma_modelframe:GetModelScale() + .1) 247 | --ma_modelframe:SetPosition(1,ma_modelframe:GetModelScale()*3,0) 248 | --ma_modelframe:RefreshUnit() 249 | end 250 | 251 | function NPCModelZoomOut() 252 | ma_npcmodelframe:SetCamera(1) 253 | ma_npcmodelframe:RefreshUnit() 254 | 255 | -- ma_modelframe:SetCamera(2) 256 | --ma_modelframe:SetModelScale(ma_modelframe:GetModelScale() * .5) 257 | --ma_modelframe:SetPosition(0,0,0) 258 | --ma_modelframe:RefreshUnit() 259 | 260 | end 261 | 262 | function NPCPossess() 263 | local player = UnitName("target") or UnitName("player") 264 | MangAdmin:ChatMsg(".possess") 265 | MangAdmin:LogAction("Possessed "..player) 266 | 267 | end 268 | function NPCUnPossess() 269 | local player = UnitName("target") or UnitName("player") 270 | MangAdmin:ChatMsg(".unpossess") 271 | MangAdmin:LogAction("UnPossessed "..player) 272 | 273 | end 274 | -------------------------------------------------------------------------------- /Commands/Commands_NPC2.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | function NPCFreeze() 22 | local player = UnitName("target") or UnitName("player") 23 | MangAdmin:ChatMsg(".npc set movetype stay NODEL") 24 | MangAdmin:LogAction("Set NPC movement to STAY for player "..player..".") 25 | end 26 | 27 | function NPCFreezeDEL() 28 | local player = UnitName("target") or UnitName("player") 29 | MangAdmin:ChatMsg(".npc set movetype stay") 30 | MangAdmin:LogAction("Set NPC movement to STAY for player "..player..".") 31 | end 32 | 33 | function WayEndAdd() 34 | local player = UnitName("target") or UnitName("player") 35 | MangAdmin:ChatMsg(".wp add") 36 | MangAdmin:LogAction("WayPoint Add for player "..player..".") 37 | end 38 | 39 | function NPCAdd_Way() 40 | local player = UnitName("target") or UnitName("player") 41 | local npc = ma_NPC_guidbutton:GetText() 42 | MangAdmin:ChatMsg(".wp add "..npc) 43 | --MangAdmin:Way_Point_Add_Start_Write(1) 44 | MangAdmin:ChatMsg(".wp show on "..npc) 45 | MangAdmin:LogAction("WayPoint Add for player "..player..".") 46 | end 47 | 48 | function WayModifyAdd() 49 | local player = UnitName("target") or UnitName("player") 50 | MangAdmin:ChatMsg(".wp modify add") 51 | MangAdmin:LogAction("WayPoint(Modify) Add for player "..player..".") 52 | end 53 | 54 | function WayModifyDel() 55 | local player = UnitName("target") or UnitName("player") 56 | MangAdmin:ChatMsg(".wp modify del") 57 | MangAdmin:LogAction("WayPoint(Modify) Del for player "..player..".") 58 | end 59 | 60 | function NPCAdd_WayShowOn() 61 | local player = UnitName("target") or UnitName("player") 62 | local npc = ma_NPC_guidbutton:GetText() 63 | MangAdmin:ChatMsg(".wp show on "..npc) 64 | MangAdmin:LogAction("WayPoint Show On for player "..player..".") 65 | end 66 | 67 | function WayShowOn() 68 | local player = UnitName("target") or UnitName("player") 69 | MangAdmin:ChatMsg(".wp show on") 70 | MangAdmin:LogAction("WayPoint Show On for player "..player..".") 71 | end 72 | 73 | function WayShowOff() 74 | local player = UnitName("target") or UnitName("player") 75 | MangAdmin:ChatMsg(".wp show off") 76 | MangAdmin:LogAction("WayPoint Show Off for player "..player..".") 77 | end 78 | 79 | function NPCUnFreeze_Way() 80 | local player = UnitName("target") or UnitName("player") 81 | MangAdmin:ChatMsg(".npc set movetype way NODEL") 82 | MangAdmin:LogAction("Set NPC movement type to WAYPOINT for player "..player..".") 83 | end 84 | 85 | function NPCUnFreeze_Random() 86 | local player = UnitName("target") or UnitName("player") 87 | local rdistancecname = ma_npcunfreeze_random_distancebutton:GetText() 88 | MangAdmin:ChatMsg(".npc set spawndist "..rdistancecname) 89 | MangAdmin:LogAction("Set NPC spawndist "..rdistancecname..".") 90 | MangAdmin:ChatMsg(".npc setm ovetype random NODEL") 91 | MangAdmin:LogAction("Set NPC movement type to RANDOM for player "..player..".") 92 | MangAdmin:ChatMsg(".respawn") 93 | 94 | end 95 | 96 | function ShowMove() 97 | local player = UnitName("target") or UnitName("player") 98 | MangAdmin:ChatMsg(".movegens") 99 | MangAdmin:LogAction("Got Movement Stack for player "..player..".") 100 | end 101 | 102 | -------------------------------------------------------------------------------- /Commands/Commands_PvP.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | 22 | -------------------------------------------------------------------------------- /Commands/Commands_RPG.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -------------------------------------------------------------------------------- /Commands/Commands_Server.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | function Announce(value) 21 | MangAdmin:ChatMsg(".announce "..value) 22 | MangAdmin:LogAction("Announced message: "..value) 23 | end 24 | 25 | function Shutdown(value) 26 | if value == "" then 27 | MangAdmin:ChatMsg(".server shutdown 0") 28 | MangAdmin:LogAction("Shut down server instantly.") 29 | else 30 | MangAdmin:ChatMsg(".server shutdown "..value) 31 | MangAdmin:LogAction("Shut down server in "..value.." seconds.") 32 | end 33 | end 34 | 35 | function ReloadTable(tablename) 36 | if not (tablename == "") then 37 | MangAdmin:ChatMsg(".reload "..tablename) 38 | if tablename == "all" then 39 | MangAdmin:LogAction("Reloaded all reloadable MaNGOS database tables.") 40 | else 41 | MangAdmin:LogAction("Reloaded the table "..tablename..".") 42 | end 43 | end 44 | end 45 | 46 | function ReloadScripts() 47 | MangAdmin:ChatMsg(".loadscripts") 48 | MangAdmin:LogAction("(Re-)Loaded scripts.") 49 | end -------------------------------------------------------------------------------- /Commands/Commands_Tele.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | function TeleScrollUpdate() 22 | if not ma_ZoneScrollBar then 23 | MangAdmin:ChatMsg("Lost ma_ZoneScrollBar") 24 | end 25 | local cont_temp = MangAdmin.db.char.selectedCont 26 | cont = "EK_N" 27 | if cont_temp == Nil then 28 | else 29 | cont=cont_temp 30 | end 31 | --MangAdmin.db.char.selectedCont = cont 32 | --self:ChatMsg("Wrote cont:" ..cont) 33 | local TeleTable = {} 34 | local zoneCount = 0 35 | for index, value in pairsByKeys(ReturnTeleportLocations(cont)) do 36 | zoneCount = zoneCount + 1 37 | --MangAdmin:ChatMsg("Zone count:" .. zoneCount) 38 | if not MangAdmin.db.char.selectedZone and zoneCount == 0 then 39 | SubzoneScrollUpdate() 40 | end 41 | --MangAdmin:LogAction("added index: "..index) 42 | table.insert(TeleTable, {name = index, subzones = value}) 43 | end 44 | 45 | if zoneCount > -1 then 46 | --MangAdmin:ChatMsg("Zone count:" .. zoneCount) 47 | if not ma_ZoneScrollBar then 48 | MangAdmin:ChatMsg("Lost ma_ZoneScrollBar") 49 | end 50 | 51 | FauxScrollFrame_Update(ma_ZoneScrollBar, zoneCount, 12, 16); 52 | for line = 1,12 do 53 | --lineplusoffset = line + ((MangAdmin.db.account.tickets.page - 1) * 4) --for paged mode 54 | lineplusoffset = line + FauxScrollFrame_GetOffset(ma_ZoneScrollBar) 55 | --self:ChatMsg("L+O:" ..lineplusoffset) 56 | if lineplusoffset <= zoneCount then 57 | local teleobj = TeleTable[lineplusoffset] 58 | if MangAdmin.db.char.selectedZone == teleobj.name then 59 | getglobal("ma_ZoneScrollBarEntry"..line):SetText("|cffff0000"..teleobj.name.."|r") 60 | else 61 | getglobal("ma_ZoneScrollBarEntry"..line):SetText(teleobj.name) 62 | end 63 | getglobal("ma_ZoneScrollBarEntry"..line):SetScript("OnClick", function() 64 | MangAdmin.db.char.selectedZone = teleobj.name 65 | --MangAdmin.db.char.selectedCont = cont 66 | TeleScrollUpdate() 67 | --InlineScrollUpdate(cont) 68 | SubzoneScrollUpdate() 69 | end) 70 | getglobal("ma_ZoneScrollBarEntry"..line):SetScript("OnEnter", function() cont = MangAdmin.db.char.selectedCont end) 71 | getglobal("ma_ZoneScrollBarEntry"..line):SetScript("OnLeave", function() cont = MangAdmin.db.char.selectedCont end) 72 | getglobal("ma_ZoneScrollBarEntry"..line):Enable() 73 | getglobal("ma_ZoneScrollBarEntry"..line):Show() 74 | else 75 | getglobal("ma_ZoneScrollBarEntry"..line):Hide() 76 | end 77 | end 78 | else 79 | MangAdmin:NoResults("zones") 80 | end 81 | end 82 | 83 | function SubzoneScrollUpdate() 84 | local cont_temp = MangAdmin.db.char.selectedCont 85 | cont = "EK_N" 86 | if cont_temp == Nil then 87 | else 88 | cont=cont_temp 89 | end 90 | 91 | 92 | -- cont = MangAdmin.db.char.selectedCont 93 | local TeleTable = {} 94 | local subzoneCount = 0 95 | local shownZone = "Alterac Mountains" 96 | if MangAdmin.db.char.selectedZone then 97 | shownZone = MangAdmin.db.char.selectedZone 98 | end 99 | ma_telesubzonetext:SetText(Locale["Zone"]..shownZone) 100 | for index, value in pairsByKeys(ReturnTeleportLocations(cont)) do 101 | if index == shownZone then 102 | for i, v in pairsByKeys(value) do 103 | table.insert(TeleTable, {name = i, command = v}) 104 | subzoneCount = subzoneCount + 1 105 | end 106 | end 107 | end 108 | --MangAdmin:ChatMsg("subs:" ..subzoneCount) 109 | --MangAdmin:ChatMsg("Cont:" ..cont) 110 | if subzoneCount > 0 then 111 | FauxScrollFrame_Update(ma_SubzoneScrollBar,subzoneCount,12,16); 112 | for line = 1,12 do 113 | --lineplusoffset = line + ((MangAdmin.db.account.tickets.page - 1) * 4) --for paged mode 114 | lineplusoffset = line + FauxScrollFrame_GetOffset(ma_SubzoneScrollBar) 115 | if lineplusoffset <= subzoneCount then 116 | local teleobj = TeleTable[lineplusoffset] 117 | getglobal("ma_SubzoneScrollBarEntry"..line):SetText(teleobj.name) 118 | getglobal("ma_SubzoneScrollBarEntry"..line):SetScript("OnClick", function() MangAdmin:ChatMsg(teleobj.command) end) 119 | getglobal("ma_SubzoneScrollBarEntry"..line):SetScript("OnEnter", function() cont = MangAdmin.db.char.selectedCont end) 120 | getglobal("ma_SubzoneScrollBarEntry"..line):SetScript("OnLeave", function() cont = MangAdmin.db.char.selectedCont end) 121 | getglobal("ma_SubzoneScrollBarEntry"..line):Enable() 122 | getglobal("ma_SubzoneScrollBarEntry"..line):Show() 123 | else 124 | getglobal("ma_SubzoneScrollBarEntry"..line):Hide() 125 | end 126 | end 127 | else 128 | MangAdmin:NoResults("subzones") 129 | end 130 | end -------------------------------------------------------------------------------- /Commands/Commands_Ticket.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | function ShowTicketTab() 21 | wipe(MangAdmin.db.account.buffer.tickets) 22 | ma_deleteticketbutton:Disable() 23 | ma_answerticketbutton:Disable() 24 | ma_getcharticketbutton:Disable() 25 | ma_gocharticketbutton:Disable() 26 | ma_whisperticketbutton:Disable() 27 | MangAdmin:InstantGroupToggle("ticket") 28 | ResetTickets() 29 | -- RefreshTickets() 30 | -- RefreshTickets() 31 | end 32 | 33 | function RefreshOnlineTickets() 34 | ma_ticketscrollframe:SetScript("OnVerticalScroll", InlineScrollUpdate(), function(self, offset) FauxScrollFrame_OnVerticalScroll(self, offset-1, 16, InlineScrollUpdate()) end) 35 | ma_ticketscrollframe:SetScript("OnShow", function() InlineScrollUpdate() end) 36 | MangAdmin.db.char.requests.ticket = true 37 | MangAdmin:LogAction("Getting tickets.") 38 | MangAdmin:ChatMsg(".ticket onlinelist") 39 | for i=1,12 do 40 | getglobal("ma_ticketscrollframe"..i):Hide() 41 | end 42 | getglobal("ma_showticketsbutton"):Hide() 43 | 44 | end 45 | 46 | function RefreshTickets() 47 | 48 | ma_ticketscrollframe:SetScript("OnVerticalScroll", InlineScrollUpdate(), function(self, offset) FauxScrollFrame_OnVerticalScroll(self, offset-1, 16, InlineScrollUpdate()) end) 49 | ma_ticketscrollframe:SetScript("OnShow", function() InlineScrollUpdate() end) 50 | MangAdmin.db.char.requests.ticket = true 51 | MangAdmin:LogAction("Getting tickets.") 52 | MangAdmin:ChatMsg(".ticket list") 53 | for i=1,12 do 54 | getglobal("ma_ticketscrollframe"..i):Hide() 55 | end 56 | getglobal("ma_showonlineticketsbutton"):Hide() 57 | end 58 | 59 | function ResetTickets() 60 | wipe(MangAdmin.db.account.buffer.tickets) 61 | wipe(MangAdmin.db.account.buffer.tickets) 62 | wipe(MangAdmin.db.account.buffer.tickets) 63 | MangAdmin.db.account.buffer.tickets = {} 64 | MangAdmin.db.account.buffer.tickets = {} 65 | MangAdmin.db.account.buffer.tickets = {} 66 | MangAdmin.db.char.requests.ticket = true 67 | for i=1,12 do 68 | getglobal("ma_ticketscrollframe"..i):Hide() 69 | end 70 | getglobal("ma_showticketsbutton"):Show() 71 | getglobal("ma_showonlineticketsbutton"):Show() 72 | 73 | end 74 | 75 | function ShowTickets() 76 | InlineScrollUpdate() 77 | end 78 | 79 | 80 | --[[function MangAdmin:LoadTickets(number) 81 | self.db.char.newTicketQueue = {} 82 | --self.db.account.tickets.requested = 0 83 | if number then 84 | if tonumber(number) > 0 then 85 | self.db.account.tickets.count = tonumber(number) 86 | if self.db.char.requests.ticket then 87 | self:LogAction("Load of tickets requested. Found "..number.." tickets!") 88 | self:RequestTickets() 89 | self:SetIcon(ROOT_PATH.."Textures\\icon.tga") 90 | --ma_resetsearchbutton:Enable() 91 | end 92 | else 93 | --ma_resetsearchbutton:Disable() 94 | self:NoResults("ticket") 95 | end 96 | else 97 | self.db.char.requests.ticket = true 98 | self.db.account.tickets.count = 0 99 | self.db.account.buffer.tickets = {} 100 | --self:ChatMsg(".ticket list") 101 | --self:LogAction("Requesting ticket numberz!") 102 | end 103 | InlineScrollUpdate() 104 | end]] 105 | 106 | --[[function MangAdmin:RequestTickets() 107 | self.db.char.requests.ticket = true 108 | local ticketCount = 0 109 | table.foreachi(self.db.account.buffer.tickets, function() ticketCount = ticketCount + 1 end) 110 | --ma_lookupresulttext:SetText(Locale["ma_TicketCount"]..count) 111 | ma_top2text:SetText(Locale["realm"].." "..Locale["tickets"]..self.db.account.tickets.count) 112 | local tnumber = self.db.account.tickets.count - ticketCount 113 | --self:LogAction("tNumber = "..tnumber..", Tc = "..ticketCount) 114 | if tnumber > 0 then 115 | self:ChatMsg(".ticket "..tnumber) 116 | --self:LogAction(".ticket "..tnumber) 117 | self:LogAction("Loading ticket "..tnumber.."...") 118 | else 119 | self:LogAction("Loaded all available tickets! No more to load...") 120 | ma_resetsearchbutton:Disable() 121 | end 122 | end]] 123 | 124 | function Ticket(value) 125 | local ticket = MangAdmin.db.account.tickets.selected 126 | if value == "delete" then 127 | MangAdmin:ChatMsg(".ticket close "..ma_ticketid:GetText()) 128 | MangAdmin:LogAction("Closed ticket with number: "..ma_ticketid:GetText()) 129 | wipe(MangAdmin.db.account.buffer.tickets) 130 | MangAdmin.db.account.buffer.tickets={} 131 | -- MangAdmin:ChatMsg(".ticket delete"..ma_ticketid:GetText()) 132 | -- MangAdmin:LogAction("Deleted ticket with number: "..ma_ticketid:GetText()) 133 | ShowTicketTab() 134 | ResetTickets() 135 | --InlineScrollUpdate() 136 | elseif value == "gochar" then 137 | MangAdmin:ChatMsg(".appear "..ma_ticketwho:GetText()) 138 | elseif value == "getchar" then 139 | MangAdmin:ChatMsg(".summon "..ma_ticketwho:GetText()) 140 | elseif value == "answer" then 141 | -- MangAdmin:TogglePopup("mail", {recipient = ma_ticketwho:GetText(), subject = "Ticket("..ma_ticketid:GetText()..")"}) 142 | MangAdmin:TogglePopup("mail", {recipient = ma_ticketwho:GetText(), subject = "Ticket("..ma_ticketid:GetText()..")"}) 143 | -- MangAdmin:TogglePopup("mail", {recipient = ma_ticketwho:GetText(), subject = "Ticket("..ma_ticketid:GetText()..")", body = ma_ticketdetail:GetText()}) 144 | ma_maileditbox:SetText(ma_ticketdetail:GetText()) 145 | elseif value == "whisper" then 146 | -- ChatFrameEditBox:Show() 147 | -- ChatFrameEditBox:Insert("/w "..ma_ticketwho:GetText().." "); 148 | local editbox = ChatFrame1EditBox 149 | if not editbox then 150 | -- Support for 3.3.5 and newer 151 | editbox = ChatEdit_GetActiveWindow() 152 | end 153 | ChatEdit_ActivateChat(editbox); 154 | if editbox then 155 | editbox:Insert("/w "..ma_ticketwho:GetText().." "); 156 | end 157 | 158 | elseif value == "goticket" then 159 | MangAdmin:ChatMsg(".go ticket "..ma_ticketid:GetText()) 160 | end 161 | end 162 | 163 | --[[function MangAdmin:ToggleTickets(value) 164 | MangAdmin:ChatMsg(".ticket "..value) 165 | MangAdmin:LogAction("Turned receiving new tickets "..value..".") 166 | end]] 167 | 168 | 169 | function InlineScrollUpdate() 170 | MangAdmin:LogAction("Showing tickets.") 171 | local ticketCount = 0 172 | table.foreachi(MangAdmin.db.account.buffer.tickets, function() ticketCount = ticketCount + 1 end) 173 | if ticketCount > 0 then 174 | ma_ticketscrollframe1:SetText("Loading") 175 | local lineplusoffset 176 | local line 177 | ma_ticketscrollframe:Show() 178 | FauxScrollFrame_Update(ma_ticketscrollframe,ticketCount,12,16); 179 | for line = 1,12 do 180 | lineplusoffset = line + FauxScrollFrame_GetOffset(ma_ticketscrollframe) 181 | if lineplusoffset <= ticketCount then 182 | local object = MangAdmin.db.account.buffer.tickets[lineplusoffset] 183 | if object then 184 | getglobal("ma_ticketscrollframe"..line):SetText("Id: |cffffffff"..object["tNumber"].."|r Who: |cffffffff"..object["tChar"].."|r When: |cffffffff"..object["tLCreate"].."|r") 185 | MangAdmin.db.account.tickets.selected = object 186 | ma_deleteticketbutton:Enable() 187 | ma_answerticketbutton:Enable() 188 | ma_getcharticketbutton:Enable() 189 | ma_gocharticketbutton:Enable() 190 | ma_whisperticketbutton:Enable() 191 | getglobal("ma_ticketscrollframe"..line):SetScript("OnEnter", function() --[[Do nothing]] end) 192 | getglobal("ma_ticketscrollframe"..line):SetScript("OnLeave", function() --[[Do nothing]] end) 193 | getglobal("ma_ticketscrollframe"..line):SetScript("OnClick", function() ReadTicket(object["tNumber"], object["tChar"]) end) 194 | getglobal("ma_ticketscrollframe"..line):Enable() 195 | getglobal("ma_ticketscrollframe"..line):Show() 196 | end 197 | else 198 | getglobal("ma_ticketscrollframe"..line):Hide() 199 | end 200 | end 201 | else 202 | --MangAdmin:NoResults("ticket") 203 | end 204 | -- else 205 | -- end 206 | --MangAdmin.db.account.buffer.tickets = {} 207 | --MangAdmin.db.char.requests.ticket = false 208 | end 209 | 210 | function ReadTicket(tNumber, tChar) 211 | MangAdmin.db.char.requests.ticket = false 212 | ma_deleteticketbutton:Enable() 213 | ma_answerticketbutton:Enable() 214 | ma_getcharticketbutton:Enable() 215 | ma_gocharticketbutton:Enable() 216 | ma_whisperticketbutton:Enable() 217 | -- MangAdmin:ChatMsg(tNumber) 218 | -- tNumber=string.gsub(tNumber, ".", "") 219 | -- MangAdmin:ChatMsg(tNumber) 220 | --x = x - 1 221 | tNumber = string.match(tNumber, "%d+") 222 | MangAdmin:ChatMsg(".ticket viewid "..tNumber) 223 | ma_ticketid:SetText(tNumber) 224 | ma_ticketwho:SetText(tChar) 225 | --MangAdmin:ChatMsg(".pinfo "..tChar) 226 | MangAdmin:LogAction("Displaying ticket number "..tNumber.." from player "..tChar) 227 | 228 | --MangAdmin:ChatMsg("???") 229 | --ma_ticketdetail:SetText("Hello") 230 | --MangAdmin:ChatMsg(MangAdmin.db.account.buffer.ticketsfull["tMsg"]) 231 | local ticketdetail = MangAdmin.db.account.buffer.ticketsfull 232 | --ma_ticketdetail:SetText(ticketdetail["tMsg"]) 233 | -- getglobal("ma_ticketdetail"):SetText("Id: |cffffffff"..tNumber.."|r Who: |cffffffff"..tChar.."|r Msg: |cffffffff"..ticketdetail["tMsg"].."|r") 234 | -- ma_ticketdetail:SetText("Id: |cffffffff"..tNumber.."|r Who: |cffffffff"..tChar.."|r Msg: |cffffffff"..ticketdetail["tMsg"].."|r") 235 | -- ma_ticketdetail:SetText(ticketdetail["tMsg"].."|r") 236 | --ma_ticketdetail:SetText("Hello") 237 | 238 | end 239 | -------------------------------------------------------------------------------- /Commands/Commands_Vendor.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -------------------------------------------------------------------------------- /Commands/Commands_Who.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | function WhoUpdate() 22 | MangAdmin:LogAction("Getting Who.") 23 | local whoCount = 0 24 | table.foreachi(MangAdmin.db.account.buffer.who, function() whoCount = whoCount + 1 end) 25 | if whoCount > 0 then 26 | ma_whoscrollframe1:SetText("Loading") 27 | local lineplusoffset 28 | local line 29 | ma_whoscrollframe:Show() 30 | FauxScrollFrame_Update(ma_whoscrollframe,whoCount,12,16); 31 | for line = 1,12 do 32 | lineplusoffset = line + FauxScrollFrame_GetOffset(ma_whoscrollframe) 33 | if lineplusoffset <= whoCount then 34 | local object = MangAdmin.db.account.buffer.who[lineplusoffset] 35 | if object then 36 | getglobal("ma_whoscrollframe"..line):SetText("Acct: |cffffffff"..object["tAcc"].."|r Char: |cffffffff"..object["tChar"].."|r GMLvl: |cffffffff"..object["tGMLevel"].."|r Exp: |cffffffff"..object["tExp"].."|r") 37 | ma_deletewhobutton:Enable() 38 | ma_answerwhobutton:Enable() 39 | ma_summonwhobutton:Enable() 40 | ma_gocharwhobutton:Enable() 41 | ma_whisperwhobutton:Enable() 42 | getglobal("ma_whoscrollframe"..line):SetScript("OnEnter", function() --[[Do nothing]] end) 43 | getglobal("ma_whoscrollframe"..line):SetScript("OnLeave", function() --[[Do nothing]] end) 44 | getglobal("ma_whoscrollframe"..line):SetScript("OnClick", function() WhoDetail(object["tAcc"], object["tChar"], object["tMap"], object["tZone"]) end) 45 | getglobal("ma_whoscrollframe"..line):Enable() 46 | getglobal("ma_whoscrollframe"..line):Show() 47 | end 48 | else 49 | getglobal("ma_whoscrollframe"..line):Hide() 50 | end 51 | end 52 | else 53 | --MangAdmin:NoResults("ticket") 54 | end 55 | -- else 56 | -- end 57 | --MangAdmin.db.account.buffer.tickets = {} 58 | --MangAdmin.db.char.requests.ticket = false 59 | end 60 | 61 | function WhoDetail(tAcc, tChar, tMap, tZone) 62 | -- MangAdmin.db.char.requests.ticket = false 63 | -- MangAdmin:ChatMsg(tNumber) 64 | -- tNumber=string.gsub(tNumber, "00", "") 65 | -- MangAdmin:ChatMsg(tNumber) 66 | --x = x - 1 67 | -- tNumber = string.match(tNumber, "%d+") 68 | MangAdmin:ChatMsg(".pinfo "..tChar) 69 | ma_whoid:SetText(tAcc) 70 | ma_who:SetText(tChar) 71 | local MapName=ReturnMapName(tMap) 72 | local AreaName=ReturnAreaName(tZone) 73 | ma_whowhere:SetText(MapName.."-"..AreaName) 74 | MangAdmin:LogAction("Displaying character detail on "..tAcc..":"..tChar) 75 | -- local ticketdetail = MangAdmin.db.account.buffer.ticketsfull 76 | end 77 | 78 | function ResetWho() 79 | MangAdmin.db.account.buffer.who = {} 80 | wipe(MangAdmin.db.account.buffer.who) 81 | MangAdmin.db.account.buffer.who = {} 82 | WhoUpdate() 83 | end 84 | 85 | function Who(value) 86 | if value == "delete" then 87 | MangAdmin:ChatMsg(".kick "..ma_who:GetText()) 88 | MangAdmin:LogAction("Kicked: "..ma_who:GetText()) 89 | ResetWho() 90 | elseif value == "gochar" then 91 | MangAdmin:ChatMsg(".appear "..ma_who:GetText()) 92 | elseif value == "getchar" then 93 | MangAdmin:ChatMsg(".summon "..ma_who:GetText()) 94 | elseif value == "answer" then 95 | MangAdmin:TogglePopup("mail", {recipient = ma_who:GetText(), subject = ""}) 96 | elseif value == "whisper" then 97 | --ChatFrame1EditBox:Show() 98 | -- ChatEdit_GetLastActiveWindow():Show() 99 | --ChatEdit_ActivateChat(ChatEdit_GetActiveWindow()); 100 | -- ChatFrame1EditBox:Insert("/w "..ma_who:GetText().." ".. string.char(10)..string.char(13)); 101 | -- ChatEdit_FocusActiveWindow(1); 102 | local editbox = ChatFrame1EditBox 103 | if not editbox then 104 | -- Support for 3.3.5 and newer 105 | editbox = ChatEdit_GetActiveWindow() 106 | end 107 | ChatEdit_ActivateChat(editbox); 108 | if editbox then 109 | editbox:Insert("/w "..ma_who:GetText().." "); 110 | end 111 | elseif value == "customize" then 112 | MangAdmin:ChatMsg(".character customize "..ma_who:GetText()) 113 | elseif value == "chardelete" then 114 | MangAdmin:ChatMsg(".character delete "..ma_who:GetText()) 115 | elseif value == "charrename" then 116 | MangAdmin:ChatMsg(".character rename "..ma_who:GetText()) 117 | elseif value == "1dayban" then 118 | MangAdmin:ChatMsg(".ban character "..ma_who:GetText().." 1d 1Day ban by GM") 119 | elseif value == "permban" then 120 | MangAdmin:ChatMsg(".ban character "..ma_who:GetText().." -1d Permanent ban by GM") 121 | elseif value == "jaila" then 122 | cname=ma_who:GetText() 123 | MangAdmin:ChatMsg(".tele name "..cname.." ma_AllianceJail") 124 | MangAdmin:LogAction("Jailed player "..cname..".") 125 | MangAdmin:ChatMsg(".notify "..cname.." has been found guilty and jailed.") 126 | elseif value == "jailh" then 127 | cname=ma_who:GetText() 128 | MangAdmin:ChatMsg(".tele name "..cname.." ma_HordeJail") 129 | MangAdmin:LogAction("Jailed player "..cname..".") 130 | MangAdmin:ChatMsg(".notify "..cname.." has been found guilty and jailed.") 131 | elseif value == "unjail" then 132 | cname=ma_who:GetText() 133 | MangAdmin:ChatMsg(".recall "..cname) 134 | MangAdmin:LogAction("UnJailed player "..cname..".") 135 | MangAdmin:ChatMsg(".notify "..cname.." has been pardoned and released from jail.") 136 | 137 | 138 | end 139 | 140 | 141 | 142 | 143 | end -------------------------------------------------------------------------------- /Docs/Adding.txt: -------------------------------------------------------------------------------- 1 | Extending TrinityAdmin 2 | 3 | Preface: This is a living document, meaning it will grow and change as time goes by. I am using it as a 'scratchpad' to record notes for myself, and perhaps someday, YOU. It contains snippets and shoirtcuts to make developing for TrinityAdmin easier and faster. 4 | 5 | 6 | [[Adding a new command button to TrinityAdmin]] 7 | Broadly, in order to add a button with a command, four steps are required (in toc order): 8 | -make tooltips and button text localised in ./Locales/xxxx.lua 9 | -write the function in ./Commands/Commands_xxxx.lua 10 | -prototype/init the button, function, text, and tooltip in FunctionInit.lua 11 | -Draw the button in the ./Frames/MangFrames_Sectionxxxx.lua 12 | 13 | -------------------------------------------------------------------------------- /Frames/MangFrames_LookupButtons.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -- Initializing dynamic frames with LUA and FrameLib 22 | -- This script must be listed in the .toc after "MangFrames_Tabs.lua" 23 | -- Also some variables are globally taken from MangAdmin.lua 24 | 25 | function MangAdmin:CreateLookupButtons() 26 | local transparency = { 27 | bg = MangAdmin.db.account.style.transparency.backgrounds, 28 | btn = MangAdmin.db.account.style.transparency.buttons, 29 | frm = MangAdmin.db.account.style.transparency.frames 30 | } 31 | local color = { 32 | bg = MangAdmin.db.account.style.color.backgrounds, 33 | btn = MangAdmin.db.account.style.color.buttons, 34 | frm = MangAdmin.db.account.style.color.frames 35 | } 36 | 37 | --[[Lookup Buttons]] 38 | FrameLib:BuildButton({ 39 | name = "ma_itembutton", 40 | group = "bg", 41 | parent = ma_leftframe, 42 | texture = { 43 | name = "ma_itembutton_texture", 44 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 45 | }, 46 | size = { 47 | width = 100, 48 | height = 20 49 | }, 50 | setpoint = { 51 | pos = "TOPLEFT", 52 | offX = 10, 53 | offY = -4 54 | }, 55 | text = Locale["ma_ItemButton"] 56 | }) 57 | 58 | FrameLib:BuildButton({ 59 | name = "ma_itemsetbutton", 60 | group = "bg", 61 | parent = ma_leftframe, 62 | texture = { 63 | name = "ma_itemsetbutton_texture", 64 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 65 | }, 66 | size = { 67 | width = 100, 68 | height = 20 69 | }, 70 | setpoint = { 71 | pos = "TOPLEFT", 72 | offX = 114, 73 | offY = -4 74 | }, 75 | text = Locale["ma_ItemSetButton"] 76 | }) 77 | 78 | FrameLib:BuildButton({ 79 | name = "ma_spellbutton", 80 | group = "bg", 81 | parent = ma_leftframe, 82 | texture = { 83 | name = "ma_spellbutton_texture", 84 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 85 | }, 86 | size = { 87 | width = 100, 88 | height = 20 89 | }, 90 | setpoint = { 91 | pos = "TOPLEFT", 92 | offX = 218, 93 | offY = -4 94 | }, 95 | text = Locale["ma_SpellButton"] 96 | }) 97 | 98 | FrameLib:BuildButton({ 99 | name = "ma_skillbutton", 100 | group = "bg", 101 | parent = ma_leftframe, 102 | texture = { 103 | name = "ma_skillbutton_texture", 104 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 105 | }, 106 | size = { 107 | width = 100, 108 | height = 20 109 | }, 110 | setpoint = { 111 | pos = "TOPLEFT", 112 | offX = 10, 113 | offY = -28 114 | }, 115 | text = Locale["ma_SkillButton"] 116 | }) 117 | 118 | FrameLib:BuildButton({ 119 | name = "ma_questbutton", 120 | group = "bg", 121 | parent = ma_leftframe, 122 | texture = { 123 | name = "ma_questbutton_texture", 124 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 125 | }, 126 | size = { 127 | width = 100, 128 | height = 20 129 | }, 130 | setpoint = { 131 | pos = "TOPLEFT", 132 | offX = 114, 133 | offY = -28 134 | }, 135 | text = Locale["ma_QuestButton"] 136 | }) 137 | 138 | FrameLib:BuildButton({ 139 | name = "ma_objectbutton", 140 | group = "bg", 141 | parent = ma_leftframe, 142 | texture = { 143 | name = "ma_objectbutton_texture", 144 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 145 | }, 146 | size = { 147 | width = 100, 148 | height = 20 149 | }, 150 | setpoint = { 151 | pos = "TOPLEFT", 152 | offX = 218, 153 | offY = -28 154 | }, 155 | text = Locale["ma_ObjectButton"] 156 | }) 157 | 158 | FrameLib:BuildButton({ 159 | name = "ma_creaturebutton", 160 | group = "bg", 161 | parent = ma_leftframe, 162 | texture = { 163 | name = "ma_creaturebutton_texture", 164 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 165 | }, 166 | size = { 167 | width = 100, 168 | height = 20 169 | }, 170 | setpoint = { 171 | pos = "TOPLEFT", 172 | offX = 10, 173 | offY = -52 174 | }, 175 | text = Locale["ma_CreatureButton"] 176 | }) 177 | 178 | FrameLib:BuildButton({ 179 | name = "ma_telesearchbutton", 180 | group = "bg", 181 | parent = ma_leftframe, 182 | texture = { 183 | name = "ma_telesearchbutton_texture", 184 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 185 | }, 186 | size = { 187 | width = 100, 188 | height = 20 189 | }, 190 | setpoint = { 191 | pos = "TOPLEFT", 192 | offX = 114, 193 | offY = -52 194 | }, 195 | text = Locale["ma_TeleSearchButton"] 196 | }) 197 | 198 | FrameLib:BuildButton({ 199 | name = "ma_sendmailbutton", 200 | group = "bg", 201 | parent = ma_leftframe, 202 | texture = { 203 | name = "ma_sendmailbutton_texture", 204 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 205 | }, 206 | size = { 207 | width = 100, 208 | height = 20 209 | }, 210 | setpoint = { 211 | pos = "TOPLEFT", 212 | offX = 218, 213 | offY = -52 214 | }, 215 | text = Locale["ma_Mail"] 216 | }) 217 | 218 | FrameLib:BuildButton({ 219 | name = "ma_closebutton", 220 | group = "bg", 221 | parent = ma_rightframe, 222 | texture = { 223 | name = "ma_languagebutton_texture", 224 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 225 | }, 226 | size = { 227 | width = 10, 228 | height = 10 229 | }, 230 | setpoint = { 231 | pos = "BOTTOMRIGHT", 232 | offX = -10, 233 | offY = 10 234 | }, 235 | text = "X" 236 | }) 237 | end 238 | -------------------------------------------------------------------------------- /Frames/MangFrames_SectionAhbot.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -- Initializing dynamic frames with LUA and FrameLib 22 | -- This script must be listed in the .toc after "MangFrames_SectionTicket.lua" 23 | -- Also some variables are globally taken from MangAdmin.lua 24 | 25 | function MangAdmin:CreateAhbotSection() 26 | local transparency = { 27 | bg = MangAdmin.db.account.style.transparency.backgrounds, 28 | btn = MangAdmin.db.account.style.transparency.buttons, 29 | frm = MangAdmin.db.account.style.transparency.frames 30 | } 31 | local color = { 32 | bg = MangAdmin.db.account.style.color.backgrounds, 33 | btn = MangAdmin.db.account.style.color.buttons, 34 | frm = MangAdmin.db.account.style.color.frames, 35 | linkifier = MangAdmin.db.account.style.color.linkifier 36 | } 37 | 38 | FrameLib:BuildFontString({ 39 | name = "ma_ahbotplaceholder", 40 | group = "ahbot", 41 | parent = ma_midframe, 42 | text = Locale["ma_ParameterizedCommands"], 43 | setpoint = { 44 | pos = "TOPLEFT", 45 | offX = 10, 46 | offY = 0 47 | } 48 | }) 49 | 50 | 51 | end 52 | -------------------------------------------------------------------------------- /Frames/MangFrames_SectionEvent.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -- Initializing dynamic frames with LUA and FrameLib 22 | -- This script must be listed in the .toc after "MangFrames_SectionTicket.lua" 23 | -- Also some variables are globally taken from MangAdmin.lua 24 | 25 | function MangAdmin:CreateEventSection() 26 | local transparency = { 27 | bg = MangAdmin.db.account.style.transparency.backgrounds, 28 | btn = MangAdmin.db.account.style.transparency.buttons, 29 | frm = MangAdmin.db.account.style.transparency.frames 30 | } 31 | local color = { 32 | bg = MangAdmin.db.account.style.color.backgrounds, 33 | btn = MangAdmin.db.account.style.color.buttons, 34 | frm = MangAdmin.db.account.style.color.frames, 35 | linkifier = MangAdmin.db.account.style.color.linkifier 36 | } 37 | 38 | 39 | FrameLib:BuildFontString({ 40 | name = "ma_eventplaceholder", 41 | group = "event", 42 | parent = ma_midframe, 43 | text = Locale["ma_ParameterizedCommands"], 44 | setpoint = { 45 | pos = "TOPLEFT", 46 | offX = 10, 47 | offY = 0 48 | } 49 | }) 50 | 51 | end 52 | -------------------------------------------------------------------------------- /Frames/MangFrames_SectionLog.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -- Initializing dynamic frames with LUA and FrameLib 22 | -- This script must be listed in the .toc after "MangFrames_SectionTele.lua" 23 | -- Also some variables are globally taken from MangAdmin.lua 24 | 25 | function MangAdmin:CreateLogSection() 26 | local transparency = { 27 | bg = MangAdmin.db.account.style.transparency.backgrounds, 28 | btn = MangAdmin.db.account.style.transparency.buttons, 29 | frm = MangAdmin.db.account.style.transparency.frames 30 | } 31 | local color = { 32 | bg = MangAdmin.db.account.style.color.backgrounds, 33 | btn = MangAdmin.db.account.style.color.buttons, 34 | frm = MangAdmin.db.account.style.color.frames 35 | } 36 | 37 | FrameLib:BuildFrame({ 38 | type = "ScrollingMessageFrame", 39 | name = "ma_logframe", 40 | group = "log", 41 | parent = ma_midframe, 42 | texture = { 43 | color = {10,10,10,0.7}, 44 | gradient = { 45 | orientation = "horizontal", 46 | min = {10,10,10,0.7}, 47 | max = {10,10,10,0} 48 | } 49 | }, 50 | size = { 51 | width = 400, 52 | height = 234 53 | }, 54 | setpoint = { 55 | pos = "TOPLEFT", 56 | offX = 10, 57 | offY = -10 58 | }, 59 | justify = { 60 | h = "LEFT", 61 | v = "TOP" 62 | }, 63 | fading = false, 64 | scrollMouseWheel = true 65 | }) 66 | 67 | FrameLib:BuildButton({ 68 | name = "ma_logscrollupbutton", 69 | group = "log", 70 | parent = ma_midframe, 71 | setpoint = { 72 | pos = "TOPRIGHT", 73 | offX = -10, 74 | offY = -10 75 | }, 76 | inherits = "UIPanelScrollUpButtonTemplate", 77 | --script = function() ma_logframe:ScrollUp() end 78 | }) 79 | 80 | FrameLib:BuildButton({ 81 | name = "ma_logscrolldownbutton", 82 | group = "log", 83 | parent = ma_midframe, 84 | setpoint = { 85 | pos = "BOTTOMRIGHT", 86 | offX = -10, 87 | offY = 10 88 | }, 89 | inherits = "UIPanelScrollDownButtonTemplate", 90 | --script = function() ma_logframe:ScrollDown() end 91 | }) 92 | end 93 | -------------------------------------------------------------------------------- /Frames/MangFrames_SectionMisc.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -- Initializing dynamic frames with LUA and FrameLib 22 | -- This script must be listed in the .toc after "MangFrames_SectionTicket.lua" 23 | -- Also some variables are globally taken from MangAdmin.lua 24 | 25 | function MangAdmin:CreateMiscSection() 26 | local transparency = { 27 | bg = MangAdmin.db.account.style.transparency.backgrounds, 28 | btn = MangAdmin.db.account.style.transparency.buttons, 29 | frm = MangAdmin.db.account.style.transparency.frames 30 | } 31 | local color = { 32 | bg = MangAdmin.db.account.style.color.backgrounds, 33 | btn = MangAdmin.db.account.style.color.buttons, 34 | frm = MangAdmin.db.account.style.color.frames, 35 | linkifier = MangAdmin.db.account.style.color.linkifier 36 | } 37 | 38 | FrameLib:BuildButton({ 39 | type = "CheckButton", 40 | name = "ma_checktransparencybutton", 41 | group = "misc", 42 | parent = ma_midframe, 43 | setpoint = { 44 | pos = "TOPLEFT", 45 | offX = 6, 46 | offY = -4 47 | }, 48 | text = "Enable Transparency", 49 | inherits = "OptionsCheckButtonTemplate" 50 | }) 51 | 52 | FrameLib:BuildButton({ 53 | type = "CheckButton", 54 | name = "ma_checklocalsearchstringsbutton", 55 | group = "misc", 56 | parent = ma_midframe, 57 | setpoint = { 58 | pos = "TOPLEFT", 59 | offX = 160, 60 | offY = -4 61 | }, 62 | text = "Enable Localized Search Strings", 63 | inherits = "OptionsCheckButtonTemplate" 64 | }) 65 | 66 | FrameLib:BuildButton({ 67 | type = "CheckButton", 68 | name = "ma_showminimenubutton", 69 | group = "misc", 70 | parent = ma_midframe, 71 | setpoint = { 72 | pos = "TOPLEFT", 73 | offX = 160, 74 | offY = -34 75 | }, 76 | text = "Enable Minimenu/Toolbar", 77 | inherits = "OptionsCheckButtonTemplate" 78 | }) 79 | 80 | FrameLib:BuildButton({ 81 | type = "CheckButton", 82 | name = "ma_showtooltipsbutton", 83 | group = "misc", 84 | parent = ma_midframe, 85 | setpoint = { 86 | pos = "TOPLEFT", 87 | offX = 160, 88 | offY = -64 89 | }, 90 | text = "Enable Tooltips", 91 | inherits = "OptionsCheckButtonTemplate" 92 | }) 93 | 94 | FrameLib:BuildButton({ 95 | type = "CheckButton", 96 | name = "ma_showchatoutputbutton", 97 | group = "misc", 98 | parent = ma_midframe, 99 | setpoint = { 100 | pos = "TOPLEFT", 101 | offX = 160, 102 | offY = -94 103 | }, 104 | text = "Show Chat Output", 105 | inherits = "OptionsCheckButtonTemplate" 106 | }) 107 | 108 | FrameLib:BuildFontString({ 109 | name = "ma_delayparamlabel", 110 | group = "misc", 111 | parent = ma_midframe, 112 | text = "Update Delay", 113 | setpoint = { 114 | pos = "TOPLEFT", 115 | offX = 160, 116 | offY = -124 117 | } 118 | }) 119 | 120 | FrameLib:BuildFontString({ 121 | name = "ma_delayparamlabel2", 122 | group = "misc", 123 | parent = ma_midframe, 124 | text = "Specifies update frequency of Diff graph on Server tab.\n 4000 = ~1 minute, 20000 =~5 minutes", 125 | setpoint = { 126 | pos = "TOPLEFT", 127 | offX = 160, 128 | offY = -144 129 | } 130 | }) 131 | 132 | FrameLib:BuildFrame({ 133 | type = "EditBox", 134 | name = "ma_delayparam", 135 | group = "misc", 136 | parent = ma_midframe, 137 | size = { 138 | width = 80, 139 | height = 20 140 | }, 141 | setpoint = { 142 | pos = "TOPLEFT", 143 | offX = 250, 144 | offY = -124 145 | }, 146 | inherits = "InputBoxTemplate" 147 | }) 148 | 149 | FrameLib:BuildFrame({ 150 | type = "Slider", 151 | name = "ma_frmtrslider", 152 | group = "misc", 153 | parent = ma_midframe, 154 | size = { 155 | width = 80 156 | }, 157 | setpoint = { 158 | pos = "TOPLEFT", 159 | offX = 10, 160 | offY = -50 161 | }, 162 | inherits = "OptionsSliderTemplate" 163 | }) 164 | 165 | FrameLib:BuildFrame({ 166 | type = "Slider", 167 | name = "ma_btntrslider", 168 | group = "misc", 169 | parent = ma_midframe, 170 | size = { 171 | width = 80 172 | }, 173 | setpoint = { 174 | pos = "TOPLEFT", 175 | offX = 10, 176 | offY = -85 177 | }, 178 | inherits = "OptionsSliderTemplate" 179 | }) 180 | 181 | FrameLib:BuildButton({ 182 | name = "ma_bgcolorshowbutton", 183 | group = "misc", 184 | parent = ma_midframe, 185 | texture = { 186 | name = "ma_bgcolorshowbutton_texture", 187 | color = {color.bg.r, color.bg.g, color.bg.b, 1.0} 188 | }, 189 | size = { 190 | width = 20, 191 | height = 20 192 | }, 193 | setpoint = { 194 | pos = "TOPLEFT", 195 | offX = 10, 196 | offY = -114 197 | } 198 | }) 199 | 200 | FrameLib:BuildFontString({ 201 | name = "ma_bgcolorshowtext", 202 | group = "misc", 203 | parent = ma_midframe, 204 | text = "Backgroundcolor", 205 | setpoint = { 206 | pos = "TOPLEFT", 207 | offX = 35, 208 | offY = -114 209 | } 210 | }) 211 | 212 | FrameLib:BuildButton({ 213 | name = "ma_frmcolorshowbutton", 214 | group = "misc", 215 | parent = ma_midframe, 216 | texture = { 217 | name = "ma_frmcolorshowbutton_texture", 218 | color = {color.frm.r, color.frm.g, color.frm.b, 1.0} 219 | }, 220 | size = { 221 | width = 20, 222 | height = 20 223 | }, 224 | setpoint = { 225 | pos = "TOPLEFT", 226 | offX = 10, 227 | offY = -138 228 | } 229 | }) 230 | 231 | FrameLib:BuildFontString({ 232 | name = "ma_frmcolorshowtext", 233 | group = "misc", 234 | parent = ma_midframe, 235 | text = "Framecolor", 236 | setpoint = { 237 | pos = "TOPLEFT", 238 | offX = 35, 239 | offY = -138 240 | } 241 | }) 242 | 243 | FrameLib:BuildButton({ 244 | name = "ma_btncolorshowbutton", 245 | group = "misc", 246 | parent = ma_midframe, 247 | texture = { 248 | name = "ma_btncolorshowbutton_texture", 249 | color = {color.btn.r, color.btn.g, color.btn.b, 1.0} 250 | }, 251 | size = { 252 | width = 20, 253 | height = 20 254 | }, 255 | setpoint = { 256 | pos = "TOPLEFT", 257 | offX = 10, 258 | offY = -162 259 | } 260 | }) 261 | 262 | FrameLib:BuildFontString({ 263 | name = "ma_btncolorshowtext", 264 | group = "misc", 265 | parent = ma_midframe, 266 | text = "Buttoncolor", 267 | setpoint = { 268 | pos = "TOPLEFT", 269 | offX = 35, 270 | offY = -162 271 | } 272 | }) 273 | 274 | FrameLib:BuildButton({ 275 | name = "ma_linkifiercolorbutton", 276 | group = "misc", 277 | parent = ma_midframe, 278 | texture = { 279 | name = "ma_linkifiercolorbutton_texture", 280 | color = {color.linkifier.r, color.linkifier.g, color.linkifier.b, 1.0} 281 | }, 282 | size = { 283 | width = 20, 284 | height = 20 285 | }, 286 | setpoint = { 287 | pos = "TOPLEFT", 288 | offX = 10, 289 | offY = -186 290 | } 291 | }) 292 | 293 | FrameLib:BuildFontString({ 294 | name = "ma_linkifiercolortext", 295 | group = "misc", 296 | parent = ma_midframe, 297 | text = "MangLinkifier", 298 | setpoint = { 299 | pos = "TOPLEFT", 300 | offX = 35, 301 | offY = -186 302 | } 303 | }) 304 | 305 | FrameLib:BuildButton({ 306 | name = "ma_applystylebutton", 307 | group = "misc", 308 | parent = ma_midframe, 309 | texture = { 310 | name = "ma_applystylebutton_texture", 311 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 312 | }, 313 | size = { 314 | width = 180, 315 | height = 30 316 | }, 317 | setpoint = { 318 | pos = "TOPLEFT", 319 | offX = 40, 320 | offY = -220 321 | }, 322 | text = "Apply changes" 323 | }) 324 | 325 | FrameLib:BuildFrame({ 326 | name = "ma_weatherdropdown", 327 | group = "misc", 328 | parent = ma_midframe, 329 | size = { 330 | width = 80, 331 | height = 20 332 | }, 333 | setpoint = { 334 | pos = "TOPLEFT", 335 | offX = 500, 336 | offY = -8 337 | }, 338 | inherits = "UIDropDownMenuTemplate" 339 | }) 340 | 341 | FrameLib:BuildButton({ 342 | name = "ma_changeweatherbutton", 343 | group = "misc", 344 | parent = ma_midframe, 345 | texture = { 346 | name = "ma_changeweatherbutton_texture", 347 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 348 | }, 349 | size = { 350 | width = 110, 351 | height = 20 352 | }, 353 | setpoint = { 354 | pos = "TOPLEFT", 355 | offX = 630, 356 | offY = -10 357 | }, 358 | text = "Change weather" 359 | }) 360 | end 361 | -------------------------------------------------------------------------------- /Frames/MangFrames_SectionNpc2.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -- Initializing dynamic frames with LUA and FrameLib 22 | -- This script must be listed in the .toc after "MangFrames_SectionTele.lua" 23 | -- Also some variables are globally taken from MangAdmin.lua 24 | 25 | function MangAdmin:CreateNpc2Section() 26 | local transparency = { 27 | bg = MangAdmin.db.account.style.transparency.backgrounds, 28 | btn = MangAdmin.db.account.style.transparency.buttons, 29 | frm = MangAdmin.db.account.style.transparency.frames 30 | } 31 | local color = { 32 | bg = MangAdmin.db.account.style.color.backgrounds, 33 | btn = MangAdmin.db.account.style.color.buttons, 34 | frm = MangAdmin.db.account.style.color.frames, 35 | linkifier = MangAdmin.db.account.style.color.linkifier 36 | } 37 | 38 | FrameLib:BuildButton({ 39 | name = "ma_npcfreezebutton", 40 | group = "npc2", 41 | parent = ma_midframe, 42 | texture = { 43 | name = "ma_npcfreezebutton_texture", 44 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 45 | }, 46 | size = { 47 | width = 80, 48 | height = 20 49 | }, 50 | setpoint = { 51 | pos = "TOPLEFT", 52 | offX = 12, 53 | offY = -12 54 | }, 55 | text = Locale["ma_NPCFreezeButton"] 56 | }) 57 | 58 | FrameLib:BuildButton({ 59 | name = "ma_npcfreezedelbutton", 60 | group = "npc2", 61 | parent = ma_midframe, 62 | texture = { 63 | name = "ma_npcfreezedelbutton_texture", 64 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 65 | }, 66 | size = { 67 | width = 80, 68 | height = 20 69 | }, 70 | setpoint = { 71 | pos = "TOPLEFT", 72 | offX = 97, 73 | offY = -12 74 | }, 75 | --text = "NPCStayDEL" 76 | text = Locale["ma_WayAllDel"] 77 | }) 78 | 79 | FrameLib:BuildButton({ 80 | name = "ma_way_endaddbutton", 81 | group = "npc2", 82 | parent = ma_midframe, 83 | texture = { 84 | name = "ma_way_endaddbutton_texture", 85 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 86 | }, 87 | size = { 88 | width = 80, 89 | height = 20 90 | }, 91 | setpoint = { 92 | pos = "TOPLEFT", 93 | offX = 182, 94 | offY = -12 95 | }, 96 | text = Locale["ma_WayEndAdd"] 97 | }) 98 | 99 | FrameLib:BuildButton({ 100 | name = "ma_npcunfreeze_addwaybutton", 101 | group = "npc2", 102 | parent = ma_midframe, 103 | texture = { 104 | name = "npcunfreeze_addwaybutton_texture", 105 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 106 | }, 107 | size = { 108 | width = 80, 109 | height = 20 110 | }, 111 | setpoint = { 112 | pos = "TOPLEFT", 113 | offX = 12, 114 | offY = -37 115 | }, 116 | --text = "AddWayPT" 117 | text = Locale["[WayAdd]"] 118 | }) 119 | 120 | FrameLib:BuildButton({ 121 | name = "ma_way_modifyaddbutton", 122 | group = "npc2", 123 | parent = ma_midframe, 124 | texture = { 125 | name = "ma_way_modifyaddbutton_texture", 126 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 127 | }, 128 | size = { 129 | width = 80, 130 | height = 20 131 | }, 132 | setpoint = { 133 | pos = "TOPLEFT", 134 | offX = 97, 135 | offY = -37 136 | }, 137 | text = Locale["ma_WayMAdd"] 138 | }) 139 | 140 | FrameLib:BuildButton({ 141 | name = "ma_way_modifydelbutton", 142 | group = "npc2", 143 | parent = ma_midframe, 144 | texture = { 145 | name = "ma_way_modifydelbutton_texture", 146 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 147 | }, 148 | size = { 149 | width = 80, 150 | height = 20 151 | }, 152 | setpoint = { 153 | pos = "TOPLEFT", 154 | offX = 182, 155 | offY = -37 156 | }, 157 | text = Locale["ma_WayMDel"] 158 | }) 159 | 160 | FrameLib:BuildButton({ 161 | name = "ma_way_showonbutton", 162 | group = "npc2", 163 | parent = ma_midframe, 164 | texture = { 165 | name = "ma_way_showonbutton_texture", 166 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 167 | }, 168 | size = { 169 | width = 80, 170 | height = 20 171 | }, 172 | setpoint = { 173 | pos = "TOPLEFT", 174 | offX = 12, 175 | offY = -62 176 | }, 177 | text = Locale["ma_WayShow1"] 178 | }) 179 | 180 | FrameLib:BuildButton({ 181 | name = "ma_way_showoffbutton", 182 | group = "npc2", 183 | parent = ma_midframe, 184 | texture = { 185 | name = "ma_way_showoffbutton_texture", 186 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 187 | }, 188 | size = { 189 | width = 80, 190 | height = 20 191 | }, 192 | setpoint = { 193 | pos = "TOPLEFT", 194 | offX = 97, 195 | offY = -62 196 | }, 197 | text = Locale["ma_WayShow0"] 198 | }) 199 | 200 | FrameLib:BuildButton({ 201 | name = "ma_npcunfreeze_addway_showonbutton", 202 | group = "npc2", 203 | parent = ma_midframe, 204 | texture = { 205 | name = "ma_npcunfreeze_addway_showonbutton_texture", 206 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 207 | }, 208 | size = { 209 | width = 80, 210 | height = 20 211 | }, 212 | setpoint = { 213 | pos = "TOPLEFT", 214 | offX = 182, 215 | offY = -62 216 | }, 217 | text = Locale["[WayShow]"] 218 | }) 219 | 220 | FrameLib:BuildButton({ 221 | name = "ma_npcunfreeze_waybutton", 222 | group = "npc2", 223 | parent = ma_midframe, 224 | texture = { 225 | name = "ma_npcunfreeze_waybutton_texture", 226 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 227 | }, 228 | size = { 229 | width = 80, 230 | height = 20 231 | }, 232 | setpoint = { 233 | pos = "TOPLEFT", 234 | offX = 12, 235 | offY = -87 236 | }, 237 | text = Locale["ma_NPCUnFreeze_WayButton"] 238 | }) 239 | 240 | FrameLib:BuildFrame({ 241 | type = "EditBox", 242 | name = "ma_npcunfreeze_random_distancebutton", -- ma_npccharactertarget 243 | group = "npc2", 244 | parent = ma_midframe, 245 | size = { 246 | width = 80, 247 | height = 20 248 | }, 249 | setpoint = { 250 | pos = "TOPLEFT", 251 | offX = 187, 252 | offY = -87 253 | }, 254 | inherits = "InputBoxTemplate" 255 | }) 256 | 257 | FrameLib:BuildButton({ 258 | name = "ma_npcunfreeze_randombutton", 259 | group = "npc2", 260 | parent = ma_midframe, 261 | texture = { 262 | name = "ma_npcunfreeze_randombutton_texture", 263 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 264 | }, 265 | size = { 266 | width = 80, 267 | height = 20 268 | }, 269 | setpoint = { 270 | pos = "TOPLEFT", 271 | offX = 97, 272 | offY = -87 273 | }, 274 | text = Locale["ma_NPCUnFreeze_RandomButton"] 275 | }) 276 | 277 | FrameLib:BuildButton({ 278 | name = "ma_movestackbutton", 279 | group = "npc2", 280 | parent = ma_midframe, 281 | texture = { 282 | name = "ma_movestackbutton_texture", 283 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 284 | }, 285 | size = { 286 | width = 80, 287 | height = 20 288 | }, 289 | setpoint = { 290 | pos = "TOPLEFT", 291 | offX = 12, 292 | offY = -222 293 | }, 294 | text = Locale["ma_MoveStackButton"] 295 | }) 296 | 297 | 298 | end -------------------------------------------------------------------------------- /Frames/MangFrames_SectionPvP.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -- Initializing dynamic frames with LUA and FrameLib 22 | -- This script must be listed in the .toc after "MangFrames_SectionTicket.lua" 23 | -- Also some variables are globally taken from MangAdmin.lua 24 | 25 | function MangAdmin:CreatePvPSection() 26 | local transparency = { 27 | bg = MangAdmin.db.account.style.transparency.backgrounds, 28 | btn = MangAdmin.db.account.style.transparency.buttons, 29 | frm = MangAdmin.db.account.style.transparency.frames 30 | } 31 | local color = { 32 | bg = MangAdmin.db.account.style.color.backgrounds, 33 | btn = MangAdmin.db.account.style.color.buttons, 34 | frm = MangAdmin.db.account.style.color.frames, 35 | linkifier = MangAdmin.db.account.style.color.linkifier 36 | } 37 | 38 | FrameLib:BuildFontString({ 39 | name = "ma_pvpplaceholder", 40 | group = "pvp", 41 | parent = ma_midframe, 42 | text = Locale["ma_ParameterizedCommands"], 43 | setpoint = { 44 | pos = "TOPLEFT", 45 | offX = 10, 46 | offY = 0 47 | } 48 | }) 49 | 50 | end 51 | -------------------------------------------------------------------------------- /Frames/MangFrames_SectionRPG.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -- Initializing dynamic frames with LUA and FrameLib 22 | -- This script must be listed in the .toc after "MangFrames_SectionTicket.lua" 23 | -- Also some variables are globally taken from MangAdmin.lua 24 | 25 | function MangAdmin:CreateRPGSection() 26 | local transparency = { 27 | bg = MangAdmin.db.account.style.transparency.backgrounds, 28 | btn = MangAdmin.db.account.style.transparency.buttons, 29 | frm = MangAdmin.db.account.style.transparency.frames 30 | } 31 | local color = { 32 | bg = MangAdmin.db.account.style.color.backgrounds, 33 | btn = MangAdmin.db.account.style.color.buttons, 34 | frm = MangAdmin.db.account.style.color.frames, 35 | linkifier = MangAdmin.db.account.style.color.linkifier 36 | } 37 | 38 | FrameLib:BuildFontString({ 39 | name = "ma_rpgplaceholder", 40 | group = "rpg", 41 | parent = ma_midframe, 42 | text = Locale["ma_ParameterizedCommands"], 43 | setpoint = { 44 | pos = "TOPLEFT", 45 | offX = 10, 46 | offY = 0 47 | } 48 | }) 49 | 50 | 51 | end 52 | -------------------------------------------------------------------------------- /Frames/MangFrames_SectionServer.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -- Initializing dynamic frames with LUA and FrameLib 22 | -- This script must be listed in the .toc after "MangFrames_SectionMisc.lua" 23 | -- Also some variables are globally taken from MangAdmin.lua 24 | 25 | function MangAdmin:CreateServerSection() 26 | local transparency = { 27 | bg = MangAdmin.db.account.style.transparency.backgrounds, 28 | btn = MangAdmin.db.account.style.transparency.buttons, 29 | frm = MangAdmin.db.account.style.transparency.frames 30 | } 31 | local color = { 32 | bg = MangAdmin.db.account.style.color.backgrounds, 33 | btn = MangAdmin.db.account.style.color.buttons, 34 | frm = MangAdmin.db.account.style.color.frames 35 | } 36 | 37 | FrameLib:BuildFrame({ 38 | name = "ma_netgraphframe", 39 | group = "server", 40 | parent = ma_midframe, 41 | texture = { 42 | color = {0,0,0,0.7} 43 | }, 44 | size = { 45 | width = 152, 46 | height = 152 47 | }, 48 | setpoint = { 49 | pos = "TOPLEFT", 50 | offX = 10, 51 | offY = -10 52 | }, 53 | inherits = nil 54 | }) 55 | 56 | FrameLib:BuildFontString({ 57 | name = "ma_lagmetertext", 58 | group = "server", 59 | parent = ma_midframe, 60 | text = "^Server Latency", 61 | setpoint = { 62 | pos = "TOPLEFT", 63 | offX = 10, 64 | offY = -170 65 | } 66 | }) 67 | 68 | RealGraph=Graph:CreateGraphRealtime("ma_netgraph_lag",ma_netgraphframe,"CENTER","CENTER",0,0,150,150) 69 | local g=RealGraph 70 | g:SetAutoScale(false) 71 | g:SetGridSpacing(1.0,10.0) 72 | g:SetYMax(120) 73 | g:SetXAxis(-10,0) 74 | g:SetMode("RAW") 75 | g:SetBarColors({0.2,0.0,0.0,0.4},{1.0,0.0,0.0,1.0}) 76 | local f = CreateFrame("Frame",name,parent) 77 | f.frames=0 78 | f.NextUpdate=GetTime() 79 | f:SetScript("OnUpdate",function() 80 | if f.NextUpdate>GetTime() then 81 | return 82 | end 83 | local down, up, lag = GetNetStats(); 84 | g:AddBar(lag) 85 | ma_lagmetertext:SetText("^Server Latency: "..lag.." ms") 86 | f.NextUpdate=f.NextUpdate + 1 87 | end) 88 | f:Show() 89 | 90 | FrameLib:BuildFrame({ 91 | type = "EditBox", 92 | name = "ma_announceeditbox", 93 | group = "server", 94 | parent = ma_midframe, 95 | size = { 96 | width = 460, 97 | height = 20 98 | }, 99 | setpoint = { 100 | pos = "TOPLEFT", 101 | offX = 15, 102 | offY = -226 103 | }, 104 | inherits = "InputBoxTemplate" 105 | }) 106 | 107 | FrameLib:BuildButton({ 108 | name = "ma_announcebutton", 109 | group = "server", 110 | parent = ma_midframe, 111 | texture = { 112 | name = "ma_announcebutton_texture", 113 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 114 | }, 115 | size = { 116 | width = 100, 117 | height = 20 118 | }, 119 | setpoint = { 120 | pos = "TOPLEFT", 121 | offX = 480, 122 | offY = -226 123 | }, 124 | text = Locale["ma_AnnounceButton"] 125 | }) 126 | 127 | FrameLib:BuildButton({ 128 | name = "ma_resetannouncebutton", 129 | group = "server", 130 | parent = ma_midframe, 131 | texture = { 132 | name = "ma_resetannouncebutton_texture", 133 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 134 | }, 135 | size = { 136 | width = 80, 137 | height = 20 138 | }, 139 | setpoint = { 140 | pos = "TOPLEFT", 141 | offX = 585, 142 | offY = -226 143 | }, 144 | text = Locale["ma_ResetButton"] 145 | }) 146 | 147 | FrameLib:BuildFrame({ 148 | name = "ma_reloadtabledropdown", 149 | group = "server", 150 | parent = ma_midframe, 151 | size = { 152 | width = 80, 153 | height = 20 154 | }, 155 | setpoint = { 156 | pos = "TOPLEFT", 157 | offX = 505, 158 | offY = -10 159 | }, 160 | inherits = "UIDropDownMenuTemplate" 161 | }) 162 | 163 | FrameLib:BuildButton({ 164 | name = "ma_loadtablebutton", 165 | group = "server", 166 | parent = ma_midframe, 167 | texture = { 168 | name = "ma_loadtablebutton_texture", 169 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 170 | }, 171 | size = { 172 | width = 90, 173 | height = 20 174 | }, 175 | setpoint = { 176 | pos = "TOPLEFT", 177 | offX = 650, 178 | offY = -10 179 | }, 180 | text = "Reload table" 181 | }) 182 | 183 | FrameLib:BuildButton({ 184 | name = "ma_loadscriptsbutton", 185 | group = "server", 186 | parent = ma_midframe, 187 | texture = { 188 | name = "ma_loadscriptsbutton_texture", 189 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 190 | }, 191 | size = { 192 | width = 110, 193 | height = 20 194 | }, 195 | setpoint = { 196 | pos = "TOPLEFT", 197 | offX = 630, 198 | offY = -35 199 | }, 200 | text = "(Re-)Load Scripts" 201 | }) 202 | 203 | FrameLib:BuildFrame({ 204 | type = "EditBox", 205 | name = "ma_shutdowneditbox", 206 | group = "server", 207 | parent = ma_midframe, 208 | size = { 209 | width = 30, 210 | height = 20 211 | }, 212 | setpoint = { 213 | pos = "TOPLEFT", 214 | offX = 600, 215 | offY = -68 216 | }, 217 | inherits = "InputBoxTemplate" 218 | }) 219 | 220 | FrameLib:BuildButton({ 221 | name = "ma_shutdownbutton", 222 | group = "server", 223 | parent = ma_midframe, 224 | texture = { 225 | name = "ma_shutdownbutton_texture", 226 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 227 | }, 228 | size = { 229 | width = 100, 230 | height = 20 231 | }, 232 | setpoint = { 233 | pos = "TOPLEFT", 234 | offX = 635, 235 | offY = -68 236 | }, 237 | text = Locale["ma_ShutdownButton"] 238 | }) 239 | 240 | FrameLib:BuildFrame({ 241 | name = "ma_netgraphframe2", 242 | group = "server", 243 | parent = ma_midframe, 244 | texture = { 245 | color = {0,0,0,0.7} 246 | }, 247 | size = { 248 | width = 152, 249 | height = 152 250 | }, 251 | setpoint = { 252 | pos = "TOPLEFT", 253 | offX = 170, 254 | offY = -10 255 | }, 256 | inherits = nil 257 | }) 258 | 259 | FrameLib:BuildFontString({ 260 | name = "ma_lagmetertext2", 261 | group = "server", 262 | parent = ma_midframe, 263 | text = "^Update Diff", 264 | setpoint = { 265 | pos = "TOPLEFT", 266 | offX = 170, 267 | offY = -170 268 | } 269 | }) 270 | 271 | FrameLib:BuildFontString({ 272 | name = "ma_difftext", 273 | group = "server", 274 | parent = ma_midframe, 275 | text = "", 276 | setpoint = { 277 | pos = "TOPLEFT", 278 | offX = 250, 279 | offY = -170 280 | } 281 | }) 282 | 283 | RealGraph=Graph:CreateGraphRealtime("ma_netgraph_diff",ma_netgraphframe2,"CENTER","CENTER",0,0,150,150) 284 | local z=RealGraph 285 | z:SetAutoScale(false) 286 | z:SetGridSpacing(1.0,10.0) 287 | z:SetYMax(300) 288 | z:SetXAxis(-10,0) 289 | z:SetMode("RAW") 290 | z:SetBarColors({0.2,0.0,0.0,0.4},{0.0,0.0,1.0,1.0}) 291 | local x = CreateFrame("Frame",name,parent) 292 | x.frames=0 293 | x.NextUpdate=GetTime() 294 | local q=0 295 | x:SetScript("OnUpdate",function() 296 | q=q+1 297 | if q > tonumber(ma_delayparam:GetText()) then --20000=approx 5 minutes, 4000= ~1 minute 298 | MangAdmin:ChatMsg(".server info") 299 | q=0 300 | local s = ma_difftext:GetText() 301 | --MangAdmin:ChatMsg("Diff="..s) 302 | local r="100" -- Trinity says anything over 150 is bad 303 | if s > r then 304 | z:SetBarColors({1.0,0.0,0.0,1.0},{1.0,0.0,0.0,1.0}) -->150, turn red 305 | else 306 | z:SetBarColors({0.0,1.0,0.0,1.0},{0.0,1.0,0.0,1.0}) -- otherwise green 307 | end 308 | z:AddBar(s) 309 | s="0" 310 | end 311 | if x.NextUpdate>GetTime() then 312 | return 313 | end 314 | --local down, up, lag = GetNetStats(); 315 | -- ma_difftext:SetText(""..lag.." ms") 316 | x.NextUpdate=x.NextUpdate + 1 317 | end) 318 | x:Show() 319 | 320 | 321 | end 322 | -------------------------------------------------------------------------------- /Frames/MangFrames_SectionVendor.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -- Initializing dynamic frames with LUA and FrameLib 22 | -- This script must be listed in the .toc after "MangFrames_SectionTicket.lua" 23 | -- Also some variables are globally taken from MangAdmin.lua 24 | 25 | function MangAdmin:CreateVendorSection() 26 | local transparency = { 27 | bg = MangAdmin.db.account.style.transparency.backgrounds, 28 | btn = MangAdmin.db.account.style.transparency.buttons, 29 | frm = MangAdmin.db.account.style.transparency.frames 30 | } 31 | local color = { 32 | bg = MangAdmin.db.account.style.color.backgrounds, 33 | btn = MangAdmin.db.account.style.color.buttons, 34 | frm = MangAdmin.db.account.style.color.frames, 35 | linkifier = MangAdmin.db.account.style.color.linkifier 36 | } 37 | 38 | 39 | FrameLib:BuildFontString({ 40 | name = "ma_vendorplaceholder", 41 | group = "vendor", 42 | parent = ma_midframe, 43 | text = Locale["ma_ParameterizedCommands"], 44 | setpoint = { 45 | pos = "TOPLEFT", 46 | offX = 10, 47 | offY = 0 48 | } 49 | }) 50 | 51 | 52 | end 53 | -------------------------------------------------------------------------------- /Frames/MangFrames_SmallPopupFrames.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -- Initializing dynamic frames with LUA and FrameLib 22 | -- This script must be listed in the .toc after "MangFrames_LookupButtons.lua" 23 | -- Also some variables are globally taken from MangAdmin.lua 24 | 25 | function MangAdmin:CreateSmallPopupFrames() 26 | local transparency = { 27 | bg = MangAdmin.db.account.style.transparency.backgrounds, 28 | btn = MangAdmin.db.account.style.transparency.buttons, 29 | frm = MangAdmin.db.account.style.transparency.frames 30 | } 31 | local color = { 32 | bg = MangAdmin.db.account.style.color.backgrounds, 33 | btn = MangAdmin.db.account.style.color.buttons, 34 | frm = MangAdmin.db.account.style.color.frames 35 | } 36 | 37 | -- [[popup2 Frame]] 38 | FrameLib:BuildFrame({ 39 | name = "ma_popup2frame", 40 | group = "popup2", 41 | parent = UIParent, 42 | texture = { 43 | color = {color.bg.r, color.bg.g, color.bg.b, transparency.bg} 44 | }, 45 | draggable = true, 46 | size = { 47 | width = 160, 48 | height = 260 49 | }, 50 | setpoint = { 51 | pos = "CENTER" 52 | }, 53 | frameStrata = "HIGH", 54 | inherits = nil 55 | }) 56 | 57 | FrameLib:BuildFrame({ 58 | name = "ma_popup2cframe", 59 | group = "popup2", 60 | parent = ma_popup2frame, 61 | texture = { 62 | color = {color.frm.r, color.frm.g, color.frm.b, transparency.frm} 63 | }, 64 | size = { 65 | width = 156, 66 | height = 256 67 | }, 68 | setpoint = { 69 | pos = "TOPLEFT", 70 | offY = -2, 71 | offX = 2 72 | }, 73 | inherits = nil 74 | }) 75 | 76 | FrameLib:BuildButton({ 77 | name = "ma_popup2closebutton", 78 | group = "popup2", 79 | parent = ma_popup2cframe, 80 | texture = { 81 | name = "ma_popup2closebutton_texture", 82 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 83 | }, 84 | size = { 85 | width = 10, 86 | height = 10 87 | }, 88 | setpoint = { 89 | pos = "TOPRIGHT", 90 | offX = -10, 91 | offY = -10 92 | }, 93 | text = "X" 94 | }) 95 | 96 | FrameLib:BuildFontString({ 97 | name = "ma_tpinfo_text", 98 | group = "popup2", 99 | parent = ma_popup2cframe, 100 | text = "You should not see this text!", 101 | setpoint = { 102 | pos = "TOPLEFT", 103 | offX = 10, 104 | offY = -20 105 | } 106 | }) 107 | -- popup2 Search ScrollFrame 108 | --[[FrameLib:BuildFrame({ 109 | type = "ScrollFrame", 110 | name = "ma_popup2ScrollBar", 111 | group = "popup2", 112 | parent = ma_popup2midframe, 113 | texture = { 114 | color = {0,0,0,0.7} 115 | }, 116 | size = { 117 | width = 400, 118 | height = 274 119 | }, 120 | setpoint = { 121 | pos = "TOP", 122 | offX = -10, 123 | offY = -10 124 | }, 125 | inherits = "FauxScrollFrameTemplate" 126 | }) 127 | 128 | FrameLib:BuildButton({ 129 | name = "ma_popup2ScrollBarEntry1", 130 | group = "popup2", 131 | parent = ma_popup2midframe, 132 | setpoint = { 133 | pos = "TOPLEFT", 134 | relTo = "ma_popup2ScrollBar", 135 | relPos = "TOPLEFT", 136 | offX = 10, 137 | offY = -8 138 | }, 139 | texture = { 140 | name = "ma_popup2ScrollBarEntry1_texture", 141 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 142 | }, 143 | size = { 144 | width = 380, 145 | height = 30 146 | }, 147 | script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}} 148 | }) 149 | 150 | FrameLib:BuildButton({ 151 | name = "ma_popup2ScrollBarEntry2", 152 | group = "popup2", 153 | parent = ma_popup2midframe, 154 | setpoint = { 155 | pos = "TOPLEFT", 156 | relTo = "ma_popup2ScrollBarEntry1", 157 | relPos = "BOTTOMLEFT", 158 | offY = -8 159 | }, 160 | texture = { 161 | name = "ma_popup2ScrollBarEntry2_texture", 162 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 163 | }, 164 | size = { 165 | width = 380, 166 | height = 30 167 | }, 168 | script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}} 169 | }) 170 | 171 | FrameLib:BuildButton({ 172 | name = "ma_popup2ScrollBarEntry3", 173 | group = "popup2", 174 | parent = ma_popup2midframe, 175 | setpoint = { 176 | pos = "TOPLEFT", 177 | relTo = "ma_popup2ScrollBarEntry2", 178 | relPos = "BOTTOMLEFT", 179 | offY = -8 180 | }, 181 | texture = { 182 | name = "ma_popup2ScrollBarEntry3_texture", 183 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 184 | }, 185 | size = { 186 | width = 380, 187 | height = 30 188 | }, 189 | script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}} 190 | }) 191 | 192 | FrameLib:BuildButton({ 193 | name = "ma_popup2ScrollBarEntry4", 194 | group = "popup2", 195 | parent = ma_popup2midframe, 196 | setpoint = { 197 | pos = "TOPLEFT", 198 | relTo = "ma_popup2ScrollBarEntry3", 199 | relPos = "BOTTOMLEFT", 200 | offY = -8 201 | }, 202 | texture = { 203 | name = "ma_popup2ScrollBarEntry4_texture", 204 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 205 | }, 206 | size = { 207 | width = 380, 208 | height = 30 209 | }, 210 | script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}} 211 | }) 212 | 213 | FrameLib:BuildButton({ 214 | name = "ma_popup2ScrollBarEntry5", 215 | group = "popup2", 216 | parent = ma_popup2midframe, 217 | setpoint = { 218 | pos = "TOPLEFT", 219 | relTo = "ma_popup2ScrollBarEntry4", 220 | relPos = "BOTTOMLEFT", 221 | offY = -8 222 | }, 223 | texture = { 224 | name = "ma_popup2ScrollBarEntry5_texture", 225 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 226 | }, 227 | size = { 228 | width = 380, 229 | height = 30 230 | }, 231 | script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}} 232 | }) 233 | 234 | FrameLib:BuildButton({ 235 | name = "ma_popup2ScrollBarEntry6", 236 | group = "popup2", 237 | parent = ma_popup2midframe, 238 | setpoint = { 239 | pos = "TOPLEFT", 240 | relTo = "ma_popup2ScrollBarEntry5", 241 | relPos = "BOTTOMLEFT", 242 | offY = -8 243 | }, 244 | texture = { 245 | name = "ma_popup2ScrollBarEntry6_texture", 246 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 247 | }, 248 | size = { 249 | width = 380, 250 | height = 30 251 | }, 252 | script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}} 253 | }) 254 | 255 | FrameLib:BuildButton({ 256 | name = "ma_popup2ScrollBarEntry7", 257 | group = "popup2", 258 | parent = ma_popup2midframe, 259 | setpoint = { 260 | pos = "TOPLEFT", 261 | relTo = "ma_popup2ScrollBarEntry6", 262 | relPos = "BOTTOMLEFT", 263 | offY = -8 264 | }, 265 | texture = { 266 | name = "ma_popup2ScrollBarEntry7_texture", 267 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 268 | }, 269 | size = { 270 | width = 380, 271 | height = 30 272 | }, 273 | script = {{"OnShow", function() this:RegisterForClicks("LeftButtonDown", "RightButtonDown") end}} 274 | })]] 275 | end 276 | -------------------------------------------------------------------------------- /Frames/MangFrames_Start.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -- Initializing dynamic frames with LUA and FrameLib 22 | -- This script must be listed in the .toc after "MangAdmin.lua" 23 | -- Also some variables are globally taken from MangAdmin.lua 24 | 25 | function MangAdmin:CreateStartFrames() 26 | local transparency = { 27 | bg = MangAdmin.db.account.style.transparency.backgrounds, 28 | btn = MangAdmin.db.account.style.transparency.buttons, 29 | frm = MangAdmin.db.account.style.transparency.frames 30 | } 31 | local color = { 32 | bg = MangAdmin.db.account.style.color.backgrounds, 33 | btn = MangAdmin.db.account.style.color.buttons, 34 | frm = MangAdmin.db.account.style.color.frames 35 | } 36 | 37 | -- [[ Main Elements ]] 38 | FrameLib:BuildFrame({ 39 | name = "ma_bgframe", 40 | group = "bg", 41 | parent = UIParent, 42 | texture = { 43 | color = {color.bg.r, color.bg.g, color.bg.b, transparency.bg} 44 | }, 45 | draggable = true, 46 | size = { 47 | width = 750, 48 | height = 440 49 | }, 50 | setpoint = { 51 | pos = "CENTER" 52 | }, 53 | inherits = nil 54 | }) 55 | 56 | FrameLib:BuildFrame({ 57 | name = "ma_menubgframe", 58 | group = "bg", 59 | parent = ma_bgframe, 60 | texture = { 61 | color = {color.frm.r, color.frm.g, color.frm.b, transparency.frm} 62 | }, 63 | size = { 64 | width = 750, 65 | height = 22 66 | }, 67 | setpoint = { 68 | pos = "TOPLEFT", 69 | offY = 22, 70 | offX = 0 71 | }, 72 | inherits = nil 73 | }) 74 | 75 | FrameLib:BuildFrame({ 76 | name = "ma_topframe", 77 | group = "bg", 78 | parent = ma_bgframe, 79 | texture = { 80 | color = {color.frm.r, color.frm.g, color.frm.b, transparency.frm} 81 | }, 82 | size = { 83 | width = 750, 84 | height = 80 85 | }, 86 | setpoint = { 87 | pos = "TOP", 88 | offY = -2 89 | }, 90 | inherits = nil 91 | }) 92 | 93 | FrameLib:BuildFrame({ 94 | name = "ma_midframe", 95 | group = "bg", 96 | parent = ma_bgframe, 97 | texture = { 98 | color = {color.frm.r, color.frm.g, color.frm.b, transparency.frm} 99 | }, 100 | size = { 101 | width = 750, 102 | height = 254 103 | }, 104 | setpoint = { 105 | pos = "TOP", 106 | offY = -83 107 | }, 108 | inherits = nil 109 | }) 110 | 111 | FrameLib:BuildFrame({ 112 | name = "ma_leftframe", 113 | group = "bg", 114 | parent = ma_bgframe, 115 | texture = { 116 | color = {color.frm.r, color.frm.g, color.frm.b, transparency.frm} 117 | }, 118 | size = { 119 | width = 409, 120 | height = 100 121 | }, 122 | setpoint = { 123 | pos = "TOP", 124 | offX = -168.5, 125 | offY = -338 126 | }, 127 | inherits = nil 128 | }) 129 | 130 | FrameLib:BuildFrame({ 131 | name = "ma_rightframe", 132 | group = "bg", 133 | parent = ma_bgframe, 134 | texture = { 135 | color = {color.frm.r, color.frm.g, color.frm.b, transparency.frm} 136 | }, 137 | size = { 138 | width = 335, 139 | height = 100 140 | }, 141 | setpoint = { 142 | pos = "TOP", 143 | offX = 205.5, 144 | offY = -338 145 | }, 146 | inherits = nil 147 | }) 148 | 149 | FrameLib:BuildFrame({ 150 | name = "ma_logoframe", 151 | group = "bg", 152 | parent = ma_topframe, 153 | texture = { 154 | file = ROOT_PATH.."Textures\\logo.tga" 155 | }, 156 | size = { 157 | width = 512, 158 | height = 64 159 | }, 160 | setpoint = { 161 | pos = "LEFT", 162 | offX = 10 163 | }, 164 | inherits = nil 165 | }) 166 | 167 | FrameLib:BuildFontString({ 168 | name = "ma_toptext", 169 | group = "bg", 170 | parent = ma_topframe, 171 | text = "toptext, you should not see this!", 172 | setpoint = { 173 | pos = "BOTTOMRIGHT", 174 | offX = -10, 175 | offY = 24 176 | } 177 | }) 178 | 179 | FrameLib:BuildFontString({ 180 | name = "ma_revtext", 181 | group = "bg", 182 | parent = ma_topframe, 183 | text = MAJOR_VERSION.." "..MINOR_VERSION, 184 | setpoint = { 185 | pos = "BOTTOMLEFT", 186 | offX = 15, 187 | offY = 2 188 | } 189 | }) 190 | 191 | FrameLib:BuildFontString({ 192 | name = "ma_top2text", 193 | group = "bg", 194 | parent = ma_topframe, 195 | text = "toptext, you should not see this!", 196 | setpoint = { 197 | pos = "BOTTOMRIGHT", 198 | offX = -10, 199 | offY = 10 200 | } 201 | }) 202 | 203 | FrameLib:BuildFontString({ 204 | name = "ma_infoonlinetext", 205 | group = "bg", 206 | parent = ma_rightframe, 207 | text = "Players Online: ...", 208 | setpoint = { 209 | pos = "TOPLEFT", 210 | offX = 10, 211 | offY = -10 212 | } 213 | }) 214 | 215 | FrameLib:BuildFontString({ 216 | name = "ma_infomaxonlinetext", 217 | group = "bg", 218 | parent = ma_rightframe, 219 | text = "Maximum Online: ...", 220 | setpoint = { 221 | pos = "TOPLEFT", 222 | offX = 10, 223 | offY = -25 224 | } 225 | }) 226 | 227 | FrameLib:BuildFontString({ 228 | name = "ma_infouptimetext", 229 | group = "bg", 230 | parent = ma_rightframe, 231 | text = "Server Uptime: ...", 232 | setpoint = { 233 | pos = "TOPLEFT", 234 | offX = 10, 235 | offY = -40 236 | } 237 | }) 238 | 239 | FrameLib:BuildFontString({ 240 | name = "ma_inforevisiontext", 241 | group = "bg", 242 | parent = ma_rightframe, 243 | text = "TrinityCore Revision: ...", 244 | setpoint = { 245 | pos = "TOPLEFT", 246 | offX = 10, 247 | offY = -55 248 | } 249 | }) 250 | 251 | -- FrameLib:BuildFontString({ 252 | -- name = "ma_infoplatformtext", 253 | -- group = "bg", 254 | -- parent = ma_rightframe, 255 | -- text = "Server Platform: ...", 256 | -- setpoint = { 257 | -- pos = "TOPLEFT", 258 | -- offX = 10, 259 | -- offY = -70 260 | -- } 261 | -- }) 262 | 263 | FrameLib:BuildButton({ 264 | name = "ma_inforefreshbutton", 265 | group = "bg", 266 | parent = ma_rightframe, 267 | texture = { 268 | name = "ma_inforefreshbutton_texture", 269 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 270 | }, 271 | size = { 272 | width = 60, 273 | height = 20 274 | }, 275 | setpoint = { 276 | pos = "TOPRIGHT", 277 | offX = -10, 278 | offY = -10 279 | }, 280 | text = "Refresh" 281 | }) 282 | 283 | FrameLib:BuildFrame({ 284 | name = "ma_languagedropdown", 285 | group = "bg", 286 | parent = ma_topframe, 287 | size = { 288 | width = 80, 289 | height = 20 290 | }, 291 | setpoint = { 292 | pos = "TOPRIGHT", 293 | offX = -200, 294 | offY = -10 295 | }, 296 | inherits = "UIDropDownMenuTemplate" 297 | }) 298 | 299 | FrameLib:BuildButton({ 300 | name = "ma_languagebutton", 301 | group = "bg", 302 | parent = ma_topframe, 303 | texture = { 304 | name = "ma_languagebutton_texture", 305 | color = {color.btn.r, color.btn.g, color.btn.b, transparency.btn} 306 | }, 307 | size = { 308 | width = 120, 309 | height = 20 310 | }, 311 | setpoint = { 312 | pos = "TOPRIGHT", 313 | offX = -10, 314 | offY = -14 315 | }, 316 | text = Locale["ma_LanguageButton"] 317 | }) 318 | end 319 | -------------------------------------------------------------------------------- /Libraries/AceAddon-2.0/AceAddon-2.0.toc: -------------------------------------------------------------------------------- 1 | ## Interface: 30000 2 | 3 | ## Title: Lib: AceAddon-2.0 4 | ## Notes: AddOn development framework 5 | ## Author: Ace Development Team 6 | ## LoadOnDemand: 1 7 | ## X-Website: http://www.wowace.com 8 | ## X-Category: Library 9 | ## X-License: LGPL v2.1 + MIT for AceOO-2.0 10 | ## Dependencies: AceLibrary, AceOO-2.0 11 | 12 | AceAddon-2.0.lua 13 | -------------------------------------------------------------------------------- /Libraries/AceConsole-2.0/AceConsole-2.0.toc: -------------------------------------------------------------------------------- 1 | ## Interface: 30000 2 | 3 | ## Title: Lib: AceConsole-2.0 4 | ## Notes: AddOn development framework 5 | ## Author: Ace Development Team 6 | ## LoadOnDemand: 1 7 | ## X-Website: http://www.wowace.com 8 | ## X-Category: Library 9 | ## X-License: LGPL v2.1 + MIT for AceOO-2.0 10 | ## Dependencies: AceLibrary, AceEvent-2.0, AceOO-2.0 11 | 12 | AceConsole-2.0.lua 13 | -------------------------------------------------------------------------------- /Libraries/AceDB-2.0/AceDB-2.0.toc: -------------------------------------------------------------------------------- 1 | ## Interface: 30000 2 | 3 | ## Title: Lib: AceDB-2.0 4 | ## Notes: AddOn development framework 5 | ## Author: Ace Development Team 6 | ## LoadOnDemand: 1 7 | ## X-Website: http://www.wowace.com 8 | ## X-Category: Library 9 | ## X-License: LGPL v2.1 + MIT for AceOO-2.0 10 | ## Dependencies: AceLibrary, AceEvent-2.0, AceOO-2.0 11 | 12 | AceDB-2.0.lua 13 | -------------------------------------------------------------------------------- /Libraries/AceDebug-2.0/AceDebug-2.0.lua: -------------------------------------------------------------------------------- 1 | --[[ 2 | Name: AceDebug-2.0 3 | Revision: $Rev: 1091 $ 4 | Developed by: The Ace Development Team (http://www.wowace.com/index.php/The_Ace_Development_Team) 5 | Inspired By: Ace 1.x by Turan (turan@gryphon.com) 6 | Website: http://www.wowace.com/ 7 | Documentation: http://www.wowace.com/index.php/AceDebug-2.0 8 | SVN: http://svn.wowace.com/wowace/trunk/Ace2/AceDebug-2.0 9 | Description: Mixin to allow for simple debugging capabilities. 10 | Dependencies: AceLibrary, AceOO-2.0 11 | License: LGPL v2.1 12 | ]] 13 | 14 | local MAJOR_VERSION = "AceDebug-2.0" 15 | local MINOR_VERSION = 90000 + tonumber(("$Revision: 1091 $"):match("(%d+)")) 16 | 17 | if not AceLibrary then error(MAJOR_VERSION .. " requires AceLibrary") end 18 | if not AceLibrary:IsNewVersion(MAJOR_VERSION, MINOR_VERSION) then return end 19 | 20 | if not AceLibrary:HasInstance("AceOO-2.0") then error(MAJOR_VERSION .. " requires AceOO-2.0") end 21 | 22 | local function safecall(func,...) 23 | local success, err = pcall(func,...) 24 | if not success then geterrorhandler()(err:find("%.lua:%d+:") and err or (debugstack():match("\n(.-: )in.-\n") or "") .. err) end 25 | end 26 | 27 | local DEBUGGING, TOGGLE_DEBUGGING 28 | if GetLocale() == "frFR" then 29 | DEBUGGING = "D\195\169boguage" 30 | TOGGLE_DEBUGGING = "Activer/d\195\169sactiver le d\195\169boguage" 31 | elseif GetLocale() == "deDE" then 32 | DEBUGGING = "Debuggen" 33 | TOGGLE_DEBUGGING = "Aktiviert/Deaktiviert Debugging." 34 | elseif GetLocale() == "koKR" then 35 | DEBUGGING = "디버깅" 36 | TOGGLE_DEBUGGING = "디버깅 기능 사용함/사용안함" 37 | elseif GetLocale() == "zhTW" then 38 | DEBUGGING = "除錯" 39 | TOGGLE_DEBUGGING = "啟用/停用除錯功能。" 40 | elseif GetLocale() == "zhCN" then 41 | DEBUGGING = "\232\176\131\232\175\149" 42 | TOGGLE_DEBUGGING = "\229\144\175\231\148\168/\231\166\129\231\148\168 \232\176\131\232\175\149." 43 | elseif GetLocale() == "esES" then 44 | DEBUGGING = "Debugging" 45 | TOGGLE_DEBUGGING = "Activar/desactivar Debugging." 46 | elseif GetLocale() == "ruRU" then 47 | DEBUGGING = "Отладка" 48 | TOGGLE_DEBUGGING = "Вкл/Выкл отладку для этого аддона." 49 | else -- enUS 50 | DEBUGGING = "Debugging" 51 | TOGGLE_DEBUGGING = "Toggle debugging for this addon." 52 | end 53 | 54 | local AceOO = AceLibrary:GetInstance("AceOO-2.0") 55 | local AceDebug = AceOO.Mixin { 56 | "Debug", 57 | "CustomDebug", 58 | "IsDebugging", 59 | "SetDebugging", 60 | "SetDebugLevel", 61 | "LevelDebug", 62 | "CustomLevelDebug", 63 | "GetDebugLevel", 64 | "GetDebugPrefix", 65 | } 66 | 67 | local function print(text, r, g, b, frame, delay) 68 | (frame or DEFAULT_CHAT_FRAME):AddMessage(text, r, g, b, 1, delay or 5) 69 | end 70 | 71 | local tmp = {} 72 | 73 | function AceDebug:CustomDebug(r, g, b, frame, delay, a1, ...) 74 | if not self.debugging then 75 | return 76 | end 77 | 78 | local output = self:GetDebugPrefix() 79 | 80 | a1 = tostring(a1) 81 | if a1:find("%%") and select('#', ...) >= 1 then 82 | for i = 1, select('#', ...) do 83 | tmp[i] = tostring((select(i, ...))) 84 | end 85 | output = output .. " " .. a1:format(unpack(tmp)) 86 | for i = 1, select('#', ...) do 87 | tmp[i] = nil 88 | end 89 | else 90 | -- This block dynamically rebuilds the tmp array stopping on the first nil. 91 | tmp[1] = output 92 | tmp[2] = a1 93 | for i = 1, select('#', ...) do 94 | tmp[i+2] = tostring((select(i, ...))) 95 | end 96 | 97 | output = table.concat(tmp, " ") 98 | 99 | for i = 1, select('#', ...) + 2 do 100 | tmp[i] = nil 101 | end 102 | end 103 | 104 | print(output, r, g, b, frame or self.debugFrame, delay) 105 | end 106 | 107 | function AceDebug:Debug(...) 108 | AceDebug.CustomDebug(self, nil, nil, nil, nil, nil, ...) 109 | end 110 | 111 | function AceDebug:IsDebugging() 112 | return self.debugging 113 | end 114 | 115 | function AceDebug:SetDebugging(debugging) 116 | if debugging then 117 | self.debugging = debugging 118 | if type(self.OnDebugEnable) == "function" then 119 | safecall(self.OnDebugEnable, self) 120 | end 121 | else 122 | if type(self.OnDebugDisable) == "function" then 123 | safecall(self.OnDebugDisable, self) 124 | end 125 | self.debugging = debugging 126 | end 127 | end 128 | 129 | -- Takes a number 1-3 130 | -- Level 1: Critical messages that every user should receive 131 | -- Level 2: Should be used for local debugging (function calls, etc) 132 | -- Level 3: Very verbose debugging, will dump everything and anything 133 | -- If set to nil, you will receive no debug information 134 | function AceDebug:SetDebugLevel(level) 135 | AceDebug:argCheck(level, 1, "number", "nil") 136 | if not level then 137 | self.debuglevel = nil 138 | return 139 | end 140 | if level < 1 or level > 3 then 141 | AceDebug:error("Bad argument #1 to `SetDebugLevel`, must be a number 1-3") 142 | end 143 | self.debuglevel = level 144 | end 145 | 146 | function AceDebug:GetDebugPrefix() 147 | return ("|cff7fff7f(DEBUG) %s:[%s.%3d]|r"):format( tostring(self), date("%H:%M:%S"), (GetTime() % 1) * 1000) 148 | end 149 | 150 | function AceDebug:GetDebugLevel() 151 | return self.debuglevel 152 | end 153 | 154 | function AceDebug:CustomLevelDebug(level, r, g, b, frame, delay, a1, ...) 155 | if not self.debugging or not self.debuglevel then return end 156 | AceDebug:argCheck(level, 1, "number") 157 | if level < 1 or level > 3 then 158 | AceDebug:error("Bad argument #1 to `LevelDebug`, must be a number 1-3") 159 | end 160 | if level > self.debuglevel then return end 161 | 162 | local output = self:GetDebugPrefix() 163 | 164 | a1 = tostring(a1) 165 | if a1:find("%%") and select('#', ...) >= 1 then 166 | for i = 1, select('#', ...) do 167 | tmp[i] = tostring((select(i, ...))) 168 | end 169 | output = output .. " " .. a1:format(unpack(tmp)) 170 | for i = 1, select('#', ...) do 171 | tmp[i] = nil 172 | end 173 | else 174 | -- This block dynamically rebuilds the tmp array stopping on the first nil. 175 | tmp[1] = output 176 | tmp[2] = a1 177 | for i = 1, select('#', ...) do 178 | tmp[i+2] = tostring((select(i, ...))) 179 | end 180 | 181 | output = table.concat(tmp, " ") 182 | 183 | for i = 1, select('#', ...) + 2 do 184 | tmp[i] = nil 185 | end 186 | end 187 | 188 | print(output, r, g, b, frame or self.debugFrame, delay) 189 | end 190 | 191 | function AceDebug:LevelDebug(level, ...) 192 | if not self.debugging or not self.debuglevel then return end 193 | AceDebug:argCheck(level, 1, "number") 194 | if level < 1 or level > 3 then 195 | AceDebug:error("Bad argument #1 to `LevelDebug`, must be a number 1-3") 196 | end 197 | if level > self.debuglevel then return end 198 | 199 | AceDebug.CustomLevelDebug(self, level, nil, nil, nil, nil, nil, ...) 200 | end 201 | 202 | 203 | local options 204 | function AceDebug:GetAceOptionsDataTable(target) 205 | if not options then 206 | options = { 207 | debug = { 208 | name = DEBUGGING, 209 | desc = TOGGLE_DEBUGGING, 210 | type = "toggle", 211 | get = "IsDebugging", 212 | set = "SetDebugging", 213 | order = -2, 214 | } 215 | } 216 | end 217 | return options 218 | end 219 | 220 | AceLibrary:Register(AceDebug, MAJOR_VERSION, MINOR_VERSION, AceDebug.activate) 221 | AceDebug = AceLibrary(MAJOR_VERSION) 222 | 223 | -------------------------------------------------------------------------------- /Libraries/AceDebug-2.0/AceDebug-2.0.toc: -------------------------------------------------------------------------------- 1 | ## Interface: 30000 2 | 3 | ## Title: Lib: AceDebug-2.0 4 | ## Notes: AddOn development framework 5 | ## Author: Ace Development Team 6 | ## LoadOnDemand: 1 7 | ## X-Website: http://www.wowace.com 8 | ## X-Category: Library 9 | ## X-License: LGPL v2.1 + MIT for AceOO-2.0 10 | ## Dependencies: AceLibrary, AceOO-2.0 11 | 12 | AceDebug-2.0.lua 13 | -------------------------------------------------------------------------------- /Libraries/AceEvent-2.0/AceEvent-2.0.toc: -------------------------------------------------------------------------------- 1 | ## Interface: 30000 2 | 3 | ## Title: Lib: AceEvent-2.0 4 | ## Notes: AddOn development framework 5 | ## Author: Ace Development Team 6 | ## LoadOnDemand: 1 7 | ## X-Website: http://www.wowace.com 8 | ## X-Category: Library 9 | ## X-License: LGPL v2.1 + MIT for AceOO-2.0 10 | ## Dependencies: AceLibrary, AceOO-2.0 11 | 12 | AceEvent-2.0.lua 13 | -------------------------------------------------------------------------------- /Libraries/AceHook-2.1/AceHook-2.1.toc: -------------------------------------------------------------------------------- 1 | ## Interface: 30000 2 | 3 | ## Title: Lib: AceHook-2.1 4 | ## Notes: AddOn development framework 5 | ## Author: Ace Development Team 6 | ## LoadOnDemand: 1 7 | ## X-Website: http://www.wowace.com 8 | ## X-Category: Library 9 | ## X-License: LGPL v2.1 + MIT for AceOO-2.0 10 | ## Dependencies: AceLibrary, AceOO-2.0 11 | 12 | AceHook-2.1.lua 13 | -------------------------------------------------------------------------------- /Libraries/AceLibrary/AceLibrary.toc: -------------------------------------------------------------------------------- 1 | ## Interface: 30000 2 | 3 | ## Title: Lib: AceLibrary 4 | ## Notes: AddOn development framework 5 | ## Author: Ace Development Team 6 | ## X-Website: http://www.wowace.com 7 | ## X-Category: Library 8 | ## X-License: LGPL v2.1 + MIT for AceOO-2.0 9 | 10 | AceLibrary.lua 11 | -------------------------------------------------------------------------------- /Libraries/AceLocale-2.2/AceLocale-2.2.toc: -------------------------------------------------------------------------------- 1 | ## Interface: 30000 2 | 3 | ## Title: Lib: AceLocale-2.2 4 | ## Notes: AddOn development framework 5 | ## Author: Ace Development Team 6 | ## LoadOnDemand: 1 7 | ## X-Website: http://www.wowace.com 8 | ## X-Category: Library 9 | ## X-License: LGPL v2.1 + MIT for AceOO-2.0 10 | ## Dependencies: AceLibrary 11 | 12 | AceLocale-2.2.lua 13 | -------------------------------------------------------------------------------- /Libraries/AceOO-2.0/AceOO-2.0.toc: -------------------------------------------------------------------------------- 1 | ## Interface: 30000 2 | 3 | ## Title: Lib: AceOO-2.0 4 | ## Notes: AddOn development framework 5 | ## Author: Ace Development Team 6 | ## LoadOnDemand: 1 7 | ## X-Website: http://www.wowace.com 8 | ## X-Category: Library 9 | ## X-License: LGPL v2.1 + MIT for AceOO-2.0 10 | ## Dependencies: AceLibrary 11 | 12 | AceOO-2.0.lua 13 | -------------------------------------------------------------------------------- /Libraries/FrameLib-1.0/FrameLib-1.0.toc: -------------------------------------------------------------------------------- 1 | ## Interface: 20003 2 | 3 | ## Title: Lib: FrameLib-1.0 4 | ## Notes: AddOn development framework 5 | ## Author: Josh - MangAdmin Development 6 | ## LoadOnDemand: 1 7 | ## X-Website: http://mangadmin.all-mag.de 8 | ## X-Category: Library 9 | ## X-License: LGPL v2.1 10 | ## Dependencies: AceLibrary 11 | 12 | FrameLib-1.0.lua -------------------------------------------------------------------------------- /Libraries/FuBarPlugin-2.0/Changelog-FuBarPlugin-2.0-r80867.txt: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------ 2 | r80867 | Swix | 2008-08-23 18:52:24 -0400 (Sat, 23 Aug 2008) | 2 lines 3 | Changed paths: 4 | M /trunk/FuBarPlugin-2.0/FuBarPlugin-2.0/FuBarPlugin-2.0.lua 5 | 6 | FuBarPlugin-2.0: 7 | -small ruRU fix (Specially for Ellipsis) 8 | ------------------------------------------------------------------------ 9 | -------------------------------------------------------------------------------- /Libraries/FuBarPlugin-2.0/FuBarPlugin-2.0.toc: -------------------------------------------------------------------------------- 1 | ## Interface: 20400 2 | ## LoadOnDemand: 1 3 | ## Title: Lib: FuBarPlugin-2.0 4 | ## Notes: A library to provide a means create a FuBar-compatible plugin. 5 | ## Notes-esES: Una biblioteca para crear plugins compatibles con Fubar. 6 | ## Notes-zhCN: 一个提供 FuBar 支持所需功能的插件。 7 | ## Author: ckknight 8 | ## eMail: ckknight@gmail.com 9 | ## Version: 2.0 $Revision: 66634 $ 10 | ## X-Category: Library 11 | ## Dependencies: 12 | ## OptionalDeps: Ace2, FuBar 13 | ## X-License: LGPL v2.1 14 | 15 | FuBarPlugin-2.0\FuBarPlugin-2.0.lua 16 | 17 | -------------------------------------------------------------------------------- /Libraries/FuBarPlugin-2.0/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) 2006-2007 ckknight 2 | 3 | This library is free software; you can redistribute it and/or 4 | modify it under the terms of the GNU Lesser General Public 5 | License as published by the Free Software Foundation; either 6 | version 2.1 of the License, or (at your option) any later version. 7 | 8 | This library is distributed in the hope that it will be useful, 9 | but WITHOUT ANY WARRANTY; without even the implied warranty of 10 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 11 | Lesser General Public License for more details. 12 | 13 | You should have received a copy of the GNU Lesser General Public 14 | License along with this library; if not, write to the Free Software 15 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -------------------------------------------------------------------------------- /Libraries/GraphTextures/Pie/1-1.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Libraries/GraphTextures/Pie/1-1.tga -------------------------------------------------------------------------------- /Libraries/GraphTextures/Pie/1-128.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Libraries/GraphTextures/Pie/1-128.tga -------------------------------------------------------------------------------- /Libraries/GraphTextures/Pie/1-16.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Libraries/GraphTextures/Pie/1-16.tga -------------------------------------------------------------------------------- /Libraries/GraphTextures/Pie/1-2.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Libraries/GraphTextures/Pie/1-2.tga -------------------------------------------------------------------------------- /Libraries/GraphTextures/Pie/1-32.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Libraries/GraphTextures/Pie/1-32.tga -------------------------------------------------------------------------------- /Libraries/GraphTextures/Pie/1-4.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Libraries/GraphTextures/Pie/1-4.tga -------------------------------------------------------------------------------- /Libraries/GraphTextures/Pie/1-64.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Libraries/GraphTextures/Pie/1-64.tga -------------------------------------------------------------------------------- /Libraries/GraphTextures/Pie/1-8.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Libraries/GraphTextures/Pie/1-8.tga -------------------------------------------------------------------------------- /Libraries/GraphTextures/line.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Libraries/GraphTextures/line.tga -------------------------------------------------------------------------------- /Libraries/GraphTextures/sline.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Libraries/GraphTextures/sline.tga -------------------------------------------------------------------------------- /Libraries/GraphTextures/triangle.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Libraries/GraphTextures/triangle.tga -------------------------------------------------------------------------------- /Locales/csCZ.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | function Return_csCZ() 22 | return { 23 | ["slashcmds"] = { "/mangadmin", "/ma" }, 24 | ["lang"] = "Czech", 25 | ["realm"] = "|cFF00FF00Realm:|r "..GetCVar("realmName"), 26 | ["char"] = "|cFF00FF00Char:|r "..UnitName("player"), 27 | ["guid"] = "|cFF00FF00Guid:|r ", 28 | ["tickets"] = "|cFF00FF00Tickets:|r ", 29 | ["gridnavigator"] = "Grid-Navigator", 30 | ["selectionerror1"] = "Prosim vyber sebe, jinou postavu, nebo nic!", 31 | ["selectionerror2"] = "Prosim vyber sebe, nebo nic!", 32 | ["selectionerror3"] = "Prosim vyber pouze jinou postavu!", 33 | ["selectionerror4"] = "Prosim vyber pouze NPC!", 34 | ["searchResults"] = "|cFF00FF00Search-Results:|r ", 35 | ["tabmenu_Main"] = "Hlavni", 36 | ["tabmenu_Char"] = "Postava", 37 | ["tabmenu_Tele"] = "Teleport", 38 | ["tabmenu_Ticket"] = "Tickety", 39 | ["tabmenu_Misc"] = "Ostatni", 40 | ["tabmenu_Server"] = "Server", 41 | ["tabmenu_Log"] = "Zaznam", 42 | ["tt_Default"] = "Prejed kurzorem pres element pro aktivaci napovedy!", 43 | ["tt_MainButton"] = "Klikni sem pro navrat na hlavni obrazovku MangAdmina.", 44 | ["tt_CharButton"] = "Klikni sem pro prepnuti na editaci postav.", 45 | ["tt_TeleButton"] = "Klikni sem pro prepnutí na okno s teleportaci.", 46 | ["tt_TicketButton"] = "Klikni sem pro prepnutí na spravu ticketu.", 47 | ["tt_MiscButton"] = "Klikni sem pro prepnuti do okna s ostatnim obsahem.", 48 | ["tt_ServerButton"] = "Klikni sem pro zobrazeni informaci o serveru a pro nastaveni veci tykajicich se serveru.", 49 | ["tt_LogButton"] = "Klikni sem pro zobrazení zaznamu vsech akci provedenych MangAdminem.", 50 | ["tt_LanguageButton"] = "Klikni sem pro zmenu vychoziho jazyka a restart MangAdmina.", 51 | ["tt_GMOnButton"] = "Klikni pro aktivaci GM modu.", 52 | ["tt_GMOffButton"] = "Klikni pro deaktivaci GM modu.", 53 | ["tt_FlyOnButton"] = "Klikni pro aktivaci Fly modu pro vybranou postavu.", 54 | ["tt_FlyOffButton"] = "Klikni pro deaktivaci Fly modu pro vybranou postavu.", 55 | ["tt_HoverOnButton"] = "Klikni pro aktivaci Hover modu.", 56 | ["tt_HoverOffButton"] = "Klikni pro deaktivaci Hover modu.", 57 | ["tt_WhispOnButton"] = "Klikni pro aktivaci prijimani whisperu od ostatnich hracu.", 58 | ["tt_WhispOffButton"] = "Klikni pro deaktivaci prijimani whisperu od ostatnich hracu.", 59 | ["tt_InvisOnButton"] = "Klikni pro aktivaci neviditelnosti.", 60 | ["tt_InvisOffButton"] = "Klikni pro deaktivaci neviditelnosti.", 61 | ["tt_TaxiOnButton"] = "Klikni pro aktivaci vsech taxi cest vybrane postavy (po odlogovani se vraci do puvodniho stavu).", 62 | ["tt_TaxiOffButton"] = "Klikni pro deaktivaci taxi cheatu a pro obnoveni pouze znamych taxi cest vybrane postavy.", 63 | ["tt_BankButton"] = "Klikni pro otevreni tve banky.", 64 | ["tt_ScreenButton"] = "Klikni pro vyfoceni screenshotu.", 65 | ["tt_SpeedSlider"] = "Posunutim jezdce zvetsis nebo zmensis rychlost vybrane postavy.", 66 | ["tt_ScaleSlider"] = "Posunutím jezdce zvetsis nebo zmensis vybranou postavu.", 67 | ["tt_ItemButton"] = "Klikni sem pro prepnuti na spravu predmetu, funkce hledani predmetu, spravu polozek oblibenych.", 68 | ["tt_ItemSetButton"] = "Klikni pro prepnuti na nabidku s hledanim setovych predmetu a spravou polozek oblibenych.", 69 | ["tt_SpellButton"] = "Klikni sem pro prepnuti na spravu kouzel, funkce hledani kouzel, spravu polozek oblibenych.", 70 | ["tt_QuestButton"] = "Klikni pro prepnuti na nabidku s hledanim questu a spravou polozek oblibenych.", 71 | ["tt_CreatureButton"] = "Klikni pro prepnuti na nabidku s hledanim NPC a spravu polozek oblibenych.", 72 | ["tt_ObjectButton"] = "Klikni pro prepnuti na nabidku s hledanim game objektu a spravu polozek oblibenych.", 73 | ["tt_SearchDefault"] = "Vloz klicove slovo a muzes spustit vyhledavani.", 74 | ["tt_AnnounceButton"] = "Klikni pro odeslani systemove zpravy.", 75 | ["tt_KickButton"] = "Klikni pro vykopnuti vybrane postavy ze serveru.", 76 | ["tt_ShutdownButton"] = "Klikni pro vypnuti serveru za definovane mnozstvi sekund. Pokud nespecifikovano, server bude vypnut okamzite!", 77 | ["ma_ItemButton"] = "Predmety", 78 | ["ma_ItemSetButton"] = "Sety", 79 | ["ma_SpellButton"] = "Kouzla", 80 | ["ma_QuestButton"] = "Questy", 81 | ["ma_CreatureButton"] = "NPC", 82 | ["ma_ObjectButton"] = "Game Objecty", 83 | ["ma_TeleSearchButton"] = "Teleport-Search", 84 | ["ma_LanguageButton"] = "Zmenit Jazyk", 85 | ["ma_GMOnButton"] = "GM mod Zap.", 86 | ["ma_FlyOnButton"] = "Fly mod Zap.", 87 | ["ma_HoverOnButton"] = "Hover mod Zap.", 88 | ["ma_WhisperOnButton"] = "Whisper Zap.", 89 | ["ma_InvisOnButton"] = "Neviditelnost Zap.", 90 | ["ma_TaxiOnButton"] = "Taxi-cheat Zap.", 91 | ["ma_ScreenshotButton"] = "Screenshot", 92 | ["ma_BankButton"] = "Banka", 93 | ["ma_OffButton"] = "Vyp.", 94 | ["ma_LearnAllButton"] = "Vsechna kouzla", 95 | ["ma_LearnCraftsButton"] = "Vsechny profese a recepty", 96 | ["ma_LearnGMButton"] = "Zakladní GM kouzla", 97 | ["ma_LearnLangButton"] = "Vsechny jazyky", 98 | ["ma_LearnClassButton"] = "Vsechna kouzla dane profese", 99 | ["ma_SearchButton"] = "Hledat...", 100 | ["ma_ResetButton"] = "Reset", 101 | ["ma_KickButton"] = "Vykopnout", 102 | ["ma_KillButton"] = "Zabit", 103 | ["ma_DismountButton"] = "Sesednout", 104 | ["ma_ReviveButton"] = "Ozivit", 105 | ["ma_SaveButton"] = "Save", 106 | ["ma_AnnounceButton"] = "Odeslat", 107 | ["ma_ShutdownButton"] = "Vypnout!", 108 | ["ma_ItemVar1Button"] = "Mnozstvi", 109 | ["ma_ObjectVar1Button"] = "Loot", 110 | ["ma_ObjectVar2Button"] = "Respawn", 111 | ["ma_LoadTicketsButton"] = "Ukazat Tickety", 112 | ["ma_GetCharTicketButton"] = "Privolat", 113 | ["ma_GoCharTicketButton"] = "K hraci", 114 | ["ma_AnswerButton"] = "Odpovedet", 115 | ["ma_DeleteButton"] = "Smazat", 116 | ["ma_TicketCount"] = "|cFF00FF00Tickety:|r ", 117 | ["ma_TicketsNoNew"] = "Zadne nove tickety.", 118 | ["ma_TicketsNewNumber"] = "Mas |cffeda55f%s|r novych ticketu!", 119 | ["ma_TicketsGoLast"] = "Jdi k poslednimu tvurci ticketu (%s).", 120 | ["ma_TicketsGetLast"] = "Portni %s k sobe.", 121 | ["ma_IconHint"] = "|cffeda55fKlikni|r pro otevreni MangAdmina. |cffeda55fShift-Klik|r pro restart interface. |cffeda55fAlt-Klik|r pro obnoveni poctu ticketu.", 122 | ["ma_Reload"] = "Obnov", 123 | ["ma_LoadMore"] = "Nacti vic...", 124 | ["ma_MailRecipient"] = "Prijemce", 125 | ["ma_Mail"] = "Odeslat postu", 126 | ["ma_Send"] = "Odeslat", 127 | ["ma_MailSubject"] = "Predmet", 128 | ["ma_MailYourMsg"] = "Zde napis svoji zpravu!", 129 | ["ma_Online"] = "Online", 130 | ["ma_Offline"] = "Offline", 131 | ["ma_TicketsInfoPlayer"] = "|cFF00FF00Hrac:|r ", 132 | ["ma_TicketsInfoStatus"] = "|cFF00FF00Status:|r ", 133 | ["ma_TicketsInfoAccount"] = "|cFF00FF00Account:|r ", 134 | ["ma_TicketsInfoAccLevel"] = "|cFF00FF00Account-Level:|r ", 135 | ["ma_TicketsInfoLastIP"] = "|cFF00FF00Posledni IP:|r ", 136 | ["ma_TicketsInfoPlayedTime"] = "|cFF00FF00Herni cas:|r ", 137 | ["ma_TicketsInfoLevel"] = "|cFF00FF00Level:|r ", 138 | ["ma_TicketsInfoMoney"] = "|cFF00FF00Penize:|r ", 139 | ["ma_TicketsInfoLatency"] = "|cFF00FF00Latency:|r ", 140 | ["ma_TicketsNoInfo"] = "Zadny ticket k dispozici...", 141 | ["ma_TicketsNotLoaded"] = "Nenacten zadny ticket...", 142 | ["ma_TicketsNoTickets"] = "Zadne informace k dispozici!", 143 | ["ma_TicketTicketLoaded"] = "|cFF00FF00Nacten Ticket cislo:|r %s\n\nPlayer Information\n\n", 144 | ["ma_FavAdd"] = "Add selected", 145 | ["ma_FavRemove"] = "Remove selected", 146 | ["ma_SelectAllButton"] = "Select all", 147 | ["ma_DeselectAllButton"] = "Deselect all", 148 | ["ma_MailBytesLeft"] = "Bytes left: ", 149 | ["ma_WeatherFine"] = "Fine", 150 | ["ma_WeatherFog"] = "Fog", 151 | ["ma_WeatherRain"] = "Rain", 152 | ["ma_WeatherSnow"] = "Snow", 153 | ["ma_WeatherSand"] = "Sand", 154 | ["ma_LevelUp"] = "Level up", 155 | ["ma_LevelDown"] = "Level down", 156 | ["ma_Money"] = "Money", 157 | ["ma_Energy"] = "Energy", 158 | ["ma_Rage"] = "Rage", 159 | ["ma_Mana"] = "Mana", 160 | ["ma_Healthpoints"] = "Healthpoints", 161 | ["ma_Talents"] = "Talents", 162 | ["ma_Stats"] = "Stats", 163 | ["ma_Spells"] = "Spells", 164 | ["ma_Honor"] = "Honor", 165 | ["ma_Level"] = "Level", 166 | ["ma_AllLang"] = "All Languages", 167 | -- languages 168 | ["Common"] = "Common", 169 | ["Orcish"] = "Orcish", 170 | ["Taurahe"] = "Taurahe", 171 | ["Darnassian"] = "Darnassian", 172 | ["Dwarvish"] = "Dwarvish", 173 | ["Thalassian"] = "Thalassian", 174 | ["Demonic"] = "Demonic", 175 | ["Draconic"] = "Draconic", 176 | ["Titan"] = "Titan", 177 | ["Kalimag"] = "Kalimag", 178 | ["Gnomish"] = "Gnomish", 179 | ["Troll"] = "Troll", 180 | ["Gutterspeak"] = "Gutterspeak", 181 | ["Draenei"] = "Draenei", 182 | ["ma_NoFavorites"] = "There are currently no saved favorites!", 183 | ["ma_NoZones"] = "No zones!", 184 | ["ma_NoSubZones"] = "No subzones!", 185 | ["favoriteResults"] = "|cFF00FF00Favorites:|r ", 186 | ["Zone"] = "|cFF00FF00Zone:|r ", 187 | ["tt_DisplayAccountLevel"] = "Display your account level", 188 | ["tt_TicketOn"] = "Announce new tickets.", 189 | ["tt_TicketOff"] = "Don't announce new tickets.", 190 | ["info_revision"] = "|cFF00FF00MaNGOS Revision:|r ", 191 | ["info_platform"] = "|cFF00FF00Server Platform:|r ", 192 | ["info_online"] = "|cFF00FF00Players Online:|r ", 193 | ["info_maxonline"] = "|cFF00FF00Maximum Online:|r ", 194 | ["info_uptime"] = "|cFF00FF00Uptime:|r ", 195 | ["cmd_toggle"] = "Toggle the main window", 196 | ["cmd_transparency"] = "Toggle the basic transparency (0.5 or 1.0)", 197 | ["cmd_tooltip"] = "Toggle wether the button tooltips are shown or not", 198 | ["tt_SkillButton"] = "Toggle a popup with the function to search for skills and manage your favorites.", 199 | ["tt_RotateLeft"] = "Rotate left.", 200 | ["tt_RotateRight"] = "Rotate right.", 201 | ["tt_FrmTrSlider"] = "Change frame transparency.", 202 | ["tt_BtnTrSlider"] = "Change button transparency.", 203 | ["ma_SkillButton"] = "Skill-Search", 204 | ["ma_SkillVar1Button"] = "Skill", 205 | ["ma_SkillVar2Button"] = "Max Skill", 206 | ["tt_DisplayAccountLvl"] = "Display your account level.", 207 | --linkifier 208 | ["lfer_Spawn"] = "Spawn", 209 | ["lfer_List"] = "List", 210 | ["lfer_Reload"] = "Reload", 211 | ["lfer_Goto"] = "Goto", 212 | ["lfer_Move"] = "Move", 213 | ["lfer_Turn"] = "Turn", 214 | ["lfer_Delete"] = "Delete", 215 | ["lfer_Teleport"] = "Teleport", 216 | ["lfer_Morph"] = "Morph", 217 | ["lfer_Add"] = "Add", 218 | ["lfer_Remove"] = "Remove", 219 | ["lfer_Learn"] = "Learn", 220 | ["lfer_Unlearn"] = "Unlearn", 221 | ["lfer_Error"] = "Error Search String Matched but an error occured or unable to find type" 222 | } 223 | end 224 | -------------------------------------------------------------------------------- /Locales/huHU.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | function Return_huHU() 22 | return { 23 | ["slashcmds"] = { "/mangadmin", "/ma" }, 24 | ["lang"] = "Magyar", 25 | ["realm"] = "|cFF00FF00Realm:|r "..GetCVar("realmName"), 26 | ["char"] = "|cFF00FF00Karakter:|r "..UnitName("player"), 27 | ["guid"] = "|cFF00FF00Guid:|r ", 28 | ["tickets"] = "|cFF00FF00Tickets:|r ", 29 | ["gridnavigator"] = "Grid-Navigátor", 30 | ["selectionerror1"] = "Válaszd ki magad, egy másik player-t vagy semmit!", 31 | ["selectionerror2"] = "Válaszd ki magad vagy semmit!", 32 | ["selectionerror3"] = "Válassz ki egy másik player-t!", 33 | ["selectionerror4"] = "Válassz ki egy NPC-t!", 34 | ["searchResults"] = "|cFF00FF00Keresési eredmény:|r ", 35 | ["tabmenu_Main"] = "Föoldal", 36 | ["tabmenu_Char"] = "Karakter", 37 | ["tabmenu_Tele"] = "Teleport", 38 | ["tabmenu_Ticket"] = "Ticket rendszer", 39 | ["tabmenu_Misc"] = "Egyéb", 40 | ["tabmenu_Server"] = "Szerver", 41 | ["tabmenu_Log"] = "Napló", 42 | ["tt_Default"] = "Vidd a kurzort bármelyik gomb fölé infó mutatásához!", 43 | ["tt_MainButton"] = "Kattints, hogy megnyissa a MangAdmint.", 44 | ["tt_CharButton"] = "Kattints a karakterekre vonatkozó műveleteket tartalmazó ablak megjelenítéséhez.", 45 | ["tt_TeleButton"] = "Kattints a teleport műveleteket tartalmazó ablak megjelenítéséhez.", 46 | ["tt_TicketButton"] = "Kattints a ticketek listázásához.", 47 | ["tt_MiscButton"] = "Kattints az egyéb műveletek megjelenítéséhez.", 48 | ["tt_ServerButton"] = "Kattins a szerverinformációk és a szerverrel kapcsolatos műveletek megjelenítéséhez.", 49 | ["tt_LogButton"] = "Kattints ide a MangAdminnal eddig végrehajtott parancsok naplójához.", 50 | ["tt_LanguageButton"] = "Kattints ide a nyelv megváltoztatásához és a MangAdmin újratöltéséhez.", 51 | ["tt_GMOnButton"] = "GM-mód bekapcsolása.", 52 | ["tt_GMOffButton"] = "GM-mód kikapcsolása.", 53 | ["tt_FlyOnButton"] = "Repülés bekapcsolása a kijelölt karakteren.", 54 | ["tt_FlyOffButton"] = "Repülés kikapcsolása a kijelölt karakteren.", 55 | ["tt_HoverOnButton"] = "Lebegés bekapcsolása.", 56 | ["tt_HoverOffButton"] = "Lebegés kikapcsolása.", 57 | ["tt_WhispOnButton"] = "Whisperek fogadása más playerektöl.", 58 | ["tt_WhispOffButton"] = "Whisperek tiltása más playerektöl", 59 | ["tt_InvisOnButton"] = "Láthatatlanság bekapcsolása.", 60 | ["tt_InvisOffButton"] = "Láthatatlanság kikapcsolása.", 61 | ["tt_TaxiOnButton"] = "Kiválasztott player minden taxi-útvonalának mutatása. Ez a cheat logoutnál kikapcsolódik.", 62 | ["tt_TaxiOffButton"] = "Taxi-cheat kikapcsolása és az ismert taxi-útvonalának visszaállítása.", 63 | ["tt_BankButton"] = "Bankod mutatása.", 64 | ["tt_ScreenButton"] = "Képernyömentés", 65 | ["tt_SpeedSlider"] = "Kijelölt karakter sebességének változtatása.", 66 | ["tt_ScaleSlider"] = "Kijelölt karakter méretének változtatása.", 67 | ["tt_ItemButton"] = "Item keresö ablak megnyitása.", 68 | ["tt_ItemSetButton"] = "ItemSet keresö ablak megnyitása.", 69 | ["tt_SpellButton"] = "Spell keresö ablak megnyitása.", 70 | ["tt_QuestButton"] = "Quest keresö ablak megnyitása.", 71 | ["tt_CreatureButton"] = "Creature keresö ablak megnyitása.", 72 | ["tt_ObjectButton"] = "Object keresö ablak megnyitása.", 73 | ["tt_SearchDefault"] = "Adj meg egy kulcsszót a kereséshez.", 74 | ["tt_AnnounceButton"] = "Rendszerüzenet küldése.", 75 | ["tt_KickButton"] = "Kiválasztott player kickelése a szerverröl.", 76 | ["tt_ShutdownButton"] = "Szerver leállítása megadott másodperc múlva. Ha nincs megadva érték, a szerver azonnal leáll!", 77 | ["ma_ItemButton"] = "Item keresés", 78 | ["ma_ItemSetButton"] = "ItemSet keresés", 79 | ["ma_SpellButton"] = "Spell keresés", 80 | ["ma_QuestButton"] = "Quest keresés", 81 | ["ma_CreatureButton"] = "Creature keresés", 82 | ["ma_ObjectButton"] = "Object keresés", 83 | ["ma_TeleSearchButton"] = "Teleport-Search", 84 | ["ma_LanguageButton"] = "Nyelv választás", 85 | ["ma_GMOnButton"] = "GM-mód be", 86 | ["ma_FlyOnButton"] = "Repülés be", 87 | ["ma_HoverOnButton"] = "Lebegés be", 88 | ["ma_WhisperOnButton"] = "Whisper be", 89 | ["ma_InvisOnButton"] = "Láthatatlanság be", 90 | ["ma_TaxiOnButton"] = "Taxicheat be", 91 | ["ma_ScreenshotButton"] = "Screenshot", 92 | ["ma_BankButton"] = "Bank", 93 | ["ma_OffButton"] = "Ki", 94 | ["ma_LearnAllButton"] = "Minden spell", 95 | ["ma_LearnCraftsButton"] = "Minden foglalkozás és recept", 96 | ["ma_LearnGMButton"] = "Alap GM spellek", 97 | ["ma_LearnLangButton"] = "Összes nyelv", 98 | ["ma_LearnClassButton"] = "Összes kaszt spell", 99 | ["ma_SearchButton"] = "Keresés...", 100 | ["ma_ResetButton"] = "Reset", 101 | ["ma_KickButton"] = "Kick", 102 | ["ma_KillButton"] = "Kill", 103 | ["ma_DismountButton"] = "Dismount", 104 | ["ma_ReviveButton"] = "Élesztés", 105 | ["ma_SaveButton"] = "Mentés", 106 | ["ma_AnnounceButton"] = "Rendszerüzenet", 107 | ["ma_ShutdownButton"] = "Leállítás!", 108 | ["ma_ItemVar1Button"] = "Másodperc", 109 | ["ma_ObjectVar1Button"] = "Loot Template", 110 | ["ma_ObjectVar2Button"] = "Spawn Time", 111 | ["ma_LoadTicketsButton"] = "Ticketek mutatása", 112 | ["ma_GetCharTicketButton"] = "Player ide", 113 | ["ma_GoCharTicketButton"] = "Tele playerhez", 114 | ["ma_AnswerButton"] = "Válasz", 115 | ["ma_DeleteButton"] = "Törlés", 116 | ["ma_TicketCount"] = "|cFF00FF00Ticketek:|r ", 117 | ["ma_TicketsNoNew"] = "Nincs új ticket.", 118 | ["ma_TicketsNewNumber"] = "|cffeda55f%s|r új ticketed van!", 119 | ["ma_TicketsGoLast"] = "Teleport az utolsó ticket létrehozójához (%s).", 120 | ["ma_TicketsGetLast"] = "%s idehozása.", 121 | ["ma_IconHint"] = "|cffeda55fKattints|r a MangAdmin megnyitásához. |cffeda55fShift-Kattints|r az UI újratöltéséhez. |cffeda55fAlt-Kattints|r a ticket számláló törléséhez.", 122 | ["ma_Reload"] = "Újratöltés", 123 | ["ma_LoadMore"] = "Több betöltése...", 124 | ["ma_MailRecipient"] = "Címzett", 125 | ["ma_Mail"] = "Levél küldése", 126 | ["ma_Send"] = "Küldés", 127 | ["ma_MailSubject"] = "Tárgy", 128 | ["ma_MailYourMsg"] = "Üzeneted", 129 | ["ma_Online"] = "Online", 130 | ["ma_Offline"] = "Offline", 131 | ["ma_TicketsInfoPlayer"] = "|cFF00FF00Player:|r ", 132 | ["ma_TicketsInfoStatus"] = "|cFF00FF00Állapot:|r ", 133 | ["ma_TicketsInfoAccount"] = "|cFF00FF00Account:|r ", 134 | ["ma_TicketsInfoAccLevel"] = "|cFF00FF00Account szint:|r ", 135 | ["ma_TicketsInfoLastIP"] = "|cFF00FF00Utolsó IP:|r ", 136 | ["ma_TicketsInfoPlayedTime"] = "|cFF00FF00Játszott idö:|r ", 137 | ["ma_TicketsInfoLevel"] = "|cFF00FF00Szint:|r ", 138 | ["ma_TicketsInfoMoney"] = "|cFF00FF00Pénz:|r ", 139 | ["ma_TicketsInfoLatency"] = "|cFF00FF00Latency:|r ", 140 | ["ma_TicketsNoInfo"] = "Nem érhetö el ticket infó...", 141 | ["ma_TicketsNotLoaded"] = "Nincs betöltve ticket...", 142 | ["ma_TicketsNoTickets"] = "Nincs ticket!", 143 | ["ma_TicketTicketLoaded"] = "|cFF00FF00Betöltött Ticket:|r %s\n\nPlayer Információ\n\n", 144 | ["ma_FavAdd"] = "Add selected", 145 | ["ma_FavRemove"] = "Remove selected", 146 | ["ma_SelectAllButton"] = "Select all", 147 | ["ma_DeselectAllButton"] = "Deselect all", 148 | ["ma_MailBytesLeft"] = "Bytes left: ", 149 | ["ma_WeatherFine"] = "Fine", 150 | ["ma_WeatherFog"] = "Fog", 151 | ["ma_WeatherRain"] = "Rain", 152 | ["ma_WeatherSnow"] = "Snow", 153 | ["ma_WeatherSand"] = "Sand", 154 | ["ma_LevelUp"] = "Level up", 155 | ["ma_LevelDown"] = "Level down", 156 | ["ma_Money"] = "Money", 157 | ["ma_Energy"] = "Energy", 158 | ["ma_Rage"] = "Rage", 159 | ["ma_Mana"] = "Mana", 160 | ["ma_Healthpoints"] = "Healthpoints", 161 | ["ma_Talents"] = "Talents", 162 | ["ma_Stats"] = "Stats", 163 | ["ma_Spells"] = "Spells", 164 | ["ma_Honor"] = "Honor", 165 | ["ma_Level"] = "Level", 166 | ["ma_AllLang"] = "All Languages", 167 | -- languages 168 | ["Common"] = "Common", 169 | ["Orcish"] = "Orcish", 170 | ["Taurahe"] = "Taurahe", 171 | ["Darnassian"] = "Darnassian", 172 | ["Dwarvish"] = "Dwarvish", 173 | ["Thalassian"] = "Thalassian", 174 | ["Demonic"] = "Demonic", 175 | ["Draconic"] = "Draconic", 176 | ["Titan"] = "Titan", 177 | ["Kalimag"] = "Kalimag", 178 | ["Gnomish"] = "Gnomish", 179 | ["Troll"] = "Troll", 180 | ["Gutterspeak"] = "Gutterspeak", 181 | ["Draenei"] = "Draenei", 182 | ["ma_NoFavorites"] = "There are currently no saved favorites!", 183 | ["ma_NoZones"] = "No zones!", 184 | ["ma_NoSubZones"] = "No subzones!", 185 | ["favoriteResults"] = "|cFF00FF00Favorites:|r ", 186 | ["Zone"] = "|cFF00FF00Zone:|r ", 187 | ["tt_DisplayAccountLevel"] = "Display your account level", 188 | ["tt_TicketOn"] = "Announce new tickets.", 189 | ["tt_TicketOff"] = "Don't announce new tickets.", 190 | ["info_revision"] = "|cFF00FF00MaNGOS Revision:|r ", 191 | ["info_platform"] = "|cFF00FF00Server Platform:|r ", 192 | ["info_online"] = "|cFF00FF00Players Online:|r ", 193 | ["info_maxonline"] = "|cFF00FF00Maximum Online:|r ", 194 | ["info_uptime"] = "|cFF00FF00Uptime:|r ", 195 | ["cmd_toggle"] = "Toggle the main window", 196 | ["cmd_transparency"] = "Toggle the basic transparency (0.5 or 1.0)", 197 | ["cmd_tooltip"] = "Toggle wether the button tooltips are shown or not", 198 | ["tt_SkillButton"] = "Toggle a popup with the function to search for skills and manage your favorites.", 199 | ["tt_RotateLeft"] = "Rotate left.", 200 | ["tt_RotateRight"] = "Rotate right.", 201 | ["tt_FrmTrSlider"] = "Change frame transparency.", 202 | ["tt_BtnTrSlider"] = "Change button transparency.", 203 | ["ma_SkillButton"] = "Skill-Search", 204 | ["ma_SkillVar1Button"] = "Skill", 205 | ["ma_SkillVar2Button"] = "Max Skill", 206 | ["tt_DisplayAccountLvl"] = "Display your account level.", 207 | --linkifier 208 | ["lfer_Spawn"] = "Spawn", 209 | ["lfer_List"] = "List", 210 | ["lfer_Reload"] = "Reload", 211 | ["lfer_Goto"] = "Goto", 212 | ["lfer_Move"] = "Move", 213 | ["lfer_Turn"] = "Turn", 214 | ["lfer_Delete"] = "Delete", 215 | ["lfer_Teleport"] = "Teleport", 216 | ["lfer_Morph"] = "Morph", 217 | ["lfer_Add"] = "Add", 218 | ["lfer_Remove"] = "Remove", 219 | ["lfer_Learn"] = "Learn", 220 | ["lfer_Unlearn"] = "Unlearn", 221 | ["lfer_Error"] = "Error Search String Matched but an error occured or unable to find type" 222 | } 223 | end 224 | -------------------------------------------------------------------------------- /Locales/ruRU.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | function Return_ruRU() 22 | return { 23 | ["slashcmds"] = { "/mangadmin", "/ma" }, 24 | ["lang"] = "Русский", 25 | ["realm"] = "|cFF00FF00Реалм:|r "..GetCVar("realmName"), 26 | ["char"] = "|cFF00FF00Чар:|r "..UnitName("player"), 27 | ["guid"] = "|cFF00FF00Guid:|r ", 28 | ["tickets"] = "|cFF00FF00Тикеты:|r ", 29 | ["gridnavigator"] = "Навигатор", 30 | ["selectionerror1"] = "Выбери либо себя либо другого ИГРОКА", 31 | ["selectionerror2"] = "Выбери только себя !", 32 | ["selectionerror3"] = "Выбери только другого игрока !", 33 | ["selectionerror4"] = "Выберите только НПС!", 34 | ["searchResults"] = "|cFF00FF00Результаты поиска:|r ", 35 | ["tabmenu_Main"] = "Главное", 36 | ["tabmenu_Char"] = "Чар", 37 | ["tabmenu_Tele"] = "Телепорт", 38 | ["tabmenu_Ticket"] = "Тикеты", 39 | ["tabmenu_Misc"] = "Разное", 40 | ["tabmenu_Server"] = "Сервак", 41 | ["tabmenu_Log"] = "Логи", 42 | ["tt_Default"] = "Задержи мышку над элементом для отображения подсказкм", 43 | ["tt_MainButton"] = "Включить МангАдмин.", 44 | ["tt_CharButton"] = "Открыть меню для чара.", 45 | ["tt_TeleButton"] = "Открыть меню для телепорта.", 46 | ["tt_TicketButton"] = "Открыть меню управления тикетами.", 47 | ["tt_MiscButton"] = "Открыть меню с различными другими действиями.", 48 | ["tt_ServerButton"] = "Открыть меню серверной части, (инфа и действия).", 49 | ["tt_LogButton"] = "Показать логи МангАдмина.", 50 | ["tt_LanguageButton"] = "Поменять язык и перезагрузить МангАдмин", 51 | ["tt_GMOnButton"] = "Включить ГМ режим.", 52 | ["tt_GMOffButton"] = "Выключить ГМ режим.", 53 | ["tt_FlyOnButton"] = "Включить режим полёта выбраному игроку(или себе).", 54 | ["tt_FlyOffButton"] = "Выключить режим полёта выбраному игроку(или себе).", 55 | ["tt_HoverOnButton"] = "Включить режим парения(hover).", 56 | ["tt_HoverOffButton"] = "Выключить режим парения(hover)", 57 | ["tt_WhispOnButton"] = "Принимать whisper-ы от игроков.", 58 | ["tt_WhispOffButton"] = "Не принимать whisper-ы от игроков.", 59 | ["tt_InvisOnButton"] = "Сделатся невидимым.", 60 | ["tt_InvisOffButton"] = "Сделатся видимым.", 61 | ["tt_TaxiOnButton"] = "Включить вежим такси для выбранного игрока. Чит закончится после лог-аута.", 62 | ["tt_TaxiOffButton"] = "Выключить чит такси для выбранного игрока.", 63 | ["tt_BankButton"] = "Банк.", 64 | ["tt_ScreenButton"] = "Сделать снимок.", 65 | ["tt_SpeedSlider"] = "Увеличить или уменьшить скорость выбранного перса.", 66 | ["tt_ScaleSlider"] = "Увеличить или уменьшить размер выбранного перса.", 67 | ["tt_ItemButton"] = "Открыть поиск вещей.", 68 | ["tt_ItemSetButton"] = "Открыть поиск сетов.", 69 | ["tt_SpellButton"] = "Открыть поиск спеллов.", 70 | ["tt_QuestButton"] = "Открыть поиск квестов.", 71 | ["tt_CreatureButton"] = "Открыть поиск существ.", 72 | ["tt_ObjectButton"] = "Открыть поиск объектов.", 73 | ["tt_SearchDefault"] = "ВВедите слово в поисковом поле.", 74 | ["tt_AnnounceButton"] = "Системно сообщение.", 75 | ["tt_KickButton"] = "Выкинуть выбранного игрока с сервера.", 76 | ["tt_ShutdownButton"] = "Вырубить сервер через количество секунд указаные в поле, если пусто то сразу!", 77 | ["ma_ItemButton"] = "Поиск вещи", 78 | ["ma_ItemSetButton"] = "Поиск сета", 79 | ["ma_SpellButton"] = "Поиск спелла", 80 | ["ma_QuestButton"] = "Поиск квеста", 81 | ["ma_CreatureButton"] = "Поиск существа", 82 | ["ma_ObjectButton"] = "Поиск обьекта", 83 | ["ma_TeleSearchButton"] = "Поиск телепорта", 84 | ["ma_LanguageButton"] = "Сменить язык", 85 | ["ma_GMOnButton"] = "Режим ГМ вкл.", 86 | ["ma_FlyOnButton"] = "Полёт вкл.", 87 | ["ma_HoverOnButton"] = "ПарИть вкл.", 88 | ["ma_WhisperOnButton"] = "Whisper вкл.", 89 | ["ma_InvisOnButton"] = "Невидимость вкл.", 90 | ["ma_TaxiOnButton"] = "Такси-чит вкл.", 91 | ["ma_ScreenshotButton"] = "Снимок", 92 | ["ma_BankButton"] = "Банк", 93 | ["ma_OffButton"] = "ВЫКЛ.", 94 | ["ma_LearnAllButton"] = "Все спеллы", 95 | ["ma_LearnCraftsButton"] = "Все профессии и рецепты", 96 | ["ma_LearnGMButton"] = "Спеллы ГМ-а по умолчанию", 97 | ["ma_LearnLangButton"] = "Все языки",--remove 98 | ["ma_LearnClassButton"] = "Все классовые спеллы", 99 | ["ma_SearchButton"] = "Поиск...", 100 | ["ma_ResetButton"] = "Очистить", 101 | ["ma_KickButton"] = "Выкинуть", 102 | ["ma_KillButton"] = "Убить", 103 | ["ma_DismountButton"] = "Снять", 104 | ["ma_ReviveButton"] = "Оживить", 105 | ["ma_SaveButton"] = "Сохранить", 106 | ["ma_AnnounceButton"] = "Обьявить", 107 | ["ma_ShutdownButton"] = "Отрубить!", 108 | ["ma_ItemVar1Button"] = "Кол-во", 109 | ["ma_ObjectVar1Button"] = "Расклад ЛУТА", 110 | ["ma_ObjectVar2Button"] = "Время спауна", 111 | ["ma_LoadTicketsButton"] = "Показать тикеты", 112 | ["ma_GetCharTicketButton"] = "Притащить игрока", 113 | ["ma_GoCharTicketButton"] = "К игроку", 114 | ["ma_AnswerButton"] = "Ответить", 115 | ["ma_DeleteButton"] = "Стереть", 116 | ["ma_TicketCount"] = "|cFF00FF00Тикеты:|r ", 117 | ["ma_TicketsNoNew"] = "Нет новых тикетов.", 118 | ["ma_TicketsNewNumber"] = "Есть |cffeda55f%s|r новых тикетов!", 119 | ["ma_TicketsGoLast"] = "Перейти с автору последнего тикета (%s).", 120 | ["ma_TicketsGetLast"] = "Притащить %s сюда!.", 121 | ["ma_IconHint"] = "|cffeda55fЖми|r чтобы открыть МангАдмин. |cffeda55fШифт+Клик|r чтобы перезагрузить интерфейс. |cffeda55fАлт+Клик|r сбросить счётчик тикетов.", 122 | ["ma_Reload"] = "Перезагрузить", 123 | ["ma_LoadMore"] = "Подгрузить...", 124 | ["ma_MailRecipient"] = "Получатель", 125 | ["ma_Mail"] = "Послать письмо", 126 | ["ma_Send"] = "Послать", 127 | ["ma_MailSubject"] = "Тема", 128 | ["ma_MailYourMsg"] = "Сообщение !", 129 | ["ma_Online"] = "Онлайн", 130 | ["ma_Offline"] = "Оффлайн", 131 | ["ma_TicketsInfoPlayer"] = "|cFF00FF00Чар:|r ", 132 | ["ma_TicketsInfoStatus"] = "|cFF00FF00Статус:|r ", 133 | ["ma_TicketsInfoAccount"] = "|cFF00FF00Аккаунт:|r ", 134 | ["ma_TicketsInfoAccLevel"] = "|cFF00FF00Уровень акка:|r ", 135 | ["ma_TicketsInfoLastIP"] = "|cFF00FF00Последний IP:|r ", 136 | ["ma_TicketsInfoPlayedTime"] = "|cFF00FF00Время в игре:|r ", 137 | ["ma_TicketsInfoLevel"] = "|cFF00FF00Уровень:|r ", 138 | ["ma_TicketsInfoMoney"] = "|cFF00FF00Денег:|r ", 139 | ["ma_TicketsInfoLatency"] = "|cFF00FF00Пинг:|r ", 140 | ["ma_TicketsNoInfo"] = "Нет информации", 141 | ["ma_TicketsNotLoaded"] = "Нет инфы по тикету...", 142 | ["ma_TicketsNoTickets"] = "Нет тикетов!", 143 | ["ma_TicketTicketLoaded"] = "|cFF00FF00Загрузка тикета:|r %s\n\nИнфа чара\n\n", 144 | ["ma_FavAdd"] = "В избранное", 145 | ["ma_FavRemove"] = "Удалить", 146 | ["ma_SelectAllButton"] = "Выбрать всё", 147 | ["ma_DeselectAllButton"] = "Отменить всё", 148 | ["ma_MailBytesLeft"] = "Байт осталось: ", 149 | ["ma_WeatherFine"] = "Хорошая", 150 | ["ma_WeatherFog"] = "Туманно", 151 | ["ma_WeatherRain"] = "Дождь", 152 | ["ma_WeatherSnow"] = "Снег", 153 | ["ma_WeatherSand"] = "Печаная", 154 | ["ma_LevelUp"] = "Поднять уровень", 155 | ["ma_LevelDown"] = "Опустить уровень", 156 | ["ma_Money"] = "Деньги", 157 | ["ma_Energy"] = "Энергия", 158 | ["ma_Rage"] = "Ярость", 159 | ["ma_Mana"] = "Мана", 160 | ["ma_Healthpoints"] = "Здоровье", 161 | ["ma_Talents"] = "Таланты", 162 | ["ma_Stats"] = "Статы", 163 | ["ma_Spells"] = "Спеллы", 164 | ["ma_Honor"] = "Честь", 165 | ["ma_Level"] = "Уровень", 166 | ["ma_AllLang"] = "Все языки", 167 | -- languages 168 | ["Common"] = "Общий", 169 | ["Orcish"] = "Орочий", 170 | ["Taurahe"] = "Таурий", 171 | ["Darnassian"] = "Дарнассийский", 172 | ["Dwarvish"] = "Карликовый", 173 | ["Thalassian"] = "Талассийский", 174 | ["Demonic"] = "Демонический", 175 | ["Draconic"] = "Драконий", 176 | ["Titan"] = "Титановый", 177 | ["Kalimag"] = "Калимагский", 178 | ["Gnomish"] = "Гномий", 179 | ["Troll"] = "Троллий", 180 | ["Gutterspeak"] = "Gutterspeak", 181 | ["Draenei"] = "Дренейский", 182 | ["ma_NoFavorites"] = "В избранном ничего нет!", 183 | ["ma_NoZones"] = "Сектор не найден!", 184 | ["ma_NoSubZones"] = "Нет под-сектора!", 185 | ["favoriteResults"] = "|cFF00FF00Избранные:|r ", 186 | ["Zone"] = "|cFF00FF00Сектор:|r ", 187 | ["tt_DisplayAccountLevel"] = "Показать твой уровень чара", 188 | ["tt_TicketOn"] = "Сообщать о новых тикетах.", 189 | ["tt_TicketOff"] = "Не сообщать о новых тикетах.", 190 | ["info_revision"] = "|cFF00FF00Версия МАНГОСА:|r ", 191 | ["info_platform"] = "|cFF00FF00Платформа сервака:|r ", 192 | ["info_online"] = "|cFF00FF00Игроков на линии:|r ", 193 | ["info_maxonline"] = "|cFF00FF00Максимум :|r ", 194 | ["info_uptime"] = "|cFF00FF00Время сервака:|r ", 195 | ["cmd_toggle"] = "Переключить на главное окно", 196 | ["cmd_transparency"] = "Прозрачность (0.5 or 1.0)", 197 | ["cmd_tooltip"] = "Переключить отображение подсказок", 198 | ["tt_SkillButton"] = "Включить функцию поиска скиллов и редактирования избранного.", 199 | ["tt_RotateLeft"] = "Повернуть влево.", 200 | ["tt_RotateRight"] = "Повернуть вправо.", 201 | ["tt_FrmTrSlider"] = "Изменить прозрачность фона.", 202 | ["tt_BtnTrSlider"] = "Изменить прозрачность кнопочек.", 203 | ["ma_SkillButton"] = "Поиск скилла", 204 | ["ma_SkillVar1Button"] = "Скилл", 205 | ["ma_SkillVar2Button"] = "Максимум скилл", 206 | ["tt_DisplayAccountLvl"] = "Отобразить уровень доступа.", 207 | --linkifier 208 | ["lfer_Spawn"] = "Spawn", 209 | ["lfer_List"] = "List", 210 | ["lfer_Reload"] = "Перезагружать", 211 | ["lfer_Goto"] = "Goto", 212 | ["lfer_Move"] = "Move", 213 | ["lfer_Turn"] = "Turn", 214 | ["lfer_Delete"] = "Delete", 215 | ["lfer_Teleport"] = "Teleport", 216 | ["lfer_Morph"] = "Morph", 217 | ["lfer_Add"] = "Add", 218 | ["lfer_Remove"] = "Remove", 219 | ["lfer_Learn"] = "Learn", 220 | ["lfer_Unlearn"] = "Unlearn", 221 | ["lfer_Error"] = "Error Search String Matched but an error occured or unable to find type" 222 | } 223 | end 224 | -------------------------------------------------------------------------------- /Locales/zhCN.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | function Return_zhCN() 22 | return { 23 | ["slashcmds"] = { "/mangadmin", "/ma" }, 24 | ["lang"] = "简体中文", 25 | ["realm"] = "|cFF00FF00国度:|r "..GetCVar("realmName"), 26 | ["char"] = "|cFF00FF00角色:|r "..UnitName("player"), 27 | ["guid"] = "|cFF00FF00角色 GUID:|r ", 28 | ["tickets"] = "|cFF00FF00Tickets:|r ", 29 | ["gridnavigator"] = "提示菜单格", 30 | ["selectionerror1"] = "请选择你自己、其他角色或不选择任何目标!", 31 | ["selectionerror2"] = "请选择你自己或不选择任何目标!", 32 | ["selectionerror3"] = "请选择一个角色(不是你自己)!", 33 | ["selectionerror4"] = "请选择一个NPC!", 34 | ["searchResults"] = "|cFF00FF00搜索结果:|r ", 35 | ["tabmenu_Main"] = "主菜单", 36 | ["tabmenu_Char"] = "角色", 37 | ["tabmenu_Tele"] = "传送", 38 | ["tabmenu_Ticket"] = "求助信息", 39 | ["tabmenu_Misc"] = "杂项", 40 | ["tabmenu_Server"] = "服务器", 41 | ["tabmenu_Log"] = "日志", 42 | ["tt_Default"] = "将鼠标移动到各元素上即可显示提示!", 43 | ["tt_MainButton"] = "单击显示 MangAdmins 主界面.", 44 | ["tt_CharButton"] = "单击显示角色操作窗口.", 45 | ["tt_TeleButton"] = "单击显示传送操作窗口.", 46 | ["tt_TicketButton"] = "单击显示求助信息窗口.", 47 | ["tt_MiscButton"] = "单击显示杂项操作窗口.", 48 | ["tt_ServerButton"] = "单击显示各种服务器信息, 或执行服务器相关的操作.", 49 | ["tt_LogButton"] = "单击显示 MangAdmin 所做的各种操作的记录.", 50 | ["tt_LanguageButton"] = "单击更改界面语言并重新载入 MangAdmin.", 51 | ["tt_GMOnButton"] = "单击激活 GM 模式.", 52 | ["tt_GMOffButton"] = "单击解除 GM 模式.", 53 | ["tt_FlyOnButton"] = "单击激活选定角色的飞行模式.", 54 | ["tt_FlyOffButton"] = "单击解除选定角色的飞行模式.", 55 | ["tt_HoverOnButton"] = "单击激活漂浮模式.", 56 | ["tt_HoverOffButton"] = "单击解除漂浮模式.", 57 | ["tt_WhispOnButton"] = "单击允许来自其他玩家的悄悄话.", 58 | ["tt_WhispOffButton"] = "单击阻止来自其他玩家的悄悄话.", 59 | ["tt_InvisOnButton"] = "单击激活隐身.", 60 | ["tt_InvisOffButton"] = "单击解除隐身.", 61 | ["tt_TaxiOnButton"] = "单击为选定的角色显示所有飞行路线. 登出后将失效.", 62 | ["tt_TaxiOffButton"] = "单击为选定的角色恢复显示已知的飞行路线.", 63 | ["tt_BankButton"] = "单击显示你的银行.", 64 | ["tt_ScreenButton"] = "单击可以抓图.", 65 | ["tt_SpeedSlider"] = "移动滑块来增加或减少选定角色的速度.", 66 | ["tt_ScaleSlider"] = "移动滑块来增加或减少选定角色的大小.", 67 | ["tt_ItemButton"] = "单击切换搜索物品的窗口.", 68 | ["tt_ItemSetButton"] = "单击显示套装物品搜索窗口.", 69 | ["tt_SpellButton"] = "单击切换搜索法术的窗口.", 70 | ["tt_QuestButton"] = "单击显示任务搜索窗口.", 71 | ["tt_CreatureButton"] = "单击显示生物搜索窗口.", 72 | ["tt_ObjectButton"] = "单击显示物体搜索窗口.", 73 | ["tt_SearchDefault"] = "请输入关键字来进行搜索.", 74 | ["tt_AnnounceButton"] = "单击发送一个系统消息.", 75 | ["tt_KickButton"] = "单击将选定的角色强制离线.", 76 | ["tt_ShutdownButton"] = "单击将关闭服务器. 如不输入倒计时时间, 将立刻关闭服务器!", 77 | ["ma_ItemButton"] = "物品搜索", 78 | ["ma_ItemSetButton"] = "套装物品搜索", 79 | ["ma_SpellButton"] = "法术搜索", 80 | ["ma_QuestButton"] = "任务搜索", 81 | ["ma_CreatureButton"] = "生物搜索", 82 | ["ma_ObjectButton"] = "物件搜索", 83 | ["ma_TeleSearchButton"] = "传送点搜索", 84 | ["ma_LanguageButton"] = "更改语言", 85 | ["ma_GMOnButton"] = "GM 模式开启", 86 | ["ma_FlyOnButton"] = "飞行模式开启", 87 | ["ma_HoverOnButton"] = "漂浮模式开启", 88 | ["ma_WhisperOnButton"] = "悄悄话开启", 89 | ["ma_InvisOnButton"] = "隐身模式开启", 90 | ["ma_TaxiOnButton"] = "显示所有飞行点开启", 91 | ["ma_ScreenshotButton"] = "抓图", 92 | ["ma_BankButton"] = "银行", 93 | ["ma_OffButton"] = "关闭", 94 | ["ma_LearnAllButton"] = "所有法术", 95 | ["ma_LearnCraftsButton"] = "所有专业技能和配方", 96 | ["ma_LearnGMButton"] = "默认的 GM 法术", 97 | ["ma_LearnLangButton"] = "所有语言", 98 | ["ma_LearnClassButton"] = "所有本职业法术", 99 | ["ma_SearchButton"] = "搜索...", 100 | ["ma_ResetButton"] = "重置", 101 | ["ma_KickButton"] = "踢出", 102 | ["ma_KillButton"] = "Kill", 103 | ["ma_DismountButton"] = "取消坐骑", 104 | ["ma_ReviveButton"] = "复活", 105 | ["ma_SaveButton"] = "保存", 106 | ["ma_AnnounceButton"] = "公告", 107 | ["ma_ShutdownButton"] = "关闭服务器", 108 | ["ma_ItemVar1Button"] = "数量", 109 | ["ma_ObjectVar1Button"] = "掉落表", 110 | ["ma_ObjectVar2Button"] = "刷新时间", 111 | ["ma_LoadTicketsButton"] = "显示求助信息", 112 | ["ma_GetCharTicketButton"] = "召唤玩家", 113 | ["ma_GoCharTicketButton"] = "传送到玩家", 114 | ["ma_AnswerButton"] = "回答", 115 | ["ma_DeleteButton"] = "删除", 116 | ["ma_TicketCount"] = "|cFF00FF00求助信息:|r ", 117 | ["ma_TicketsNoNew"] = "你没有新的求助信息", 118 | ["ma_TicketsNewNumber"] = "你有|cffeda55f%s|r 新求助信息!", 119 | ["ma_TicketsGoLast"] = "转到最新的求助信息(%s).", 120 | ["ma_TicketsGetLast"] = "打开 %s 求助信息.", 121 | ["ma_IconHint"] = "|cffeda55fClick|r 打开MangAdmin. |cffeda55fShift-Click|r 重新装载用户界面. |cffeda55fAlt-Click|r 重置求助信息计数.", 122 | ["ma_Reload"] = "刷新", 123 | ["ma_LoadMore"] = "装载更多...", 124 | ["ma_MailRecipient"] = "收信箱", 125 | ["ma_Mail"] = "发送一个邮件", 126 | ["ma_Send"] = "发送", 127 | ["ma_MailSubject"] = "题目", 128 | ["ma_MailYourMsg"] = "邮件内容", 129 | ["ma_Online"] = "在线", 130 | ["ma_Offline"] = "离线", 131 | ["ma_TicketsInfoPlayer"] = "|cFF00FF00玩家:|r ", 132 | ["ma_TicketsInfoStatus"] = "|cFF00FF00状态:|r ", 133 | ["ma_TicketsInfoAccount"] = "|cFF00FF00帐号:|r ", 134 | ["ma_TicketsInfoAccLevel"] = "|cFF00FF00帐号等级:|r ", 135 | ["ma_TicketsInfoLastIP"] = "|cFF00FF00Last IP:|r ", 136 | ["ma_TicketsInfoPlayedTime"] = "|cFF00FF00游戏时间:|r ", 137 | ["ma_TicketsInfoLevel"] = "|cFF00FF00等级:|r ", 138 | ["ma_TicketsInfoMoney"] = "|cFF00FF00金钱:|r ", 139 | ["ma_TicketsInfoLatency"] = "|cFF00FF00延迟:|r ", 140 | ["ma_TicketsNoInfo"] = "没有求助信息...", 141 | ["ma_TicketsNotLoaded"] = "没有载入求助信息...", 142 | ["ma_TicketsNoTickets"] = "没有可用的求助信息!", 143 | ["ma_TicketTicketLoaded"] = "|cFF00FF00Loaded 求助信息-Nr:|r %s\n\n玩家信息\n\n", 144 | ["ma_FavAdd"] = "添加选中", 145 | ["ma_FavRemove"] = "删除选中", 146 | ["ma_SelectAllButton"] = "选择全部", 147 | ["ma_DeselectAllButton"] = "删除全部", 148 | ["ma_MailBytesLeft"] = "剩余字数: ", 149 | ["ma_WeatherFine"] = "晴", 150 | ["ma_WeatherFog"] = "雾", 151 | ["ma_WeatherRain"] = "雨", 152 | ["ma_WeatherSnow"] = "雪", 153 | ["ma_WeatherSand"] = "沙尘", 154 | ["ma_LevelUp"] = "升级", 155 | ["ma_LevelDown"] = "降级", 156 | ["ma_Money"] = "金钱", 157 | ["ma_Energy"] = "能量", 158 | ["ma_Rage"] = "怒气", 159 | ["ma_Mana"] = "魔法", 160 | ["ma_Healthpoints"] = "生命", 161 | ["ma_Talents"] = "天赋", 162 | ["ma_Stats"] = "属性", 163 | ["ma_Spells"] = "法术", 164 | ["ma_Honor"] = "荣誉", 165 | ["ma_Level"] = "级别", 166 | ["ma_AllLang"] = "所有语言", 167 | -- languages 168 | ["Common"] = "通用语", 169 | ["Orcish"] = "兽人语", 170 | ["Taurahe"] = "牛头人语", 171 | ["Darnassian"] = "达纳苏斯语", 172 | ["Dwarvish"] = "矮人语", 173 | ["Thalassian"] = "萨拉斯语", 174 | ["Demonic"] = "恶魔语", 175 | ["Draconic"] = "龙语", 176 | ["Titan"] = "泰坦语", 177 | ["Kalimag"] = "古代语", 178 | ["Gnomish"] = "侏儒语", 179 | ["Troll"] = "巨魔语", 180 | ["Gutterspeak"] = "亡灵语", 181 | ["Draenei"] = "德莱尼语", 182 | ["ma_NoFavorites"] = "当前没有保存定制!", 183 | ["ma_NoZones"] = "没有区域!", 184 | ["ma_NoSubZones"] = "没有子区域!", 185 | ["favoriteResults"] = "|cFF00FF00定制:|r ", 186 | ["Zone"] = "|cFF00FF00区域:|r ", 187 | ["tt_DisplayAccountLevel"] = "显示你的帐号等级", 188 | ["tt_TicketOn"] = "提示新求助信息.", 189 | ["tt_TicketOff"] = "不提示新求助信息.", 190 | ["info_revision"] = "|cFF00FF00MaNGOS版本:|r ", 191 | ["info_platform"] = "|cFF00FF00服务器平台:|r ", 192 | ["info_online"] = "|cFF00FF00玩家在线:|r ", 193 | ["info_maxonline"] = "|cFF00FF00最大在线:|r ", 194 | ["info_uptime"] = "|cFF00FF00在线时间:|r ", 195 | ["cmd_toggle"] = "固定主窗口", 196 | ["cmd_transparency"] = "固定基础透明度(0.5 或 1.0)", 197 | ["cmd_tooltip"] = "固定工具栏按钮", 198 | ["tt_SkillButton"] = "固定弹出技能搜索窗口.", 199 | ["tt_RotateLeft"] = "向左旋转.", 200 | ["tt_RotateRight"] = "向右旋转.", 201 | ["tt_FrmTrSlider"] = "更改框架透明度.", 202 | ["tt_BtnTrSlider"] = "更改按钮透明度.", 203 | ["ma_SkillButton"] = "技能搜索", 204 | ["ma_SkillVar1Button"] = "技能", 205 | ["ma_SkillVar2Button"] = "最大技能", 206 | ["tt_DisplayAccountLvl"] = "显示你的帐号等级。", 207 | --linkifier 208 | ["lfer_Spawn"] = "Spawn", 209 | ["lfer_List"] = "List", 210 | ["lfer_Reload"] = "刷新", 211 | ["lfer_Goto"] = "Goto", 212 | ["lfer_Move"] = "Move", 213 | ["lfer_Turn"] = "Turn", 214 | ["lfer_Delete"] = "Delete", 215 | ["lfer_Teleport"] = "Teleport", 216 | ["lfer_Morph"] = "Morph", 217 | ["lfer_Add"] = "Add", 218 | ["lfer_Remove"] = "Remove", 219 | ["lfer_Learn"] = "Learn", 220 | ["lfer_Unlearn"] = "Unlearn", 221 | ["lfer_Error"] = "Error Search String Matched but an error occured or unable to find type" 222 | } 223 | end 224 | -------------------------------------------------------------------------------- /MangFrames.lua: -------------------------------------------------------------------------------- 1 | ------------------------------------------------------------------------------------------------------------- 2 | -- 3 | -- TrinityAdmin Version 3.x 4 | -- TrinityAdmin is a derivative of MangAdmin. 5 | -- 6 | -- Copyright (C) 2007 Free Software Foundation, Inc. 7 | -- License GPLv3+: GNU GPL version 3 or later 8 | -- This is free software: you are free to change and redistribute it. 9 | -- There is NO WARRANTY, to the extent permitted by law. 10 | -- 11 | -- You should have received a copy of the GNU General Public License 12 | -- along with this program; if not, write to the Free Software 13 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 14 | -- 15 | -- Official Forums: http://groups.google.com/group/trinityadmin 16 | -- GoogleCode Website: http://code.google.com/p/trinityadmin/ 17 | -- Subversion Repository: http://trinityadmin.googlecode.com/svn/ 18 | -- Dev Blog: http://trinityadmin.blogspot.com/ 19 | ------------------------------------------------------------------------------------------------------------- 20 | 21 | -- Initializing dynamic frames with LUA and FrameLib 22 | -- This script must be listed in the .toc after all other Frames/MangFrames files!!! 23 | -- Also some variables are globally taken from MangAdmin.lua 24 | 25 | function MangAdmin:CreateFrames() 26 | -- These need to be called in TOC order 27 | self:CreateStartFrames() 28 | self:CreateTabs() 29 | self:CreateMiniMenu() 30 | self:CreateLookupButtons() 31 | self:CreatePopupFrames() 32 | self:CreateSmallPopupFrames() 33 | self:CreateMainSection() 34 | self:CreateTeleSection() 35 | self:CreateLogSection() 36 | self:CreateCharSection() 37 | self:CreateChar2Section() 38 | self:CreateTicketSection() 39 | self:CreateMiscSection() 40 | self:CreateServerSection() 41 | self:CreateNpcSection() 42 | self:CreateNpc2Section() 43 | self:CreateGOSection() 44 | self:CreatePvPSection() 45 | self:CreateEventSection() 46 | self:CreateRPGSection() 47 | self:CreateVendorSection() 48 | self:CreateAhbotSection() 49 | self:CreateWhoSection() 50 | 51 | 52 | --FrameLib:HandleGroup("bg", function(frame) frame:Hide() end) 53 | --FrameLib:HandleGroup("main", function(frame) frame:Hide() end) 54 | FrameLib:HandleGroup("char", function(frame) frame:Hide() end) 55 | FrameLib:HandleGroup("char2", function(frame) frame:Hide() end) 56 | FrameLib:HandleGroup("ticket", function(frame) frame:Hide() end) 57 | FrameLib:HandleGroup("server", function(frame) frame:Hide() end) 58 | FrameLib:HandleGroup("npc", function(frame) frame:Hide() end) 59 | FrameLib:HandleGroup("npc2", function(frame) frame:Hide() end) 60 | FrameLib:HandleGroup("go", function(frame) frame:Hide() end) 61 | FrameLib:HandleGroup("tele", function(frame) frame:Hide() end) 62 | FrameLib:HandleGroup("log", function(frame) frame:Hide() end) 63 | FrameLib:HandleGroup("misc", function(frame) frame:Hide() end) 64 | FrameLib:HandleGroup("popup", function(frame) frame:Hide() end) 65 | FrameLib:HandleGroup("popup2", function(frame) frame:Hide() end) 66 | FrameLib:HandleGroup("pvp", function(frame) frame:Hide() end) 67 | FrameLib:HandleGroup("event", function(frame) frame:Hide() end) 68 | FrameLib:HandleGroup("rpg", function(frame) frame:Hide() end) 69 | FrameLib:HandleGroup("vendor", function(frame) frame:Hide() end) 70 | FrameLib:HandleGroup("ahbot", function(frame) frame:Hide() end) 71 | FrameLib:HandleGroup("who", function(frame) frame:Hide() end) 72 | ma_mm_revivebutton:Hide() 73 | end 74 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | trinityadmin 2 | ============ 3 | 4 | Trinity Admin v2 is a general interface add-on which will help staff member ingame for trinity core. 5 | -------------------------------------------------------------------------------- /README.txt: -------------------------------------------------------------------------------- 1 | ***************************************************************************** 2 | TRINITYADMIN WILL NOT WORK IF YOU DONT FOLLOW THESE INSTRUCTIONS 3 | ***************************************************************************** 4 | ***************************************************************************** 5 | TRINITYADMIN WILL NOT WORK IF YOU DONT FOLLOW THESE INSTRUCTIONS 6 | ***************************************************************************** 7 | ***************************************************************************** 8 | TRINITYADMIN WILL NOT WORK IF YOU DONT FOLLOW THESE INSTRUCTIONS 9 | ***************************************************************************** 10 | 11 | READ THIS BEFORE YOU TRY TO USE TRINITYADMIN 12 | 13 | This new version of TrinityAdmin contains many changes over previous versions. 14 | As such, the proper installation of TrinityAdmin is no longer as simple as it once was. 15 | Please follow the steps below to ensure you can enjoy the full benefits of TrinityAdmin 16 | 17 | TrinityAdmin supports client versions 3.x only. It does not 18 | officially support 1.x or 2.x installs, nor does it fully support 4.x. 19 | 20 | TrinityAdmin supports Trinity Core servers ONLY. It will not work with MaNGOS, Arc, 21 | Ascent, Hearthstone, or any other emu. 22 | 23 | 24 | ***************************************************************************** 25 | TRINITYADMIN WILL NOT WORK IF YOU DONT FOLLOW THESE INSTRUCTIONS 26 | ***************************************************************************** 27 | ***************************************************************************** 28 | TRINITYADMIN WILL NOT WORK IF YOU DONT FOLLOW THESE INSTRUCTIONS 29 | ***************************************************************************** 30 | ***************************************************************************** 31 | TRINITYADMIN WILL NOT WORK IF YOU DONT FOLLOW THESE INSTRUCTIONS 32 | ***************************************************************************** 33 | ***************************************************************************** 34 | TRINITYADMIN WILL NOT WORK IF YOU DONT FOLLOW THESE INSTRUCTIONS 35 | ***************************************************************************** 36 | ***************************************************************************** 37 | TRINITYADMIN WILL NOT WORK IF YOU DONT FOLLOW THESE INSTRUCTIONS 38 | ***************************************************************************** 39 | ***************************************************************************** 40 | TRINITYADMIN WILL NOT WORK IF YOU DONT FOLLOW THESE INSTRUCTIONS 41 | ***************************************************************************** 42 | INSTALLATION 43 | 1. You should have unpacked the install archive into your Addons folder (i.e the 44 | TrinityAdmin folder is in the Addons folder). 45 | 2. ON THE SERVER -> You may wish to review the security level requirements for certain GM commands. For example, the 46 | .account onlinelist by default needs a level 4. If your GMs dont have level 4, they wont be able to use the WHO tab. 47 | 3. Click the TA icon on the minimap frame. Do NOT open TrinityAdmin any other way just yet. 48 | 4. Click the Tickets tab. If you receive and error, DO NOT close it, just click the Tickets tab again. 49 | 5. Click the Change Language button to reload the addon. 50 | 6. Click the TA icon on the minimap frame. Do NOT open TrinityAdmin any other way just yet. 51 | 7. Click the Who tab. If you receive and error, DO NOT close it, just click the Who tab again. 52 | 8. Click the Change Language button to reload the addon. 53 | (these steps are required on some locales in order to properly create the new local tables that the addon uses 54 | to store tickets and 'who' information' 55 | -------------------------------------------------------------------------------- /Sound/mail.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Sound/mail.wav -------------------------------------------------------------------------------- /Textures/icon.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Textures/icon.tga -------------------------------------------------------------------------------- /Textures/icon2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Textures/icon2.png -------------------------------------------------------------------------------- /Textures/icon2.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Textures/icon2.tga -------------------------------------------------------------------------------- /Textures/logo - Copy.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Textures/logo - Copy.tga -------------------------------------------------------------------------------- /Textures/logo.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Textures/logo.bmp -------------------------------------------------------------------------------- /Textures/logo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Textures/logo.gif -------------------------------------------------------------------------------- /Textures/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Textures/logo.png -------------------------------------------------------------------------------- /Textures/logo.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Textures/logo.tga -------------------------------------------------------------------------------- /Textures/logo.tga__: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Textures/logo.tga__ -------------------------------------------------------------------------------- /Textures/logo_old.tga: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NixAJ/trinityadmin/96ab6d0ac062cdfc7f62cc5fa6ee118b87e1779e/Textures/logo_old.tga -------------------------------------------------------------------------------- /TrinityAdmin.toc: -------------------------------------------------------------------------------- 1 | ## Interface: 30300 2 | ## Title: TrinityAdmin 3 | ## Author: TrinityAdmin Dev team + Manground Dev Team 4 | ## Version: 3.3.5a 5 | ## Notes: This addon only works with Trinity and UltraCore Servers and 3.3.5a clients. Derived from MangAdmin. May or may not work with Mangos. 6 | ## URL: http://code.google.com/p/trinityadmin/ 7 | ## Name: TrinityAdmin 8 | ## License: GPLv3 9 | ## X-Date: 10 August 2010 10 | ## X-eMail: 11 | ## X-Website: http://code.google.com/p/trinityadmin/ 12 | ## OptionalDeps: AceLibrary,AceEvent-2.0,AceHook-2.1,AceDebug-2.0,AceLocale-2.2,AceConsole-2.0,AceAddon-2.0 13 | ## DefaultState: Enabled 14 | ## LoadOnDemand: 0 15 | ## SavedVariables: MangAdminDb 16 | ## SavedVariablesPerCharacter: MangAdminDbPerChar 17 | Libraries\AceLibrary\AceLibrary.lua 18 | Libraries\AceOO-2.0\AceOO-2.0.lua 19 | Libraries\AceEvent-2.0\AceEvent-2.0.lua 20 | Libraries\AceHook-2.1\AceHook-2.1.lua 21 | Libraries\AceDB-2.0\AceDB-2.0.lua 22 | Libraries\AceDebug-2.0\AceDebug-2.0.lua 23 | Libraries\AceLocale-2.2\AceLocale-2.2.lua 24 | Libraries\AceConsole-2.0\AceConsole-2.0.lua 25 | Libraries\AceAddon-2.0\AceAddon-2.0.lua 26 | Libraries\Tablet-2.0\Tablet-2.0.lua 27 | Libraries\DewDrop-2.0\DewDrop-2.0.lua 28 | Libraries\FrameLib-1.0\FrameLib-1.0.lua 29 | Libraries\FuBarPlugin-2.0\FuBarPlugin-2.0.lua 30 | Libraries\Graph-1.0\Graph-1.0.lua 31 | Locales\enUS.lua 32 | Locales\deDE.lua 33 | Locales\frFR.lua 34 | Locales\fiFI.lua 35 | Locales\plPL.lua 36 | Locales\svSV.lua 37 | Locales\itIT.lua 38 | Locales\liLI.lua 39 | Locales\roRO.lua 40 | Locales\csCZ.lua 41 | Locales\huHU.lua 42 | Locales\esES.lua 43 | Locales\zhCN.lua 44 | Locales\ptPT.lua 45 | Locales\ptBR.lua 46 | Locales\ruRU.lua 47 | Locales\nlNL.lua 48 | Locales\buBU.lua 49 | Locales\strings.lua 50 | models.lua 51 | Commands\Commands_Main.lua 52 | Commands\Commands_Tele.lua 53 | Commands\Commands_Log.lua 54 | Commands\Commands_Char.lua 55 | Commands\Commands_Char2.lua 56 | Commands\Commands_Ticket.lua 57 | Commands\Commands_Misc.lua 58 | Commands\Commands_Server.lua 59 | Commands\Commands_NPC.lua 60 | Commands\Commands_NPC2.lua 61 | Commands\Commands_GO.lua 62 | Commands\Commands_PvP.lua 63 | Commands\Commands_Event.lua 64 | Commands\Commands_RPG.lua 65 | Commands\Commands_Vendor.lua 66 | Commands\Commands_Ahbot.lua 67 | Commands\Commands_Who.lua 68 | dbc.lua 69 | TeleportTable.lua 70 | FunctionInit.lua 71 | TrinityAdmin.lua 72 | MangLinkifier.lua 73 | Frames\MangFrames_Start.lua 74 | Frames\MangFrames_Tabs.lua 75 | Frames\MangFrames_MiniMenu.lua 76 | Frames\MangFrames_LookupButtons.lua 77 | Frames\MangFrames_PopupFrames.lua 78 | Frames\MangFrames_SmallPopupFrames.lua 79 | Frames\MangFrames_SectionMain.lua 80 | Frames\MangFrames_SectionTele.lua 81 | Frames\MangFrames_SectionLog.lua 82 | Frames\MangFrames_SectionChar.lua 83 | Frames\MangFrames_SectionChar2.lua 84 | Frames\MangFrames_SectionTicket.lua 85 | Frames\MangFrames_SectionMisc.lua 86 | Frames\MangFrames_SectionServer.lua 87 | Frames\MangFrames_SectionNpc.lua 88 | Frames\MangFrames_SectionNpc2.lua 89 | Frames\MangFrames_SectionGO.lua 90 | Frames\MangFrames_SectionPvP.lua 91 | Frames\MangFrames_SectionEvent.lua 92 | Frames\MangFrames_SectionRPG.lua 93 | Frames\MangFrames_SectionVendor.lua 94 | Frames\MangFrames_SectionAhbot.lua 95 | Frames\MangFrames_SectionWho.lua 96 | MangFrames.lua 97 | -------------------------------------------------------------------------------- /changelog.txt: -------------------------------------------------------------------------------- 1 | TrinityAdmin Changelog 2 | 3 | -=[ Revision 45 - 1/18/2012]=- 4 | - Added "Reload" Linkifier button to the output of ".npc info" to reload the creature_template 5 | 6 | -=[ Revision 44 - 1/15/2011]=- 7 | - Forgot to update internal revision string, fixed 8 | 9 | -=[ Revision 43 - 1/15/2011]=- 10 | Touchups to r42 changes. Changed "Spawn on Move" to "Add on Move", then added "Move on Move" so you 11 | can "move" gobs finely (it actually deletes and recreates the gob to get around the .gob move bug) 12 | 13 | -=[ Revision 42 - 1/15/2011]=- 14 | - Major changes to GOB tab: 15 | - ADD Model viewer to see targeted model with rotate/zoom 16 | - ADD Move/spawn system for builders 17 | - ADD detailed gobject info displayed when you click OBJTarget 18 | - New file added, models.lua. Please close WoW and restart to load new file. 19 | Note: Displaying gobject models was NOT a straightforward thing. The Model widget is capable, if 20 | passed the path (in the MPQs) to the model. We get this path from the GameObjectDisplayInfo.dbc 21 | file. I created the models.lua file as a crossreference between DisplayID (of a gobject) and the 22 | path (in the MPQs) where the model is... and this models.lua file is ginormous (I have 45,621 model 23 | paths in this file). As a result, TrinityAdmin now takes up a tad over 8Mb of RAM. If this is unacceptable 24 | for you, open models.lua and delete all but the first line. You might get an occaisional error, but you 25 | can ignore them. Credits: I swiped most of the Spawn/Move code and some of the gobject model view code 26 | from an addon called Glitchy's Object Playground. Glitchy wrote OP for ArcEmu, and released it on MMOwned 27 | a long time ago. I updated and converted pieces of his code to make this work. Props to Glitchy. 28 | Note2: The Gob info boxes can become messy due to a race condition. Since WoW LUA has no Sleep() function, 29 | I cannot prevent this. Click the Obj Target button to reset the info boxes. 30 | 31 | 32 | -=[ Revision 41 - 1/10/2011]=- 33 | - ADD new NPC2 tab - Please close WoW and restart to load new files!!! 34 | - Moved all NPC Waypoint/movement related buttons to NPC2 35 | - Fixed MvRandom, NPCStay, NPCStayDEl, and MvWaypt buttons 36 | - ADD .reset all spells, all talents, and achievements to Reset subroutine 37 | - ADD .combatstop, .maxskill, .freeze, .unfreeze, .listfreeze, .possess, .unpossess to CHAR tab 38 | - ADD .possess and .unpossess to NPC tab 39 | - ADD .recall and .repairitems to CHAR tab 40 | 41 | 42 | -=[ Revision 40 - 1/8/2011]=- 43 | - ADD .cometome command to NPC tab 44 | - Added enUS locale for above 45 | 46 | -=[ Revision 39 - 1/8/2011]=- 47 | - ADD .bindsight to NPC tab 48 | - ADD .unbindsight to NPC tab. Note: this command is broken in core on my core revision. 49 | - ADD .bindsight to CHAR tab 50 | - ADD .unbindsight to CHAR tab. Note: this command is broken in core on my core revision. 51 | - ADD .char rename, customize, changerace, and changefaction to CHAR tab 52 | - ADD enUS locale for the above items 53 | 54 | -=[ Revision 38 - 1/8/2011]=- 55 | - Misc code formatting cleanup 56 | - ADD aspeed, arena, bwalk, drunk, fly, gender, honor, mount, phase, runicpower, speed, standstate, swim, and tp to Modify 57 | - Updated enUS locale for above adds 58 | - Rearranged GOB tab, added labels. Preparing to add more content here. 59 | - ADD .gob activate, add temp, info, phase to GOB tab 60 | - updated enUS locale for above adds 61 | - ADD/MOD added missing tables to Reload. Removed individual tables that are reloaded with an all_xxxx command... 62 | so now the list fits the screen, but you may have to choose an all_xxxx command to reload the table you want. 63 | 64 | -=[ Revision 37 - 1/4/2011]=- 65 | - Wiki changes 66 | 67 | -=[ Revision 36 - 1/4/2011]=- 68 | - You'd think after years of programming experience, I'd not get in this sort of mess. Like letting my code on two 69 | different machines get out of sync. Like trying to commit with conflicts o' plenty. Fixed. Ignore r25-r35. 70 | 71 | -=[ Revision 24 - 1/4/2011]=- 72 | - Merry (Belated) Christmas! 73 | - Numerous bugs fixed from issue tracker 74 | - New camera functions and rearrangement of model frame on Char and NPC tabs 75 | - Speed and Scale sliders now have Reset buttons 76 | - Tweak to DisplayID browser 77 | - Found some more .namego and .goname, changed to .appear and .summon 78 | 79 | -=[ Revision 23 - 12/12/2010]=- 80 | - ADD NPC DisplayID broser 81 | 82 | -=[ Revision 22 - 9/6/2010]=- 83 | - FIX version string 84 | 85 | -=[ Revision 21 - 9/6/2010]=- 86 | - FIX for new .summon, .appear, .groupsummon commands 87 | 88 | -=[ Revision 20 - 8/10/2010]=- 89 | - FIX Whisper issues with 3.3.5a client 90 | - MOD Revive button on Char tab is now always available 91 | - FIX Server Info spamming when Show Chat Output is ON. 92 | 93 | 94 | -=[ Revision 19 - 4/13/2010]=- 95 | - FIX issue 36 WHO tab overlap 96 | - FIX issue 35 TICKET - Online list not working 97 | - FIX issue with Nil object error in tele scrolling on startup 98 | - FIX Ticket scrolling issue reported by Kitharo 99 | - ADD MISC tab, checkbox for Chat Output. When off (default), TrinityAdmin does not display output of most 100 | commands in chat window (for example, .server info) but does display the results in the appropriate part 101 | of TrinityAdmin. When ON, both TrinityAdmin native AND chatwindow outputs are displayed. 102 | - ADD MISC tab, an editbox to specify how often the Diff graph (on Server tab) is updated. 4000 (~1 minute) is default. 103 | - It is reported that r19 with Chat Output ON allows all the chat window clickable links to work properly. Please verify. 104 | - It is also reported that deDe clients with deDe selected in TrintiyAdmin and deDe selected in Core is now working properly. 105 | 106 | 107 | -=[ Revision 18 - 4/7/2010]=- 108 | Note: This version is compatible with TC2 revision 7757+ 109 | - FIX: WHO tab functioning with new entries in Trinity_String (MANY thanks to TC Devs for the changes!!!) 110 | - ADD: Map-Zone to WHO tab. Note: this is NOT realtime since it pulls from the database after save 111 | - Fix: PairsbyKeys startup error 112 | - Fix: Tickets Online functions 113 | - MOD: Removed IP address from the list on Who tab. IP is still in details. 114 | - MOD: In Item search frame, click= add item to target inventory, right-click= list item. Changed this to: click=add, r-click=remove. Multiple amounts work for removing too, can enter either a positive or negative munber to be removed. 115 | - FIX: Server info no longer spamming chat window 116 | 117 | -=[ Revision 17 - 3/4/2010 ]=- 118 | - ADD: deDE localisation 119 | 120 | -=[ Revision 16 - 2/26/2010 ]=- 121 | - UPDATE: svSV locale updated 122 | - UPDATE: Close Mail popup when send button clicked - Thanks, Shocker! 123 | - ADD: Ticket tab, new button to view tickets of online players only (.ticket onlinelist) Thanks, Shocker! 124 | - UPDATE: Change minimapicon when a new ticket is received. Now more obvious and with a 'T'. Thanks, Kitharo! Issue #25 closed 125 | - UPDATE: Moved Tele Add and Tele Del buttons to GM tab, rather than Char2 tab. 126 | - ADD: On WHO tab: .char customize, .char delete, .char rename, .ban (1 day), .ban (perm), Jail (Alliance), Jail(Horde), UnJail 127 | 128 | 129 | -=[ Revision 15 - 2/25/2010 ]=- 130 | - FIX: Issue #23 Ticket list not clearing when last ticket closed 131 | - FIX: Issue #24 Tickets with IDs containing '00' not displaying - ta.sql MUST be reapplied 132 | - The above two issues found and fixed by Shocker. Thanks m8! 133 | 134 | -=[ Revision 14 - 2/24/2010 ]=- 135 | - Fixed internal revision number, forgotten at last commit. 136 | 137 | -=[ Revision 13 - 2/24/2010 ]=- 138 | This is a major release, incorporating many, mnay fixes along with 139 | some major new features (Tickets, Who). This release would NOT have 140 | happened without the generous and patient assistance of Kitharo (from 141 | Land of Legends). All of us owe Kitharo a great debt for testing TrinityAdmin 142 | on one of the world's largest servers and providing detailed feedback 143 | so that I could make Tickets work again. Thank you, my friend! 144 | 145 | - Added 'GM Chat' command to GM tab 146 | - Added Waterwalk command to GM tab 147 | - Added acccount lock/unlock command to GM tab 148 | - Added PvP tab 149 | - Modified sizes of tabs 150 | - Added Event tab 151 | - Added RPG tab 152 | - Added Vendor tab 153 | - Added AhBot tab 154 | - Added Who tab 155 | - Mail error fixed. Note you still cant send big messages.. 230 apprx charatcers is the server limit 156 | - TICKET TAB NOW FULLY FUNCTIONAL 157 | - Update frequency of the Udate Diff graph changed to approx 1 minute 158 | - Server info auto refreshes every 1 minute 159 | - Added complete WHO system on WHO tab: see who is online, click for detailed info 160 | - Integrated MUCh more complete teleport table from old MangAdmin (thanks, Gimp & Pryd!!!) 161 | - Updated localisation for enUS, frFR, svSV 162 | - Localisation for csCZ, deDE, plPL, huHU, itIT, ptPT, ruRU are in-progress 163 | - Removed support for fiFI, liLI, zhCN, nlNL languages until translators can be found 164 | - Added .gm ingame, .gm list, and .pet create 165 | - Added .pet learn, .pet unlearn, .pet tp 166 | - Added .lookup taxinode, .go taxinode 167 | - Added .go trigger 168 | - Added .cast, .cast back, .cast dist, .cast self, .cast target 169 | - added .list item 170 | - Added .account create, .account delete, .account set addon, .account set gmlevel, .account set password 171 | - added .gmnotify 172 | - Logo updated (Thanks Lyrr123!!!) 173 | 174 | Locale Team: 175 | Supported Locales & translator: 176 | enUS: iotech 177 | frFR: Namida 178 | svSV: Lyrr123 179 | ptPT: Morpheux 180 | ptBR: Morpheux 181 | 182 | Locales in-progress: 183 | csCZ: Ravenheart 184 | huHU: Gimp 185 | itIT: dracula70 186 | ruRU: mrlakec 187 | deDE: Amok 188 | roRO: borgotech 189 | esES: Georgios 190 | 191 | Unsupported Locales: (Can you read/write/speak one of these languages as well as English? Want to join the project?) 192 | bgBG: 193 | fiFI: 194 | liLI: 195 | zhCN: 196 | nlNL: 197 | plPL: 198 | 199 | --------------------------------------------------------------------------------