Joined: 12/26/2006
Posts: 256
Location: United States of America
Why are we spending so much time discussing this when a simple C function will do the job?
unsigned CalculateWhatPlayerWillBeInTenYears(unsigned WhatPlayerIsNow)
{
    return WhatPlayerIsNow + 10;
}
Any volunteers for testing?
Experienced player (828)
Joined: 11/18/2006
Posts: 2426
Location: Back where I belong
Deep Loner wrote:
Why are we spending so much time discussing this when a simple C function will do the job?
unsigned CalculateWhatPlayerWillBeInTenYears(unsigned WhatPlayerIsNow)
{
    return WhatPlayerIsNow + 10;
}
Any volunteers for testing?
Since I have no history with coding or programming, I can only assume this means there is some form of time travel involved :D So in that case, sign me up for a test run!
Living Well Is The Best Revenge My Personal Page
Joined: 5/2/2006
Posts: 1020
Location: Boulder, CO
I can only assume this means there is some form of time travel involved
I have only done this once before?
Has never colored a dinosaur.
Editor, Active player (297)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
Deep Loner wrote:
unsigned CalculateWhatPlayerWillBeInTenYears(unsigned WhatPlayerIsNow)
{
    return WhatPlayerIsNow + 10;
}
Any volunteers for testing?
There is an error in your function. It adds 10 into what the player is now. For example, if I now possess 1000€ of money, it claims I then possess 1010€ of money. The key is "unit". Your program does not indicate the unit of the number 10. Fix it. Presumably it should be something time related. Do note that you cannot just add apples and oranges together. You need to code a framework that transforms another unit by a time unit. Perhaps some simple formula will do.
Post subject: porblem solved
Banned User
Joined: 12/23/2004
Posts: 1850
function tenyears($player) {

// we're working with a copy, so mess with their variables as needed
// however we should probably work with a paused copy
$player['mode'] = SUSPENDED_ANIMATION;

// fire the time machine up
$player['age'] += yearstodefaulttime(10);

// let the other idiot deal with not blowing up the universe now
return $player;

}
Perma-banned
Post subject: Re: porblem solved
Editor, Active player (297)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
Xkeeper wrote:
function tenyears($player)
Suddenly aging 10 years without any time passing around me would probably make me somewhat sad.
Post subject: Re: porblem solved
Banned User
Joined: 12/23/2004
Posts: 1850
The external program handling the check would simply instantly create an inactive copy of you, compare your changes from ten years to the current you, and then instantly destroy the copy. (Now if I made it "function tenyears(&$player)", we'd have a problem...)
Perma-banned
Post subject: Re: porblem solved
Editor, Active player (297)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
Xkeeper wrote:
The external program handling the check would simply instantly create an inactive copy of you, compare your changes from ten years to the current you, and then instantly destroy the copy.
But just aging the person by 10 years does not equal the person living 10 years in the world.
Joined: 4/11/2006
Posts: 487
Location: North of Russia :[
b := player.age;
repeat 
  player.processmessages;
  sleep(0);
until player.age = b+10;
^__^
Banned User
Joined: 12/23/2004
Posts: 1850
¬_¬
compare($players['YOUR_NAME_HERE'], 10);

function compare(&$player, $time = 0, $changes = array(null);) {

set_time_limit(0);

$time *= 31557600;

$player1 = $player;
$player = alterplayer($player, $changes); // "null" means "do nothing", but someone might want to have some fun...
sleep($time);
$player2 = $player;

print comparison($player1, $player2);

}
Perma-banned
Active player (411)
Joined: 3/16/2004
Posts: 2623
Location: America, Québec
In Ten Years, This Player will be.... ...10 years older.
Post subject: Captain Obvious to the rescue
Banned User
Joined: 12/23/2004
Posts: 1850
Hello, Phil. :)
Perma-banned
Post subject: Re: porblem solved
upthorn
He/Him
Emulator Coder, Active player (391)
Joined: 3/24/2006
Posts: 1802
Bisqwit wrote:
Suddenly aging 10 years without any time passing around me would probably make me somewhat sad.
Okay, so there's one concrete answer: In ten years, Bisqwit will probably be somewhat sad...
How fleeting are all human passions compared with the massive continuity of ducks.
Joined: 12/26/2006
Posts: 256
Location: United States of America
Bisqwit wrote:
There is an error in your function. It adds 10 into what the player is now. For example, if I now possess 1000€ of money, it claims I then possess 1010€ of money. The key is "unit". Your program does not indicate the unit of the number 10. Fix it. Presumably it should be something time related. Do note that you cannot just add apples and oranges together. You need to code a framework that transforms another unit by a time unit. Perhaps some simple formula will do.
You were using your "playful/fun" avatar. First it was the PET emulator (I still have no idea what's going on in that code), then the whole Genesis Gods thread fiasco (a fiasco for me, anyway), and now it's this. Do you enjoy making fun of my programming skills? ; ) Anyway, in ten years my software company will have put Microsoft Corporation out of business after stealing all their market share with my revolutionary new operating system.
Experienced player (828)
Joined: 11/18/2006
Posts: 2426
Location: Back where I belong
Deep Loner wrote:
Anyway, in ten years my software company will have put Microsoft Corporation out of business after stealing all their market share with my revolutionary new operating system.
So you'll run Apple?
Living Well Is The Best Revenge My Personal Page
Editor, Active player (297)
Joined: 3/8/2004
Posts: 7469
Location: Arzareth
Deep Loner wrote:
Do you enjoy making fun of my programming skills? ; )
Huh? I haven't been making any connection.
Chamale
He/Him
Player (182)
Joined: 10/20/2006
Posts: 1355
Location: Canada
ME: Ruler of the Universe RRidgway: Slave *delete* WHIPPED BY A CAT O' NINE TAILS! Bisqwit: Slave Phil: Slave Nitsuja: Slave Bag of Magic Food: Slave Mmbossman: Slave FractalFusion: Slave Primorial#Soup: Slave
Player (88)
Joined: 1/15/2006
Posts: 333
Location: Bangkok, Thailand
In 10 years, I'll probably be working as an overworked, underpaid software developer for a ridiculously large company, have my own cubicle, and be referred to by my immediate superiors solely by a personal identification number.
Chamale wrote:
Primorial#Soup: Slave
That sums it up pretty well.
print reduce(lambda x,p:p/2*x/p+2*10**1000,range(6643,1,-2))
Experienced player (828)
Joined: 11/18/2006
Posts: 2426
Location: Back where I belong
Chamale wrote:
Mmbossman: Slave
That's Mr. Slave to you. Wait. Ummm.... that doesn't sound any better... can I go by Indentured Servant instead? Lemmiwinks and I don't get along.
Living Well Is The Best Revenge My Personal Page
Joined: 12/26/2006
Posts: 256
Location: United States of America
Bisqwit wrote:
Deep Loner wrote:
Do you enjoy making fun of my programming skills? ; )
Huh? I haven't been making any connection.
I know that... I was laughing along with your previous post and poking fun at you for poking fun at me by facetiously demanding semantic corrections to a facetiously created computer program function; obviously, in all this facetious poking fun, no harm was done... ...and, I was also pointing out that this theme has also occurred in some of our discussions in the past, thus facetiously asking, "Do you enjoy making fun of my programming skills?" Of course I know you don't -- and if I thought you did, and actually wasted my mental energy being offended at something posted in an internet forum... well... -- and not to direct this at anyone else -- but wouldn't that just be my fault for being a total loser? I apologize that the playful intent of my post was lost. I'll try using more discretion in the future. And by the way, if you do want to continue the facetiousness, feel free to respond, "No, no, it's not that. It's just I didn't understand what programming skills you could have been referring to." ; ) DID YOU KNOW? In ten years, Deep Loner will have the highest-rated television comedy series in the history of highly rated television comedy series. He'll also be selling shares of ownership of the Brooklyn Bridge in New York City.)
Player (150)
Joined: 11/27/2004
Posts: 688
Location: WA State, USA
@Age Machine
#cycle 1
#end
:touch
Do you wish to become 10 years older at the expense of 100 gems?

!yes;Yes
!no;No
#end
:yes
#take gems 100 no
#give age 10
#zap touch
You are now ten years older.
#end
:no
#zap touch
#zap touch

$GAME OVER

:no
#endgame
#zap no
#no
:touch
The machine appears to be broken.
EDIT: Changed some stuff.
Nach wrote:
I also used to wake up every morning, open my curtains, and see the twin towers. And then one day, wasn't able to anymore, I'll never forget that.
Joined: 10/3/2005
Posts: 1332
I don't have 100 gems... but if I did, I think I'd just keep them and stay 22. I'd rather be rich than stupid, y'know.
Active player (312)
Joined: 2/28/2006
Posts: 2275
Location: Milky Way -> Earth -> Brazil
wtf... I can't predict what I'll have for dinner in a few hours!
"Genuine self-esteem, however, consists not of causeless feelings, but of certain knowledge about yourself. It rests on the conviction that you — by your choices, effort and actions — have made yourself into the kind of person able to deal with reality. It is the conviction — based on the evidence of your own volitional functioning — that you are fundamentally able to succeed in life and, therefore, are deserving of that success." - Onkar Ghate
Bisqwit wrote:
Drama, too long, didn't read, lol.
Former player
Joined: 3/23/2006
Posts: 211
pirate_sephiroth wrote:
wtf... I can't predict what I'll have for dinner in a few hours!
Me neither - and I cook for myself.
do not forget to *ENJOY THE SAUCE*
Joined: 10/24/2004
Posts: 60
Location: Quebec
blitzag --> Will probably continue to lie about runs his doing and post here one time a year...