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: 13 votes, 4.69 average. Display Modes
  #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)) {
    
mousex;
    
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(srcnewname) {
  
movefile(srcextractfilepath(src) @ newname);

__________________
Quote:
Reply With Quote
  #1001  
Old 04-18-2011, 05:17 PM
Jiroxys7 Jiroxys7 is offline
Hazard to Graal
Jiroxys7's Avatar
Join Date: Apr 2009
Posts: 343
Jiroxys7 will become famous soon enough
say(int) does not work on gmaps in v5. Was this already fixed in v6? (I can't check right now)
__________________
MY POSTS ARE PRONE TO EDITS!
Reply With Quote
  #1002  
Old 04-18-2011, 11:47 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 Jiroxys7 View Post
say(int) does not work on gmaps in v5. Was this already fixed in v6? (I can't check right now)
Should be deprecated. Just use level npcs and say2 instead.
__________________
Quote:
Reply With Quote
  #1003  
Old 04-19-2011, 06:46 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
Two bugs:
  • Using showani() or findimg() to show a gani with (a) sound(s) in it/them on a hidden NPC (hide() has been used), the sounds don't play.
  • Having a setbackto attribute in a gani containing a gani script with a particle emitter crashes Graal. To be more specific: if the gani gets "redirected" to the setbackto one while the image object still exists, Graal crashes. When hideimg() is used on the image before the actual animation has finished (so the image object is gone before the gani is "redirected") it works. I can upload an example gani if you wish.
__________________
Reply With Quote
  #1004  
Old 04-20-2011, 02:51 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 Crow View Post
Two bugs:
  • Using showani() or findimg() to show a gani with (a) sound(s) in it/them on a hidden NPC (hide() has been used), the sounds don't play.
The volume depends on the position of the npc and the PLAYSOUND parameters, may be thats the problem?

Quote:
Originally Posted by Crow View Post
  • Having a setbackto attribute in a gani containing a gani script with a particle emitter crashes Graal. To be more specific: if the gani gets "redirected" to the setbackto one while the image object still exists, Graal crashes. When hideimg() is used on the image before the actual animation has finished (so the image object is gone before the gani is "redirected") it works. I can upload an example gani if you wish.
Having an example (server name, level name, script/weapon/command) would help
Reply With Quote
  #1005  
Old 04-20-2011, 07:23 AM
Jiroxys7 Jiroxys7 is offline
Hazard to Graal
Jiroxys7's Avatar
Join Date: Apr 2009
Posts: 343
Jiroxys7 will become famous soon enough
Quote:
Originally Posted by fowlplay4 View Post
Should be deprecated. Just use level npcs and say2 instead.
If you say2("so");
__________________
MY POSTS ARE PRONE TO EDITS!
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 01:50 PM.


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