Few questions for some of the vets here

Ask for help or introduce yourself to the community here. This is also an academy for new players/members.
Post Reply
User avatar
Nuclear Raunch
The Wanderer
Posts: 950
Joined: Tue May 24, 2005 4:30 am

Post by Nuclear Raunch »

1: How does the Stock market work? I know how it functions, I'm just wondering what makes the prices rise and fall. Is it based upon Admin's decisions, number of shares bought, number of shares sold, or something else altogether?

2: What is land gained from Pincer and Sniper attacks?


3: Troop production ratios. It used to be 1.2 mice per barracks, .6 squirrels per barracks, .3 hares, and .2 otters. Is that still the same?

4: Can anyone tell me the networth value of land, money, food, mages, mice, squirrels, hares, and otters?

Thanks.
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 »

1. The stock market is chaotic.

For the rest, I need to check the code to give you a precise answer, in other words, tomorrow.
:wq
User avatar
Devari
Mr. -1
Posts: 3194
Joined: Wed Mar 10, 2004 5:02 am
Location: British Columbia, Canada

Post by Devari »

1. Prices rise and fall based on a random number generator, to the best of my knowledge - I haven't looked at the exact code for it, but I do know it is relatively uninfluenced by other events. The admins CAN up it or lower it, but we never do. :D
If you go down to the woods today, you better not go alone
It's a lovely day in the woods today, but safer to stay at home
BECAUSE EVIL FREEN IS KILLING ALL THE TEDDY BEARS AT THEIR PICNIC
User avatar
IFman
Furcht mich
Posts: 650
Joined: Sat Mar 13, 2004 12:22 am
Location: Here

Post by IFman »

3. yes
4. Land=500
Used Land=100
Mice=2
I Like Pi
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

Actually, it is NOT a random number generator, it is a chaos function, the Bender bouncer. See the wiki link.
:wq
User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

Answering question 3. Here are the base market costs:

code: Select all

$config['troop'][0]             =       400;
$config['troop'][1]             =       800;
$config['troop'][2]             =       1600;
$config['troop'][3]             =       2400;
Formula for troop production:

code: Select all

                // build extra units
                $troop = array();
                foreach($config[troop] as $num => $mktcost) {
                        $troop[$num] = floor(($users[industry] * ($users[ind][$num] / 100)) * (600 / $mktcost) * $urace[ind] * $config[indc]);
                        if ($action == 'industry')
                                $troop[$num] *= 1.25;

                        $users[troop][$num] += $troop[$num];
                }
In other words,
Mice: 1.50
Squirrels: 0.75
Hares: 0.37
Otters: 0.25
:wq
Post Reply
  • Members connected in real time

    🔒 Close the panel of connected members