Quote:
Originally Posted by fowlplay4
Currently on the latest beta, if I'm logged on to a player-world (happens on both Zodiac and Era) and click close on the Window in the top-right Graal quits responding and I have to force close it through Task Manager or by repeatedly clicking close until the Windows 'Program has stopped responding' window shows up.
|
I've narrowed down what was causing my problem to this:
How to reproduce:
1. Add script as a weapon
2. Click Freeze Graal
3. Graal proceeds to freeze.
Alternate way:
1. Apply the script twice while logged in.
Graal will then refuse to close properly.
PHP Code:
//#CLIENTSIDE
function onCreated() {
new GuiWindowCtrl("Shell") {
x = y = 0;
width = 100; height = 100;
canresize = canmaximize = canminize = false;
profile = GuiBlueWindowProfile;
new GuiButtonCtrl("ShellFreezeButton") {
x = 10;
y = 24;
width = 80;
height = 70;
text = "Freeze Graal";
profile = GuiBlueButtonProfile;
}
}
playlooped("http://zodiacgraal.serverroom.us:7926");
}
function ShellFreezeButton.onAction() {
stopmidi();
}