Graal Forums

Graal Forums (http://forums.graalonline.com/forums/index.php)
-   PlayerWorlds Main Forum (http://forums.graalonline.com/forums/forumdisplay.php?f=15)
-   -   server question... (http://forums.graalonline.com/forums/showthread.php?t=77425)

theHAWKER 11-03-2007 11:50 PM

server question...
 
Me and a few friends of mine where wondering how much things can we have going on at once before the server starts to lag?

like if there where 25 levles on a gmap and we had 10 npcs that interact with the player and server and vice versa, would there be extream lag??

Horrified 11-04-2007 12:03 AM

Not detailed at all to understand, definitely give a straight answer.

Be more specific and give examples please.

Switch 11-04-2007 12:11 AM

With 25 levels and 10 npcs? Doubt it. There might be slightly, but I';m not an expert. I doubt it would be though.

Pimmeh 11-04-2007 12:32 AM

25 levels and 10 npcs? HAH afcourse not!
I had a 3k level gmap active that actually worked for me at my dad's place!
Nah, 25 levels and 10 npcs should be fine

Crow 11-04-2007 01:00 AM

Depends on whats inside the NPCs :D

theHAWKER 11-04-2007 01:14 AM

Quote:

Originally Posted by Crow (Post 1356182)
Depends on whats inside the NPCs :D

ok, say there was 100(conservitive) lines of script in each npc

Crow 11-04-2007 01:48 AM

Quote:

Originally Posted by theHAWKER (Post 1356183)
ok, say there was 100(conservitive) lines of script in each npc

More precise.
Serverside or not? Lots of checks? Lots of loops? Timeouts?
You cant compare it to the line count. I can write you a script with probably less than 10 lines which would **** up your whole server.

theHAWKER 11-04-2007 09:41 PM

Serverside or and client, Lots of checks, not as many loops, a few Timeouts

Novo 11-05-2007 12:32 AM

Quote:

Originally Posted by theHAWKER (Post 1356363)
Serverside or and client, Lots of checks, not as many loops, a few Timeouts

1 NPC ANYWHERE with this would cause a lot of lag:
Graal Script Code:

function onCreated()
{
  
temp.array = {"Stuff"};
  for ( 
temp.itemp.array )
    
temp.array.addtemp.);


;)


All times are GMT +2. The time now is 05:37 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.