Skip to content
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

Missile Silo overflow #152

Open
mys opened this issue May 2, 2018 · 6 comments
Open

Missile Silo overflow #152

mys opened this issue May 2, 2018 · 6 comments
Labels
invalid This doesn't seem right

Comments

@mys
Copy link
Contributor

mys commented May 2, 2018

Expected behavior

Missle Silo (polish word - used on gifs: Silos Rakietowy) is a building is a building that launches and stores two types of missiles. According to one of the best ogame wikis missle silo capacity is calculated directly from building level and it's proportionality coefficient is set to 10.

Building Level Missile Slot
1 10
2 20
3 30
4 40
5 50

One Anti-Ballistic Missile (polish word: Antyrakieta) consumes one missile slot. And one Interplanetary Missile (polish word: Antyrakieta) consumes two slots.

Having build missile silo at 4 level, expected capacity should be 40 missile slots. When 30 are used by Anti-Ballistic Missile, there should be 10 slots left what can be used by not more than 5 Interplanetary Missiles.

Actual behavior

In reality, I had 6 Interplanetary Missiles.

Building lvl compared to actual storage
image

Using exceeded number of missiles
image

Outcome from using missiles
Outcome from using missiles

How to reproduce

How I did that? I am not sure. I was convinced that I have placed order to build 4 Recyclers and only 5 Interplanetary Missile. But when I was ready to use them, it showed up there is one additional.


https://utopian.io/utopian-io/@desteemy/missile-silo-overflow by @desteemy

@mys mys added the invalid This doesn't seem right label May 2, 2018
@mys
Copy link
Contributor Author

mys commented May 2, 2018

Couldn't reproduce that :/

@Qwatayean
Copy link
Contributor

I am trying to understand the error... what is happening? you're building missiles above the limit? have you checked the Missile Silo config in admin panel?

@mys
Copy link
Contributor Author

mys commented Jun 18, 2018

The only thing that comes to my mind is race condition somewhere. Sometimes queued 5 missiles builds 6 units.

@Qwatayean
Copy link
Contributor

that's very odd, i couldn't reproduce it yet...

@thewizardstudio
Copy link

This occurred to me as well. I have 98 missiles in a solo which can only hold 90. I believe it's the same bug which causes other ships to build more than the user indicated.

@Fraterna
Copy link

it's not just missles:
i sometimes get more ships/def/solsats than i entered, hence this more likely happens when building time is <= 1 sec.
for example: i wanna build 100.000 solsats, and when those are build, i suddenly have 100.037 or so. happens with every item in the shipyard when building/queueing up multiple. tested from small transporters to RIPs: when building mutiple, theres a chance that you're get more. maybe some server-hiccup during cronjob-recalculation stuff or so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

4 participants