-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|466|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Showcase Home -> Functions Libraries

HoboBen
Created : 05 March 2008
 
System : Windows
Language : Cobra

Basilisk for Cobra Library

The ultimate library for scripting in Cobra

Download
Online Docs (inc Examples)
Presenting the ultimate library for scripting in Cobra.

The Basilisk for Cobra Library is a unit for Cobra programs providing functionality for 'Virtual Variables', loading data from external text files, functions to aid with scripting, and other useful commands.

This unit can be used for very simple settings files, or it can be used as part of complex real-time scripting engines.

Comments


Wednesday, 05 March 2008, 23:22
Jayenkai
*Gives round of applause*
Blinkin' 'eck! Well done, Hobo.
Thursday, 06 March 2008, 06:38
Phoenix
Looks solid, but I can't test since I don't use Cobra. Well done, however!
Friday, 18 April 2008, 14:22
Jason W.
Hobo,

This is great stuff. Can Basilisk files be encrypted?

Thanks,

Jason
Friday, 18 April 2008, 14:28
HoboBen
Not yet, but as I'm hoping to write an encryption & decryption routine for my GUI, with any luck I will add that feature at some point.

As this unit is open source, I need to do it properly!

There's a new version of the library I should get around to uploading soon that has a few small fixes. One thing that I still haven't got around to fixing is that the minus in scripted arithmetic is still a bit iffy; for best results, don't use subtraction as an operator, only use it to show negative numbers. E.g. 2 - 1 is quite likely to give the wrong result, but 2 + -1 is fine.
Friday, 18 April 2008, 16:20
HoboBen
Haha, I've got some quite epic errors in the latest development version!



Edit: I don't fancy actually counting all those to see where I'm missing one, either!
Saturday, 19 April 2008, 06:11
Yo! Wazzup?
..

Wow.

I've never seen so many brackets before o.O
Saturday, 31 May 2008, 11:19
HoboBen
Got around to uploading the latest (stable) copy. Brackets and minuses still aren't perfect, but I've fixed a few quirks and exported a few more important functions, and tidied up the docs.

v2.7.2.7 .zip 121kb
v2.7.2.7 .7z 53kb
Change Log (note you may have to force a refresh if the page is cached)

I'm probably not going to touch this for a few months, but I do plan to go back eventually and fix the brackets (they work, but only if you don't go mad with them! ). Once that's done, the other problems will fix almost automatically.

|edit| Jason - sorry, still no encryption! I'm about half way |edit|