Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Bug Report (https://forums.graalonline.com/forums/forumdisplay.php?f=193)
-   -   Mac v6 beta test (https://forums.graalonline.com/forums/showthread.php?t=85509)

cbk1994 10-06-2009 02:39 AM

Not sure exactly why, but when resizing an external window (specifically, my SQL explorer), the entire client crashes :cry:

I can't think of anything weird that's happening in any onResize event.

Tigairius 10-06-2009 05:08 AM

Quote:

Originally Posted by cbk1994 (Post 1527936)
Not sure exactly why, but when resizing an external window (specifically, my SQL explorer), the entire client crashes :cry:

I can't think of anything weird that's happening in any onResize event.

Maybe you should post it.

fowlplay4 10-06-2009 05:27 AM

Quote:

Originally Posted by Tigairius (Post 1527957)
Maybe you should post it.

Provided he didn't change his code since the release. It should line up with this one:

http://forums.graalonline.com/forums...28#post1527628

cbk1994 10-06-2009 06:04 AM

Quote:

Originally Posted by fowlplay4 (Post 1527960)
Provided he didn't change his code since the release. It should line up with this one:

http://forums.graalonline.com/forums...28#post1527628

Yes, that's correct.

Tigairius 10-06-2009 06:13 AM

Quote:

Originally Posted by fowlplay4 (Post 1527960)
Provided he didn't change his code since the release. It should line up with this one:

http://forums.graalonline.com/forums...28#post1527628

Yes, but Stefan doesn't want to, nor should he have to, go sift for code, that's why I asked him to post the specific part that was causing problems.

cbk1994 10-06-2009 06:19 AM

Quote:

Originally Posted by Tigairius (Post 1527965)
Yes, but Stefan doesn't want to, nor should he have to, go sift for code, that's why I asked him to post the specific part that was causing problems.

I'll do a little bit of poking around tomorrow and see if I can isolate the problem.

EDIT: I can, however, confirm that the bug does not exist on Windows.

http://img35.imageshack.us/img35/1580/confirms.png

Admins 10-07-2009 01:36 AM

You create the window and then resize it manually and it crashes? I could imagine that there is some problem when deleting and recreating windows, or when unhiding the window using the mac menu. Please tell me server name and script which I should add to myself so that I can debug it.

cbk1994 10-07-2009 01:51 AM

Quote:

Originally Posted by Stefan (Post 1528114)
You create the window and then resize it manually and it crashes? I could imagine that there is some problem when deleting and recreating windows, or when unhiding the window using the mac menu. Please tell me server name and script which I should add to myself so that I can debug it.

Era Dev and "Staff/SQL Explorer" (press N to open), but you may want to wait until I've had a chance to see if I can figure out what's causing it. It's a decently-sized script that would take a while to comb through, I think.

Skyld 10-07-2009 01:55 AM

Quote:

Originally Posted by Stefan (Post 1528114)
You create the window and then resize it manually and it crashes? I could imagine that there is some problem when deleting and recreating windows, or when unhiding the window using the mac menu. Please tell me server name and script which I should add to myself so that I can debug it.

I noticed that if you have the Scripted RC set to open on connect on the Login server, or sometimes even having just opened it on Login manually, when you switch servers, the old window is not destroyed as it should be. The window "ghosts" and becomes unresponsive, and trying to close the old window makes the client crash. It is probably related to that. I think I told you about that already though.

cbk1994 10-07-2009 01:57 AM

Quote:

Originally Posted by Skyld (Post 1528125)
I noticed that if you have the Scripted RC set to open on connect on the Login server, or sometimes even having just opened it on Login manually, when you switch servers, the old window is not destroyed as it should be. The window "ghosts" and becomes unresponsive, and trying to close the old window makes the client crash. It is probably related to that. I think I told you about that already though.

I have noticed this as well with PMs.

cbk1994 10-07-2009 04:46 AM

Also seems to be a problem with certain sounds (64-bit version) - they seem to loop after a certain point (e.g. on Era, listen to an explosion or even certain guns).

cbk1994 10-08-2009 02:39 AM

Quote:

Originally Posted by cbk1994 (Post 1528123)
Era Dev and "Staff/SQL Explorer" (press N to open), but you may want to wait until I've had a chance to see if I can figure out what's causing it. It's a decently-sized script that would take a while to comb through, I think.

I managed to isolate it, though not to a specific part:

PHP Code:

//#CLIENTSIDE
function onKeyPressed(codekey) {
  if (
key == "3") {
    
showExplorer();
  }
}

function 
showExplorer() {
  new 
GuiWindowCtrl("SQL_Window") {
    
profile GuiBlueWindowProfile;

    
width 50;
    
height 50;
            
    
isExternal visible clientRelative true;
    
    new 
GuiControl("SQL_Container") {
      
useownprofile true;
      
profile.opaque true;
      
profile.fillColor "255 255 255";
      
profile.border 1;
      
      
width 30;
      
height SQL_Window.clientheight 2;
      
      
vertSizing "height";      
    }
  }


It seems to be crashing at random while resizing - some times I can resize fine, other times, it crashes the second I do it. When it resizes fine, I'm unable to duplicate the crash until I quit and reopen the client, at which point it will generally crash if I try to resize the window.

Commenting out the vertSizing variable seems to stop the crashing. It doesn't appear to happen with horizSizing, but I could be wrong.

EDIT: You can log on Era Dev and add yourself "Temp/Stripped SQL Explorer".

Mayia 10-10-2009 04:40 PM

How does one get the Mac Beta :o

cbk1994 10-10-2009 07:53 PM

Quote:

Originally Posted by Mayia (Post 1528889)
How does one get the Mac Beta :o

You might try PMing Skyld, though I'm not sure if he's closed it yet because of too many people.

cbk1994 10-12-2009 08:59 AM

Ignore does not seem to work on the playerlist, not sure what this is the result of.

cbk1994 10-27-2009 12:17 AM

Pressing "OK" in the "Are you sure you want to close Graal?" dialog that pops up after pressing the escape key does nothing.

Admins 11-07-2009 10:27 PM

Quote:

Originally Posted by cbk1994 (Post 1529507)
Ignore does not seem to work on the playerlist, not sure what this is the result of.

Works fine for me.

Admins 11-08-2009 12:25 AM

Is the Ctrl+Mouse click really needed, is anyone still using single-button mouses?

Update: new version uploaded for Skyld:
- fixed the crashing bug which cbk1994 has reported
- destroying of external windows should work better
- opening hidden windows using the window menu should work correctly
- pressing 'Yes' in the quit-menu is correctly closing the game

cbk1994 11-08-2009 02:04 AM

Quote:

Originally Posted by Stefan (Post 1537176)
Is the Ctrl+Mouse click really needed, is anyone still using single-button mouses?

I don't think it's used a lot since it was mostly used for the trackpad and people tend to use the two-finger tap anyway, but it might be a good idea to include it for consistency with other Mac applications.

Admins 11-09-2009 10:17 PM

I've forgot to add that there is also now a scripted filescan message (it scans the .graal folder at startup and displays a message that it is scanning files, with a cancel button).

Skyld 11-11-2009 03:11 PM

I shall look at the beta and distribute it later or tomorrow. :)

Admins 11-13-2009 05:20 PM

Anyone tested the new version yet?

cbk1994 11-14-2009 12:33 AM

Quote:

Originally Posted by Stefan (Post 1538160)
Anyone tested the new version yet?

Skyld hasn't yet distributed it :(

Skyld 11-14-2009 03:58 PM

Quote:

Originally Posted by Stefan (Post 1538160)
Anyone tested the new version yet?

Hmm my rights on the main login server seem to have disappeared so I cannot edit the -BetaShared script to display a message like last time (also the internal version number is also the same as the previous version so I am not sure how to detect the new client).

For now, testers should forum PM me to receive the new client.

DustyPorViva 11-14-2009 05:02 PM

It's only for Mac?

Umat 11-14-2009 05:31 PM

Quote:

Originally Posted by DustyPorViva (Post 1538297)
It's only for Mac?

It's the Mac Beta thread isn't it?

I wanted to beta test it but apparently Skyld had enough testers for now.

cbk1994 11-14-2009 06:11 PM

A couple of problems
  • You can't trigger a weapon clientside from itself, e.g.
    PHP Code:

    //#CLIENTSIDE
    function onCreated() {
      
    this.trigger("testFunction"NULL);
    }

    function 
    onTestFunction() { // note, however, that you can trigger this function from another weapon
      
    player.chat "received!";


  • Windows are still sticking sometimes when reconnecting (especially client-RC and the playerlist)
  • Resizing my SQL explorer (code that crashes it is on the other page) still crashes the client.
  • Copying and pasting is an awful mess still, you can't copy different lines (they show up as one), and anything with formatting in it shows up as like:
    http://img5.imageshack.us/img5/6025/...91114at111.png (Client-RC)

Admins 11-14-2009 07:41 PM

You are sure that you have the new version?

cbk1994 11-14-2009 08:19 PM

Quote:

Originally Posted by Stefan (Post 1538323)
You are sure that you have the new version?

Actually, no. Looks like the one you sent me yesterday (identical to the one Skyld sent out today to the beta testers) was the wrong version?

http://img24.imageshack.us/img24/414...91114at119.png

Skyld 11-14-2009 08:21 PM

Quote:

Originally Posted by cbk1994 (Post 1538330)
Actually, no. Looks like the one you sent me yesterday (identical to the one Skyld sent out today to the beta testers) was the wrong version?

http://img24.imageshack.us/img24/414...91114at119.png

The date of the actual "Graal.app" is not accurate because I have been placing the actual updated binary inside of an old app container, check the date by using "Show package contents" and then going into "Contents" and "MacOS". It should say 7th November 2009 or so as mine does.

cbk1994 11-14-2009 08:34 PM

Quote:

Originally Posted by Skyld (Post 1538331)
The date of the actual "Graal.app" is not accurate because I have been placing the actual updated binary inside of an old app container, check the date by using "Show package contents" and then going into "Contents" and "MacOS". It should say 7th November 2009 or so as mine does.

Then yes, I just checked, and I do have the newest.

Admins 11-15-2009 02:18 AM

Hmmm there must have been some problem with the compilation then. It should definitely not crash when resizing the window. I've uploaded a new version, please check that again. Which CPU do you have (PPC, 386, 686) ?

In the new version I've also improved the window handling, and tried to fix the trigger problem (had no chance to test it yet).

About copy&paste: it works perfectly fine for me. There is a small problem in the sense that it's using the original line breaks when copying HTML text instead of the visible line breaks, but it shouldn't show any weird special characters.

Skyld 11-15-2009 03:09 AM

Quote:

Originally Posted by Stefan (Post 1538393)
Hmmm there must have been some problem with the compilation then. It should definitely not crash when resizing the window. I've uploaded a new version, please check that again. Which CPU do you have (PPC, 386, 686) ?

In the new version I've also improved the window handling, and tried to fix the trigger problem (had no chance to test it yet).

About copy&paste: it works perfectly fine for me. There is a small problem in the sense that it's using the original line breaks when copying HTML text instead of the visible line breaks, but it shouldn't show any weird special characters.

Yeah must have been a compilation issue because the new version number is being reflected properly in the version you just uploaded. Window resizing crash doesn't seem to be happening anymore.

Edit: Testers should get a link to the new client now when they log in.

cbk1994 11-15-2009 04:32 AM

Everything is fixed that I posted in my last report except the copy and pasting, for example, try to copy and paste this:

PHP Code:

//#CLIENTSIDE
function onCreated() {
  
this.trigger("testFunction"NULL);
}

function 
onTestFunction() { // note, however, that you can trigger this function from another weapon
  
player.chat "received!";


It shows up as:

http://img190.imageshack.us/img190/9...91114at932.png

Admins 11-15-2009 11:43 PM

Ok uploaded a new version for Skyld.
Changes:
- improved copy&paste, instead of using "mac-plain-text" it's now using utf8 to exchange data
- palletized tilesets which are drawn on layer 0 are forced to be RGB (no alpha), which should fix the problem that Skyld had

Skyld 11-16-2009 12:56 AM

Quote:

Originally Posted by Stefan (Post 1538486)
Ok uploaded a new version for Skyld.
Changes:
- improved copy&paste, instead of using "mac-plain-text" it's now using utf8 to exchange data
- palletized tilesets which are drawn on layer 0 are forced to be RGB (no alpha), which should fix the problem that Skyld had

Works great :)

cbk1994 11-28-2009 02:03 AM

Copy and paste is much better :)

There are still problems with windows sticking, also when closing profiles, they still appear in the Window menu. I'm guessing the window just needs to destroy or so.

When you quit the client, the main window closes, but the external windows stay open for a second until the "Graal has unexpectedly quit" message comes up. This seems to always happen.

Also, there are still some focusing problems, especially noticeable with the playerlist. You have to click the window to focus, then click on the row you want. It doesn't feel natural, like it does with the dockable playerlist on Windows. Also, the playerlist doesn't always update correctly until you mouse over the list while focused. This isn't fixed with the Login2 updated playerlist, which makes me think it's probably a client glitch.

Modifier keys in GuiTextListCtrl's still aren't working.

Admins 11-28-2009 02:30 AM

Quote:

Originally Posted by cbk1994 (Post 1540888)
Also, there are still some focusing problems, especially noticeable with the playerlist. You have to click the window to focus, then click on the row you want.

That's kindof standard behaviour on Mac though (with Safari, iTunes), not sure if it's easy to change.

Admins 11-30-2009 01:00 AM

I've uploaded a new version, Skyld will soon give it to beta testers:

- improved the window behaviour so they should close/disappear correctly and not give errors
- when the window loses the focus then any menus shown in the window are closed
- faster tiles drawing
- some new scripting commands (player.showEmoticon(filename), showEmoticonByKey(VK_A), onPKZoneChanges)

Admins 12-05-2009 12:39 AM

Any feedback for the new version?


All times are GMT +2. The time now is 05:20 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.