Log in

View Full Version : How to set client to display spell effects?


purpose666
11-17-2007, 05:15 PM
Couldn't find this anywhere! I must be searching something wrong...

Is there a variable I can change so that the clients can see the spell ID and effects of a spell cast on them?

Theeper
11-18-2007, 08:27 AM
There is no variable for that, but you could hardcode it into the server to push the spell ID to the client. Putting the actual effects into a message would be painful to code to say the least.

purpose666
11-18-2007, 05:09 PM
Alright, thanks. Was hoping it was easier than that!

Congdar
11-19-2007, 08:02 AM
The Grand Creation has(had?) something like this... maybe Cavedude could share how he does(did) it?

cavedude
11-20-2007, 01:29 AM
If you're using Linux, the -DSPELL_EFFECT_SPAM option in zone's makefile will enable the caster to see information about the spell including name, ID, and the effects. This is enabled by default. I'm sure that could probably be changed to allow the castee to see the same info.

I don't know how to get this working under Windows, and I have no way to test anyway.