Guida Riutilizzare Phoenix

Alternativo

Utente Senior
Autore del topic
20 Marzo 2012
1.696
59
Miglior risposta
0
Ciao a tutti su Ragaezone ho trovato una guida molto interessante ed ho deciso di condividerla con voi:

This is a tutorial on setting up your own Phoenix licence server. Basically, running a licence server allow you to continue using the official Phoenix binary instead of using cracks.

For this tutorial, we will be using BIND, the most popular and stable DNS server. You also need to be running PHP, which you probably already are if you run Phoenix on the same server as your CMS.

Let's begin!

1. Download BIND 9 by clicking
Perfavore, Entra oppure Registrati per vedere i Link!
. Extract the .zip file somewhere, such as your desktop.

2. Run the BINDInstall.exe file in the extracted directory. Set the target directory to C:\BIND and set a secure service account password. Make sure you keep the username set as "named".
2I91d.png


3. Wait for BIND to finish installing. Close the installer.
2I92Q.png


4. Open a text editor and save this as C:\BIND\etc\named.conf:
Code:

options { directory "C:\BIND\etc"; forwarders { 8.8.8.8; 8.8.4.4; }; auth-nxdomain no; listen-on { any; }; allow-query { any; }; }; zone "otaku.cm" { type master; file "C:\BIND\etc\otaku.cm.db"; };
5. Open a text editor and save this as C:\BIND\etc\otaku.cm.db, but replace 1.2.3.4 with your server's IP address.
Code:

otaku.cm. IN SOA ns1.otaku.cm. admin.otaku.cm. ( 2006081401 28800 3600 604800 38400 ) otaku.cm. IN NS ns1.otaku.cm. otaku.cm. IN A 1.2.3.4 ns1 IN A 1.2.3.4
6. Open a command prompt and start BIND by typing net start named:
2IaEL.png


7. Configure your server's DNS settings by following the steps in this spoiler:
Spoiler:



8. In a command prompt, ping otaku.cm. If the IP is anything other than what you set previously, restart your server and try pinging again. It should now be correct.

9. Create a "phx" directory in your web server root (htdocs/www/etc.). Inside that directory, create a licence.php file with this as its contents:
Code:

<?php if (!function_exists('getallheaders')) { function getallheaders() { $headers = ''; foreach ($_SERVER as $name => $value) { if (substr($name, 0, 5) == 'HTTP_') { $headers[str_replace(' ', '-', ucwords(strtolower(str_replace('_', ' ', substr($name, 5)))))] = $value; } } return $headers; } } $res = getallheaders(); if (isset($res['Authname'])) { $user = $res['Authname']; } else { $user = "Bui"; } if (isset($res['Authpass'])) { $pass = $res['Authpass']; } else { $pass = "nope"; } $k1 = "CF4E14B54958188F9EC4A75CBE1B2B4C"; $k1 = strtoupper(md5($k1 . $user)); $k1 = strtoupper(md5($k1 . $pass)); $k1 = strtoupper(md5($k1 . strlen($user))); $k1 = strtoupper(md5($k1 . strlen($pass))); $k2 = strtoupper(md5(strlen($user) * 14986)); $k3 = strtoupper(md5(strlen($pass) % 14986)); header('AuthU: ' . strlen($user)); header('AuthGen: ' . strtoupper(md5(strlen($user) * strlen($pass))) . 'a669d0dc7051ddb9d102157cca675e57' . $k1 . $k2 . $k3); header('MinBuild: 14986'); header('CurBuild: 14986'); header('ExtraData: 0.0.0.0:1232:1233'); header('dce: true'); ?>
10. Create another file named override.php in the phx directory, and just put the IP of whoever you want to give override status (I recommend 127.0.0.1). No PHP code needed.

11. In your Phoenix config, make sure you have this line, but feel free to replace 1232 with the TCP port of your choice:
Code:

game.tcp.port=1232
12. Run the emulator. Hopefully, everything should work fine.

If you encounter any problems during the tutorial, post them here and I'll get back to you. Enjoy your licence server!
 
Riferimento: Riutilizzare Phoenix

Bah, che senso ha fare copia e incolla? Almeno traducila no? Riguardo alla guida, bravo il creatore che è di ragezone.