riperiperi / FreeSO

Re-implementation of The Sims Online.
http://freeso.org
Mozilla Public License 2.0
803 stars 95 forks source link

I implemented a register dialog for FreeSO #274

Open ghost opened 7 months ago

ghost commented 7 months ago

Hello my name it's Isaac and i implemented a register dialog in the login screen. I'am beginner programmer. Captura de pantalla 2023-11-12 160107

I cloned FreeSO for make this I hope it's not a bother

riperiperi commented 7 months ago

This might be useful, assuming it's just a wrapper around the beta.freeso.org registration API. Though it would need UI work to look consistent with other dialogs and explain what each of the fields is and why it's required.

ghost commented 7 months ago

True, I forgot to mention that it is each thing, the first field would be the username, the second, as you may have deduced, would be the email field and the last field would be the password. As for the code, it makes an HTTP POST to the server that is on the game configuration specifically GameEntryUrl the code adds /userapi/registration at the end. I think it could be necessary in the hypothetical case that the beta.freeso.org page was down and thus I would have another exit. I'm currently learning how to do the dialogues so it looks so simple.

ghost commented 7 months ago

I work to make this more better

ghost commented 7 months ago

UPDATE: imagen