Jump to content

Perseus

Members
  • Content Count

    94
  • Joined

  • Last visited

  • Days Won

    8

Perseus last won the day on July 4 2017

Perseus had the most liked content!

Community Reputation

76 Good

4 Followers

About Perseus

  • Rank
    Pirate

Recent Profile Visitors

991 profile views
  1. Perseus

    [0.1.0] topCMS

    Hi, as you know I previously released a new website for Tales of Pirates. I had planned to make updates to that one but due to college and graduation and everything, I ended up not really working on it again. Long story short, here's a new version of the website that I had made, with more features and something that I'll actually be updating regularly according to community response. You can download the website here: https://github.com/perseus/topcms I'm also hosting a live version if you want to mess around with it here: https://topcms.anirudhsingh.dev/ The features that it currently has: Basic site management ( news, downloads, authors etc.) Ranking (Guild and Player) A bare-bones admin panel that I plan to extend A functional item mall and award center Logging system ( I have the base for this set up but no UI. I'll be adding a UI which will allow you to look through any "critical" actions taken by GMs or players on the website ) The design isn't the best (I'm not a designer) so I'm open to any design feedback that you guys have. Here's a few screenshots of what it looks like: Installation Instructions You're going to need NodeJS for this. You can find it here: https://nodejs.org/en/ You can download the latest LTS version (12.17.0) and install it. Then, you need to open your command prompt (run it as admin), and `cd` into both the `api` and `web` folders and run npm install (For people who aren't well versed with the command prompt) : "cd" is a command to change your current directory in the command prompt. If you have downloaded and extracted the website in the F: drive inside a "topcms" folder for example, the commands you would run after opening a command prompt are: F: cd topcms cd api npm install cd .. cd web npm install (".." is used to go to a directory that contains the current directory (basically go one up from where you currently are )) Next, `cd` into the `api` folder and run npm run install-wizard This should start an installation wizard on `localhost:4000` that you can go through and it'll set the website up for you. Next, to run the website, cd into the `api` folder and run pm2 start dist/server.js and the website should start at port 3000. (You can access it by going to `localhost:3000`) If you want to run it on port 80, go into the `api` folder and look for a `.env`. At the end, write port=80 pm2 is a process manager for node, which is used to run production applications and handles a lot of things that make it easy to run (automatically restarts the app if it crashes etc) Some pm2 basics: run pm2 run dist/server.js from inside the API directory to start your server run pm2 list to see the currently running processes (you should see your server running if you do this) run pm2 kill to stop any processes that are currently running. You need to do this and then "pm2 run" again if you want to restart your server. There are a few more configuration related things that I'll be putting up here but I hoped to get it into your hands so I could iron out any bugs and get this ready to be used by everyone. Please let me know if you run into any issues or if anything needs to be made clear here.
  2. In SQL Configuration Manager, check the `SQL Server Network Configuration` Tab. Is TCP/IP Enabled there? If not, enable it. If it is enabled, double click the TCP/IP protocol and go to the "IP Addresses" tab. Look for the entry which has IP Address as your local IP (127.0.0.1) and make sure that's enabled as well.
  3. RE: Moving away from MD5. I've been wanting to remove the "originalPassword" column from the db and using bcrypt to hash the passwords instead. I have not read the AccountServer code extensively, but I'm assuming that most of the user login functionality happens through that. Are you aware of any place where the "originalPassword" field is being used? It's a travesty that passwords are being stored in cleartext in a database.
  4. I feel like he was asking for a way to dupe rather than a way to prevent it.
  5. The crash is due to the music. Convert the music files to .ogg (if i remember correctly) or just delete the entire music folder
  6. If you want to put up a link for the git repo, I'd be happy to contribute.
  7. Perseus

    [1.0.0] topCMS

    @1g0rS1lv4 ^
  8. Perseus

    [1.0.0] topCMS

    I'm working on it
  9. Perseus

    [1.0.0] topCMS

    Did you use the _71 drivers or the _7 drivers
  10. Perseus

    [1.0.0] topCMS

    Run those commands in the main directory, not in db/migrations/siteinfo
  11. Perseus

    [1.0.0] topCMS

    I'm not sure about your other errors, they're not related to the website but there isn't an official release for drivers supporting PHP 7.3 right now. Here's a preview version https://github.com/Microsoft/msphpsql/releases/tag/v5.5.0-preview if you wanna use that, or downgrade your php to 7.2. I'd recommend getting a fresh install of xampp/php
  12. Perseus

    [1.0.0] topCMS

    https://www.microsoft.com/en-us/download/details.aspx?id=57163\ Try these drivers @mkhzaleh@FapFap
  13. Perseus

    [1.0.0] topCMS

    What's the issue when trying to generate the key?
  14. Perseus

    [1.0.0] topCMS

    Try using x64 instead of x86 Did you download the drivers and put them in your php/ext file and then add them in the php.ini? If so, tell me what files you downloaded (name of the dlls)
  15. Perseus

    [1.0.0] topCMS

    Run php -i in the command prompt. Look for "Thread Safety" and tell me if its enabled or disabled. Also, tell me the PHP version (it'll be at the top)
×
×
  • Create New...