Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Kepler - v21 Emulator [Java, MariaDB, Netty]

Status
Not open for further replies.
Junior Spellweaver
Joined
Oct 7, 2008
Messages
115
Reaction score
10
Re: Kepler - v18 Emulator [C11, SQLite3, libuv]

Will you be uploading V18 dcrs for this anytime soon?
 
Experienced Elementalist
Joined
May 30, 2013
Messages
288
Reaction score
242
Re: Kepler - v18 Emulator [C11, SQLite3, libuv]

There's a slight miscalculation for rollers. demonstrating it.

Making good progress Alex. Keep it up!
Is there an patreon somewhere?
 
Last edited:
Developer
Developer
Joined
Dec 11, 2010
Messages
2,955
Reaction score
2,688
Re: Kepler - v18 Emulator [C11, SQLite3, libuv]

There's a slight miscalculation for rollers. Here's an video demonstrating it:
[video]https://ditisnietmijnwebsitevriend.nl/rollers.webm[/video]

Making good progress Alex. Keep it up!
Is there an patreon somewhere?

Yeah I'm aware of this, that's why it's not been shown as a feature yet because it's not complete/has bugs. :wink:

Furniture works fine on rollers though. I'm not sure what the issue is with players but if anyone knows I'd really appreciate it.

All the magic is happening in this file:

Also there's no patreon, I don't really want to accept money for doing something that potentially infringes on copyright.

Code:
void do_roller_player(room *room, item *roller, room_user *room_entity) {
    if (room_entity->is_walking) {
        return;
    }

    if (room_entity->current->z < roller->coords->z) {
        return;
    }

    coord to;
    coord_get_front(roller->coords, &to);

    coord from;
    from.x = room_entity->current->x;
    from.y = room_entity->current->y;

    if (!room_tile_is_walkable(room, room_entity, to.x, to.y)) {
        return;
    }

    room_tile *previous_tile = room->room_map->map[room_entity->current->x][room_entity->current->y];
    room_tile *front_tile = room->room_map->map[to.x][to.y];

    double next_height = front_tile->tile_height;
    to.z = next_height;

    previous_tile->entity = NULL;
    front_tile->entity = room_entity;

    room_entity->current->x = to.x;
    room_entity->current->y = to.y;
    room_entity->current->z = to.z;

    outgoing_message *om = om_create(230);
    om_write_int(om, from.x);
    om_write_int(om, from.y);
    om_write_int(om, to.x);
    om_write_int(om, to.y);
    om_write_int(om, 0);
    om_write_int(om, roller->id);
    om_write_int(om, 2);
    om_write_int(om, room_entity->instance_id);
    sb_add_float_delimeter(om->sb, from.z, 2);
    sb_add_float_delimeter(om->sb, to.z, 2);
    room_send(room, om);


    //room_user_invoke_item(room_entity);
}
 
Experienced Elementalist
Joined
May 30, 2013
Messages
288
Reaction score
242
Re: Kepler - v18 Emulator [C11, SQLite3, libuv]

Yeah I'm aware of this, that's why it's not been shown as a feature yet because it's not complete/has bugs. :wink:
Wasn't ment to upset you, only an observation. :):

.

Is the V18 DCR pack that Glaceon linked, the one you are using?
 
Developer
Developer
Joined
Dec 11, 2010
Messages
2,955
Reaction score
2,688
Re: Kepler - v18 Emulator [C11, SQLite3, libuv]

Wasn't ment to upset you, only an observation. :):

.

Is the V18 DCR pack that Glaceon linked, the one you are using?

Yeah I fixed it , but I didn't know whether or not I should update the post or wait for someone to reply. :p: The issue was actually really complicated, basically I needed to send the status update slightly after the user finishes sliding, otherwise the user will continuously slide from where they first hopped on the roller. Strangely enough, the flash version of Habbo doesn't require this.

Also no, I'm using my own V18 DCR pack, here ya go! :wink:
 
Last edited:
Junior Spellweaver
Joined
Oct 7, 2008
Messages
115
Reaction score
10
Re: Kepler - v18 Emulator [C11, SQLite3, libuv]

Absolutely love this. I always skipped past this thread as I saw 'Linux' and thought meh its too complicated for me but gave it a go one day and its the best thing ive ever done just to be able to use this.
 
Developer
Developer
Joined
Dec 11, 2010
Messages
2,955
Reaction score
2,688
Re: Kepler - v18 Emulator [C11, SQLite3, libuv]

Changelog

- Added: Rollers, which are now fully functional, supports stacked items and players!
- Added: Carry items, ability to use fridge and grab a drink from it, and the player will take a sip from it every defined amount of seconds.
- Added: Furniture interaction, double click furniture to turn them off/on, supports gates, fridges, etc. Still need need to support dice/spinning bottles.
- Added: Delete floor item furniture.
- Added: Delete wall item furniture.

- Fixed: Allow sitting on furniture when the furniture slides.
- Fixed: When grabbing a drink, remove all other drink statuses first, so there isn't duplicate drinking of items within the users status.
- Fixed: If the users destination was changed prior to started to walk, for example it's turned from valid to invalid (such as a gate closing or an item being placed), they'll now stop stepping on to the invalid tile.



I'm not sure how many oldschool servers have working rollers but now you can add Kepler to that list. :wink:

bHLRTk0 - Kepler - v21 Emulator [Java, MariaDB, Netty] - RaGEZONE Forums


Absolutely love this. I always skipped past this thread as I saw 'Linux' and thought meh its too complicated for me but gave it a go one day and its the best thing ive ever done just to be able to use this.

That's good, I felt like that when creating my first Minecraft server on Linux. I decided one day I'll attempt it and challenge myself, best decision ever. :):
 

Attachments

You must be registered for see attachments list
Last edited:
Skilled Illusionist
Joined
Dec 27, 2008
Messages
311
Reaction score
205
Re: Kepler - v18 Emulator [C11, SQLite3, libuv]

This v18 DCRS are the official v18 with the Large Load bar ? and new profile ?
 
Experienced Elementalist
Joined
May 30, 2013
Messages
288
Reaction score
242
Re: Kepler - v18 Emulator [C11, SQLite3, libuv]

This v18 DCRS are the official v18 with the Large Load bar ? and new profile ?
No, these are the remixed ones released by Tsuka back in the day.
If anyone has the 'original' V18 DCRs with new figure format, feel free to share!
 
Skilled Illusionist
Joined
Feb 25, 2009
Messages
343
Reaction score
114
Re: Kepler - v18 Emulator [C11, SQLite3, libuv]

I have one original r18 !

Please, wait only 10 minutes for uploading ;)

EDIT:

And PAF:
 
Last edited:
Developer
Developer
Joined
Dec 11, 2010
Messages
2,955
Reaction score
2,688
Re: Kepler - v18 Emulator [C11, SQLite3, libuv]

I have one original r18 !

Please, wait only 10 minutes for uploading ;)

EDIT:

And PAF:

Yours still has the Tsuka stuff, but it's still has all the V18 features just like the V18 pack I'm using. There's no difference.
 
Skilled Illusionist
Joined
Feb 25, 2009
Messages
343
Reaction score
114
Re: Kepler - v18 Emulator [C11, SQLite3, libuv]

When V18 launched, the new Web 2.0 homepage launched too, making SSO a requirement.

Oh... but we can add sso_ticket param like v26 in loader ?
If we can use old system login in v26 (like v18), we can't make reverse ?

Like <param name="sw8" value="use.sso.ticket=1;sso.ticket=BLABLABLA">
 
Developer
Developer
Joined
Dec 11, 2010
Messages
2,955
Reaction score
2,688
Re: Kepler - v18 Emulator [C11, SQLite3, libuv]

Oh... but we can add sso_ticket param like v26 in loader ?
If we can use old system login in v26 (like v18), we can't make reverse ?

Like <param name="sw8" value="use.sso.ticket=1;sso.ticket=BLABLABLA">

Yes you can, I've tested it and it works. :wink: This is my current client.php used for SSO.

PHP:
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
<title>Kepler</title>
</head>

<body bgcolor='black'<!-- leftmargin='0' topmargin='0' marginwidth='0' marginheight='0'-->>
<div align='center'>
<object classid='clsid:166B1BCA-3F9C-11CF-8075-444553540000' codebase='http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=10,8,5,1,0' id='habbo' width='720' height='540'>
<param name='src' value='http://localhost/v18/habbo.dcr'>
<param name='swRemote' value='swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='Habbo Hotel' swContextMenu='true' '>
<param name='swStretchStyle' value='none'>
<param name='swText' value=''>

<param name='bgColor' value='#000000'>
<param name='sw6' value='use.sso.ticket=1;sso.ticket=<?php echo $_GET['sso']; ?>'>
<param name='sw2' value='connection.info.host=localhost;connection.info.port=12321'>
<param name='sw4' value='connection.mus.host=game.habbohotel.co.uk;connection.mus.port=30001'>
<param name='sw3' value='client.reload.url=http://localhost/'>
<param name='sw1' value='site.url=http://www.habbo.ch;url.prefix=http://www.habbo.ch'>
<param name='sw5' value='external.variables.txt=http://localhost/v18/external_vars.txt;external.texts.txt=http://localhost/v18/external_texts.txt'>
<embed src='http://localhost/v18/habbo.dcr' bgColor='#000000' width='720' height='540' swRemote='swSaveEnabled='true' swVolume='true' swRestart='false' swPausePlay='false' swFastForward='false' swTitle='Habbo Hotel' swContextMenu='true'' swStretchStyle='none' swText='' type='application/x-director' pluginspage='http://www.macromedia.com/shockwave/download/'
sw6='use.sso.ticket=1;sso.ticket=<?php echo $_GET['sso']; ?>'
sw2='connection.info.host=localhost;connection.info.port=12321'
sw4='connection.mus.host=game.habbohotel.co.uk;connection.mus.port=30001'
sw3='client.reload.url=http://localhost/'
sw1='site.url=http://www.habbo.ch;url.prefix=http://www.habbo.co.uk'
sw5='external.variables.txt=http://localhost/v18/external_vars.txt;external.texts.txt=http://localhost/v18/external_texts.txt'></embed>
</object>
</div>
</body>

</html>
 
Status
Not open for further replies.
Back
Top