Cogdemos.ink - New ChoiceScript Game Hosting

I’m so sorry for your loss, my deepest condolences. Real life always comes first, so please take all the time you need.

2 Likes

My condolences for your loss, its okey, now if you could be so kind to tell me one last thing, how do I delete my cache and cookies? I’m kind of bad with technology so… I don’t know how to do that, the device I always use is not a computer, it’s a phone.

2 Likes

Not sure if you have an android or an iPhone, so here’s a bit of both:

Android

  1. Open your browser.
  2. Android browser: Go to Menu > More > Settings or Menu > Settings > Privacy & Security.
    3.Chrome*: Go to Menu > Settings > Privacy.
  3. Android browser: Tap Clear cache, Clear history, and Clear all cookie data as appropriate.
    5.Chrome*: Tap Clear browsing data at the bottom of the screen, leave the defaults selected (browsing history, cache, and cookies), then tap Clear.

iOS

  1. From the home screen, go to Settings > Safari.
  2. Toward the bottom of Safari’s settings screen, tap the button for Clear History and Website Data, then tap Clear History and Data to confirm.

It seems this storage full issue is popping up more and more. For those using local saves, instead of server saves, I would highly suggest exporting your saves regularly, then clearing your cache and cookies. I’m wondering if we ought to limit the amount you can save locally, so instead of ten saves per game (plus the quick save slot), maybe only five. I’ll ask the dev about it.

1 Like

I didn’t have this issue in dashingdon until I played a LOT of games. Are the saves taking up more space for COGDemos than dashingdon?

Are you not planning to put the new code on GitHub?

No, they shouldn’t be. I talked to the dev and he said that the local storage is limited by the save system, too, so it shouldn’t be causing so many problems for people. I have yet to encounter it myself, so I’m not sure what’s going on. Clearing the cache for the site should work, though.

Eventually. There are some things I want added first, though, and as long as I’m paying the dev for the work, I don’t really want anyone else making changes to the code (partially because it’s not cheap and I don’t want him having to deal with bugs due to other people’s contributions). He’s about to start work on the Patreon plugin, which will be a fairly big change.

After that, I think the biggest things I have planned are some game play additions (adding a back button, showing stat changes to the player if they choose to see them, etc), the ability to import a character at the beginning of sequels (which will most likely require players to have saved their game locally or to build a save with the necessary stats), and the ability to alter stats in-game (with the understanding that, if you break it, it’s your problem, not the author’s). All three of the game play changes, save for the character import, will be something players can choose to enable/use or not. Not sure if it will be an account thing (so you enable the showing of stats and such for all games) or if it will be per game. We’ll figure it out once the Patreon plugin is done.

5 Likes

Hello, I wanted to ask why is my private demo getting views even tho I didn’t share the link with anyone? Friends of mine are also getting the same thing. Are the ppl working the site reading private demos?

2 Likes

The ‘people working the site’ is actually a single volunteer who is maintaining the site in her free time.

The viewcount doesn’t count per person. It counts how many times your demo has been opened, and your own visits count too, every time you open it. Also, setting your game to ‘private’ only makes it so that the game isn’t listed in the public demos list, but it’s still technically ‘public’. If you have concerns about leaks, set the game to restricted and add the usernames of the people you want to give access to. I’m doing that too with my patreon demo. Like that, nobody except the approved users can see the game.

8 Likes

Yeah, I know this but the thing is that I haven’t opened the demo at all to test it yet since uploading it and haven’t given the link to anyone.

I was just wondering where the view came from.

Might be just a bug who knows.

Ty for the help!

Could be someone who knew the title and searched for it? But I highly recommend the ‘restricted’ setting anyway. Especially if you want to keep the game to yourself or just your friends to read it. I think if it’s set to restricted, you get automatic access to it anyway since you are the author.

Edit: sorry, I lied. You have to add yourself to the restricted access list first, and THEN the game will lock down. I just checked. Like this:

4 Likes

Forgive me if this has been asked, but is there a size limit for chapters? I suspect there is, because I have two chapters at 2,656 KB and 3,528 KB that I cannot upload, while all of the smaller chapters are able to.

3 Likes

When I access a game’s statistics and then click return to the game, it doesn’t return. It stays in the statistics, the only way is to use the loading.

That’s not a game bug, that’s the website bug that’s always been there

2 Likes

To answer your question directly, no, the “ppl” working the site are not reading private demos. I’m the only one with admin access to the site, and I do not read private demos, nor would I. I’ve been working as a server admin since 1998, and have worked in healthcare (having to abide by HIPAA) since 2000. If an author has an issue, I may ask if I can see or use their code to troubleshoot (I have done so with @jcollins in the past), but I will not view it without permission, nor will I share it with anyone else.

Someone on the forum here created a python script to grab every game from dashingdon before it shut down. They altered the script so it can do the same from cogdemos, and altered it again to grab private games. The problem with the “private” setting is that it allows anyone with the link to access the game. That is how it worked on dashingdon as well. I don’t believe authors saw the number of views on dashingdon dashboard, though, so they may not have noticed it. But it works the exact same on cogdemos as it did on dashingdon.

I highly recommend using the restricted setting, like @jcollins stated. Unlike with the private setting, having the link does not give one access to the game. You have to be logged in as a user with access (so the python script won’t work unless a user with access runs it). Unfortunately, there’s little I can do to stop thieves who have access, though I have asked the dev to look into it.

At the moment, the dev is working on getting the Patreon API working with the site so authors with Patreons can force authentication through Patreon. So trying to find a way to stop this site scraping will probably have to wait until that is done.

I have apache set to allow uploads up to 20MB. I thought I had changed php.ini as well, but will check and make sure. If it has been changed, there may be something in the code limiting the size, so I’ll take a look at it and get back with you. It will probably be tonight before I get a chance to delve into it.

Yeah, I keep meaning to look at this. The navigation is handled by the choicescript code, though, so I’m not sure what’s causing this.

5 Likes

I don’t recall seeing anything weird happening on checking game’s stats (unless it’s about author’s dashboard or something), but the settings/menu (still can’t find no rhyme nor reason which one the site shows, last time it changed when I visited the page!) doesn’t seem to return to the game from the button, but picking the option from the choices seems to work for me.

Curiously enough, I’m pretty sure all my five views are from me testing what all the different options do.

3 Likes

@Gower Try again to upload it. The code was actually limiting scenes files to 2MB. I found where it was set and changed it to 8MB. I tested, uploading a file that was 3288K and had no issues, so you should be good to go.

4 Likes

Hi @EvilChani!

First off, thank you so much for the hosting platform :slight_smile:

One of the readers of my IF hosted on the site sent in this error message, so I just wanted to check if this might be related to a limit on the number of temp variables? Is there any way to troubleshoot this error and/or something I should avoid doing?

Unrelatedly, I’ve also uploaded a .png image to the site but it doesn’t seem to be showing up on the list of asset files (the rest of the images uploaded without problem). Is there also a limit to the maximum total size of the assets we upload?

Thanks again!

Edit: Oh, one more question, sorry — is it true that every time we upload/edit scene files, old saves may no longer work? (This is something I heard from a reader and I just wanted to verify from the source haha.)

2 Likes

Can’t speak for the edit but it does seem that every time that there’s a update to the demo storywise, the old saves just takes you right to the beginning every time you try to load a old save

I mean, unless the system keeps track of startup changes, it does sound safer.

Looks like browser cache issue on the user’s part, tell them to clear their cache/cookies (or increase it, if that’s an option)?

1 Like

Yeah happened to me as well. Wasnt it supposed to go to start of chapter instead?