Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - KevinCross

Pages: [1] 2 3 ... 7
ChastiKey Chat / Future of ChastiKey
« on: November 10, 2020, 01:52:40 AM »

For quite some time now I've been looking to move on from ChastiKey, after managing it on my own for 4 years in most of my spare time. I didn't want to just close down the app. I wanted to hand it over to the community, and have different people looking after different parts. The app has been a little harder to hand over, and hasn't gone as quickly as I had hoped so I have now decided to release the app code and server code for anyone to look at, in the hope that 2 or 3 similar apps are created to fill the void. I will be releasing the code this week to a small group first. This group has offered to look at the code to make sure there aren't any major weaknesses that could be exploited. After that it will be released for everyone to see.

Any app built around it will be released with a new name, but there will hopefully be one that will continue the ChastiKey name (assuming the developers want it). One that can work alongside the team that are now running the ChastiKey Discord server, in order to keep it alive and thriving.

I will in the meantime continue to run and manage the ChastiKey app with the hope of shutting it down by the middle to end of 2021, depending on the progress of developments with other apps.

As for your locks, stats, and history, there will hopefully be an option closer to the time that will let you transfer your data over to other apps, if the developers of those apps let you transfer the data across. That way you may not need to start again. This still needs to be worked out, and there's plenty of time to discuss that.

Will have to wait and see over the next couple of months if anyone starts to work on something.

I will share the github link here too once it's available for all.

Request / Share / Exchange ChastiKey Locks / Locktober 2020 Locks
« on: September 08, 2020, 09:14:58 AM »
Here is a list of Locktober 2020 locks that have been created by a number of different keyholders. You'll find a new post below for each lock. Check this thread regularly as more may be added before October.

Please read any rules before loading as you may find yourself locked longer than expected or frozen if you load one too early or late.

If you have a Locktober lock that you'd like to share then please let me know via a PM/DM on here or Discord.

Here's an example of the type of locks you could expect from the 2019 Locktober event:

ChastiKey Chat / ChastiKey API
« on: June 17, 2020, 09:43:36 AM »

As most of you know there is a basic (read only) API for ChastiKey which has a number of endpoints available. To access the API you will need to create an API project from within the ChastiKey app to generate the required access tokens.

Documentation for the latest version of the ChastiKey API can be found here:


ChastiKey Chat / Recent connection issues
« on: October 19, 2019, 10:10:07 AM »
Most people should have access by now to the app but here may still be some that are stuck on the load screen with the error saying that it can't connect to the server. If you're still experiencing it you will need to either re-install the app, or clear out the cache/data if you're on Android (I don't know if you can do a similar thing on iOS). Once re-installed or cleared, the app will often generate a new account and user ID so you will need to restore your old user ID to get your locks back.

If you haven't already written or taken a screenshot of your user ID you will need to send me a screenshot of the locks you have in the app along with your username and I'll be able to find your user ID.

I don't know what is stored in the device that's stopping it from working but people that have re-installed have gained access again.

The reason for the problem was that I switched providers for the web application firewall and it didn't become apparent right away that some of the settings were wrong. For example the caching on the new firewall was too high so it was caching things like the server time, which is why some of you may have seen the timer count down and then reset back to a higher number putting the timer in an endless loop.

I believe everything is running smoothly now and that will hopefully be the last drastic change I need to make to the service for a while.

Apologies for the inconveniences and frustrations it caused.


Request / Share / Exchange ChastiKey Locks / Locktober 2019 Locks
« on: September 20, 2019, 10:29:23 AM »
Here is a list of Locktober 2019 locks that have been created by a number of different keyholders. You'll find a new post below for each lock. Check this thread regularly as more may be added before October.

Please read any rules before loading as you may find yourself locked longer than expected or frozen if you load one too early or late.

ChastiKey Chat / Python ChastiKey lock generator
« on: August 12, 2019, 11:13:53 AM »
I've created a simple python script which generates random variable lock card set ups, saves them to a datafile and gives you the option to search that data for locks that meet the desired duration you're after. To get the best results it's good to generate a good number of locks, but they don't need to be generated all in one go (regularly with small numbers is best). Generating a 1,000 locks in one go can take a little while.

The file that comes with the script shows how to call the different function/commands that are available. And here's a simple example without all of the comments that will generate 10 locks, and then search those 10 locks for one that lasts between 4 and 10 hours. That's a duration of 7 hours but with a variation of 3 hours either side. You may not get any matches the first time you run it, but each time you generate new locks you're adding to the existing locks that you created previously which is improving the chance of finding that perfect lock.

Code: [Select]
import ChastiKey as ck

chastikey = ck.ChastiKey()
chastikey.SearchLocks(regularity=1, duration=7, variation=3, number_of_locks=1)

This was something I created while travelling when I couldn't really work on the main ChastiKey app.

ChastiKey Chat / ChastiKey connection problems
« on: July 09, 2019, 12:07:44 AM »
I am aware that there are issues with the app that have been getting worse over the last couple of weeks.

It's now reached a point where I'm having trouble getting it up and running properly. It's suffering from too many connections and the SQL service is maxing out the server CPU.

I am looking into it. Apologies for the inconvenience and frustrations this is causing

ChastiKey Chat / Version 2.4.3 Released
« on: January 12, 2019, 02:28:22 PM »

Version 2.4.3 has now been released on Android and awaiting review on iOS

Here's a full list of changes:

  • Lock estimations now work with bot decide options chosen.
  • Improved the chances of "Let keyholder decide" option registering correctly so that the keyholder see's that you're awaiting their decision (hopefully).
  • Improved lock updates.
  • Fixed a bug where revealing a red card with at least one accumulated chance remaining would sometimes trigger an unlock.
  • Fixed a bug where it was possible to get the minimum values higher than the maximum values and vice versa when creating a new lock.
  • Fixed a bug where fixed lock completed notifications were triggering too early.
  • Fixed a bug where freezing a fixed lock would say the user wouldn't be able to pick any cards.
  • Fixed a bug where the total time frozen on a fixed lock wasn't calculating correctly on the keyholder side which was sometimes briefly flagging the lock as completed on their side.
  • Fixed a bug where ticker text wasn't cycling properly for keyholders on fixed locks.


ChastiKey Chat / Version 2.4.2 Released
« on: December 21, 2018, 07:03:18 PM »

Version 2.4.2 has now been released on Android. I'm experiencing a problem with publishing the iOS version and have contacted Apple so that won't be available for a few days at least. I will update you once I have news.

Here's a full list of changes:

  • New 'Go Again' card added to help hide the true number of cards in play when card information is hidden.
  • When creating and loading variable locks you will now see an estimate of the lock length. The app will run the lock through a simulation 100 times within a second or so and return the best, average, and worst times.
  • Keyholder name now shows above the lock information after scanning/loading the QR code.
  • You can now share and load locks with URLs.
  • Rating of users now have to be given within 1 week of the lock finishing. Once rated you have 24 hours to change/correct the rating.
  • Keyholders can filter users that are awaiting a rating on completed/abandoned locks.
  • Improved lock updates.
  • Shared fixed locks created with timer hidden now hide the time on the QR code screen and when loading.
  • Fixed a bug where large red card countdown would show negative numbers.
  • Fixed locks shouldn't unlock when the time reaches zero if there's a keyholder update to action.
  • Fixed a bug where the random combination screen sometimes showed a timer greater than 60 seconds.
  • Fixed a bug where QR codes would falsely show "Keyholder Limitations Removed" on fixed locks.
  • Fixed a page number bug on the card picking screen.
  • Fixed a bug where shared locks with keys disabled were being created with keys enabled.


ChastiKey Chat / Chat inside ChastiKey
« on: December 14, 2018, 07:13:19 PM »
Chat and private messaging users within the app is something that's been requested for a long time. There has been a number of reasons why I've been holding off adding it for so long. The main reason is security and responsibility. I wouldn't be able to create something that's secure/encrypted and I don't want to be responsible for a database full of open/unencrypted messages.

Now that we've moved over to Discord I've been looking for ways to connect ChastiKey and Discord so that you can find users in the ChastiKey in the app and then open a DM in Discord to that user. I've spent quite a lot of time trying to get this working and hours of reading through google searches and the official API documentation and it just doesn't seem possible. There may be a Discord developer amongst us that has a lot more experience and says that it can be done, but I'm struggling.

What I have been able to do with Discord is ask the user to give permission to access their Discord user account which gives me access to their username, user id, and avatar. It does give me access to other things like your email address but I'm actually only interested in the user id. I can't use the avatar becausae when I do add the option for avatars I will need a way to approve them manually so that there aren't any images that are likely to get the app removed from the stores. So there won't be any dick pic avatars in ChastiKey.

Once I have your user id I plan to save it in the ChastiKey database on the same row as your ChastiKey account user id and use that to generate and show a button on your ChastiKey profile which will say something like "View my Discord profile". When a user views your ChastiKey profile (you can't view each others profiles at the moment) they will see the button click on it and it will open Discord and show your Discord profile i.e. and from that page they can choose to send you a DM. The DM will be written directly in Discord so all that I will have saved in the ChastiKey database is your user id which looks like this 473856245166506014. I won't have access to any of your private messages in Discord.

I can also add other social network and chat app buttons to your profile like Twitter, Facebook, and Kik so that users have more ways of finding and contacting you.

What do you all think of that? To not build a messaging system from scratch (I would have too as I can't add 3rd party SDK's/scripts) but instead offer you ways to communicate with each other using other apps.

ChastiKey Chat / Server Migration Plans
« on: November 24, 2018, 10:27:46 AM »
On December 2nd of December at 10AM GMT I will be moving the app to the new server.

In order to do that I will need to turn off the service for a few hours so if you?re creating new locks that need to end during that time then please make sure that they would finish before then.

There is a chance that this could take longer than planned, or problems are encountered where the move would have to be cancelled and put back to another date. If that happens the old server will still exist, so the move will be reversed and the app will continue running on the old server for a little while longer.

The server move will not require an app update, so when the app is moved over you will still be using 2.4.1 or lower where some of the keyholder lock update problems will still exist (i.e. keyholder freeze/unfreeze not always registering). However once the app is running on the new server and everything seems to be ok I will release version 2.4.2 for beta testing where the keyholder lock updates seem to be improved.

Please check Discord or the forum for any new announcements related to the server move before and during the migration


ChastiKey Chat / Version 2.4.2 Work In Progress
« on: November 10, 2018, 11:33:39 PM »
This thread will show some of the new features and fixes coming in the next version (version 2.4.2)

So far I've fixed about 3 bugs, and I've hopefully improved the lock updates that weren't always registering properly so the keyholder and lockee were seeing different things. I've still got to do some testing with this one and it's still not going to be 100% perfect. This did get a bit messy, and required me rolling back to 2.4.1 and starting again.

I've also added in the option to share locks via URL links. In the screenshot attached you will see there's two ways of sharing the lock now, the QR code way, or with a URL link which looks like this:

Clicking the link will open the app and load the shared lock information for you to pick the available options. I've wanted this in the app for a long time.

I've got every Friday and Monday off from work now until the middle of December so will use a lot of those to work on this.

ChastiKey Chat / ChastiKey API
« on: November 06, 2018, 10:44:13 PM »

Documentation for the latest version of the ChastiKey API can be found here:


ChastiKey Chat / Version 2.4.1 Released
« on: October 21, 2018, 12:27:18 PM »

Version 2.4.0 has now released. It will be available on Android within the next couple of hours. iOS will take a few days to be approved by Apple.

Here's a full list of changes:

  • Yellow cards now show as large cards when revealed and require you to tap to continue adding/removing red cards.
  • Shared locks now require default CKU usernames to be changed before you can load them.
  • Fixed locks won't show that you're frozen by keyholder if the timer is hidden.
  • The last page number you were on is remembered after each shuffle.
  • You can now create a variable lock without red cards.
  • You can now set 0 as the minimum for reds, freeze, double ups, and reset cards.
  • You can now set 1 as the minimum number of greens cards for multiple greens required locks.
  • You can now copy and paste user ids on the Restore Account screen.
  • Fixed a bug where the number of chances were sometimes higher than the actual number after a freeze card finishes.
  • Fixed a bug where the greens found count was lost when restoring account.
  • Fixed a bug where updates were in the lock information window wasn't being cleared properly when restoring an account.


Pages: [1] 2 3 ... 7