ID:259543
![]() Aug 3 2002, 8:59 am
|
|
Hey, how about a proc that gets called whenever world.cpu goes over 100%? This could be useful for debugging purposes, traffic control, adjusting the tick lag, etc.
|
Copyright © 2025 BYOND Software.
All rights reserved.
Well right now we can soft-code this.
//example
world/New()
while(1)
sleep(1)//I would use a higher delay
if(world.cpu >= 100) CPU_High()
proc/CPU_High()
world << "CPU is to high"
I use this kind a proc when I debug. I do however agree that it would be helpful to have it inbuilt into DM.