assaultcube / AC

AssaultCube
846 stars 215 forks source link

Issue with creating a server. #451

Closed sami0505 closed 2 years ago

sami0505 commented 2 years ago

I'm trying to open a LAN server, and I keep getting this error when a client connects (AssaultCube fatal error: no maps available ) , which i chalked down to the servermaps.length() being < 0 and thus I am trying to fix it. I've tried searching everywhere and haven't found any results. Any help?

This is my maprot.cfg which the server exe is able to read with the correct amount of rotations given

ac_arctic tdm time:10
ac_desert tdm time:5

This is my servercmdline.txt

-mLocalhost
-c 3
-D5

Also, if it helps, I'm running on the portable edition.

sami0505 commented 2 years ago

Nvm, i solved it via bringing the server.bat into the directory where it usually is, but isnt in portable.