Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-17-2009, 06:47 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Clientside Lag Scan

Is there a quick and easy way to tell how bad the client's currently lagging? I mean, is there something like player.framerate(); //returns the player's framerate? I don't imagine it'd be that hard to make a script that counts up and compares to the timevar every 5 seconds, but if there's an easier way I'd rather use that...
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #2  
Old 02-17-2009, 07:41 AM
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
No. Apparently Stefan said Graal "always runs at 20fps", when I requested a way to show your fps. I don't believe it though, because Graal can obviously slow down.
Reply With Quote
  #3  
Old 02-17-2009, 08:51 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Man, what was that old feature that showed your lag at the bottom-right corner? Control F, Shift F, Alt F, something. Sometimes I wonder how much is the language barrier and how much is just an excuse to get out of a conversation. ;-D
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #4  
Old 02-17-2009, 08:58 AM
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
alt+4 shows bitrate(IE data transfer outgoing/incoming, I believe). I don't think he had a problem understand because Graal does ideally run at 20fps(hence the 0.05 timeout, 1s/20frames=0.05). The problem is he thinks Graal always runs at 20fps. While it is programmed to run 20fps, it will vary depending on how it's actually running. I'm not a programmer so I don't know for sure, but I do know Graal can slow down.
Reply With Quote
  #5  
Old 02-17-2009, 10:33 AM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Quote:
Originally Posted by DustyPorViva View Post
The problem is he thinks Graal always runs at 20fps.
Stefan is not as stupid as you seem to think.
__________________
Reply With Quote
  #6  
Old 02-17-2009, 12:39 PM
RozenMaiden RozenMaiden is offline
Registered User
Join Date: Dec 2008
Posts: 27
RozenMaiden is on a distinguished road
20 fps? wow now i know why graal feels laggy all the time
Reply With Quote
  #7  
Old 02-17-2009, 02:21 PM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Piffle, most animation's 24fps. Honestly...
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #8  
Old 02-17-2009, 02:23 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
In the next Graal version there is a command "/clientstats accountname" which can be used to see where the game is slow or which scripts are slow.
Reply With Quote
  #9  
Old 02-17-2009, 02:48 PM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Hmm, that'll be handy from RC, but I guess I'll have to code the timeout - versus - timevar thing. The good news is I can just have it run the check in a system NPC which is running a timeout anyway to cut down on the overhead, and set a client.var when the client's lagging to tell all the other clientside scripts to switch to lowres.
Still, thanks for the heads up! I appreciate knowing that my work won't be rendered obsolete in the next edition. :-D
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #10  
Old 02-17-2009, 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
Quote:
Originally Posted by Inverness View Post
Stefan is not as stupid as you seem to think.
I know he's not stupid? I already said I could be wrong. Anyways, slap 100 particles in a level and tell me it's still running at 20fps.
Reply With Quote
  #11  
Old 02-17-2009, 08:36 PM
Switch Switch is offline
o.o
Switch's Avatar
Join Date: Jan 2007
Location: Philadelphia
Posts: 3,038
Switch has a spectacular aura about
Send a message via MSN to Switch
Quote:
Originally Posted by DustyPorViva View Post
I know he's not stupid? I already said I could be wrong. Anyways, slap 100 particles in a level and tell me it's still running at 20fps.
Or 1000 bombs
__________________
Oh squiggly line in my eye fluid. I see you lurking there on the peripheral of my vision.
But when I try to look at you, you scurry away.
Are you shy, squiggly line?
Why only when I ignore you, do you return to the center of my eye?
Oh, squiggly line, it's alright, you are forgiven.
Reply With Quote
  #12  
Old 02-17-2009, 09:34 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by DustyPorViva View Post
Anyways, slap 100 particles in a level and tell me it's still running at 20fps.
Quote:
Originally Posted by Switch View Post
Or 1000 bombs
CPU is the keyword in those cases.
__________________
Reply With Quote
  #13  
Old 02-17-2009, 09:51 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
Quote:
Originally Posted by Chompy View Post
CPU is the keyword in those cases.
Point? If I run a 3D game and my processor can't handle whatever AI or other calculations are going on, my FPS will suffer, even if my graphics card can handle it all. Point is, in those cases Graal is not displaying 20 frames per second, regardless of what the cause is.
Reply With Quote
  #14  
Old 02-17-2009, 10:05 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by DustyPorViva View Post
Point? If I run a 3D game and my processor can't handle whatever AI or other calculations are going on, my FPS will suffer, even if my graphics card can handle it all. Point is, in those cases Graal is not displaying 20 frames per second, regardless of what the cause is.
According to some program I have, Graal start at around.. 8 FPS and goes up to 20 FPS when loading. Then it will go between 20 and 21 FPS sometimes. When moving the window around, the FPS will drop to 15 and go up to 20 FPS.

There are just some stuff I've noticed.
__________________
Reply With Quote
  #15  
Old 02-17-2009, 10:54 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
Quote:
Originally Posted by Chompy View Post
According to some program I have, Graal start at around.. 8 FPS and goes up to 20 FPS when loading. Then it will go between 20 and 21 FPS sometimes. When moving the window around, the FPS will drop to 15 and go up to 20 FPS.

There are just some stuff I've noticed.
So Graal isn't always at 20fps?
Reply With Quote
  #16  
Old 02-17-2009, 11:47 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by DustyPorViva View Post
So Graal isn't always at 20fps?
Not according to the program I have. I'll take a look and check it out while browsing/visitting servers tomorrow.
__________________
Reply With Quote
  #17  
Old 02-18-2009, 12: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
Say "showscriptstats" on player.

Not exactly what you want, I think, but it should be good enough. Then check F2 (under scripts).
__________________
Reply With Quote
  #18  
Old 02-18-2009, 12:35 AM
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
Quote:
Originally Posted by -Ramirez- View Post
Graal uses one thread for rendering and handling Windows events. When resizing or dragging any window (not a graphics engine window), it's going to prevent the render loop from processing. This will obviously result in a reduction in frame rate temporarily. Nobody ever implied that Graal can't go UNDER 20 FPS anyway, as such an assumption is just ignorance.
When I requested a way to display FPS, Stefan said Graal was always running at 20fps, so there was no need for such a thing.

edit:http://forums.graalonline.com/forums...89&postcount=3 though it seems I wasn't the one who requested it. Odd.
Reply With Quote
  #19  
Old 02-18-2009, 12:39 AM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Quote:
Originally Posted by DustyPorViva View Post
When I requested a way to display FPS, Stefan said Graal was always running at 20fps, so there was no need for such a thing.
I hate you for quoting that before I deleted it. What I said was actually an assumption in itself.

However, Stefan probably assumed that you thought Graal could exceed 20 FPS. He wouldn't have meant what HE said to mean "it can't go under 20 FPS", because as I said, that's ignorance of how games work. That's like thinking any processor, regardless of how old it is, is capable of producing 20 FPS just because you think someone said so. AFK, digging out a 19 year old processor so I can get 20 FPS guaranteed.
__________________
Kat
Reply With Quote
  #20  
Old 02-18-2009, 02:31 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Then again, he might be Very Literally Correct - it seems that every 1.00 seconds (remember, a second's a long time) Graal runs a Catch-Up routine that applies-and-clears any frames still in the buffer, thus the jerky-lagginess of some enemies. So when he says it runs at Always 20 FPS, it is Technically Always 20 - just when you're laggy you get to see 1, 2, and 3, then 4-20 get squished together at 1.00 seconds. *shrugs*

Doesn't help us out any, but there it is.
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #21  
Old 02-18-2009, 02:36 AM
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
Quote:
Originally Posted by Tyhm View Post
Then again, he might be Very Literally Correct - it seems that every 1.00 seconds (remember, a second's a long time) Graal runs a Catch-Up routine that applies-and-clears any frames still in the buffer, thus the jerky-lagginess of some enemies. So when he says it runs at Always 20 FPS, it is Technically Always 20 - just when you're laggy you get to see 1, 2, and 3, then 4-20 get squished together at 1.00 seconds. *shrugs*

Doesn't help us out any, but there it is.
In that case, it's running 4fps, because 5-20 are not being displayed.
Reply With Quote
  #22  
Old 02-18-2009, 03:21 PM
RozenMaiden RozenMaiden is offline
Registered User
Join Date: Dec 2008
Posts: 27
RozenMaiden is on a distinguished road
still wondering about the 20 fps thingy

isn't 25-30 minimum the standard for games?
Reply With Quote
  #23  
Old 02-18-2009, 03:29 PM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
*shrugs* Graal's been running on the 0.05 standard for nearly a decade. I'm sure if Stefan felt like it he could lower it all the way to 0.02 (50 FPS, as well as the ganis and anigifs) and leave it up to the video card to figure out how many it Really wants to display...
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #24  
Old 02-18-2009, 11:10 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
Apparently Graal runs at 15fps for me at Town Center on UN at maximized.
Reply With Quote
  #25  
Old 02-18-2009, 11:24 PM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
If you find the need to post such a comment, you clearly still don't understand the concepts involved.
__________________
Kat
Reply With Quote
  #26  
Old 02-18-2009, 11:26 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
Quote:
Originally Posted by -Ramirez- View Post
If you find the need to post such a comment, you clearly still don't understand the concepts involved.
What?
Reply With Quote
  #27  
Old 02-18-2009, 11:30 PM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
PHP Code:
if(createdthis.oldtimevar=timevar+1;
if(
playerenters||timeout){
  if(
this.oldtimevar<timevar){
//100 is healthy; 75 is laggy; 50 is doomtacular
    
if(this.i<75set lowres;
    if(
lowres&&this.i>95) unset lowres;
    
message #v(timevar): #v(this.i);
    
this.i=0;
    
this.oldtimevar=timevar;
  }
  
this.i++;
  
timeout=0.05;

Rudementary but effective.

And Stefan knows full well Graal can run "at reduced framerate", he put in a DirectX Error Message suggesting the player press F1 and turn off lighting effects.
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote
  #28  
Old 02-18-2009, 11:48 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
Quote:
Originally Posted by Tyhm View Post
PHP Code:
if(createdthis.oldtimevar=timevar+1;
if(
playerenters||timeout){
  if(
this.oldtimevar<timevar){
//100 is healthy; 75 is laggy; 50 is doomtacular
    
if(this.i<75set lowres;
    if(
lowres&&this.i>95) unset lowres;
    
message #v(timevar): #v(this.i);
    
this.i=0;
    
this.oldtimevar=timevar;
  }
  
this.i++;
  
timeout=0.05;

Rudementary but effective.

And Stefan knows full well Graal can run "at reduced framerate", he put in a DirectX Error Message suggesting the player press F1 and turn off lighting effects.
I forgot about that rofl.
Reply With Quote
  #29  
Old 02-20-2009, 02:45 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
Graal is running at 20 fps and tries to keep that framerate as best as possible, if one frame is taking slightly more time it will wait less time until the next frame. The engine supports unlimited frame rate, that mode is used for Graal3D, but for normal Graal it will not be good because animations and scripts are made for 20 fps, server-side scripts are 10 fps, and if it's running at unlimited fps the animations and scripts can act out of sync - 21 fps means the animation is stopping at some frame which looks jumpy.

The next Graal version will be more optimized, it's using DirectX9 on Windows, is fully C++ (current version is still some Pascal/Delphi), and is made to run fast enough on iPhone (optimized particle engine, removed some unneeded code, scripting engine is having less overhead) so it should be faster for normal playing as well.
Reply With Quote
  #30  
Old 02-20-2009, 02:58 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
Graal is running at 20 fps and tries to keep that framerate as best as possible...
Doesn't seem to work very well. Or the movement system on Kingdoms just sucks. I did a small test earlier, and framerate drops to about 15 frames per second whenever I just walk around on GK. It's usually at 20 when standing still though.
Reply With Quote
  #31  
Old 02-20-2009, 09:43 PM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Quote:
Originally Posted by Stefan View Post
Graal is running at 20 fps and tries to keep that framerate as best as possible, if one frame is taking slightly more time it will wait less time until the next frame. The engine supports unlimited frame rate, that mode is used for Graal3D, but for normal Graal it will not be good because animations and scripts are made for 20 fps, server-side scripts are 10 fps, and if it's running at unlimited fps the animations and scripts can act out of sync - 21 fps means the animation is stopping at some frame which looks jumpy.
I don't know why you even needed to post this when it's so obvious to begin with, but maybe now they'll believe it.

Quote:
it's using DirectX9 on Windows
Does this mean the non-Windows versions will be using a version of OpenGL that supports shaders? (Assuming it isn't already using such a version. Maybe that's a stupid question. I don't really know how OpenGL is used compared to DirectX.) If so, do you intend to add support for various shader effects?
__________________
Kat
Reply With Quote
  #32  
Old 02-20-2009, 09:54 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
Quote:
Originally Posted by -Ramirez- View Post
I don't know why you even needed to post this when it's so obvious to begin with, but maybe now they'll believe it.
Graal can quite obviously run under 20fps. What exactly is the problem? All Stefan has explained is Graal can run higher than 20fps.
Reply With Quote
  #33  
Old 02-20-2009, 11:35 PM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Quote:
Originally Posted by DustyPorViva View Post
Graal can quite obviously run under 20fps. What exactly is the problem? All Stefan has explained is Graal can run higher than 20fps.
The problem is you not grasping concepts. You acted as if it's a big mystery as to why a program could possibly run at less than the speed needed for normal operation. This shows a lack of understanding of basic computer concepts. I've already explained all this anyway.

Yes, he said Graal CAN go over 20 FPS, but is currently not designed to do that in non-3D (aka what we all use, you know). So let me put this more directly: this information isn't relevant to what you failed to understand.
__________________
Kat
Reply With Quote
  #34  
Old 02-21-2009, 09:51 PM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Quote:
Originally Posted by Stefan View Post
The next Graal version will be more optimized, it's using DirectX9 on Windows, is fully C++ (current version is still some Pascal/Delphi), and is made to run fast enough on iPhone (optimized particle engine, removed some unneeded code, scripting engine is having less overhead) so it should be faster for normal playing as well.
Hurry up and release this.
Reply With Quote
  #35  
Old 02-22-2009, 12:33 AM
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
Quote:
Originally Posted by -Ramirez- View Post
The problem is you not grasping concepts. You acted as if it's a big mystery as to why a program could possibly run at less than the speed needed for normal operation. This shows a lack of understanding of basic computer concepts. I've already explained all this anyway.

Yes, he said Graal CAN go over 20 FPS, but is currently not designed to do that in non-3D (aka what we all use, you know). So let me put this more directly: this information isn't relevant to what you failed to understand.
You haven't explained anything other than telling me that I don't understand the concept.

Please, explain how Graal can never go under 20fps, and why a way to show FPS is not needed, and I'll leave it alone.
Reply With Quote
  #36  
Old 02-22-2009, 01:43 AM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Quote:
Originally Posted by DustyPorViva View Post
Please, explain how Graal can never go under 20fps, and why a way to show FPS is not needed, and I'll leave it alone.
I have not said any such thing. YOU were the one that were showing surprise by the fact that a program could run under optimal, solely because you misunderstood what Stefan originally said. Is that clear to you yet? If not, I give up, because you truly have problems understanding what's said.
__________________
Kat
Reply With Quote
  #37  
Old 02-22-2009, 02:08 AM
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
Quote:
Originally Posted by -Ramirez- View Post
I have not said any such thing. YOU were the one that were showing surprise by the fact that a program could run under optimal, solely because you misunderstood what Stefan originally said. Is that clear to you yet? If not, I give up, because you truly have problems understanding what's said.
Where was I ever surprised? Please show my post. The only thing that surprised me was Stefan saying there was no need to display FPS because Graal always 'ran at 20fps'. I know damn well that Graal could run under optimal speed, hence what I've been saying the whole time. And I didn't 'misunderstood' what Stefan said, because it's exactly what he said. He may have said it wrong, but I didn't misunderstand.
Reply With Quote
  #38  
Old 02-22-2009, 09:07 AM
salesman salesman is offline
Finger lickin' good.
salesman's Avatar
Join Date: Nov 2008
Location: Colorado
Posts: 1,865
salesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud of
Quote:
Originally Posted by -Ramirez- View Post
I have not said any such thing. YOU were the one that were showing surprise by the fact that a program could run under optimal, solely because you misunderstood what Stefan originally said. Is that clear to you yet? If not, I give up, because you truly have problems understanding what's said.
You're the one who has misunderstood
Reply With Quote
  #39  
Old 02-22-2009, 09:06 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
Quote:
Originally Posted by -Ramirez- View Post
I have not said any such thing. YOU were the one that were showing surprise by the fact that a program could run under optimal, solely because you misunderstood what Stefan originally said. Is that clear to you yet? If not, I give up, because you truly have problems understanding what's said.
What the hell is your problem? You've been showing hostility in every damn post you've made the past days.


And Dusty, ever considered that Stefan might have meant that it optimally always run at 20 fps when he said what he did?
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #40  
Old 02-22-2009, 10:30 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
Quote:
Originally Posted by xXziroXx View Post
And Dusty, ever considered that Stefan might have meant that it optimally always run at 20 fps when he said what he did?
Aye, but he turned down an idea to allow us to see our FPS because of it, and apparently never revisited the idea. Here it is again and he still seems to misunderstand what we're asking for.
Reply With Quote
Reply


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:35 PM.


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