home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 79 / CDPowerplay79Disc1.iso / Demos / MobileForcesDemo_2002.05.07.exe / System / UBrowser.u / UBrowserServerList_UBrowserServerListWindow_ScriptText.TextBuffer < prev    next >
Unknown  |  2002-05-07  |  13.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 55 da 01 63 6c 61 73 73 |........|U..class|
|00000010| 20 55 42 72 6f 77 73 65 | 72 53 65 72 76 65 72 4c | UBrowse|rServerL|
|00000020| 69 73 74 57 69 6e 64 6f | 77 20 65 78 74 65 6e 64 |istWindo|w extend|
|00000030| 73 20 55 57 69 6e 64 6f | 77 50 61 67 65 57 69 6e |s UWindo|wPageWin|
|00000040| 64 6f 77 0d 0a 09 50 65 | 72 4f 62 6a 65 63 74 43 |dow...Pe|rObjectC|
|00000050| 6f 6e 66 69 67 3b 0d 0a | 0d 0a 76 61 72 20 63 6f |onfig;..|..var co|
|00000060| 6e 66 69 67 20 73 74 72 | 69 6e 67 09 09 09 09 53 |nfig str|ing....S|
|00000070| 65 72 76 65 72 4c 69 73 | 74 54 69 74 6c 65 3b 09 |erverLis|tTitle;.|
|00000080| 2f 2f 20 4e 6f 6e 2d 6c | 6f 63 61 6c 69 7a 65 64 |// Non-l|ocalized|
|00000090| 20 70 61 67 65 20 74 69 | 74 6c 65 0d 0a 76 61 72 | page ti|tle..var|
|000000a0| 20 63 6f 6e 66 69 67 20 | 73 74 72 69 6e 67 09 09 | config |string..|
|000000b0| 09 09 4c 69 73 74 46 61 | 63 74 6f 72 69 65 73 5b |..ListFa|ctories[|
|000000c0| 31 30 5d 3b 0d 0a 76 61 | 72 20 63 6f 6e 66 69 67 |10];..va|r config|
|000000d0| 20 73 74 72 69 6e 67 09 | 09 09 09 55 52 4c 41 70 | string.|...URLAp|
|000000e0| 70 65 6e 64 3b 0d 0a 76 | 61 72 20 63 6f 6e 66 69 |pend;..v|ar confi|
|000000f0| 67 20 69 6e 74 09 09 09 | 09 09 41 75 74 6f 52 65 |g int...|..AutoRe|
|00000100| 66 72 65 73 68 54 69 6d | 65 3b 0d 0a 76 61 72 20 |freshTim|e;..var |
|00000110| 63 6f 6e 66 69 67 20 62 | 6f 6f 6c 09 09 09 09 09 |config b|ool.....|
|00000120| 62 4e 6f 41 75 74 6f 53 | 6f 72 74 3b 0d 0a 76 61 |bNoAutoS|ort;..va|
|00000130| 72 20 63 6f 6e 66 69 67 | 20 62 6f 6f 6c 09 09 09 |r config| bool...|
|00000140| 09 09 62 48 69 64 64 65 | 6e 3b 0d 0a 76 61 72 20 |..bHidde|n;..var |
|00000150| 63 6f 6e 66 69 67 20 62 | 6f 6f 6c 09 09 09 09 09 |config b|ool.....|
|00000160| 62 46 61 6c 6c 62 61 63 | 6b 46 61 63 74 6f 72 69 |bFallbac|kFactori|
|00000170| 65 73 3b 0d 0a 0d 0a 76 | 61 72 20 73 74 72 69 6e |es;....v|ar strin|
|00000180| 67 09 09 09 09 09 09 53 | 65 72 76 65 72 4c 69 73 |g......S|erverLis|
|00000190| 74 43 6c 61 73 73 4e 61 | 6d 65 3b 0d 0a 76 61 72 |tClassNa|me;..var|
|000001a0| 20 63 6c 61 73 73 3c 55 | 42 72 6f 77 73 65 72 53 | class<U|BrowserS|
|000001b0| 65 72 76 65 72 4c 69 73 | 74 3e 09 53 65 72 76 65 |erverLis|t>.Serve|
|000001c0| 72 4c 69 73 74 43 6c 61 | 73 73 3b 0d 0a 0d 0a 76 |rListCla|ss;....v|
|000001d0| 61 72 20 55 42 72 6f 77 | 73 65 72 53 65 72 76 65 |ar UBrow|serServe|
|000001e0| 72 4c 69 73 74 09 09 09 | 50 69 6e 67 65 64 4c 69 |rList...|PingedLi|
|000001f0| 73 74 3b 0d 0a 76 61 72 | 20 55 42 72 6f 77 73 65 |st;..var| UBrowse|
|00000200| 72 53 65 72 76 65 72 4c | 69 73 74 09 09 09 55 6e |rServerL|ist...Un|
|00000210| 70 69 6e 67 65 64 4c 69 | 73 74 3b 0d 0a 0d 0a 76 |pingedLi|st;....v|
|00000220| 61 72 20 55 42 72 6f 77 | 73 65 72 53 65 72 76 65 |ar UBrow|serServe|
|00000230| 72 4c 69 73 74 46 61 63 | 74 6f 72 79 09 46 61 63 |rListFac|tory.Fac|
|00000240| 74 6f 72 69 65 73 5b 31 | 30 5d 3b 0d 0a 76 61 72 |tories[1|0];..var|
|00000250| 20 69 6e 74 09 09 09 09 | 09 09 09 51 75 65 72 79 | int....|...Query|
|00000260| 44 6f 6e 65 5b 31 30 5d | 3b 0d 0a 76 61 72 20 55 |Done[10]|;..var U|
|00000270| 42 72 6f 77 73 65 72 53 | 65 72 76 65 72 47 72 69 |BrowserS|erverGri|
|00000280| 64 09 09 09 47 72 69 64 | 3b 0d 0a 76 61 72 20 73 |d...Grid|;..var s|
|00000290| 74 72 69 6e 67 09 09 09 | 09 09 09 47 72 69 64 43 |tring...|...GridC|
|000002a0| 6c 61 73 73 3b 0d 0a 76 | 61 72 20 66 6c 6f 61 74 |lass;..v|ar float|
|000002b0| 09 09 09 09 09 09 54 69 | 6d 65 45 6c 61 70 73 65 |......Ti|meElapse|
|000002c0| 64 3b 0d 0a 76 61 72 20 | 62 6f 6f 6c 09 09 09 09 |d;..var |bool....|
|000002d0| 09 09 62 50 69 6e 67 53 | 75 73 70 65 6e 64 3b 0d |..bPingS|uspend;.|
|000002e0| 0a 76 61 72 20 62 6f 6f | 6c 09 09 09 09 09 09 62 |.var boo|l......b|
|000002f0| 50 69 6e 67 52 65 73 75 | 6d 65 3b 0d 0a 76 61 72 |PingResu|me;..var|
|00000300| 20 62 6f 6f 6c 09 09 09 | 09 09 09 62 50 69 6e 67 | bool...|...bPing|
|00000310| 52 65 73 75 6d 65 49 6e | 74 69 61 6c 3b 0d 0a 76 |ResumeIn|tial;..v|
|00000320| 61 72 20 62 6f 6f 6c 09 | 09 09 09 09 09 62 4e 6f |ar bool.|.....bNo|
|00000330| 53 6f 72 74 3b 0d 0a 76 | 61 72 20 62 6f 6f 6c 09 |Sort;..v|ar bool.|
|00000340| 09 09 09 09 09 62 53 75 | 73 70 65 6e 64 50 69 6e |.....bSu|spendPin|
|00000350| 67 4f 6e 43 6c 6f 73 65 | 3b 0d 0a 76 61 72 20 55 |gOnClose|;..var U|
|00000360| 42 72 6f 77 73 65 72 53 | 75 62 73 65 74 4c 69 73 |BrowserS|ubsetLis|
|00000370| 74 09 09 09 53 75 62 73 | 65 74 4c 69 73 74 3b 0d |t...Subs|etList;.|
|00000380| 0a 76 61 72 20 55 42 72 | 6f 77 73 65 72 53 75 70 |.var UBr|owserSup|
|00000390| 65 72 73 65 74 4c 69 73 | 74 09 09 53 75 70 65 72 |ersetLis|t..Super|
|000003a0| 73 65 74 4c 69 73 74 3b | 0d 0a 76 61 72 20 63 6c |setList;|..var cl|
|000003b0| 61 73 73 3c 55 42 72 6f | 77 73 65 72 52 69 67 68 |ass<UBro|wserRigh|
|000003c0| 74 43 6c 69 63 6b 4d 65 | 6e 75 3e 09 52 69 67 68 |tClickMe|nu>.Righ|
|000003d0| 74 43 6c 69 63 6b 4d 65 | 6e 75 43 6c 61 73 73 3b |tClickMe|nuClass;|
|000003e0| 0d 0a 76 61 72 20 62 6f | 6f 6c 09 09 09 09 09 09 |..var bo|ol......|
|000003f0| 62 53 68 6f 77 46 61 69 | 6c 65 64 53 65 72 76 65 |bShowFai|ledServe|
|00000400| 72 73 3b 0d 0a 76 61 72 | 20 62 6f 6f 6c 09 09 09 |rs;..var| bool...|
|00000410| 09 09 09 62 48 61 64 49 | 6e 69 74 69 61 6c 52 65 |...bHadI|nitialRe|
|00000420| 66 72 65 73 68 3b 0d 0a | 76 61 72 20 69 6e 74 09 |fresh;..|var int.|
|00000430| 09 09 09 09 09 09 46 61 | 6c 6c 62 61 63 6b 46 61 |......Fa|llbackFa|
|00000440| 63 74 6f 72 79 3b 0d 0a | 0d 0a 76 61 72 20 55 57 |ctory;..|..var UW|
|00000450| 69 6e 64 6f 77 56 53 70 | 6c 69 74 74 65 72 09 09 |indowVSp|litter..|
|00000460| 09 56 53 70 6c 69 74 74 | 65 72 3b 0d 0a 76 61 72 |.VSplitt|er;..var|
|00000470| 20 55 42 72 6f 77 73 65 | 72 49 6e 66 6f 57 69 6e | UBrowse|rInfoWin|
|00000480| 64 6f 77 09 09 09 49 6e | 66 6f 57 69 6e 64 6f 77 |dow...In|foWindow|
|00000490| 3b 0d 0a 76 61 72 20 55 | 42 72 6f 77 73 65 72 49 |;..var U|BrowserI|
|000004a0| 6e 66 6f 43 6c 69 65 6e | 74 57 69 6e 64 6f 77 09 |nfoClien|tWindow.|
|000004b0| 49 6e 66 6f 43 6c 69 65 | 6e 74 3b 0d 0a 76 61 72 |InfoClie|nt;..var|
|000004c0| 20 55 42 72 6f 77 73 65 | 72 53 65 72 76 65 72 4c | UBrowse|rServerL|
|000004d0| 69 73 74 09 09 09 49 6e | 66 6f 49 74 65 6d 3b 0d |ist...In|foItem;.|
|000004e0| 0a 76 61 72 20 6c 6f 63 | 61 6c 69 7a 65 64 20 73 |.var loc|alized s|
|000004f0| 74 72 69 6e 67 09 09 09 | 49 6e 66 6f 4e 61 6d 65 |tring...|InfoName|
|00000500| 3b 0d 0a 0d 0a 63 6f 6e | 73 74 20 4d 69 6e 48 65 |;....con|st MinHe|
|00000510| 69 67 68 74 46 6f 72 53 | 70 6c 69 74 74 65 72 20 |ightForS|plitter |
|00000520| 3d 20 33 38 34 3b 0d 0a | 0d 0a 76 61 72 20 6c 6f |= 384;..|..var lo|
|00000530| 63 61 6c 69 7a 65 64 20 | 73 74 72 69 6e 67 09 09 |calized |string..|
|00000540| 09 50 6c 61 79 65 72 43 | 6f 75 6e 74 4c 65 61 64 |.PlayerC|ountLead|
|00000550| 65 72 3b 0d 0a 76 61 72 | 20 6c 6f 63 61 6c 69 7a |er;..var| localiz|
|00000560| 65 64 20 73 74 72 69 6e | 67 09 09 09 53 65 72 76 |ed strin|g...Serv|
|00000570| 65 72 43 6f 75 6e 74 4c | 65 61 64 65 72 3b 0d 0a |erCountL|eader;..|
|00000580| 0d 0a 2f 2f 20 53 74 61 | 74 75 73 20 69 6e 66 6f |..// Sta|tus info|
|00000590| 0d 0a 65 6e 75 6d 20 45 | 50 69 6e 67 53 74 61 74 |..enum E|PingStat|
|000005a0| 65 0d 0a 7b 0d 0a 09 50 | 53 5f 51 75 65 72 79 53 |e..{...P|S_QueryS|
|000005b0| 65 72 76 65 72 2c 0d 0a | 09 50 53 5f 51 75 65 72 |erver,..|.PS_Quer|
|000005c0| 79 46 61 69 6c 65 64 2c | 0d 0a 09 50 53 5f 50 69 |yFailed,|...PS_Pi|
|000005d0| 6e 67 69 6e 67 2c 0d 0a | 09 50 53 5f 52 65 50 69 |nging,..|.PS_RePi|
|000005e0| 6e 67 69 6e 67 2c 0d 0a | 09 50 53 5f 44 6f 6e 65 |nging,..|.PS_Done|
|000005f0| 0d 0a 7d 3b 0d 0a 0d 0a | 76 61 72 20 6c 6f 63 61 |..};....|var loca|
|00000600| 6c 69 7a 65 64 20 73 74 | 72 69 6e 67 09 09 09 50 |lized st|ring...P|
|00000610| 6c 61 79 65 72 43 6f 75 | 6e 74 4e 61 6d 65 3b 0d |layerCou|ntName;.|
|00000620| 0a 76 61 72 20 6c 6f 63 | 61 6c 69 7a 65 64 20 73 |.var loc|alized s|
|00000630| 74 72 69 6e 67 09 09 09 | 53 65 72 76 65 72 43 6f |tring...|ServerCo|
|00000640| 75 6e 74 4e 61 6d 65 3b | 0d 0a 76 61 72 09 6c 6f |untName;|..var.lo|
|00000650| 63 61 6c 69 7a 65 64 20 | 73 74 72 69 6e 67 09 09 |calized |string..|
|00000660| 09 51 75 65 72 79 53 65 | 72 76 65 72 54 65 78 74 |.QuerySe|rverText|
|00000670| 3b 0d 0a 76 61 72 09 6c | 6f 63 61 6c 69 7a 65 64 |;..var.l|ocalized|
|00000680| 20 73 74 72 69 6e 67 09 | 09 09 51 75 65 72 79 46 | string.|..QueryF|
|00000690| 61 69 6c 65 64 54 65 78 | 74 3b 0d 0a 76 61 72 09 |ailedTex|t;..var.|
|000006a0| 6c 6f 63 61 6c 69 7a 65 | 64 20 73 74 72 69 6e 67 |localize|d string|
|000006b0| 09 09 09 50 69 6e 67 69 | 6e 67 54 65 78 74 3b 0d |...Pingi|ngText;.|
|000006c0| 0a 76 61 72 09 6c 6f 63 | 61 6c 69 7a 65 64 20 73 |.var.loc|alized s|
|000006d0| 74 72 69 6e 67 09 09 09 | 43 6f 6d 70 6c 65 74 65 |tring...|Complete|
|000006e0| 54 65 78 74 3b 0d 0a 0d | 0a 76 61 72 20 73 74 72 |Text;...|.var str|
|000006f0| 69 6e 67 09 09 09 09 09 | 09 45 72 72 6f 72 53 74 |ing.....|.ErrorSt|
|00000700| 72 69 6e 67 3b 0d 0a 76 | 61 72 20 45 50 69 6e 67 |ring;..v|ar EPing|
|00000710| 53 74 61 74 65 09 09 09 | 09 09 50 69 6e 67 53 74 |State...|..PingSt|
|00000720| 61 74 65 3b 0d 0a 0d 0a | 76 61 72 20 55 57 69 6e |ate;....|var UWin|
|00000730| 64 6f 77 47 72 69 64 09 | 54 61 62 54 6f 47 72 69 |dowGrid.|TabToGri|
|00000740| 64 73 5b 33 5d 3b 0d 0a | 76 61 72 09 55 57 69 6e |ds[3];..|var.UWin|
|00000750| 64 6f 77 47 72 69 64 09 | 41 63 74 69 76 65 47 72 |dowGrid.|ActiveGr|
|00000760| 69 64 3b 0d 0a 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |id;.....|.functio|
|00000770| 6e 20 53 77 69 74 63 68 | 54 6f 4e 65 78 74 28 55 |n Switch|ToNext(U|
|00000780| 57 69 6e 64 6f 77 47 72 | 69 64 20 70 72 65 76 29 |WindowGr|id prev)|
|00000790| 0d 0a 7b 0d 0a 7d 0d 0a | 0d 0a 0d 0a 0d 0a 0d 0a |..{..}..|........|
|000007a0| 66 75 6e 63 74 69 6f 6e | 20 57 69 6e 64 6f 77 53 |function| WindowS|
|000007b0| 68 6f 77 6e 28 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |hown()..|{...loca|
|000007c0| 6c 20 55 42 72 6f 77 73 | 65 72 53 75 70 65 72 73 |l UBrows|erSupers|
|000007d0| 65 74 4c 69 73 74 20 6c | 3b 0d 0a 0d 0a 09 53 75 |etList l|;.....Su|
|000007e0| 70 65 72 2e 57 69 6e 64 | 6f 77 53 68 6f 77 6e 28 |per.Wind|owShown(|
|000007f0| 29 3b 0d 0a 09 69 66 28 | 56 53 70 6c 69 74 74 65 |);...if(|VSplitte|
|00000800| 72 2e 62 57 69 6e 64 6f | 77 56 69 73 69 62 6c 65 |r.bWindo|wVisible|
|00000810| 29 0d 0a 09 7b 0d 0a 09 | 09 69 66 28 55 57 69 6e |)...{...|.if(UWin|
|00000820| 64 6f 77 56 53 70 6c 69 | 74 74 65 72 28 49 6e 66 |dowVSpli|tter(Inf|
|00000830| 6f 43 6c 69 65 6e 74 2e | 50 61 72 65 6e 74 57 69 |oClient.|ParentWi|
|00000840| 6e 64 6f 77 29 20 21 3d | 20 4e 6f 6e 65 29 0d 0a |ndow) !=| None)..|
|00000850| 09 09 09 56 53 70 6c 69 | 74 74 65 72 2e 53 70 6c |...VSpli|tter.Spl|
|00000860| 69 74 50 6f 73 20 3d 20 | 55 57 69 6e 64 6f 77 56 |itPos = |UWindowV|
|00000870| 53 70 6c 69 74 74 65 72 | 28 49 6e 66 6f 43 6c 69 |Splitter|(InfoCli|
|00000880| 65 6e 74 2e 50 61 72 65 | 6e 74 57 69 6e 64 6f 77 |ent.Pare|ntWindow|
|00000890| 29 2e 53 70 6c 69 74 50 | 6f 73 3b 0d 0a 0d 0a 09 |).SplitP|os;.....|
|000008a0| 09 49 6e 66 6f 43 6c 69 | 65 6e 74 2e 53 65 74 50 |.InfoCli|ent.SetP|
|000008b0| 61 72 65 6e 74 28 56 53 | 70 6c 69 74 74 65 72 29 |arent(VS|plitter)|
|000008c0| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 49 6e 66 6f 43 6c |;...}...|..InfoCl|
|000008d0| 69 65 6e 74 2e 53 65 72 | 76 65 72 20 3d 20 49 6e |ient.Ser|ver = In|
|000008e0| 66 6f 49 74 65 6d 3b 0d | 0a 09 69 66 28 49 6e 66 |foItem;.|..if(Inf|
|000008f0| 6f 49 74 65 6d 20 21 3d | 20 4e 6f 6e 65 29 0d 0a |oItem !=| None)..|
|00000900| 09 09 49 6e 66 6f 57 69 | 6e 64 6f 77 2e 57 69 6e |..InfoWi|ndow.Win|
|00000910| 64 6f 77 54 69 74 6c 65 | 20 3d 20 49 6e 66 6f 4e |dowTitle| = InfoN|
|00000920| 61 6d 65 24 22 20 2d 20 | 22 24 49 6e 66 6f 49 74 |ame$" - |"$InfoIt|
|00000930| 65 6d 2e 48 6f 73 74 4e | 61 6d 65 3b 0d 0a 09 65 |em.HostN|ame;...e|
|00000940| 6c 73 65 0d 0a 09 09 49 | 6e 66 6f 57 69 6e 64 6f |lse....I|nfoWindo|
|00000950| 77 2e 57 69 6e 64 6f 77 | 54 69 74 6c 65 20 3d 20 |w.Window|Title = |
|00000960| 49 6e 66 6f 4e 61 6d 65 | 3b 0d 0a 0d 0a 09 52 65 |InfoName|;.....Re|
|00000970| 73 75 6d 65 50 69 6e 67 | 69 6e 67 28 29 3b 0d 0a |sumePing|ing();..|
|00000980| 0d 0a 09 66 6f 72 28 6c | 20 3d 20 55 42 72 6f 77 |...for(l| = UBrow|
|00000990| 73 65 72 53 75 70 65 72 | 73 65 74 4c 69 73 74 28 |serSuper|setList(|
|000009a0| 53 75 70 65 72 73 65 74 | 4c 69 73 74 2e 4e 65 78 |Superset|List.Nex|
|000009b0| 74 29 3b 20 6c 20 21 3d | 20 4e 6f 6e 65 3b 20 6c |t); l !=| None; l|
|000009c0| 20 3d 20 55 42 72 6f 77 | 73 65 72 53 75 70 65 72 | = UBrow|serSuper|
|000009d0| 73 65 74 4c 69 73 74 28 | 6c 2e 4e 65 78 74 29 29 |setList(|l.Next))|
|000009e0| 0d 0a 09 09 6c 2e 53 75 | 70 65 72 53 65 74 57 69 |....l.Su|perSetWi|
|000009f0| 6e 64 6f 77 2e 52 65 73 | 75 6d 65 50 69 6e 67 69 |ndow.Res|umePingi|
|00000a00| 6e 67 28 29 3b 0d 0a 0d | 0a 09 41 63 74 69 76 65 |ng();...|..Active|
|00000a10| 47 72 69 64 20 3d 20 54 | 61 62 54 6f 47 72 69 64 |Grid = T|abToGrid|
|00000a20| 73 5b 30 5d 3b 0d 0a 09 | 41 63 74 69 76 65 47 72 |s[0];...|ActiveGr|
|00000a30| 69 64 2e 09 41 63 74 69 | 76 61 74 65 57 69 6e 64 |id..Acti|vateWind|
|00000a40| 6f 77 28 30 2c 20 46 61 | 6c 73 65 29 3b 0d 0a 7d |ow(0, Fa|lse);..}|
|00000a50| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 57 69 6e |....func|tion Win|
|00000a60| 64 6f 77 48 69 64 64 65 | 6e 28 29 0d 0a 7b 0d 0a |dowHidde|n()..{..|
|00000a70| 09 6c 6f 63 61 6c 20 55 | 42 72 6f 77 73 65 72 53 |.local U|BrowserS|
|00000a80| 75 70 65 72 73 65 74 4c | 69 73 74 20 6c 3b 0d 0a |upersetL|ist l;..|
|00000a90| 0d 0a 09 53 75 70 65 72 | 2e 57 69 6e 64 6f 77 48 |...Super|.WindowH|
|00000aa0| 69 64 64 65 6e 28 29 3b | 0d 0a 09 53 75 73 70 65 |idden();|...Suspe|
|00000ab0| 6e 64 50 69 6e 67 69 6e | 67 28 29 3b 0d 0a 0d 0a |ndPingin|g();....|
|00000ac0| 09 66 6f 72 28 6c 20 3d | 20 55 42 72 6f 77 73 65 |.for(l =| UBrowse|
|00000ad0| 72 53 75 70 65 72 73 65 | 74 4c 69 73 74 28 53 75 |rSuperse|tList(Su|
|00000ae0| 70 65 72 73 65 74 4c 69 | 73 74 2e 4e 65 78 74 29 |persetLi|st.Next)|
|00000af0| 3b 20 6c 20 21 3d 20 4e | 6f 6e 65 3b 20 6c 20 3d |; l != N|one; l =|
|00000b00| 20 55 42 72 6f 77 73 65 | 72 53 75 70 65 72 73 65 | UBrowse|rSuperse|
|00000b10| 74 4c 69 73 74 28 6c 2e | 4e 65 78 74 29 29 0d 0a |tList(l.|Next))..|
|00000b20| 09 09 6c 2e 53 75 70 65 | 72 53 65 74 57 69 6e 64 |..l.Supe|rSetWind|
|00000b30| 6f 77 2e 53 75 73 70 65 | 6e 64 50 69 6e 67 69 6e |ow.Suspe|ndPingin|
|00000b40| 67 28 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |g();..}.|...funct|
|00000b50| 69 6f 6e 20 53 75 73 70 | 65 6e 64 50 69 6e 67 69 |ion Susp|endPingi|
|00000b60| 6e 67 28 29 0d 0a 7b 0d | 0a 09 69 66 28 62 53 75 |ng()..{.|..if(bSu|
|00000b70| 73 70 65 6e 64 50 69 6e | 67 4f 6e 43 6c 6f 73 65 |spendPin|gOnClose|
|00000b80| 29 0d 0a 09 09 62 50 69 | 6e 67 53 75 73 70 65 6e |)....bPi|ngSuspen|
|00000b90| 64 20 3d 20 54 72 75 65 | 3b 0d 0a 7d 0d 0a 0d 0a |d = True|;..}....|
|00000ba0| 66 75 6e 63 74 69 6f 6e | 20 52 65 73 75 6d 65 50 |function| ResumeP|
|00000bb0| 69 6e 67 69 6e 67 28 29 | 0d 0a 7b 0d 0a 09 69 66 |inging()|..{...if|
|00000bc0| 28 21 62 48 61 64 49 6e | 69 74 69 61 6c 52 65 66 |(!bHadIn|itialRef|
|00000bd0| 72 65 73 68 29 0d 0a 09 | 09 52 65 66 72 65 73 68 |resh)...|.Refresh|
|00000be0| 28 46 61 6c 73 65 2c 20 | 54 72 75 65 29 3b 09 0d |(False, |True);..|
|00000bf0| 0a 0d 0a 09 62 50 69 6e | 67 53 75 73 70 65 6e 64 |....bPin|gSuspend|
|00000c00| 20 3d 20 46 61 6c 73 65 | 3b 0d 0a 09 69 66 28 62 | = False|;...if(b|
|00000c10| 50 69 6e 67 52 65 73 75 | 6d 65 29 0d 0a 09 7b 0d |PingResu|me)...{.|
|00000c20| 0a 09 09 62 50 69 6e 67 | 52 65 73 75 6d 65 20 3d |...bPing|Resume =|
|00000c30| 20 46 61 6c 73 65 3b 0d | 0a 09 09 55 6e 70 69 6e | False;.|...Unpin|
|00000c40| 67 65 64 4c 69 73 74 2e | 50 69 6e 67 4e 65 78 74 |gedList.|PingNext|
|00000c50| 28 62 50 69 6e 67 52 65 | 73 75 6d 65 49 6e 74 69 |(bPingRe|sumeInti|
|00000c60| 61 6c 2c 20 62 4e 6f 53 | 6f 72 74 29 3b 0d 0a 09 |al, bNoS|ort);...|
|00000c70| 7d 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |}..}....|function|
|00000c80| 20 43 72 65 61 74 65 64 | 28 29 0d 0a 7b 0d 0a 09 | Created|()..{...|
|00000c90| 6c 6f 63 61 6c 20 43 6c | 61 73 73 3c 55 42 72 6f |local Cl|ass<UBro|
|00000ca0| 77 73 65 72 53 65 72 76 | 65 72 47 72 69 64 3e 20 |wserServ|erGrid> |
|00000cb0| 43 3b 0d 0a 09 0d 0a 09 | 53 65 72 76 65 72 4c 69 |C;......|ServerLi|
|00000cc0| 73 74 43 6c 61 73 73 20 | 3d 20 63 6c 61 73 73 3c |stClass |= class<|
|00000cd0| 55 42 72 6f 77 73 65 72 | 53 65 72 76 65 72 4c 69 |UBrowser|ServerLi|
|00000ce0| 73 74 3e 28 44 79 6e 61 | 6d 69 63 4c 6f 61 64 4f |st>(Dyna|micLoadO|
|00000cf0| 62 6a 65 63 74 28 53 65 | 72 76 65 72 4c 69 73 74 |bject(Se|rverList|
|00000d00| 43 6c 61 73 73 4e 61 6d | 65 2c 20 63 6c 61 73 73 |ClassNam|e, class|
|00000d10| 27 43 6c 61 73 73 27 29 | 29 3b 0d 0a 09 43 20 3d |'Class')|);...C =|
|00000d20| 20 63 6c 61 73 73 3c 55 | 42 72 6f 77 73 65 72 53 | class<U|BrowserS|
|00000d30| 65 72 76 65 72 47 72 69 | 64 3e 28 44 79 6e 61 6d |erverGri|d>(Dynam|
|00000d40| 69 63 4c 6f 61 64 4f 62 | 6a 65 63 74 28 47 72 69 |icLoadOb|ject(Gri|
|00000d50| 64 43 6c 61 73 73 2c 20 | 63 6c 61 73 73 27 43 6c |dClass, |class'Cl|
|00000d60| 61 73 73 27 29 29 3b 0d | 0a 09 47 72 69 64 20 3d |ass'));.|..Grid =|
|00000d70| 20 55 42 72 6f 77 73 65 | 72 53 65 72 76 65 72 47 | UBrowse|rServerG|
|00000d80| 72 69 64 28 43 72 65 61 | 74 65 57 69 6e 64 6f 77 |rid(Crea|teWindow|
|00000d90| 28 43 2c 20 30 2c 20 30 | 2c 20 57 69 6e 57 69 64 |(C, 0, 0|, WinWid|
|00000da0| 74 68 2c 20 57 69 6e 48 | 65 69 67 68 74 29 29 3b |th, WinH|eight));|
|00000db0| 0d 0a 09 47 72 69 64 2e | 53 65 74 41 63 63 65 70 |...Grid.|SetAccep|
|00000dc0| 74 73 46 6f 63 75 73 28 | 29 3b 0d 0a 0d 0a 09 53 |tsFocus(|);.....S|
|00000dd0| 75 62 73 65 74 4c 69 73 | 74 20 3d 20 6e 65 77 20 |ubsetLis|t = new |
|00000de0| 63 6c 61 73 73 27 55 42 | 72 6f 77 73 65 72 53 75 |class'UB|rowserSu|
|00000df0| 62 73 65 74 4c 69 73 74 | 27 3b 0d 0a 09 53 75 62 |bsetList|';...Sub|
|00000e00| 73 65 74 4c 69 73 74 2e | 53 65 74 75 70 53 65 6e |setList.|SetupSen|
|00000e10| 74 69 6e 65 6c 28 29 3b | 0d 0a 0d 0a 09 53 75 70 |tinel();|.....Sup|
|00000e20| 65 72 73 65 74 4c 69 73 | 74 20 3d 20 6e 65 77 20 |ersetLis|t = new |
|00000e30| 63 6c 61 73 73 27 55 42 | 72 6f 77 73 65 72 53 75 |class'UB|rowserSu|
|00000e40| 70 65 72 73 65 74 4c 69 | 73 74 27 3b 0d 0a 09 53 |persetLi|st';...S|
|00000e50| 75 70 65 72 73 65 74 4c | 69 73 74 2e 53 65 74 75 |upersetL|ist.Setu|
|00000e60| 70 53 65 6e 74 69 6e 65 | 6c 28 29 3b 0d 0a 0d 0a |pSentine|l();....|
|00000e70| 09 56 53 70 6c 69 74 74 | 65 72 20 3d 20 55 57 69 |.VSplitt|er = UWi|
|00000e80| 6e 64 6f 77 56 53 70 6c | 69 74 74 65 72 28 43 72 |ndowVSpl|itter(Cr|
|00000e90| 65 61 74 65 57 69 6e 64 | 6f 77 28 63 6c 61 73 73 |eateWind|ow(class|
|00000ea0| 27 55 57 69 6e 64 6f 77 | 56 53 70 6c 69 74 74 65 |'UWindow|VSplitte|
|00000eb0| 72 27 2c 20 30 2c 20 30 | 2c 20 57 69 6e 57 69 64 |r', 0, 0|, WinWid|
|00000ec0| 74 68 2c 20 57 69 6e 48 | 65 69 67 68 74 29 29 3b |th, WinH|eight));|
|00000ed0| 0d 0a 09 56 53 70 6c 69 | 74 74 65 72 2e 53 65 74 |...VSpli|tter.Set|
|00000ee0| 41 63 63 65 70 74 73 46 | 6f 63 75 73 28 29 3b 0d |AcceptsF|ocus();.|
|00000ef0| 0a 09 56 53 70 6c 69 74 | 74 65 72 2e 4d 69 6e 57 |..VSplit|ter.MinW|
|00000f00| 69 6e 48 65 69 67 68 74 | 20 3d 20 36 30 3b 0d 0a |inHeight| = 60;..|
|00000f10| 09 56 53 70 6c 69 74 74 | 65 72 2e 48 69 64 65 57 |.VSplitt|er.HideW|
|00000f20| 69 6e 64 6f 77 28 29 3b | 0d 0a 09 49 6e 66 6f 57 |indow();|...InfoW|
|00000f30| 69 6e 64 6f 77 20 3d 20 | 55 42 72 6f 77 73 65 72 |indow = |UBrowser|
|00000f40| 4d 61 69 6e 43 6c 69 65 | 6e 74 57 69 6e 64 6f 77 |MainClie|ntWindow|
|00000f50| 28 47 65 74 50 61 72 65 | 6e 74 28 63 6c 61 73 73 |(GetPare|nt(class|
|00000f60| 27 55 42 72 6f 77 73 65 | 72 4d 61 69 6e 43 6c 69 |'UBrowse|rMainCli|
|00000f70| 65 6e 74 57 69 6e 64 6f | 77 27 29 29 2e 49 6e 66 |entWindo|w')).Inf|
|00000f80| 6f 57 69 6e 64 6f 77 3b | 0d 0a 09 49 6e 66 6f 43 |oWindow;|...InfoC|
|00000f90| 6c 69 65 6e 74 20 3d 20 | 55 42 72 6f 77 73 65 72 |lient = |UBrowser|
|00000fa0| 49 6e 66 6f 43 6c 69 65 | 6e 74 57 69 6e 64 6f 77 |InfoClie|ntWindow|
|00000fb0| 28 49 6e 66 6f 57 69 6e | 64 6f 77 2e 43 6c 69 65 |(InfoWin|dow.Clie|
|00000fc0| 6e 74 41 72 65 61 29 3b | 0d 0a 0d 0a 09 69 66 28 |ntArea);|.....if(|
|00000fd0| 52 6f 6f 74 2e 57 69 6e | 48 65 69 67 68 74 20 3e |Root.Win|Height >|
|00000fe0| 3d 20 4d 69 6e 48 65 69 | 67 68 74 46 6f 72 53 70 |= MinHei|ghtForSp|
|00000ff0| 6c 69 74 74 65 72 29 0d | 0a 09 09 53 68 6f 77 49 |litter).|...ShowI|
|00001000| 6e 66 6f 41 72 65 61 28 | 54 72 75 65 2c 20 46 61 |nfoArea(|True, Fa|
|00001010| 6c 73 65 29 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |lse);..}|....func|
|00001020| 74 69 6f 6e 20 53 68 6f | 77 49 6e 66 6f 41 72 65 |tion Sho|wInfoAre|
|00001030| 61 28 62 6f 6f 6c 20 62 | 53 68 6f 77 2c 20 6f 70 |a(bool b|Show, op|
|00001040| 74 69 6f 6e 61 6c 20 62 | 6f 6f 6c 20 62 46 6c 6f |tional b|ool bFlo|
|00001050| 61 74 69 6e 67 2c 20 6f | 70 74 69 6f 6e 61 6c 20 |ating, o|ptional |
|00001060| 62 6f 6f 6c 20 62 4e 6f | 41 63 74 69 76 61 74 65 |bool bNo|Activate|
|00001070| 29 0d 0a 7b 0d 0a 09 69 | 66 28 62 53 68 6f 77 29 |)..{...i|f(bShow)|
|00001080| 0d 0a 09 7b 0d 0a 09 09 | 69 66 28 62 46 6c 6f 61 |...{....|if(bFloa|
|00001090| 74 69 6e 67 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 56 |ting)...|.{.....V|
|000010a0| 53 70 6c 69 74 74 65 72 | 2e 48 69 64 65 57 69 6e |Splitter|.HideWin|
|000010b0| 64 6f 77 28 29 3b 0d 0a | 09 09 09 56 53 70 6c 69 |dow();..|...VSpli|
|000010c0| 74 74 65 72 2e 54 6f 70 | 43 6c 69 65 6e 74 57 69 |tter.Top|ClientWi|
|000010d0| 6e 64 6f 77 20 3d 20 4e | 6f 6e 65 3b 0d 0a 09 09 |ndow = N|one;....|
|000010e0| 09 56 53 70 6c 69 74 74 | 65 72 2e 42 6f 74 74 6f |.VSplitt|er.Botto|
|000010f0| 6d 43 6c 69 65 6e 74 57 | 69 6e 64 6f 77 20 3d 20 |mClientW|indow = |
|00001100| 4e 6f 6e 65 3b 0d 0a 09 | 09 09 49 6e 66 6f 43 6c |None;...|..InfoCl|
|00001110| 69 65 6e 74 2e 53 65 74 | 50 61 72 65 6e 74 28 49 |ient.Set|Parent(I|
|00001120| 6e 66 6f 57 69 6e 64 6f | 77 29 3b 0d 0a 09 09 09 |nfoWindo|w);.....|
|00001130| 47 72 69 64 2e 53 65 74 | 50 61 72 65 6e 74 28 53 |Grid.Set|Parent(S|
|00001140| 65 6c 66 29 3b 0d 0a 09 | 09 09 47 72 69 64 2e 53 |elf);...|..Grid.S|
|00001150| 65 74 53 69 7a 65 28 57 | 69 6e 57 69 64 74 68 2c |etSize(W|inWidth,|
|00001160| 20 57 69 6e 48 65 69 67 | 68 74 29 3b 0d 0a 09 09 | WinHeig|ht);....|
|00001170| 09 69 66 28 21 49 6e 66 | 6f 57 69 6e 64 6f 77 2e |.if(!Inf|oWindow.|
|00001180| 62 57 69 6e 64 6f 77 56 | 69 73 69 62 6c 65 29 0d |bWindowV|isible).|
|00001190| 0a 09 09 09 09 49 6e 66 | 6f 57 69 6e 64 6f 77 2e |.....Inf|oWindow.|
|000011a0| 53 68 6f 77 57 69 6e 64 | 6f 77 28 29 3b 0d 0a 09 |ShowWind|ow();...|
|000011b0| 09 09 69 66 28 21 62 4e | 6f 41 63 74 69 76 61 74 |..if(!bN|oActivat|
|000011c0| 65 29 0d 0a 09 09 09 09 | 49 6e 66 6f 57 69 6e 64 |e)......|InfoWind|
|000011d0| 6f 77 2e 42 72 69 6e 67 | 54 6f 46 72 6f 6e 74 28 |ow.Bring|ToFront(|
|000011e0| 29 3b 0d 0a 09 09 7d 0d | 0a 09 09 65 6c 73 65 0d |);....}.|...else.|
|000011f0| 0a 09 09 7b 0d 0a 09 09 | 09 49 6e 66 6f 57 69 6e |...{....|.InfoWin|
|00001200| 64 6f 77 2e 48 69 64 65 | 57 69 6e 64 6f 77 28 29 |dow.Hide|Window()|
|00001210| 3b 0d 0a 09 09 09 56 53 | 70 6c 69 74 74 65 72 2e |;.....VS|plitter.|
|00001220| 53 68 6f 77 57 69 6e 64 | 6f 77 28 29 3b 0d 0a 09 |ShowWind|ow();...|
|00001230| 09 09 56 53 70 6c 69 74 | 74 65 72 2e 53 65 74 53 |..VSplit|ter.SetS|
|00001240| 69 7a 65 28 57 69 6e 57 | 69 64 74 68 2c 20 57 69 |ize(WinW|idth, Wi|
|00001250| 6e 48 65 69 67 68 74 29 | 3b 0d 0a 09 09 09 47 72 |nHeight)|;.....Gr|
|00001260| 69 64 2e 53 65 74 50 61 | 72 65 6e 74 28 56 53 70 |id.SetPa|rent(VSp|
|00001270| 6c 69 74 74 65 72 29 3b | 0d 0a 09 09 09 49 6e 66 |litter);|.....Inf|
|00001280| 6f 43 6c 69 65 6e 74 2e | 53 65 74 50 61 72 65 6e |oClient.|SetParen|
|00001290| 74 28 56 53 70 6c 69 74 | 74 65 72 29 3b 0d 0a 09 |t(VSplit|ter);...|
|000012a0| 09 09 56 53 70 6c 69 74 | 74 65 72 2e 54 6f 70 43 |..VSplit|ter.TopC|
|000012b0| 6c 69 65 6e 74 57 69 6e | 64 6f 77 20 3d 20 47 72 |lientWin|dow = Gr|
|000012c0| 69 64 3b 0d 0a 09 09 09 | 56 53 70 6c 69 74 74 65 |id;.....|VSplitte|
|000012d0| 72 2e 42 6f 74 74 6f 6d | 43 6c 69 65 6e 74 57 69 |r.Bottom|ClientWi|
|000012e0| 6e 64 6f 77 20 3d 20 49 | 6e 66 6f 43 6c 69 65 6e |ndow = I|nfoClien|
|000012f0| 74 3b 0d 0a 09 09 7d 0d | 0a 09 7d 0d 0a 09 65 6c |t;....}.|..}...el|
|00001300| 73 65 0d 0a 09 7b 0d 0a | 09 09 49 6e 66 6f 57 69 |se...{..|..InfoWi|
|00001310| 6e 64 6f 77 2e 48 69 64 | 65 57 69 6e 64 6f 77 28 |ndow.Hid|eWindow(|
|00001320| 29 3b 0d 0a 09 09 56 53 | 70 6c 69 74 74 65 72 2e |);....VS|plitter.|
|00001330| 48 69 64 65 57 69 6e 64 | 6f 77 28 29 3b 0d 0a 09 |HideWind|ow();...|
|00001340| 09 56 53 70 6c 69 74 74 | 65 72 2e 54 6f 70 43 6c |.VSplitt|er.TopCl|
|00001350| 69 65 6e 74 57 69 6e 64 | 6f 77 20 3d 20 4e 6f 6e |ientWind|ow = Non|
|00001360| 65 3b 0d 0a 09 09 56 53 | 70 6c 69 74 74 65 72 2e |e;....VS|plitter.|
|00001370| 42 6f 74 74 6f 6d 43 6c | 69 65 6e 74 57 69 6e 64 |BottomCl|ientWind|
|00001380| 6f 77 20 3d 20 4e 6f 6e | 65 3b 0d 0a 09 09 49 6e |ow = Non|e;....In|
|00001390| 66 6f 43 6c 69 65 6e 74 | 2e 53 65 74 50 61 72 65 |foClient|.SetPare|
|000013a0| 6e 74 28 49 6e 66 6f 57 | 69 6e 64 6f 77 29 3b 0d |nt(InfoW|indow);.|
|000013b0| 0a 09 09 47 72 69 64 2e | 53 65 74 50 61 72 65 6e |...Grid.|SetParen|
|000013c0| 74 28 53 65 6c 66 29 3b | 0d 0a 09 09 47 72 69 64 |t(Self);|....Grid|
|000013d0| 2e 53 65 74 53 69 7a 65 | 28 57 69 6e 57 69 64 74 |.SetSize|(WinWidt|
|000013e0| 68 2c 20 57 69 6e 48 65 | 69 67 68 74 29 3b 0d 0a |h, WinHe|ight);..|
|000013f0| 09 7d 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |.}..}...|.functio|
|00001400| 6e 20 41 75 74 6f 49 6e | 66 6f 28 55 42 72 6f 77 |n AutoIn|fo(UBrow|
|00001410| 73 65 72 53 65 72 76 65 | 72 4c 69 73 74 20 49 29 |serServe|rList I)|
|00001420| 0d 0a 7b 0d 0a 09 69 66 | 28 52 6f 6f 74 2e 57 69 |..{...if|(Root.Wi|
|00001430| 6e 48 65 69 67 68 74 20 | 3e 3d 20 4d 69 6e 48 65 |nHeight |>= MinHe|
|00001440| 69 67 68 74 46 6f 72 53 | 70 6c 69 74 74 65 72 20 |ightForS|plitter |
|00001450| 7c 7c 20 49 6e 66 6f 57 | 69 6e 64 6f 77 2e 62 57 ||| InfoW|indow.bW|
|00001460| 69 6e 64 6f 77 56 69 73 | 69 62 6c 65 29 0d 0a 09 |indowVis|ible)...|
|00001470| 09 53 68 6f 77 49 6e 66 | 6f 28 49 2c 20 54 72 75 |.ShowInf|o(I, Tru|
|00001480| 65 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |e);..}..|..functi|
|00001490| 6f 6e 20 53 68 6f 77 49 | 6e 66 6f 28 55 42 72 6f |on ShowI|nfo(UBro|
|000014a0| 77 73 65 72 53 65 72 76 | 65 72 4c 69 73 74 20 49 |wserServ|erList I|
|000014b0| 2c 20 6f 70 74 69 6f 6e | 61 6c 20 62 6f 6f 6c 20 |, option|al bool |
|000014c0| 62 41 75 74 6f 49 6e 66 | 6f 29 0d 0a 7b 0d 0a 09 |bAutoInf|o)..{...|
|000014d0| 69 66 28 49 20 3d 3d 20 | 4e 6f 6e 65 29 20 72 65 |if(I == |None) re|
|000014e0| 74 75 72 6e 3b 0d 0a 09 | 53 68 6f 77 49 6e 66 6f |turn;...|ShowInfo|
|000014f0| 41 72 65 61 28 54 72 75 | 65 2c 20 52 6f 6f 74 2e |Area(Tru|e, Root.|
|00001500| 57 69 6e 48 65 69 67 68 | 74 20 3c 20 4d 69 6e 48 |WinHeigh|t < MinH|
|00001510| 65 69 67 68 74 46 6f 72 | 53 70 6c 69 74 74 65 72 |eightFor|Splitter|
|00001520| 2c 20 62 41 75 74 6f 49 | 6e 66 6f 29 3b 0d 0a 0d |, bAutoI|nfo);...|
|00001530| 0a 09 49 6e 66 6f 49 74 | 65 6d 20 3d 20 49 3b 0d |..InfoIt|em = I;.|
|00001540| 0a 09 49 6e 66 6f 43 6c | 69 65 6e 74 2e 53 65 72 |..InfoCl|ient.Ser|
|00001550| 76 65 72 20 3d 20 49 6e | 66 6f 49 74 65 6d 3b 0d |ver = In|foItem;.|
|00001560| 0a 09 49 6e 66 6f 57 69 | 6e 64 6f 77 2e 57 69 6e |..InfoWi|ndow.Win|
|00001570| 64 6f 77 54 69 74 6c 65 | 20 3d 20 49 6e 66 6f 4e |dowTitle| = InfoN|
|00001580| 61 6d 65 24 22 20 2d 20 | 22 24 49 6e 66 6f 49 74 |ame$" - |"$InfoIt|
|00001590| 65 6d 2e 48 6f 73 74 4e | 61 6d 65 3b 0d 0a 09 49 |em.HostN|ame;...I|
|000015a0| 2e 53 65 72 76 65 72 53 | 74 61 74 75 73 28 29 3b |.ServerS|tatus();|
|000015b0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|000015c0| 52 65 73 6f 6c 75 74 69 | 6f 6e 43 68 61 6e 67 65 |Resoluti|onChange|
|000015d0| 64 28 66 6c 6f 61 74 20 | 57 2c 20 66 6c 6f 61 74 |d(float |W, float|
|000015e0| 20 48 29 0d 0a 7b 0d 0a | 09 69 66 28 52 6f 6f 74 | H)..{..|.if(Root|
|000015f0| 2e 57 69 6e 48 65 69 67 | 68 74 20 3e 3d 20 4d 69 |.WinHeig|ht >= Mi|
|00001600| 6e 48 65 69 67 68 74 46 | 6f 72 53 70 6c 69 74 74 |nHeightF|orSplitt|
|00001610| 65 72 29 0d 0a 09 09 53 | 68 6f 77 49 6e 66 6f 41 |er)....S|howInfoA|
|00001620| 72 65 61 28 54 72 75 65 | 2c 20 46 61 6c 73 65 29 |rea(True|, False)|
|00001630| 3b 0d 0a 09 65 6c 73 65 | 0d 0a 09 09 53 68 6f 77 |;...else|....Show|
|00001640| 49 6e 66 6f 41 72 65 61 | 28 46 61 6c 73 65 2c 20 |InfoArea|(False, |
|00001650| 54 72 75 65 29 3b 0d 0a | 09 0d 0a 09 69 66 28 49 |True);..|....if(I|
|00001660| 6e 66 6f 57 69 6e 64 6f | 77 20 21 3d 20 4e 6f 6e |nfoWindo|w != Non|
|00001670| 65 29 0d 0a 09 09 49 6e | 66 6f 57 69 6e 64 6f 77 |e)....In|foWindow|
|00001680| 2e 52 65 73 6f 6c 75 74 | 69 6f 6e 43 68 61 6e 67 |.Resolut|ionChang|
|00001690| 65 64 28 57 2c 20 48 29 | 3b 0d 0a 0d 0a 09 53 75 |ed(W, H)|;.....Su|
|000016a0| 70 65 72 2e 52 65 73 6f | 6c 75 74 69 6f 6e 43 68 |per.Reso|lutionCh|
|000016b0| 61 6e 67 65 64 28 57 2c | 20 48 29 3b 0d 0a 7d 0d |anged(W,| H);..}.|
|000016c0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 52 65 73 69 |...funct|ion Resi|
|000016d0| 7a 65 64 28 29 0d 0a 7b | 0d 0a 09 53 75 70 65 72 |zed()..{|...Super|
|000016e0| 2e 52 65 73 69 7a 65 64 | 28 29 3b 0d 0a 09 69 66 |.Resized|();...if|
|000016f0| 28 56 53 70 6c 69 74 74 | 65 72 2e 62 57 69 6e 64 |(VSplitt|er.bWind|
|00001700| 6f 77 56 69 73 69 62 6c | 65 29 0d 0a 09 7b 0d 0a |owVisibl|e)...{..|
|00001710| 09 09 56 53 70 6c 69 74 | 74 65 72 2e 53 65 74 53 |..VSplit|ter.SetS|
|00001720| 69 7a 65 28 57 69 6e 57 | 69 64 74 68 2c 20 57 69 |ize(WinW|idth, Wi|
|00001730| 6e 48 65 69 67 68 74 29 | 3b 0d 0a 09 09 56 53 70 |nHeight)|;....VSp|
|00001740| 6c 69 74 74 65 72 2e 4f | 6c 64 57 69 6e 48 65 69 |litter.O|ldWinHei|
|00001750| 67 68 74 20 3d 20 56 53 | 70 6c 69 74 74 65 72 2e |ght = VS|plitter.|
|00001760| 57 69 6e 48 65 69 67 68 | 74 3b 0d 0a 09 09 56 53 |WinHeigh|t;....VS|
|00001770| 70 6c 69 74 74 65 72 2e | 53 70 6c 69 74 50 6f 73 |plitter.|SplitPos|
|00001780| 20 3d 20 56 53 70 6c 69 | 74 74 65 72 2e 57 69 6e | = VSpli|tter.Win|
|00001790| 48 65 69 67 68 74 20 2d | 20 4d 69 6e 28 56 53 70 |Height -| Min(VSp|
|000017a0| 6c 69 74 74 65 72 2e 57 | 69 6e 48 65 69 67 68 74 |litter.W|inHeight|
|000017b0| 20 2f 20 32 2c 20 32 35 | 30 29 3b 0d 0a 09 7d 0d | / 2, 25|0);...}.|
|000017c0| 0a 09 65 6c 73 65 0d 0a | 09 09 47 72 69 64 2e 53 |..else..|..Grid.S|
|000017d0| 65 74 53 69 7a 65 28 57 | 69 6e 57 69 64 74 68 2c |etSize(W|inWidth,|
|000017e0| 20 57 69 6e 48 65 69 67 | 68 74 29 3b 0d 0a 7d 0d | WinHeig|ht);..}.|
|000017f0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 41 64 64 53 |...funct|ion AddS|
|00001800| 75 62 73 65 74 28 55 42 | 72 6f 77 73 65 72 53 75 |ubset(UB|rowserSu|
|00001810| 62 73 65 74 46 61 63 74 | 20 53 75 62 73 65 74 29 |bsetFact| Subset)|
|00001820| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 55 42 72 6f |..{...lo|cal UBro|
|00001830| 77 73 65 72 53 75 62 73 | 65 74 4c 69 73 74 20 6c |wserSubs|etList l|
|00001840| 3b 0d 0a 0d 0a 09 66 6f | 72 28 6c 20 3d 20 55 42 |;.....fo|r(l = UB|
|00001850| 72 6f 77 73 65 72 53 75 | 62 73 65 74 4c 69 73 74 |rowserSu|bsetList|
|00001860| 28 53 75 62 73 65 74 4c | 69 73 74 2e 4e 65 78 74 |(SubsetL|ist.Next|
|00001870| 29 3b 20 6c 20 21 3d 20 | 4e 6f 6e 65 3b 20 6c 20 |); l != |None; l |
|00001880| 3d 20 55 42 72 6f 77 73 | 65 72 53 75 62 73 65 74 |= UBrows|erSubset|
|00001890| 4c 69 73 74 28 6c 2e 4e | 65 78 74 29 29 0d 0a 09 |List(l.N|ext))...|
|000018a0| 09 69 66 28 6c 2e 53 75 | 62 73 65 74 46 61 63 74 |.if(l.Su|bsetFact|
|000018b0| 6f 72 79 20 3d 3d 20 53 | 75 62 73 65 74 29 0d 0a |ory == S|ubset)..|
|000018c0| 09 09 09 72 65 74 75 72 | 6e 3b 0d 0a 09 0d 0a 09 |...retur|n;......|
|000018d0| 6c 20 3d 20 55 42 72 6f | 77 73 65 72 53 75 62 73 |l = UBro|wserSubs|
|000018e0| 65 74 4c 69 73 74 28 53 | 75 62 73 65 74 4c 69 73 |etList(S|ubsetLis|
|000018f0| 74 2e 41 70 70 65 6e 64 | 28 63 6c 61 73 73 27 55 |t.Append|(class'U|
|00001900| 42 72 6f 77 73 65 72 53 | 75 62 73 65 74 4c 69 73 |BrowserS|ubsetLis|
|00001910| 74 27 29 29 3b 0d 0a 09 | 6c 2e 53 75 62 73 65 74 |t'));...|l.Subset|
|00001920| 46 61 63 74 6f 72 79 20 | 3d 20 53 75 62 73 65 74 |Factory |= Subset|
|00001930| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00001940| 20 41 64 64 53 75 70 65 | 72 53 65 74 28 55 42 72 | AddSupe|rSet(UBr|
|00001950| 6f 77 73 65 72 53 65 72 | 76 65 72 4c 69 73 74 57 |owserSer|verListW|
|00001960| 69 6e 64 6f 77 20 53 75 | 70 65 72 73 65 74 29 0d |indow Su|perset).|
|00001970| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 55 42 72 6f 77 |.{...loc|al UBrow|
|00001980| 73 65 72 53 75 70 65 72 | 73 65 74 4c 69 73 74 20 |serSuper|setList |
|00001990| 6c 3b 0d 0a 0d 0a 09 66 | 6f 72 28 6c 20 3d 20 55 |l;.....f|or(l = U|
|000019a0| 42 72 6f 77 73 65 72 53 | 75 70 65 72 73 65 74 4c |BrowserS|upersetL|
|000019b0| 69 73 74 28 53 75 70 65 | 72 73 65 74 4c 69 73 74 |ist(Supe|rsetList|
|000019c0| 2e 4e 65 78 74 29 3b 20 | 6c 20 21 3d 20 4e 6f 6e |.Next); |l != Non|
|000019d0| 65 3b 20 6c 20 3d 20 55 | 42 72 6f 77 73 65 72 53 |e; l = U|BrowserS|
|000019e0| 75 70 65 72 73 65 74 4c | 69 73 74 28 6c 2e 4e 65 |upersetL|ist(l.Ne|
|000019f0| 78 74 29 29 0d 0a 09 09 | 69 66 28 6c 2e 53 75 70 |xt))....|if(l.Sup|
|00001a00| 65 72 73 65 74 57 69 6e | 64 6f 77 20 3d 3d 20 53 |ersetWin|dow == S|
|00001a10| 75 70 65 72 73 65 74 29 | 0d 0a 09 09 09 72 65 74 |uperset)|.....ret|
|00001a20| 75 72 6e 3b 0d 0a 09 0d | 0a 09 6c 20 3d 20 55 42 |urn;....|..l = UB|
|00001a30| 72 6f 77 73 65 72 53 75 | 70 65 72 73 65 74 4c 69 |rowserSu|persetLi|
|00001a40| 73 74 28 53 75 70 65 72 | 73 65 74 4c 69 73 74 2e |st(Super|setList.|
|00001a50| 41 70 70 65 6e 64 28 63 | 6c 61 73 73 27 55 42 72 |Append(c|lass'UBr|
|00001a60| 6f 77 73 65 72 53 75 70 | 65 72 73 65 74 4c 69 73 |owserSup|ersetLis|
|00001a70| 74 27 29 29 3b 0d 0a 09 | 6c 2e 53 75 70 65 72 73 |t'));...|l.Supers|
|00001a80| 65 74 57 69 6e 64 6f 77 | 20 3d 20 53 75 70 65 72 |etWindow| = Super|
|00001a90| 73 65 74 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |set;..}.|...funct|
|00001aa0| 69 6f 6e 20 52 65 6d 6f | 76 65 53 75 62 73 65 74 |ion Remo|veSubset|
|00001ab0| 28 55 42 72 6f 77 73 65 | 72 53 75 62 73 65 74 46 |(UBrowse|rSubsetF|
|00001ac0| 61 63 74 20 53 75 62 73 | 65 74 29 0d 0a 7b 0d 0a |act Subs|et)..{..|
|00001ad0| 09 6c 6f 63 61 6c 20 55 | 42 72 6f 77 73 65 72 53 |.local U|BrowserS|
|00001ae0| 75 62 73 65 74 4c 69 73 | 74 20 6c 3b 0d 0a 0d 0a |ubsetLis|t l;....|
|00001af0| 09 66 6f 72 28 6c 20 3d | 20 55 42 72 6f 77 73 65 |.for(l =| UBrowse|
|00001b00| 72 53 75 62 73 65 74 4c | 69 73 74 28 53 75 62 73 |rSubsetL|ist(Subs|
|00001b10| 65 74 4c 69 73 74 2e 4e | 65 78 74 29 3b 20 6c 20 |etList.N|ext); l |
|00001b20| 21 3d 20 4e 6f 6e 65 3b | 20 6c 20 3d 20 55 42 72 |!= None;| l = UBr|
|00001b30| 6f 77 73 65 72 53 75 62 | 73 65 74 4c 69 73 74 28 |owserSub|setList(|
|00001b40| 6c 2e 4e 65 78 74 29 29 | 0d 0a 09 09 69 66 28 6c |l.Next))|....if(l|
|00001b50| 2e 53 75 62 73 65 74 46 | 61 63 74 6f 72 79 20 3d |.SubsetF|actory =|
|00001b60| 3d 20 53 75 62 73 65 74 | 29 0d 0a 09 09 09 6c 2e |= Subset|).....l.|
|00001b70| 52 65 6d 6f 76 65 28 29 | 3b 0d 0a 7d 0d 0a 0d 0a |Remove()|;..}....|
|00001b80| 66 75 6e 63 74 69 6f 6e | 20 52 65 6d 6f 76 65 53 |function| RemoveS|
|00001b90| 75 70 65 72 73 65 74 28 | 55 42 72 6f 77 73 65 72 |uperset(|UBrowser|
|00001ba0| 53 65 72 76 65 72 4c 69 | 73 74 57 69 6e 64 6f 77 |ServerLi|stWindow|
|00001bb0| 20 53 75 70 65 72 73 65 | 74 29 0d 0a 7b 0d 0a 09 | Superse|t)..{...|
|00001bc0| 6c 6f 63 61 6c 20 55 42 | 72 6f 77 73 65 72 53 75 |local UB|rowserSu|
|00001bd0| 70 65 72 73 65 74 4c 69 | 73 74 20 6c 3b 0d 0a 0d |persetLi|st l;...|
|00001be0| 0a 09 66 6f 72 28 6c 20 | 3d 20 55 42 72 6f 77 73 |..for(l |= UBrows|
|00001bf0| 65 72 53 75 70 65 72 73 | 65 74 4c 69 73 74 28 53 |erSupers|etList(S|
|00001c00| 75 70 65 72 73 65 74 4c | 69 73 74 2e 4e 65 78 74 |upersetL|ist.Next|
|00001c10| 29 3b 20 6c 20 21 3d 20 | 4e 6f 6e 65 3b 20 6c 20 |); l != |None; l |
|00001c20| 3d 20 55 42 72 6f 77 73 | 65 72 53 75 70 65 72 73 |= UBrows|erSupers|
|00001c30| 65 74 4c 69 73 74 28 6c | 2e 4e 65 78 74 29 29 0d |etList(l|.Next)).|
|00001c40| 0a 09 09 69 66 28 6c 2e | 53 75 70 65 72 73 65 74 |...if(l.|Superset|
|00001c50| 57 69 6e 64 6f 77 20 3d | 3d 20 53 75 70 65 72 73 |Window =|= Supers|
|00001c60| 65 74 29 0d 0a 09 09 09 | 6c 2e 52 65 6d 6f 76 65 |et).....|l.Remove|
|00001c70| 28 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |();..}..|..functi|
|00001c80| 6f 6e 20 55 42 72 6f 77 | 73 65 72 53 65 72 76 65 |on UBrow|serServe|
|00001c90| 72 4c 69 73 74 20 41 64 | 64 46 61 76 6f 72 69 74 |rList Ad|dFavorit|
|00001ca0| 65 28 55 42 72 6f 77 73 | 65 72 53 65 72 76 65 72 |e(UBrows|erServer|
|00001cb0| 4c 69 73 74 20 53 65 72 | 76 65 72 29 0d 0a 7b 0d |List Ser|ver)..{.|
|00001cc0| 0a 09 72 65 74 75 72 6e | 20 55 42 72 6f 77 73 65 |..return| UBrowse|
|00001cd0| 72 53 65 72 76 65 72 4c | 69 73 74 57 69 6e 64 6f |rServerL|istWindo|
|00001ce0| 77 28 55 42 72 6f 77 73 | 65 72 4d 61 69 6e 43 6c |w(UBrows|erMainCl|
|00001cf0| 69 65 6e 74 57 69 6e 64 | 6f 77 28 47 65 74 50 61 |ientWind|ow(GetPa|
|00001d00| 72 65 6e 74 28 63 6c 61 | 73 73 27 55 42 72 6f 77 |rent(cla|ss'UBrow|
|00001d10| 73 65 72 4d 61 69 6e 43 | 6c 69 65 6e 74 57 69 6e |serMainC|lientWin|
|00001d20| 64 6f 77 27 29 29 2e 46 | 61 76 6f 72 69 74 65 73 |dow')).F|avorites|
|00001d30| 2e 50 61 67 65 29 2e 41 | 64 64 46 61 76 6f 72 69 |.Page).A|ddFavori|
|00001d40| 74 65 28 53 65 72 76 65 | 72 29 3b 0d 0a 7d 0d 0a |te(Serve|r);..}..|
|00001d50| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 52 65 66 72 65 |..functi|on Refre|
|00001d60| 73 68 28 6f 70 74 69 6f | 6e 61 6c 20 62 6f 6f 6c |sh(optio|nal bool|
|00001d70| 20 62 42 79 53 75 70 65 | 72 73 65 74 2c 20 6f 70 | bBySupe|rset, op|
|00001d80| 74 69 6f 6e 61 6c 20 62 | 6f 6f 6c 20 62 49 6e 69 |tional b|ool bIni|
|00001d90| 74 69 61 6c 2c 20 6f 70 | 74 69 6f 6e 61 6c 20 62 |tial, op|tional b|
|00001da0| 6f 6f 6c 20 62 53 61 76 | 65 45 78 69 73 74 69 6e |ool bSav|eExistin|
|00001db0| 67 4c 69 73 74 2c 20 6f | 70 74 69 6f 6e 61 6c 20 |gList, o|ptional |
|00001dc0| 62 6f 6f 6c 20 62 49 6e | 4e 6f 53 6f 72 74 29 0d |bool bIn|NoSort).|
|00001dd0| 0a 7b 0d 0a 09 62 48 61 | 64 49 6e 69 74 69 61 6c |.{...bHa|dInitial|
|00001de0| 52 65 66 72 65 73 68 20 | 3d 20 54 72 75 65 3b 0d |Refresh |= True;.|
|00001df0| 0a 0d 0a 09 69 66 28 21 | 62 53 61 76 65 45 78 69 |....if(!|bSaveExi|
|00001e00| 73 74 69 6e 67 4c 69 73 | 74 29 0d 0a 09 7b 0d 0a |stingLis|t)...{..|
|00001e10| 09 09 49 6e 66 6f 49 74 | 65 6d 20 3d 20 4e 6f 6e |..InfoIt|em = Non|
|00001e20| 65 3b 0d 0a 09 09 49 6e | 66 6f 43 6c 69 65 6e 74 |e;....In|foClient|
|00001e30| 2e 53 65 72 76 65 72 20 | 3d 20 4e 6f 6e 65 3b 0d |.Server |= None;.|
|00001e40| 0a 09 7d 0d 0a 0d 0a 09 | 69 66 28 21 62 53 61 76 |..}.....|if(!bSav|
|00001e50| 65 45 78 69 73 74 69 6e | 67 4c 69 73 74 20 26 26 |eExistin|gList &&|
|00001e60| 20 50 69 6e 67 65 64 4c | 69 73 74 20 21 3d 20 4e | PingedL|ist != N|
|00001e70| 6f 6e 65 29 0d 0a 09 7b | 0d 0a 09 09 50 69 6e 67 |one)...{|....Ping|
|00001e80| 65 64 4c 69 73 74 2e 44 | 65 73 74 72 6f 79 4c 69 |edList.D|estroyLi|
|00001e90| 73 74 28 29 3b 0d 0a 09 | 09 50 69 6e 67 65 64 4c |st();...|.PingedL|
|00001ea0| 69 73 74 20 3d 20 4e 6f | 6e 65 3b 0d 0a 09 09 47 |ist = No|ne;....G|
|00001eb0| 72 69 64 2e 53 65 6c 65 | 63 74 65 64 53 65 72 76 |rid.Sele|ctedServ|
|00001ec0| 65 72 20 3d 20 4e 6f 6e | 65 3b 0d 0a 09 7d 0d 0a |er = Non|e;...}..|
|00001ed0| 0d 0a 09 69 66 28 50 69 | 6e 67 65 64 4c 69 73 74 |...if(Pi|ngedList|
|00001ee0| 20 3d 3d 20 4e 6f 6e 65 | 29 0d 0a 09 7b 0d 0a 09 | == None|)...{...|
|00001ef0| 09 50 69 6e 67 65 64 4c | 69 73 74 3d 4e 65 77 20 |.PingedL|ist=New |
|00001f00| 53 65 72 76 65 72 4c 69 | 73 74 43 6c 61 73 73 3b |ServerLi|stClass;|
|00001f10| 0d 0a 09 09 50 69 6e 67 | 65 64 4c 69 73 74 2e 4f |....Ping|edList.O|
|00001f20| 77 6e 65 72 20 3d 20 53 | 65 6c 66 3b 0d 0a 09 09 |wner = S|elf;....|
|00001f30| 50 69 6e 67 65 64 4c 69 | 73 74 2e 53 65 74 75 70 |PingedLi|st.Setup|
|00001f40| 53 65 6e 74 69 6e 65 6c | 28 54 72 75 65 29 3b 0d |Sentinel|(True);.|
|00001f50| 0a 09 09 50 69 6e 67 65 | 64 4c 69 73 74 2e 62 53 |...Pinge|dList.bS|
|00001f60| 75 73 70 65 6e 64 61 62 | 6c 65 53 6f 72 74 20 3d |uspendab|leSort =|
|00001f70| 20 54 72 75 65 3b 0d 0a | 09 7d 0d 0a 09 65 6c 73 | True;..|.}...els|
|00001f80| 65 0d 0a 09 7b 0d 0a 09 | 09 54 61 67 53 65 72 76 |e...{...|.TagServ|
|00001f90| 65 72 73 41 73 4f 6c 64 | 28 29 3b 0d 0a 09 7d 0d |ersAsOld|();...}.|
|00001fa0| 0a 0d 0a 09 69 66 28 55 | 6e 70 69 6e 67 65 64 4c |....if(U|npingedL|
|00001fb0| 69 73 74 20 21 3d 20 4e | 6f 6e 65 29 0d 0a 09 09 |ist != N|one)....|
|00001fc0| 55 6e 70 69 6e 67 65 64 | 4c 69 73 74 2e 44 65 73 |Unpinged|List.Des|
|00001fd0| 74 72 6f 79 4c 69 73 74 | 28 29 3b 0d 0a 09 0d 0a |troyList|();.....|
|00001fe0| 09 69 66 28 21 62 53 61 | 76 65 45 78 69 73 74 69 |.if(!bSa|veExisti|
|00001ff0| 6e 67 4c 69 73 74 29 0d | 0a 09 7b 0d 0a 09 09 55 |ngList).|..{....U|
|00002000| 6e 70 69 6e 67 65 64 4c | 69 73 74 20 3d 20 4e 65 |npingedL|ist = Ne|
|00002010| 77 20 53 65 72 76 65 72 | 4c 69 73 74 43 6c 61 73 |w Server|ListClas|
|00002020| 73 3b 0d 0a 09 09 55 6e | 70 69 6e 67 65 64 4c 69 |s;....Un|pingedLi|
|00002030| 73 74 2e 4f 77 6e 65 72 | 20 3d 20 53 65 6c 66 3b |st.Owner| = Self;|
|00002040| 0d 0a 09 09 55 6e 70 69 | 6e 67 65 64 4c 69 73 74 |....Unpi|ngedList|
|00002050| 2e 53 65 74 75 70 53 65 | 6e 74 69 6e 65 6c 28 46 |.SetupSe|ntinel(F|
|00002060| 61 6c 73 65 29 3b 0d 0a | 09 7d 0d 0a 0d 0a 09 50 |alse);..|.}.....P|
|00002070| 69 6e 67 53 74 61 74 65 | 20 3d 20 50 53 5f 51 75 |ingState| = PS_Qu|
|00002080| 65 72 79 53 65 72 76 65 | 72 3b 0d 0a 09 53 68 75 |eryServe|r;...Shu|
|00002090| 74 64 6f 77 6e 46 61 63 | 74 6f 72 69 65 73 28 62 |tdownFac|tories(b|
|000020a0| 42 79 53 75 70 65 72 73 | 65 74 29 3b 0d 0a 09 43 |BySupers|et);...C|
|000020b0| 72 65 61 74 65 46 61 63 | 74 6f 72 69 65 73 28 62 |reateFac|tories(b|
|000020c0| 53 61 76 65 45 78 69 73 | 74 69 6e 67 4c 69 73 74 |SaveExis|tingList|
|000020d0| 29 3b 0d 0a 09 51 75 65 | 72 79 28 62 42 79 53 75 |);...Que|ry(bBySu|
|000020e0| 70 65 72 73 65 74 2c 20 | 62 49 6e 69 74 69 61 6c |perset, |bInitial|
|000020f0| 2c 20 62 49 6e 4e 6f 53 | 6f 72 74 29 3b 0d 0a 0d |, bInNoS|ort);...|
|00002100| 0a 09 69 66 28 21 62 49 | 6e 69 74 69 61 6c 29 0d |..if(!bI|nitial).|
|00002110| 0a 09 09 52 65 66 72 65 | 73 68 53 75 62 73 65 74 |...Refre|shSubset|
|00002120| 73 28 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |s();..}.|...funct|
|00002130| 69 6f 6e 20 54 61 67 53 | 65 72 76 65 72 73 41 73 |ion TagS|erversAs|
|00002140| 4f 6c 64 28 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |Old()..{|...local|
|00002150| 20 55 42 72 6f 77 73 65 | 72 53 65 72 76 65 72 4c | UBrowse|rServerL|
|00002160| 69 73 74 20 6c 3b 0d 0a | 0d 0a 09 66 6f 72 28 6c |ist l;..|...for(l|
|00002170| 20 3d 20 55 42 72 6f 77 | 73 65 72 53 65 72 76 65 | = UBrow|serServe|
|00002180| 72 4c 69 73 74 28 50 69 | 6e 67 65 64 4c 69 73 74 |rList(Pi|ngedList|
|00002190| 2e 4e 65 78 74 29 3b 6c | 20 21 3d 20 4e 6f 6e 65 |.Next);l| != None|
|000021a0| 3b 6c 20 3d 20 55 42 72 | 6f 77 73 65 72 53 65 72 |;l = UBr|owserSer|
|000021b0| 76 65 72 4c 69 73 74 28 | 6c 2e 4e 65 78 74 29 29 |verList(|l.Next))|
|000021c0| 20 0d 0a 09 09 6c 2e 62 | 4f 6c 64 53 65 72 76 65 | ....l.b|OldServe|
|000021d0| 72 20 3d 20 54 72 75 65 | 3b 0d 0a 7d 0d 0a 0d 0a |r = True|;..}....|
|000021e0| 66 75 6e 63 74 69 6f 6e | 20 52 65 6d 6f 76 65 4f |function| RemoveO|
|000021f0| 6c 64 53 65 72 76 65 72 | 73 28 29 0d 0a 7b 0d 0a |ldServer|s()..{..|
|00002200| 09 6c 6f 63 61 6c 20 55 | 42 72 6f 77 73 65 72 53 |.local U|BrowserS|
|00002210| 65 72 76 65 72 4c 69 73 | 74 20 6c 2c 20 6e 3b 0d |erverLis|t l, n;.|
|00002220| 0a 0d 0a 09 6c 20 3d 20 | 55 42 72 6f 77 73 65 72 |....l = |UBrowser|
|00002230| 53 65 72 76 65 72 4c 69 | 73 74 28 50 69 6e 67 65 |ServerLi|st(Pinge|
|00002240| 64 4c 69 73 74 2e 4e 65 | 78 74 29 3b 0d 0a 09 77 |dList.Ne|xt);...w|
|00002250| 68 69 6c 65 28 6c 20 21 | 3d 20 4e 6f 6e 65 29 20 |hile(l !|= None) |
|00002260| 0d 0a 09 7b 0d 0a 09 09 | 6e 20 3d 20 55 42 72 6f |...{....|n = UBro|
|00002270| 77 73 65 72 53 65 72 76 | 65 72 4c 69 73 74 28 6c |wserServ|erList(l|
|00002280| 2e 4e 65 78 74 29 3b 0d | 0a 0d 0a 09 09 69 66 28 |.Next);.|.....if(|
|00002290| 6c 2e 62 4f 6c 64 53 65 | 72 76 65 72 29 0d 0a 09 |l.bOldSe|rver)...|
|000022a0| 09 7b 0d 0a 09 09 09 69 | 66 28 47 72 69 64 2e 53 |.{.....i|f(Grid.S|
|000022b0| 65 6c 65 63 74 65 64 53 | 65 72 76 65 72 20 3d 3d |electedS|erver ==|
|000022c0| 20 6c 29 0d 0a 09 09 09 | 09 47 72 69 64 2e 53 65 | l).....|.Grid.Se|
|000022d0| 6c 65 63 74 65 64 53 65 | 72 76 65 72 20 3d 20 6e |lectedSe|rver = n|
|000022e0| 3b 0d 0a 0d 0a 09 09 09 | 6c 2e 52 65 6d 6f 76 65 |;.......|l.Remove|
|000022f0| 28 29 3b 0d 0a 09 09 7d | 0d 0a 09 09 6c 20 3d 20 |();....}|....l = |
|00002300| 6e 3b 0d 0a 09 7d 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |n;...}..|}....fun|
|00002310| 63 74 69 6f 6e 20 52 65 | 66 72 65 73 68 53 75 62 |ction Re|freshSub|
|00002320| 73 65 74 73 28 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |sets()..|{...loca|
|00002330| 6c 20 55 42 72 6f 77 73 | 65 72 53 75 62 73 65 74 |l UBrows|erSubset|
|00002340| 4c 69 73 74 20 6c 2c 20 | 4e 65 78 74 53 75 62 73 |List l, |NextSubs|
|00002350| 65 74 3b 0d 0a 0d 0a 09 | 66 6f 72 28 6c 20 3d 20 |et;.....|for(l = |
|00002360| 55 42 72 6f 77 73 65 72 | 53 75 62 73 65 74 4c 69 |UBrowser|SubsetLi|
|00002370| 73 74 28 53 75 62 73 65 | 74 4c 69 73 74 2e 4e 65 |st(Subse|tList.Ne|
|00002380| 78 74 29 3b 20 6c 20 21 | 3d 20 4e 6f 6e 65 3b 20 |xt); l !|= None; |
|00002390| 6c 20 3d 20 55 42 72 6f | 77 73 65 72 53 75 62 73 |l = UBro|wserSubs|
|000023a0| 65 74 4c 69 73 74 28 6c | 2e 4e 65 78 74 29 29 0d |etList(l|.Next)).|
|000023b0| 0a 09 09 6c 2e 62 4f 6c | 64 45 6c 65 6d 65 6e 74 |...l.bOl|dElement|
|000023c0| 20 3d 20 54 72 75 65 3b | 0d 0a 0d 0a 09 6c 20 3d | = True;|.....l =|
|000023d0| 20 55 42 72 6f 77 73 65 | 72 53 75 62 73 65 74 4c | UBrowse|rSubsetL|
|000023e0| 69 73 74 28 53 75 62 73 | 65 74 4c 69 73 74 2e 4e |ist(Subs|etList.N|
|000023f0| 65 78 74 29 3b 0d 0a 09 | 77 68 69 6c 65 28 6c 20 |ext);...|while(l |
|00002400| 21 3d 20 4e 6f 6e 65 20 | 26 26 20 6c 2e 62 4f 6c |!= None |&& l.bOl|
|00002410| 64 45 6c 65 6d 65 6e 74 | 29 0d 0a 09 7b 0d 0a 09 |dElement|)...{...|
|00002420| 09 4e 65 78 74 53 75 62 | 73 65 74 20 3d 20 55 42 |.NextSub|set = UB|
|00002430| 72 6f 77 73 65 72 53 75 | 62 73 65 74 4c 69 73 74 |rowserSu|bsetList|
|00002440| 28 6c 2e 4e 65 78 74 29 | 3b 0d 0a 09 09 6c 2e 53 |(l.Next)|;....l.S|
|00002450| 75 62 73 65 74 46 61 63 | 74 6f 72 79 2e 4f 77 6e |ubsetFac|tory.Own|
|00002460| 65 72 2e 4f 77 6e 65 72 | 2e 52 65 66 72 65 73 68 |er.Owner|.Refresh|
|00002470| 28 54 72 75 65 29 3b 0d | 0a 09 09 6c 20 3d 20 4e |(True);.|...l = N|
|00002480| 65 78 74 53 75 62 73 65 | 74 3b 0d 0a 09 7d 0d 0a |extSubse|t;...}..|
|00002490| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 52 65 |}....fun|ction Re|
|000024a0| 50 69 6e 67 28 29 0d 0a | 7b 0d 0a 09 50 69 6e 67 |Ping()..|{...Ping|
|000024b0| 53 74 61 74 65 20 3d 20 | 50 53 5f 52 65 50 69 6e |State = |PS_RePin|
|000024c0| 67 69 6e 67 3b 0d 0a 09 | 50 69 6e 67 65 64 4c 69 |ging;...|PingedLi|
|000024d0| 73 74 2e 49 6e 76 61 6c | 69 64 61 74 65 50 69 6e |st.Inval|idatePin|
|000024e0| 67 73 28 29 3b 0d 0a 09 | 50 69 6e 67 65 64 4c 69 |gs();...|PingedLi|
|000024f0| 73 74 2e 50 69 6e 67 53 | 65 72 76 65 72 73 28 54 |st.PingS|ervers(T|
|00002500| 72 75 65 2c 20 46 61 6c | 73 65 29 3b 0d 0a 7d 0d |rue, Fal|se);..}.|
|00002510| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 51 75 65 72 |...funct|ion Quer|
|00002520| 79 46 69 6e 69 73 68 65 | 64 28 55 42 72 6f 77 73 |yFinishe|d(UBrows|
|00002530| 65 72 53 65 72 76 65 72 | 4c 69 73 74 46 61 63 74 |erServer|ListFact|
|00002540| 6f 72 79 20 46 61 63 74 | 2c 20 62 6f 6f 6c 20 62 |ory Fact|, bool b|
|00002550| 53 75 63 63 65 73 73 2c | 20 6f 70 74 69 6f 6e 61 |Success,| optiona|
|00002560| 6c 20 73 74 72 69 6e 67 | 20 45 72 72 6f 72 4d 73 |l string| ErrorMs|
|00002570| 67 29 0d 0a 7b 0d 0a 09 | 6c 6f 63 61 6c 20 69 6e |g)..{...|local in|
|00002580| 74 20 69 3b 0d 0a 09 6c | 6f 63 61 6c 20 62 6f 6f |t i;...l|ocal boo|
|00002590| 6c 20 62 44 6f 6e 65 3b | 0d 0a 0d 0a 09 62 44 6f |l bDone;|.....bDo|
|000025a0| 6e 65 20 3d 20 54 72 75 | 65 3b 0d 0a 09 66 6f 72 |ne = Tru|e;...for|
|000025b0| 28 69 3d 30 3b 69 3c 31 | 30 3b 69 2b 2b 29 0d 0a |(i=0;i<1|0;i++)..|
|000025c0| 09 7b 0d 0a 09 09 69 66 | 28 46 61 63 74 6f 72 69 |.{....if|(Factori|
|000025d0| 65 73 5b 69 5d 20 21 3d | 20 4e 6f 6e 65 29 0d 0a |es[i] !=| None)..|
|000025e0| 09 09 7b 0d 0a 09 09 09 | 69 66 28 46 61 63 74 6f |..{.....|if(Facto|
|000025f0| 72 69 65 73 5b 69 5d 20 | 3d 3d 20 46 61 63 74 29 |ries[i] |== Fact)|
|00002600| 0d 0a 09 09 09 09 51 75 | 65 72 79 44 6f 6e 65 5b |......Qu|eryDone[|
|00002610| 69 5d 20 3d 20 31 3b 0d | 0a 09 09 09 69 66 28 51 |i] = 1;.|....if(Q|
|00002620| 75 65 72 79 44 6f 6e 65 | 5b 69 5d 20 3d 3d 20 30 |ueryDone|[i] == 0|
|00002630| 29 0d 0a 09 09 09 09 62 | 44 6f 6e 65 20 3d 20 46 |)......b|Done = F|
|00002640| 61 6c 73 65 3b 0d 0a 09 | 09 7d 0d 0a 09 7d 0d 0a |alse;...|.}...}..|
|00002650| 0d 0a 09 69 66 28 21 62 | 53 75 63 63 65 73 73 29 |...if(!b|Success)|
|00002660| 0d 0a 09 7b 0d 0a 09 09 | 50 69 6e 67 53 74 61 74 |...{....|PingStat|
|00002670| 65 20 3d 20 50 53 5f 51 | 75 65 72 79 46 61 69 6c |e = PS_Q|ueryFail|
|00002680| 65 64 3b 0d 0a 09 09 45 | 72 72 6f 72 53 74 72 69 |ed;....E|rrorStri|
|00002690| 6e 67 20 3d 20 45 72 72 | 6f 72 4d 73 67 3b 0d 0a |ng = Err|orMsg;..|
|000026a0| 0d 0a 09 09 2f 2f 20 64 | 6f 6e 27 74 20 70 69 6e |....// d|on't pin|
|000026b0| 67 20 61 6e 64 20 72 65 | 70 6f 72 74 20 73 75 63 |g and re|port suc|
|000026c0| 63 65 73 73 20 69 66 20 | 77 65 20 68 61 76 65 20 |cess if |we have |
|000026d0| 6e 6f 20 73 65 72 76 65 | 72 73 2e 0d 0a 09 09 69 |no serve|rs.....i|
|000026e0| 66 28 62 44 6f 6e 65 20 | 26 26 20 55 6e 70 69 6e |f(bDone |&& Unpin|
|000026f0| 67 65 64 4c 69 73 74 2e | 43 6f 75 6e 74 28 29 20 |gedList.|Count() |
|00002700| 3d 3d 20 30 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 69 |== 0)...|.{.....i|
|00002710| 66 28 20 62 46 61 6c 6c | 62 61 63 6b 46 61 63 74 |f( bFall|backFact|
|00002720| 6f 72 69 65 73 20 29 0d | 0a 09 09 09 7b 0d 0a 09 |ories ).|....{...|
|00002730| 09 09 09 46 61 6c 6c 62 | 61 63 6b 46 61 63 74 6f |...Fallb|ackFacto|
|00002740| 72 79 2b 2b 3b 0d 0a 09 | 09 09 09 69 66 28 20 4c |ry++;...|...if( L|
|00002750| 69 73 74 46 61 63 74 6f | 72 69 65 73 5b 46 61 6c |istFacto|ries[Fal|
|00002760| 6c 62 61 63 6b 46 61 63 | 74 6f 72 79 5d 20 21 3d |lbackFac|tory] !=|
|00002770| 20 22 22 20 29 0d 0a 09 | 09 09 09 09 52 65 66 72 | "" )...|....Refr|
|00002780| 65 73 68 28 29 3b 09 2f | 2f 20 74 72 79 20 74 68 |esh();./|/ try th|
|00002790| 65 20 6e 65 78 74 20 66 | 61 6c 6c 62 61 63 6b 20 |e next f|allback |
|000027a0| 6d 61 73 74 65 72 20 73 | 65 72 76 65 72 0d 0a 09 |master s|erver...|
|000027b0| 09 09 09 65 6c 73 65 0d | 0a 09 09 09 09 09 46 61 |...else.|......Fa|
|000027c0| 6c 6c 62 61 63 6b 46 61 | 63 74 6f 72 79 20 3d 20 |llbackFa|ctory = |
|000027d0| 30 3b 0d 0a 09 09 09 7d | 0d 0a 09 09 09 72 65 74 |0;.....}|.....ret|
|000027e0| 75 72 6e 3b 0d 0a 09 09 | 7d 0d 0a 09 7d 0d 0a 09 |urn;....|}...}...|
|000027f0| 65 6c 73 65 0d 0a 09 09 | 45 72 72 6f 72 53 74 72 |else....|ErrorStr|
|00002800| 69 6e 67 20 3d 20 22 22 | 3b 0d 0a 0d 0a 09 69 66 |ing = ""|;.....if|
|00002810| 28 62 44 6f 6e 65 29 0d | 0a 09 7b 0d 0a 09 09 52 |(bDone).|..{....R|
|00002820| 65 6d 6f 76 65 4f 6c 64 | 53 65 72 76 65 72 73 28 |emoveOld|Servers(|
|00002830| 29 3b 0d 0a 0d 0a 09 09 | 50 69 6e 67 53 74 61 74 |);......|PingStat|
|00002840| 65 20 3d 20 50 53 5f 50 | 69 6e 67 69 6e 67 3b 0d |e = PS_P|inging;.|
|00002850| 0a 09 09 69 66 28 21 62 | 4e 6f 53 6f 72 74 20 26 |...if(!b|NoSort &|
|00002860| 26 20 21 46 61 63 74 2e | 62 49 6e 63 72 65 6d 65 |& !Fact.|bIncreme|
|00002870| 6e 74 61 6c 50 69 6e 67 | 29 0d 0a 09 09 09 50 69 |ntalPing|).....Pi|
|00002880| 6e 67 65 64 4c 69 73 74 | 2e 53 6f 72 74 28 29 3b |ngedList|.Sort();|
|00002890| 0d 0a 09 09 55 6e 70 69 | 6e 67 65 64 4c 69 73 74 |....Unpi|ngedList|
|000028a0| 2e 50 69 6e 67 53 65 72 | 76 65 72 73 28 54 72 75 |.PingSer|vers(Tru|
|000028b0| 65 2c 20 62 4e 6f 53 6f | 72 74 20 7c 7c 20 46 61 |e, bNoSo|rt || Fa|
|000028c0| 63 74 2e 62 49 6e 63 72 | 65 6d 65 6e 74 61 6c 50 |ct.bIncr|ementalP|
|000028d0| 69 6e 67 29 3b 0d 0a 09 | 7d 0d 0a 7d 0d 0a 0d 0a |ing);...|}..}....|
|000028e0| 66 75 6e 63 74 69 6f 6e | 20 50 69 6e 67 46 69 6e |function| PingFin|
|000028f0| 69 73 68 65 64 28 29 0d | 0a 7b 0d 0a 09 50 69 6e |ished().|.{...Pin|
|00002900| 67 53 74 61 74 65 20 3d | 20 50 53 5f 44 6f 6e 65 |gState =| PS_Done|
|00002910| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00002920| 20 43 72 65 61 74 65 46 | 61 63 74 6f 72 69 65 73 | CreateF|actories|
|00002930| 28 62 6f 6f 6c 20 62 55 | 73 65 50 69 6e 67 65 64 |(bool bU|sePinged|
|00002940| 4c 69 73 74 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |List)..{|...local|
|00002950| 20 69 6e 74 20 69 3b 0d | 0a 0d 0a 09 66 6f 72 28 | int i;.|....for(|
|00002960| 69 3d 30 3b 69 3c 31 30 | 3b 69 2b 2b 29 0d 0a 09 |i=0;i<10|;i++)...|
|00002970| 7b 0d 0a 09 09 69 66 28 | 4c 69 73 74 46 61 63 74 |{....if(|ListFact|
|00002980| 6f 72 69 65 73 5b 69 5d | 20 3d 3d 20 22 22 29 0d |ories[i]| == "").|
|00002990| 0a 09 09 09 62 72 65 61 | 6b 3b 0d 0a 09 09 69 66 |....brea|k;....if|
|000029a0| 28 21 62 46 61 6c 6c 62 | 61 63 6b 46 61 63 74 6f |(!bFallb|ackFacto|
|000029b0| 72 69 65 73 20 7c 7c 20 | 46 61 6c 6c 62 61 63 6b |ries || |Fallback|
|000029c0| 46 61 63 74 6f 72 79 20 | 3d 3d 20 69 29 0d 0a 09 |Factory |== i)...|
|000029d0| 09 7b 0d 0a 09 09 09 46 | 61 63 74 6f 72 69 65 73 |.{.....F|actories|
|000029e0| 5b 69 5d 20 3d 20 55 42 | 72 6f 77 73 65 72 53 65 |[i] = UB|rowserSe|
|000029f0| 72 76 65 72 4c 69 73 74 | 46 61 63 74 6f 72 79 28 |rverList|Factory(|
|00002a00| 42 75 69 6c 64 4f 62 6a | 65 63 74 57 69 74 68 50 |BuildObj|ectWithP|
|00002a10| 72 6f 70 65 72 74 69 65 | 73 28 4c 69 73 74 46 61 |ropertie|s(ListFa|
|00002a20| 63 74 6f 72 69 65 73 5b | 69 5d 29 29 3b 0d 0a 09 |ctories[|i]));...|
|00002a30| 09 09 0d 0a 09 09 09 46 | 61 63 74 6f 72 69 65 73 |.......F|actories|
|00002a40| 5b 69 5d 2e 50 69 6e 67 | 65 64 4c 69 73 74 20 3d |[i].Ping|edList =|
|00002a50| 20 50 69 6e 67 65 64 4c | 69 73 74 3b 0d 0a 09 09 | PingedL|ist;....|
|00002a60| 09 46 61 63 74 6f 72 69 | 65 73 5b 69 5d 2e 55 6e |.Factori|es[i].Un|
|00002a70| 70 69 6e 67 65 64 4c 69 | 73 74 20 3d 20 55 6e 70 |pingedLi|st = Unp|
|00002a80| 69 6e 67 65 64 4c 69 73 | 74 3b 0d 0a 09 09 0d 0a |ingedLis|t;......|
|00002a90| 09 09 09 69 66 28 62 55 | 73 65 50 69 6e 67 65 64 |...if(bU|sePinged|
|00002aa0| 4c 69 73 74 29 0d 0a 09 | 09 09 09 46 61 63 74 6f |List)...|...Facto|
|00002ab0| 72 69 65 73 5b 69 5d 2e | 4f 77 6e 65 72 20 3d 20 |ries[i].|Owner = |
|00002ac0| 50 69 6e 67 65 64 4c 69 | 73 74 3b 0d 0a 09 09 09 |PingedLi|st;.....|
|00002ad0| 65 6c 73 65 0d 0a 09 09 | 09 09 46 61 63 74 6f 72 |else....|..Factor|
|00002ae0| 69 65 73 5b 69 5d 2e 4f | 77 6e 65 72 20 3d 20 55 |ies[i].O|wner = U|
|00002af0| 6e 70 69 6e 67 65 64 4c | 69 73 74 3b 0d 0a 09 09 |npingedL|ist;....|
|00002b00| 7d 0d 0a 09 09 51 75 65 | 72 79 44 6f 6e 65 5b 69 |}....Que|ryDone[i|
|00002b10| 5d 20 3d 20 30 3b 0d 0a | 09 7d 09 0d 0a 7d 0d 0a |] = 0;..|.}...}..|
|00002b20| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 53 68 75 74 64 |..functi|on Shutd|
|00002b30| 6f 77 6e 46 61 63 74 6f | 72 69 65 73 28 6f 70 74 |ownFacto|ries(opt|
|00002b40| 69 6f 6e 61 6c 20 62 6f | 6f 6c 20 62 42 79 53 75 |ional bo|ol bBySu|
|00002b50| 70 65 72 73 65 74 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |perset).|.{...loc|
|00002b60| 61 6c 20 69 6e 74 20 69 | 3b 0d 0a 0d 0a 09 66 6f |al int i|;.....fo|
|00002b70| 72 28 69 3d 30 3b 69 3c | 31 30 3b 69 2b 2b 29 0d |r(i=0;i<|10;i++).|
|00002b80| 0a 09 7b 0d 0a 09 09 69 | 66 28 46 61 63 74 6f 72 |..{....i|f(Factor|
|00002b90| 69 65 73 5b 69 5d 20 21 | 3d 20 4e 6f 6e 65 29 20 |ies[i] !|= None) |
|00002ba0| 0d 0a 09 09 7b 0d 0a 09 | 09 09 46 61 63 74 6f 72 |....{...|..Factor|
|00002bb0| 69 65 73 5b 69 5d 2e 53 | 68 75 74 64 6f 77 6e 28 |ies[i].S|hutdown(|
|00002bc0| 62 42 79 53 75 70 65 72 | 73 65 74 29 3b 0d 0a 09 |bBySuper|set);...|
|00002bd0| 09 09 46 61 63 74 6f 72 | 69 65 73 5b 69 5d 20 3d |..Factor|ies[i] =|
|00002be0| 20 4e 6f 6e 65 3b 0d 0a | 09 09 7d 0d 0a 09 7d 09 | None;..|..}...}.|
|00002bf0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00002c00| 51 75 65 72 79 28 6f 70 | 74 69 6f 6e 61 6c 20 62 |Query(op|tional b|
|00002c10| 6f 6f 6c 20 62 42 79 53 | 75 70 65 72 73 65 74 2c |ool bByS|uperset,|
|00002c20| 20 6f 70 74 69 6f 6e 61 | 6c 20 62 6f 6f 6c 20 62 | optiona|l bool b|
|00002c30| 49 6e 69 74 69 61 6c 2c | 20 6f 70 74 69 6f 6e 61 |Initial,| optiona|
|00002c40| 6c 20 62 6f 6f 6c 20 62 | 49 6e 4e 6f 53 6f 72 74 |l bool b|InNoSort|
|00002c50| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 69 6e 74 |)..{...l|ocal int|
|00002c60| 20 69 3b 0d 0a 0d 0a 09 | 62 4e 6f 53 6f 72 74 20 | i;.....|bNoSort |
|00002c70| 3d 20 62 49 6e 4e 6f 53 | 6f 72 74 3b 0d 0a 0d 0a |= bInNoS|ort;....|
|00002c80| 09 2f 2f 20 51 75 65 72 | 79 20 61 6c 6c 20 6f 75 |.// Quer|y all ou|
|00002c90| 72 20 66 61 63 74 6f 72 | 69 65 73 0d 0a 09 66 6f |r factor|ies...fo|
|00002ca0| 72 28 69 3d 30 3b 69 3c | 31 30 3b 69 2b 2b 29 0d |r(i=0;i<|10;i++).|
|00002cb0| 0a 09 7b 0d 0a 09 09 69 | 66 28 46 61 63 74 6f 72 |..{....i|f(Factor|
|00002cc0| 69 65 73 5b 69 5d 20 21 | 3d 20 4e 6f 6e 65 29 0d |ies[i] !|= None).|
|00002cd0| 0a 09 09 09 46 61 63 74 | 6f 72 69 65 73 5b 69 5d |....Fact|ories[i]|
|00002ce0| 2e 51 75 65 72 79 28 62 | 42 79 53 75 70 65 72 73 |.Query(b|BySupers|
|00002cf0| 65 74 2c 20 62 49 6e 69 | 74 69 61 6c 29 3b 0d 0a |et, bIni|tial);..|
|00002d00| 09 7d 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |.}..}...|.functio|
|00002d10| 6e 20 50 61 69 6e 74 28 | 43 61 6e 76 61 73 20 43 |n Paint(|Canvas C|
|00002d20| 2c 20 66 6c 6f 61 74 20 | 58 2c 20 66 6c 6f 61 74 |, float |X, float|
|00002d30| 20 59 29 0d 0a 7b 0d 0a | 09 44 72 61 77 53 74 72 | Y)..{..|.DrawStr|
|00002d40| 65 74 63 68 65 64 54 65 | 78 74 75 72 65 28 43 2c |etchedTe|xture(C,|
|00002d50| 20 30 2c 20 30 2c 20 57 | 69 6e 57 69 64 74 68 2c | 0, 0, W|inWidth,|
|00002d60| 20 57 69 6e 48 65 69 67 | 68 74 2c 20 54 65 78 74 | WinHeig|ht, Text|
|00002d70| 75 72 65 27 42 6c 61 63 | 6b 54 65 78 74 75 72 65 |ure'Blac|kTexture|
|00002d80| 27 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |');..}..|..functi|
|00002d90| 6f 6e 20 54 69 63 6b 28 | 66 6c 6f 61 74 20 44 65 |on Tick(|float De|
|00002da0| 6c 74 61 29 0d 0a 7b 0d | 0a 09 50 69 6e 67 65 64 |lta)..{.|..Pinged|
|00002db0| 4c 69 73 74 2e 54 69 63 | 6b 28 44 65 6c 74 61 29 |List.Tic|k(Delta)|
|00002dc0| 3b 0d 0a 0d 0a 09 69 66 | 28 50 69 6e 67 65 64 4c |;.....if|(PingedL|
|00002dd0| 69 73 74 2e 62 4e 65 65 | 64 55 70 64 61 74 65 43 |ist.bNee|dUpdateC|
|00002de0| 6f 75 6e 74 29 0d 0a 09 | 7b 0d 0a 09 09 50 69 6e |ount)...|{....Pin|
|00002df0| 67 65 64 4c 69 73 74 2e | 55 70 64 61 74 65 53 65 |gedList.|UpdateSe|
|00002e00| 72 76 65 72 43 6f 75 6e | 74 28 29 3b 0d 0a 09 09 |rverCoun|t();....|
|00002e10| 50 69 6e 67 65 64 4c 69 | 73 74 2e 62 4e 65 65 64 |PingedLi|st.bNeed|
|00002e20| 55 70 64 61 74 65 43 6f | 75 6e 74 20 3d 20 46 61 |UpdateCo|unt = Fa|
|00002e30| 6c 73 65 3b 0d 0a 09 7d | 0d 0a 0d 0a 09 2f 2f 20 |lse;...}|.....// |
|00002e40| 41 75 74 6f 52 65 66 72 | 65 73 68 20 6c 6f 63 61 |AutoRefr|esh loca|
|00002e50| 6c 20 73 65 72 76 65 72 | 73 0d 0a 09 69 66 28 41 |l server|s...if(A|
|00002e60| 75 74 6f 52 65 66 72 65 | 73 68 54 69 6d 65 20 3e |utoRefre|shTime >|
|00002e70| 20 30 29 0d 0a 09 7b 0d | 0a 09 09 54 69 6d 65 45 | 0)...{.|...TimeE|
|00002e80| 6c 61 70 73 65 64 20 2b | 3d 20 44 65 6c 74 61 3b |lapsed +|= Delta;|
|00002e90| 0d 0a 09 09 0d 0a 09 09 | 69 66 28 54 69 6d 65 45 |........|if(TimeE|
|00002ea0| 6c 61 70 73 65 64 20 3e | 20 41 75 74 6f 52 65 66 |lapsed >| AutoRef|
|00002eb0| 72 65 73 68 54 69 6d 65 | 29 0d 0a 09 09 7b 0d 0a |reshTime|)....{..|
|00002ec0| 09 09 09 54 69 6d 65 45 | 6c 61 70 73 65 64 20 3d |...TimeE|lapsed =|
|00002ed0| 20 30 3b 0d 0a 09 09 09 | 52 65 66 72 65 73 68 28 | 0;.....|Refresh(|
|00002ee0| 2c 2c 54 72 75 65 2c 20 | 62 4e 6f 41 75 74 6f 53 |,,True, |bNoAutoS|
|00002ef0| 6f 72 74 29 3b 0d 0a 09 | 09 7d 0d 0a 09 7d 09 0d |ort);...|.}...}..|
|00002f00| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 42 |.}....fu|nction B|
|00002f10| 65 66 6f 72 65 50 61 69 | 6e 74 28 43 61 6e 76 61 |eforePai|nt(Canva|
|00002f20| 73 20 43 2c 20 66 6c 6f | 61 74 20 58 2c 20 66 6c |s C, flo|at X, fl|
|00002f30| 6f 61 74 20 59 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |oat Y)..|{...loca|
|00002f40| 6c 20 55 42 72 6f 77 73 | 65 72 4d 61 69 6e 57 69 |l UBrows|erMainWi|
|00002f50| 6e 64 6f 77 20 57 3b 0d | 0a 09 6c 6f 63 61 6c 20 |ndow W;.|..local |
|00002f60| 55 42 72 6f 77 73 65 72 | 53 75 70 65 72 73 65 74 |UBrowser|Superset|
|00002f70| 4c 69 73 74 20 6c 3b 0d | 0a 09 6c 6f 63 61 6c 20 |List l;.|..local |
|00002f80| 45 50 69 6e 67 53 74 61 | 74 65 20 50 3b 0d 0a 09 |EPingSta|te P;...|
|00002f90| 6c 6f 63 61 6c 20 69 6e | 74 20 50 65 72 63 65 6e |local in|t Percen|
|00002fa0| 74 43 6f 6d 70 6c 65 74 | 65 3b 0d 0a 09 6c 6f 63 |tComplet|e;...loc|
|00002fb0| 61 6c 20 69 6e 74 20 54 | 6f 74 61 6c 52 65 74 75 |al int T|otalRetu|
|00002fc0| 72 6e 65 64 53 65 72 76 | 65 72 73 3b 0d 0a 09 6c |rnedServ|ers;...l|
|00002fd0| 6f 63 61 6c 20 73 74 72 | 69 6e 67 20 45 3b 0d 0a |ocal str|ing E;..|
|00002fe0| 09 6c 6f 63 61 6c 20 69 | 6e 74 20 54 6f 74 61 6c |.local i|nt Total|
|00002ff0| 53 65 72 76 65 72 73 3b | 0d 0a 09 6c 6f 63 61 6c |Servers;|...local|
|00003000| 20 69 6e 74 20 50 69 6e | 67 65 64 53 65 72 76 65 | int Pin|gedServe|
|00003010| 72 73 3b 0d 0a 09 6c 6f | 63 61 6c 20 69 6e 74 20 |rs;...lo|cal int |
|00003020| 4d 79 53 65 72 76 65 72 | 73 3b 0d 0a 0d 0a 09 53 |MyServer|s;.....S|
|00003030| 75 70 65 72 2e 42 65 66 | 6f 72 65 50 61 69 6e 74 |uper.Bef|orePaint|
|00003040| 28 43 2c 20 58 2c 20 59 | 29 3b 0d 0a 0d 0a 09 57 |(C, X, Y|);.....W|
|00003050| 20 3d 20 55 42 72 6f 77 | 73 65 72 4d 61 69 6e 57 | = UBrow|serMainW|
|00003060| 69 6e 64 6f 77 28 47 65 | 74 50 61 72 65 6e 74 28 |indow(Ge|tParent(|
|00003070| 63 6c 61 73 73 27 55 42 | 72 6f 77 73 65 72 4d 61 |class'UB|rowserMa|
|00003080| 69 6e 57 69 6e 64 6f 77 | 27 29 29 3b 0d 0a 09 6c |inWindow|'));...l|
|00003090| 20 3d 20 55 42 72 6f 77 | 73 65 72 53 75 70 65 72 | = UBrow|serSuper|
|000030a0| 73 65 74 4c 69 73 74 28 | 53 75 70 65 72 73 65 74 |setList(|Superset|
|000030b0| 4c 69 73 74 2e 4e 65 78 | 74 29 3b 0d 0a 0d 0a 09 |List.Nex|t);.....|
|000030c0| 69 66 28 6c 20 21 3d 20 | 4e 6f 6e 65 20 26 26 20 |if(l != |None && |
|000030d0| 50 69 6e 67 53 74 61 74 | 65 20 21 3d 20 50 53 5f |PingStat|e != PS_|
|000030e0| 52 65 50 69 6e 67 69 6e | 67 29 0d 0a 09 7b 0d 0a |RePingin|g)...{..|
|000030f0| 09 09 50 20 3d 20 6c 2e | 53 75 70 65 72 73 65 74 |..P = l.|Superset|
|00003100| 57 69 6e 64 6f 77 2e 50 | 69 6e 67 53 74 61 74 65 |Window.P|ingState|
|00003110| 3b 0d 0a 09 09 50 69 6e | 67 53 74 61 74 65 20 3d |;....Pin|gState =|
|00003120| 20 50 3b 0d 0a 0d 0a 09 | 09 69 66 28 50 20 3d 3d | P;.....|.if(P ==|
|00003130| 20 50 53 5f 51 75 65 72 | 79 53 65 72 76 65 72 29 | PS_Quer|yServer)|
|00003140| 0d 0a 09 09 09 54 6f 74 | 61 6c 52 65 74 75 72 6e |.....Tot|alReturn|
|00003150| 65 64 53 65 72 76 65 72 | 73 20 3d 20 6c 2e 53 75 |edServer|s = l.Su|
|00003160| 70 65 72 73 65 74 57 69 | 6e 64 6f 77 2e 55 6e 70 |persetWi|ndow.Unp|
|00003170| 69 6e 67 65 64 4c 69 73 | 74 2e 43 6f 75 6e 74 28 |ingedLis|t.Count(|
|00003180| 29 3b 0d 0a 0d 0a 09 09 | 50 69 6e 67 65 64 53 65 |);......|PingedSe|
|00003190| 72 76 65 72 73 20 3d 20 | 6c 2e 53 75 70 65 72 73 |rvers = |l.Supers|
|000031a0| 65 74 57 69 6e 64 6f 77 | 2e 50 69 6e 67 65 64 4c |etWindow|.PingedL|
|000031b0| 69 73 74 2e 43 6f 75 6e | 74 28 29 3b 0d 0a 09 09 |ist.Coun|t();....|
|000031c0| 54 6f 74 61 6c 53 65 72 | 76 65 72 73 20 3d 20 6c |TotalSer|vers = l|
|000031d0| 2e 53 75 70 65 72 73 65 | 74 57 69 6e 64 6f 77 2e |.Superse|tWindow.|
|000031e0| 55 6e 70 69 6e 67 65 64 | 4c 69 73 74 2e 43 6f 75 |Unpinged|List.Cou|
|000031f0| 6e 74 28 29 20 2b 20 50 | 69 6e 67 65 64 53 65 72 |nt() + P|ingedSer|
|00003200| 76 65 72 73 3b 0d 0a 09 | 09 4d 79 53 65 72 76 65 |vers;...|.MyServe|
|00003210| 72 73 20 3d 20 50 69 6e | 67 65 64 4c 69 73 74 2e |rs = Pin|gedList.|
|00003220| 43 6f 75 6e 74 28 29 3b | 0d 0a 09 0d 0a 09 09 45 |Count();|.......E|
|00003230| 20 3d 20 6c 2e 53 75 70 | 65 72 73 65 74 57 69 6e | = l.Sup|ersetWin|
|00003240| 64 6f 77 2e 45 72 72 6f | 72 53 74 72 69 6e 67 3b |dow.Erro|rString;|
|00003250| 0d 0a 09 7d 0d 0a 09 65 | 6c 73 65 0d 0a 09 7b 0d |...}...e|lse...{.|
|00003260| 0a 09 09 50 20 3d 20 50 | 69 6e 67 53 74 61 74 65 |...P = P|ingState|
|00003270| 3b 0d 0a 09 09 69 66 28 | 50 20 3d 3d 20 50 53 5f |;....if(|P == PS_|
|00003280| 51 75 65 72 79 53 65 72 | 76 65 72 29 0d 0a 09 09 |QuerySer|ver)....|
|00003290| 09 54 6f 74 61 6c 52 65 | 74 75 72 6e 65 64 53 65 |.TotalRe|turnedSe|
|000032a0| 72 76 65 72 73 20 3d 20 | 55 6e 70 69 6e 67 65 64 |rvers = |Unpinged|
|000032b0| 4c 69 73 74 2e 43 6f 75 | 6e 74 28 29 3b 0d 0a 0d |List.Cou|nt();...|
|000032c0| 0a 09 09 50 69 6e 67 65 | 64 53 65 72 76 65 72 73 |...Pinge|dServers|
|000032d0| 20 3d 20 50 69 6e 67 65 | 64 4c 69 73 74 2e 43 6f | = Pinge|dList.Co|
|000032e0| 75 6e 74 28 29 3b 0d 0a | 09 09 54 6f 74 61 6c 53 |unt();..|..TotalS|
|000032f0| 65 72 76 65 72 73 20 3d | 20 55 6e 70 69 6e 67 65 |ervers =| Unpinge|
|00003300| 64 4c 69 73 74 2e 43 6f | 75 6e 74 28 29 20 2b 20 |dList.Co|unt() + |
|00003310| 50 69 6e 67 65 64 53 65 | 72 76 65 72 73 3b 0d 0a |PingedSe|rvers;..|
|00003320| 09 09 4d 79 53 65 72 76 | 65 72 73 20 3d 20 50 69 |..MyServ|ers = Pi|
|00003330| 6e 67 65 64 4c 69 73 74 | 2e 43 6f 75 6e 74 28 29 |ngedList|.Count()|
|00003340| 3b 0d 0a 0d 0a 09 09 45 | 20 3d 20 45 72 72 6f 72 |;......E| = Error|
|00003350| 53 74 72 69 6e 67 3b 0d | 0a 09 7d 0d 0a 0d 0a 09 |String;.|..}.....|
|00003360| 69 66 28 54 6f 74 61 6c | 53 65 72 76 65 72 73 20 |if(Total|Servers |
|00003370| 3e 20 30 29 0d 0a 09 09 | 50 65 72 63 65 6e 74 43 |> 0)....|PercentC|
|00003380| 6f 6d 70 6c 65 74 65 20 | 3d 20 50 69 6e 67 65 64 |omplete |= Pinged|
|00003390| 53 65 72 76 65 72 73 2a | 31 30 30 2e 30 2f 54 6f |Servers*|100.0/To|
|000033a0| 74 61 6c 53 65 72 76 65 | 72 73 3b 0d 0a 0d 0a 09 |talServe|rs;.....|
|000033b0| 73 77 69 74 63 68 28 50 | 29 0d 0a 09 7b 0d 0a 09 |switch(P|)...{...|
|000033c0| 63 61 73 65 20 50 53 5f | 51 75 65 72 79 53 65 72 |case PS_|QuerySer|
|000033d0| 76 65 72 3a 0d 0a 09 09 | 69 66 28 54 6f 74 61 6c |ver:....|if(Total|
|000033e0| 52 65 74 75 72 6e 65 64 | 53 65 72 76 65 72 73 20 |Returned|Servers |
|000033f0| 3e 20 30 29 0d 0a 09 09 | 09 57 2e 44 65 66 61 75 |> 0)....|.W.Defau|
|00003400| 6c 74 53 74 61 74 75 73 | 42 61 72 54 65 78 74 28 |ltStatus|BarText(|
|00003410| 51 75 65 72 79 53 65 72 | 76 65 72 54 65 78 74 24 |QuerySer|verText$|
|00003420| 22 20 28 22 24 53 65 72 | 76 65 72 43 6f 75 6e 74 |" ("$Ser|verCount|
|00003430| 4c 65 61 64 65 72 24 54 | 6f 74 61 6c 52 65 74 75 |Leader$T|otalRetu|
|00003440| 72 6e 65 64 53 65 72 76 | 65 72 73 24 22 20 22 24 |rnedServ|ers$" "$|
|00003450| 53 65 72 76 65 72 43 6f | 75 6e 74 4e 61 6d 65 24 |ServerCo|untName$|
|00003460| 22 29 22 29 3b 0d 0a 09 | 09 65 6c 73 65 0d 0a 09 |")");...|.else...|
|00003470| 09 09 57 2e 44 65 66 61 | 75 6c 74 53 74 61 74 75 |..W.Defa|ultStatu|
|00003480| 73 42 61 72 54 65 78 74 | 28 51 75 65 72 79 53 65 |sBarText|(QuerySe|
|00003490| 72 76 65 72 54 65 78 74 | 29 3b 0d 0a 09 09 62 72 |rverText|);....br|
|000034a0| 65 61 6b 3b 0d 0a 09 63 | 61 73 65 20 50 53 5f 51 |eak;...c|ase PS_Q|
|000034b0| 75 65 72 79 46 61 69 6c | 65 64 3a 0d 0a 09 09 57 |ueryFail|ed:....W|
|000034c0| 2e 44 65 66 61 75 6c 74 | 53 74 61 74 75 73 42 61 |.Default|StatusBa|
|000034d0| 72 54 65 78 74 28 51 75 | 65 72 79 46 61 69 6c 65 |rText(Qu|eryFaile|
|000034e0| 64 54 65 78 74 24 45 29 | 3b 0d 0a 09 09 62 72 65 |dText$E)|;....bre|
|000034f0| 61 6b 3b 0d 0a 09 63 61 | 73 65 20 50 53 5f 50 69 |ak;...ca|se PS_Pi|
|00003500| 6e 67 69 6e 67 3a 0d 0a | 09 63 61 73 65 20 50 53 |nging:..|.case PS|
|00003510| 5f 52 65 50 69 6e 67 69 | 6e 67 3a 0d 0a 09 09 57 |_RePingi|ng:....W|
|00003520| 2e 44 65 66 61 75 6c 74 | 53 74 61 74 75 73 42 61 |.Default|StatusBa|
|00003530| 72 54 65 78 74 28 50 69 | 6e 67 69 6e 67 54 65 78 |rText(Pi|ngingTex|
|00003540| 74 24 22 20 22 24 50 65 | 72 63 65 6e 74 43 6f 6d |t$" "$Pe|rcentCom|
|00003550| 70 6c 65 74 65 24 22 25 | 20 22 24 43 6f 6d 70 6c |plete$"%| "$Compl|
|00003560| 65 74 65 54 65 78 74 24 | 22 2e 20 22 24 53 65 72 |eteText$|". "$Ser|
|00003570| 76 65 72 43 6f 75 6e 74 | 4c 65 61 64 65 72 24 4d |verCount|Leader$M|
|00003580| 79 53 65 72 76 65 72 73 | 24 22 20 22 24 53 65 72 |yServers|$" "$Ser|
|00003590| 76 65 72 43 6f 75 6e 74 | 4e 61 6d 65 24 22 2c 20 |verCount|Name$", |
|000035a0| 22 24 50 6c 61 79 65 72 | 43 6f 75 6e 74 4c 65 61 |"$Player|CountLea|
|000035b0| 64 65 72 24 50 69 6e 67 | 65 64 4c 69 73 74 2e 54 |der$Ping|edList.T|
|000035c0| 6f 74 61 6c 50 6c 61 79 | 65 72 73 24 22 20 22 24 |otalPlay|ers$" "$|
|000035d0| 50 6c 61 79 65 72 43 6f | 75 6e 74 4e 61 6d 65 29 |PlayerCo|untName)|
|000035e0| 3b 0d 0a 09 09 62 72 65 | 61 6b 3b 0d 0a 09 63 61 |;....bre|ak;...ca|
|000035f0| 73 65 20 50 53 5f 44 6f | 6e 65 3a 0d 0a 09 09 57 |se PS_Do|ne:....W|
|00003600| 2e 44 65 66 61 75 6c 74 | 53 74 61 74 75 73 42 61 |.Default|StatusBa|
|00003610| 72 54 65 78 74 28 53 65 | 72 76 65 72 43 6f 75 6e |rText(Se|rverCoun|
|00003620| 74 4c 65 61 64 65 72 24 | 4d 79 53 65 72 76 65 72 |tLeader$|MyServer|
|00003630| 73 24 22 20 22 24 53 65 | 72 76 65 72 43 6f 75 6e |s$" "$Se|rverCoun|
|00003640| 74 4e 61 6d 65 24 22 2c | 20 22 24 50 6c 61 79 65 |tName$",| "$Playe|
|00003650| 72 43 6f 75 6e 74 4c 65 | 61 64 65 72 24 50 69 6e |rCountLe|ader$Pin|
|00003660| 67 65 64 4c 69 73 74 2e | 54 6f 74 61 6c 50 6c 61 |gedList.|TotalPla|
|00003670| 79 65 72 73 24 22 20 22 | 24 50 6c 61 79 65 72 43 |yers$" "|$PlayerC|
|00003680| 6f 75 6e 74 4e 61 6d 65 | 29 3b 0d 0a 09 09 62 72 |ountName|);....br|
|00003690| 65 61 6b 3b 0d 0a 09 7d | 0d 0a 7d 0d 0a 0d 0a 00 |eak;...}|..}.....|
+--------+-------------------------+-------------------------+--------+--------+