debris bug
This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.
-
-
I correct the bug around 19:15. You do not have to bother to look at Sachand that all you said does not correspond to the bug encounteredYou can contact me by Discord or Telegram
Discord Galactic Conquest
Video Youtube dev + tutorials
Webside -
Master wrote:
@byazrail yine aynı. Hem aya hem gezegene saldırı yapınca sadece son harabe kaliyor. Diğerleri siliniyor
der_metal = der_metal + :metal,
der_crystal = der_crystal + :crystal
WHERE '.$debrisType.' = :planetId;';
503. satırdaki güncellemeyi bu şekilde değiştirir misin?
düzeltilmiş halini ekledim.2Moons Refactor by CodeIgniter4
SGame High Speed OGame Server / SGame Yüksek Hızlı OGame Sunucu -
sql hatası veriyor. Sayfayı yenileyince harabe yine kayboluyor
-
Master wrote:
sql hatası veriyor. Sayfayı yenileyince harabe yine kayboluyor
der_metal = der_metal + \':metal\',
der_crystal = der_crystal + \':crystal\'
WHERE '.$debrisType.' = :planetId;';
birde o satırı şu şekil değiştirip dener misin?
Dosyayı ekledim gene de.2Moons Refactor by CodeIgniter4
SGame High Speed OGame Server / SGame Yüksek Hızlı OGame Sunucu -
Danter14 wrote:
I correct the bug around 19:15. You do not have to bother to look at Sachand that all you said does not correspond to the bug encountered
Issue created;
Look this issue github.com/HikeGame/2moons-2.0/issues/122Moons Refactor by CodeIgniter4
SGame High Speed OGame Server / SGame Yüksek Hızlı OGame Sunucu -
Simdi de harabe kaybolmuyor ama harabe çıkmayan savaşa bir onceki harabe ekliyor. Yani her saldirida harabe 2 katina cikiyor
-
Master wrote:
Simdi de harabe kaybolmuyor ama harabe çıkmayan savaşa bir onceki harabe ekliyor. Yani her saldirida harabe 2 katina cikiyor
Harabe çıkmayan savaşta üzerine harabe eklemez.
2 katına çıkma olasılığı zor ama ek bir bug daha var.2Moons Refactor by CodeIgniter4
SGame High Speed OGame Server / SGame Yüksek Hızlı OGame Sunucu -
ay oluşması sonucu demiyorum zaten. admin panelinde onu ayarlayabiliyorum. oyun esnasında hem aya hem gezegene saldırınca harabeyi siliyor. son savaştan harabe çıkarsa sadece o kalıyor
-
Master wrote:
ay oluşması sonucu demiyorum zaten. admin panelinde onu ayarlayabiliyorum. oyun esnasında hem aya hem gezegene saldırınca harabeyi siliyor. son savaştan harabe çıkarsa sadece o kalıyor
2Moons Refactor by CodeIgniter4
SGame High Speed OGame Server / SGame Yüksek Hızlı OGame Sunucu -
bunu yapan adam neyi düşünerek yapmış çok merak ediyorum
-
Master wrote:
bunu yapan adam neyi düşünerek yapmış çok merak ediyorum
2Moons Refactor by CodeIgniter4
SGame High Speed OGame Server / SGame Yüksek Hızlı OGame Sunucu -
tamamdır o zaman bekliyorum şimdiden ellerine sağlık
-
Master wrote:
tamamdır o zaman bekliyorum şimdiden ellerine sağlık
// Use planet debris, if attack on moons kısmındaki $targetPlanet += $targetDebris kısımı hatalı merge etmiyor.
Bug fix;
@Danter14
if($this->_fleet['fleet_end_type'] == 3)
{
// Use planet debris, if attack on moons
$sql= "SELECT der_metal, der_crystal FROM %%PLANETS%% WHERE id_luna = :moonId;";
$targetDebris= $db->selectSingle($sql, array(
':moonId' => $this->_fleet['fleet_end_id']
));
$targetPlanet['der_metal']= $targetDebris['der_metal'];
$targetPlanet['der_crystal'] = $targetDebris['der_crystal'];
}
This bug have a MissionCaseDestruction.2Moons Refactor by CodeIgniter4
SGame High Speed OGame Server / SGame Yüksek Hızlı OGame Sunucu -
harabeyi iki katına çıkarıyor her saldırıda
-
Master wrote:
harabeyi iki katına çıkarıyor her saldırıda
2Moons Refactor by CodeIgniter4
SGame High Speed OGame Server / SGame Yüksek Hızlı OGame Sunucu -
The code via the issue is not correct because it will multiply the debris
I will install my version is quickly make the correction of this bug. Do not forget that the moon if it is not destroyed works like a planet in by itself which is not logical for the creation of debrisYou can contact me by Discord or Telegram
Discord Galactic Conquest
Video Youtube dev + tutorials
Webside -
Danter14 wrote:
The code via the issue is not correct because it will multiply the debris
I will install my version is quickly make the correction of this bug. Do not forget that the moon if it is not destroyed works like a planet in by itself which is not logical for the creation of debris
First comment removed.
another comments read please.2Moons Refactor by CodeIgniter4
SGame High Speed OGame Server / SGame Yüksek Hızlı OGame Sunucu -
-
Danter14 wrote:
The code via the issue is not correct because it will multiply the debris
I will install my version is quickly make the correction of this bug. Do not forget that the moon if it is not destroyed works like a planet in by itself which is not logical for the creation of debris
PHP Source Code
- if($this->_fleet['fleet_end_type'] == 3)
- {
- // Use planet debris, if attack on moons
- $sql = "SELECT der_metal, der_crystal FROM %%PLANETS%% WHERE id_luna = :moonId;";
- $targetDebris = $db->selectSingle($sql, array(
- ':moonId' => $this->_fleet['fleet_end_id']
- ));
- $targetPlanet['der_metal'] = $targetDebris['der_metal'];
- $targetPlanet['der_crystal'] = $targetDebris['der_crystal'];
- }
2Moons Refactor by CodeIgniter4
SGame High Speed OGame Server / SGame Yüksek Hızlı OGame Sunucu
-
Share
- Facebook 0
- Twitter 0
- Google Plus 0
- Reddit 0
-
Users Online 8
8 Guests