Graal Forums

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

fowlplay4 04-16-2011 03:41 AM

Quote:

Originally Posted by MrOmega (Post 1643595)
Have you tried stopMusic();?

That's not really the issue.

Clientside:
stopmusic()
stopmidi() - same as stopmusic(), kept for compatibility

MrOmega 04-16-2011 03:55 AM

Quote:

Originally Posted by fowlplay4 (Post 1643608)
That's not really the issue.

Clientside:
stopmusic()
stopmidi() - same as stopmusic(), kept for compatibility

Not quite sure of that, I remember reading somewhere to use stopmusic() with music streams.

fowlplay4 04-16-2011 04:14 AM

Quote:

Originally Posted by MrOmega (Post 1643611)
Not quite sure of that, I remember reading somewhere to use stopmusic() with music streams.

Well free to try out my code and you'll see the issue. The combination of a GUI action and stopmidi cause the freezing, and if you use the playlooped (with an invalid URL) function the client will refuse to close properly regardless.

cbk1994 04-16-2011 05:20 AM

Quote:

Originally Posted by MrOmega (Post 1643595)
Have you tried stopMusic();?

He's reporting a bug which causes the client to crash. Suggesting that he uses another method is not a solution.

MrOmega 04-16-2011 06:42 AM

Quote:

Originally Posted by cbk1994 (Post 1643627)
He's reporting a bug which causes the client to crash. Suggesting that he uses another method is not a solution.

wrong interpretation... I thought stopMusic() treated music a little different than stopMidi() therefore maybe making it not crash when you click the button.

Admins 04-16-2011 06:24 PM

The two functions do the same.

Admins 04-17-2011 03:09 AM

The new version 5.325 has been uploaded to http://www.graalonline.com/downloads...al_windows.zip :
- Shouldn't freeze on closing mp3/web streams anymore (and on closing the game)
- Improved the speed of GuiMLTextCtrl.reflow(), especially for syntax highlighting
- Fixed some problems where multi-line text in external windows was not correctly refreshed
- Doesn't deselect text if a text field loses the focus or you copy text from it
- Improved support for wba-styles: uses them for drawing GuiTextEditSliderCtrl, and reads the color of the start bar text (GuiTextCtrl.stylesection="Clock"); you can see a new gui style VPlusBlue in the options
- added Verdana bold to the login server

fowlplay4 04-17-2011 03:20 AM

Quote:

Originally Posted by Stefan (Post 1643863)
- Shouldn't freeze on closing mp3/web streams anymore (and on closing the game)

It's still happening to me with the latest client. Nice update on the profile.

Admins 04-17-2011 03:31 AM

Quote:

Originally Posted by fowlplay4 (Post 1643866)
It's still happening to me with the latest client. Nice update on the profile.

The stream freeze or the closure freeze? I've tested with your scripts

Luda 04-17-2011 03:33 AM

Sort of off topic but as much as I'm liking the frequent updates recently, it would be nice to have an official thread where you edit the top post with new version updates.

fowlplay4 04-17-2011 03:36 AM

Quote:

Originally Posted by Stefan (Post 1643868)
The stream freeze or the closure freeze? I've tested with your scripts

Both. The stream freeze occurs when a GUI action and playlooped/stopmidi happens at the same time.

The stream only has to play once, and then the closure freeze occurs. Are there any debugging functions I could run to help narrow down the issue for you?

BigBear3 04-17-2011 04:24 AM

Quote:

Originally Posted by Luda (Post 1643870)
Sort of off topic but as much as I'm liking the frequent updates recently, it would be nice to have an official thread where you edit the top post with new version updates.

I second this Doctor Luda.

MrOmega 04-17-2011 05:44 AM

now, how about fixing polygons in external windows?

fowlplay4 04-17-2011 05:48 AM

Quote:

Originally Posted by MrOmega (Post 1643887)
now, how about fixing polygons in external windows?

You're a scripter, at least provide working code to display the problem.

MrOmega 04-17-2011 06:53 AM

Quote:

Originally Posted by MrOmega (Post 1643098)
with a GuiShowImgCtrl, polygons wont show in an external window...

Quote:

Originally Posted by fowlplay4 (Post 1643888)
You're a scripter, at least provide working code to display the problem.

It any kind of polygon in a GuiShowImgCtrl but here, works fine in graal, just not externally, nothing shows.

PHP Code:

new GuiShowImgCtrl"Foo")
{

  
position  = { 00};
  
extent    = { 2048512};      
  
dimension 2;
  
polygon   = { 001601616016};
  
mode      1;
  
alpha     0.65;
  
red       green 0.9;
  
blue      0;





All times are GMT +2. The time now is 03:39 PM.

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