Page 1 of 1
Missing entry for invisibility spell in timedScripts.cfg
Posted: Thu Feb 01, 2007 2:12 am
by Yukiko
There are start and end scripts for invisibility in the subScripts directory in timedScripts package but the entry to use them is missing from the timedScripts.cfg file. I used the template for agility to create the following entry for invisinility:
Code: Select all
TimerElem Invisibility
{
Name Invisibility
Script subScripts/magery/invisibility
EndScript subScripts/magery/endInvisibility
NoCure 1
Type B
}
Also you should know that so far as I am going along converting my spells to conform to Distro I have found that the Distro spell scripts accessing timedScripts are sending the name of the timer with the first letter uncapitalized. This causes the timedScripts to malfunction and not find the proper ebtry for the events as the entries in the cfg file all have the first letter of their name capitalized. There is no error output to the console by the script that it could not find the requested entry either.
Posted: Thu Feb 01, 2007 7:58 am
by tekproxy
Ah, thanks. Fixed. One of the last things I did was move invisibility to a timed script and I guess I forgot to make a config entry, although I remembered adding one.
Oh and the capital letter thing, I was wondering why timed scripts didn't seem call the end script properly. Maybe that's it.
I want to resume working hardcore on magery but I'm behind at work. To use my bosses words, I've got his "dick under a root", which doesn't make any sense but it sounds painful and it roughly translates to "save us tekproxy, you're our only hope".
Posted: Thu Feb 01, 2007 6:58 pm
by MuadDib
Clumsy is missing it's ending timed script.... i think.... can't look atm

Posted: Thu Feb 01, 2007 8:20 pm
by tekproxy

ops: Go pick in Austin!

Posted: Fri Feb 02, 2007 12:20 am
by Yukiko
Cumsy has the timed script call. But looking at the copy of 0.97 Distro I have on my laptop it's passing "clumsy" instead of "Clumsy" to the timedScript function. It's that capitization issue again. Sorry I didn't mention that along with invisibility.
I noticed in the svn update you caught most of them. I am not sure if the copy of Distro I have on my laptop is updated from today or not. Guess I should add tortoise to it and keep it updated here at work too.
This will be an issue with anything using the timedScripts functions so those working on the Distro should keep it in mind that the string parameters passed are case sensitive.