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

Troops and Nations #14

Open
Didiboo opened this issue Apr 19, 2020 · 0 comments
Open

Troops and Nations #14

Didiboo opened this issue Apr 19, 2020 · 0 comments

Comments

@Didiboo
Copy link

Didiboo commented Apr 19, 2020

Hello,
Digging through the code, I found "traces" of the "Monsters" nation.
Since I use this code locally with friends, I decided to add this nation.
I modified the database by adding the columns in the units table, I created the trainings, the reinforcements, the troops in unidata, the templates that are going well, and change an impressive number of "$ i = 1 ; $ i <= 50; $ i ++ "in" $ i = 1; $ i <= 60; $ i ++ "

Everything works perfectly, until I launch troops.
Indeed, the troops do not decrement the village, and when they return, they are added to those of the village.
I have 10 u51 on the village, I send them (reinforcement, attack, raid, whatever, the result is the same), the movement is ok, on the other hand, I have 10 troops in the village + 10 troops in movement, on their return I find myself with 20 u51.
I searched a lot but there I dry, if someone has an idea or a lead, I am interested.
Best Regards.

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

No branches or pull requests

1 participant