I created 100,000 instances of the type player. And used a for/next loop to cycle thru each instance. It cycled thru this in 34 to 43 millisecs, which is how fast? Not to mention i'm only on a 633 dinosaur now.
I'm really happy, cause I ran this on my mudserver, and I might not have to do types within types like I was doing, It might slow it down a touch, but i can do for/next loops without slowing it down hopefully. Ie:
Command ="say"
for p.player=Each player
if p\Curr_room=room
writeline p\stream, message$
next
What do ya think?
I'm really happy, cause I ran this on my mudserver, and I might not have to do types within types like I was doing, It might slow it down a touch, but i can do for/next loops without slowing it down hopefully. Ie:
Command ="say"
for p.player=Each player
if p\Curr_room=room
writeline p\stream, message$
next
What do ya think?