Posted By: Bryan_Green
Publishing Problem - Script Modified Error? - 07/16/06 20:32
So I've published a demo game I'm working on....it includes the Mp3Adv script/dll for playing mp3s....when I run the resulting .exe file, I get an error about "can't open mp3Adv.wdl - script modified"...(all the files used in the game have been copied to the publish directory, so it's not a case of the file being missing)...
Thanks!
Bryan
Posted By: Claus_N
Re: Publishing Problem - Script Modified Error? - 07/16/06 21:20
You may not change (and even not overwrite with a similar file) any script files. All script files must be in the "published folder", if you copy them into that folder after you have published, it might not work.
Posted By: Bryan_Green
Re: Publishing Problem - Script Modified Error? - 07/17/06 02:03
but i "re-published" after I copied the script files into the "publish" folder, and it still doesn't work...
When I publish, none of my scripts referenced by include statments are being copied over...that's why i had to copy my scripts over manually...
Thanks!
Bryan
Posted By: Claus_N
Re: Publishing Problem - Script Modified Error? - 07/17/06 07:16
You need to use 'bind'. If you copy them manually, it won't work...
Posted By: Bryan_Green
Re: Publishing Problem - Script Modified Error? - 07/17/06 15:43
Ahhhh, OK....now, does that mean I have to do an "include" and a "bind"? Or can I just use "bind" to include the files....
Thanks!
Bryan
Posted By: Claus_N
Re: Publishing Problem - Script Modified Error? - 07/17/06 16:32
You need to use 'include' for script files. 'Bind' is used to add other files to your project.
Have you included you script files like this:
include <myScript.wdl>;
or like this
include "myScript.wdl";
Dunno if the last one is valid - btw. you should NEVER use it!
Posted By: Bryan_Green
Re: Publishing Problem - Script Modified Error? - 07/17/06 16:45
I'm using:
include <myScript.wdl>;
But it's not being copied into the publish directory unless I also use the bind command as well...
Thanks!
Bryan