ogamespec / ogame-opensource

This is revived OGame v 0.84 with old design.
Creative Commons Zero v1.0 Universal
81 stars 38 forks source link

Negative resources when playing on admin #117

Open ogamespec opened 4 months ago

ogamespec commented 4 months ago

I don't know how they do it, but if you play as Legor (why for god's sake?) you somehow get negative resources on planets. 😃

ogamespec commented 4 months ago

any screenshot? any planet info (buildings, resource settings) etc. ?

dascrew commented 1 month ago

I came across negative resource values on a normal user account, even managing to capture negative resources. Haven't been able to replicate it and the values corrected themselves before I could debug. Adding constraints on the resource columns will prevent this from happening, from memory theres no situation where m, k and d would ever need to hold a negative value?

brokenreport

ogamespec commented 1 month ago

We need to somehow come up with a way to debug this. There is an idea to backup the universe + enable UserLogs for the account under test (sniff flag).