• Text file sections

    From xbit@1:103/705 to All on Mon Jan 23 08:56:44 2023
    I can't seem to add more than 15 ansi scores when logged onto the bbs using the add function. In \data\text I see a score.ini and score.ixt it does not update. Do i need to complie before it shows up? If so what would the command line be?

    ---
    þ Synchronet þ Do it @ the X: Sync: X-BIT.ORG <-> Spitfire: X-BIT.ORG:2323
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to xbit on Mon Jan 23 09:19:38 2023
    Re: Text file sections
    By: xbit to All on Mon Jan 23 2023 08:56 am

    I can't seem to add more than 15 ansi scores when logged onto the bbs using the add function. In \data\text I see a score.ini and score.ixt it does not update.

    The data/text/*.ixt file is legacy, not used in SBBS v3.18+. The "general text file section" (or gfiles section) is now handled by exec/text_sec.js and uses the data/text/*.ini files as the indexes to the text files.

    Do i need to complie before it shows up? If so what would the
    command line be?

    No, nothing needs to be compiled.

    I just tested text_sec.js here myself and was able to add text files successfully. So more information is needed on your issue.
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #32:
    FREQ = File Request
    Norco, CA WX: 50.9øF, 29.0% humidity, 3 mph NE wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From xbit@1:103/705 to Digital Man on Mon Jan 23 09:52:14 2023
    Re: Text file sections
    By: Digital Man to xbit on Mon Jan 23 2023 09:19 am

    I just tested text_sec.js here myself and was able to add text files successfully. So more information is needed on your issue.

    Thank you. I created a new catagory and i think i figured it out. My old groups had a different syntax when writing to the *.ini file. Example:

    new:
    [YTSCORE.ASC]
    desc=YT 3.6c [missles enabled]
    path=d:\sbbs\xtrn\dosdoorx\yt\YTSCORE.ASC

    old:
    [d:\sbbs\xtrn\dosdoorx\yt\YTSCORE.ASC
    desc=YT 3.6c [missles enabled]

    With this info I can rebuild my game score section.

    ---
    þ Synchronet þ Do it @ the X: Sync: X-BIT.ORG <-> Spitfire: X-BIT.ORG:2323
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to xbit on Mon Jan 23 10:48:47 2023
    Re: Text file sections
    By: xbit to Digital Man on Mon Jan 23 2023 09:52 am

    Re: Text file sections
    By: Digital Man to xbit on Mon Jan 23 2023 09:19 am

    I just tested text_sec.js here myself and was able to add text files successfully. So more information is needed on your issue.

    Thank you. I created a new catagory and i think i figured it out. My old groups had a different syntax when writing to the *.ini file. Example:

    new:
    [YTSCORE.ASC]
    desc=YT 3.6c [missles enabled]
    path=d:\sbbs\xtrn\dosdoorx\yt\YTSCORE.ASC

    old:
    [d:\sbbs\xtrn\dosdoorx\yt\YTSCORE.ASC
    desc=YT 3.6c [missles enabled]

    Looks like the close-bracket (]) character was missing?

    With this info I can rebuild my game score section.

    Interesting. The update.js will migrate old .ixt files to .ini format. Do you happen to have a copy of the originally migrated .ini file you can compare or share with me? The original score.ixt file might help me to identify the cause as well.

    Thanks,
    --
    digital man (rob)

    Rush quote #80:
    He knows changes aren't permanent, but change is .. Tom Sawyer
    Norco, CA WX: 54.0øF, 27.0% humidity, 10 mph WNW wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From xbit@1:103/705 to Digital Man on Mon Jan 23 10:59:34 2023
    Re: Text file sections
    By: xbit to Digital Man on Mon Jan 23 2023 09:52 am

    I just tested text_sec.js here myself and was able to add text files
    successfully. So more information is needed on your issue.
    Thank you. I created a new catagory and i think i figured it out. My old

    As it turns out, i did not figure it out <g>. I'll try and give more info:

    The issue happends when I try and add a another text file with the same file name. See the Yankee Trader example below. When I try and add YT game 2 it will just overwrite the last one. Note, I'm adding this by being logged onto the BBS, not by editing the *.ini file myself.

    example:

    [promo.ans]
    desc=AB 1 promo
    path=d:\sbbs\xtrn\ab1\promo.ans
    [wizhead.ans]
    desc=A wizzard head
    path=d:\sbbs\xtrn\ab2-777\wizhead.ans
    [ytscore.asc]
    desc=Yankee Trader Game 1
    path=d:\sbbs\xtrn\dosdoorx\yt\ytscore.asc
    [ytscore.asc]
    desc=Yankee Trader Game 2
    path=d:\sbbs\xtrn\dosdoorx\yt2\ytscore.asc

    ---
    þ Synchronet þ Do it @ the X: Sync: X-BIT.ORG <-> Spitfire: X-BIT.ORG:2323
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From xbit@1:103/705 to Digital Man on Mon Jan 23 11:09:24 2023
    Re: Text file sections
    By: Digital Man to xbit on Mon Jan 23 2023 10:48 am

    Interesting. The update.js will migrate old .ixt files to .ini format. Do you happen to have a copy of the originally migrated .ini file you can compare or share with me? The original score.ixt file might help me to identify the cause as well.

    Yessir.. this is whats currently in my data/text. and I went back to my backups before I upgraded to 3.19b a few weeks ago and its the same.

    27inch.ini
    ; Migrated from d:\sbbs\DATA\text/27inch.ixt by update.js 1.10 on Tuesday, March 09, 2021 04:14:30
    [D:\SBBS\TEXT\ANSI\27IN\FILE_ID.DIZ]
    desc=27inch artpack
    [D:\SBBS\TEXT\ANSI\27IN\27INCH.NFO]
    desc=27inch info
    [D:\SBBS\TEXT\ANSI\27IN\43E0-IS.ANS]
    desc=ansi art 1
    [D:\SBBS\TEXT\ANSI\27IN\AK-4X4.ANS]
    desc=ansi art 2
    [D:\SBBS\TEXT\ANSI\27IN\AVG-27.ANS]
    desc=ansi art 3

    27inch.ixt
    D:\SBBS\TEXT\ANSI\27IN\FILE_ID.DIZ
    27inch artpack
    D:\SBBS\TEXT\ANSI\27IN\27INCH.NFO
    27inch info
    D:\SBBS\TEXT\ANSI\27IN\43E0-IS.ANS
    ansi art 1
    D:\SBBS\TEXT\ANSI\27IN\AK-4X4.ANS
    ansi art 2
    D:\SBBS\TEXT\ANSI\27IN\AVG-27.ANS
    ansi art 3

    ---
    þ Synchronet þ Do it @ the X: Sync: X-BIT.ORG <-> Spitfire: X-BIT.ORG:2323
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)