| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | TinyTIC |
Ok, there's a few changes you can make (This is just a test though, for
some reason it seems that it can't open the ./tinytic.cfg which should
imply the same directory as the program, so these changes should work for a
-c commandline option at least.)
tinytic.cpp at around line 81 (just before the if (!ReadConfigFile())):
if (szConfigFile == "")
{
szConfigFile = szHomeDir + "tinytic.cfg"; // default
}
tprocess.cpp (around line 370 in CheckArea):
Remove all references to Buffer, primarily these lines:
string Buffer;
Buffer = ...
Buffer += ...
Replace the use of Buffer.c_str() with szConfigFile.c_str() which happens
at the fConfig.open call a few lines from the last Buffer line, and the Log
+= which is just a few lines below that.
In parse.cpp at around line 43, set szConfigFile to "" (remove
tinytic.cfg as the value).
These changes should make the -c option respond more appropriately. FOr
some reason it seems I left the Home directory value still being prepended
to the actual location. This is normally fine for non-alternate configs
but not for alternate ones.
Tell me if these changes work for you.
-- Michael
--- Maximus/2 3.01
* Origin: Paragon BBS - paragon.darktech.org - 423.926.7999 (1:18/200)SEEN-BY: 3/0 633/267 640/954 712/0 313 550 620 848 @PATH: 18/200 261/38 712/848 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.