Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Bug Report
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 23 votes, 4.83 average. Display Modes
  #961  
Old 04-07-2011, 02:16 AM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
okay I think I've mapped all the colors correctly to their HEX RGB HSV and HSL values (See attachment).

Here's a map of codes to names.

PHP Code:
  0 - white
  1 
- yellow
  2 
- orange
  3 
- pink
  4 
- red
  5 
- darkred
  6 
- lightgreen
  7 
- green
  8 
- darkgreen
  9 
- lightblue
 10 
- blue
 11 
- darkblue
 12 
- brown
 13 
- cynober
 14 
- purple
 15 
- darkpurple
 16 
- lightgray
 17 
- gray
 18 
- black
 19 
- transparent
 20 
- aliceblue
 21 
- antiquewhite
 22 
- aqua
 23 
- aquamarine
 24 
- azure
 25 
- beige
 26 
- bisque
 27 
- black
 28 
- blanchedalmond
 29 
- blue
 30 
- blueviolet
 31 
- brown
 32 
- burlywood
 33 
- cadetblue
 34 
- chartreuse
 35 
- chocolate
 36 
- coral
 37 
- cornflowerblue
 38 
- cornsilk
 39 
- crimson
 40 
- cynober
 41 
- darkblue
 42 
- darkcyan
 43 
- darkgoldenrod
 44 
- darkgray
 45 
- darkgrey
 46 
- darkgreen
 47 
- darkkhaki
 48 
- darkmagenta
 49 
- darkolivegreen
 50 
- darkorange
 51 
- darkorchid
 52 
- darkred
 53 
- darksalmon
 54 
- darkseagreen
 55 
- darkslateblue
 56 
- darkslategray
 57 
- darkslategrey
 58 
- darkturquoise
 59 
- darkviolet
 60 
- deeppink
 61 
- deepskyblue
 62 
- dimgray
 63 
- dimgrey
 64 
- dodgerblue
 65 
- feldspar
 66 
- firebrick
 67 
- floralwhite
 68 
- forestgreen
 69 
- fuchsia
 70 
- gainsboro
 71 
- ghostwhite
 72 
- gold
 73 
- goldenrod
 74 
- gray
 75 
- green
 76 
- greenyellow
 77 
- grey
 78 
- honeydew
 79 
- hotpink
 80 
- indianred "Incorrect color name? Won't set with name, but will with 80."
 
81 - indigo
 82 
- ivory
 83 
- khaki
 84 
- lavender
 85 
- lavenderblush
 86 
- lawngreen
 87 
- lemonchiffon
 88 
- lightblue
 89 
- lightcoral
 90 
- lightcyan
 91 
- lightgoldenrodyellow
 92 
- lightgray
 93 
- lightgrey
 94 
- lightgreen
 95 
- lightpink
 96 
- lightsalmon
 97 
- lightseagreen
 98 
- lightskyblue
 99 
- lightslateblue
100 
- lightslategray
101 
- lightslategrey
102 
- lightsteelblue
103 
- lightyellow
104 
- lime
105 
- limegreen
106 
- linen
107 
- magenta
108 
- maroon
109 
- mediumaquamarine
110 
- mediumblue
111 
- mediumorchid
112 
- mediumpurple
113 
- mediumseagreen
114 
- mediumslateblue
115 
- mediumspringgreen
116 
- mediumturquoise
117 
- mediumvioletred
118 
- midnightblue
119 
- mintcream
120 
- mistyrose
121 
- moccasin
122 
- navajowhite
123 
- navy
124 
- oldlace
125 
- olive
126 
- olivedrab
127 
- orange
128 
- orangered
129 
- orchid
130 
- palegoldenrod
131 
- palegreen
132 
- paleturquoise
133 
- palevioletred
134 
- papayawhip
135 
- peachpuff
136 
- peru
137 
- pink
138 
- plum
139 
- powderblue
140 
- purple
141 
- red
142 
- rosybrown
143 
- royalblue
144 
- saddlebrown
145 
- salmon
146 
- sandybrown
147 
- seagreen
148 
- seashell
149 
- sienna
150 
- silver
151 
- skyblue
152 
- slateblue
153 
- slategray
154 
- slategrey
155 
- snow
156 
- springgreen
157 
- steelblue
158 
- tan
159 
- teal
160 
- thistle
161 
- tomato
162 
- turquoise
163 
- violet
164 
- violetred
165 
- wheat
166 
- white
167 
- whitesmoke
168 
- yellow
169 
- yellowgreen 
Here's also a nice function for a class.
contains Formal name, core name, HEX, RGB, HSL, HSV. Here's an example of it withe the old palette. Attached has all body colors
PHP Code:
// {               NAME,              CORE-NAME,       HEX, { RED, GREEN, BLUE}, { HUE, { SAT, LIGHT}, { SAT, VALUE}}} 

{               "White",                "white", "#FFFFFF", { 1.00, 1.00, 1.00}, {   0, { 0.00, 1.00}, { 0.00, 1.00}}},
{              
"Yellow",               "yellow", "#FFFF00", { 1.00, 1.00, 0.00}, {  60, { 1.00, 0.50}, { 1.00, 1.00}}},
{              
"Orange",               "orange", "#FFA500", { 1.00, 0.65, 0.00}, {  39, { 1.00, 0.50}, { 1.00, 1.00}}},
{                
"Pink",                 "pink", "#FFC0CB", { 1.00, 0.75, 0.80}, { 350, { 1.00, 0.88}, { 0.25, 1.00}}},
{                 
"Red",                  "red", "#FF0000", { 1.00, 0.00, 0.00}, {   0, { 1.00, 0.50}, { 1.00, 1.00}}},
{            
"Dark Red",              "darkred", "#8B0000", { 0.55, 0.00, 0.00}, {   0, { 1.00, 0.27}, { 1.00, 0.55}}},
{         
"Light Green",           "lightgreen", "#90EE90", { 0.56, 0.93, 0.56}, { 120, { 0.73, 0.75}, { 0.39, 0.93}}},
{               
"Green",                "green", "#00FF00", { 0.00, 1.00, 0.00}, { 120, { 1.00, 0.50}, { 1.00, 1.00}}},
{          
"Dark Green",            "darkgreen", "#006400", { 0.00, 0.39, 0.00}, { 120, { 1.00, 0.20}, { 1.00, 0.39}}},
{          
"Light Blue",            "lightblue", "#ADD8E6", { 0.68, 0.85, 0.90}, { 195, { 0.53, 0.79}, { 0.25, 0.90}}},
{                
"Blue",                 "blue", "#0000FF", { 0.00, 0.00, 1.00}, { 240, { 1.00, 0.50}, { 1.00, 1.00}}},
{           
"Dark Blue",             "darkblue", "#00008B", { 0.00, 0.00, 0.55}, { 240, { 1.00, 0.27}, { 1.00, 0.55}}},
{               
"Brown",                "brown", "#A52A2A", { 0.65, 0.16, 0.16}, {   0, { 0.59, 0.41}, { 0.75, 0.65}}},
{                
"Cyan",              "cynober", "#00FFFF", { 0.00, 1.00, 1.00}, { 180, { 1.00, 0.50}, { 1.00, 1.00}}},
{              
"Purple",               "purple", "#A020F0", { 0.63, 0.13, 0.94}, { 277, { 0.87, 0.53}, { 0.87, 0.94}}},
{         
"Dark Purple",           "darkpurple", "#800080", { 0.50, 0.00, 0.50}, { 300, { 1.00, 0.25}, { 1.00, 0.50}}},
{          
"Light Gray",            "lightgray", "#D3D3D3", { 0.83, 0.83, 0.83}, {   0, { 0.00, 0.83}, { 0.00, 0.83}}},
{                
"Gray",                 "gray", "#BEBEBE", { 0.75, 0.75, 0.75}, {   0, { 0.00, 0.75}, { 0.00, 0.75}}}, 
{               
"Black",                "black", "#000000", { 0.00, 0.00, 0.00}, {   0, { 0.00, 0.00}, { 0.00, 0.00}}},
{         
"Transparent",          "transparent", "#000000", { 0.00, 0.00, 0.00}, {   0, { 0.00, 0.00}, { 0.00, 0.00}}}, 
(too big to post)

Also here's a 17x10 palette table of all the colors ( 0 - white is in the top left, 169 - Yellow Green is in the bottom right)
Attached Thumbnails
Click image for larger version

Name:	graal_bodyPalette.png
Views:	950
Size:	1.4 KB
ID:	52677  
Attached Files
File Type: txt graal_BodyPalette.txt (21.0 KB, 889 views)
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!

Last edited by MrOmega; 04-07-2011 at 04:31 AM..
Reply With Quote
  #962  
Old 04-07-2011, 07:52 AM
BigBear3 BigBear3 is offline
Zormite
BigBear3's Avatar
Join Date: Jan 2007
Location: Lynn, MA
Posts: 2,551
BigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond repute
This is an issue with Zodiac. There is a small area in the GUI where when you get a PM you can click it to open the PM. It does not work on V6.
Reply With Quote
  #963  
Old 04-07-2011, 08:19 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by BigBear3 View Post
This is an issue with Zodiac. There is a small area in the GUI where when you get a PM you can click it to open the PM. It does not work on V6.
I don't think it's a glitch. v6 is (was?) using a different name for the playerlist weapon so it doesn't interfere with the v5 one.
__________________
Reply With Quote
  #964  
Old 04-07-2011, 03:50 PM
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 cbk1994 View Post
I don't think it's a glitch. v6 is (was?) using a different name for the playerlist weapon so it doesn't interfere with the v5 one.
Thanks I was trying to figure out why it wasn't working, would of been nice if -Playerlist automatically redirected the function to -Playerlist_v6.
__________________
Quote:
Reply With Quote
  #965  
Old 04-07-2011, 08:09 PM
Rufus Rufus is offline
Registered User
Join Date: Jun 2004
Location: United Kingdom
Posts: 4,698
Rufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud ofRufus has much to be proud of
Quote:
Originally Posted by Cubical View Post
Would it be possible to use RGB? These colors kinda suck. I like the improvement and the fact that it was released before v6 was complete but RGB would open up so many more unique body combinations and I'm sure the 10000000 people soon to be playing on facebook would appreciate it.
Quote:
Originally Posted by fowlplay4 View Post
Hmm, while the extra colors are nice, our need for more would be completely satisfied by being able to specify hex (#abcdef) colors.
Quote:
Originally Posted by DustyPorViva View Post
Since you have these in already, I imagine you're already parsing a predefined list of RGB/HEX codes, so couldn't you allow us to use raw hex instead?

Either way, the fact that we got new colors = yay! (I did find a shade of orange!)
Can we get this before v6 is released?
__________________
Quote:
Originally Posted by Loriel View Post
Seriously, you have ****-all for content and you're not exactly pulling in new developer talent, angling for prestigious titles should be your last concern.
Reply With Quote
  #966  
Old 04-07-2011, 08:37 PM
BigBear3 BigBear3 is offline
Zormite
BigBear3's Avatar
Join Date: Jan 2007
Location: Lynn, MA
Posts: 2,551
BigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond repute
The colors are on Zodiac but nobody can see them except for you.
Reply With Quote
  #967  
Old 04-07-2011, 08:43 PM
Cubical Cubical is offline
Banned
Join Date: Feb 2007
Posts: 1,348
Cubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant futureCubical has a brilliant future
He was asking if we could get all the hex colors not just the web compliant ones with names.
Reply With Quote
  #968  
Old 04-07-2011, 09:40 PM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
Quote:
Originally Posted by BigBear3 View Post
The colors are on Zodiac but nobody can see them except for you.
Everyone will see them when everyone switches to V6.
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!
Reply With Quote
  #969  
Old 04-09-2011, 08:33 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
How about a triggeraction(x,y,w,h,action,params);

as well as triggeraction(x,y,w,h,persistent,action,params);
Where persistent is a boolean for whether it keeps going after it hits an NPC(since an NPC on top can "steal" a triggeraction).
Reply With Quote
  #970  
Old 04-13-2011, 08:16 PM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
with a GuiShowImgCtrl, polygons wont show in an external window...
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!

Last edited by MrOmega; 04-13-2011 at 08:26 PM..
Reply With Quote
  #971  
Old 04-14-2011, 08:58 PM
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
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.

PHP Code:
Problem signature:
  
Problem Event Name:    AppHangB1
  Application Name
:    Graal.exe
  Application Version
:    5.3.2.4
  Application Timestamp
:    4d9a0bdc
  Hang Signature
:    d431
  Hang Type
:    0
  OS Version
:    6.1.7600.2.0.0.256.1 (Windows 7 64-bit Ultimate)
  
Locale ID:    1033
  Additional Hang Signature 1
:    d431f4d14d7a1087199613e422516523
  Additional Hang Signature 2
:    dc32
  Additional Hang Signature 3
:    dc323a9c24410c45175eff1f4811623e
  Additional Hang Signature 4
:    d431
  Additional Hang Signature 5
:    d431f4d14d7a1087199613e422516523
  Additional Hang Signature 6
:    dc32
  Additional Hang Signature 7
:    dc323a9c24410c45175eff1f4811623e 
__________________
Quote:
Reply With Quote
  #972  
Old 04-14-2011, 08:59 PM
BigBear3 BigBear3 is offline
Zormite
BigBear3's Avatar
Join Date: Jan 2007
Location: Lynn, MA
Posts: 2,551
BigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 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.

PHP Code:
Problem signature:
  
Problem Event Name:    AppHangB1
  Application Name
:    Graal.exe
  Application Version
:    5.3.2.4
  Application Timestamp
:    4d9a0bdc
  Hang Signature
:    d431
  Hang Type
:    0
  OS Version
:    6.1.7600.2.0.0.256.1 (Windows 7 64-bit Ultimate)
  
Locale ID:    1033
  Additional Hang Signature 1
:    d431f4d14d7a1087199613e422516523
  Additional Hang Signature 2
:    dc32
  Additional Hang Signature 3
:    dc323a9c24410c45175eff1f4811623e
  Additional Hang Signature 4
:    d431
  Additional Hang Signature 5
:    d431f4d14d7a1087199613e422516523
  Additional Hang Signature 6
:    dc32
  Additional Hang Signature 7
:    dc323a9c24410c45175eff1f4811623e 
I have the same problem.
Reply With Quote
  #973  
Old 04-15-2011, 07:06 PM
Galdor Galdor is offline
░▒▓██▓▒░
Galdor's Avatar
Join Date: Feb 2004
Posts: 2,434
Galdor has a reputation beyond reputeGaldor has a reputation beyond reputeGaldor has a reputation beyond reputeGaldor has a reputation beyond reputeGaldor has a reputation beyond reputeGaldor has a reputation beyond reputeGaldor has a reputation beyond reputeGaldor has a reputation beyond reputeGaldor has a reputation beyond repute
ok so today my outdated v6 didn't start (nothing happens when I try to open graal, it worked fine yesterday) can I get a link to the updated version?
edit: n/m I just downloaded the normal version
__________________
☢ Links ☢
▸Draenin's Villains
▸Draenin's Quests

▸My Albums
Quote:
Originally Posted by Unixmad
This forums is going worst each day.

Last edited by Galdor; 04-15-2011 at 09:32 PM..
Reply With Quote
  #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") {
    
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();
} 
__________________
Quote:
Reply With Quote
  #975  
Old 04-16-2011, 03:12 AM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
Quote:
Originally Posted by fowlplay4 View Post
...
Have you tried stopMusic();?
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!
Reply With Quote
  #976  
Old 04-16-2011, 03:41 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 MrOmega View Post
Have you tried stopMusic();?
That's not really the issue.

Clientside:
stopmusic()
stopmidi() - same as stopmusic(), kept for compatibility
__________________
Quote:
Reply With Quote
  #977  
Old 04-16-2011, 03:55 AM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
Quote:
Originally Posted by fowlplay4 View Post
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.
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!
Reply With Quote
  #978  
Old 04-16-2011, 04:14 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 MrOmega View Post
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.
__________________
Quote:
Reply With Quote
  #979  
Old 04-16-2011, 05:20 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by MrOmega View Post
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.
__________________
Reply With Quote
  #980  
Old 04-16-2011, 06:42 AM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
Quote:
Originally Posted by cbk1994 View Post
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.
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!
Reply With Quote
  #981  
Old 04-16-2011, 06:24 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
The two functions do the same.
Reply With Quote
  #982  
Old 04-17-2011, 03:09 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
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
Reply With Quote
  #983  
Old 04-17-2011, 03:20 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 Stefan View Post
- 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.
__________________
Quote:
Reply With Quote
  #984  
Old 04-17-2011, 03:31 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Quote:
Originally Posted by fowlplay4 View Post
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
Reply With Quote
  #985  
Old 04-17-2011, 03:33 AM
Luda Luda is offline
Registered User
Join Date: Aug 2005
Location: Canada
Posts: 2,071
Luda has much to be proud ofLuda has much to be proud ofLuda has much to be proud ofLuda has much to be proud ofLuda has much to be proud ofLuda has much to be proud of
Send a message via AIM to Luda
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.
Reply With Quote
  #986  
Old 04-17-2011, 03:36 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 Stefan View Post
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?
__________________
Quote:
Reply With Quote
  #987  
Old 04-17-2011, 04:24 AM
BigBear3 BigBear3 is offline
Zormite
BigBear3's Avatar
Join Date: Jan 2007
Location: Lynn, MA
Posts: 2,551
BigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond reputeBigBear3 has a reputation beyond repute
Quote:
Originally Posted by Luda View Post
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.
Reply With Quote
  #988  
Old 04-17-2011, 05:44 AM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
now, how about fixing polygons in external windows?
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!
Reply With Quote
  #989  
Old 04-17-2011, 05:48 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 MrOmega View Post
now, how about fixing polygons in external windows?
You're a scripter, at least provide working code to display the problem.
__________________
Quote:
Reply With Quote
  #990  
Old 04-17-2011, 06:53 AM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
Quote:
Originally Posted by MrOmega View Post
with a GuiShowImgCtrl, polygons wont show in an external window...
Quote:
Originally Posted by fowlplay4 View Post
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  = { 0, 0};
  
extent    = { 2048, 512};      
  
dimension = 2;
  
polygon   = { 0, 0, 16, 0, 16, 16, 0, 16};
  
mode      = 1;
  
alpha     = 0.65;
  
red       = green = 0.9;
  
blue      = 0;

} 
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!
Reply With Quote
  #991  
Old 04-17-2011, 07:05 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by MrOmega View Post
It any kind of polygon in a GuiShowImgCtrl but here, works fine in graal, just not externally, nothing shows.
Why do you do { this}?
__________________
Reply With Quote
  #992  
Old 04-17-2011, 08:38 AM
MrOmega MrOmega is offline
One More Time
MrOmega's Avatar
Join Date: Aug 2010
Location: TN, USA
Posts: 631
MrOmega is an unknown quantity at this point
Send a message via AIM to MrOmega Send a message via MSN to MrOmega Send a message via Yahoo to MrOmega
Quote:
Originally Posted by cbk1994 View Post
Why do you do { this}?
I know graal expects a string, but by graal magic it can accept an array. I think it just looks better when I have sometimes do logic in the position and stuff, just habit and preference.
__________________
Time is the fire in which we burn...
Up, Up, Down, Down, Left, Right, Left, Right, B, A, Select, Start! Now I got 99 LIVES!!!
Reply With Quote
  #993  
Old 04-17-2011, 09:14 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by MrOmega View Post
I know graal expects a string, but by graal magic it can accept an array. I think it just looks better when I have sometimes do logic in the position and stuff, just habit and preference.
No, I mean why do you have a space padding the opening brace and not the closing one? It looks ridiculous.
__________________
Reply With Quote
  #994  
Old 04-17-2011, 09:52 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Crow View Post
STRETCHXEFFECT and STRETCHYEFFECT in ganis don't flip the image when using negative values.
Quote:
Originally Posted by Crow View Post
But this negative stretch thing really bugs me. [...]

Edit: For whatever reason, it now works (after deleting my Graal v6 folder and just firing up a fresh Graal.exe). It does show the flipped sprite, so that's cool. However, is it possible that there are some kind of quirks done to the rotation math after flipping a sprite? It seems my flipped and rotated sprites are 180 degrees off, while the non-flipped rotated sprites are still fine.
Bringing this up again. I'd really like a statement from you, Stefan, concerning this issue. To me it seems that the math done when flipping and rotating something differs from v5. My flipped and rotated sprites are always 180° off compared to v5.

So, is this actually a bug, or is this intended behavior? If it's the latter, I'll just fix my code. But you didn't say anything about it yet, so I don't know.
Reply With Quote
  #995  
Old 04-17-2011, 10:28 AM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
Quote:
Originally Posted by Stefan View Post
- Fixed some problems where multi-line text in external windows was not correctly refreshed
I'm still seeing this issue since the update, primarily in profile quote field, if I've opened that player's profile more than once.

Doesn't seem to happen in PM windows anymore though
Reply With Quote
  #996  
Old 04-17-2011, 03:54 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Quote:
Originally Posted by Crow View Post
Bringing this up again. I'd really like a statement from you, Stefan, concerning this issue. To me it seems that the math done when flipping and rotating something differs from v5. My flipped and rotated sprites are always 180° off compared to v5.

So, is this actually a bug, or is this intended behavior? If it's the latter, I'll just fix my code. But you didn't say anything about it yet, so I don't know.
It is intended. A few months ago the calculations have been fixed. Before it was basicly impossible to use stretchx/stretchy and rotation predictible at the same time.
About showpoly in external windows: We know of it, it will be added sometime but not very soon.
Reply With Quote
  #997  
Old 04-17-2011, 04:15 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by Stefan View Post
It is intended. A few months ago the calculations have been fixed. Before it was basicly impossible to use stretchx/stretchy and rotation predictible at the same time.
Alright. Thanks!


Edit: At first I thought sounds in ganis just don't work when using showani, but this problem seems to be a little more complicated. Let me explain.

On Atlantis I'm using a gani containing a particle script and a sound for bush leaves that "explode" into the air when you destroy a bush. Now, to make things smooth, I'm displaying it on the clientside using findImg(). This doesn't seem to work anymore with v6, so I tried some stuff. First I tried doing the exact same thing in a weapon NPC. This, to my surprise, worked. Then I thought it'd have something to do with level NPCs, so I created one that basically does the exact same thing as my bushes, just a little bit differently:

PHP Code:
//#CLIENTSIDE
function onPlayerChats() {
  
with (findImg(200)) {
    
x = mousex;
    
y = mousey;
    
layer = 1;

    
ani = "at_leaps1";
  }
} 
This crashes Graal. I'm lost.

Last edited by Crow; 04-17-2011 at 10:08 PM..
Reply With Quote
  #998  
Old 04-18-2011, 12:39 AM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
dunno if this is the right spot for this request since it's a server request, but can we get a rename file function on the serverside?

A few months back I tried to batch rename files on UN to use underscores instead of periods to fix an issue for mac users, but I ended up having to do it by loading the image into a TDrawingPanel and then saving it again, which broke transparencies and stuff.

Also didn't work for GIFs/MNGs obviously
Reply With Quote
  #999  
Old 04-18-2011, 12:56 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Mark Sir Link View Post
dunno if this is the right spot for this request since it's a server request, but can we get a rename file function on the serverside?

A few months back I tried to batch rename files on UN to use underscores instead of periods to fix an issue for mac users, but I ended up having to do it by loading the image into a TDrawingPanel and then saving it again, which broke transparencies and stuff.

Also didn't work for GIFs/MNGs obviously
Quote:
Originally Posted by scripthelp
movefile(str, str) - returns boolean - moves a file from source (first parameter) to destination (second parameter)
?.
__________________
Reply With Quote
  #1000  
Old 04-18-2011, 01:03 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 Mark Sir Link View Post
dunno if this is the right spot for this request since it's a server request, but can we get a rename file function on the serverside?
This should do what you want:

PHP Code:
function renamefile(src, newname) {
  
movefile(src, extractfilepath(src) @ newname);
} 
__________________
Quote:
Reply With Quote
Reply

Tags
graal v6, windows


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:01 PM.


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