Ok, never had / nor used linux, but i can cook up something i'm pretty high;
Have you just went simple and re uploaded the files from windows to your linux?
|
"problem, i have a problem with cfg files my linux server can't find them on windows all was ok i am using dedicated server help"
Ok, never had / nor used linux, but i can cook up something i'm pretty high;
Have you just went simple and re uploaded the files from windows to your linux?
look for
In doorhandler.java, npchandler.java, itemhandler.java, shophandler.java...Code:config\\
change it to
compile and it should work.Code:config//
Source: Learning Java - Chapter 9 : JavaNote that path names use different separator characters on different hosts. Windows uses "\", Unix"/", Macintosh ":". The static variables:
File.separator - string with file separator
File.separatorChar - char with file separator
File.pathSeparator - string with path separator
File.pathSeparatorChar - char with path separator
can be used to insure that your programs are platform independent. For example, this snippet shows how to build a platform independent path:
String dirName = "dataDir";
String filename = "data.dat";
File filData = new File(dirName + File.separator + filename);
This can be used to make your server really platform independant.
Fuck sakes now i got same error while using other source..
Changed all config\\ to config//
still errors..
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |