gamemachine
gamemachine copied to clipboard
server build errors
I am using Windows 10 with jre-8u66-windows-i586 installed.
The server pack included in the Unity package on http://www.gamemachine.io/confluence/display/GMD/Getting+Started gives this error.
D:\DevGames\Karoo\_WORK_\NetTech\GameMachine\Server>bin\game_machine build clean
Unrecognized VM option 'UseCompressedOops'
Did you mean '(+/-)CheckCompressedOops'?
JVM creation failed
I then tried the one pulled via https://github.com/gamemachine/gamemachine/archive/master.zip but get this.
D:\DevGames\Karoo\_WORK_\NetTech\GameMachine\Server2>bin\game_machine build clean
io/console not supported; tty will not be manipulated
:clean UP-TO-DATE
:compileJava FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileJava'.
> Could not find tools.jar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 5.49 secs
Errno::ESRCH: No such process - D:/DevGames/Karoo/_WORK_/NetTech/GameMachine/Server2/java/server/build/install/server/bin
stat at org/jruby/RubyFile.java:895
fu_each_src_dest at D:/DevGames/Karoo/_WORK_/NetTech/GameMachine/Server2/jruby/lib/ruby/1.9/fileutils.rb:1525
fu_each_src_dest0 at D:/DevGames/Karoo/_WORK_/NetTech/GameMachine/Server2/jruby/lib/ruby/1.9/fileutils.rb:1539
fu_each_src_dest at D:/DevGames/Karoo/_WORK_/NetTech/GameMachine/Server2/jruby/lib/ruby/1.9/fileutils.rb:1523
mv at D:/DevGames/Karoo/_WORK_/NetTech/GameMachine/Server2/jruby/lib/ruby/1.9/fileutils.rb:508
copy_process_manager at D:/DevGames/Karoo/_WORK_/NetTech/GameMachine/Server2/lib/game_machine/console/build.rb:28
run! at D:/DevGames/Karoo/_WORK_/NetTech/GameMachine/Server2/lib/game_machine/console/build.rb:115
(root) at D:\DevGames\Karoo\_WORK_\NetTech\GameMachine\Server2\bin\../bin/game_machine:49
Press any key to continue . . .
Nvm.. I'm a n00b. Forgot that I would need the JDK to build.
Still getting the error in the server from the unipackage but the one where I had trouble with tools.jar compiled now.
.. and game_machine server fails with bunch of errors. Guess the "Getting Started" page is more a "I assume you got all these other stuff installed" type deal? hehe...
from the errors it seems I need to install and run Postgresql and I am not sure if Hikari is a service I should install and run or if it is something that the game_machine will run but there are errors related to it too...
ah well.. let me fiddle some more.
[edit] Now I get this message " password authentication failed for user "gamemachine"" Am I missing some setup documentation?
Finally managed to set it up and login via client. You might want to add some info about the server database requirements in the docs (assuming I did not miss it somehow).
Master does require a database, the unitypackage version doesn't. There is a note about this but it's on the 3.0 beta branch readme.
I'm working hard on getting the docs updated. I'll be cutting a final release build for 3.0 this week with at least a new getting started page that is accurate.
The bottom of this page https://github.com/gamemachine/gamemachine/tree/rel3_0 has very basic instructions on the schema files to use to create all the necessary tables, but it looks like you figured that out.
yea, only noticed afterwards that you mention the rel3_0 page and that you state there the docs will be updated. Looking forward to the release and working with this some more. Atm I am working on the character movement and camera and trying to get that to something I like.
I pretty much assume that people will replace the camera, and probably the animation system with their own. And probably tweak the controller somewhat. I've found https://www.assetstore.unity3d.com/en/#!/content/9763 to be a really good camera for third person views. It handles clipping obstacles very well which is what the Game machine camera does a poor job of.