GithubHelp home page GithubHelp logo

atroxide / runetimer Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 1.0 24 KB

A manageable rune ore respawn timer list to help you mine the most ores in Runescape.

License: MIT License

PHP 85.55% CSS 14.45%

runetimer's Introduction

Runetimer

A manageable rune ore respawn timer list to help you mine the most ores in Runescape.

Installation

Runetimer requires a server running PHP and a MySQL database. Place these files in any directory on a web-accessable server.

Execute the following SQL on any MySQL database.

CREATE TABLE IF NOT EXISTS `timers` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `ip` int(4) unsigned DEFAULT NULL,
  `ore` int(11) DEFAULT NULL,
  `time` int(11) DEFAULT NULL,
  `timefinished` int(11) DEFAULT NULL,
  `world` int(11) DEFAULT NULL,
  `population` int(11) NOT NULL DEFAULT '0',
  `language` int(11) NOT NULL DEFAULT '0',
  `version` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1;

CREATE TABLE IF NOT EXISTS `languages` (
  `id` int(4) NOT NULL,
  `img` varchar(6) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1;

INSERT INTO languages
  (id, img)
VALUES
  (0, 'en.gif'),
  (1, 'de.gif'),
  (2, 'fr.gif'),
  (3, 'br.gif');

Now open up config.php in a text editor and provide your database's username, password, host, and the name of the database itself like below

$db = array (
    'host' => 'localhost',
    'user' => 'YOURUSERNAME',
    'pass' => 'YOURPASSWORD',
    'database' => 'runetimer',
);

Navigate your web browser to index.php

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.