Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 06:35

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

Advertisement



4Story Launcher in c++

Discussion on 4Story Launcher in c++ within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1

 
elite*gold: 167
Join Date: Dec 2015
Posts: 1,213
Received Thanks: 316
4Story Launcher in c++

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.
xR4ZK is offline  
Old 12/07/2015, 22:02   #2
 
Logtetsch's Avatar
 
elite*gold: 192
Join Date: May 2009
Posts: 2,227
Received Thanks: 3,262
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.
Logtetsch is offline  
Old 12/08/2015, 11:10   #3

 
elite*gold: 167
Join Date: Dec 2015
Posts: 1,213
Received Thanks: 316
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;
xR4ZK is offline  
Old 12/08/2015, 16:09   #4
 
Logtetsch's Avatar
 
elite*gold: 192
Join Date: May 2009
Posts: 2,227
Received Thanks: 3,262
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
Logtetsch is offline  
Old 12/08/2015, 16:50   #5

 
elite*gold: 167
Join Date: Dec 2015
Posts: 1,213
Received Thanks: 316
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
xR4ZK is offline  
Old 12/08/2015, 17:56   #6




 
stotterer09's Avatar
 
elite*gold: 26
Join Date: Dec 2010
Posts: 2,628
Received Thanks: 1,816
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
stotterer09 is offline  
Thanks
1 User
Old 12/08/2015, 18:08   #7

 
elite*gold: 167
Join Date: Dec 2015
Posts: 1,213
Received Thanks: 316
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
xR4ZK is offline  
Reply




All times are GMT +1. The time now is 06:36.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.