-
Notifications
You must be signed in to change notification settings - Fork 69
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
ACS attack IDs are not int #117
Comments
i had the same problem today. |
I locally removed the int cast, in my case it shouldn't break anything cause I use enemy's fleet ID only for identification/tracking in a database. I guess it could even break friendly_fleet if you take part in a ACS |
does this solve the issue with the pull merge #118 |
It should solve it! I never tested an actual ACS attack vs me or vice versa, so I don't know what will happen when you'll try to return an 'unionXXX' fleet. I realized I made a mistake! Line 153 in 7fd7eef
It should be self.assertIsInstance(fleet.id, str) |
OK should be fixed now |
This morning I woke up with a lot of errors. It turns out that if you're under an ACS attack the fleet ID will be something like 'union959'. So it will throw an exception cause it can't be casted to int.
How can we handle this problem without breaking anything?
The text was updated successfully, but these errors were encountered: