Engines NIFE Roadmap Shatterloop Game Projects
Deprecated Saepes Mundi Other Projects Blog

Shatterloop

More website stuff

Posted February 13, 2022 by Xhin

Framework

  • Create a database, with (for now) a table for whitelisting.

  • Give it main account permissions and also permissions for the shatterloop account.

  • Have a whitelisting script somewhere (maybe import gtx0's) - the difference is it's permanent.

  • Rename index.php to game.php. Create index.php

  • Create pages.php, route /anything in index.php to the Pages class method if it exists, otherwise 301 to the homepage. Make sure all other REQUEST data gets loaded into the method as variables -- check framework for code imports.

  • Create a folder for the views as well.

  • Route blank requests to Pages/home.

  • /home should just be a link to /updates, /videos, and if you're whitelisted, a big "Reseed" button which routes to a subdomain.

  • Make sure the reseed button on the game also routes to a subdomain.

  • Import ZXC.

    Content

  • Route numeric subdomains to game seeds.

  • In game.php, check the whitelist and only let you play if you're whitelisted, otherwise route you to /is_in_development.

  • Update all browser links again.

  • For now, this page should just tell you that shatterloop is still heavily under development and I'm not ready to release a stable alpha yet. Give links to /updates and /videos.

  • For now, /videos should just be embeds of the youtube videos.

    Updates Framework

  • Give the shatterloop account read privileges over forums.gtx0.com.

  • Delete the shatterloop update log thread and posts on forums.

  • On forums, Import all posts from the GTFA version of the shatterloop update log. Can't hurt to have a backup.

  • Remove anything not by Xhin.

  • Go through and remove anything that isn't an update as well.

  • Create shatterloop.global with (key, value).

  • Have an entry for update_id. Set to 0.

  • Create shatterloop.updates as a soft clone of forums.posts.

  • Have an accessible page /merge_updates -- checks the whitelist and if good, pulls in posts from the forums shatterloop thread by Xhin after the update_id. Then set the update_id to the last post. Make sure this works correctly. It should spit out a link which is the dateline of the post formatted to something like Feb_13_22.

  • Import the post_parser.

    Updates Functionality

  • The /updates page should take a variable like "Feb_13_22", turn it into a dateline, and look up the post id by it. It should then parse the message to the page.

  • A blank /updates post should load every single post with dateline-- and load the titles and a bit of the message. The titles should be links to the appropriate update. This isn't great but it'll work for now.

    Final Tasks

  • Fix the CSS of everything to an acceptable level -- nothing fancy yet.

  • There are 1 Replies


    Before I forget, need to alter this so that my gtx0 is storing "titles" on edit -- would make organizing all of this way easier.

    Also need to ctually have a checkpoint for titling everything.

    Then base the slugs on the titles.

    March 7, 2022
    Xhin
    Sky's the limit

    Reply to: More website stuff

    Username
    Password