-
Re: Icarus - Java Server (Up to date) [MySQL, Netty, Plugin System]
¡AMAZING! very good the emulator, When will it come out?.I would like to try it and see its functions
-
Re: Icarus - Java Server (Up to date) [MySQL, Netty, Plugin System]
I just switched from Netty 3 to Netty 4, but I have a bug on rollers where users and items will no longer slide/roll and instead teleport to the next tile, anyone had this bug and possibly know of a solution? :(:
The roller will still animate though.
Update
It was a thread safety issue associated with entity and item coordinates. They were getting updated before the client received the update, so I fixed it by making a snapshot of the coords instead of using the item/entity position instance.
Who would have thought? Phew!
Quote:
Originally Posted by
ZoekGamer
¡AMAZING! very good the emulator, When will it come out?.I would like to try it and see its functions
Honestly, I'm bad at giving estimations, so you're not going to get one :wink: I'll probably open a test hotel soon though.
But thanks for the positive comments :D:
-
Re: Icarus - Java Server (Up to date) [MySQL, Netty, Plugin System]
Looking good, will sure play the test hotel
-
Re: Icarus - Java Server (Up to date) [MySQL, Netty, Plugin System]
Hi Alex!
Nice to see this development is still improving very fast. So you're still focusing on behavior of furniture I assume.
I was wondering if you have also plans to implement the game furniture like Battle Banzai, Freeze, Ice Tag, Football etc.
I saw you've already done the basic stuff for pets. What about pet training?
-
Re: Icarus - Java Server (Up to date) [MySQL, Netty, Plugin System]
Quote:
Originally Posted by
streamhotel
Hi Alex!
Nice to see this development is still improving very fast. So you're still focusing on behavior of furniture I assume.
I was wondering if you have also plans to implement the game furniture like Battle Banzai, Freeze, Ice Tag, Football etc.
I saw you've already done the basic stuff for pets. What about pet training?
Hello!
Pretty much all fundamental furniture handling is done, I'm just a bit of a perfectionist about things so before I'm satisfied I've been focusing on fixing bugs and making them work like real Habbo. Lately I've been busy sorting out junk from the catalogue and adding items from official Habbo that aren't yet included.
Yes, those games are going to be planned. As for pets, of course, but I don't really have an idea on how the pet training, feeding, breeding etc should be done, I want to match mimic Habbo as much as possible so I'd need to be certain that I know what I'm doing and how they should work.
I don't play Habbo that much so I need to ask others that do on how I should limit/approach things :P: For example I set the rollers to roll every 4 seconds but I actually have no clue on how fast rollers should be rolling to mimic official Habbo. :ott1:
- - - Updated - - -
Quote:
Originally Posted by
maritnmine
You might wanna look into what automated build systems are like Gradle and Maven instead of leaving dependencies inside your git repo. Anyone who has worked in any project that is larger than a 2-day assignment knows why not using any of those is a bad idea. Had sort of expected that you had this set up, as it is a very basic thing in software development.
After all this time, I'm finally using Gradle. :laugh:
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Why did you choose to use Gradle over Maven (I'm just curious, no hate pls)?
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Quote:
Originally Posted by
Joopie
Why did you choose to use Gradle over Maven (I'm just curious, no hate pls)?
I dislike XML configuration and Gradle's build scripts are simple.
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Quote:
Originally Posted by
Joopie
Why did you choose to use Gradle over Maven (I'm just curious, no hate pls)?
hi jpoopie,
Bcuz papa marit told him to do so. He is also using IntelliJ now.
My reason for preferring Gradle over Maven:
- Configuration looks slicker and is easier to read
- The Java community in general is leaning towards Gradle as it is simpler to configure and is backwards compatible with Maven repositories
- pom.xml tends to get large quickly in a complex project
xoxo marit
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Looks awesome! Really excited to follow up the development :D
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
I've decided to write the CMS in Java, using Netty and Twig (the template engine) . I've already written most the web server functionality already.
It support cookies, it will also handle session data (server-side variables for connections), and it also handles loading files from disk with the correct MIME type, routing is also supported (defining which controller handles a request). so things like Apache and PHP won't be required for loading client data, images, etc.
I apologise if this is going to be a learning curve for some people, but PHP is a terrible language that enables people to write bad code very very easily and I think we should move on from using it (just my personal opinion).
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Quote:
Originally Posted by
Quackster
I've decided to write the CMS in Java, using Netty and Twig (
the template engine) . I've already written most the web server functionality already.
It support cookies, it will also handle session data (server-side variables for connections), and it also handles loading files from disk with the correct MIME type, routing is also supported (defining which controller handles a request). so things like Apache and PHP won't be required for loading client data, images, etc.
I apologise if this is going to be a learning curve for some people, but PHP is a terrible language that enables people to write bad code very very easily and I think we should move on from using it (just my personal opinion).
Hi qwek,
Nice to see this development going. But why are you writing these troll posts? First of all, how do you make a CMS in Java? That is not making any sense to me. Secondly, PHP is not even a language. I have seriously no idea what you are on about.
Quote:
Originally Posted by
Quackster
so things like Apache and PHP won't be required for loading client data, images, etc.
Just a word of warning. If I understand you correctly, you are coupling the logic of dynamic pages very tightly together with the static files. For some cases, this is fine, but you have to think about whether this is making it harder for people to edit the static files themselves. How is this going to be solved? Will it be in a fat JAR or how will this run? Typically, people have some load balancer (i.e. nginx or Apache) in front of the application servers themselves (Jetty, Tomcat, whatever JAR web app you have running). This does then in turn make it easy to set up routing to decouple static content from the dynamic parts of your web app. Have you made any thoughts around this?
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Quote:
Originally Posted by
maritnmine
Hi qwek,
Nice to see this development going. But why are you writing these troll posts? First of all, how do you make a CMS in Java? That is not making any sense to me. Secondly, PHP is not even a language.
I have seriously no idea what you are on about.
Just a word of warning. If I understand you correctly, you are coupling the logic of dynamic pages very tightly together with the static files. For some cases, this is fine, but you have to think about whether this is making it harder for people to edit the static files themselves. How is this going to be solved? Will it be in a fat JAR or how will this run? Typically, people have some load balancer (i.e. nginx or Apache) in front of the application servers themselves (Jetty, Tomcat, whatever JAR web app you have running). This does then in turn make it easy to set up routing to decouple static content from the dynamic parts of your web app. Have you made any thoughts around this?
There's a template folder where the the web server will read the templates from, an example shown below with directory structure and code. The folder "default" is also configurable.
Code:
Template tpl = client.template();
tpl.start("client");
tpl.set("sso-ticket", "123");
return tpl.render();
https://i.imgur.com/5OW4XRV.png
And there's also another directory where the main requests for files are made (game files), both can be configured of course.
https://i.imgur.com/ZMX2a0E.png
And they can be accessed by a normal HTTP request, using localhost on port 80 for example:
Code:
http:// localhost/gamedata/external_variables.txt
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Yeah last thing one would do is use a programming language for the web.
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Quote:
Originally Posted by
The General
Yeah last thing one would do is use a programming language for the web.
Very wrong. Asp.net.
Skickat från min FRD-L09 via Tapatalk
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Quote:
Originally Posted by
Quackster
I've decided to write the CMS in Java, using Netty and Twig (
the template engine) . I've already written most the web server functionality already.
It support cookies, it will also handle session data (server-side variables for connections), and it also handles loading files from disk with the correct MIME type, routing is also supported (defining which controller handles a request). so things like Apache and PHP won't be required for loading client data, images, etc.
I apologise if this is going to be a learning curve for some people, but PHP is a terrible language that enables people to write bad code very very easily and I think we should move on from using it (just my personal opinion).
Very nice! Java for teh win. But why did you decide to not use Spark?
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Quote:
Originally Posted by
Chapo
Very nice! Java for teh win. But why did you decide to not use Spark?
I couldn't get it working, the Lambda function part when registering just didn't work, and yes I was using JDK 8 which is what SparkJava supports... :P:
There's nothing that SparkJava does which my server doesn't do anyways, and it's an awesome learning experience. Netty fully supports HTTP protocol too, which has allowed me to create a lot of functionality.
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Quackster, you should code the gamecenter and also make it possible to add games from the database. Haven't seen any emulators recently that has that, and it's not a lot to code.
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Quote:
Originally Posted by
FunHotel
Quackster, you should code the gamecenter and also make it possible to add games from the database. Haven't seen any emulators recently that has that, and it's not a lot to code.
Plus emulator has it.
Skickat från min FRD-L09 via Tapatalk
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Quote:
Originally Posted by
maritnmine
Hi qwek,
Nice to see this development going. But why are you writing these troll posts? First of all, how do you make a CMS in Java? That is not making any sense to me. Secondly, PHP is not even a language.
I have seriously no idea what you are on about.
Just a word of warning. If I understand you correctly, you are coupling the logic of dynamic pages very tightly together with the static files. For some cases, this is fine, but you have to think about whether this is making it harder for people to edit the static files themselves. How is this going to be solved? Will it be in a fat JAR or how will this run? Typically, people have some load balancer (i.e. nginx or Apache) in front of the application servers themselves (Jetty, Tomcat, whatever JAR web app you have running). This does then in turn make it easy to set up routing to decouple static content from the dynamic parts of your web app. Have you made any thoughts around this?
https://en.wikipedia.org/wiki/Progra...pular_websites
https://www.quora.com/Which-programm...-that-language
Java for web is life <3
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Hey Alex
Do you have any progress to tell us about?
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Quote:
Originally Posted by
streamhotel
Hey Alex
Do you have any progress to tell us about?
I've been working on the housekeeping. The last time a CMS had a decent housekeeping was PHPRetro so I want to make a very rich featured housekeeping for Icarus.
https://i.imgur.com/vMWMb2G.png
(The statistics page is hardcoded for now, but the list of newest players below isn't)
https://i.imgur.com/FEkI5Lr.png
(User search working)
https://i.imgur.com/AxKlgDn.png
I still gotta do a lot of features, all of it is written in Java using my duckHTTPD library I wrote.
You can browse the source here: https://github.com/Quackster/Icarus/...ev/icarus/http
There's a lot of repeating lines I've added, but those will get cleaned up.
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Looking good. Can't wait how the CMS completely turns out. Great job on it.
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Nice you want to bring a better housekeeping for Icarus. Good you're trying to made this housekeeping usable for a huge hotel by using pagination. I hope you would support RCON so when you're moderating an user or changing stuff these updates will instantly take affect in-game.
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Some updates to the housekeeping, create, edit, delete and view news articles are done.
(View articles)
https://i.imgur.com/gGNzqpW.png
(Edit article)
https://i.imgur.com/jBJON6X.png
(Post news article)
https://i.imgur.com/uzbzUIF.png
And I've also made all the server-side variables editable by SQL, and I've started work on adding a few to the housekeeping.
(Edit coins and duckets amount given in server scheduler)
https://i.imgur.com/9viZKSI.png
(Edit camera details)
https://i.imgur.com/hQUeuaU.png
(Edit thumbnail details)
https://i.imgur.com/QthNKpb.png
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Live demo: https://icarus.alex-dev.org/
I've put a server up for people to test, there's still a lot that isn't done but enough to have a functional hotel. So please, try and break something! :):
Oh, and recently purchased photos are on display at: https://icarus.alex-dev.org/community
:ott1:
Changelog
- Added group furni.
- Added rights and certain rights checking for group furniture.
- Made group items get updated when the group badge or colours get updated (official Habbo doesn't do this actually but I thought that's kinda lame so I decided make items get updated with the correct group colours).
- Various small bug fixes.
- To do: Implement the correct creation date for the information about groups when they get created.
https://i.imgur.com/LcHBFv2.png
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Yes Yes :D I test the livedemo.
Awesome livedemo, but buy clothe close connection :S
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Buying badges closes the connection.
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Changelog
- Fixed housekeeping bugs
- Fixed teleporter bugs (discovered after opening demo hotel)
- Fixed disabling effects
- Added save navigator preferences so when they relog, their preferences for the navigator is saved.
Quote:
Originally Posted by
Zlimon
Buying badges closes the connection.
Thanks for the report! Please file bugs to https://github.com/Quackster/Icarus/issues so I can easily keep track of them :wink:
Also whereabouts did you find badges in the catalogue?
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Quote:
Originally Posted by
Quackster
Changelog
- Fixed housekeeping bugs
- Fixed teleporter bugs (discovered after opening demo hotel)
- Fixed disabling effects
-
Added save navigator preferences so when they relog, their preferences for the navigator is saved.
Thanks for the report! Please file bugs to
https://github.com/Quackster/Icarus/issues so I can easily keep track of them :wink:
Also whereabouts did you find badges in the catalogue?
Tried to buy the Bieber badge (Don't judge, it's the only one I have credits for :P)
https://i.imgur.com/srjZptG.png
This is what happens when I buy:
https://i.imgur.com/tRtJqu8.png
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
Quote:
Originally Posted by
Zlimon
Thank you, however like I said, I would appreciate if you could open up the issue at https://github.com/Quackster/Icarus/issues
Nonetheless, you're welcome to report bugs here too - it's just that I may forget them easily among the other posts :P:
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
I got pretty fed up with the VPS host I had before, as somebody was abusing CPU so I ended up switching. I couldn't keep it online for 24 hours before the website and emulator slowed down due to clock leaps that HikariCP was complaining about. I wanted to keep it online for a decent amount of time so I could be sure on the stability.
The issue I'm talking about: https://github.com/brettwooldridge/HikariCP/issues/679
Basically someone else on the same node was using too much CPU and it was slowing down my programs. All should work now though on the new provider, the demo is still available at https://icarus.alex-dev.org/
-
Re: [LATEST] Icarus Emulator [Java, Netty, MySQL, Plugins, Camera]
I'm just not enjoying working on this project.
The reason why I completed Roseau was because I genuinely enjoyed working on it.
This project just lacks any purpose, there are projects that are already more complete, and I'll never finish Icarus by the desired time at this rate, so therefore I declare that this project is stopped.