Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Releases
Cascade - C# 6.0 - Updated Regularly
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Seriosk" data-source="post: 388310" data-attributes="member: 72056"><p><strong>What is Cascade?</strong></p><p>Cascade is a Habbo Notification program that will send you notifications to the console window when new things happen involving your hotel... ye.. I know.. pretty damn simple and in some views pointless, but what the hell.. its something, and hopefully me or some other developer will maybe extend it and make it that little bit useful.</p><p><strong></strong></p><p><strong>Development GitHub</strong></p><ul> <li data-xf-list-type="ul"><a href="https://github.com/dasavage/Cascade" target="_blank">Click here for Github Repoistory</a></li> </ul><p></p><p>[SPOILER="Screenshots"]</p><p><img src="http://image.prntscr.com/image/aa254bcb143a4ad39d5d1e9c0a6effeb.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p><p>[/SPOILER]</p><p></p><p>Have fun, I have included the source so you guys can edit as you go along, didn't really put much effort in just had a spare hour to kill so thought I would make something simple, enjoy.. don't think I'll be pushing any updates for this after 3.0 unless anyone wants me to, but you can probably add other things such as notifications for other tables and what not</p><p></p><p>Also I know this isn't the best way to do this but its just an easy way for some people who just don't want to go to the trouble of setting up web sockets or anything like that... just edit config and go.</p><p></p><p><strong>But Emulator Data is cached?</strong></p><p>I know, if you want it to live-update then PM me and I'll give you the code to uncache the data that Cascade uses, other than that, you'll have to wait for a user logout and the emu to update the db... Everything else like bans, registrations, etc works just that the credits, pixels and other things involving the users table wont really be live because of the cached data..</p><p></p><p><strong>UPDATE 1.1:</strong></p><ul> <li data-xf-list-type="ul">Improved query quality, faster and more specific i suppose...</li> </ul><p><strong>UPDATE 2.0:</strong></p><ul> <li data-xf-list-type="ul">Can not get notified when a user enters the client (change of auth_ticket)</li> <li data-xf-list-type="ul">Can not get notified when a user logs in (Change of last_online)</li> <li data-xf-list-type="ul">Can now get notified when a user changes clothes (Change of look column)</li> <li data-xf-list-type="ul">Can now get notified when a user tries entering and they are banned (change of auth ticket + ban = true check)</li> <li data-xf-list-type="ul">Can now get notified when a new user is banned (checks for added records to ban table</li> </ul><p><strong>UPDATE 3.0</strong></p><ul> <li data-xf-list-type="ul">Improved a lot of the codes quality.</li> <li data-xf-list-type="ul">Can now get notified when a user is ranked (change of rank).</li> <li data-xf-list-type="ul">Can now get notified if a users credits change.</li> <li data-xf-list-type="ul">Can now get notified if a users pixels change.</li> <li data-xf-list-type="ul">Can now get notified if a users vip_points change.</li> <li data-xf-list-type="ul">Can not get notified when a user changes their username</li> <li data-xf-list-type="ul">Your now told if there is a new version of Cascade available for download.</li> </ul><p><strong>Plans for 4.0 (Let me know if you want a 4.0)</strong></p><ul> <li data-xf-list-type="ul">Ability to select different color text for each type of log</li> <li data-xf-list-type="ul">Individual config settings for each type of log (not just cascade.disable_all_cache_checks)</li> <li data-xf-list-type="ul">Automatic update feature, updates to the latest version</li> </ul><p><strong>Bugs/Issues Known:</strong></p><p>Just that sometimes data can be incorrect but usually 99% of the time its correct, for example if a machine was banned and there are two accounts online with that machine id, it might mistake the first one and the second one was actually banned..</p><p></p><p>[SPOILER="Boring Information, read if you want..."]</p><p>Just want to clarify some things first.. so basically the timer interval basically determines the whole application, just make sure not to set it too low, I recommend 1000, I was able to get away with 200ms without it lagging, but I had like 10 users in my user table, for big hotels with a lot of users registered it may lag, it all depends on how fast your server is at executing MySQL querys, just try it and find a comfortable interval, obviously the lower it is, the faster you get updated.</p><p></p><p>You'll be told if your interval is too low because it will say "Timer is lagging" so ye, just make sure that isn't printing to the console.</p><p>[/SPOILER]</p></blockquote><p></p>
[QUOTE="Seriosk, post: 388310, member: 72056"] [B]What is Cascade?[/B] Cascade is a Habbo Notification program that will send you notifications to the console window when new things happen involving your hotel... ye.. I know.. pretty damn simple and in some views pointless, but what the hell.. its something, and hopefully me or some other developer will maybe extend it and make it that little bit useful. [B] Development GitHub[/B] [LIST] [*][URL='https://github.com/dasavage/Cascade']Click here for Github Repoistory[/URL] [/LIST] [SPOILER="Screenshots"] [IMG]http://image.prntscr.com/image/aa254bcb143a4ad39d5d1e9c0a6effeb.png[/IMG] [/SPOILER] Have fun, I have included the source so you guys can edit as you go along, didn't really put much effort in just had a spare hour to kill so thought I would make something simple, enjoy.. don't think I'll be pushing any updates for this after 3.0 unless anyone wants me to, but you can probably add other things such as notifications for other tables and what not Also I know this isn't the best way to do this but its just an easy way for some people who just don't want to go to the trouble of setting up web sockets or anything like that... just edit config and go. [B]But Emulator Data is cached?[/B] I know, if you want it to live-update then PM me and I'll give you the code to uncache the data that Cascade uses, other than that, you'll have to wait for a user logout and the emu to update the db... Everything else like bans, registrations, etc works just that the credits, pixels and other things involving the users table wont really be live because of the cached data.. [B]UPDATE 1.1:[/B] [LIST] [*]Improved query quality, faster and more specific i suppose... [/LIST] [B]UPDATE 2.0:[/B] [LIST] [*]Can not get notified when a user enters the client (change of auth_ticket) [*]Can not get notified when a user logs in (Change of last_online) [*]Can now get notified when a user changes clothes (Change of look column) [*]Can now get notified when a user tries entering and they are banned (change of auth ticket + ban = true check) [*]Can now get notified when a new user is banned (checks for added records to ban table [/LIST] [B]UPDATE 3.0[/B] [LIST] [*]Improved a lot of the codes quality. [*]Can now get notified when a user is ranked (change of rank). [*]Can now get notified if a users credits change. [*]Can now get notified if a users pixels change. [*]Can now get notified if a users vip_points change. [*]Can not get notified when a user changes their username [*]Your now told if there is a new version of Cascade available for download. [/LIST] [B]Plans for 4.0 (Let me know if you want a 4.0)[/B] [LIST] [*]Ability to select different color text for each type of log [*]Individual config settings for each type of log (not just cascade.disable_all_cache_checks) [*]Automatic update feature, updates to the latest version [/LIST] [B]Bugs/Issues Known:[/B] Just that sometimes data can be incorrect but usually 99% of the time its correct, for example if a machine was banned and there are two accounts online with that machine id, it might mistake the first one and the second one was actually banned.. [SPOILER="Boring Information, read if you want..."] Just want to clarify some things first.. so basically the timer interval basically determines the whole application, just make sure not to set it too low, I recommend 1000, I was able to get away with 200ms without it lagging, but I had like 10 users in my user table, for big hotels with a lot of users registered it may lag, it all depends on how fast your server is at executing MySQL querys, just try it and find a comfortable interval, obviously the lower it is, the faster you get updated. You'll be told if your interval is too low because it will say "Timer is lagging" so ye, just make sure that isn't printing to the console. [/SPOILER] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Releases
Cascade - C# 6.0 - Updated Regularly
Top