Jump to content
×
×
  • Create New...
  • 0

autologin item shop


Malbeth

Question

hi, I inserted this link in the source

http://shop/login?pid=$playerID&key=$codice

opens the item shop for me but does not log me in automatically

 

thank for help

 

 

my cmd general

 

 

ACMD(do_in_game_mall)
{
	char country_code[3] = "ro";
		
	char buf[512+1];
	char sas[33];
	MD5_CTX ctx;
	const char sas_key[] = "GF9001";

	snprintf(buf, sizeof(buf), "%u%u%s", ch->GetPlayerID(), ch->GetAID(), sas_key);

	MD5Init(&ctx);
	MD5Update(&ctx, (const unsigned char *) buf, strlen(buf));
	MD5End(&ctx, sas);

		snprintf(buf, sizeof(buf), "mall https://uniqmetin2.com/index.php/shop/login?pid=$playerID&key=$codice",
				g_strWebMallURL.c_str(), ch->GetPlayerID(), country_code, g_server_id, sas);

	ch->ChatPacket(CHAT_TYPE_COMMAND, buf);
}

 

Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Days

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Activity

    1. 0

      Looking for Someone to create the queries etc for armors and weapons

    2. 13

      Official Private Shop Search

    3. 944

      [40250] Reference Serverfile + Client + Src [15 Available Languages]

    4. 79

      GUI Teleport System

    5. 0

      inventory slot marking system cant compile

    6. 8

      Inventory Bug

    7. 63

      Metin2 Dev - Changelogs

  • Recently Browsing

    • No registered users viewing this page.

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.