Blockland Forums > Modification Help
Weird syntax errors
Chrono:
You can't execute/read outside of the default folders, no matter if you use setModPaths or not.
Just use a normal add-on structure just without the zip. It will work.
MegaScientifical:
--- Quote from: Chrono on July 10, 2011, 10:10:12 PM ---You can't execute/read outside of the default folders, no matter if you use setModPaths or not.
Just use a normal add-on structure just without the zip. It will work.
--- End quote ---
Flaw gave me the script, and it appears to work... It tells Blockland that the folder is default... :( I thought.
Destiny/Zack0Wack0:
--- Quote from: Chrono on July 10, 2011, 10:10:12 PM ---Just use a normal add-on structure just without the zip. It will work.
--- End quote ---
This is what I do for all of my add-ons.
ZSNO:
Or if you're just testing a script you can stick it in the config folder and you never have to do the discoverfile(); stuff :D
MegaScientifical:
--- Quote from: ZSNO on July 10, 2011, 11:40:13 PM ---Or if you're just testing a script you can stick it in the config folder and you never have to do the discoverfile(); stuff :D
--- End quote ---
Already said.
--- Quote from: Greek2me on July 10, 2011, 09:59:37 PM ---Yep
Also, it's best to not zip your addons when you're working on them. I put all my WIP scripts in base, then I put a server.cs in Add-ons that loads the files in base.
--- End quote ---