ID:1834081
 
(See the best response by LordAndrew.)
Problem description:
What's the best way to determine the "specs" for running your game. Is there an online service or something?
Also- what's the best way to determine how close you are to the object limit and any other limitation in a game. (I don't believe I am, but it would be nice to see how much leeway I have.)
Try using the inbuilt profiler.
The profiler doesn't display any limits, it just shows some counts.
There has to be some kind of code that keeps track of everything that is active in the game. I guess I could maybe loop through all atoms in the world and count them up.
Might be as best as I get.
client
verb
RunCt()
var/list/f=list("turf"=0,"mob"=0,"obj"=0,"area"=0)
for(var/atom/m in world)
if(istype(m,/turf))
f["turf"]++
else if(istype(m,/mob))
f["mob"]++
else if(istype(m,/obj))
f["obj"]++
else if(istype(m,/area))
f["area"]++
for(var/i in f)
world<<"[i] Count = [f[i]]."
In response to Avidanimefan
Best response
If you're hosting your game via Dream Daemon, you can use the Memory Stats (Ctrl + M, or select it from the World menu) option to view both how many instances of a type exist, as well as how much memory is being used by those types.
In response to LordAndrew
Exactly what I was looking for, thanks.
Edit : Ah.. you said dream Daemon :o. I can't really host hmm. I guess the snippet will do for now.