The Syd-Start2_7_CC_Doors Starter pack still will not work.
I didnt edited any of the code or script i just opened it and try to test it and this came up.
There was an error compiling your script. The problem was in 'Global script'
Error (line 173); Type mismatch: cannot convert 'string' to 'int'
Heres the code
function RemoveExtension (string location){
//removes the extension of a string
int length = StrLen (location);
if (Extension (location) != 0) StrSetCharAt (location, length - 2, 0);
return location;
}
Please help
It looks like you STILL haven't tried what I suggested the last two times you asked this (http://www.adventuregamestudio.co.uk/yabb/index.php?PHPSESSID=cmtai3rnn5gerk99kts5frf0d6opic=28991.msg369233#msg369233). If you have, it should at least return a different error - if so, what is it.
I'll let this thread stand, as it's a seperate question to the ones in either of the other threads you've asked it in. In future, however, DON'T CROSS POST. Stick with a question - don't just ignore the answer someone's given you and keep asking it over and over.
It's called 2_7 for a reason. It won't work with 2.72.
Download AGS 2.7 (http://aafiles.bicycle-for-slugs.org/ags/ags_27.zip), open the pack and you won't get any errors.
I won't release a 2.72 compatible version anytime soon.
You can try replacing the global script with a 2.72-compatible version, but you'll probably have to do it function by function.
Use AGS 2.72 to open a 2.72-compatible pack, copy the whole global script to a text editor, then close AGS.
Open AGS 2.72 again, load the Syd-pack(*) and try to save it. Now whenever an error message comes up, replace the function that's causing it with the one from the gs in the editor.
(*) Doing this might display errors about some of the rooms. Just click OK, but remember that those rooms are still saved in the old format and won't work properly. You'll have to open them in AGSEdit, correct their scripts and save them.
Thank you for the help. I was useing 2.72 LOL silly me