I am still receiving a lot of messages about deprecated JS commands from a lot of oxps (latest versions)
Here some of them:
Behemoth
Buoyrepair
Dredger
Famous planets
Hotrods
Ups – courier
Asteroid storm
Black baron
Bounty scanner
And even from oolite itself in the oolite-global-prefix.js
I Know that it is just a warning, just mention them (although I have already correct them in my hard disk )
Deprecated JS commands
Moderators: winston, another_commander
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Deprecated JS commands
As you say, it are just warnings that these things will stop working with Oolite 1.73. For 1.72 there is no other problem but a longer log file.Ark wrote:I am still receiving a lot of messages about deprecated JS commands from a lot of oxps (latest versions)
Ups – courier
However, my last Ups–courier upload (1.4.5) should be free of warnings about Deprecated JS commands. Work on a 1.72+ only version is in progress as it becomes more and more difficult to keep it also compatible with the 1.65 users.
And Behemoth, Buoyrepair, Dredger are free of warnings on my computer. All three are scheduled to replaced i the near future. Buoyrepair will even have much extras.
On the others I can't comment.
UPS-Courier & DeepSpacePirates & others at the box and some older versions
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Re: Deprecated JS commands
Really? Er… whereabouts? :-)Ark wrote:And even from oolite itself in the oolite-global-prefix.js
E-mail: [email protected]
Re: Deprecated JS commands
The last version on the wiki is 1.4.4Eric Walch wrote:However, my last Ups–courier upload (1.4.5) should be free of warnings about Deprecated JS commands.
@Arhuman I think i had made a mistake but in order to be sure i have to check it in my home (Since i do not have an oolite installation in my office)
- Eric Walch
- Slightly Grand Rear Admiral
- Posts: 5536
- Joined: Sat Jun 16, 2007 3:48 pm
- Location: Netherlands
Re: Deprecated JS commands
My mistake, I mend 1.4.4 that should be free of the warnings. (1.4.5 is the next version on my desktop). The only message that is still gives is about slow routes to add ships. I decided to also remove those, but that means to chance shipdata.plist in a way that it becomes unusable with 1.65. Therefor it will become 1.72+ only.Ark wrote:The last version on the wiki is 1.4.4Eric Walch wrote:However, my last Ups–courier upload (1.4.5) should be free of warnings about Deprecated JS commands.
With the behemot.oxp I only found one occasion in need of change. who == player should become who.isPlayer. With this change it keeps compatible with old and new oolite versions. (don't change it in who == player.ship as this will make 1.72+ only code)
UPS-Courier & DeepSpacePirates & others at the box and some older versions