#a few simple questions

35 messages · Page 1 of 1 (latest)

timid skiff
#

I can run the anime game locally on a local server. Using the 3.5 provided in readme and Mega, I think I started the server by pressing opening Run as Admin. I was expecting a console to stay up, but it went away. I've been reading though the docs, and I don't see where/how to access the server console. Apologies, I've never done Java server stuff and I know its something silly, but I just can't find it.

In anime gme, I can open with Cultivation/local host and 443. With google searches haven't found a way to open console in game, and the searches here haven't show me.

Thanks all for helping out.

#

I tried to CD into the Grasscuter-dev folder and 'run' the jar file, but nothing came up

#

I don't have mongo running. I saw where it implied if local, only java needed

molten breach
#
  • Where did you press "Run as Admin"?
  • The Grasscutter console that opens when you start the server is the console (and the server itself)
  • Nothing came up as in...?
  • I don't know where you saw that implied but it is wrong. MongoDB and Java 17 are both required to run a local server
timid skiff
#

run.bat - right click run as admin

molten breach
#

Ok you have this tagged as Cultivation though, are you using it?

timid skiff
#

dang it I'm sorry selected the wrong one

molten breach
#

Your run.bat isn't working because you don't have java 17 as your java home variable, most likely. You also would get an error because mongodb service isn't running

#

You don't need to run the bat as an admin either

timid skiff
#

ok so you DO need mongodb, I'll get it

#

and yes got error why cmd went away

#

Exception in thread "main" com.mongodb.MongoTimeoutException: Timed out after 30000 ms while waiting to connect. Client view of cluster state is {type=UNKNOWN, servers=[{address=localhost:27017, type=UNKNOWN, state=CONNECTING, exception={com.mongodb.MongoSocketOpenException: Exception opening socket}, caused by {java.net.ConnectException: Connection refused: no further information}}]

#

thank you for the help!

molten breach
#

100% it is required to run

#

The only time you don't need mongodb is if you are playing on a public server, because you're not the host in that case

#

No problem

timid skiff
#

"Note: If you just want to run it, then jre only is fine."

Thats what I misunderstood, thought by 'running' it mean... heck I don't know, running a publicly available server anyone could join with the address

molten breach
#

It's talking about the version of java

#

JRE = Java Runtime Environment, only needed to run java

timid skiff
#

I have 17.0.5

molten breach
#

JDK = java development kit, needed to build grasscutter

timid skiff
#

ohhh

#

which its already built

molten breach
#

You only need jre to run GC, you need jdk to build and run it

#

Yes

#

Since you are using a prebuilt Grasscutter jar you only need java 17 jre, not java 17 jdk

timid skiff
#

and I'm in the server! Thanks for clearing up the confusion

molten breach
#

No problem

timid skiff
#

you're right! server missmatch. I thought the premade mega was 3.5, but it seems to run the server as 3.4

#

hmmm rsa patching is enabled

molten breach
#

The mega in #resources is for 3.5, it says 3.4 but it's 3.5. You're not using it though

#

You're using current grasscutter, 1.4.6, which is for game version 3.4

#

You'll know you're using the mega link because you downloaded it, extracted it somewhere, and set the jar inside of it in Cultivation settings. It will say Grasscutter version: 1.5.1