Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Dekaron > Dekaron Private Server
You last visited: Today at 11:08

  • Please register to post and access all features, it's quick, easy and FREE!

 

[RELEASE] Dekaron-Server launcher for Win7 / Win2k8R2

Reply
 
Old   #1
 
elite*gold: 380
Join Date: Mar 2008
Posts: 374
Received Thanks: 134
[RELEASE] Dekaron-Server launcher for Win7 / Win2k8R2

Hi,
I made a program that starts the DekaronServer.exe under Windows 7 without crashing.
Just put the Win7_DKLauncher.exe in the same Folder as DekaronServer.exe and open Win7_DKLauncher.exe instead of DekaronServer.exe.
You have to run the program as administrator.

I tested the program under Windows 7 (32bit and 64bit) and Windows Server 2008 R2 (64bit).

Virustotal:

Because some people asked, here is the Sourcecode:
Code:
#include "stdafx.h"
#include <iostream>
#include <Windows.h>
#include <io.h>


int _tmain(int argc, _TCHAR* argv[])
{
	printf("Dekaron-Server Launcher by Toasty\n");

	//Look if file "DekaronServer.exe" exists
	if(_access("DekaronServer.exe", 0) == -1)
	{
		printf("DekaronServer.exe not found!\n");
		printf("Program will close in 5seconds\n");
		Sleep(5000);
	}
	else
	{
		
		//Only needed for the CreateProcess function below, no more use in this programm. More info at: http://msdn.microsoft.com/en-us/library/windows/desktop/ms686331(v=vs.85).aspx
		STARTUPINFO si;

		//Structure where the CreateProcess function will write the ProcessID and ThreadID of the created Process. More info at: http://msdn.microsoft.com/en-us/library/windows/desktop/ms684873(v=vs.85).aspx
		PROCESS_INFORMATION pi;

		//Debug event structure, needed for WaitForDebugEvent and ContinueDebugEvent. More info at: http://msdn.microsoft.com/en-us/library/windows/desktop/ms679308(v=vs.85).aspx
		DEBUG_EVENT dbge;

		//Commandline that will used at CreateProcess
		LPTSTR szCmdline = _tcsdup(TEXT("DekaronServer.exe"));

		ZeroMemory( &si, sizeof(si) ); //Set memory of the startupinfo structure to Zero (because no initialization was made)
		si.cb = sizeof(si); //Size of the Structure (see msdn)
		ZeroMemory( &pi, sizeof(pi) ); //Set memory of the process_information structure to Zero (because no initialization was made)



		//Start DekaronServer.exe 
		//More info fore CreateProcess function at: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682425(v=vs.85).aspx
		if( !CreateProcess( NULL,   // No module name (use command line)
			szCmdline,        // Command line
			NULL,           // Process handle not inheritable
			NULL,           // Thread handle not inheritable
			FALSE,          // Set handle inheritance to FALSE
			DEBUG_PROCESS,  // Enables Debugging for the started Process http://msdn.microsoft.com/en-us/library/windows/desktop/ms684863(v=vs.85).aspx
			NULL,           // Use parent's environment block
			NULL,           // Use parent's starting directory 
			&si,            // Pointer to STARTUPINFO structure
			&pi )           // Pointer to PROCESS_INFORMATION structure
		) 
		{
			printf( "CreateProcess failed (%d).\n", GetLastError() );
			return 0;
		}
		//Creating Process was sucessful
		else
		{
			printf("Sucessfully launched DekaronServer.exe\n");

			//Write ProcessId and ThreadId to the DEBUG_EVENT structure
			dbge.dwProcessId = pi.dwProcessId;
			dbge.dwProcessId = pi.dwThreadId;

			while(true) //infinite loop ("Debugger")
			{
				WaitForDebugEvent(&dbge, INFINITE); //Wait for an debugevent to occur http://msdn.microsoft.com/en-us/library/windows/desktop/ms681423(v=vs.85).aspx

				/*
				Normally you have to handle the different Debug Events (which get written to dbge.dwDebugEventCode) here,
				this is actually not needed because the DekaronServer handles the exeptions that causes the DekaronServer to crash at Windows 7
				itself, the problem is that the Exeption doesnt get handled the way Windows 7 likes it and terminates the Process therefore.
				*/

				//Continue the Programm and tell him that the exeption wasnt handelt (to let him handle the exeption)
				ContinueDebugEvent(dbge.dwProcessId, dbge.dwThreadId, DBG_EXCEPTION_NOT_HANDLED); //http://msdn.microsoft.com/en-us/library/windows/desktop/ms679285(v=vs.85).aspx
			}
		}


		//Due to the infinite Loop Programm normally never should reach this part ;)

		//Wait until child process exits.
		WaitForSingleObject( pi.hProcess, INFINITE );

		//Close process and thread handles. 
		CloseHandle( pi.hProcess );
		CloseHandle( pi.hThread );
	}
	return 0;
}
I added many comments and links to the msdn to make the code easy to understand
Feel free to modify/do whatever you want with the code
Attached Files
File Type: rar Win7_DKLauncher.rar (21.0 KB, 4030 views)
File Type: txt SourceCode_Win7DKLauncher.txt (3.8 KB, 950 views)



T04STY is offline  
Thanks
40 Users
Old   #2
 
elite*gold: 0
Join Date: Nov 2011
Posts: 44
Received Thanks: 42
Very cool release. What did you do to make it work?


Ike™ is offline  
Old   #3
 
elite*gold: 380
Join Date: Mar 2008
Posts: 374
Received Thanks: 134
the program launches the dekaronserver.exe in debug mode and passes all unhandled exeptions that caused the dekaron server to crash.
im not at my pc atm, if you want i can send you the source code tomorow.
T04STY is offline  
Old   #4
 
elite*gold: 0
Join Date: Nov 2011
Posts: 44
Received Thanks: 42
Quote:
Originally Posted by T04STY View Post
the program launches the dekaronserver.exe in debug mode and passes all unhandled exeptions that caused the dekaron server to crash.
im not on my pc atm, if you want i can send you the source code tomorow.
That'd be cool to look at. It would be good to test it to make sure that it didn't break anything as well.

PS: check your PMs .


Ike™ is offline  
Old   #5
 
elite*gold: 0
Join Date: Jan 2012
Posts: 285
Received Thanks: 41
good release then we can set a local server in win7 32 or 64 bit os right ?
elitepvpersfans is offline  
Old   #6
 
elite*gold: 380
Join Date: Mar 2008
Posts: 374
Received Thanks: 134
yes, then u can make a server on windows 7 without vmware
T04STY is offline  
Old   #7
 
elite*gold: 0
Join Date: Jan 2012
Posts: 285
Received Thanks: 41
win7 64bit could not run dekaronserver.exe .
elitepvpersfans is offline  
Old   #8
 
elite*gold: 380
Join Date: Mar 2008
Posts: 374
Received Thanks: 134
as i said, i only tested it with win7 32bit and win2k8 64bit, but because it worked on win2k8 64bit, im quite sure that it will work on win7 64bit too.
T04STY is offline  
Old   #9
 
elite*gold: 0
Join Date: Jan 2012
Posts: 285
Received Thanks: 41
i try run dekaronserver.exe in win7 64 bit failed , so i think maybe you will test it in win7 64bit later ?
elitepvpersfans is offline  
Old   #10
 
elite*gold: 0
Join Date: Jan 2012
Posts: 285
Received Thanks: 41



see it and now the program stoppting working .
elitepvpersfans is offline  
Old   #11
 
elite*gold: 380
Join Date: Mar 2008
Posts: 374
Received Thanks: 134
I just tried it with Windows 7 64bit and it worked at me.

What process reported the last error (RtlWerpReportExeption (PID: 5128))?
Is it possible that u disabled Windows Error Reporting?

You should set preferences at DekaronServer.exe and Win7_DKLauncher.exe to start normally (without any compatibility mode).
T04STY is offline  
Old   #12
 
elite*gold: 0
Join Date: Apr 2011
Posts: 305
Received Thanks: 43
Fuuuuuuuuulll Working Thx.
ronaldfa is offline  
Old   #13
 
elite*gold: 0
Join Date: Jan 2012
Posts: 39
Received Thanks: 16
Its working 100%

here SS

You must register and activate your account in order to view images.
Element~ is offline  
Old   #14
 
elite*gold: 0
Join Date: Feb 2009
Posts: 815
Received Thanks: 424
Sticky this already, I wonder if the mods (Mod) are even reading the **** section.
[DEV]Harmony is offline  
Thanks
3 Users
Old   #15
 
elite*gold: 0
Join Date: May 2008
Posts: 863
Received Thanks: 197
I can confirm that it works on W7 64bit too, great job. many thanks T04STY

Quote:
Originally Posted by ronaldfa View Post
make for Cast Server <-- Login Server <-- Messenger <---- Session Server . Plz
What for? you can start these servises without any errors.


gedimazs is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
[Release] Universal Launcher for Dekaron
UPDATED: Update and Setup Engine working with "7z" Engine. Fast, 0 Errors , High Compression Updated: New Layout. ( 01.12.2009 ,21:51...
29 Replies - Dekaron Private Server
[Release] Dekaron Non-update launcher
Hi. I wrote a small application with Microsoft Visual C++ to launch Dekaron without updating the client. This is good for people who don't want...
24 Replies - Dekaron Exploits, Hacks, Bots, Tools & Macros



All times are GMT +2. The time now is 11:08.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy
Copyright ©2017 elitepvpers All Rights Reserved.