Re: [V9] [R38] Aurora Emulator [C#] [DotNetty] [Log4net]
Quote:
Originally Posted by
Glaceon
While I don't like to talk much about it, Aurora V9 will be standalone, and will work on Sqlite instead of MySQL and will be written in Dart.
Good choice. :thumbup1:
I really like emulators that I can just open up and it's immediately ready to use. :love:
Quote:
Originally Posted by
Glaceon
[Besides that, @spreedblood and I will be working on a secret project - maybe something revolutionary. It's unknown whether we'll finish it - but details might be given out when we've started.
You had my curiosity, now you have my attention. :):
It's a shame what's happening to Aurora, but I agree, the source is hard to maintain, it's not necessarily "bad" code, but there's too much overkill that makes it hard to add features, especially with all that dependency injection which IMO is too much for a Habbo server.
Re: [V9] [R38] Aurora Emulator [C#] [DotNetty] [Log4net]
Quote:
Originally Posted by
Quackster
Good choice. :thumbup1:
I really like emulators that I can just open up and it's immediately ready to use. :love:
Learnt from the master ;)
Quote:
Originally Posted by
Quackster
You had my curiosity, now you have my attention. :):
I'll tell you once we started
Quote:
Originally Posted by
Quackster
It's a shame what's happening to Aurora, but I agree, the source is hard to maintain, it's not necessarily "bad" code, but there's too much overkill that makes it hard to add features, especially with all that dependency injection which IMO is too much for a Habbo server.
True, that's the whole point. I feel like the whole DI makes it pretty annoying. Though, I stand by it, I won't quit it.
Re: [V9] [R38] Aurora Emulator [C#] [DotNetty] [Log4net]
Quote:
Originally Posted by
Quackster
Good choice. :thumbup1:
I really like emulators that I can just open up and it's immediately ready to use. :love:
You had my curiosity, now you have my attention. :):
It's a shame what's happening to Aurora, but I agree, the source is hard to maintain, it's not necessarily "bad" code, but there's too much overkill that makes it hard to add features, especially with all that dependency injection which IMO is too much for a Habbo server.
It's just Horus with extra features.
Re: [V9] [R38] Aurora Emulator [C#] [DotNetty] [Log4net]
Quote:
Originally Posted by
Dominic
It's just Horus with extra features.
Ehh? What does it mean?
Re: [V9] [R38] Aurora Emulator [C#] [DotNetty] [Log4net]
Quote:
Originally Posted by
Glaceon
Ehh? What does it mean?
@spreedblood knows
Re: [V9] [R38] Aurora Emulator [C#] [DotNetty] [Log4net]
Hey, I'm back now. Lots of things on my mind and other projects and work so didn't really work on Aurora but it's still in development.
I did some updates:
- Room visitor count working perfectly, even with closing emulator, switching rooms and logging out
- Room settings work (besides tags, they can't be set)
- Room homeroom is working, you go to your homeroom when you enter the hotel
- Achievement unlock works with giving badges and pixels (at this moment, only ACH_AvatarLooks1, ACH_Student1 (you get when you call the guide bot) and ACH_RoomEntry1-10 (by entering X rooms you DON'T own).
- Fixed some minor mistakes
- Started catalogue products from scratch (pages are still taken from Uber and modified where needed) from scratch. Definitions are done by reading furnidata and modifying it in the database where needed).
No screens unfortunately but I got a video:
https://www.youtube.com/watch?v=ywEbgaBehzM
So in here you see the problem with achievements. Both the achievement list and badge list don't refresh properly when you've already opened it when unlocking an achievement. If somebody knows what the problem is, how to fix it or is willing to look into the scripts for me, please contact me (or post a reply here). Server side I checked everything is alright, and if I reload the client it works, but just not what I just mentioned.
The emulator does have some terrible stuff but I'm gonna finish it. I think there are a few small bugs and the catalogue needs to be done, then I have to make a small CMS and I think at that time there will be a BETA hotel.
In case any of you want to contact me, please contact me through Discord: navv13#8055
Re: [V9] [R38] Aurora Emulator [C#] [DotNetty] [Log4net]
So did you choose v7 or v9 ? Still missing packets? i might be able to deliver those.
Or for what ever reason v10-v11.
Re: [V9] [R38] Aurora Emulator [C#] [DotNetty] [Log4net]
I currently await for a time to have Maarten look with me on the achievement bug. Also most likely he'll be helping me with the encryption as well (which in Flash isn't needed, but is "crucial" in Shockwave). I discovered the Achievement bug is NOT present in the Shockwave version due to sending "Ft" again will REPLACE the list rather ADD the achievements to the list.
As for the retro version, I did do some work on v9, I don't know which versions I'll support but oh well, will see. Anybody who can help with certain packets for ANY version basically, let me know!
Also, update, it might not seem like much, but user tags display works (img in spoiler due to post being a quote as well);
There still has to be a way to add them (of course, RCON will be working eventually and you can easily implement it in the CMS). For now I'll make a command (:addtag TAG) which you can use to add the tag, this is not done yet.
Quote:
Originally Posted by
ThuGie
So did you choose v7 or v9 ? Still missing packets? i might be able to deliver those.
Or for what ever reason v10-v11.
Do you by any chance have Discord? As for my second server besides the main R38 I did choose v9 but if I can make it working on both v7 and v9 it'll be even better. But I think best way to talk about it is through Discord, because I am missing some packets for those versions (and, some versions above).
(I never knew you were Dutch btw o_O)
Re: [V9] [R38] Aurora Emulator [C#] [DotNetty] [Log4net]
Just send you a request thru discord username MaouKami.
Re: [V9] [R38] Aurora Emulator [C#] [DotNetty] [Log4net]
Yesterday Maarten and I looked further in the achievement problem, turns out it's really a SWF problem. So I tried modifying the SWF to console log a specific value, but it did crash my SWF.
This is the code I've used:
PHP Code:
setlocal 5
dup
getlex QName(PackageNamespace("flash.external"), "ExternalInterface")
pushstring "console.log"
getlocal 5
getproperty QName(PackageNamespace(""), "type")
callpropvoid QName(PackageNamespace(""), "call"), 2
And in the compiled SWF the function would look like this:
PHP Code:
public function _SafeStr_2607(_arg_1:_SafeStr_2333, _arg_2:Boolean=true):void{
var _local_5:_SafeStr_2333;
var _local_3:Boolean;
var _local_4:int;
while (_local_4 < _SafeStr_2598.length)
{
_local_5 = (_SafeStr_2598[_local_4] as _SafeStr_2333);
ExternalInterface.call("console.log", _local_5.type);
if ((((_local_5.type == _arg_1.type)) && ((_local_5.level < _arg_1.level))))
{
_local_5.level = _arg_1.level;
_local_5._SafeStr_2608 = _arg_1._SafeStr_2608;
_local_5.image = _SafeStr_2600._SafeStr_2609(_arg_1._SafeStr_2608);
_local_3 = true;
};
_local_4++;
};
if (!_local_3)
{
_arg_1.image = _SafeStr_2600._SafeStr_2609(_arg_1._SafeStr_2608);
_SafeStr_2598.push(_arg_1);
};
if (_arg_2)
{
_SafeStr_2610();
};
}
And the package does contain:
PHP Code:
import flash.external.ExternalInterface;
The same function in the SWF before:
PHP Code:
public function _SafeStr_2607(_arg_1:_SafeStr_2333, _arg_2:Boolean=true):void{
var _local_5:_SafeStr_2333;
var _local_3:Boolean;
var _local_4:int;
while (_local_4 < _SafeStr_2598.length)
{
_local_5 = (_SafeStr_2598[_local_4] as _SafeStr_2333);
if ((((_local_5.type == _arg_1.type)) && ((_local_5.level < _arg_1.level))))
{
_local_5.level = _arg_1.level;
_local_5._SafeStr_2608 = _arg_1._SafeStr_2608;
_local_5.image = _SafeStr_2600._SafeStr_2609(_arg_1._SafeStr_2608);
_local_3 = true;
};
_local_4++;
};
if (!_local_3)
{
_arg_1.image = _SafeStr_2600._SafeStr_2609(_arg_1._SafeStr_2608);
_SafeStr_2598.push(_arg_1);
};
if (_arg_2)
{
_SafeStr_2610();
};
}
According to Maarten, most likely this line is bugged:
PHP Code:
if ((((_local_5.type == _arg_1.type)) && ((_local_5.level < _arg_1.level))))
From what I think I understood:
PHP Code:
if (!_local_3)
{
_arg_1.image = _SafeStr_2600._SafeStr_2609(_arg_1._SafeStr_2608);
_SafeStr_2598.push(_arg_1);
};
If that always get executed, the achievement list will be empty, and _local_3 will be true if it passes the check.
If somebody wants to take a look at it, I'd really appreciate it. For now I'll keep it on hold.
(Thanks to vista for helping me out with this stuff)
Re: [V9] [R38] Aurora Emulator [C#] [DotNetty] [Log4net]
I saw you also started some R63 emulator?
Re: [V9] [R38] Aurora Emulator [C#] [DotNetty] [Log4net]
Quote:
Originally Posted by
The General
I saw you also started some R63 emulator?
Nope. The R63 emulator was actually a private project I once had. I did use it to test some stuff. I'm only working on this R38 and an oldskool server (based on a new source which is million times better, cleaner etc.) which currently only works on v9 but will work on more versions depending on what ThuGie can deliver.
I've got no intention to compete with you and Comet for a R63 emulator. Nor do I want to.
Re: [V9] [R38] Aurora Emulator [C#] [DotNetty] [Log4net]
Lots 'o things going on. First of all, I've noticed a bunch of "game breaking" bugs in my source. This means things that can mess a lot of stuff up. Okay, sounds logical. The source is a huge mess. Part of me want to "rewrite" it (and copy 90% over from my old source, just better way of doing stuff), so at least the source is more clean (because, to be honest, after all this time it got a bit messy). Part of me knows that a lot of people will get into auto-flame mode that I start over again.
The question to you is, should I continue on this source, and fix the bugs but not care too much about clean stuff? Or should I rewrite it (which means it takes a longer time to get to the current point but most likely makes it go faster after that). And should I continue a DI-pattern (dependency injection) or should I use something else? Part of me things it's overkill (and some people I've asked think the same), some think it's the best thing and "almost necessary". I know how much disgust many people have with the God class so if I know the best and easiest thing to do I'll do it.
With this, I had to make a hard decision to keep this on the down-low for a bit. In the mean time, I started "writing" a CMS. Well, to be honest it isn't such a great thing, but it's mainly used for the public BETA I do want to try to get on this year. It's written on Codeigniter which - and I don't know how true it is - isn't so great according to some people. Then again, it's still just Habbo shit, so I don't think Laravel is worth it. Anyways, it's going to be a 80% replica of Habbo's old CMS (HoloCMS/HabboCMS 5.X/IDKWhateverCMS,...) with some custom features.
Current progress:
https://i.imgur.com/W2bE1fz.png
https://i.imgur.com/oCON1Ie.png
https://i.imgur.com/uwTqHag.png
(by using 'Crikey!' as motto without the quotations will result in your avatar being translated into a crocodile, just as on Habbo back in the day).
Motto change and login are done, hot campaign and news is taken from the database. More isn't done yet.
If anybody wants to give some advise, please put down a comment or better send me a message on Discord:
navv13#8055
Re: [V9] [R38] Aurora Emulator [C#] [DotNetty] [Log4net]
Omg,That looks great! good job! :)
Re: [V9] [R38] Aurora Emulator [C#] [DotNetty] [Log4net]
Quote:
Originally Posted by
Navine
I'm not a fan of your index. Maybe you should re-design it a bit more than that.