KanColleTool / kcsrv

An open source KanColle server
MIT License
41 stars 16 forks source link

Game crashes after api_start2 load #29

Closed fnzr closed 9 years ago

fnzr commented 9 years ago

Hello, I'm curious about the project and I want to see what it can do. After following the steps on the README, I'm stuck right after the game loads. On the "Game Start" screen, the game crashes (cat girl) exactly after api_start2 finishes loading. The actual game load (blue loading bar) works fine and I even get the "Game Start" button active for a second or so, before the api_start2 request finishes.

I checked the response, and I'm getting "api_result"=1 and "api_result_msg"="\u6210\u529f", so this part seems ok. While I don't know how I would check if the api_data content is correct, it does show a lot of data and is a valid JSON.

After creating an user, I created an Admiral with one fleet and one ship to check if the problem was that I had no flasgship, but this doesn't seem to be related (or maybe it is? I didn't explicitly set a flagship so I can't tell if I actually have one).

GitHub is not letting me upload the file for whatever reason, but here it's the full response I'm getting

I'm not sure what to try now. Do you have any tips?

Thanks for your time!

fnzr commented 9 years ago

Oh I read the old Issues, the problem was that the data/api_start2.json file was outdated. I copied the new one from the new DMM site and apparently I got past this error and found to the next. Just keep debugging now!

EDIT: Just a heads up. Apparently manually inserting Admirals via SQL is not a great idea (who would have guessed?). The problem was some error about getting TTK's resources. I deleted it and now I'm in the Tutorial screen. Yay!

Fuyukai commented 9 years ago

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512

Uh, okay. I assume that means the game has added in some api_start2 check? Fucking hell. Not long until they start checksumming the servers... -----BEGIN PGP SIGNATURE----- Version: GnuPG v2

iJ4EARMKAAYFAlYXWNIACgkQbojIu8gUUMaDZAIAj/CJO5GTEzNiSrt+RYmaW4Pe ntr48YpbCnNuEHr9YJm3dR1BiMZ6pAXq8WPwPjYl6UJ/p22cIYuJp/EgzxtexwH/ VoLPqeOTr3uBw3gIeaN/ZSS2RGZLqvrbcpzxZAS1vhUXnnAjrISXQFpSCsdA5EEk OFHeL+SQosQweayvd0IAQg== =SZiS -----END PGP SIGNATURE-----