Official Coding Resources Thread (02/29/2016)

Author Topic: Official Coding Resources Thread (02/29/2016)  (Read 50876 times)

This is by Zack0Wack0. It has information on some of the most useful BL functions, such as arguments and how each function works.
http://bldocs.readthedocs.org/en/latest/index.html

I think he was planning on making it larger, but abandoned the project. Still, it's a great resource.

More resources!

Large Integer Math Script:
www.Ipquarx.com/Math.cs

Torquedev (IDE with autocomplete and live error checking):
localhostr.com/files/8UvPqPT/netMerics%20TorqueDev.zip


Trinick made a client sided reference of some sort a while back

Can someone find it?

ill write up a documentation on generating terrain when im not lazy
i'll include what perlin noise is how you use it and example scripts of how to do everything.

These are mostly tiny things that are sort of helpful in some projects:
Typemasks list (Lists all the types of typemasks available in Blockland): http://forum.blockland.us/index.php?topic=212880.0
strStrW (like strStrW, but detects words instead of word segments): http://forum.blockland.us/index.php?topic=207235

Cool little 5 minute script I wrote. It works like this:

do_heading(pathToScript);

You open that script up and it'll tell you what lines your functions are on.

Example:

Inside of a file located at "base/tempFile.cs" i have

Code: [Select]
function a()
{
     //stuff
}

package a
{
     function gameConnection::autoAdminCheck(%this)
     {
          //stuff
     }
};
activatePackage(a);

Now run the function do_heading("base/TempFile.cs");


And it'll look like so:

Code: [Select]
//@@ LINE 1 => a
//@@ LINE 8 => gameConnection::autoAdminCheck
function a()
{
     //stuff
}

package a
{
     function gameConnection::autoAdminCheck(%this)
     {
          //stuff
     }
};
activatePackage(a);

Note: If you do this with the zip files in the add-on folder, it'll put them into an actual folder. So.. Yeah.. Also, this deletes files. I haven't had any problem with it, but use it at your own risk.


Torquedev (IDE with autocomplete and live error checking):
localhostr.com/files/8UvPqPT/netMerics%20TorqueDev.zip
I started TSDev.exe
It says license invalid
It starts
It tries to update
It says update failed
It quits

I started TSDev.exe
It says license invalid
It starts
It tries to update
It says update failed
It quits
Extract the folder into program files, then run TSDev.exe. It may take 2 tries because the website is down and it won't authenticate the first time.

Ok got it working
How do I check the file for errors?

isn't TSDev literally a TGE Game without the game/terrain part?
if you think about it, it is lol.
someone could easily remake it for free.

isn't TSDev literally a TGE Game without the game/terrain part?
if you think about it, it is lol.
someone could easily remake it for free.
I believe so. It uses Torquescript for some config files I think.

I don't get what it is people like about putting the opening brace on it's own line, it just looks weird IMO.

"Blockland's Unofficial  Documentation"
http://bldocs.readthedocs.org/en/latest/index.html
I was actually the one who started this, then Z0W0 added some stuff, then everyone forgot about it.

TorqueScript Bundle (for the Sublime Text Editor)
http://mysterycoconut.com/tsmate/
It's actually for TextMate, but ST2 is mostly compatible with TM bundles.

Improved TorqueScript Bundle (by one of our own members, dontcare4free)
http://localhostr.com/download/sl1oPDR/TorqueScript.zip
Same note as above, but only tested with ST2. Also, it's Nullable (not dc4f).
« Last Edit: December 01, 2012, 07:34:46 AM by DontCare4Free »

Just some client to server and server to client command guide I made
http://pastebin.com/raw.php?i=iFk9LMzd