Page 1 of 1

RSC Sundae + RSC-C

Posted: Tue Jul 15, 2025 6:45 pm
by hyperagon
Hello I got RSC-C to connect to RSC Sunday by using a worlds.cfg file, however I was unable to create a New User as the server kept responding with error -1.

Is there something that I'm doing wrong?
RSC-C is the latest (at this date) from this repository.
RSC Sunday is the latest (at this date) from this repository.

For those wondering , this is the contents of worlds.cfg, it's RSC Sunday's default configuration:

Code: Select all

localhost 127.0.0.1 43594 81f390b2cf8ca7039ee507975951d5a0b15a87bf8b3f99c966834118c50fd94d 88c38748a58228f7261cdc340b5691d7d0975dee0ecdb717609e6bf971eb3fe723ef9d130e4686813739768ad9472eb46d8bfcc042c1a5fcb05e931f632eea5d

Re: RSC Sundae + RSC-C

Posted: Wed Jul 16, 2025 6:17 am
by Stormy
Notice that the version of RSC-C shipped on the sundae website has registration disabled - you need to register through the website.

This is because registration via RSC-C is rigged for OpenRSC, which supports it through a custom protocol. Only the authentic protocol is supported by sundae.

You also need to comment out -DREVISION_177 in the RSC-C Makefile.
Is there something that I'm doing wrong?
Yeah, that github fork of sundae is ancient. Please use the actual repository: https://git.sr.ht/~stormy/rscsundae

See data/settings.ini:

Code: Select all

; If this is 0, accounts will be registered on first login.
register_required=0
You should be able to register on login automatically using this option.

Re: RSC Sundae + RSC-C

Posted: Wed Jul 16, 2025 1:34 pm
by hyperagon
Stormy wrote: Wed Jul 16, 2025 6:17 am

Code: Select all

; If this is 0, accounts will be registered on first login.
register_required=0
You should be able to register on login automatically using this option.
Thank you very much, that worked.

Re: RSC Sundae + RSC-C

Posted: Thu Jul 17, 2025 4:15 pm
by hyperagon
I tried to replicate this and noticed that the worlds.cfg doesn't match the Server's setttings.ini.

~/.config/rsc-c/worlds.cfg (Client, Name Address Port Exponent Modulus)

Code: Select all

localhost 127.0.0.1 43594 81f390b2cf8ca7039ee507975951d5a0b15a87bf8b3f99c966834118c50fd94d 88c38748a58228f7261cdc340b5691d7d0975dee0ecdb717609e6bf971eb3fe723ef9d130e4686813739768ad9472eb46d8bfcc042c1a5fcb05e931f632eea5d
.../data/setttings.ini (Server)

Code: Select all

rsa_exponent=571fb062048b61721ebfcf1e877153241b70c3aa26edb0f9f06a1b2be07c4e45eaba4fc356ea806cbed298d38613590a53fde0383c3a411758516293240925e5
rsa_modulus=88c38748a58228f7261cdc340b5691d7d0975dee0ecdb717609e6bf971eb3fe723ef9d130e4686813739768ad9472eb46d8bfcc042c1a5fcb05e931f632eea5d
It works fine though, is that expected?