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

Page 40 of 43 FirstFirst ... 30323334353637383940414243 LastLast
Results 586 to 600 of 637
  1. #586
    Fastfreestuff.info FTW! eJustin is offline
    True MemberRank
    Apr 2007 Join Date
    Abusing Your Open PortsLocation
    197Posts

    Re: Kepler - Habbo Hotel v14+ server (BattleBall, Camera, Trax, Rollers) [Java]

    Quote Originally Posted by Quackster View Post
    The sprite id column isn't used by the server. I converted one of my private projects' catalogue for Kepler and I accidentally left the sprite id column in there.
    Haven't had any luck getting this done. Are you able to point me in the right direction? Quite rusty with this stuff and need DJ Decks for some stacking nostalgia.
    Last edited by eJustin; 11-12-20 at 01:00 AM.

  2. #587
    Moderator Quackster is offline
    ModeratorRank
    Dec 2010 Join Date
    AustraliaLocation
    3,413Posts

    Re: Kepler - Habbo Hotel v14+ server (BattleBall, Camera, Trax, Rollers) [Java]

    Quote Originally Posted by eJustin View Post
    Haven't had any luck getting this done. Are you able to point me in the right direction? Quite rusty with this stuff and need DJ Decks for some stacking nostalgia.
    As I said, don't worry about the sprite_id column, put any value you want in there it's not used by the server or client.
    The Habbo archives: http://alex-dev.org/archive/

  3. #588
    Newbie Jiyorude is offline
    MemberRank
    Dec 2020 Join Date
    4Posts

    Re: Kepler - Habbo Hotel v14+ server (BattleBall, Camera, Trax, Rollers) [Java]

    I originally asked for help in my post but I managed to set it up myself.
    Last edited by Jiyorude; 16-12-20 at 10:02 AM. Reason: was able to set it up myself.

  4. #589
    Newbie Jiyorude is offline
    MemberRank
    Dec 2020 Join Date
    4Posts

    Re: Kepler - Habbo Hotel v14+ server (BattleBall, Camera, Trax, Rollers) [Java]

    Some furni seems to be missing from the hotel, such as Habbowood, Habboween, Easter, Valentine, Christmas. Is there a way how I can download them and place them in my hotel?

  5. #590
    Moderator Quackster is offline
    ModeratorRank
    Dec 2010 Join Date
    AustraliaLocation
    3,413Posts

    Re: Kepler - Habbo Hotel v14+ server (BattleBall, Camera, Trax, Rollers) [Java]

    No one's made another catalogue for Kepler. You'll have to add them yourself using the catalogue_pages, catalogue_items and items_definitions tables.
    The Habbo archives: http://alex-dev.org/archive/

  6. #591
    Moderator Quackster is offline
    ModeratorRank
    Dec 2010 Join Date
    AustraliaLocation
    3,413Posts

    Re: Kepler - Habbo Hotel v14+ server (BattleBall, Camera, Trax, Rollers) [Java]

    I'm going to release Kepler with a single fix (items not being unregistered when moving) but would you also like me to release Kepler with SnowStorm included inside of it too? That's the surprise I promised but initially hesitated to release it.
    The Habbo archives: http://alex-dev.org/archive/

  7. #592
    Member webbanditten is offline
    MemberRank
    Dec 2019 Join Date
    28Posts

    Re: Kepler - Habbo Hotel v14+ server (BattleBall, Camera, Trax, Rollers) [Java]

    That would be an amazing Christmas present for the community. I would love for you to release Snowstorm.

  8. #593
    Moderator Quackster is offline
    ModeratorRank
    Dec 2010 Join Date
    AustraliaLocation
    3,413Posts

    Re: Kepler - Habbo Hotel v14+ server (BattleBall, Camera, Trax, Rollers) [Java]

    Happy New Year, Merry Christmas, Saturnalia, Yule etc.

    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.

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

    Huge thanks to Sefhriloff for figuring out the SnowStorm checksum override to make SnowStorm a possibility.

    Download: https://github.com/Quackster/Kepler/...epler.v1.3.zip

    Last edited by Quackster; 31-12-20 at 02:51 AM.
    The Habbo archives: http://alex-dev.org/archive/

  9. #594
    Member webbanditten is offline
    MemberRank
    Dec 2019 Join Date
    28Posts

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

    Yesterday I merged your branch into mine and I just want to report back that its works and I couldnt be happier.

    I also want thank you for your contributions to the Habbo Retro community this year, its been truly an amazing year and your contributions arent going unnoticed.

    I personally hope the community next year will show a more collaborative and supportive spirit so we can continue the retro journey together. Together as a community we can achieve much more.

  10. #595
    Moderator Quackster is offline
    ModeratorRank
    Dec 2010 Join Date
    AustraliaLocation
    3,413Posts

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

    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: https://github.com/Quackster/Kepler/releases/tag/v1.31

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

    PHP Code:
    <?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_INETSOCK_STREAMgetprotobyname('tcp'));
        
    socket_connect($socket$ip$port);
        
    socket_send($socket$commandstrlen($command), MSG_DONTROUTE);    
        
    socket_close($socket);


    ?>
    Java example:

    PHP Code:
    public class RconCommand {
        private final 
    RconHeader header;
        private final 
    Map<StringObjectparameters;

        public 
    RconCommand(RconHeader headerMap<StringObjectparameters) {
            
    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) {

            }
        }


    Quote Originally Posted by webbanditten View Post
    Yesterday I merged your branch into mine and I just want to report back that its works and I couldnt be happier.

    I also want thank you for your contributions to the Habbo Retro community this year, its been truly an amazing year and your contributions arent going unnoticed.

    I personally hope the community next year will show a more collaborative and supportive spirit so we can continue the retro journey together. Together as a community we can achieve much more.
    I'm so glad it worked out well and I agree completely.
    The Habbo archives: http://alex-dev.org/archive/

  11. #596
    Newbie valx76 is offline
    MemberRank
    Jan 2021 Join Date
    3Posts

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

    Hi there!
    First, thank you for your hard work @Quackster, the result really looks nice ! :)
    Though, I'm having an issue connecting to the server from the client..

    I'm starting the server from the BAT file, and connecting to localhost using the Basilisk browser (Shockwave is working on some online demos).
    I've also ran the SQL file into MySQL.

    The issue is when trying to connect with Basilisk, I'm getting the result below when trying to connect (takes a long minute of loading before displaying that):
    Click image for larger version. 

Name:	ScreenKepler.png 
Views:	16 
Size:	3.1 KB 
ID:	168798

    No error in the server command line but I see a connection attempt (screenshot below).
    Click image for larger version. 

Name:	ScreenKepler2.png 
Views:	13 
Size:	31.7 KB 
ID:	168799


    Thank you for your help!
    Last edited by valx76; 01-01-21 at 10:33 PM.

  12. #597
    Moderator Quackster is offline
    ModeratorRank
    Dec 2010 Join Date
    AustraliaLocation
    3,413Posts

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

    Quote Originally Posted by valx76 View Post
    Hi there!
    First, thank you for your hard work @Quackster, the result really looks nice ! :)
    Though, I'm having an issue connecting to the server from the client..

    I'm starting the server from the BAT file, and connecting to localhost using the Basilisk browser (Shockwave is working on some online demos).
    I've also ran the SQL file into MySQL.

    The issue is when trying to connect with Basilisk, I'm getting the result below when trying to connect (takes a long minute of loading before displaying that):
    Click image for larger version. 

Name:	ScreenKepler.png 
Views:	16 
Size:	3.1 KB 
ID:	168798

    No error in the server command line but I see a connection attempt (screenshot below).
    Click image for larger version. 

Name:	ScreenKepler2.png 
Views:	13 
Size:	31.7 KB 
ID:	168799


    Thank you for your help!
    Okay you are like the tenth person to try and load the Habbo TCP port in the browser, are you all the same person?

    You have to use a loader with DCRS on an HTML file that connects to the server. I'm fed up with being asked the same question over the span of a year or more.
    The Habbo archives: http://alex-dev.org/archive/

  13. #598
    Member Sylas is offline
    MemberRank
    Jan 2012 Join Date
    77Posts

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

    Omg, finally thank you Alex! <3

  14. #599
    Retired The General is offline
    DeveloperRank
    Aug 2011 Join Date
    7,573Posts

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

    Quote Originally Posted by Quackster View Post
    Okay you are like the tenth person to try and load the Habbo TCP port in the browser, are you all the same person?

    You have to use a loader with DCRS on an HTML file that connects to the server. I'm fed up with being asked the same question over the span of a year or more.
    Add a webserver to Kepler that runs the client. Problem solved /s
    Stop deleting signatures, plenty of other people including staff link their social media accounts / their own website / discord. Its not like ragezone doesnt have a discord server either... Until this very moment, it's against the rules so you can report them.

  15. #600
    Newbie valx76 is offline
    MemberRank
    Jan 2021 Join Date
    3Posts

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

    Thank you guys, didn't find this info anywhere before
    Sorry for the bother @Quackster ..



Advertisement