• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

OpenTibia Downloader

haha if he gives that he dont need a copy right bec then some1 will copy and take copy right XD
 
source pls :(

It will look something like this:
Code:
int main (int argc, char * argv[])
{
	int option;
	std::cout << "Please choose:\n\n\t1. OTland.net\n\t2. Google.com" << std::endl;
	std::cout << ">";

	cin >> option;

	switch (option)
	{
		case 1:
			std::cout << "Choosen 1, Opening otland..." << std::endl;
			ShellExecute(NULL, "open", "http://otland.net/members/sality", NULL, NULL, SW_SHOW);
		break;
		case 2:
			std::cout << "Choosen 2, Opening google..." << std::endl;
			ShellExecute(NULL, "open", "http://google.com/", NULL, NULL, SW_SHOW);
		break;
		default:
			std::cout << "Other than 1 and 2, opening example..." << std::endl;
			ShellExecute(NULL, "open", "http://example.com", NULL, NULL, SW_SHOW);
		break;
	}

	system("PAUSE");
	return EXIT_SUCCESS;
}

It will open page with default HTTP Client.
Wrote fast, not tested :p
http://msdn.microsoft.com/en-us/library/bb762153(VS.85).aspx
 
I going to update this and make it with VB, I will finish it in some days.
 
VB Sucks! Do it in cpp xD! Also make a GUI + auto save file on hdd as I said before.
 
Then why do you write std::cout and not just cout?

Code:
#include <iostream>

using namespace std;

int main {
cout << "Yo!" << endl;
}

instead of

Code:
#include <iostream>

int main {
std::cout << "Yo!" << endl;
}
 
Back
Top