-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sending troops ends up with "Coordinates do not exist" error #27
Comments
Resolved: Change the function:
in the file GameEngine/Generator.php to:
And the coordinated will be calculated correctly. |
I just setup a server for me to play around and that '+' to '-' change actually breaks the game for me, making both the map and attack coordinates unusable. |
Applied this fix locally on my test system and gave it a quick test: appears it fixed my issue of being unable to raid some locations as well. Thank you. My test system is:
|
Thanks to greldinard for the fix! See issue Shadowss#27, Sending troops ends up with "Coordinates do not exist" error. Shadowss#27
Guys, i think the fix is:
Tested doing:
the result is empty |
expected behaviour
Entering Coordinates target fiels will send troops to the corresponding field.
incorrect behaviour
Message "Coordinates do not exist" appears, troops are not send.
Probable encoding error? But where? Apache? PHP?
the operating system & version
Ubuntu 20.04
PHP version on the server
PHP 7.4.3
MySQL / MariaDB version on the server
MySQL 8.0.27
The text was updated successfully, but these errors were encountered: