Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Fleet disapearing in attack #6

Open
Razican opened this issue Dec 3, 2014 · 5 comments
Open

Fleet disapearing in attack #6

Razican opened this issue Dec 3, 2014 · 5 comments
Labels

Comments

@Razican
Copy link

Razican commented Dec 3, 2014

Seems that fleet disapears when a user attacks an inactive user. The conditions to replicate are the following:

User with +6k points attacks inactive user. Fleet disapears when arriving to the inactive user, and no attack report is generated. Noob protection is active below 5k points, and the inactive user has less than those points.

Still testing left.

@Razican Razican added the bug label Dec 3, 2014
@Razican
Copy link
Author

Razican commented Dec 7, 2014

It also happens with an attacker below 5k points.

@mtzguido
Copy link

mtzguido commented May 5, 2015

Hi, any idea on what's causing this? We're running into the same problem every time we send a fleet. We usually get a bogus battle report, saying the attacker won with 0 losses, and got 0 resources back, but the ships disappear.

@Razican
Copy link
Author

Razican commented May 6, 2015

We have no idea for now. I would greatly appreciate if someone could trace it.

@jgalat
Copy link

jgalat commented May 6, 2015

With some tracking i managed to realize that the problem was with the function UpdateFleets in file
./includes/battle_engine/MissionCaseAttack.php. Checked the version from the file
(2013-2-4) so i downloaded the latest (26-10-2013): https://github.com/jstar88/opbe and linked it from the ./includes/classes/class.FlyingFleetHandler.php

        private function MissionCaseAttack ($FleetRow)
        {
                #require_once ( XGP_ROOT . 'includes/battle_engine/MissionCaseAttack.php' );
                require_once ( XGP_ROOT . 'includes/battle_engine/implementations/Xgp/missionCaseAttack.php' );
        }

@Razican
Copy link
Author

Razican commented May 7, 2015

OK, I'll check into it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants