Join us at the Oolite Anniversary Party -- London, 7th July 2024, 1pm
More details in this thread.

Confusion ahoy

General discussion for players of Oolite.

Moderators: winston, another_commander

User avatar
*cat
Dangerous
Dangerous
Posts: 103
Joined: Wed Mar 28, 2007 12:12 pm
Location: Bristol, UK (or maybe Anerak?!)

Snap!

Post by *cat »

Also 35, though was spoilt with a brother who owned a new-fangled 5.25 floppy drive!
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Post by JensAyton »

Hah! In my day, we used phonograph cylinders, and counted ourselves lucky we didn’t have to haul stone tablets uphill, both ways, in the snow!

And you tell that to t’ kids today, and they won’t belive you!

Actually, I’m 27.
User avatar
*cat
Dangerous
Dangerous
Posts: 103
Joined: Wed Mar 28, 2007 12:12 pm
Location: Bristol, UK (or maybe Anerak?!)

Port

Post by *cat »

:D Have you ported Oolite to run on stone circles yet?
(Terry Pratchett reference - [i]Light Fantastic[/i] I think)
User avatar
Captain Hesperus
Grand High Clock-Tower Poobah
Grand High Clock-Tower Poobah
Posts: 2310
Joined: Tue Sep 19, 2006 1:10 pm
Location: Anywhere I can sell Trumbles.....

Re: Port

Post by Captain Hesperus »

*cat wrote:
:D Have you ported Oolite to run on stone circles yet?
(Terry Pratchett reference - Light Fantastic I think)
No, Oolite is fully Hex-compatable ever since the 'Anthill Inside' functionality was added.....

Captain Hesperus
The truth, revealed!!
Image
User avatar
Cmdr. Maegil
Sword-toting nut-job
Sword-toting nut-job
Posts: 1294
Joined: Tue Feb 27, 2007 10:28 pm
Location: On the mend in Western Africa

Re: Port

Post by Cmdr. Maegil »

Captain Hesperus wrote:
*cat wrote:
:D Have you ported Oolite to run on stone circles yet?
(Terry Pratchett reference - Light Fantastic I think)
No, Oolite is fully Hex-compatable ever since the 'Anthill Inside' functionality was added.....
As long as there are enough bugs, that is...
You know those who, having been mugged and stabbed, fired, dog run over, house burned down, wife eloped with best friend, daughters becoming prostitutes and their countries invaded - still say that "all is well"?
I'm obviously not one of them.
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

Arexack_Heretic wrote:
Oh By the way Next week I will...

Code: Select all

{"Arnouds_life" = 
 {
  conditions = ("status_string equal STATUS_LAUNCHED_FROM_UTERUS");
  do = ("set: mission_timer_myage 0", "set: local_timer_days 0");
 },
 {
  conditions = ("status_string equal LIVING_24HOURS");
  do = ("increment: local_timer_days");
 },
 {
  conditions = ("local_timer equal 365");
  do = ("increment: mission_timer_myage", performBirthday, "set: local_timer 0");
 },
}

(SpawnTime: 12/06/1977)
So I will be incremented to mission_myage == 30. Officially an old guy.
edit: found a bug in myagecode. forgot to reset day-count. ;)
[pedant-teacher-mode]
You found only one? That invariably means you missed all the others! :wink:

And who has to correct them? ... Me again! :sigh:

So: (1) In the third condition it has to be local_timer_days as it was in the second condition. Same applies to the final set: local_timer_days 0

(2) performBirthday is an AI-method and can't be used in a script.plist.

(3) local_timer_days equal 365 isn't exact. What about leap years?
[/pedant-teacher-mode]
Officially an old guy.
I can't agree with that. Where I am living people are officially counted as youths until they are 35. Up to that point they are supposed to shut up when the elders are debating the serious issues. :oops:

I myself made it happily to the adults a couple of years ago (39 now). 8)

-----

And in my days it wasn't custom to congratulate somebody before his birthday. So that will have to wait for two more days.
User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Re: Port

Post by JensAyton »

Cmdr. Maegil wrote:
As long as there are enough bugs, that is...
Oh, definitely. Last night I spent hours trying to track down a crash in the new sky-drawing code which would manifest as soon as I wasn’t looking for it, then go away when I tried to crash it. Bugs shouldn’t have that much sense…
User avatar
Arexack_Heretic
Dangerous Subversive Element
Dangerous Subversive Element
Posts: 1876
Joined: Tue Jun 07, 2005 7:32 pm
Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
Contact:

Post by Arexack_Heretic »

@McL: lol poor guy.
1- good spotting there!
2- oh well... are you sure?
3-was intentional, i didn't want to trpple the amount of code to subtract one day every four years, let alone to make it accurate to more than two decimals after floatingpoint (or however it is called in english).
Riding the Rocket!
User avatar
Commander McLane
---- E L I T E ----
---- E L I T E ----
Posts: 9520
Joined: Thu Dec 14, 2006 9:08 am
Location: a Hacker Outpost in a moderately remote area
Contact:

Post by Commander McLane »

Seems I'm getting in a habit of ripping your code apart wherever I see it. :shock: Never mind!
Post Reply