Moody.ink - New ChoiceScript Game Hosting

Dash will be able to have a better stab at this, but it sounds like a caching issue to me. I.e. it’s more likely your updated files aren’t being delivered to your browser, rather than any specific change Moody.ink has made to ChoiceScript. If you log in and view your game in a private/incognito window, does it work as expected?

Edit: you should probably also be using fake choice here, if there’s no option bodies. It’s a semantic difference, and shouldn’t be the cause of the issue, but doesn’t hurt to try.

3 Likes

They’re not fake choices. There are option bodies that follow, but I didn’t add them. Would the cache be an issue even after deleting and recreating the game on the site? That’s one thing I tried.

I’m not sure if I can help here. I know that dashingdon.com uses an older version of choicescript that I have not yet taken time to update (sorry about that) but moody.ink uses the latest version of choicescript. It seems that something is being processed differently between the two versions.

1 Like


Is the button at the bottom unavailable? I couldn’t press the next button to see the wip list somehow… :grimacing:

image
i’m trying to save but it won’t work

I really loved the GUI, The colors were easy on the eyes and while I got a bit confused on how to upload the assets to run the game, It wasn’t too hard to find! Over all, I really enjoyed it! Loved the developer save feature ^-^ Though I can’t really find the “Tags” section for some reason, Must be me

2 Likes

You are the best, @dashingdon Thank you for all your efforts!

getting a 500 Internal Server Error Undefined array key "moderator" (2) #0 /var/www/moody.ink/views/dashboard.php(26): flight\Engine->handleError() #1 /hid/flight/template/View.php(125): include('...') #2 /hid/flight/Engine.php(455): flight\template\View->render() #3 /hid/flight/core/Dispatcher.php(204): flight\Engine->_render() #4 /hid/flight/core/Dispatcher.php(142): flight\core\Dispatcher::invokeMethod() #5 /hid/flight/core/Dispatcher.php(48): flight\core\Dispatcher::execute() #6 /hid/flight/Engine.php(65): flight\core\Dispatcher->run() #7 /hid/flight/core/Dispatcher.php(204): flight\Engine->__call() #8 /hid/flight/Flight.php(77): flight\core\Dispatcher::invokeMethod() #9 /var/www/moody.ink/index.php(264): Flight::__callStatic() #10 /hid/flight/core/Dispatcher.php(165): {closure}() #11 /hid/flight/core/Dispatcher.php(143): flight\core\Dispatcher::callFunction() #12 /hid/flight/Engine.php(322): flight\core\Dispatcher::execute() #13 /hid/flight/core/Dispatcher.php(196): flight\Engine->_start() #14 /hid/flight/core/Dispatcher.php(142): flight\core\Dispatcher::invokeMethod() #15 /hid/flight/core/Dispatcher.php(48): flight\core\Dispatcher::execute() #16 /hid/flight/Engine.php(65): flight\core\Dispatcher->run() #17 /hid/flight/core/Dispatcher.php(196): flight\Engine->__call() #18 /hid/flight/Flight.php(77): flight\core\Dispatcher::invokeMethod() #19 /var/www/moody.ink/index.php(1832): Flight::__callStatic() #20 {main}
error

When is this occuring? At login or trying to save or opening a game etc?

I clicked on the dashboard section so I could save my game but it just gave me the error. There’s another error where it wouldn’t let me have a word count but I thought that that was being resolved.

It looks like your login timed out so there were errors in trying to check your account information. I’ve put this in my notes to work on by extending the timer and maybe having a message pop up when the login is about to expire.

1 Like

ah, yep, I’m able to get in now, Though I’m still getting this error when I’m trying to click on the word count

Undefined variable $scene_list (2)
#0 /var/www/moody.ink/index.php(1467): flight\Engine->handleError()
#1 /hid/flight/core/Dispatcher.php(167): {closure}()
#2 /hid/flight/core/Dispatcher.php(143): flight\core\Dispatcher::callFunction()
#3 /hid/flight/Engine.php(322): flight\core\Dispatcher::execute()
#4 /hid/flight/core/Dispatcher.php(196): flight\Engine->_start()
#5 /hid/flight/core/Dispatcher.php(142): flight\core\Dispatcher::invokeMethod()
#6 /hid/flight/core/Dispatcher.php(48): flight\core\Dispatcher::execute()
#7 /hid/flight/Engine.php(65): flight\core\Dispatcher->run()
#8 /hid/flight/core/Dispatcher.php(196): flight\Engine->__call()
#9 /hid/flight/Flight.php(77): flight\core\Dispatcher::invokeMethod()
#10 /var/www/moody.ink/index.php(1832): Flight::__callStatic()
#11 {main}```

I don’t know how easy or difficult it might be, but maybe an option for the authors to manually put the word count in might be nice. It could be a good idea if there’s data inside their files they wouldn’t want to be added to the Word Count. I know I have plenty of extras strewn around in spare files that have a few thousand words in them that I don’t count as part of the project.

As for what Kathy said, I also get the same error whenever I try to use the Word Count function.

I can’t seem to open the moody.ink website. Is it under maintenance?

It appears to be online for me.

1 Like

That’s odd. I can access the website on my phone, but not on my desktop unless I use a VPN.

@dashingdon Whenever I try to access the website, it’s showing me this:

image

Here’s what it says when I run diagnostics:

image

For some reason I’m getting an error when I log in

# 500 Internal Server Error

### Undefined array key "pass" (2)

#0 /var/www/moody.ink/index.php(1620): flight\Engine->handleError() #1 /hid/flight/core/Dispatcher.php(165): {closure}() #2 /hid/flight/core/Dispatcher.php(143): flight\core\Dispatcher::callFunction() #3 /hid/flight/Engine.php(322): flight\core\Dispatcher::execute() #4 /hid/flight/core/Dispatcher.php(196): flight\Engine->_start() #5 /hid/flight/core/Dispatcher.php(142): flight\core\Dispatcher::invokeMethod() #6 /hid/flight/core/Dispatcher.php(48): flight\core\Dispatcher::execute() #7 /hid/flight/Engine.php(65): flight\core\Dispatcher->run() #8 /hid/flight/core/Dispatcher.php(196): flight\Engine->__call() #9 /hid/flight/Flight.php(77): flight\core\Dispatcher::invokeMethod() #10 /var/www/moody.ink/index.php(1832): Flight::__callStatic() #11 {main}```

Hello all,

I realized there are a lot of issues with moody.ink right now that need fixing but I don’t have time currently. I’m making a list of everything for when I have a day off. Apologies for the problems and thank you for your patience.

18 Likes

Getting this error whenever I attempt to create a game:

Moody error

500 Internal Server Error

SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: ‘\xC5\x8D of …’ for column moodydb.game.title at row 1 (0)

#0 /hid/rb-mysql.php(1175): RedBeanPHP\Driver\RPDO->runQuery() #1 /hid/rb-mysql.php(1215): RedBeanPHP\Driver\RPDO->GetAll() #2 /hid/rb-mysql.php(4441): RedBeanPHP\Driver\RPDO->GetOne() #3 /hid/rb-mysql.php(6189): RedBeanPHP\Adapter\DBAdapter->getCell() #4 /hid/rb-mysql.php(6320): RedBeanPHP\QueryWriter\AQueryWriter->insertRecord() #5 /hid/rb-mysql.php(8958): RedBeanPHP\QueryWriter\AQueryWriter->updateRecord() #6 /hid/rb-mysql.php(8508): RedBeanPHP\Repository\Fluid->storeBean() #7 /hid/rb-mysql.php(9618): RedBeanPHP\Repository->store() #8 /hid/rb-mysql.php(12569): RedBeanPHP\OODB->store() #9 /var/www/moody.ink/index.php(1351): RedBeanPHP\Facade::store() #10 /hid/flight/core/Dispatcher.php(165): {closure}() #11 /hid/flight/core/Dispatcher.php(143): flight\core\Dispatcher::callFunction() #12 /hid/flight/Engine.php(322): flight\core\Dispatcher::execute() #13 /hid/flight/core/Dispatcher.php(196): flight\Engine->_start() #14 /hid/flight/core/Dispatcher.php(142): flight\core\Dispatcher::invokeMethod() #15 /hid/flight/core/Dispatcher.php(48): flight\core\Dispatcher::execute() #16 /hid/flight/Engine.php(65): flight\core\Dispatcher->run() #17 /hid/flight/core/Dispatcher.php(196): flight\Engine->__call() #18 /hid/flight/Flight.php(77): flight\core\Dispatcher::invokeMethod() #19 /var/www/moody.ink/index.php(1833): Flight::__callStatic() #20 {main}

Additionally, this error shows up on Dashingdon whenever I attempt to make a new game over there aswell:

Dashingdon error

Deprecated: Return type of RedBeanPHP\OODBBean::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/dashingdon.com/ink/rb-mysql.php on line 1944

Deprecated: Return type of RedBeanPHP\OODBBean::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/dashingdon.com/ink/rb-mysql.php on line 2956

Deprecated: Return type of & RedBeanPHP\OODBBean::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/dashingdon.com/ink/rb-mysql.php on line 2992

Deprecated: Return type of RedBeanPHP\OODBBean::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/dashingdon.com/ink/rb-mysql.php on line 2939

Deprecated: Return type of RedBeanPHP\OODBBean::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/dashingdon.com/ink/rb-mysql.php on line 2974

Deprecated: Return type of RedBeanPHP\OODBBean::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/dashingdon.com/ink/rb-mysql.php on line 3132

Deprecated: Return type of RedBeanPHP\OODBBean::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/dashingdon.com/ink/rb-mysql.php on line 3729

Deprecated: PDOStatement::fetchAll(): Passing null to parameter #1 ($mode) of type int is deprecated in /var/www/dashingdon.com/ink/rb-mysql.php on line 756

Deprecated: PDOStatement::fetchAll(): Passing null to parameter #1 ($mode) of type int is deprecated in /var/www/dashingdon.com/ink/rb-mysql.php on line 756

Fatal error: Uncaught [22007] - SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: ‘\xC5\x8D Of …’ for column coggames.games.title at row 1 trace: #0 /var/www/dashingdon.com/ink/rb-mysql.php(1035): RedBeanPHP\Driver\RPDO->runQuery() #1 /var/www/dashingdon.com/ink/rb-mysql.php(1072): RedBeanPHP\Driver\RPDO->GetAll() #2 /var/www/dashingdon.com/ink/rb-mysql.php(4246): RedBeanPHP\Driver\RPDO->GetOne() #3 /var/www/dashingdon.com/ink/rb-mysql.php(5762): RedBeanPHP\Adapter\DBAdapter->getCell() #4 /var/www/dashingdon.com/ink/rb-mysql.php(5889): RedBeanPHP\QueryWriter\AQueryWriter->insertRecord() #5 /var/www/dashingdon.com/ink/rb-mysql.php(7770): RedBeanPHP\QueryWriter\AQueryWriter->updateRecord() #6 /var/www/dashingdon.com/ink/rb-mysql.php(7341): RedBeanPHP\Repository\Fluid->storeBean() #7 /var/www/dashingdon.com/ink/rb-mysql.php(8490): RedBeanPHP\Repository->store() #8 /var/www/dashingdon.com/ink/rb-mysql.php(11028): RedBeanPHP\OODB->store() #9 /var/www/dashingdon.com/_create.php(96): RedBeanPHP\Facade::store() #10 {main} thrown in /var/www/dashingdon.com/ink/rb-mysql.php on line 768

I want to say this is a small issue, but to be honest, it is a really big issue. If it is not just me getting this issue then it probably won’t be long before people start getting frustrated, and they may not be so nice!

Please take your time though, your health is more important than our satisfaction.

Is the “last updated” feature implemented? I’ve updated the files of my game today, but in the WIP list, it still appears as if the last update was made on 28th December (when I first created it).