Giter Site home page Giter Site logo

ezrpg's Introduction

How to Install

  1. Extract all the files from the archive into a folder on your web host.
  2. Go into PHPMyAdmin or any other database manager, and create a database for the game. Remember the table name and username/password.
  3. Edit config.php to match your database settings.
  4. Give read/write permissions (needed for Smarty) to 'smarty/templates_c'
  5. Open sql.txt and copy and paste the SQL queries into your database manager, or upload the file to automatically create the tables.
  6. Move the cron folder to somewhere where your users can't access it (such as the root folder) or change the folder name and file names.
  7. Go into your control panel to set the cron tab for the cron files. Set reset.php to once a day, and revive.php to once every few hours (your choice of how often). If you can't use cron tabs, than just visit these files in your web browser manually every day.
  8. Check to make sure the game works and that you followed all the instructions correctly.
  9. Enjoy!

Good luck in entering the world of browser-based games!

Add weapons/armour

  1. Go into your database manager and open the 'blueprint_items' table (NOT the 'items' table!)
  2. Insert a new row, and fill in the values for 'name', 'description', 'type', 'effectiveness', and 'price'.
  • 'name' - The name of the item
  • 'description' - A description of the item
  • 'type' - Either 'weapon' or 'armour'
  • 'effectiveness' - The power of the item
  • 'price' - how much it costs

ezrpg's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.