Kết quả 1 đến 3 của 3
Chủ đề: DDTank Admin Tools
-
23-05-15, 10:01 AM #1
- Ngày tham gia
- Mar 2015
- Bài viết
- 14
- Thanks
- 2
- Thanked 40 Times in 5 Posts
DDTank Admin Tools
About
The DDtank Admin Tools is a program in which the own administrator can add, change and remove tools.
Because making an application with few tools? Simple, I want to move the area, give a reason for active users help each other.
How? Posting your tools in the area, so everyone can have access to new tools.
How it works
The moment you start the application, it will compile all tools (including scripts and their libraries).
For forms, you can make buttons, text boxes and all controls possible for Windows Forms, but can also use the ControlHelper class, which with ParseXML function, will create all controls to their properties (more details in the tutorial).
Tutorial for developers
To create a tool, you first need to use a basic code (which I will post below downloads), which is absolutely necessary for the correct functioning of the application (it is highly recommended that you have the minimum knowledge of programming, and in .NET or not) .
That done, you will have 3 functions:
GetName - This method is required for the application to control the script, including the title of the tool.
Setup - Method responsible for initializing the tool, which should be all initialization code (what is necessary, Example: SqlConnection or ControlHelper.ParseXML).
DrawPanel - Method responsible for passing all the tool controls in the same panel. In this method should have all events such as... Click, Changed, DragDrop, etc..
Having this knowledge, your tool is ready for use, if no errors.
If you have more than one tool, but need to use the same code in both, know that a tool does not "connect" to another, for that, you have to create a script in the folder
Library, where will all the codes included in the compilation of each tool.
Example
Code:ControlHelper.ParseXML(this, "./Designers/XMLTool.Designer.xml"); //Responsible for interpreting an XML file and its controls, you can see the file in the Designers folder if download DDTank Admin Tools. Returns a logical value, true if the XML is correct and false case can not be interpreted. this.GetDesigner().GetControlByName<Button>("btnCompress"); //If you use the method above, you need this method to "pull" a specific control of your designer, remembering to change the type (Button) and the control name. this.GetDesigner().DrawAllControls(this.GetOwner()); //In DrawPanel method, you need this method to pass all XML controls to your dashboard this.GetOwner(); //If you need to change something in the tool panel, this function will return the same.
Code:<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <root> <Requires> <Reference Type="ListView" Name="System.Windows.Forms.ListView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> </Requires> <Controls> <ListView Name="lvInformation" Dock="Fill" GridLines="true" View="Details" FullRowSelect="true" /> </Controls> </root>
Code:using System; using DAT.Info; using DAT.Manager; using System.Windows.Forms; using System.Drawing; using System.Reflection; using System.Diagnostics; public class Principal : Tool { public override string GetName() { return "Principal"; } public override bool PrioritizePage() { return true; } public override bool Setup() { if(!ControlHelper.ParseXML(this, "./Designers/Principal.Designer.xml")) return false; else return true; } public override void DrawPanel() { this.GetDesigner().DrawAllControls(this.GetOwner()); ListView lvInformation = this.GetDesigner().GetControlByName<ListView>("lvInformation"); ColumnHeader hName = lvInformation.Columns.Add("Nome"); hName.Width = 200; ColumnHeader hValue = lvInformation.Columns.Add("Valor"); hValue.Width = 350; Assembly assembly = Assembly.GetEntryAssembly(); string version = string.Join(".", assembly.GetName().Version.Revision.ToString().ToCharArray()); ListViewItem VersionItem = lvInformation.Items.Add("Versão"); VersionItem.SubItems.Add(version); ListViewItem ToolsItem = lvInformation.Items.Add("Ferramentas carregadas"); ToolsItem.SubItems.Add(ScriptManager.GetCompiledToolsCount().ToString()); ListViewItem DesignersItem = lvInformation.Items.Add("Designers carregados"); DesignersItem.SubItems.Add(ControlHelper.GetDesignerCount().ToString()); ListViewItem ScriptWarningItem = lvInformation.Items.Add("Avisos de compilação"); ScriptWarningItem.SubItems.Add(ScriptManager.GetWarningCount().ToString()); } }
Download and scans at annex
RAR Password: www (dot) ragezone (dot) com (dot) br
Requirements
.NET Framework 4 Client Profile - [Only registered and activated users can see links. ]
DAT.info.dll e DAT.Manager.dll - Two libraries that go along application, totally necessary for the implementation of the program and the scripts.
Warnings
Because it is a program that accepts codes, some users in bad faith can create tools with backdoors (code that can take advantage of the user's computer), viruses or other. So do not accept any encrypted code, always try to verify a script before running it.
I am not responsible for damage caused to third party scripts, remember that full responsibility for the use of this application is yours.
The application contains three tools created by me, one being the Principal, who will show application data, the MD5 Tool that generates the md5.xml file and the XML Tool, which compresses and decompresses .xml files of Request. Any developer is free to edit and enhance these codes.
The application also contains 3 pre-programmed libraries, GZip Library, Stream Library and Library checksum, which are required for 3 of the two scripts mentioned above.
For each control in the XML designer, you need to add it in the Requires node, using a name given by you and the assembly qualified name.
Request
I made this application to run external tools with a single goal: to help the area to help.
What is this? Simple: with the application, there are three tools that can be used as examples for new tools developed by users of the area.
My request is simple: for all they are developing, to post your scripts here in the area, so moving and helping users to improve their knowledge and thus the whole area is helping.
Credits
tDarkFall - For creating the tool and the necessary codes for the same.
pho3nix(StackOverflow) - By the method ReadToEnd.
Skelleton - The tip of the tools, and the files used in the test.
This topic is open for questions, mistakes and criticism.
I humbly ask you do not remove the credits, or try to sell.
Sorry for my bad English, I need to use Google Translate for my post in Portuguese is translated.
br
Code:DDTank Admin Tools - Um aplicativo de ferramentas para DDTank Link: https://mega.co.nz/#!oxlB2TZJ!4L3PXiDkL3cnkDUAF3tc8HFE3KIpAKCllYTLHn2blUU Scans: https://www.virustotal.com/pt/file/1c57c4522ef29859721c1c9c1cb34681f35ba8787a87a0d89b2fba4aca68c747/analysis/1428781026/ https://www.virustotal.com/pt/file/03ac4c5520be42ce893e788b45b6c15258d0e9efec1793f1efd99d0f81472ac3/analysis/1428781161/ https://www.virustotal.com/pt/file/f601546af464f5ac74613b9801a173daa96ca2f93e3c8c77ff7b3a50720eaeb2/analysis/1428781135/ Feito por tDarkFall | RageZoneBR Peço humildemente que não remova os créditos, e nem tente vender.
Khách viếng thăm hãy cùng Skelleton xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
30-05-15, 11:42 AM #2
Ðề: DDTank Admin Tools
**** Tool Tks you
Khách viếng thăm hãy cùng Nhocquytu xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
-
31-10-16, 08:36 AM #3
Ðề: DDTank Admin Tools
Khách viếng thăm hãy cùng vodoipltn xây dựng diễn đàn CLBGAMESVN vững mạnh nhé!
Các Chủ đề tương tự
-
[Gunny] DDtank 3.0 admin panel
Bởi welingtonbr trong diễn đàn ReleasesTrả lời: 6Bài viết cuối: 26-12-14, 11:08 AM -
[MU] Xin tools thông báo admin trong game
Bởi The Gamer trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 2Bài viết cuối: 19-01-13, 10:40 AM -
[Gunny] DDTank - XML Tools (En-De ******r)
Bởi HeavenGames trong diễn đàn ReleasesTrả lời: 12Bài viết cuối: 17-01-13, 09:32 PM -
Xin 1 số Tools GM , Admin để quản lý Server Online + Bộ WEB JX
Bởi azng0cnham trong diễn đàn Hỏi Đáp/ Yêu CầuTrả lời: 5Bài viết cuối: 07-08-11, 02:50 PM