Missing entry for invisibility spell in timedScripts.cfg

Open discussion forum. For topics that do not fit anywhere else.
Locked
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Missing entry for invisibility spell in timedScripts.cfg

Post 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.
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm

Post 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".
MuadDib
Former Developer
Posts: 1091
Joined: Sun Feb 12, 2006 9:50 pm

Post by MuadDib »

Clumsy is missing it's ending timed script.... i think.... can't look atm :x
User avatar
tekproxy
Forum Regular
Posts: 352
Joined: Thu Apr 06, 2006 5:11 pm

Post by tekproxy »

:oops: Go pick in Austin! :shame:
Yukiko
Distro Developer
Posts: 2826
Joined: Thu Feb 02, 2006 1:41 pm

Post 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.
Locked