Meh even if there is this bug I would not mind playing. Just speed it up a bit and add some more rounds to combat and it will be fine.
It isn't such a problem now, but once we hit cruisers, it works out at something like 70 cruisers to kill a single one. If I get chance later, I'll make a pair of admin fleets with battleships and stuff, and smash them against eachother to see the outcome. If both pretty much come out unscathed, then we know we have a fairly big problem.
If we have some polish OGame players, we can quickly translate the battle engine (it's a single gigantic PHP function written in either polish or some other similar language) and look for the bug
Give a sample. I doubt it's Hungarian but the two langauges can look pretty similar. Destroyer is a polak btw.
It's in English I think. Or French. Or Russian. Or German. Probably German. We don't know where it's actually bugged. Combat engine somewhere I guess.
umm we didnt find the bug in the warm up? woah wahts this (its close enough) there was a reason why i stopped playing after i figured out i couldnt rush light cargos
If it's in Polish I can translate it. Just send the thing to me, and remember my coding knowledge is sub-zero.
I have the biggest fleet in the game and have done all this research which has taken like a whole week to do and now we have to restart? Non-english programming languages? are we in communist Sweden? dam polaks.
We're not looking at a restart, we're looking at a game-over we're done etc. Just keep your economy ticking over a for a few days whilst we work out if there's anything that can be done. If we're lucky, we might find that applying one of the newer beta/SVN versions over the top of ours fixes it. If not, we're shit out of luck I think.
Its actual programming is in english, but it looks like some of the comment lines are in different languages but nothing google translate won't solve. I think \includes\classes\missions\calculateAttack.php is the battle engine, here is the download for it if you want to have a look. http://2moons.googlecode.com/files/2Moons v1.6.1.zip I bet it's just one line of code that's wrong or something retarded like that.
Pouring through it now. GOD I HATE PHP SO MUCH EDIT: Wow, I forgot how mind-bendingly horrid that code is. It might be clearer to annotate the code with echo statements to see wtf is happening. Still, I don't think you'll be able to fix this issue quickly.
Awww I was hoping it would be like, *changes one line of code instantly* "I fixed it!". But these things never work that way because programming is EVIL.......
Looking at line 75 with throws the error and line 73 which is defining the array which is throwing the error: Code: $ActualFleets = $db->countquery("SELECT COUNT(*) FROM ".FLEETS." WHERE `fleet_owner` = '".$_SESSION['id']."' AND `fleet_mission` = '15';"); if ($ActualFleets['state'] >= floor(sqrt($_SESSION['USER'][$resource[124]]))) I suppose it doesn't like strings in arrays?
-₪EPIC₪- D.D.D. Destroyer: spying on my beautiful planet are we? ¦Ģ¦rantrithor: not just any spying -₪EPIC₪- D.D.D. Destroyer: some exquisite spying? ¦Ģ¦rantrithor: exquisite spying, the one where you better take covar in two hours from now ¦Ģ¦rantrithor is now Offline. Threats