Skip to content

72juju/Luna

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Luna

Club Penguin Server Emulator - AS2 Protocol

Alt tag Alt tag Alt tag Alt tag

Requirements:

  • PHP 5.5+
  • Perl 5.12 till 5.18
  • reCaptcha Keys
  • Apache/Nginx
  • Phpmyadmin/Adminer
  • MYSQL
  • Internet Connection

Instructions:

Usage:

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.

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

Tutorials:

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.

Default Server Account:

The source now comes with a default account, this account is created when you import the SQL into your database.

Username: Isis
Password: imfuckinggay

Paypal:

Note: Click the return to the merchant site button after you have paid in order for the payment to go through successfully.

Contact Page Setup:

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!

About

Club Penguin Server Emulator - AS2 Protocol

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Perl 44.7%
  • PHP 34.4%
  • JavaScript 16.0%
  • ActionScript 3.1%
  • CSS 1.8%