So I was working on a buff that gave a particle effect that only the person with it could see. it was going fine, I just needed to figure out a way to stop the particles when the buff wore off.
So I did function doEffect(cmd){}
this housed the particle script, and if the player didn't have the buff, then cmd would == "destroy". it would then do:
with(findimg(200)){
with(emitter){
this.destroy();
}
}
return;
Once that ran, some problems came up and I immediately removed that portion of the script. my GUI that showed the player's current buffs vanished, but the script is still in the weapon. And I didn't identify any missing weapons.
Two more things are broken that I've seen so far. Major things.
1: I can no longer place buffs on myself.
2: I have GUI that pops up once you hit a certain level and it lets you pick your element. the GUI shows up fine, but the list doesn't show.
The biggest problem is, that because of whatever the hell happened, I can't get these scripts back on-line. I've tried updating the scripts, reconnecting, restarting my client, and restarting the NPC-server. all to no avail.
What happened to my scripts? and how can I get them working again?
