View Single Post
  #974  
Old 04-16-2011, 02:40 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by fowlplay4 View Post
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") {
    
0;
    
width 100height 100;
    
canresize canmaximize canminize false;
    
profile GuiBlueWindowProfile;
    new 
GuiButtonCtrl("ShellFreezeButton") {
      
10;
      
24;
      
width 80;
      
height 70;
      
text "Freeze Graal";
      
profile GuiBlueButtonProfile;
    }
  }
  
playlooped("http://zodiacgraal.serverroom.us:7926");
}

function 
ShellFreezeButton.onAction() {
  
stopmidi();

__________________
Quote:
Reply With Quote