Jump to content
Sign in to follow this  
Lynx

How To Setup RBSE on Linux - VPS/Localhost

Recommended Posts

It's been a long time since I've actually made a tutorial so this may not be 100% complete although I'll make sure that it is complete, but before we proceed, let me just provide a short introduction on RBSE.

 

RBSE (Ruby Club Penguin Server Emulator) which was originally supposed to be named RBCPSE (Ruby Club Penguin Server Emulator) is an emulator written in Ruby built to support the AS2 Protocol of Club Penguin. Although RBSE is still in the works and plenty of changes will take place, it is currently ready for testing and non-commercial purposes and you are advised to kindly read the LICENSE of RBSE.

 

Before we proceed with the tutorial, you have to know that if you are a Windows user, then this isn't the tutorial for you and you are left alone as this tutorial is for Linux users only and as well, this tutorial is for those who use Ubuntu (which is pretty much what the community uses anyway).

 

Your to-do list and requirements:

Once you have all this setup, you may click on this link to download RBSE and extract it to wherever you want. You will find a folder with some json files called JSONS, so move this folder to var/www/html and as well don't forget to move the Register folder to the same directory. Then you would need to import the using your database management software. Here is an example using Adminer.

59464962015e2_Screenshotfrom2017-06-18150352.thumb.png.813c8acf4f48030410ab733c25700f57.png

Setting up the register is relatively simple, all you have to do is open each and every file in the folder using Geany and edit the urls and as well don't forget to edit the configuration file.

Screenshot_from_2017-05-30_05_48_54.png

Next you would need to install each and every gem listed in the README, starting from the top to the bottom one by one so you won't face any issues. You may install the gem using the following command which needs to be executed in your terminal. Example:

gem install rails

Once you have all this done, you may now login to your server using the default user details provided in the README 😄

59464bfa0913b_Screenshotfrom2017-06-18151558.png.f8d1166d030729fdf9fb54a3b8429b36.png

 

As RBSE is still currently under development, any help would be appreciated and if you face any issues or need help with something except with setting up the emulator, then please feel free to create an issue and message me on Discord: Lynx#6726.

Edited by Lynx
updated the links
  • Like 7

Share this post


Link to post
Share on other sites

The socket and time gems don't seem to exist, and the date gem for w/e reason requires a development version of Ruby..?

Gem::InstallError: date requires Ruby version >= 2.5.0dev.

I'm running Ruby 2.4.1. 

  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, Arthur said:

The socket and time gems don't seem to exist, and the date gem for w/e reason requires a development version of Ruby..?

Gem::InstallError: date requires Ruby version >= 2.5.0dev.

I'm running Ruby 2.4.1. 

Most of the gems come installed by default, some come installed once you install rails. These should be installed by default.

Share this post


Link to post
Share on other sites

I get "/usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- htmlentities (LoadError)" when trying to run Run.rb.

Share this post


Link to post
Share on other sites
28 minutes ago, ReidTJ said:

I get "/usr/lib/ruby/2.4.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- htmlentities (LoadError)" when trying to run Run.rb.

You need to install the ruby gem, htmlentities. To do so, type, gem install htmlentities

  • Like 1

Share this post


Link to post
Share on other sites
Sign in to follow this  

×