CTF Bug

As bugs and suggestions are fixed/implemented/rejected, they will be moved in here.
Post Reply
User avatar
Nuclear Raunch
The Wanderer
Posts: 950
Joined: Tue May 24, 2005 4:30 am

Post by Nuclear Raunch »

I noticed this when I was going for a hero so I spent a little time testing it out. It seems that when spending several turns at a time you do not get nearly as much troops as if you did them 1 at a time.

I was a Mole with 6,433 barracks in Northlands.

If I spent 1 turn training I gained 10,171 squirrels
If I spent 10 turns training I gained 89,776 squirrels
If I spent 1 turn farming I gained 8,137 squirrels
If I spent 10 turns farming I gained 71,821 squirrels

Mana gained while spending 10 and 1 turns writing looked to be fine. (forgot to check troops when I spent turns writing)

Grain output seemed fine when I farmed at 10 and 1 turns.
I know the voices in my head arn't real but they usually have some pretty good ideas.
User avatar
Kyrodo
Rabbit
Posts: 723
Joined: Wed Jul 13, 2005 2:30 am
Contact:

Post by Kyrodo »

maybe how much troops you gain steadily goes down, but probably not XD
Image
Image
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

Can't reproduce, but will keep trying. This has been mentioned before.
:wq
Veranor
FAF Co-Programmer
Posts: 310
Joined: Mon Mar 08, 2004 8:12 pm

Post by Veranor »

If you still have this bug: try uncondensing turns and see what happens. Maybe it's reporting the lower number as gained but you are actually gaining the correct amount.
"The truth is a trap: you can not get it without it getting you; you cannot get the truth by capturing it, only by its capturing you." - Søren Kierkegaard
User avatar
Nuclear Raunch
The Wanderer
Posts: 950
Joined: Tue May 24, 2005 4:30 am

Post by Nuclear Raunch »

OK I think I know what the problem is. I believe it has to do with the northlands bonus not being applied to subsequent turns.

First turn gave me 15,268 all subsequent turns gave me 13,276 each while training. Difference of 15% and the only 15% bonus I'm aware of is for being in the future.

While foraging I got 12,214 for the first turn and 10,621 for all subsequent turns. Difference of 15% same as before.
I know the voices in my head arn't real but they usually have some pretty good ideas.
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

If you're right... I'm gonna break the karma limit! :)
Will look into it later tomorrow, what you have sounds excellent; thank you.
:wq
Veranor
FAF Co-Programmer
Posts: 310
Joined: Mon Mar 08, 2004 8:12 pm

Post by Veranor »

Nuclear... you are my hero.

Relevant lines:

code: Select all

$oldind = $urace[ind];

    if ($users[era] == 3)
        $urace[ind] *= 1.15;

while ($taken < $numturns) {
     ...
     $urace[ind] = $oldind;
     ...
}

It's late so I can't fix this now. Sorry I stole it from you Beatles. :P Note the same thing happens with rune/ind in era1 so should check out for $oldrunes as well
"The truth is a trap: you can not get it without it getting you; you cannot get the truth by capturing it, only by its capturing you." - Søren Kierkegaard
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

Thanks for finding it, Vera! I applied the simple fix of moving the runes, ind, and users assignments more down.
Sorry I stole the fix from you. :P

Thanks, Nuke!

Now all that remains is to test it.

[edit] Indeed, it has been effective. Thank you, Nuke and Vera!
:wq
Post Reply
  • Members connected in real time

    🔒 Close the panel of connected members