Cabal Common Library OXP

From Elite Wiki
Revision as of 15:05, 22 July 2016 by Svengali (talk | contribs) (Added note about successor Library)
CCL logo.png

Overview

Reinventing the wheel is not everybodys taste, so here comes a collection of useful snippets and helpers.

Its main purpose is to simplify some common tasks used by OXPers and also includes a few unique features. It contains functions to check requirements, helper functions for arrays, strings, numbers and vectors, an encrypt/decrypt algorithm, and, last but not least, functions for missionscreen models, an onscreen keyboard, a comms channel, special market deals, a event driven script for music, a system description based script to coordinate OXPs actions and a tool to check the player ship and NPCs. Over time it will grow and include more functions and features. The library does not alter any native JS objects (like Array or String) in its current form to avoid clashes.

  • List of OXPs which need Cabal_Common_Library - currently 10.

Features

The current internal version is 15.


With contributions from:

  • Michael Werle (documentation),
  • Ahruman (pseudoRand),
  • Commander McLane (strDateFromMinutes),
  • Eric Walch (mapCoordsDirection),
  • Thargoid (strAddAlignedText, strAddEdgeText, strAddIndentedText, strAdd2Columns and strAdd3Columns)
  • Terry Yuen (en/decryption),
  • Dr.J R Stockton (rand, randSpan, msbPos, baseChange, strLZ, strLZZ, arrShuffle),
  • Nicholas Zakas (Cabal_Common_BinSearch is based on his ideas)
  • Paul Bourke (pointOnLineB)

Requirements

  • Latest version needs Oolite v1.77.

Download

  • 1.7.1 in OXZ format for Oolite 1.79 or later (downloaded 16682 times). Equivalent with 1.7 but loads a second faster.


For Oolite v1.76.1:


Documentation for OXP Developers:

Demos:

Quick Facts

Levelindicator0.png
0-{{{2}}}

{{#if:"1.77"|{{#switch:"1.77"

|"1.76"=Minimum Oolite version |"1.76.1"=Minimum Oolite version |"1.77"=Minimum Oolite version |"1.77.1"=Minimum Oolite version |"1.78"=Minimum Oolite version |"1.79"=Minimum Oolite version |"1.80"=Minimum Oolite version |"1.82"=Minimum Oolite version |"1.84"=Minimum Oolite version |"1.86"=Minimum Oolite version |"1.88"=Minimum Oolite version |"1.90"=Minimum Oolite version |"1.91"=Minimum Oolite version |"1.92"=Minimum Oolite version |#default=Minimum Oolite version }}|Minimum Oolite version not specified}}{{#if:"High"|{{#switch:"High" |"Low"=CPU usage low |"Average"=CPU usage average |"Medium"=CPU usage medium |"High"=CPU usage high |"Heavy"=CPU usage heavy |#default=CPU usage not specified }}|CPU usage not specified}}{{#if:"Average"|{{#switch:"Average" |"Low"=Memory usage low |"Average"=Memory usage average |"Medium"=Memory usage medium |"High"=Memory usage high |"Heavy"=Memory usage heavy |#default=Memory usage not specified }}|Memory usage not specified}}{{#if: "Average"|{{#switch: "Average" |"Low"=GPU usage low |"Average"=GPU usage average |"Medium"=GPU usage medium |"High"=GPU usage high |"Heavy"=GPU usage heavy |#default=GPU usage not specified }}|GPU usage not specified}}{{#if:true|isParent}}{{#if:|isChild}}{{#if:true|isAPI}}{{#if:true|isDocumented}}{{#if:true|isConfigurable}}

Version Released License Features Category Author(s) Feedback
1.7.1 2013-01-08 CC-by Helper for OXPs Misc OXPs Cmd.Cheyd, PhantorGorth, Svengali BB-Link

{{#ifexist: :Category:Misc OXPs||}}


{{#ifexist: :Category:Required_OXP-Cabal Common Library |

|}}