Blockland Forums > Modification Help
Client sided script isn't executing automatically.
Nexus:
I always use my servercommandgui with the function editor for convienence, and it has never had this problem.
I would suggest putting all the misc client side scripts you want to execute in a separate folder, then make a separate client mod to execute them.
or just get my mod because it does exactly that lol /shamelessselfadvertising
also it is possible you may have namespace issues, because I name all functions nameofmod_nameoffunction and I don't get this problem ever
Lugnut:
--- Quote from: Nexus on March 15, 2012, 08:06:22 PM ---I always use my servercommandgui with the function editor for convienence, and it has never had this problem.
I would suggest putting all the misc client side scripts you want to execute in a separate folder, then make a separate client mod to execute them.
or just get my mod because it does exactly that lol /shamelessselfadvertising
also it is possible you may have namespace issues, because I name all functions nameofmod_nameoffunction and I don't get this problem ever
--- End quote ---
i bound a "executor.cs" to ctrl+u, and can instantly load scripts BAM
--- Quote from: Wordy on March 15, 2012, 03:02:48 PM ---Right, here's the problem, recently I, Danny Boy and Jes00 have had problems with our scripts not executing. We have to either Execute them manually or make another client.cs which Executes that script for us.
Just to take note, we do include exec("filepath"); in the script that has problems automaticly executing.
--- End quote ---
description.txt?
console errors?
Wordy:
--- Quote from: Lugnut1206 on March 15, 2012, 09:04:58 PM ---i bound a "executor.cs" to ctrl+u, and can instantly load scripts BAMdescription.txt?
console errors?
--- End quote ---
Nope, I get neither any console errors/syntax errors.
Also I do have a description.txt
/noticed the topic moved hurr
Port:
--- Quote from: Wordy on March 16, 2012, 12:07:20 PM ---Nope, I get neither any console errors/syntax errors.
Also I do have a description.txt
/noticed the topic moved hurr
--- End quote ---
Please attach a console log and the description.txt of your add-on to a post.
Chrono:
Make sure it's:
- not client.cs.cs
-has a description.txt
-doesn't happen to share a name with a crap-on
-doesn't have syntax errors
-isn't nested (ex: client_script/client_script/client.cs)
-has at least one underscore in it's zip/folder name
-and um, not sure what else.