Kepler - Java v14+ server (SnowStorm, BattleBall, Camera, Wobble Squabble)

Gibbo

Active Member
Jun 4, 2010
163
27
I am having a few issues, I am using the DCRS provided on original post and I cannot choose a Room Category, Dance & Teleports do not work.
 

Quackster

a devbest user says what
Aug 22, 2010
1,758
1,222
Changelog
  • Fix: Players online not updating when user disconnects.
  • Fix: Not being able to enter teleporters on initial placement, only after rotating (run SQL for fix).
  • Fix: HC TV beaviour (run SQL for fix)
  • Fix: Habbo Club page not displaying.
  • Fix: NPE on disconnect.
  • Fix: (Attempt?) to fix give drink check
  • Fix: Fix item placement on v26 DCRs
  • Add: Server-side spam protection.
  • Add: New :givecredits command by .
  • Add: Refresh badges when purchasing Habbo Club.
If you're running from an older version, please run the migrations in the folder up until the current version, eg, upgrading from v1.22.4 please run update.1.22.5.sql

Download:

I am having a few issues, I am using the DCRS provided on original post and I cannot choose a Room Category, Dance & Teleports do not work.

Yep, the first two are a problem with your Shockwave installation. Please refer to - I have this on my system following my own instructions and selecting room category, and dancing, appear to work just fine. Not being able to select room category and/or dance is not an issue with the DCRs, as they are official, untouched DCRs straight from Sulake servers 12 years ago or so.
 

Gibbo

Active Member
Jun 4, 2010
163
27
Changelog
  • Fix: Players online not updating when user disconnects.
  • Fix: Not being able to enter teleporters on initial placement, only after rotating (run SQL for fix).
  • Fix: HC TV beaviour (run SQL for fix)
  • Fix: Habbo Club page not displaying.
  • Fix: NPE on disconnect.
  • Fix: (Attempt?) to fix give drink check
  • Fix: Fix item placement on v26 DCRs
  • Add: Server-side spam protection.
  • Add: New :givecredits command by .
  • Add: Refresh badges when purchasing Habbo Club.
If you're running from an older version, please run the migrations in the folder up until the current version, eg, upgrading from v1.22.4 please run update.1.22.5.sql

Download:



Yep, the first two are a problem with your Shockwave installation. Please refer to - I have this on my system following my own instructions and selecting room category, and dancing, appear to work just fine. Not being able to select room category and/or dance is not an issue with the DCRs, as they are official, untouched DCRs straight from Sulake servers 12 years ago or so.
Are your DCRS v21 or V14? Could you send me the link to them please. I am using V14 ATM
 

Quackster

a devbest user says what
Aug 22, 2010
1,758
1,222
Are your DCRS v21 or V14? Could you send me the link to them please. I am using V14 ATM

I'm using v14 DCRs with the CCT additions.
Post automatically merged:

Changelog

- Fix: Maximum drop height for public rooms.
- Fix: HC TV default rotation when placed.
- Add: New :infobus command (infobus feature) by @webbanditten.

If you're running from an older version, please run the migrations in the folder up until the current version, eg, upgrading from v1.22.5 please run update.1.22.6.sql.

Download:
 
Last edited:

Gibbo

Active Member
Jun 4, 2010
163
27
You must be registered for see images attach

Is there a way to get rid of this box when you purchase an item?
 

key

New Member
Mar 23, 2020
2
0
come puoi creare un hotel puoi creare una guida?
Post automatically merged:

how can i start kepler?
 
Last edited:

Quackster

a devbest user says what
Aug 22, 2010
1,758
1,222
Happy New Year, Merry Christmas, Saturnalia, Yule etc. :p

I hope that this release brings many people joy, to make up for what a horrible year that 2020 has been.

Changelog

  • Add: SnowStorm! All maps have been added along with all features. Please read README_SnowStorm.txt to get SnowStorm working correctly.
  • Fix: Moving furniture properly unregisters it from its previous spot.
  • Fix: Game history will show the last 15 games played, instead of expiring them after 10 minutes.
Huge thanks to Sefhriloff for figuring out the SnowStorm checksum override to make SnowStorm a possibility.

Please make sure to run the v1.3 migration SQL to enable SnowStorm from inside the server.

Download:

5fZ7dIg.gif

Post automatically merged:

A small little update to Kepler.

I've finished the RCON system so I've completely removed the old system and added a new system, included a PHP example of how to send RCON commands to Kepler too.

Changelog

  • Added: New RCON system
  • Removed old unused libraries which cut down the compiled size of Kepler by 6 megabytes.

Reminder! Do not make RCON listen on anything other than localhost/127.0.01, if you are please make sure you know what you're doing by exposing the RCON port to the outside world. RCON is not the same as the MUS connection which Kepler also uses.

Download:

PHP code example for sending RCON commands alongside their valid usages:

PHP:
<?php

sendRcon("127.0.0.1", "12309", build("hotel_alert", array(
   "message" => "Hello, World!",
   "sender" => "Alex"
)));

sendRcon("127.0.0.1", "12309", build("hotel_alert", array(
   "message" => "Hello, World!"
)));

sendRcon("127.0.0.1", "12309", build("refresh_looks", array(
   "userId" => "1"
)));

sendRcon("127.0.0.1", "12309", build("refresh_hand", array(
   "userId" => "1"
)));

sendRcon("127.0.0.1", "12309", build("refresh_club", array(
   "userId" => "1"
)));

sendRcon("127.0.0.1", "12309", build("refresh_credits", array(
   "userId" => "1"
)));

function build($header, $parameters) {
  $message = "";
  $message .= pack('N', strlen($header));
  $message .= $header;
  $message .= pack('N', count($parameters));
  
  foreach ($parameters as $key => $value) {
    $message .= pack('N', strlen($key));
    $message .= $key;
 
    $message .= pack('N', strlen($value));
    $message .= $value;
  }
   
  $buffer = "";
  $buffer .= pack('N', strlen($message));
  $buffer .= $message;
  return $buffer;
}

function sendRcon($ip, $port, $command) {
    $socket = socket_create(AF_INET, SOCK_STREAM, getprotobyname('tcp'));
    socket_connect($socket, $ip, $port);
    socket_send($socket, $command, strlen($command), MSG_DONTROUTE);    
    socket_close($socket);
} 

?>

Java example:

PHP:
public class RconCommand {
    private final RconHeader header;
    private final Map<String, Object> parameters;

    public RconCommand(RconHeader header, Map<String, Object> parameters) {
        this.header = header;
        this.parameters = parameters;
    }
    
    public void send() {
        try (Socket socket = new Socket(ServerConfiguration.getString("rcon.ip"), ServerConfiguration.getInteger("rcon.port"))) {
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            DataOutputStream daos = new DataOutputStream(baos);

            daos.writeInt(header.getRawHeader().length());
            daos.write(header.getRawHeader().getBytes(StringUtil.getCharset()));
            daos.writeInt(parameters.size());

            for (var entry : parameters.entrySet()) {
                daos.writeInt(entry.getKey().length());
                daos.write(entry.getKey().getBytes(StringUtil.getCharset()));

                daos.writeInt(entry.getValue().toString().length());
                daos.write(entry.getValue().toString().getBytes(StringUtil.getCharset()));
            }

            try (DataOutputStream dataOutputStream = new DataOutputStream(socket.getOutputStream())) {
                byte[] message = baos.toByteArray();

                dataOutputStream.writeInt(message.length);
                dataOutputStream.write(message);
                dataOutputStream.flush();

                baos.close();
                daos.close();
                socket.close();
            } catch (IOException ignored) {

            }
        } catch (IOException ignored) {

        }
    }
}
 
Last edited:

Roper

Ancient Member
Jul 4, 2010
479
166
This is absolutely awesome! I'm setting up a local hotel for some friends and I, looking forward to playing Snowstorm after all these years. Great work as per usual Alex!
 

Solid

Active Member
May 1, 2012
120
31
the loader is giving me a error.

GIF of me trying to load the loader:
I edited Vars.txt and the loaders index.php
My files look like this in my wwwroot:

Maybe the habbo.dcr is broken? does anyone has a updated/replacement i could try?
 

Daltron

Web Developer
Aug 6, 2015
282
151
the loader is giving me a error.

GIF of me trying to load the loader:
I edited Vars.txt and the loaders index.php
My files look like this in my wwwroot:

Maybe the habbo.dcr is broken? does anyone has a updated/replacement i could try?
make a help & support thread
 

Roper

Ancient Member
Jul 4, 2010
479
166
the loader is giving me a error.

GIF of me trying to load the loader:
I edited Vars.txt and the loaders index.php
My files look like this in my wwwroot:

Maybe the habbo.dcr is broken? does anyone has a updated/replacement i could try?
What browser you using fella? I downloaded the v14 pack from Alex's archive and had no problems setting up.

I'll see if I can find them again and upload them for you. :)
 

Bangbro96

New Member
Nov 15, 2021
1
0
I don't get it running ;( .. My latest experience with the habbo Retro's were back in days like 8 years ago.. a lot is changed. Who can help me get this thing running?
 

Users who are viewing this thread

Top