Post Pacific  

Go Back   Post Pacific > Lineage 2 > Lineage 2 Server Modifications ONLY!
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 29.06.2007, 20:05   #1
PyroMaker
Архивный участник
 
Join Date: Nov 2006
Posts: 277
Default [SHARE] Vendetta Manager v1.0 (For RDC)

Hi,

This is a simple application I've made in delphi to connect to servers easily and fast, in one single click. Spares a lot of work if you have to manage many servers at the same time, and always connect on the same session. (Avoiding trouble connecting on wrong sessions on RDC)

I'm going to post a screenshot, the application (works for my servers) and the commented source code + project for fast and easy editing to suit your servers.






Application Download

Source Code Download



Enjoy. And if you're going to use it, don't forget to leave a comment.
PyroMaker is offline  
Old 29.06.2007, 20:18   #2
PyroMaker
Архивный участник
 
Join Date: Nov 2006
Posts: 277
Default

In case you just wanna give a quick look in the code, here it is:

Code:
unit VendettaManager;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, jpeg, Shellapi, ExtCtrls;

type
  TVendettaManagerForm1 = class(TForm)
    Background: TPanel;
    BackgroundImage: TImage;
    // Change the names of the buttons below.
    Vendetta: TButton;
    TestServer: TButton;
    Zion: TButton;
    Exit: TButton;
    procedure ExitClick(Sender: TObject);
    procedure FormCreate(Sender: TObject);
    procedure VendettaClick(Sender: TObject);
    procedure ZionClick(Sender: TObject);
    procedure TestServerClick(Sender: TObject);
  private
    { Private declarations }
  public
    { This is an application I created for my server, it basically
      connects to the server you click at using the command
    mstsc -v:xxx.xxx.xxx.xxx /F -console - Sparing people some work.

                                         PyroMaker.
                                         www.l2-vendetta.com }
  end;

var
  VendettaManagerForm1: TVendettaManagerForm1;
  Command : Array[0..1024] of Char;
  Parms : Array[0..1024] of Char;

implementation

{$R *.dfm}

Procedure ExecuteProgram(Name,Parameters:String);
Begin
StrPCopy(Command,Name);
StrPCopy(Parms,Parameters);
ShellExecute(0,nil,Command,Parms,nil,sw_showmaximized)
; End;

procedure TVendettaManagerForm1.ExitClick(Sender: TObject);
begin
close();
end;

procedure TVendettaManagerForm1.VendettaClick(Sender: TObject);
begin
// -----------------------------------> CHANGE YOUR IP HERE <------------------------------
shellexecute (handle, 'open', 'mstsc', '-v:xx.xx3.1xx.xx5 /F -console', nil, sw_shownormal);
end;

procedure TVendettaManagerForm1.ZionClick(Sender: TObject);
begin
// -----------------------------------> CHANGE YOUR IP HERE <------------------------------
shellexecute (handle, 'open', 'mstsc', '-v:xx.xx3.1xx.xx /F -console', nil, sw_shownormal);
end;

procedure TVendettaManagerForm1.TestServerClick(Sender: TObject);
begin
// -----------------------------------> CHANGE YOUR IP HERE <------------------------------
shellexecute (handle, 'open', 'mstsc', '-v:xx.xx3.1xx.xx2 /F -console', nil, sw_shownormal);
end;

end.
PyroMaker is offline  
Old 29.06.2007, 20:18   #3
Yui-Ikari
Архивный участник
 
Join Date: Jan 2006
Posts: 58
Default

Nice! Good job!
Yui-Ikari is offline  
Old 29.06.2007, 20:25   #4
GmZenBrasil
Архивный участник
 
Join Date: Jan 2007
Posts: 30
Default

good work, very useful
GmZenBrasil is offline  
Old 30.06.2007, 03:04   #5
katso
Архивный участник
 
Join Date: Mar 2006
Posts: 70
Default

Very useful, thanks for share,
katso is offline  
Old 30.06.2007, 07:39   #6
Wilfried
Архивный участник
 
Join Date: May 2007
Posts: 10
Default

Nice job, PyroMaker.
Wilfried is offline  
Old 30.06.2007, 17:48   #7
PiTaGoRaS
Архивный участник
 
Join Date: Aug 2005
Posts: 30
Default

Seriously, what do you need that for when you can create RD shortcuts for each server? You can even have the login/password info saved so you don't have to type them every time you connect...
PiTaGoRaS is offline  
Old 30.06.2007, 21:26   #8
PyroMaker
Архивный участник
 
Join Date: Nov 2006
Posts: 277
Default

Well, it sure shortens up some time, it's not about typing in the user and password, but you can always just keep this thing on, and if you have like 6 servers or something, you can just keep it plain simple with this application. Easier to deal with... It's up to the user.
PyroMaker is offline  
Old 01.07.2007, 07:10   #9
ateh
Архивный участник
 
Join Date: Apr 2006
Posts: 118
Default

Quote:
Originally Posted by PiTaGoRaS View Post
Seriously, what do you need that for when you can create RD shortcuts for each server? You can even have the login/password info saved so you don't have to type them every time you connect...
It's about having options, so you can use whatever you want and what fits your needs more. I guess that's the reason Noone makes you to use it. Like me, I'm fine with shortcut's on desktop, but it's good to see some innovations around there.
ateh is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 23:35.