This mechanism is still erratic
'>ÂÂ
The effect remover script is very simple:ÂÂ
 effect eLoop=GetFirstEffect(oSD);
while (GetIsEffectValid(eLoop)){
  //if (GetEffectType(eLoop)==EFFECT_TYPE_VISUALEFFECT){
   SSDB("secret effect removed");
  RemoveEffect(oSD, eLoop);
  //}
 eLoop=GetNextEffect(oSD);
}
The effect creator is the area itself (the creation of (reapplied) effect is assigned to the area). The effect is removed as the log says.
@Pstemarie: yep i aware of the 'default' thing, but why should i fire the HB event? And how? With SignalEvent? To a non-existent script?
@Knight_Shield: that function is just a wrapper to RemoveEffect, i did the same as you see.
So, still no idea what can cause this. I made an area with 10 hidden door in it with levers. And all working, i tried 5 times in a row. But  looks like it mostly happens, when the server is up for more time. Still the same, some ppl can see the appearing door, some cannot. When the non-seeing PC reconnects, the door is there, now he can see it...
Modifié par Ravine_HU, 20 septembre 2010 - 10:21 .