Oolite Bulletins

For information and discussion about Oolite.
It is currently Thu Dec 14, 2017 10:38 pm

All times are UTC




Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 24 posts ]  Go to page Previous 1 2
Author Message
 Post subject:
PostPosted: Tue Dec 04, 2007 10:41 am 
Offline
Grand Admiral Emeritus
Grand Admiral Emeritus
User avatar

Joined: Sat Apr 02, 2005 2:43 pm
Posts: 6657
Location: Sweden
Debug.oxp for Oolite 1.70 is now available. Removed, buggy

Documentation forthcoming, but in short, it does what DebugMenu.oxp did for Oolite 1.69, only better, and also adds an integrated interactive JavaScript console. (This can also be used to issue legacy scripting commands to the player, in the form “:: script_method”.)

The OXP also enables support for external JavaScript consoles on all platforms, but since no external consoles exist (except a simplistic command-line one for OS X only), I’m posting this in the Mac thread.

_________________
E-mail: jens@oolite.org


Top
   
 
 Post subject:
PostPosted: Tue Dec 04, 2007 5:48 pm 
Offline
Grand Admiral Emeritus
Grand Admiral Emeritus
User avatar

Joined: Sat Apr 02, 2005 2:43 pm
Posts: 6657
Location: Sweden
This time for real: Debug.oxp for Oolite 1.70 is now available, with some docs.

_________________
E-mail: jens@oolite.org


Top
   
 
 Post subject:
PostPosted: Wed Dec 05, 2007 8:26 am 
Offline
Pirate
Pirate
User avatar

Joined: Mon Sep 27, 2004 10:21 pm
Posts: 731
Location: Port St. Mary, Isle of Man
What's required for the console?


Top
   
 
 Post subject:
PostPosted: Wed Dec 05, 2007 9:53 am 
Offline
Grand Admiral Emeritus
Grand Admiral Emeritus
User avatar

Joined: Sat Apr 02, 2005 2:43 pm
Posts: 6657
Location: Sweden
The console is based around a TCP protocol, documented here. The fun part is that it’s based around XML plists, for the convenience of Oolite. At the time I implemented it, I believed Apple’s CoreFoundation library, which implements plist support, was portable, but this appears to be… not quite the case. Anyhow, there’s a CoreFoundation-based command-line implementation in the repo at tools/simpleDebugConsole. I’ve also started on a Python implementation based on Twisted.

The client side of the protocol implemented in Oolite is known to work under Windows when communicating with a Mac running the simpleDebugConsole.

_________________
E-mail: jens@oolite.org


Top
   
 
 Post subject:
PostPosted: Wed Dec 05, 2007 3:18 pm 
Offline
Pirate
Pirate
User avatar

Joined: Mon Sep 27, 2004 10:21 pm
Posts: 731
Location: Port St. Mary, Isle of Man
Why not make it simple plain text, and have Oolite listen, then you can just use telnet? (Or PuTTY on Win32 given the dreadfulness of the Win32 telnet client)


Top
   
 
 Post subject:
PostPosted: Wed Dec 05, 2007 4:15 pm 
Offline
Deadly
Deadly
User avatar

Joined: Fri Jan 21, 2005 1:12 pm
Posts: 219
Location: London, Engerland
Woo yay! Thanks for all your hard work.

Throw in a fat man in suit, and Christmas has come early. :lol:

_________________
You came in that? You're braver than I thought!


Top
   
 
 Post subject:
PostPosted: Wed Dec 05, 2007 5:42 pm 
Offline
Grand Admiral Emeritus
Grand Admiral Emeritus
User avatar

Joined: Sat Apr 02, 2005 2:43 pm
Posts: 6657
Location: Sweden
Quote:
Why not make it simple plain text, and have Oolite listen, then you can just use telnet? (Or PuTTY on Win32 given the dreadfulness of the Win32 telnet client)
Because that’s more work while supporting the same feature set. Ease of maintenance on Oolite’s side is the priority.

(Also, making Oolite the server would make reporting early issues more problematic.)

Edit: also, Oolite is quite frankly so full of bugs, strange interactions and other potential security concerns (combined with file I/O) that I wouldn't want to be responsible for having open to the intertubes.

_________________
E-mail: jens@oolite.org


Top
   
 
 Post subject:
PostPosted: Wed Dec 05, 2007 6:30 pm 
Offline
Grand Admiral Emeritus
Grand Admiral Emeritus
User avatar

Joined: Sat Apr 02, 2005 2:43 pm
Posts: 6657
Location: Sweden
*bustles back into room*

Furthermore, fourthly, plain text in a telnet-friendly sense would be insufficient to capture the semantics of the data already exchanged between the console script and the integrated console at the time the TCP protocol was suggested.

_________________
E-mail: jens@oolite.org


Top
   
 
 Post subject:
PostPosted: Wed Dec 05, 2007 6:56 pm 
Offline
Pirate
Pirate
User avatar

Joined: Mon Sep 27, 2004 10:21 pm
Posts: 731
Location: Port St. Mary, Isle of Man
Fair enough. (Note in the case of Oolite doing the listening, you can bind to 127.0.0.1 then you don't expose anything to the intertubes.)


Top
   
 
Display posts from previous:  Sort by  
Post new topic  This topic is locked, you cannot edit posts or make further replies.  [ 24 posts ]  Go to page Previous 1 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
cron
Powered by phpBB® Forum Software © phpBB Limited