Dev [BETA] STBase - Where's the MySQL? Edition

Discussion in 'Hobbies' started by Dunkel, Oct 14, 2016.

  1. Dunkel

    Dunkel Member

    Now looking for graphic designers, web designers, programmers, and play testers. Please PM me with relevant details.

    JOIN NOW!
    138.207.201.45:27015
    Currently running Climb.
    [Soon]
    Currently adding Surf.

    Please do NOT use your Steam or Forum password on server account creation.
    Either press Cancel when you join or choose a weak password.
    Content that depends on this account is not yet active!

    If you are interested in creating content for the In-Game store, items can include the following:
    • Power ups
    • Hats
    • Trails (including animated trails)
    • Voice lines
    • Custom Choreography files (think SFM)
    • Player Models
    • Any other player model cosmetics I haven't mentioned
    • Weapon skins
    ATTENTION PLAYTESTERS
    When you first join, the server will automatically download 85MB of Steam Workshop content.​

    Why the thread title change?
    I found that through development of this project, the main focus has shifted from getting STBase to work with TTT to doing a rewrite of the gamemode in general. I have repurposed this thread to showcase STBase as a competent solution to server owners who are looking for an easy to install service that allows the community to focus on growth rather than frantically finding coders to create things such as stores and economy.

    What are the changes?
    This project will focus on rewriting the gamemode to recieve data about the player from an API written in Python. Using an API could potentially offload performance-costly database queries to another server. I foresee that the Garry's Mod server running this gamemode will see a reduction in hiccups whenever a player joins as the server isn't waiting on the database to respond. Also requests sent from the Python API will be in JSON.

    But how will you be able to enforce a cross-community economy?
    By standardizing payouts for each event, the API will know of any fraudulent requests and flag the server in our database. Too many flags and the server's API key will be revoked, removing access to stored data. Server Owners can choose to run their servers in Private Mode to remove the chance of fraud.

    Can we run our own API?

    At this time, you cannot run your own API. Our current intention is for sell this content to pay for uptime and to filter out "zombie servers."

    Summary of Changes
    • Removal of MySQL module dependencies (future-proof, kinda)
    • Performance overhaul
    • Code beautification
    • Ability to run a cross-community economy and inventory.
    • Ability to moderate participating servers (To prevent money and item fraud.)
    • Transaction rollbacks
    Pros
    • Unified base - Bans, administration, money, store is all built-in
    • No fiddling with MySQL. Let us do the dirty work for you.
    • Customization - Edit the scripts to add support to new gamemodes.
    • Fast Installation - Grab your API key, install the gamemode and run.

    Any questions about this project please post here or PM me.

    Proposed Features:
    • Add Top 10, World Records, and Personal Bests
    • Fix PrintTable bug on player move
    • Fix endless loop in CL_AddMap (Serverside)
    • Encrypt player passwords
    • Potentially temporarily disable UserCP account creation
    • Completely remove tmysql4 dependency
      • Right now some low priority functions still use tmysql4.
    • Run servers for the rest of the playable gamemodes.
    • Fix hats not showing properly on playermodels.
    • Make a better Admin UI
      • Almost all of the admin commands are kept as strictly console commands. It's annoying and inconvenient to anybody who even remotely wants to moderate a server.
    Change Log (11/4/16):
    • Players presence sets to offline when you log off now
    • Fixed player hats not attaching to head correctly
    • Added autojump
    • Fixed autojump bug where you couldn't jump while submerged in water
    • Added Deathrun server
    • Added Gun Game server
      • No end game, you get stuck at AWP
      • Very buggy!
      • Known Issue: Scoping in with rifles may slow down your sensitivity when it shouldn't.
     
    Last edited: Nov 4, 2016
    • Useful Useful x 1
  2. Dolph1n

    Dolph1n Time is an adventure- if you know when to look. VIP

    This looks dope af.
     
    • Friendly Friendly x 1
  3. Dunkel

    Dunkel Member

    I'm currently adding achievements to my TTT build and I would like some input. What kind of achievements would you like to see in TTT?
     
    • Like Like x 1
    • Winner Winner x 1
  4. Pacifist

    Pacifist Cynically Insane VIP Bronze

    "Pacifism" - Don't kill anyone.
     
    • Agree Agree x 3
    • Like Like x 2
    • Funny Funny x 2
    • Winner Winner x 1
  5. Dunkel

    Dunkel Member

    Okay so some achievements that I have added to the gamemode are:
    • Pacifist: Do no harm (Deal no damage to anyone)
    • Spammer: Reach the USE key threshold
    • RDM(?): Kill a fellow Innocent terrorist
     
    • Like Like x 1
    • Agree Agree x 1
  6. Paradox

    Paradox The One Eyed Ghoul Banned Elite

    Could add a mass murder achievment or a clutch achievment like kill 5 innocents as the last traitor alive to win the round.
     
    • Agree Agree x 1
  7. twitch.tv/echostorm2k ⚔️

    twitch.tv/echostorm2k ⚔️ screwdriver Banned VIP Silver

    I dont think an achievement for RDM would be very good................... @GunAndBomb you should try it out!
     
    • Agree Agree x 1
    • Funny Funny x 1
  8. Dunkel

    Dunkel Member

    Since this is a more complex achievement, it most likely won't be available in the first public test build.
     
    • Informative Informative x 1
  9. Dunkel

    Dunkel Member

    If anyone is interested in working on this gamemode with me, please send me a PM with past programming experience and a portfolio if applicable. I'm looking for graphics designers, VGUI designers, web designers and more.
     
    • Informative Informative x 1
  10. wow... this looks dope afffffffff
     
    • Winner Winner x 1
  11. Dunkel

    Dunkel Member

    I have repurposed this thread to showcase STBase as a competent solution to server owners who are looking for an easy to install service that allows the community to focus on growth rather than frantically finding coders to create things such as stores and economy.
     
    • Informative Informative x 1
  12. Dunkel 4 developer?
     
    • Agree Agree x 2
    • Friendly Friendly x 1
  13. Dunkel

    Dunkel Member

    Some updates on development. Almost all of the Python API is ready to go, and I am preparing to remove MySQL functionality from STBase after I can confirm that the server is receiving and parsing data correctly through my new API functions. This means that an open beta is likely to take place soon. I've also taken steps to add archival of store transactions, player chat, admin events (bans, kicks, mutes), and added support for record keeping on gamemodes like Bunny Hop and Climb (both World Records and Personal Bests). These new features will most likely be accessible by web page, but for the moment I'm only recording data until someone familiar with html, css, and/or php can work with me to create a web end.
     
    • Informative Informative x 1
  14. don't understand any of it but +informative
     
    • Friendly Friendly x 1
  15. Dunkel

    Dunkel Member

    TL;DR Work is going along very well. I expect to be able to have people testing out my work in a week or two.
     
    • Useful Useful x 1
  16. Acnologia

    Acnologia modern desperado VIP Silver

    The Sin - Mass murder 5 or more innocent terrorists with an AK-47.
    Basically what @Vector said except for a minor difference.
     
    • Informative Informative x 1
  17. Dunkel

    Dunkel Member

    I'm not currently working on Trouble in Terrorist Town but if I pick it back up I'll be sure to add this achievement.
     
    • Like Like x 1
  18. Dunkel

    Dunkel Member

    Since we're almost to the open beta, I'd like to open this thread up to suggestions for store content.
    Store items can include:
    • Power ups
    • Hats
    • Trails (including animated trails)
    • Voice lines
    • Custom Choreography files (think SFM)
    • Player Models
    • Any other player model cosmetics I haven't mentioned
    • Weapon skins
     
    • Like Like x 1
  19. Dunkel

    Dunkel Member

    Dev Update 1: UI Overhaul
    We have started to make concept art for a complete overwrite of the current UI set in place for STBase. The UI we currently use isn't terribly bad, but it diffinately shows it's age well. We're gonna fix that by giving STBase a modern indie feel with emphasis on contextual clues. We will post concept art in this thread when we are pleased to show more.
     
    • Like Like x 1
  20. Dunkel

    Dunkel Member

    Dev Update 2: Open Beta
    I have just finished coding the server to use the Python API and all seems to be working well. You can join the server by connecting to the IP listed in the original thread post. Please report any bugs and feedback is appreciated as always.
     
    • Like Like x 1