|
that requires so much modification though. my idea seems to be a lot more simple if i can find a solution for the journaling-type-thing
ftp...
or do the easiest and just add a int in the character file??????
character-isOnline = 1;//is online
if (isOnline) {return alreadyOn; }
and in a shutdown hook and logout, isOnline = 0;
Okay.. then everytime it is changed you are going to have to parse and edit the file. How will you assure that access to the file is synchronized between multiple server instances? I do not think Java gives you an interface to lock the files through the OS. Also, the way I stated would make it more simple to allow other processes to access information about it (for example, if you have some kind of web application).
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |