Server problem - {Zenkix}

Post here to get help with using or setting up fCraft
Post Reply
User avatar
zenkix
OP
Offline
Posts: 26
Joined: August 22nd, 2012, 2:29 pm

Server problem - {Zenkix}

Post by zenkix »

hello! When I did start up my server one day, This happend. I did shutdown the server, And open it again. Same thing happend


I did download the software again, And that software did work. Is there any way to fix this?

I got a picture:
Image

Jonty800
Offline
Posts: 280
Joined: August 21st, 2011, 6:31 am
Location: United Kingdom
Contact:

Re: Server problem - {Zenkix}

Post by Jonty800 »

Hey zenkix, do you know what Operating System you are running this on?
You cannot use certain BBCodes: [img].

User avatar
Hellenion
Offline
Posts: 220
Joined: October 20th, 2011, 9:20 am
Location: Subnet
Contact:

Re: Server problem - {Zenkix}

Post by Hellenion »

Looking at that picture I'm guessing it's windows, does anyone know file permissions under windows?
Also I'm sure any linux user would know how to handle this one.
A = {x ∈ P(U) | x ∉ x}
Mods:
  1. /Su - Allows players to temporarily become a different rank
  2. /Snap - Like /Line but only draws straight or diagonal lines.
  3. pre-0.630 skip/none block

User avatar
fragmer
fCraft Developer
Offline
Posts: 1386
Joined: May 21st, 2011, 10:53 pm

Re: Server problem - {Zenkix}

Post by fragmer »

Although the error is cut off in zenkix's post, I'm guessing he got an UnauthorizedAccessException. Here are some possible reasons, in order of decreasing likelihood:
  • Running fCraft from a protected system directory (e.g. Windows or ProgramFiles folder) while using a non-administrative user account. In that case, fCraft's data should go into AppData, ProgramData, or some directory owned by your user account.
  • Accidentally running fCraft from a temporary folder. If you downloaded fCraft in a zip file, and tried to run it directly from the zip file, it'll end up being extracted and launched from a temporary folder. Instead, extract all files to a permanent location before running fCraft.
  • Launching two copies of fCraft. UnauthorizedAccessException can happen when two processes try to write to the same file at the same time. In that case, don't run two instances of fCraft from the same directory.
  • Launching a sandboxed, freshly-downloaded copy of fCraft. Open file properties, and see if there is a "Security" note indicating that the file came from the Internet, and an "Unblock" button next to it.
  • Trying to write to a read-only file. Make sure none of fCraft's files are marked as read-only (in files' properties).
  • Trying to write to a read-only drive. Make sure you're not running fCraft from a USB drive, CD/DVD, or a remote network share.
  • Trying to treat a directory as a file (e.g. saving a file with an exact name as an existing directory). Unlikely as it is, make sure there's no directory named "PlayerDB.txt" in fCraft's folders.
  • If all else fails, try to run fCraft as Administrator. UAC can sometimes get in the way even if you do everything right.

Post Reply