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
  #1  
Old 01-04-2011, 01: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
Quote:
Originally Posted by oo_jazz_oo View Post
Just discovered something.

Now, I don't know much about particle emitters and stuff, but I found a problem with the snowfall on UN.

Basically, the script has the particle image changing every .5 seconds, so it changed the image for each new snowflake.
On v5, changing the image of the particle would only change it for new particles...

On v6, it is changing the image for every particle, ones already created, and new ones.

Not sure if this is a glitch, or if it was a glitch in v5.
The script changing the image of said particle is:
PHP Code:
findimg(200).emitter.particle.image temp.newimg
It's an optimization, if you have only one particle template and only simple modifiers then it will try to draw all particles at once instead of drawing it one by one. You could eventually use several particle templates (emitter.particletypes = 2, emitter.particles[1].image = ...).

Quote:
Originally Posted by ffcmike View Post
Perhaps not so much of a bug but I knew that within V5 while on a GMAP showimg type displays would not display while the parent NPC was not visible on your screen, this now seems to be the case with non-GMAP levels too in V6
It has been changed to only display stuff from NPCs which are visible. This was mainly for Era iPhone because some levels have hundreds of NPCs and the player only sees a small part of the level. The best is to use a clientside setshape() to make the NPC visible.

Quote:
Originally Posted by ffcmike View Post
In another weapon script I had:
PHP Code:
if(dash != NULL){
  
temp.dash dash.attemptDash();
  if(
temp.dash){
    return;
  }

Using the same variable name with temp. and without and leading should be avoided. It is optimizing the use of temp. variables depending on how often you are using it inside the function. Once declaring a temp. variable all use of the variable name without the temp. will also direct to the temp. variable so you should not rely on that using the variable without a leading. before declaring the temp. variable will access the global variable.

Quote:
Originally Posted by salesman View Post
player.dontBlock(), player.blockAgain(), and player.setShape() don't seem to work at all in v6.
Those functions don't exist
Reply With Quote
  #2  
Old 01-04-2011, 01:38 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
Those functions don't exist
Duh. That's the point! Feature request
Reply With Quote
  #3  
Old 01-04-2011, 01:38 PM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by Stefan View Post
It has been changed to only display stuff from NPCs which are visible. This was mainly for Era iPhone because some levels have hundreds of NPCs and the player only sees a small part of the level. The best is to use a clientside setshape() to make the NPC visible.
This is pretty annoying for things like a spar arena displaying information both on your screen and on a level coordinate, or an NPC that displays obtained keys on your screen for within Quests, I can imagine quite alot of things that were on Classic pre-wipe being affected by this too and presumably will cause alot of issues on other servers, not impossible to re-script it so that it communicates with a weapon to handle these types of displays but for alot of scripters this will be making something that should be simple very complicated, there really should be a way to bypass this.
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 10:23 PM.


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