Quote:
Originally Posted by CT_Spawn
image link
You get this picture. Don't deny it, I saw it myself, my friend
|
that activity only happens when running a non steam server
Quote:
Originally Posted by CT_Spawn
32*32*4=4096 .....(1)
+
39*32*4=4992 ....(2)
(1) + (2) = 9088 Bytes
************************
24 * 60 = 1440 minutes
map time = 10 minutes
1440/10 ======> have 144 map in one day
so
9088 * 144 = 1308672 Bytes = 1.25 mb in one day
so
1.25 * 30 = 37.5 mb in 1 month
so
37.5*12=450 mb
This is just what we calculated on my plugin
So what if we count the other plugins?
Also, the system and the server software, we assume that they both carry 750 MB without taking into account additional other plugins, and I add only my 450 MB program to them.
That means the total is 1.2 GB
Imagine that the server only has 1 GB of RAM
It's strange to see a programmer bragging about memory loss like you
Didn't you study web programming and learn from it that you should do your best to reduce the volume, even if it is small?
|
im not sure what you mean about these numbers but youre taking it on extreme levels. my lazy calculations were made using nvault_set on a loop 30000 times and the result came to about 1.5mb
PHP Code:
#include <amxmodx>
#include <nvault>
public plugin_init()
{
new k[MAX_NAME_LENGTH], v = nvault_open("v")
for (new i = 0; i < 30000; i++)
{
for (new j = 0; j < MAX_NAME_LENGTH; j++)
k[j] = random_num(97, 122)
nvault_set(v, k, NULL_STRING)
server_print "%d[%s]", i, k
}
nvault_close(v)
}
we're going against all odds when we assume banning 30'000 players. daily player base of counter-strike peaks around 15'000 and majority are players who play everyday
https://steamdb.info/app/10/charts/
ive been mining steam ids using nvault to save certain values and this has been going on from around 3 years and ive accumulated around 7000 unique players. this includes players who connected to the server by mistake, players having multiple accounts and those using family sharing with friends. now do the math
__________________