Oolite test release 1.70

Discussion and announcements regarding the Mac port… er, original version of Oolite.

Moderators: winston, another_commander

User avatar
JensAyton
Grand Admiral Emeritus
Grand Admiral Emeritus
Posts: 6657
Joined: Sat Apr 02, 2005 2:43 pm
Location: Sweden
Contact:

Oolite test release 1.70

Post by JensAyton »

Oolite test release 1.70 - Role Another Number for the Road Edition is now available from GURPO. This release focuses primarily on scripting features. The updater can be applied to 1.65 and the test release series up to 1.69.1.2 (specifically, version 1.65, 1.67, 1.67.1, 1.68, 1.69, 1.69b, 1.69.1, 1.69.1.1 and 1.69.1.2). Seriously, people, the updater is a lot of work to put together, and it’s about the most reliable part of this thing. Use it. :-)

Changes since Oolite 1.69.1.2:
  • Greatly enhanced JavaScript scriptability. Ships and planets are now scriptable objects. Every ship now has an attached JavaScript script. Added timers and clock object. The system object provides flexible methods for searching for entities.
  • Implemented interactive JavaScript/debug console. Under Mac OS X, this is integrated into the application (when a special OXP is installed). On all platforms, the game can communicate with a separate console program over TCP. Writing a good console is left as a third-party opportunity.
  • Fixed inconsistent usage of "role" attribute by splitting it into a set of roles and a primary role.
  • New extendable property list, pirate-victim-roles.plist, specifies which (primary) roles pirates will look for when selecting victims. This allows OXP developers to make their special ships potential victims.
  • Integrated Commander McLane's external views OXP. It is recommended that the OXP be removed when running Oolite 1.70.
  • Added travel time estimate for stars within one jump.
  • Split game options out of menu.
  • Added option to play in wireframe mode.
  • Added option to set shader complexity level (Off/Simple/Full) on shader-capable systems.
  • Added default shader, used for all ships in full-shader mode and for materials with smoothing or options in simple-shader mode. Added material options for illumination mapping, glow mapping and specular mapping, currently only implemented with shaders. Made all ships slightly shiny by default.
  • New AI methods:
    • scanForNearestShipWithPrimaryRole: (new, preferred name for scanForNearestShipWithRole:)
    • scanForNearestShipWithAnyPrimaryRole:
    • scanForNearestShipWithoutPrimaryRole:
    • scanForNearestShipHavingRole:
    • scanForNearestShipHavingAnyRole:
    • scanForNearestShipNotHavingRole:
    • scanForNearestShipWithScanClass:
    • scanForNearestShipWithoutScanClass:
    • sendScriptMessage:
  • Converted several plists to OpenStep format for legibility, and cleaned up some redundant information from shipdata.plist.
  • Updated JavaScript engine. JavaScript 1.7 is now supported.
  • Legacy script methods awardFuel: and setFuelLeak: now work on the current script target, not always the player.
  • Fixed bug where local planetinfo overrides were not being restored from saved games properly.
  • Fixed bug where several shipdata attributes were ignored for stations (bug #11684). Added has_npc_traffic attribute to suppress NPC traffic at carriers.
  • Fixed bug with stars and nebulae looking wrong when inside an atmosphere.
  • Fixed trumble-related crash.
  • Added clearMissionScreen scripting method to simplify mission screens.
  • Several AI bug fixes contributed by Eric Walch.
  • Fix for a certain class of AI crashes (recursive reactToMessage:).
  • Made evil XML DTD swizzling hack work with plists generated under Mac OS X 10.5.
  • Made asteroids created by scripts behave the same as asteroids created by the system populator.
  • Fixed bug where cancelling the Open Game dialog caused broken behaviour (Mac OS X only; bug #11691).
Updated scripting documentation and the debug OXP will be rolled out during the week.
Last edited by JensAyton on Sun Apr 20, 2008 4:30 pm, edited 4 times in total.
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 »

Oh, I almost forgot… there’s now a -verify-oxp <path> command-line option. In order to use it under Mac OS X:
  • Open Terminal (in Utilities in the Applications folder)
  • Drag Oolite to the terminal window. The path to it should appear, followed by a space.
  • Delete the trailing space, then type “Contents/MacOS/Oolite -verify-oxp ”
  • Drag your OXP to the terminal window.
  • Click in the terminal window, and press return.
The command built in this way should be something like “/Applications/Oolite\ 1.70/Oolite.app/Contents/MacOS/Oolite -verify-oxp /Users/yourname/Library/Application\ Support/Oolite/AddOns/yourOXP.oxp”, and will cause Oolite to run for a few seconds and print out diagnostic information about your OXP. It performs a variety of different checks, and currently doesn’t perform an even greater variety.
User avatar
jonnycuba
Deadly
Deadly
Posts: 233
Joined: Fri May 21, 2004 1:04 pm
Location: Witchspace

Post by jonnycuba »

This sounds like a fantastic release Ahruman. I'm really looking forward to having a spin in wireframe mode..
8)
Team Zorg are Go!
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 »

:D :D :D

I can't wait to play with it!

Unfortunately my MacBook Pro's display currently doesn't work! :cry: So I effectively can only use my computer when I connect it to a quite worn-out, old 800x600-monitor at work, which is a serious obstacle for any playing and testing! :cry: :cry: :cry:
User avatar
Rxke
Retired Assassin
Retired Assassin
Posts: 1760
Joined: Thu Aug 12, 2004 4:54 pm
Location: Belgium

Post by Rxke »

Heartfelt congratulations, Ahruman!

:D :D
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 »

It should be noted that another_commander implemented several of these features.

As pointed out in the Windows announcement thread, the OXP verfier disables printing of log message classes, and fails to reenable them when it’s done. This can be fixed with the following terminal command:

Code: Select all

defaults write org.aegidian.oolite logging-show-class -bool YES
Another_commander also pointed out two more fixes:
  • Fix for the showShipModel not showing the ship model bug.
  • Fix for the rotate cargo displaying "Food"+garbage numbers bug.
User avatar
Star Gazer
---- E L I T E ----
---- E L I T E ----
Posts: 633
Joined: Sat Aug 14, 2004 4:55 pm
Location: North Norfolk, UK, (Average Agricultural, Feudal States,Tech Level 8)

Post by Star Gazer »

Absolutely huge amounts of thanks to Ahruman and Another_commander for all their dedication and hard work in both finding and removing bugs, and for their continued development of the game to allow greater control and flexibility of various game elements!

Thanks guys, your work is hugely appreciated. (where do you want the Xmas hamper delivered to...??? :D )
Very funny, Scotty, now beam down my clothes...
User avatar
Rxke
Retired Assassin
Retired Assassin
Posts: 1760
Joined: Thu Aug 12, 2004 4:54 pm
Location: Belgium

Post by Rxke »

I stand corrected. Also huge cheers for another_commander! :D :D
User avatar
aegidian
Master and Commander
Master and Commander
Posts: 1161
Joined: Thu May 20, 2004 10:46 pm
Location: London UK
Contact:

Post by aegidian »

Excellent work - carry on Commanders!
"The planet Rear is scourged by well-intentioned OXZs."

Oolite models and gear? click here!
User avatar
TGHC
---- E L I T E ----
---- E L I T E ----
Posts: 2157
Joined: Mon Jan 31, 2005 4:16 pm
Location: Berkshire, UK

Post by TGHC »

Hey.......... :D :D :D :D :D

Nice to hear from you, impressed huh, new you would be :wink:

Hope all is well with you and yours
The Grey Haired Commander has spoken!
OK so I'm a PC user - "you know whats scary? Out of billions of sperm I was the fastest"
User avatar
Rxke
Retired Assassin
Retired Assassin
Posts: 1760
Joined: Thu Aug 12, 2004 4:54 pm
Location: Belgium

Post by Rxke »

:D :D Hey Giles, always good to see you're still lurking in the shadows 8)
User avatar
nijineko
---- E L I T E ----
---- E L I T E ----
Posts: 353
Joined: Wed Jul 04, 2007 3:37 pm
Location: two strange quarks short of a graviton....
Contact:

Post by nijineko »

awesome! =D looking forward to taking it out for a spin. ^^

many many thanks!
arukibito ga michi wo erabu no ka, michi ga arukibito wo erabu no deshou ka?

Image
Play games. Win Amazon gift cards! Brag. Repeat.
User avatar
matt634
Deadly
Deadly
Posts: 206
Joined: Tue Mar 21, 2006 6:32 pm
Location: Colorado, USA

Post by matt634 »

Right On Commander!
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.....

Post by Captain Hesperus »

aegidian wrote:
Excellent work - carry on Commanders!
Hiya Giles! Glad to hear from you again!

Captain Hesperus
The truth, revealed!!
Image
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 »

aegidian wrote:
Excellent work - carry on Commanders!
Hear, hear! :D

Glad you're still observing your little comOonity from time to time! :D :D :D
Locked