Grasscutters / Grasscutter

A server software reimplementation for a certain anime game.
https://grasscutter.io/
GNU Affero General Public License v3.0
16.21k stars 4.47k forks source link

I can't create a new account. #591

Closed cold-runner closed 2 years ago

cold-runner commented 2 years ago

When I run commend in commend line account create username 123345 It return like this Snipaste_2022-05-06_22-46-21

lunaticwhat commented 2 years ago

Can you provide more info about which branch you re currently using ?

KiminaNatsuki commented 2 years ago

i think the issue is just the [] around the username

unknown10777 commented 2 years ago

Download codes and recomplie with java-17.0.3 will solve this problem. Run cmd in the folder where you store unzipped codes and type gradlew.bat make . Then you'll see a .jar at current directory.

unknown10777 commented 2 years ago

Can you provide more info about which branch you re currently using ?

Please check the link for grasscutter.jar in 'readme.md'. I have the same problem while using the file precompiled.

Gelmezon commented 2 years ago

you can start server with this code

java -jar grasscutter.jar -add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.net.util=ALL-UNNAMED