ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/login.ext
(Generate patch)

Comparing deliantra/server/ext/login.ext (file contents):
Revision 1.69 by root, Mon Jul 23 17:53:55 2007 UTC vs.
Revision 1.70 by root, Sun Sep 2 12:37:10 2007 UTC

116# delete a player directory, be non-blocking AND synchronous... 116# delete a player directory, be non-blocking AND synchronous...
117# (thats hard, so we crap out and fork). 117# (thats hard, so we crap out and fork).
118sub nuke_playerdir { 118sub nuke_playerdir {
119 my ($user) = @_; 119 my ($user) = @_;
120 120
121 aio_stat "$PLAYERDIR/$user"; 121 aio_rename "$PLAYERDIR/$user", "$PLAYERDIR/~$Coro::current~deleting~";
122 system "cd \Q$PLAYERDIR\E " 122 system "rm -rf \Q$PLAYERDIR/~$Coro::current~deleting~\E &";
123 . "&& mv \Q$user\E ~\Q$Coro::current\E~deleting~ 2>/dev/null "
124 . "&& (rm -rf ~\Q$Coro::current\E~deleting~ &)";
125} 123}
126 124
127cf::client->attach (on_addme => sub { 125cf::client->attach (on_addme => sub {
128 my ($ns) = @_; 126 my ($ns) = @_;
129 127
142*** 140***
143*** CFPlus: all known versions automatically enable the facecache. 141*** CFPlus: all known versions automatically enable the facecache.
144*** cfclient: use the -cache commandline option. 142*** cfclient: use the -cache commandline option.
145*** cfclient: map will not redraw automatically (bug). 143*** cfclient: map will not redraw automatically (bug).
146*** gcfclient: use -cache commandline option, or enable 144*** gcfclient: use -cache commandline option, or enable
147*** gcfclient: Client=>Configure=>Map & Image=>Cache Images. 145*** gcfclient: Client => Configure => Map & Image => Cache Images.
148*** jcrossclient: your client is broken, use CFPlus or gcfclient. 146*** jcrossclient: your client is broken, use CFPlus or gcfclient.
149*** 147***
150*** 148***
151EOF 149EOF
152 if ($ns->version =~ /jcrossclient/) { 150 if ($ns->version =~ /jcrossclient/) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines