It sounds more like a resource handling problem. If the error message is "effect does not exist"
and is occurring at runtime I would put some error checking where you use all your effects.
Resource handling in a game engine is one of the most important basic requirements.
I believe I had this problem once when experimenting with "Advanced Lighting". It turned out
to be a error with Evolved's find free resource functions. I use Matrix1's commands instead for
resource management.
This is the most common error people make in DBpro. You must consider resource
management especially if you want to avoid the "Device Lost" scenario which is not a bug in
DBpro as so many claim. Also DBpro does not run functions after exiting the main game loop.
If effect exist(EffectID) = 0
Report error "Effect Does not exist at line 40", "Resource Management"
Endif
[img]

[/img]





WindowsXP SP3,Vista,Windows 7 SP1, DBpro v7.7RC7
Stab In The Dark Editor
The coffee is lovely dark and deep,and I have code to write before I sleep.