Jump to content

PHP - Eternexus Keys 2 Eterpack Keys


Recommended Posts

  • Bot

M2 Download Center

This is the hidden content, please
( Internal )

With this tool you can convert the Eternexus Keys to Eterpack.cpp Keys:

 

Spoiler

161330eternx.png

 

//Your Eterpack.cpp Example
static DWORD s_adwEterPackKey[] =
{
	45129401,
	92367215,
	681285731,
	1710201,
};

static DWORD s_adwEterPackSecurityKey[] =
{
	78952482,
	527348324,
	1632942,
	486274726,
};

 

This is my tool to Convert Eternexus to Eterpack!

 

<html>
<head>
<title>
LZO - Eternexus To EterPack by M2BobFixed
</title>
</head>
<body>
<center>
<?php

if (isset($_POST["key1"])) {

	$key1=$_POST["key1"];
	$key2=$_POST["key2"];
	$key3=$_POST["key3"];
	$key4=$_POST["key4"];
	
	$key5=$_POST["key5"];
	$key6=$_POST["key6"];
	$key7=$_POST["key7"];
	$key8=$_POST["key8"];

	if (ctype_xdigit($key1) && ctype_xdigit($key2) && ctype_xdigit($key3) && ctype_xdigit($key4)) {

		if (strlen($key1) == 8 && strlen($key2) == 8 && strlen($key3) == 8 && strlen($key4) == 8) {

			$index_key=explode(" - ", $key1." - ".$key2." - ".$key3." - ".$key4);
			$final_key="";
			foreach ($index_key as $k=>$v) $final_key.=strtolower("".implode("", array_reverse(str_split($index_key[$k], 2))));
			$eterpack=unpack("L*", hex2bin($final_key));
			
			echo "You inserted these Index Keys: <b>[".$key1." - ".$key2." - ".$key3." - ".$key4."]</b><br><br>";
			
			echo "Here, your Index Keys for Eterpack.cpp:<br>";
			echo "<b>static DWORD s_adwEterPackKey[] = {".$eterpack[1].", ".$eterpack[2].", ".$eterpack[3].", ".$eterpack[4].",};</b><br><br>";

		}else{
			
			echo "[IndexKey] Insert valid index keys!<br>";
			
		}

	}else{
		
		echo "[IndexKey] Insert valid index keys!<br>";
		
	}
	
	if (ctype_xdigit($key5) && ctype_xdigit($key6) && ctype_xdigit($key7) && ctype_xdigit($key8)) {

		if (strlen($key5) == 8 && strlen($key6) == 8 && strlen($key7) == 8 && strlen($key8) == 8) {

			$pack_key=explode(" - ", $key5." - ".$key6." - ".$key7." - ".$key8);
			$final_key2="";
			foreach ($pack_key as $k2=>$v2) $final_key2.=strtolower("".implode("", array_reverse(str_split($pack_key[$k2], 2))));
			$eterpack2=unpack("L*", hex2bin($final_key2));
			
			echo "You inserted these Pack Keys: <b>[".$key5." - ".$key6." - ".$key7." - ".$key8."]</b><br><br>";
			
			echo "Here, your Pack Keys for Eterpack.cpp:<br>";
			echo "<b>static DWORD s_adwEterPackSecurityKey[] = {".$eterpack2[1].", ".$eterpack2[2].", ".$eterpack2[3].", ".$eterpack2[4].",};</b><br><br>";

		}else{
			
			echo "[PackKey] Insert valid pack keys!<br>";
			
		}

	}else{
		
		echo "[PackKey] Insert valid pack keys!<br>";
		
	}

}

?>
<form method="post">
Insert your Eternexus Index Key:
<input maxlength="8" placeholder="02B09EB9" value="02B09EB9" name="key1"> - <input maxlength="8" placeholder="0581696F" value="0581696F"  name="key2"> - <input maxlength="8" placeholder="289B9863" value="289B9863" name="key3"> - <input maxlength="8" placeholder="001A1879" value="001A1879" name="key4">
<br>
<br>
Insert your Eternexus Pack Key:
<input maxlength="8" placeholder="04B4B822" value="04B4B822" name="key5"> - <input maxlength="8" placeholder="1F6EB264" value="1F6EB264"  name="key6"> - <input maxlength="8" placeholder="0018EAAE" value="0018EAAE" name="key7"> - <input maxlength="8" placeholder="1CFBF6A6" value="1CFBF6A6" name="key8">
<br>
<br>
<input type="submit" value="Convert!">
</form>
</body>
</center>
</html>

 

  • Metin2 Dev 26
  • Eyes 2
  • Dislove 1
  • Lmao 1
  • Good 10
  • Love 4
  • Love 24

english_banner.gif

Link to comment
Share on other sites

  • Premium

I try to not comment because im a beginner on c++, but on php i can safely talk.

Thats one of the worse things i saw in the past weeks, crappy codding style, lack of knowledge of basic functions that could turn the code way better in appearance, readibility and performance.

__

Thanks.

  • Confused 1
  • Love 1
Link to comment
Share on other sites

  • 8 months later...
10 hours ago, Sharingan said:

Sorry Im new in these stuff

ı cannot use this

ı copy all codes in txt and save as html but ı cant success

Save as .php file - not .html because it's php script + html code - not only .html
You also need apache with php support (xampp should be enough [or FreeBSD server with established ports like apache/php/mysql - the last one is not required]) 

https://www.apachefriends.org/index.html

 

I completely abandoned working on the files for this game. I do not respond to private messages.

.png

Link to comment
Share on other sites

27 minutes ago, Nirray said:

Save as .php file - not .html because it's php script + html code - not only .html
You also need apache with php support (xampp should be enough [or FreeBSD server with established ports like apache/php/mysql - the last one is not required]) 


https://www.apachefriends.org/index.html

tank u for ur answer ı get it 

but ı need another help 

with this tool what u can do 

is it lock pack files or something

sorry for bad english

 

Link to comment
Share on other sites

Announcements



×
×
  • Create New...

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.