Author Topic: A addon refresher thing?  (Read 513 times)

Lol yea /title.

You know when you are testing a code to see if it works, so you have to restart blockland and check if it works or not. If it doesnt you have to keep trying again, closing blockland again (losing time).

Can anyone make something, so that you don't have to keep restarting blockland to test a freaking code you edited, you can just refresh it?!

It gets on my nerves sometimes.

It's not needed. Do this: http://forum.blockland.us/index.php?topic=245445.msg7052313#msg7052313

Then execute your mod like this:

Code: [Select]
execute("path/to/file.cs");

//OR

e("Script_YourAddon");

It's not needed. Do this: http://forum.blockland.us/index.php?topic=245445.msg7052313#msg7052313

Then execute your mod like this:

Code: [Select]
execute("path/to/file.cs");

//OR

e("Script_YourAddon");

would the execute("path/to/file.cs"); be something like

Add-ons/addon_name/file.cs

or ./file.cs

if at the start, it has syntax errors, and it did not boot... Could you still execute it, if you fixed the errors?
« Last Edit: November 24, 2013, 07:30:24 PM by chubaka452 »

Code: [Select]
setModPaths(getModPaths()); exec("Add-ons/Your_File/server.cs");
If you think you will need it often, make a function for that.