Cogdemos.ink - New ChoiceScript Game Hosting

I took the liberty of editing the thread title as Moody is no longer the name of the hosting site :slight_smile:

10 Likes

Honestly, just one quick save slot would probably work fine for this. No naming it or whatever, just a quicksave button that always overwrites the same slot. Keeps most of the slots protected but makes it easy to keep a rolling save going.

7 Likes

If I may have a small suggestion, now that I saw dashingdon will close doors, it’s quite likely that many authors will move to cogdemos. But probably many many people who have visited the website in the past have old cookies which, as we already know, will mess up the page and the games. So maybe it would be nice to put a welcome note every time someone opens the page that informs others of the most common problems and if they run into anything they should first just delete their cookies? I’m simply concerned that many people who don’t know what has been going on might get upset and send a flood of messages saying the website doesn’t work, both to @EvilChani and the authors. And we all know that not everyone will be polite saying so. I already saw people complaining about the sorting of games without knowing why the sorting is the way it is at the moment.

So maybe just a pop-up message that says something like, hey, the website was under maintenance at this and this time and got a few cool new functions. Not everything works perfectly yet but the devs are working on it. Most issues can be solved by deleting the cogdemos cookies. If you have cookies before XY date, please start by deleting them. Etc.

I don’t know if this is possible for you to do or if you even want to do it (it’s okay if you don’t), but I was thinking it might spare you some headache in the future because not everyone is reading these forum threads.

9 Likes

So, um, not sure if it is the right thread, but I have encountered a pretty big problem when trying to import my game from dashingdon. The startup file has the *sm_init command since I didn’t edit it.

But after when going to playtest it, it hit me with an error about how the command is inexistent. No problem, I go and delete it and upload the new file.

The problem is, even after that, the command is still in the startup, though on my end it looks good.

I would love to show how it looks, but I can’t add images yet.

2 Likes

Not annoying at all. What do you use to auto translate? I can have the dev take a look at this, as it’s above my coding skills right now!

Good idea. We’ll work on getting this so there will be a quick save slot.

@jcollins Thanks for the suggestion! I’ll see if I can get a modal that pops up before the site loads, with a welcome and asking people to wipe their cookies and cache for the site before starting a game to ensure they don’t receive inexplicable errors in the game. I can leave it up for a few months, then maybe just set up a troubleshooting section with that info and a way to contact me if they find any weird bugs not related to authors’ games.

Did you try deleting your startup.txt before uploading the new one?

I would suggest clearing your cache and deleting your cookies, then trying again.

5 Likes

Thank you! I use Google Translate (automatic page translation)

It’s the only one that can translate things into Portuguese in a coherent and informal way. And it’s the only reason I still use this RAM-eating black hole. (Google Chrome)

5 Likes

Okay, I’ll ask him to take a look at why the translation won’t work.

We’ll try to get it working as soon as we can–since dashingdon is shutting down at the end of the month, I’m trying to get a couple of annoying bugs fixed first (like why sorting by updated returns incorrect dates but sorts by what’s actually in the database, and getting a modal up to get everyone to clear their cache/cookies). Once the nitpicky things are fixed, we’ll start work on this.

6 Likes

Hello, has anyone here encountered the same issue of not being able to update the scenefiles for Cogdemos.ink? I’ve uploaded a new scene file with some fixes, but the changes simply don’t reflect on the test demo, and the /scenes will show the scene as it was when initially uploaded without any changes.

If you have code sharing on, I would use that and see if the file is actually changed. If it’s changed, and you’re still not seeing them reflected in your playthrough, it’s likely a cookie is causing the issue.

If you had visited cogdemos before a couple of weeks ago, there is a persistent cookie that was saved that causes all kinds of problems. Deleting it (and all cogdemos cookies) and your cache for the site should fix it. You only need to do this once, not every time you visit the site.

4 Likes

That worked thank you.

1 Like

May have found a bug: when you refresh page and cogdemos does “Game updated, restarting chapter”, it doesn’t initialize the achievements. When you reach an achievement, it’ll pop up the error “Achievement was not declared in startup” even if it was

Is this after updating your game files?

If it is possible to do, could we add a stats page for games to the dashboard?
Right now the views only show on the frontpage

3 Likes

Only happens after updating files, yes. Works normally if there’s no updates

1 Like

Yep, I can add that to the list of things to add.

Just curious, do you all know if people used the tag filters much over at dd? I didn’t add those when we started coding it in laravel, and the database isn’t really set up to handle them, but if it’s something people like, I can add that to the list as well. At work right now, but am going to try to fix the timeout problems once I’m done for the day.

What happens if you restart the game manually? I’m thinking that the refresh and restarting from there isn’t actually restarting the game properly (i.e., reloading startup.txt).

2 Likes

Tried a handful of tests to see what happens:

  1. Refreshing the page without an update doesn’t cause an issue
  2. Loading a save without an update doesn’t cause an issue
  3. Refreshing the page with an update does the ‘Game updated, restarting chapter’ and doesn’t load the achievements
  4. Loading a save with an update doesn’t fix it, doesn’t load the achievements

Restarting the game entirely (via restart button) loads startup from scratch and fixes the issue

3 Likes

Responding in between working so I know what to look at when I’m done for the day, so sorry for the questions…

For #3, I’m thinking it’s definitely not reloading correctly and startup.txt isn’t being processed.

For #4… are there changes to the achievements in the new startup.txt? Were any of the achievements triggerable (is that a word?) prior to the state of your game save? Saves often break when changes are made to variables and achievements, but I didn’t think they would break if there was nothing triggered before the save was made, so if it’s not working that way, I need to look into it.

The dev has suggested forcing the load of variables and achievements every time a game is opened (much like it’s done once published, using a js file). It may be that we need to do that in the future. It won’t fix problems that stem from saves being incompatible with game versions, though.

4 Likes

No changes in the startup, only fixed a few typos in the scene file itself.

The achievements were all working normally up until the update; oddly enough, variables still work normally, but achievements seem to be discarded when an update is found and the chapter is restarted

2 Likes

I tried to use them sometime, but I’m not sure thry worked properly. I got expexted results only at the page I was at, not after I changed pages.

1 Like

still getting that achievement error. :sob:No rush, please take your time.


4 Likes