4Story Launcher in c++

12/07/2015 20:21 xR4ZK#1
Guten Tag.

Ich wollte ein Launcher in C++ machen aber verstehe leider den Aufbau nicht was man da genau machen muss..

Z.b wo man den FTP Server hinzufügt für die Updates und die Server IP ..

Könnte mir da eventuell mal jemand der sich damit auskennt ein paar Tipp geben? wäre voll korrekt.
12/07/2015 22:02 Logtetsch#2
Is there any reason why you suggest C++ for this problem?

Launcher connects with update server and asks for the compatible game version.
Launcher receives compatible game version from update server.
Launcher checks its game version with received game version.

IF (launcher game version != compatible game version) :
Launcher sends file information to update server → (directory\\file | file-hash).
Update server sends missing or updated files to launcher which were previously received from ftp server.
(launcher ←→ update server ←→ ftp server).

Launcher receives files from update server and overrides (/adds) them.
12/08/2015 11:10 xR4ZK#3
Quote:
Originally Posted by Logtetsch View Post
Is there any reason why you suggest C++ for this problem?

Launcher connects with update server and asks for the compatible game version.
Launcher receives compatible game version from update server.
Launcher checks its game version with received game version.

IF (launcher game version != compatible game version) :
Launcher sends file information to update server → (directory\\file | file-hash).
Update server sends missing or updated files to launcher which were previously received from ftp server.
(launcher ←→ update server ←→ ftp server).

Launcher receives files from update server and overrides (/adds) them.

I have this error's when i build the Launcher.

Line: 165

Code:
		SetItemData(n, (DWORD)bitmap);
		BITMAP bm; 
		((CBitmap*)bitmap)->GetBitmap(&bm);
		SetSize(bm.bmWidth, bm.bmHeight);
	}

	return n;
}
Line: 1864

Code:
	return vLauncher.ExecPE( &CString(_T(".\\TClient.exe")), &strCommandLine) ? TMP_HACK_NONE : TMP_HACK_INVALID_PE;
12/08/2015 16:09 Logtetsch#4
Sorry, but I ain't supposed to help you in any way anymore.
1. → I was convinced that it won't be any kind of copy & paste work.
2. → Where and what are the error messages?

Btw. is this the wrong section for such problems. Please use the coding section in future.

#moverequest
12/08/2015 16:50 xR4ZK#5
Quote:
Originally Posted by Logtetsch View Post
Sorry, but I ain't supposed to help you in any way anymore.
1. → I was convinced that it won't be any kind of copy & paste work.
2. → Where and what are the error messages?

Btw. is this the wrong section for such problems. Please use the coding section in future.

#moverequest
Then comment but not if you want to help is not unnecessarily
12/08/2015 17:56 stotterer09#6
Quote:
Originally Posted by Infinity4Story View Post
Then comment but not if you want to help is not unnecessarily
This sentence makes absolutley no sense

I released a Launcher with source, where you only have to add your server ip and the download server

You can find it in some older threads
12/08/2015 18:08 xR4ZK#7
Quote:
Originally Posted by stotterer09 View Post
This sentence makes absolutley no sense

I released a Launcher with source, where you only have to add your server ip and the download server

You can find it in some older threads
Yes, but it does not have the Settings