Club Penguin Server Emulator - AS2 Protocol
- PHP 5.5+
- Perl 5.12 till 5.18
- reCaptcha Keys
- Apache/Nginx
- Phpmyadmin/Adminer
- MYSQL
- Internet Connection
- Setup an AS2 Media Server
- Install all the Perl modules from the modules list
- Import the Database.sql using Phpmyadmin/Adminer
- Setup the Website and create an account using the register or use the default account
- Edit Config.pl
- Execute Run.pm
Open Terminal/Cmd and type the following:
cd /tmp/Luna
and then type:
perl Run.pm
If you are using Windows, you can use Run.bat
Important Note: First install CPAN and after that type: reload cpan
and then continue installing the other modules.
- CPAN
- Method::Signatures
- HTML::Entities
- IO::Socket
- IO::Select
- Digest::MD5
- XML::Simple
- LWP::Simple
- Data::Alias
- Cwd
- JSON
- Coro
- DBI
- DBD::mysql
- Module::Find
- Array::Utils
- List::Util
- HTTP::Date
- Math::Round
- POSIX
- Switch
- File::Basename
- File::Fetch
- Lyrics::Fetcher
- Lyrics::Fetcher::LyricWiki
- Lyrics::Fetcher::AstraWeb
- reCaptcha(Required)
- Install XAMPP - Windows Users
- Install LAMP - Linux Users
- How to install Perl
- How to install Perl modules
- How to install Nginx(Optional)
- How to install Adminer(Optional)
Note: Windows users please do not install Perl when installing XAMPP. Also it is recommended that you install Active State Perl instead of Strawberry Perl.
The source now comes with a default account, this account is created when you import the SQL into your database.
Username: Isis
Password: imfuckinggay
Note: Click the return to the merchant site button after you have paid in order for the payment to go through successfully.
Make sure to setup a mail server, you can do so by following these instructions below.
Open your terminal and run these commands:
sudo apt-get install msmtp ca-certificates
sudo mkdir /etc/msmtp
sudo mkdir /var/log/msmtp
sudo touch /etc/msmtp/cpps
sudo nano /etc/msmtp/cpps
Then edit /etc/msmtp/cpps config file and add this:
# Define here some setting that can be useful for every account
defaults
logfile /var/log/msmtp/general.log
# Settings for cpps account
account cpps
protocol smtp
host smtp.gmail.com
tls on
tls_trust_file /usr/share/ca-certificates/mozilla/Equifax_Secure_CA.crt
port 587
auth login
user youremailgoeshere@gmail.com
password yourpasswordgoeshere
from youremailgoeshereagain@gmail.com
logfile /var/log/msmtp/cpps.log
# If you don't use any "-a" parameter in your command line,
# the default account "cpps" will be used.
account default: cpps
We are going to be using gmail here as an example. If you want to change the domain, feel free to.
Now open your php.ini file which usually can be located at: /etc/php5/apache2/
Search for this line:
;sendmail_path =
Replace it with:
sendmail_path = /usr/sbin/msmtp -t
Next go back to the source and open /Website/contact.php
Find this line:
$strContactEmail = "you@yourdomain.com";
Edit that to match the one in the msmtp config file and save it all.
Open your terminal once again and reload the apache configuration by typing the following command:
sudo /etc/init.d/apache2 reload
And also run these commands:
sudo chmod 600 /etc/msmtp/cpps
sudo chown -R www-data:www-data /var/log/msmtp
sudo chown -R www-data:www-data /etc/msmtp/
Last but not the least, login to your gmail account and once you're done, click this link: https://www.google.com/settings/security/lesssecureapps
Once you're at that page, turn ON the lesssecureapps settings and go back to the contact page and voila!