Blockland Forums > General Discussion

Glass Trench Wars [Classic - 4Days only!]

Pages: << < (13/18) > >>

Zeblote:


--- Quote from: Operator¹ on February 22, 2013, 03:19:18 PM ---Looks like BF3 weapons are worse than they were on the surface.

--- End quote ---
A huge pile of packages doing nothing shouldn't create any lag

Operator¹:


--- Quote from: Zeblote on February 22, 2013, 03:19:48 PM ---A huge pile of packages doing nothing shouldn't create any lag

--- End quote ---

I looked at the file and it seems to do that a lot, and there are many instances of zig-zagging.

Ipquarx:


--- Quote from: Zeblote on February 22, 2013, 03:19:48 PM ---A huge pile of packages doing nothing shouldn't create any lag
--- End quote ---
Imagine a server.
Filled with at least 50 weapons each with their own package for the light AND trigger commands.

Now, imagine that server with 50 people, each firing at a rate of a simple 10 bullets per minute, and each using the light key to reload around once a minute.

That's over 458 function calls per second.

Raise that bullet rate to 30 bullets per minute, and you have to raise the reload rate to around 3 times per minute.

That's 1,375 functions calls per second. And when there's a large battle going on, that can raise upwards of 2300 function calls per second.

For torque, that's a damn lot to handle.

-Jetz-:


--- Quote from: Ipquarx on February 22, 2013, 02:20:11 PM ---Aha,

It's the weapons.

--- End quote ---
Yeah, that might be a good indication. It doesn't look like anything is being deliberately spammed, though. Possible that with all the calls to onTrigger you'd get hosting a 40 person deathmatch, that unbelievably stuffty mess of packages is causing some minor impact that builds up.

Zeblote:


--- Quote from: Ipquarx on February 22, 2013, 03:29:50 PM ---
--- End quote ---
And when you place a dirt on a 64x brick that's almost 30000 iterations of one function at once, lagging a full server for about 1 second.

Pages: << < (13/18) > >>

Go to full version