Skip to content
This repository has been archived by the owner on Mar 11, 2021. It is now read-only.

IVAN exits when high score submitted #1

Open
ryfactor opened this issue Apr 5, 2017 · 5 comments
Open

IVAN exits when high score submitted #1

ryfactor opened this issue Apr 5, 2017 · 5 comments

Comments

@ryfactor
Copy link

ryfactor commented Apr 5, 2017

I compiled on Debian 8 and it works!!
I used configured IVAN to send the score to the heroku server. When my character died and the score was submitted, IVAN exited...
Alas, I cannot furnish this bug report with a reason.

@emlai
Copy link
Owner

emlai commented Apr 5, 2017

Hmm, I cannot reproduce this. Which commit of the IVAN fork did you build?

@ryfactor
Copy link
Author

ryfactor commented Apr 6, 2017

I think this is more of an IVAN bug now that I think about it.
Maybe this will help: When building the IVAN hall-of-fame branch, I invoked cmake with this additional flag: -DCMAKE_INSTALL_PREFIX=/emlai so it would install elsewhere.

In the game, when I try to look up the high scores, I get the message:

There are no entries yet. Play a game to correct this.

I have another install on the same linux system, 0.50.7, installed in the default location.

@emlai
Copy link
Owner

emlai commented Apr 7, 2017

If you pass -DCMAKE_INSTALL_PREFIX=/emlai then it will look for a high-score file in the path /emlai/var/ivan/ivan-highscore.scores, so it won't find any high-scores anywhere else.

@ryfactor
Copy link
Author

Problem fixed. I must've invoked it wrongly before. I cleared the cmake cache and rebuilt with
cmake -DCMAKE_INSTALL_PREFIX=/emlai .
make -j
make install

It no longer bugs out to terminal. I can read the high scores from the server when I press ENTER in the high score screen. Simply amazing!

Next I would like to get a list of dependencies to build and test this on M$. I fear that it will a laborious task to hook up an libcurl SDK to my MinGW distro. I just need to know I have exactly the right libraries.

@emlai
Copy link
Owner

emlai commented Apr 17, 2017

Nice! libcurl should be all you need.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants