SpawnInfo Question

Need help running MacroQuest 1? Too bad! Use MQ2.

Moderator: MacroQuest Developers

MQSEQ
Hypocrite fag
Posts: 181
Joined: Fri Sep 19, 2003 5:18 pm

SpawnInfo Question

Post by MQSEQ » Wed Nov 19, 2003 7:54 am

Hey guys,

I have a question about the SpawnInfo Structure, Is there a way to determine how many spawns are in a zone without stepping thru the list? What I'm wanting to do is get the Spawn * Sturcture Size to allocate a buffer space big enough so I can Array.Copy vs. Convet to string the convert it back once I'm done reading all the memory. This is currently how I'm doing it and it's taking 1.2 seconds to read approx 680 spawns. My thought process if I can Copy the data vs converting it it may be faster.

Any help would be great. As some as you know I'm doing some major development on the MySEQ Project and just need some proding in the right direction.

Thanks

Midnight
a lesser mummy
a lesser mummy
Posts: 68
Joined: Wed Nov 12, 2003 12:51 pm

Post by Midnight » Wed Nov 19, 2003 5:56 pm

I was going to say.. this looked exactly like what was being worked on for MSEQ Server 2.0.

MQSEQ
Hypocrite fag
Posts: 181
Joined: Fri Sep 19, 2003 5:18 pm

Post by MQSEQ » Thu Nov 20, 2003 8:04 am

MQSEQ = MQSEQ2 :wink: