-
Nova [Node, Electron, PHP, REST, Multi-Platform]
What is Nova?
Nova it's the future of Habbo. It's an external Game Client that doesn't need any Browser. You can play Flash or Shockwave Habbo Retro Hotels. Without bothering.
Nova it's universal. One app for any Retro Server using it's API. Nova will provide the entire authentication, assets and everything for you. You just need auth one time, and enjoy Habbo.
How Nova works?
Nova uses the Nova Engine, that provides a RESTful API that communicates between the Nova App. Each hotel can have their Nova Engine, that is customized for their purposes. Nova provides a set of custom tools, for the Hotel Administrator get over control in Nova.
Nova uses 2FA (Two-Factor-Authentication) to auth you into your Hotel. You need only logon one single time in the Hotel, and get your Token in the Client Page. After that you just need enter the Hotel URL on the Nova App and your token, and you will be all set.
Nova stores the Token and update each time itself. Nova haves a security system, that ables the player to reset the Token (regenerating it) directly on the Hotel Client.
How is the API?
You can check the API by clicking here.
Other Informations
- Actually rewriting the Engine and improving the code.
GitHub repository
You can check the GitHub repository by clicking here.
Official Website
Check our website by clicking here.
How will be the Installation?
- For Developers: Download the client.php and HabClient.phar, configure the client.php and be Happy.
- For Users: Just download Nova Electron App (in the future we will provide an installer for Windows)
How will be the GUI?
- App: HoloCMS design, for every page. And built in Client
- Engine: jSON pages and Home page with HoloCMS design.
Progress of the API
- Base Paths: Hotel/Client OK, User/Login OK
- Future Paths: Hotel/Status, Hotel/OnlineCount
- Give me ideas for more Paths
Some Considerations
- Started the rename of HabClient to Nova
- Today or Tomorrow will continue commiting to the project.
Some Screenshots (Engine)
Home Page http://image.prntscr.com/image/40437...6266f27834.png
Requesting User Data
http://image.prntscr.com/image/8bac3...61fb2c5c41.png
Version Check
http://image.prntscr.com/image/69b42...f7c3fa4d0e.png
Hotel Status
http://image.prntscr.com/image/ee620...7765a35c1b.png
Logging System (Debug)
http://image.prntscr.com/image/b4613...747caeaf99.png
Some Screenshots (Electron App)
Select Server
http://image.prntscr.com/image/33a39...8907d15f1b.png
Wrong Server/Inexistent Server
http://image.prntscr.com/image/976d9...c722ab3ff6.png
Authenticate User
http://image.prntscr.com/image/d79b0...5c2f3a0ed6.pngInvalid User/Token/Wrong
http://image.prntscr.com/image/dddbb...76d8a12df7.png
Play on HabClient
http://image.prntscr.com/image/f7169...d4af6b7e8c.pngConsole Log
http://image.prntscr.com/image/f606d...dfa2409b90.png
Progresses
- Finished Basic API, starting now creating the JavaApp
- I'm starting the JavaApp, but i don't know from where i start. I think i will start from the Communication engine... The Flash stuff, will be the hardest one.
- Starting the ElectronApp. trashing the JavaApp.
- First Functional Release of HabClient working.
Changelog (Versions)
Functional API, Engine and External App in Electron.
- Basics of API working
- Entering on Client and Playing working 100%
- Tested in PHP BuiltinServer, but should work in Normal Web Servers.
Credits
- Claudio Santoro (me)
- Someone else? o.o
- HoloCMS creators??
- Sulake? lmfao
If you liked it, Give a rep.
-
re: Nova [Node, Electron, PHP, REST, Multi-Platform]
I wish you good luck implementing Shockwave in Java also:
Quote:
How the Authentication works?
The authentication happens by SSO Tokens. SSO tokens are generated in each communication and expired after being consumed.
Don't forget v1-12 (?) don't use SSO.
-
re: Nova [Node, Electron, PHP, REST, Multi-Platform]
Updates:
- Actually the JavaApp is communicating with the PHP Engine
- Yes, the JavaApp code it's a totally mess yet. Will improve it a lot after.
- Created Master Token for Engine (Only for Development)
- Improved some PHP Codes
- More
To-do:
- Continue JavaApp Engine Communication
- Start to figure out how will make the Client :/
- Planning do the Client in JWebBrowser with SWT or JFlashPlayer...
- - - Updated - - -
Observation.: 44 commits in one day. Fantastic.
-
re: Nova [Node, Electron, PHP, REST, Multi-Platform]
What is your justification for implementing it in Java? I see it as the second worst alternative to implementing it in something stupid like VB .NET Forms. I'm not even sure if it is going to be possible for you to embed a browser that runs Flash/Shockwave in a Java applet. Did you even look at those frameworks I suggested to you earlier?
-
re: Nova [Node, Electron, PHP, REST, Multi-Platform]
I still think you'd be better of with Electron than Java and PHP. Nonetheless good luck!
-
re: Nova [Node, Electron, PHP, REST, Multi-Platform]
Hype hype hype! GL bro :w00t:
-
re: Nova [Node, Electron, PHP, REST, Multi-Platform]
Quote:
Originally Posted by
maritnmine
What is your justification for implementing it in Java? I see it as the second worst alternative to implementing it in something stupid like VB .NET Forms. I'm not even sure if it is going to be possible for you to embed a browser that runs Flash/Shockwave in a Java applet. Did you even look at those frameworks I suggested to you earlier?
Oh, yes, you're right. I will give a look.
But i found a Framework called DJ Native Swing..
- - - Updated - - -
Quote:
Originally Posted by
Boraida
I still think you'd be better of with
Electron than Java and PHP. Nonetheless good luck!
Are you sure, that Electron it's independent from the Browser? If yes, are you sure that Flash will work on it?
If yes, of course i will use this.
I'm thinking in use Node.js in the engine. But people are dumb. sooo... The engine will continue to be in PHP..
- - - Updated - - -
Ok, convinced with Electron.
Switching to Electron.
Some points:
1. https://github.com/electron/electron/blob/master/docs/tutorial/using-pepper-flash-plugin.md
2. Electron i can code just in HTML + JavaScript + CSS, so it's easy.
Need look if Electron supports Shockwave too.
- - - Updated - - -
OK. Electron doesn't support Shockwave.. That's not good..
-
re: Nova [Node, Electron, PHP, REST, Multi-Platform]
I assume you use the PHP back-end to hand out the information for the client right? Nothing wrong with that.
Also something I've noticed is that you use observation in the wrong context. It should be note, not observation.
-
re: Nova [Node, Electron, PHP, REST, Multi-Platform]
People i'm really happy to say, that first version of HabClient, it's running and working 100%! Tested with Yupi Emulator!
I will update this thread with images and more informations. And create the RELEASE at GitHub.
I hope everyone here like it.
- - - Updated - - -
Important Notice.: If someone can provide me the PepperFlash.dll and PepperFlash.so, i will be happy.
Already have PepperFlash.plugin (MacOS)
- - - Updated - - -
OK! Updated Main Thread. Uploading the App. (I dunno why, but the electron-packager makes 100mb of this... lmfao) (40MB of PepperFlash, and some MB of the real app...)
Who will download something of 100MB?
- - - Updated - - -
For future: Making cache of Assets?
- - - Updated - - -
Also: If someone can give me the AdobeShockwave.dll and .so (windows & linux respectively) i will be really happy.
- - - Updated - - -
This will be helpful: https://github.com/szwacz/nw-flash-trust
- - - Updated - - -
Can someone test HabClient? I want to know if work with someone else.
- - - Updated - - -
Okay, many members read this thread, but no one answers on it. --'
-
re: Nova [Node, Electron, PHP, REST, Multi-Platform]
I suggest finishing off Yupi before wasting your time on this project.
-
re: Nova [Node, Electron, PHP, REST, Multi-Platform]
Quote:
Originally Posted by
NoBrain
I suggest finishing off Yupi before wasting your time on this project.
I'm not Yupi developer. Only maintainer.
- - - Updated - - -
Updates (version.: v0112)
- Improved Security Checks
- Now we have Server validation
- Now we have Token validation
- More pages with more content
- Improved Assets arrangement.
- Improved code to bey async with callbacks.
- Improved how the core it's made
- Included NodeModules directly in the folder
Planned (version.: v0113)
- Using full RESTful stack (not only request(), but request.get(), request.put(), etc.)
- this will improve the async stack of the app
- Improved code, documentation and using more APIs
Future (version.: v0114)
- Starting the top-bar in the client
- Improve the App Menu
- Create customized About menu
- More things?
-
re: Nova [Node, Electron, PHP, REST, Multi-Platform]
Quote:
Originally Posted by
saamus
People i'm really happy to say, that first version of HabClient, it's running and working 100%! Tested with Yupi Emulator!
I will update this thread with images and more informations. And create the RELEASE at GitHub.
I hope everyone here like it.
- - - Updated - - -
Important Notice.: If someone can provide me the PepperFlash.dll and PepperFlash.so, i will be happy.
Already have PepperFlash.plugin (MacOS)
- - - Updated - - -
OK! Updated Main Thread. Uploading the App. (I dunno why, but the electron-packager makes 100mb of this... lmfao) (40MB of PepperFlash, and some MB of the real app...)
Who will download something of 100MB?
- - - Updated - - -
For future: Making cache of Assets?
- - - Updated - - -
Also: If someone can give me the AdobeShockwave.dll and .so (windows & linux respectively) i will be really happy.
- - - Updated - - -
This will be helpful:
https://github.com/szwacz/nw-flash-trust
- - - Updated - - -
Can someone test HabClient? I want to know if work with someone else.
- - - Updated - - -
Okay, many members read this thread, but no one answers on it. --'
100MB is quite common nowadays anyways.
-
re: Nova [Node, Electron, PHP, REST, Multi-Platform]
Quote:
Originally Posted by
The General
100MB is quite common nowadays anyways.
Thinking on this way.. I agree. But entire Habbo SWF is... 500MB.. (i think).. So a program that it's more 100MB. Okay, are 100MB that you will download only one time..
Anyways...
- - - Updated - - -
Ah also i will develop the Windows Installer. Actually o think that only the Windows and Mac Version will support natively the hhotel:// wrapper...
-
re: Nova [Node, Electron, PHP, REST, Multi-Platform]
Awesome! I like it :love:
Let's hope it gets safely.
-
re: Nova [Node, Electron, PHP, REST, Multi-Platform]
Quote:
Originally Posted by
Mackors
Awesome! I like it :love:
Let's hope it gets safely.
Thanks @Mackors, it's becoming more secure. This weekend i will post more commits.
The beta release it's basically done. I only will improve the english stuff. Some more views. And more API things.
And also organize the GitHub repository hahah.
I wonder more people comment here. A lot of people was reading this.. No one answering. Is this community dead?