sstokic-tgm / JFTSE

JFTSE Open Source MMO Framework
GNU General Public License v3.0
51 stars 25 forks source link

Setup dev environnment #110

Closed nishanthGit closed 2 years ago

nishanthGit commented 3 years ago

Hello everyone, I would like to contribute to this project. I've cloned the git repo + installed mysql + maven/java. I'm able to build the project but not able to run it. Am i missing something ? When 'java -jar ft_server_emulator.jar', i've a message telling me that "an established connection was interupted by a software from my computer' ft

sstokic-tgm commented 3 years ago

The exception is totally oke, since it tells you just that it wanted to read from a connection which is closed, if you followed the sql part, you are able to login.

nishanthGit commented 3 years ago

I've executed successfully the sql scripts (even if i needed to create 3 tables first, i don't know why) but i've got the same error image

Davingi commented 3 years ago

As sstokic wrote before, the exceptions in the log are totally ignorable. What happens when you try to log in?

nishanthGit commented 3 years ago

Oh i didn't understand that they are just 'warnings'. Thanks How do i launch the game? Using the existing FT launcher from 'https://www.jftse.com/' ? It's not very well explained how i cable the game to use my local server. I need some more information regarding the 'Fantasy Tennis Thai | 1.706'. Thank you

Davingi commented 3 years ago

In the Serverinfo.ini you have to put in your server address. IP (127.0.0.1) and Port (5894). Then there is a GlobalSettings.java file where you can disable the AntiCheat. Just set IsAntiCheatEnabled=False. Then just delete the jftse.dll which lies parallel to your FantaTennis.exe. Then start FantaTennis.exe and after these steps you should be able to log in.

nishanthGit commented 3 years ago

I can launch UX and try to connect with test/test, here the error i've got : image Hibernate should have created these tables automatically ? edit 1 : I just saw that there is more sql script under /sql folder, i'm trying to run them edit 2 : after running sql scripts from docker folder, i'm able to create my first characters, thank you for help

nishanthGit commented 3 years ago

Hello, I've corrected a tiny bug created on issues #122, i would like to know the correct way to push the correction. As i understood, :

Is this the right way to proceed ? Another question, how to you guys split tickets or features ? Is there any internal discussion to avoid working on the same feature/bug ? Thanks

sstokic-tgm commented 3 years ago

Hello, thanks a lot for your help and contribution! You did everything good and correctly. A small improvement as of developing since I saw it in your PR: If you create a PR for the development branch, as of overlook (for yourself) make the changes in your development branch. (to not cross-over it branch-wise) What I mean: dev PR to dev. master PR to master and so on :)

Tickets / features are not really formally splitted, but, you can assign a ticket here on github to yourself. We always look here, so if we see you assigned a feature for yourself we won't touch it. And in case it is very long assigned to yourself but nothing happened and someone of us would like to do it, we would write you first 👍

Internal discussions are in our discord server. Contact Bench in discord or any other Mod/Admin and say that I asked you so, so you can get into our internal channel.