Skip to main content

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

rainbow protocol fails “bad end block” same bbs as before

Punter fails “too many bad blocks”


There is something seriously wrong here. I downloaded file #736 with xy. Worked . Then switched to punter and redownloaded the same file giving it a different name. Failed.Then switched to comment and redownloaded the same file giving it a different name. failed Then switched to xy and redownloaded the same file giving it a different name. Failed. 

sometimes If the file name exists, it puts a .1 on the file name but it only downloads 1kb of the file and says transfer completed  

Thanks for the detailed report. Listing what happened on each try is what cracked it.

1.2.10 is up and fixes this. Like most C64 boards, that board sends plain bytes over the connection, without telnet's control codes. DIALTONE still treated a $FF byte as the possible start of a telnet code when it came last in a network packet, and held it back to see what followed. Nothing followed, because the board was waiting for our reply. So the block arrived one byte short, and it kept arriving one byte short every time it was sent again ("too many bad blocks"). Where the packets break changes from call to call, which is why the same file worked with XY once and then failed. It could hit any protocol.

I traced it on the board. With 1.2.10, the same file comes down byte-for-byte identical with Punter, XYModem and Rainbow, with no bad blocks.

Also in 1.2.10:

- "bad end block" / the 1 KB file marked complete: Rainbow could save a stalled transfer short and still call it done. It now checks the file size the board sends, and a short file is reported as failed instead of complete. XMODEM also makes sure the board has really finished before it stops.

- The renamed file: that part is on purpose. DIALTONE never overwrites a file you already have, so it picks the next free name. The 1 KB was the short-file bug above.

- Auto-login now works on C*Base boards. They draw their prompts in boxes, which DIALTONE didn't recognise as prompts.

If anything still fails on your end, post it here.

1.2.10 not posted as of yet?

I just uploaded.

Deleted 9 days ago

Were you able to test and confirm the fixes?

no not yet, next week. Sorry