Post
Topic
Board Project Development
Re: [Free Script] Untitled Dice - Run your own bitcoin dice site (no server needed)
by
dan
on 13/08/2015, 22:08:17 UTC
v0.0.7 Release: Hooked up Moneypot's new socket/chat server

Moneypot just released a new socket-server which includes a better chat-server and pushes notifications when the user's unconfirmed and confirmed balances change.

This update doesn't change very many lines of code since the new chat-server has an almost identical API to the old one. If you want to check it out or if you want to implement this update on your own Untitled-Dice variant, you can see the changes here: https://github.com/untitled-dice/untitled-dice.github.io/commit/2e5a03fa0c683ab6f35fe7246ab538aa18f3cabd

What this changes about Untitled-Dice:

  • Chat messages are now saved in Moneypot's database and not forgotten when the chat-server resets.
  • Muted users are now saved in Moneypot's database and not forgotten when the chat-server resets.
  • The UI now instantly updates to reflect the user's unconfirmed balance and when the user's deposit is confirmed and ready to spend.

    For example, as soon as the user makes a bitcoin deposit to your app, Untitled-Dice displays it:

    https://dl.dropboxusercontent.com/spa/quq37nq1583x0lf/-vxm59n-.png

    And once a block confirms the deposit, Untitled-Dice rolls it into the user's balance:

    https://dl.dropboxusercontent.com/spa/quq37nq1583x0lf/1xv64a03.png

    In other words, users get instant peace of mind when they deposit into your app.
  • Mods now actually have /mute and /unmute power. With the previous chat-server, mods were powerless. Cheesy
  • HH:MM timestamps are now displayed next to chat messages: http://i.imgur.com/fAZ8FrQ.png