Subj : Several Baja questions
To   : Digital Man
From : Evan Elias
Date : Wed Aug 16 2000 01:02 pm

RE: Several Baja questions
BY: Digital Man to Evan Elias on Wed Aug 16 2000 02:05 am

OTE: DCTEdit v0.04 [14]
> Or perhaps even easier (but perhaps not quite as efficient),
> create a 32-bit WinSock/telnet version. This could be
> Synchronet-specific (getting the socke handle from XTRN.DAT)
> or better yet, DOOR32.SYS compatible (which is support by
> Synchronet, Mystic and EleBBS at the moment). This would
> still be a single-instance per user, but the fact that it
> was 32-bit and used sockets directly would improve the
> performance dramatically.

Well, only problem for me there is, I don't know much about 32-bit coding :(
So making a Baja port would probably be easier for me.  Plus, I like the
concept of not having an extra window open for each user in the game, and
added features like seeing who's online, global paging, etc are always nice.

> You can use the OFFLINE Baja function and check for
> disconnection manually I think (_sys_status bit ON_REMOTE).

Are there any known issues regarding this that I'll have to worry about? (ie ,
functions working differently in offline mode).  One thing that concerned me
was if you're inputting an entire string in offline mode, I wasn't sure if
there was a way to detect hang-ups in that case, since the function doesn't
return until the user hits enter... if they hang up in offline mode, will the
function terminate or will it just freeze?

Thanks for answering all my questions... got one more though :)  Is there an
easy way to take the current command character and add it to a string?  I
noticed there wasn't an option in sprintf to put the command character into a
string, and I didn't see any other ways to do it either, since very few
functions allow you to manipulate the command char.

The reason I want to append it to a string is I want to do most string input
one character at a time (using inkey) so that other operations can be done
while a user is in the process of entering a string.

The only way I could think of to put the command character onto the end of a
string was to have a separate cmdkey for every key on the keyboard, and then
manually add the proper character to the string using strcat... but that would
be somewhat tedious since there'd be a billion cmdkey's.  Is there an easier
way?

Thanks,
Evan Elias

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net