Code Monkey home page Code Monkey logo

chocolatey's Introduction



We're having a really bad day.

The Unicorns have taken over. We're doing our best to get them under control and get GitHub back up and running.

chocolatey's People

Contributors

airilx96 avatar ducksane avatar emeto avatar joorren avatar ovflowd avatar s150217754 avatar scottstamp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chocolatey's Issues

Purse - Habbo Club Date

Hello,

Habbo Club remaining days is showing incorrectly due to a small error.

To fix this, a small code change is required:

In /app/Models/Purse.php

Line 60:

Replace:
$habboDays = floor(($habboDays->club_expire_timestamp ?? 0) - time() / 86400);

With:
$habboDays = floor((($habboDays->club_expire_timestamp ?? 0) - time()) / 86400);

Thanks!

Habbo's Angular Timestamp Pattern

The Angular Core isn't using default UNIX Timestamp as Time Format. As far i know they're using GUNIX Timestamp. That adds more two digits.

This Issue it's about changing the GUNIX Format to UNIX.

Unable to login - 401 Unauthorized

Hello, after creating an account, everything worked fine but since I have logged out, I am unable to log back in. I believe this is similar to issue #30 but this time I don't see any form of the login being a success. The email and password boxes turn red and shake because the login failed.

Looking in the console, when I try to login this file api/public/authentication/login failed because of a 401 unauthorized error.

http://i.imgur.com/xb3Ujmb.png

Need code Minimails

Minimails are little messages that users receive from the staff. About some updates.

News Title Issue

Hello,

News, and its Alt Tag etc., is showing "Race to the Limit!" rather than the actual title.

Needs replacement in:

  • /resources/views/habbo-web-news/articles-front.blade.php
  • /resources/views/habbo-web-news/articles-category.blade.php
  • /resources/views/habbo-web-news/articles-view.blade.php

Thanks!

Login Problem on Chocolatey 2.110

Hello,

I am using Chocolatey 2.110 and encountering an issue with the CMS.

I was able to see that my login credential were accepted (being logged in with my avatar on the top-right hand of the screen) but was being redirected back to the Homepage, with myself logged out, after one second or so.

Console Log from Chrome:

GET http://localhost:8080/extradata/private/moderations/recentModerations 401 (Unauthorized)
GET http://localhost:8080/api/client/clienturl 401 (Unauthorized)
Navigated to http://localhost:8080/

NUX not available after first time

So what happens is that when people join the hotel they dont get to the client because of the "Missing Flash Player" and they fix it by logging again to their new account and by doing that they dont get to change their name, also this
screenshot_1
is a error that happens every so often and haven't found anything related to it

Add support for topsite voting

Wondering if y'all could add some sort of topsite voting system in the CMS? Maybe an option to force voting the first time you login that day?

Category Sorting and Multiple Categories

Hi,

Some low-priority suggestions:

Category Sorting
Is it possible to sort categories so that important/hot categories such as "Campaign & Activities" are first?

Screenshot from Habbo: http://imgur.com/a/L794s

Multiple Categories

Also, would it be possible to have one article to be listed on multiple categories? I have tried using commas (e.g. safety, technical.updates under "categories" of chocolatey_articles table) but it wouldn't work.

Screenshot from Habbo: http://imgur.com/a/kC4Nw

Thanks!

Joined Habbo Date Translation

Hello!

The Joined Date on user's profile page requires translation based on the selected language.

Currently, it is showing in Portuguese, example:
JOINED HABBO ON 20 DE JULHO DE 2014

Thanks!

Group badge don't show up (habbo-imaging)

Hey,
I don't know if its a cms related issue but the group badge in the client don't show up.
The .htaccess is well configured (the default one you provided), but when i request the badge via url, it print me a breaked gif.
"The image 'http://...." cannot be displayed because it contains errors." on Mozilla and http://prnt.sc/e7pkyf on Edge.

Incorrect My Purse Info (HabboMall)

Hello,

Presently, only credits are displaying accurately under My Purse (HabboMall).

Developer may wish to tap to the following tables to display Diamonds and HC correctly:

Diamonds
users_currency > type = "5"

Habbo Club (HC)
users_settings > club_expire_timestamp

Builders Club
As Builders Club are not coded, or planned to be coded in Arcturus, at least for the near future, another currency can be displayed (i.e. Duckets - users_currency > type = "0").

Thanks!

Help to translate to French

Hey,
I want to help you to translate to french but i saw there is a lot of lines to translate.
There is any method to take text from french hotel with api ?

Profile page incomplete?

I haven't seen you mentioning anywhere that this is in progress so..
What's missing:

  • rooms
  • friends
  • rooms
  • badges
  • taken pictures

Chocolatey:

screenshot_4

Habbo:

screenshot_3

Unable to View News

Hello,

URL /habbo-web-news/en/production/articles/1_content.html is showing a 500 (Internal Server Error).

To fix this, a small code change is required.

In /resources/views/habbo-web-news/articles-view.blade.php

Line 11:
Replace {{$articleContent->title}} with {{$article->title}}

Thanks!

Option to config badgeUrl

Hello,

Currently, to configure badgeUrl (album1584), users have to edit the /public/habbo-web/scripts.js.

As many hotels are hosting their own Badge Files (album1584), an easier non-complicated way to define badgeUrl is to include it under /config/chocolatey.php.

Thanks!

Page Title

Hello,

Page Title should end with "- Hotel Name".

Example:

  • Buy - Hotel Name
  • Safety - Hotel Name

Thanks!

Client disconnects with 403 Forbidden on SWFS

Ok, after getting everything working and creating an account, I went to load the client and it disconnects just after it loads.

Looking in the console, I see the link to my SWF folder which failed to load due to a 403 forbidden. I'm guessing this is what is causing the problem as if the client can't access my main SWF folder, none of the other items like texts and variables cannot be loaded either.

I have tried changing the allowed ips in the .env file to see if that helps but it doesn't :/

Recode Rooms Leaderboard

Re-code Rooms Leaderboard by matching the parameters of Espreso (ovflowd/espresso#19)

If espreso isn't installed, continue following by the default way (Amount of Users in a Room)

Attention.: Recode Rooms Leaderboard following by Amount of users on Room

CMS not updating ip_current

Hello,

It seems that the CMS is not updating ip_current on the "users" table.

Can anyone verify whether they are also facing this issue?

Thanks!

News dont show up

screenshot_23

I have the original test article still in my database. this might be linked with my last problem that I might be missing something (im using xampp with apache 2.4 and php 7.1.1) and of course 2.000

INSERT INTO arc.chocolatey_articles (id, title, description, content, author, categories, imageUrl, thumbnailUrl, roomId, created_at, updated_at) VALUES ('1', 'Welcome to Chocolatey', 'You had successfully installed Chocolatey. Now let's drink a cup of Hot Chocolate?', 'It's good see that you chosed right!

Chocolatey

it's the right choose. We're glad you chosed us.
- Claudio Santoro', 'System', 'technical.updates', 'https://habboo-a.akamaihd.net/web_images/habbo-web-articles/lpromo_gen15_51.png', 'https://habboo-a.akamaihd.net/web_images/habbo-web-articles/lpromo_gen15_51_thumb.png', '0', '2017-02-10 16:53:28', '2017-02-10 16:53:28');

Translating the cms

Im trying to translate the cms so I ripped the (language).json (fi.json) from Habbo.fi and I renamed it to com.blade.php and all I get is 'Whoops, looks like something went wrong.'

also I copied the bottom 4 lines (rss, twitter, facebook and hotel uri) to the new one

Facebook Login/Register is not working

Console error:
TypeError: Cannot read property 'toString' of undefined vendor.js:3226
at Object.o.create (https:///habbo-web/scripts.js:48:4489)
at i.create (https://
/habbo-web/scripts.js:48:2920)
at a (https:///habbo-web/vendor.js:3573:42)
at https://
/habbo-web/vendor.js:3582:21
at p.$eval (https:///habbo-web/vendor.js:3934:36)
at p.$digest (https://
/habbo-web/vendor.js:3889:60)
at p.$apply (https:///habbo-web/vendor.js:3960:35)
at s (https://
/habbo-web/vendor.js:2797:126)
at b (https:///habbo-web/vendor.js:2873:56)
at XMLHttpRequest.E.onload (https://
/habbo-web/vendor.js:2891:88) undefined

Lumen log:
[2017-02-22 14:09:08] lumen.ERROR: PDOException: SQLSTATE[HY000] [1045] Access denied for user 'forge'@'localhost' (using password: NO) in C:\xampp\htdocs\vendor\illuminate\database\Connectors\Connector.php:68
Stack trace:
#0 C:\xampp\htdocs\vendor\illuminate\database\Connectors\Connector.php(68): PDO->__construct('mysql:host=loca...', 'forge', '', Array)
#1 C:\xampp\htdocs\vendor\illuminate\database\Connectors\Connector.php(43): Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=loca...', 'forge', '', Array)
#2 C:\xampp\htdocs\vendor\illuminate\database\Connectors\MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection('mysql:host=loca...', Array, Array)
#3 C:\xampp\htdocs\vendor\illuminate\database\Connectors\ConnectionFactory.php(183): Illuminate\Database\Connectors\MySqlConnector->connect(Array)
#4 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors{closure}()
#5 C:\xampp\htdocs\vendor\illuminate\database\Connection.php(882): call_user_func(Object(Closure))
#6 C:\xampp\htdocs\vendor\illuminate\database\Connection.php(903): Illuminate\Database\Connection->getPdo()
#7 C:\xampp\htdocs\vendor\illuminate\database\Connection.php(392): Illuminate\Database\Connection->getReadPdo()
#8 C:\xampp\htdocs\vendor\illuminate\database\Connection.php(318): Illuminate\Database\Connection->getPdoForSelect(true)
#9 C:\xampp\htdocs\vendor\illuminate\database\Connection.php(640): Illuminate\Database\Connection->Illuminate\Database{closure}('select * from ...', Array) #10 C:\xampp\htdocs\vendor\illuminate\database\Connection.php(607): Illuminate\Database\Connection->runQueryCallback('select * from ...', Array, Object(Closure))
#11 C:\xampp\htdocs\vendor\illuminate\database\Connection.php(326): Illuminate\Database\Connection->run('select * from ...', Array, Object(Closure)) #12 C:\xampp\htdocs\vendor\illuminate\database\Query\Builder.php(1718): Illuminate\Database\Connection->select('select * from ...', Array, true)
#13 C:\xampp\htdocs\vendor\illuminate\database\Query\Builder.php(1703): Illuminate\Database\Query\Builder->runSelect()
#14 C:\xampp\htdocs\vendor\illuminate\database\Eloquent\Builder.php(485): Illuminate\Database\Query\Builder->get(Array)
#15 C:\xampp\htdocs\vendor\illuminate\database\Eloquent\Builder.php(469): Illuminate\Database\Eloquent\Builder->getModels(Array)
#16 C:\xampp\htdocs\vendor\illuminate\database\Eloquent\Builder.php(401): Illuminate\Database\Eloquent\Builder->get(Array)
#17 C:\xampp\htdocs\vendor\illuminate\database\Eloquent\Builder.php(276): Illuminate\Database\Eloquent\Builder->first(Array)
#18 C:\xampp\htdocs\vendor\illuminate\database\Eloquent\Model.php(1316): Illuminate\Database\Eloquent\Builder->find(false)
#19 C:\xampp\htdocs\vendor\illuminate\database\Eloquent\Model.php(1328): Illuminate\Database\Eloquent\Model->__call('find', Array)
#20 C:\xampp\htdocs\app\Http\Controllers\ArticleController.php(27): Illuminate\Database\Eloquent\Model::__callStatic('find', Array)
#21 [internal function]: App\Http\Controllers\ArticleController->many('en', 'front')
#22 C:\xampp\htdocs\vendor\illuminate\container\BoundMethod.php(28): call_user_func_array(Array, Array)
#23 C:\xampp\htdocs\vendor\illuminate\support\helpers.php(912): Illuminate\Container\BoundMethod::Illuminate\Container{closure}()
#24 C:\xampp\htdocs\vendor\illuminate\container\BoundMethod.php(86): value(Object(Closure))
#25 C:\xampp\htdocs\vendor\illuminate\container\BoundMethod.php(30): Illuminate\Container\BoundMethod::callBoundMethod(Object(Laravel\Lumen\Application), Array, Object(Closure))
#26 C:\xampp\htdocs\vendor\illuminate\container\Container.php(524): Illuminate\Container\BoundMethod::call(Object(Laravel\Lumen\Application), Array, Array, NULL)
#27 C:\xampp\htdocs\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php(743): Illuminate\Container\Container->call(Array, Array)
#28 C:\xampp\htdocs\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php(709): Laravel\Lumen\Application->callControllerCallable(Array, Array)
#29 C:\xampp\htdocs\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php(683): Laravel\Lumen\Application->callLumenController(Object(App\Http\Controllers\ArticleController), 'many', Array)
#30 C:\xampp\htdocs\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php(645): Laravel\Lumen\Application->callControllerAction(Array)
#31 C:\xampp\htdocs\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php(630): Laravel\Lumen\Application->callActionOnArrayBasedRoute(Array)
#32 C:\xampp\htdocs\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php(600): Laravel\Lumen\Application->handleFoundRoute(Array)
#33 C:\xampp\htdocs\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php(532): Laravel\Lumen\Application->handleDispatcherResponse(Array)
#34 [internal function]: Laravel\Lumen\Application->Laravel\Lumen\Concerns{closure}(Object(Illuminate\Http\Request))
#35 C:\xampp\htdocs\vendor\laravel\lumen-framework\src\Routing\Pipeline.php(52): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#36 C:\xampp\htdocs\vendor\rdehnhardt\lumen-maintenance-mode\src\Http\Middleware\MaintenanceModeMiddleware.php(48): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing{closure}(Object(Illuminate\Http\Request))
#37 C:\xampp\htdocs\vendor\illuminate\pipeline\Pipeline.php(148): Rdehnhardt\MaintenanceMode\Http\Middleware\MaintenanceModeMiddleware->handle(Object(Illuminate\Http\Request), Object(Closure))
#38 [internal function]: Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Illuminate\Http\Request))
#39 C:\xampp\htdocs\vendor\laravel\lumen-framework\src\Routing\Pipeline.php(32): call_user_func(Object(Closure), Object(Illuminate\Http\Request))
#40 C:\xampp\htdocs\vendor\illuminate\pipeline\Pipeline.php(102): Laravel\Lumen\Routing\Pipeline->Laravel\Lumen\Routing{closure}(Object(Illuminate\Http\Request))
#41 C:\xampp\htdocs\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php(780): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#42 C:\xampp\htdocs\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php(534): Laravel\Lumen\Application->sendThroughPipeline(Array, Object(Closure))
#43 C:\xampp\htdocs\vendor\laravel\lumen-framework\src\Concerns\RoutesRequests.php(475): Laravel\Lumen\Application->dispatch(NULL)
#44 C:\xampp\htdocs\index.php(27): Laravel\Lumen\Application->run()
#45 {main}

And a lot more of similar errors

PHP Artisan Migration Error

Hello,

I am unable to do php artisan migrate on Chocolatey 2.100.

Error message as below:

C:\xampp\htdocs>c:/xampp/php/php.exe artisan migrate
PHP Fatal error:  Uncaught Error: Class 'Dotenv\Dotenv' not found in C:\xampp\htdocs\bootstrap\app.php:6
Stack trace:
#0 C:\xampp\htdocs\artisan(18): require()
#1 {main}
  thrown in C:\xampp\htdocs\bootstrap\app.php on line 6

Fatal error: Uncaught Error: Class 'Dotenv\Dotenv' not found in C:\xampp\htdocs\bootstrap\app.php:6
Stack trace:
#0 C:\xampp\htdocs\artisan(18): require()
#1 {main}
  thrown in C:\xampp\htdocs\bootstrap\app.php on line 6

Can't register, captcha and artisan migrate question

Hey. I'm experiencing the same error as RetroPiggy in the issue #35
I'm using chocolatey with the latest version of XAMPP. I've configured the database information in the .env file. I have some trouble understanding how to execute the migration correctly, how exactly do I do it and is this the reason for not being able to register og sign in?

Thanks in advance!

Code Facebook Login/Auth

This feature is about coding Facebook Login capability.

Facebook Login it's a fundamental feature.

Can't register

I got the same problem like in #35 but i have the newest Version of Xampp and PHP.

Unable to Install chocolatey 2.080

  1. Using the binaries.zip file provided.
  2. Was using chocolatey 2.063 previously. Deleted the folder and extracted 2.080 and edited chocolatey.php and .env before running php artisan migrate in chocolatey folder.

Error message when running php artisan migrate:

[Illuminate\Contracts\Container\BindingResolutionException]
Target [Illuminate\Contracts\Console\Kernel] is not instantiable.

Please advice.

Operating Environment
Running on XAMPP for Windows with PHP7

Client Stuck 76%

Hi !
I know i can found much issue like that on internet but the only solution i found is about the client page configuration.
All that i tested work, but when i went to go on the client, the loading stuck at 76%.
I have configured the .env with my mysql password and also the chocolatey.php in config folder, and setup correctly my game port of the emu.
Firstly i used the default SWF (default link) but it doesn't work, and after i use my own SWF (Habboon SWF found on sulake.cc and recommanded in the Artcurus forum PRODUCTION-201601012205-226667486)
But nothing to do..
The client stay stuck at 76% and it show that on the emu:
Screen emu: http://prnt.sc/e73bn9
Screen Console (F12): http://prnt.sc/e73brj
(I use XAMPP with no virtual hosts and all files in the htdocs folder)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.