Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

No difference. Transfer > Download with (top menu) and the little ▾ arrow next to the Download button at the bottom do exactly the same thing. Both run that one transfer with the protocol you pick. So matching the BBS that way was the right thing to do.
In 1.2.9 you mostly don't need to pick at all.  DIALTONE reads the board's "Protocol:" line (on C*Base boards like Rapid Fire), so the plain Download button already matches it and shows which one it'll use, e.g. "Download (Punter)".  The menu or the arrow is still there if you want to override it.

If it was failing before even with the protocols matched, that was probably the other bug fixed in 1.2.9: some PETSCII graphics could flip the connection into telnet mode and break transfers after that. Let me know how 1.2.9 goes, and if anything still fails, tell me which protocol and which file.

thanks I add more questions above..,.

(2 edits)

Lia scripts: like on rapid fire BBs the prompts are petscii graphics. How do you handle that in scripts? 

How do you enter Enter key in the script?

Good questions!

PETSCII prompts in scripts: waitfor() doesn't match the raw bytes. It matches what DIALTONE reads as plain text. On a C64 board, colour and cursor codes are removed, letters stay letters (upper or lower case), and graphics characters turn into a ·. Matching ignores case. So on a fancy prompt like a coloured bar with "HANDLE:" inside it, just wait for the word:

waitfor("handle", 60)

It still matches even if the board changes colour between every letter. Some tips:

- Wait for a short, distinctive word ("handle", "password", "main menu"), not the whole line.

- If a prompt has no letters at all (pure grrds the board prints before it, then add ashort pause: wait(1).

- If a board asks different things on different calls, waitany() tells you which one came first: local n =

waitany({"password", "new user"}, 30)

- To see exactly what DIALTONE reads, use print(screen()). It writes the visible screen text to the status line.

Pressing Enter in a script: sendln("text") types the text and then Return. A bare Enter is sendln(""), or sendraw(13), which is Return on a C64 board too. send("text") types without pressing Enter.

Logging in automatically: you don't need a script for this. Open the board in the Host Directory (Alt+H, pick the board, Edit), type your user name and password under Login, and that's it. The next time you call, DIALTONE types them

when the board asks, once each. It also gets before the login ("hit DEL", "Commodoregraphics (y/n)?"). It won't answer a sysop's math question. "Log in automatically" is on by default. Your login is

stored encrypted for your Windows account, ao too.

If a board needs more steps, add a login script to it in the same Edit window. The script gets your saved login as

user and password:

waitfor("handle", 60)

sendln(user) waitfor("password", 30)

sendln(password)

Headless, no window at all: DIALTONE can also run with no window, driven by your own program:

Dialtone.exe --pipe bbs.example.com:23 --text --log call.cap

Your script talks to the board through stdin and stdout. It works from cmd, PowerShell, WSL or Python. --text turns PETSCII, ATASCII and ANSI into plain UTF-8 text with the colour codes removed, so matching prompts is easy. It can do uploads too (--protocol punter, zmodem and oludes ready-made Python samples insamples\pipe. They log in, upload and log off: cbase_upload.py handles a C64 C*Base board (it even gets past a "solthis sum" check) and amiexpress_upload.py haapter 13 of the manual has all the options.Headless mode is in the full version.