jstar88 / opbe

Ogame probabilistic battle engine
GNU Affero General Public License v3.0
76 stars 29 forks source link

How to apply engine? #11

Closed noonn closed 9 years ago

noonn commented 9 years ago

Hi~ The battle enging is very good. And, How to apply this code in 2moons sources? My 2moons version is 1.3.5... Please Some teach to me for apply source?

jstar88 commented 9 years ago

Currently there is not 1.3.5 version. You should edit calculateattack.php as you need

noonn commented 9 years ago

Please Can you edit calculateattack.php.php? i can not edit ㅠㅠ.

jstar88 commented 9 years ago

I'm sorry but i don't really know how is 1.3.5. Anyway trust me, all version are really similar except some array indexes.. try to check differences between 1.6 and 1.3.5 original php file and then apply these changes to the implementation. Regards

noonn commented 9 years ago

My english is no good. sorry.^^ thank you very much for your interest to me.. appreciate your enthusiasm . My 2moons 1.3 ~ 1.3.5 mixing. but I thinks to same code.

Wait for you. Thanks.^^