2003.10.20 (月) 23:26:19 <u*j*2*6*> shuusei211114,211116,211124,211144をまとめて移植しました
shuusei24195:クライアント自動判別の改良(24159,211114,211116,211124,211144参照,source by Heracules)

diff --dos -ur 24194/console.pas 24195/console.pas
--- 24194/console.pas	Mon Aug 11 20:23:10 2003
+++ 24195/console.pas	Mon Oct 20 22:55:38 2003
@@ -574,10 +574,17 @@
           else if loc10300 in TLocalUser(user^.local).detector then str:=str+'XNap';
           //else if not (loc208 in TLocalUser(user^.local).detector) then str:=str+'XNap??';
         end
-        else if loc326 in TLocalUser(user^.local).detector then str:=str+'MX2.x'
+        else if loc326 in TLocalUser(user^.local).detector then
+        begin
+          if locMacDir in TLocalUser(user^.local).detector then
+            str:=str+'2get'
+          else
+            str:=str+'MX2.x';
+        end
         else if loc110 in TLocalUser(user^.local).detector then str:=str+'Napchan'
         else if loc208 in TLocalUser(user^.local).detector then str:=str+'Utatane'
         else if locMD5Zeros in TLocalUser(user^.local).detector then str:=str+'Utatane'
+        else if loc10300 in TLocalUser(user^.local).detector then str:=str+'XNap'
         else if locMD5NonZero in TLocalUser(user^.local).detector then str:=str+'MX3.x'
         else str:=str+'MX3.x??'
       end;
diff --dos -ur 24194/constants.pas 24195/constants.pas
--- 24194/constants.pas	Mon Oct 20 20:36:10 2003
+++ 24195/constants.pas	Mon Oct 20 22:15:44 2003
@@ -27,7 +27,7 @@
  SLAVANAP_VERSION             = '2.4.1';
  SLAVANAP_BUILD               = '108';
  SLAVANAP_BUILD_DATE          = '24 January 2003';
- SLAVANAP_SHUUSEI             = '94';
+ SLAVANAP_SHUUSEI             = '95';
  SLAVANAP_SHUUSEI_DATE        = '20 October 2003';
  SLAVANAP_VERSION_SHORT       = SLAVANAP_TITLE+' '+SLAVANAP_VERSION;
  SLAVANAP_FULL                = SLAVANAP_TITLE+' '+SLAVANAP_VERSION+
diff --dos -ur 24194/handler.pas 24195/handler.pas
--- 24194/handler.pas	Mon Oct 20 21:12:36 2003
+++ 24195/handler.pas	Mon Oct 20 23:09:14 2003
@@ -2663,6 +2663,17 @@
  local.detector:=local.detector+[loc870];
  tmp_pos:=302;
  dir:=hlist.Strings[0];
+ if not (locMacDir in local.detector) then
+ begin
+   if AnsiLowerCase(dir)[1] in ['a'..'z'] then
+   begin
+     if Copy(dir,2,2)<>':\'  then
+       local.detector:=local.detector+[locMacDir];
+   end else
+   if not ((AnsiLowerCase(dir)[1] in ['\']) and (AnsiLowerCase(dir)[2] in ['\'])) then
+     if not (AnsiLowerCase(dir)[1] in ['/']) then
+       local.detector:=local.detector+[locMacDir];
+ end;
  hlist.Delete(0);
  tmp_pos:=303;
  while hlist.Count>5 do
diff --dos -ur 24194/localusers.pas 24195/localusers.pas
--- 24194/localusers.pas	Sun Apr 13 14:12:52 2003
+++ 24195/localusers.pas	Mon Oct 20 22:53:34 2003
@@ -29,7 +29,7 @@
  TLocalUserState = set of (locSwapBytes, locNeedsUpdate, locWriteOnly,
     locFloodWarning, locPingable);
  TLocalUserDetector = set of (loc326, loc110, loc640, loc208,
-    loc100, loc870, loc10300, locMD5Zero, locMD5NonZero, locMD5Zeros);
+    loc100, loc870, loc10300, locMD5Zero, locMD5NonZero, locMD5Zeros, locMacDir);
  TLocalUser = class(TObject)
   data            : POnlineUser;
   socket          : HSocket;