Closed me12722 closed 8 years ago
I think @rujoota had it running last week.
@rujoota @rupalkhilari . Thoughts?
Yes its working for me. Its just throwing error during mini game server initialization because jar file is missing, but still waiting for connection.
Can you check the db.conf file under conf directory? I use following settings:
DBURL thecity.sfsu.edu
DBName csc63101
DBUsername csc63101
DBPassword csc631_01
@me12722 Let me know if that works. If it does. Let's create a PR that adds this to the settings and merge it into development?
I think it's nice to have some sensible defaults.
It seems to work fine for me too with the same default settings as in db.conf. Perhaps this post might help. Maybe you could print the stacktrace to find out the cause of it. You could also try opening a telnet connection to thecity.sfsu.edu 3306 to see if your firewall permits it or is blocking the connection.
Not sure what's going on buy i added print statements to where i thought it was breaking and it ran not sure the issue is resolved but at least it is currently running
Yes this issue is still there in MiniGameServers.java as its expecting jar file from cow and rr at specific location. But for me, even after exception, it was accepting new connection from client. If its not working for you, you can comment out stuff in initMiniGames() in lby/MiniGameServers.java.
ok, Im just not sure why it wasn't running before. I changed nothing besides the print statements.
the configuration was the same so didnt have to change anything.
OK. So can we mark this closed then?
Maybe we should wait to see if @Fito can get his to run as well?
It runs for me, we can close this issue, but we should do something about the minigame jar files not being found.
Yes, we would be working towards that for cow jar.
Ideally it not finding the JAR should not necessarily crash or throw an error. There are usecases where you'd probably be running the Main Class for COW for example without actually building a JAR. This should be sufficient (as the server would still be able to open a connection on that port). Unless you want to rebuild the JAR every time you change code but that seems a bit overkill..
I guess since the MiniGameServers.java class is under the lobby package, and it deals with other minigames, this falls under lobby's integration (me). I'm working on making then configurable.
Please see ddeb4ca6959cc1731413a6e9ec6509e21c150717. I added the jar files. @me12722 If this fixes your issue, I will make a pull request to master.
Edit: The jar files I uploaded has some bugs in it... I will fix them and make another commit.
I get that message whenever I try to run the code and I can't seem to find the message. Im gonna keep looking but I was wondering if anyone else has found a work around. @Fito also sees the same message.