Giter Site home page Giter Site logo

carl0sjt / evo-league Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ikec/evo-league

0.0 0.0 0.0 3.45 MB

evo-league website, ladder system and PES6 online server

Home Page: http://www.facebook.com/evoleague

License: MIT License

Makefile 0.01% Python 9.47% Shell 0.06% HTML 6.39% XSLT 0.56% PHP 73.39% CSS 0.81% JavaScript 9.31%

evo-league's Introduction

Introduction

The code here was used to run the evo-league.com website from 2004 to 2014. It consists of

a) A PHP-based ladder system where you can report wins against another player

b) A Python-based online server for Pro Evolution Soccer 6 ("Sixserver")

The evo-league.com website was hacked in late 2014 and all content was deleted. The guys stealing my code now run the website PESGate.com. It's not fair that thieves can run my code and others can't, so I'm sharing my work with everyone.

Please be aware that the code here may be vulnerable and you're running it at your own risk. If you find security issues, please commit your fixes to the project.

Content

Folders:

/http - The actual website (PHP 5.5 required)

/cron - scripts that should be run from cron jobs (if Sixserver is used)

/Sixserver - PES6 online server based on fiveserver (https://sites.google.com/site/fiveservercom/home)

/setup - database setup script

Requirements

PHP 5.5 and a MySQL database are required. PHP must be configured to allow short tags (short_open_tag = On in php.ini).

You'll need at least a virtual server to run this. I recommend a Linux-based server (eg. Debian).

To run Sixserver properly, I recommend a server with at least 1GB RAM.

Installation

a) Create an empty database (eg. 'evo') and import the setup script (/setup/dbinit.sql).

b) Copy the contents of /http to your server document root (eg. /var/www/yoursite/http/)

c) Edit http/config.php to configure your domain and database connection information

d) Configure your web server (eg. Apache) to serve pages from this directory

You should be able to login using username: Admin, password: changeme. Edit your profile (http://yoursite/editprofile.php) immediately to change your password.

You can reach the administration panel at http://yoursite/Admin/

Sixserver

This PES6 online server was created by juce and reddwarf in Python.

Homepage: https://sites.google.com/site/fiveservercom/home

I changed the code so it interfaces with the website and fixed a couple of bugs. Please refer to the homepage for installation instructions. The required database tables for Sixserver are already included in the database setup script.

Cron jobs

If you want Sixserver to work with the website, you'll have to install a couple of cron jobs. An example crontab is listed below.

#m h dom mon dow user        command
# Site
40  *     * * *   root        nice /usr/bin/php /var/www/yoursite/cron/updateTeamladder.php > /dev/null 2>&1
59 23     * * *   root        /var/www/yoursite/cron/last-day-of-month.sh && /var/www/yoursite/cron/newLadderSeason.php
# Sixserver
*/3 *     * * *   root        nice /usr/bin/php /var/www/yoursite/cron/setDisconnectsInGames.php > /dev/null 2>&1
*/5 *     * * *   root        nice /usr/bin/php /var/www/yoursite/cron/setDisconnects.php > /dev/null 2>&1
*/7 *     * * *   root        nice /usr/bin/php /var/www/yoursite/cron/setWordBans.php > /dev/null 2>&1
*/2 *     * * *   www-data    nice /usr/bin/php /var/www/yoursite/cron/reportSixToLadder.php > /dev/null 2>&1
35 23     * * *   root        /var/www/yoursite/cron/last-day-of-month.sh && /var/www/yoursite/cron/maintenance.sh
58 23     * * *   root        /var/www/yoursite/cron/last-day-of-month.sh && /var/www/yoursite/cron/newSixserverSeason.php

License

All code written by me is covered by the MIT license, which means you can basically use it as you like. In addition, I request that:

  • You do not remove the credits page
  • You do not remove the 'powered by evo-league' in the bottom right corner
  • You commit fixes for security issues back to this project

Support

Please open an issue at https://github.com/IkeC/evo-league/issues if you have a questions or problems. Please include as much information as you can, eg. server log files, system, component versions and so on.

Note that I probably can't or won't help with issues such as how to run a webserver, install PHP or similar basic tasks. Google is your friend.

Thanks

Many thanks to:

  • Peter Hendrix for the WebLeague php module that I started the site with back in 2004
  • juce and reddwarf for their PES6 online server
  • Vjacheslav Trushkin (cyberalien) for the phpbb Morpheus skin
  • All administrators, moderators and players developing the site over the years

Ike © 2015

evo-league's People

Contributors

ikec avatar

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.