EXAPUNKS

EXAPUNKS

View Stats:
Trouble with TEC EXA-BLASTER MODEM (the one after The Wormhole)
I'm having trouble figuring out how to solve the modem level, not just in coding it but how it can even be solved in the first place.

My idea is simple: Copy all numbers from a file into #DIAL, replicate twice, link the first copy into the new node, and have it copy the file there into a file the second copy is holding, have the second copy dial up the number, lather, rinse, repeat.

But of course a file can have more than one phone number, so the dialing EXA would have to wait somehow after dialing each number. That's troublesome but could be solved with a local signal, I guess.

But at some points there will be more than one EXA wanting to dial numbers, and that's where I'm stuck. I don't see how to incorporate some form of precedence, but I also don't see another way of solving the level than what I've described. So my mind's a blank now.
< >
Showing 1-2 of 2 comments
One of my earlier solutions took your approach, though an easier (and it turns out faster) approach is to only replicate once (the one going into the new node), and copy the data to the end of the starter file. Though you have to do a bit of file cleanup, you don't have to worry about the dialing precedence from multiple EXAs.
It took a while for me to work the kinks out while coding your approach, but it did work and it certainly was easier to code than my previous approach. Thanks!
< >
Showing 1-2 of 2 comments
Per page: 1530 50