i don't have studio.exe
help me please
help me please
class Program
{
[STAThread]
static void Main(string[] args)
{
string[] paramList = Environment.GetCommandLineArgs();
if (paramList != null && paramList.Length > 1 && paramList[1].Length > 1)
{
string param = paramList[1].Trim('"').Trim();
if (param.Length == 2 && (param[0] == '-' || param[0] == '/'))
{
string name = paramList.Length > 2 && paramList[2] != null && paramList[2].Length > 0 ? paramList[2] : "Copy path to clipboard";
switch (param[1].ToString().ToLower()[0])
{
case 'i':
RegistryKey rki = Registry.LocalMachine.CreateSubKey("SOFTWARE").CreateSubKey("Classes").CreateSubKey("*").CreateSubKey("shell");
try { rki.DeleteSubKeyTree("Path2Clipboard"); }
catch { }
rki = rki.CreateSubKey("Path2Clipboard");
rki.SetValue("", name, RegistryValueKind.String);
rki = rki.CreateSubKey("command");
rki.SetValue("", "\"" + System.Reflection.Assembly.GetExecutingAssembly().Location + "\" \"%1\"", RegistryValueKind.String);
Console.WriteLine("Successfull registred.");
break;
case 'u':
RegistryKey rku = Registry.LocalMachine.OpenSubKey("SOFTWARE", true).OpenSubKey("Classes", true).OpenSubKey("*", true).OpenSubKey("shell", true);
try
{
rku.DeleteSubKeyTree("Path2Clipboard");
Console.WriteLine("Successfull unregistred");
}
catch { }
break;
}
}
else if (param.Length > 2)
{
Clipboard.SetText(param);
}
}
}
}
-------------------------------------------------------------------------------- Logging Start (01/23/14 04:32:58)
------------------------------------------------------------------------------
[i] 04:32:58 - Start application without service mode
[i] 04:32:58 - application_commandline : "C:\raiderz\serverbr\MasterServer\MasterServer.exe"
[i] 04:32:58 - minet> address already in use (port=7500)
[i] 04:32:58 - minet> bind: (error=10048)
[e] 04:32:58 - Failed CreateNetwork.
[i] 04:32:58 - Create McURL Success. (Init SSL).
[e] 04:32:58 - Server Init Failed: 2: ???? ??? ??
[i] 04:32:59 - ZConsole > OnDestroy
[i] 04:32:59 - Server Closed
-------------------------------------------------------------------------------- Logging Start (01/23/14 04:40:11)
------------------------------------------------------------------------------
[i] 04:40:11 - Start application without service mode
[i] 04:40:11 - application_commandline : "C:\raiderz\serverbr\LoginServer\LoginServer.exe"
[i] 04:40:12 - Server Socket Opened. (Port = 7501)
[e] 04:40:18 - Create Async AccountDB failed(errno 4).
[i] 04:40:18 - Create Async Database Failed
[e] 04:40:18 - Failed InitDB
[e] 04:40:18 - Server Init Failed:
[i] 04:40:19 - LConsole > OnDestroy
[i] 04:40:19 - Server Closed