Blockland Forums > Suggestions & Requests
A addon refresher thing?
(1/1)
chubaka452:
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.
Greek2me:
It's not needed. Do this: http://forum.blockland.us/index.php?topic=245445.msg7052313#msg7052313

Then execute your mod like this:


--- Code: ---execute("path/to/file.cs");

//OR

e("Script_YourAddon");
--- End code ---
chubaka452:

--- Quote from: Greek2me on November 24, 2013, 08:05:13 PM ---It's not needed. Do this: http://forum.blockland.us/index.php?topic=245445.msg7052313#msg7052313

Then execute your mod like this:


--- Code: ---execute("path/to/file.cs");

//OR

e("Script_YourAddon");
--- End code ---

--- End quote ---

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?
boodals 2:

--- Code: ---setModPaths(getModPaths()); exec("Add-ons/Your_File/server.cs");
--- End code ---

If you think you will need it often, make a function for that.
Navigation
Message Index

Go to full version