Git Product home page Git Product logo

jftse's Introduction

JFTSE - Java Fantasy Tennis Server Emulator

status in development


Introduction

JFTSE is an open source project for the game Fantasy Tennis based on AnCoFT.

Its is based on AnCoFT, because back then, I started writing a private server as well, due to my lack of experience in that topic I abandoned it, in that time.
I'm really thankful that AnCoFT started that project as well and reversed the structure of how packets are working etc. and released it! Due to him I could continue and use/utilize packet sniffs I made back then (which has more stuff than AnCoFT project)

Like the title says, it's a server emulator and written in Java.

It is completely open source; community involvement is highly encouraged.

Requirements

Since it's cross-platform I will not provide download links otherwise I will bloat this. If you use Windows then download them for Windows. If for Linux then download them for Linux.

Name Version
JDK / OpenJDK 8 / 8
Maven ≥ 3.6.1
MySQL 5.7
Any Java capable IDE 1 Any Version
Fantasy Tennis Thai 1.706
  • Also you need a Git CLI or GUI. Doesn't matter which one.

Note: If under Windows, Maven & JDK has to be configured in your PATH variable.

Installation

Building the server itself

Getting the source code

git clone -b master git://github.com/sstokic-tgm/JFTSE.git

This will clone master branch, this is the RECOMMENDED branch for starters.

Compiling the source code

Building the core

cd <path to the recently cloned project>
mvn clean install

This will compile and build the core.

Keeping the code up to date

To update the core files, do the following:

cd <path to the cloned project>
# For master branch
git pull origin master

Afterwards you can build the emulator:

mvn clean install

Running the emulator

Running it the first time

Before you run it the first time, please execute2 the SQL file create_fantasytennis.sql located inside sql/create/.

Then you run the emulator via:

cd target
java -jar ft_server_emulator.jar

Or you run it from inside your Java IDE if using one.

The emulator will do his first time initialization and the process will take some time. It loades static data like products of the shop etc.
When it says

Emulator successfully started!

Then the initialization was successful and the server is running.

Before you start to play, you have to do 3 more things:

  1. Execute2 the SQL file gameservertype.sql located inside sql/insert/
  2. Execute2 the SQL file gameserver.sql located inside sql/insert/
  3. Create2 an account inside the Account table. e.g: INSERT INTO `fantasytennis`.`Account`(`ap`, `gameMaster`, `password`, `status`, `username`) VALUES (0, b'1', 'test', 0, 'test');

Running it

You run the emulator via:

cd target
java -jar ft_server_emulator.jar

Reporting issues

TODO

Submitting fixes

TODO

Copyright

License: GPL 3.0
Read file LICENSE.

Footnotes

Footnotes

  1. If you want to develop yourself.

  2. You do it inside MySQL. Via CLI or some GUI application, it doesn't matter. 2 3 4

jftse's People

Contributors

sstokic-tgm avatar jcs090218 avatar

Watchers

James Cloos 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.