home *** CD-ROM | disk | FTP | other *** search
/ InterCD 2000 February / february_2000.iso / games / WoTDemo / System / UBrowser.u / UBrowserServerList_UBrowserServerListWindow_ScriptText.TextBuffer < prev    next >
Unknown  |  1999-11-08  |  13.4 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 d6 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 0d 0a 76 61 |..bHidde|n;....va|
|00000150| 72 20 73 74 72 69 6e 67 | 09 09 09 09 09 09 53 65 |r string|......Se|
|00000160| 72 76 65 72 4c 69 73 74 | 43 6c 61 73 73 4e 61 6d |rverList|ClassNam|
|00000170| 65 3b 0d 0a 76 61 72 20 | 63 6c 61 73 73 3c 55 42 |e;..var |class<UB|
|00000180| 72 6f 77 73 65 72 53 65 | 72 76 65 72 4c 69 73 74 |rowserSe|rverList|
|00000190| 3e 09 53 65 72 76 65 72 | 4c 69 73 74 43 6c 61 73 |>.Server|ListClas|
|000001a0| 73 3b 0d 0a 0d 0a 76 61 | 72 20 55 42 72 6f 77 73 |s;....va|r UBrows|
|000001b0| 65 72 53 65 72 76 65 72 | 4c 69 73 74 09 09 09 50 |erServer|List...P|
|000001c0| 69 6e 67 65 64 4c 69 73 | 74 3b 0d 0a 76 61 72 20 |ingedLis|t;..var |
|000001d0| 55 42 72 6f 77 73 65 72 | 53 65 72 76 65 72 4c 69 |UBrowser|ServerLi|
|000001e0| 73 74 09 09 09 55 6e 70 | 69 6e 67 65 64 4c 69 73 |st...Unp|ingedLis|
|000001f0| 74 3b 0d 0a 0d 0a 76 61 | 72 20 55 42 72 6f 77 73 |t;....va|r UBrows|
|00000200| 65 72 53 65 72 76 65 72 | 4c 69 73 74 46 61 63 74 |erServer|ListFact|
|00000210| 6f 72 79 09 46 61 63 74 | 6f 72 69 65 73 5b 31 30 |ory.Fact|ories[10|
|00000220| 5d 3b 0d 0a 76 61 72 20 | 69 6e 74 09 09 09 09 09 |];..var |int.....|
|00000230| 09 09 51 75 65 72 79 44 | 6f 6e 65 5b 31 30 5d 3b |..QueryD|one[10];|
|00000240| 0d 0a 76 61 72 20 55 42 | 72 6f 77 73 65 72 53 65 |..var UB|rowserSe|
|00000250| 72 76 65 72 47 72 69 64 | 09 09 09 47 72 69 64 3b |rverGrid|...Grid;|
|00000260| 0d 0a 76 61 72 20 73 74 | 72 69 6e 67 09 09 09 09 |..var st|ring....|
|00000270| 09 09 47 72 69 64 43 6c | 61 73 73 3b 0d 0a 76 61 |..GridCl|ass;..va|
|00000280| 72 20 66 6c 6f 61 74 09 | 09 09 09 09 09 54 69 6d |r float.|.....Tim|
|00000290| 65 45 6c 61 70 73 65 64 | 3b 0d 0a 76 61 72 20 62 |eElapsed|;..var b|
|000002a0| 6f 6f 6c 09 09 09 09 09 | 09 62 50 69 6e 67 53 75 |ool.....|.bPingSu|
|000002b0| 73 70 65 6e 64 3b 0d 0a | 76 61 72 20 62 6f 6f 6c |spend;..|var bool|
|000002c0| 09 09 09 09 09 09 62 50 | 69 6e 67 52 65 73 75 6d |......bP|ingResum|
|000002d0| 65 3b 0d 0a 76 61 72 20 | 62 6f 6f 6c 09 09 09 09 |e;..var |bool....|
|000002e0| 09 09 62 50 69 6e 67 52 | 65 73 75 6d 65 49 6e 74 |..bPingR|esumeInt|
|000002f0| 69 61 6c 3b 0d 0a 76 61 | 72 20 62 6f 6f 6c 09 09 |ial;..va|r bool..|
|00000300| 09 09 09 09 62 4e 6f 53 | 6f 72 74 3b 0d 0a 76 61 |....bNoS|ort;..va|
|00000310| 72 20 62 6f 6f 6c 09 09 | 09 09 09 09 62 53 75 73 |r bool..|....bSus|
|00000320| 70 65 6e 64 50 69 6e 67 | 4f 6e 43 6c 6f 73 65 3b |pendPing|OnClose;|
|00000330| 0d 0a 76 61 72 20 55 42 | 72 6f 77 73 65 72 53 75 |..var UB|rowserSu|
|00000340| 62 73 65 74 4c 69 73 74 | 09 09 09 53 75 62 73 65 |bsetList|...Subse|
|00000350| 74 4c 69 73 74 3b 0d 0a | 76 61 72 20 55 42 72 6f |tList;..|var UBro|
|00000360| 77 73 65 72 53 75 70 65 | 72 73 65 74 4c 69 73 74 |wserSupe|rsetList|
|00000370| 09 09 53 75 70 65 72 73 | 65 74 4c 69 73 74 3b 0d |..Supers|etList;.|
|00000380| 0a 76 61 72 20 63 6c 61 | 73 73 3c 55 42 72 6f 77 |.var cla|ss<UBrow|
|00000390| 73 65 72 52 69 67 68 74 | 43 6c 69 63 6b 4d 65 6e |serRight|ClickMen|
|000003a0| 75 3e 09 52 69 67 68 74 | 43 6c 69 63 6b 4d 65 6e |u>.Right|ClickMen|
|000003b0| 75 43 6c 61 73 73 3b 0d | 0a 76 61 72 20 62 6f 6f |uClass;.|.var boo|
|000003c0| 6c 09 09 09 09 09 09 62 | 53 68 6f 77 46 61 69 6c |l......b|ShowFail|
|000003d0| 65 64 53 65 72 76 65 72 | 73 3b 0d 0a 76 61 72 20 |edServer|s;..var |
|000003e0| 62 6f 6f 6c 09 09 09 09 | 09 09 62 48 61 64 49 6e |bool....|..bHadIn|
|000003f0| 69 74 69 61 6c 52 65 66 | 72 65 73 68 3b 0d 0a 0d |itialRef|resh;...|
|00000400| 0a 76 61 72 20 55 57 69 | 6e 64 6f 77 56 53 70 6c |.var UWi|ndowVSpl|
|00000410| 69 74 74 65 72 09 09 09 | 56 53 70 6c 69 74 74 65 |itter...|VSplitte|
|00000420| 72 3b 0d 0a 76 61 72 20 | 55 42 72 6f 77 73 65 72 |r;..var |UBrowser|
|00000430| 49 6e 66 6f 57 69 6e 64 | 6f 77 09 09 09 49 6e 66 |InfoWind|ow...Inf|
|00000440| 6f 57 69 6e 64 6f 77 3b | 0d 0a 76 61 72 20 55 42 |oWindow;|..var UB|
|00000450| 72 6f 77 73 65 72 49 6e | 66 6f 43 6c 69 65 6e 74 |rowserIn|foClient|
|00000460| 57 69 6e 64 6f 77 09 49 | 6e 66 6f 43 6c 69 65 6e |Window.I|nfoClien|
|00000470| 74 3b 0d 0a 76 61 72 20 | 55 42 72 6f 77 73 65 72 |t;..var |UBrowser|
|00000480| 53 65 72 76 65 72 4c 69 | 73 74 09 09 09 49 6e 66 |ServerLi|st...Inf|
|00000490| 6f 49 74 65 6d 3b 0d 0a | 76 61 72 20 6c 6f 63 61 |oItem;..|var loca|
|000004a0| 6c 69 7a 65 64 20 73 74 | 72 69 6e 67 09 09 09 49 |lized st|ring...I|
|000004b0| 6e 66 6f 4e 61 6d 65 3b | 0d 0a 0d 0a 63 6f 6e 73 |nfoName;|....cons|
|000004c0| 74 20 4d 69 6e 48 65 69 | 67 68 74 46 6f 72 53 70 |t MinHei|ghtForSp|
|000004d0| 6c 69 74 74 65 72 20 3d | 20 33 38 34 3b 0d 0a 0d |litter =| 384;...|
|000004e0| 0a 2f 2f 20 53 74 61 74 | 75 73 20 69 6e 66 6f 0d |.// Stat|us info.|
|000004f0| 0a 65 6e 75 6d 20 45 50 | 69 6e 67 53 74 61 74 65 |.enum EP|ingState|
|00000500| 0d 0a 7b 0d 0a 09 50 53 | 5f 51 75 65 72 79 53 65 |..{...PS|_QuerySe|
|00000510| 72 76 65 72 2c 0d 0a 09 | 50 53 5f 51 75 65 72 79 |rver,...|PS_Query|
|00000520| 46 61 69 6c 65 64 2c 0d | 0a 09 50 53 5f 50 69 6e |Failed,.|..PS_Pin|
|00000530| 67 69 6e 67 2c 0d 0a 09 | 50 53 5f 52 65 50 69 6e |ging,...|PS_RePin|
|00000540| 67 69 6e 67 2c 0d 0a 09 | 50 53 5f 44 6f 6e 65 0d |ging,...|PS_Done.|
|00000550| 0a 7d 3b 0d 0a 0d 0a 76 | 61 72 20 6c 6f 63 61 6c |.};....v|ar local|
|00000560| 69 7a 65 64 20 73 74 72 | 69 6e 67 09 09 09 50 6c |ized str|ing...Pl|
|00000570| 61 79 65 72 43 6f 75 6e | 74 4e 61 6d 65 3b 0d 0a |ayerCoun|tName;..|
|00000580| 76 61 72 20 6c 6f 63 61 | 6c 69 7a 65 64 20 73 74 |var loca|lized st|
|00000590| 72 69 6e 67 09 09 09 53 | 65 72 76 65 72 43 6f 75 |ring...S|erverCou|
|000005a0| 6e 74 4e 61 6d 65 3b 0d | 0a 76 61 72 09 6c 6f 63 |ntName;.|.var.loc|
|000005b0| 61 6c 69 7a 65 64 20 73 | 74 72 69 6e 67 09 09 09 |alized s|tring...|
|000005c0| 51 75 65 72 79 53 65 72 | 76 65 72 54 65 78 74 3b |QuerySer|verText;|
|000005d0| 0d 0a 76 61 72 09 6c 6f | 63 61 6c 69 7a 65 64 20 |..var.lo|calized |
|000005e0| 73 74 72 69 6e 67 09 09 | 09 51 75 65 72 79 46 61 |string..|.QueryFa|
|000005f0| 69 6c 65 64 54 65 78 74 | 3b 0d 0a 76 61 72 09 6c |iledText|;..var.l|
|00000600| 6f 63 61 6c 69 7a 65 64 | 20 73 74 72 69 6e 67 09 |ocalized| string.|
|00000610| 09 09 50 69 6e 67 69 6e | 67 54 65 78 74 3b 0d 0a |..Pingin|gText;..|
|00000620| 76 61 72 09 6c 6f 63 61 | 6c 69 7a 65 64 20 73 74 |var.loca|lized st|
|00000630| 72 69 6e 67 09 09 09 43 | 6f 6d 70 6c 65 74 65 54 |ring...C|ompleteT|
|00000640| 65 78 74 3b 0d 0a 0d 0a | 76 61 72 20 73 74 72 69 |ext;....|var stri|
|00000650| 6e 67 09 09 09 09 09 09 | 45 72 72 6f 72 53 74 72 |ng......|ErrorStr|
|00000660| 69 6e 67 3b 0d 0a 76 61 | 72 20 45 50 69 6e 67 53 |ing;..va|r EPingS|
|00000670| 74 61 74 65 09 09 09 09 | 09 50 69 6e 67 53 74 61 |tate....|.PingSta|
|00000680| 74 65 3b 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |te;....f|unction |
|00000690| 57 69 6e 64 6f 77 53 68 | 6f 77 6e 28 29 0d 0a 7b |WindowSh|own()..{|
|000006a0| 0d 0a 09 6c 6f 63 61 6c | 20 55 42 72 6f 77 73 65 |...local| UBrowse|
|000006b0| 72 53 75 70 65 72 73 65 | 74 4c 69 73 74 20 6c 3b |rSuperse|tList l;|
|000006c0| 0d 0a 0d 0a 09 53 75 70 | 65 72 2e 57 69 6e 64 6f |.....Sup|er.Windo|
|000006d0| 77 53 68 6f 77 6e 28 29 | 3b 0d 0a 09 69 66 28 56 |wShown()|;...if(V|
|000006e0| 53 70 6c 69 74 74 65 72 | 2e 62 57 69 6e 64 6f 77 |Splitter|.bWindow|
|000006f0| 56 69 73 69 62 6c 65 29 | 0d 0a 09 7b 0d 0a 09 09 |Visible)|...{....|
|00000700| 69 66 28 55 57 69 6e 64 | 6f 77 56 53 70 6c 69 74 |if(UWind|owVSplit|
|00000710| 74 65 72 28 49 6e 66 6f | 43 6c 69 65 6e 74 2e 50 |ter(Info|Client.P|
|00000720| 61 72 65 6e 74 57 69 6e | 64 6f 77 29 20 21 3d 20 |arentWin|dow) != |
|00000730| 4e 6f 6e 65 29 0d 0a 09 | 09 09 56 53 70 6c 69 74 |None)...|..VSplit|
|00000740| 74 65 72 2e 53 70 6c 69 | 74 50 6f 73 20 3d 20 55 |ter.Spli|tPos = U|
|00000750| 57 69 6e 64 6f 77 56 53 | 70 6c 69 74 74 65 72 28 |WindowVS|plitter(|
|00000760| 49 6e 66 6f 43 6c 69 65 | 6e 74 2e 50 61 72 65 6e |InfoClie|nt.Paren|
|00000770| 74 57 69 6e 64 6f 77 29 | 2e 53 70 6c 69 74 50 6f |tWindow)|.SplitPo|
|00000780| 73 3b 0d 0a 0d 0a 09 09 | 49 6e 66 6f 43 6c 69 65 |s;......|InfoClie|
|00000790| 6e 74 2e 53 65 74 50 61 | 72 65 6e 74 28 56 53 70 |nt.SetPa|rent(VSp|
|000007a0| 6c 69 74 74 65 72 29 3b | 0d 0a 09 7d 0d 0a 0d 0a |litter);|...}....|
|000007b0| 09 49 6e 66 6f 43 6c 69 | 65 6e 74 2e 53 65 72 76 |.InfoCli|ent.Serv|
|000007c0| 65 72 20 3d 20 49 6e 66 | 6f 49 74 65 6d 3b 0d 0a |er = Inf|oItem;..|
|000007d0| 09 69 66 28 49 6e 66 6f | 49 74 65 6d 20 21 3d 20 |.if(Info|Item != |
|000007e0| 4e 6f 6e 65 29 0d 0a 09 | 09 49 6e 66 6f 57 69 6e |None)...|.InfoWin|
|000007f0| 64 6f 77 2e 57 69 6e 64 | 6f 77 54 69 74 6c 65 20 |dow.Wind|owTitle |
|00000800| 3d 20 49 6e 66 6f 4e 61 | 6d 65 24 22 20 2d 20 22 |= InfoNa|me$" - "|
|00000810| 24 49 6e 66 6f 49 74 65 | 6d 2e 48 6f 73 74 4e 61 |$InfoIte|m.HostNa|
|00000820| 6d 65 3b 0d 0a 09 65 6c | 73 65 0d 0a 09 09 49 6e |me;...el|se....In|
|00000830| 66 6f 57 69 6e 64 6f 77 | 2e 57 69 6e 64 6f 77 54 |foWindow|.WindowT|
|00000840| 69 74 6c 65 20 3d 20 49 | 6e 66 6f 4e 61 6d 65 3b |itle = I|nfoName;|
|00000850| 0d 0a 0d 0a 09 52 65 73 | 75 6d 65 50 69 6e 67 69 |.....Res|umePingi|
|00000860| 6e 67 28 29 3b 0d 0a 0d | 0a 09 66 6f 72 28 6c 20 |ng();...|..for(l |
|00000870| 3d 20 55 42 72 6f 77 73 | 65 72 53 75 70 65 72 73 |= UBrows|erSupers|
|00000880| 65 74 4c 69 73 74 28 53 | 75 70 65 72 73 65 74 4c |etList(S|upersetL|
|00000890| 69 73 74 2e 4e 65 78 74 | 29 3b 20 6c 20 21 3d 20 |ist.Next|); l != |
|000008a0| 4e 6f 6e 65 3b 20 6c 20 | 3d 20 55 42 72 6f 77 73 |None; l |= UBrows|
|000008b0| 65 72 53 75 70 65 72 73 | 65 74 4c 69 73 74 28 6c |erSupers|etList(l|
|000008c0| 2e 4e 65 78 74 29 29 0d | 0a 09 09 6c 2e 53 75 70 |.Next)).|...l.Sup|
|000008d0| 65 72 53 65 74 57 69 6e | 64 6f 77 2e 52 65 73 75 |erSetWin|dow.Resu|
|000008e0| 6d 65 50 69 6e 67 69 6e | 67 28 29 3b 0d 0a 7d 0d |mePingin|g();..}.|
|000008f0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 57 69 6e 64 |...funct|ion Wind|
|00000900| 6f 77 48 69 64 64 65 6e | 28 29 0d 0a 7b 0d 0a 09 |owHidden|()..{...|
|00000910| 6c 6f 63 61 6c 20 55 42 | 72 6f 77 73 65 72 53 75 |local UB|rowserSu|
|00000920| 70 65 72 73 65 74 4c 69 | 73 74 20 6c 3b 0d 0a 0d |persetLi|st l;...|
|00000930| 0a 09 53 75 70 65 72 2e | 57 69 6e 64 6f 77 48 69 |..Super.|WindowHi|
|00000940| 64 64 65 6e 28 29 3b 0d | 0a 09 53 75 73 70 65 6e |dden();.|..Suspen|
|00000950| 64 50 69 6e 67 69 6e 67 | 28 29 3b 0d 0a 0d 0a 09 |dPinging|();.....|
|00000960| 66 6f 72 28 6c 20 3d 20 | 55 42 72 6f 77 73 65 72 |for(l = |UBrowser|
|00000970| 53 75 70 65 72 73 65 74 | 4c 69 73 74 28 53 75 70 |Superset|List(Sup|
|00000980| 65 72 73 65 74 4c 69 73 | 74 2e 4e 65 78 74 29 3b |ersetLis|t.Next);|
|00000990| 20 6c 20 21 3d 20 4e 6f | 6e 65 3b 20 6c 20 3d 20 | l != No|ne; l = |
|000009a0| 55 42 72 6f 77 73 65 72 | 53 75 70 65 72 73 65 74 |UBrowser|Superset|
|000009b0| 4c 69 73 74 28 6c 2e 4e | 65 78 74 29 29 0d 0a 09 |List(l.N|ext))...|
|000009c0| 09 6c 2e 53 75 70 65 72 | 53 65 74 57 69 6e 64 6f |.l.Super|SetWindo|
|000009d0| 77 2e 53 75 73 70 65 6e | 64 50 69 6e 67 69 6e 67 |w.Suspen|dPinging|
|000009e0| 28 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |();..}..|..functi|
|000009f0| 6f 6e 20 53 75 73 70 65 | 6e 64 50 69 6e 67 69 6e |on Suspe|ndPingin|
|00000a00| 67 28 29 0d 0a 7b 0d 0a | 09 69 66 28 62 53 75 73 |g()..{..|.if(bSus|
|00000a10| 70 65 6e 64 50 69 6e 67 | 4f 6e 43 6c 6f 73 65 29 |pendPing|OnClose)|
|00000a20| 0d 0a 09 09 62 50 69 6e | 67 53 75 73 70 65 6e 64 |....bPin|gSuspend|
|00000a30| 20 3d 20 54 72 75 65 3b | 0d 0a 7d 0d 0a 0d 0a 66 | = True;|..}....f|
|00000a40| 75 6e 63 74 69 6f 6e 20 | 52 65 73 75 6d 65 50 69 |unction |ResumePi|
|00000a50| 6e 67 69 6e 67 28 29 0d | 0a 7b 0d 0a 09 69 66 28 |nging().|.{...if(|
|00000a60| 21 62 48 61 64 49 6e 69 | 74 69 61 6c 52 65 66 72 |!bHadIni|tialRefr|
|00000a70| 65 73 68 29 0d 0a 09 09 | 52 65 66 72 65 73 68 28 |esh)....|Refresh(|
|00000a80| 46 61 6c 73 65 2c 20 54 | 72 75 65 29 3b 09 0d 0a |False, T|rue);...|
|00000a90| 0d 0a 09 62 50 69 6e 67 | 53 75 73 70 65 6e 64 20 |...bPing|Suspend |
|00000aa0| 3d 20 46 61 6c 73 65 3b | 0d 0a 09 69 66 28 62 50 |= False;|...if(bP|
|00000ab0| 69 6e 67 52 65 73 75 6d | 65 29 0d 0a 09 7b 0d 0a |ingResum|e)...{..|
|00000ac0| 09 09 62 50 69 6e 67 52 | 65 73 75 6d 65 20 3d 20 |..bPingR|esume = |
|00000ad0| 46 61 6c 73 65 3b 0d 0a | 09 09 55 6e 70 69 6e 67 |False;..|..Unping|
|00000ae0| 65 64 4c 69 73 74 2e 50 | 69 6e 67 4e 65 78 74 28 |edList.P|ingNext(|
|00000af0| 62 50 69 6e 67 52 65 73 | 75 6d 65 49 6e 74 69 61 |bPingRes|umeIntia|
|00000b00| 6c 2c 20 62 4e 6f 53 6f | 72 74 29 3b 0d 0a 09 7d |l, bNoSo|rt);...}|
|00000b10| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00000b20| 43 72 65 61 74 65 64 28 | 29 0d 0a 7b 0d 0a 09 6c |Created(|)..{...l|
|00000b30| 6f 63 61 6c 20 43 6c 61 | 73 73 3c 55 42 72 6f 77 |ocal Cla|ss<UBrow|
|00000b40| 73 65 72 53 65 72 76 65 | 72 47 72 69 64 3e 20 43 |serServe|rGrid> C|
|00000b50| 3b 0d 0a 09 0d 0a 09 53 | 65 72 76 65 72 4c 69 73 |;......S|erverLis|
|00000b60| 74 43 6c 61 73 73 20 3d | 20 63 6c 61 73 73 3c 55 |tClass =| class<U|
|00000b70| 42 72 6f 77 73 65 72 53 | 65 72 76 65 72 4c 69 73 |BrowserS|erverLis|
|00000b80| 74 3e 28 44 79 6e 61 6d | 69 63 4c 6f 61 64 4f 62 |t>(Dynam|icLoadOb|
|00000b90| 6a 65 63 74 28 53 65 72 | 76 65 72 4c 69 73 74 43 |ject(Ser|verListC|
|00000ba0| 6c 61 73 73 4e 61 6d 65 | 2c 20 63 6c 61 73 73 27 |lassName|, class'|
|00000bb0| 43 6c 61 73 73 27 29 29 | 3b 0d 0a 09 43 20 3d 20 |Class'))|;...C = |
|00000bc0| 63 6c 61 73 73 3c 55 42 | 72 6f 77 73 65 72 53 65 |class<UB|rowserSe|
|00000bd0| 72 76 65 72 47 72 69 64 | 3e 28 44 79 6e 61 6d 69 |rverGrid|>(Dynami|
|00000be0| 63 4c 6f 61 64 4f 62 6a | 65 63 74 28 47 72 69 64 |cLoadObj|ect(Grid|
|00000bf0| 43 6c 61 73 73 2c 20 63 | 6c 61 73 73 27 43 6c 61 |Class, c|lass'Cla|
|00000c00| 73 73 27 29 29 3b 0d 0a | 09 47 72 69 64 20 3d 20 |ss'));..|.Grid = |
|00000c10| 55 42 72 6f 77 73 65 72 | 53 65 72 76 65 72 47 72 |UBrowser|ServerGr|
|00000c20| 69 64 28 43 72 65 61 74 | 65 57 69 6e 64 6f 77 28 |id(Creat|eWindow(|
|00000c30| 43 2c 20 30 2c 20 30 2c | 20 57 69 6e 57 69 64 74 |C, 0, 0,| WinWidt|
|00000c40| 68 2c 20 57 69 6e 48 65 | 69 67 68 74 29 29 3b 0d |h, WinHe|ight));.|
|00000c50| 0a 09 47 72 69 64 2e 53 | 65 74 41 63 63 65 70 74 |..Grid.S|etAccept|
|00000c60| 73 46 6f 63 75 73 28 29 | 3b 0d 0a 0d 0a 09 53 75 |sFocus()|;.....Su|
|00000c70| 62 73 65 74 4c 69 73 74 | 20 3d 20 6e 65 77 20 63 |bsetList| = new c|
|00000c80| 6c 61 73 73 27 55 42 72 | 6f 77 73 65 72 53 75 62 |lass'UBr|owserSub|
|00000c90| 73 65 74 4c 69 73 74 27 | 3b 0d 0a 09 53 75 62 73 |setList'|;...Subs|
|00000ca0| 65 74 4c 69 73 74 2e 53 | 65 74 75 70 53 65 6e 74 |etList.S|etupSent|
|00000cb0| 69 6e 65 6c 28 29 3b 0d | 0a 0d 0a 09 53 75 70 65 |inel();.|....Supe|
|00000cc0| 72 73 65 74 4c 69 73 74 | 20 3d 20 6e 65 77 20 63 |rsetList| = new c|
|00000cd0| 6c 61 73 73 27 55 42 72 | 6f 77 73 65 72 53 75 70 |lass'UBr|owserSup|
|00000ce0| 65 72 73 65 74 4c 69 73 | 74 27 3b 0d 0a 09 53 75 |ersetLis|t';...Su|
|00000cf0| 70 65 72 73 65 74 4c 69 | 73 74 2e 53 65 74 75 70 |persetLi|st.Setup|
|00000d00| 53 65 6e 74 69 6e 65 6c | 28 29 3b 0d 0a 0d 0a 09 |Sentinel|();.....|
|00000d10| 56 53 70 6c 69 74 74 65 | 72 20 3d 20 55 57 69 6e |VSplitte|r = UWin|
|00000d20| 64 6f 77 56 53 70 6c 69 | 74 74 65 72 28 43 72 65 |dowVSpli|tter(Cre|
|00000d30| 61 74 65 57 69 6e 64 6f | 77 28 63 6c 61 73 73 27 |ateWindo|w(class'|
|00000d40| 55 57 69 6e 64 6f 77 56 | 53 70 6c 69 74 74 65 72 |UWindowV|Splitter|
|00000d50| 27 2c 20 30 2c 20 30 2c | 20 57 69 6e 57 69 64 74 |', 0, 0,| WinWidt|
|00000d60| 68 2c 20 57 69 6e 48 65 | 69 67 68 74 29 29 3b 0d |h, WinHe|ight));.|
|00000d70| 0a 09 56 53 70 6c 69 74 | 74 65 72 2e 53 65 74 41 |..VSplit|ter.SetA|
|00000d80| 63 63 65 70 74 73 46 6f | 63 75 73 28 29 3b 0d 0a |cceptsFo|cus();..|
|00000d90| 09 56 53 70 6c 69 74 74 | 65 72 2e 4d 69 6e 57 69 |.VSplitt|er.MinWi|
|00000da0| 6e 48 65 69 67 68 74 20 | 3d 20 36 30 3b 0d 0a 09 |nHeight |= 60;...|
|00000db0| 56 53 70 6c 69 74 74 65 | 72 2e 48 69 64 65 57 69 |VSplitte|r.HideWi|
|00000dc0| 6e 64 6f 77 28 29 3b 0d | 0a 09 49 6e 66 6f 57 69 |ndow();.|..InfoWi|
|00000dd0| 6e 64 6f 77 20 3d 20 55 | 42 72 6f 77 73 65 72 4d |ndow = U|BrowserM|
|00000de0| 61 69 6e 43 6c 69 65 6e | 74 57 69 6e 64 6f 77 28 |ainClien|tWindow(|
|00000df0| 47 65 74 50 61 72 65 6e | 74 28 63 6c 61 73 73 27 |GetParen|t(class'|
|00000e00| 55 42 72 6f 77 73 65 72 | 4d 61 69 6e 43 6c 69 65 |UBrowser|MainClie|
|00000e10| 6e 74 57 69 6e 64 6f 77 | 27 29 29 2e 49 6e 66 6f |ntWindow|')).Info|
|00000e20| 57 69 6e 64 6f 77 3b 0d | 0a 09 49 6e 66 6f 43 6c |Window;.|..InfoCl|
|00000e30| 69 65 6e 74 20 3d 20 55 | 42 72 6f 77 73 65 72 49 |ient = U|BrowserI|
|00000e40| 6e 66 6f 43 6c 69 65 6e | 74 57 69 6e 64 6f 77 28 |nfoClien|tWindow(|
|00000e50| 49 6e 66 6f 57 69 6e 64 | 6f 77 2e 43 6c 69 65 6e |InfoWind|ow.Clien|
|00000e60| 74 41 72 65 61 29 3b 0d | 0a 0d 0a 09 69 66 28 52 |tArea);.|....if(R|
|00000e70| 6f 6f 74 2e 57 69 6e 48 | 65 69 67 68 74 20 3e 3d |oot.WinH|eight >=|
|00000e80| 20 4d 69 6e 48 65 69 67 | 68 74 46 6f 72 53 70 6c | MinHeig|htForSpl|
|00000e90| 69 74 74 65 72 29 0d 0a | 09 09 53 68 6f 77 49 6e |itter)..|..ShowIn|
|00000ea0| 66 6f 41 72 65 61 28 54 | 72 75 65 2c 20 46 61 6c |foArea(T|rue, Fal|
|00000eb0| 73 65 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |se);..}.|...funct|
|00000ec0| 69 6f 6e 20 53 68 6f 77 | 49 6e 66 6f 41 72 65 61 |ion Show|InfoArea|
|00000ed0| 28 62 6f 6f 6c 20 62 53 | 68 6f 77 2c 20 6f 70 74 |(bool bS|how, opt|
|00000ee0| 69 6f 6e 61 6c 20 62 6f | 6f 6c 20 62 46 6c 6f 61 |ional bo|ol bFloa|
|00000ef0| 74 69 6e 67 2c 20 6f 70 | 74 69 6f 6e 61 6c 20 62 |ting, op|tional b|
|00000f00| 6f 6f 6c 20 62 4e 6f 41 | 63 74 69 76 61 74 65 29 |ool bNoA|ctivate)|
|00000f10| 0d 0a 7b 0d 0a 09 69 66 | 28 62 53 68 6f 77 29 0d |..{...if|(bShow).|
|00000f20| 0a 09 7b 0d 0a 09 09 69 | 66 28 62 46 6c 6f 61 74 |..{....i|f(bFloat|
|00000f30| 69 6e 67 29 0d 0a 09 09 | 7b 0d 0a 09 09 09 56 53 |ing)....|{.....VS|
|00000f40| 70 6c 69 74 74 65 72 2e | 48 69 64 65 57 69 6e 64 |plitter.|HideWind|
|00000f50| 6f 77 28 29 3b 0d 0a 09 | 09 09 56 53 70 6c 69 74 |ow();...|..VSplit|
|00000f60| 74 65 72 2e 54 6f 70 43 | 6c 69 65 6e 74 57 69 6e |ter.TopC|lientWin|
|00000f70| 64 6f 77 20 3d 20 4e 6f | 6e 65 3b 0d 0a 09 09 09 |dow = No|ne;.....|
|00000f80| 56 53 70 6c 69 74 74 65 | 72 2e 42 6f 74 74 6f 6d |VSplitte|r.Bottom|
|00000f90| 43 6c 69 65 6e 74 57 69 | 6e 64 6f 77 20 3d 20 4e |ClientWi|ndow = N|
|00000fa0| 6f 6e 65 3b 0d 0a 09 09 | 09 49 6e 66 6f 43 6c 69 |one;....|.InfoCli|
|00000fb0| 65 6e 74 2e 53 65 74 50 | 61 72 65 6e 74 28 49 6e |ent.SetP|arent(In|
|00000fc0| 66 6f 57 69 6e 64 6f 77 | 29 3b 0d 0a 09 09 09 47 |foWindow|);.....G|
|00000fd0| 72 69 64 2e 53 65 74 50 | 61 72 65 6e 74 28 53 65 |rid.SetP|arent(Se|
|00000fe0| 6c 66 29 3b 0d 0a 09 09 | 09 47 72 69 64 2e 53 65 |lf);....|.Grid.Se|
|00000ff0| 74 53 69 7a 65 28 57 69 | 6e 57 69 64 74 68 2c 20 |tSize(Wi|nWidth, |
|00001000| 57 69 6e 48 65 69 67 68 | 74 29 3b 0d 0a 09 09 09 |WinHeigh|t);.....|
|00001010| 69 66 28 21 49 6e 66 6f | 57 69 6e 64 6f 77 2e 62 |if(!Info|Window.b|
|00001020| 57 69 6e 64 6f 77 56 69 | 73 69 62 6c 65 29 0d 0a |WindowVi|sible)..|
|00001030| 09 09 09 09 49 6e 66 6f | 57 69 6e 64 6f 77 2e 53 |....Info|Window.S|
|00001040| 68 6f 77 57 69 6e 64 6f | 77 28 29 3b 0d 0a 09 09 |howWindo|w();....|
|00001050| 09 69 66 28 21 62 4e 6f | 41 63 74 69 76 61 74 65 |.if(!bNo|Activate|
|00001060| 29 0d 0a 09 09 09 09 49 | 6e 66 6f 57 69 6e 64 6f |)......I|nfoWindo|
|00001070| 77 2e 42 72 69 6e 67 54 | 6f 46 72 6f 6e 74 28 29 |w.BringT|oFront()|
|00001080| 3b 0d 0a 09 09 7d 0d 0a | 09 09 65 6c 73 65 0d 0a |;....}..|..else..|
|00001090| 09 09 7b 0d 0a 09 09 09 | 49 6e 66 6f 57 69 6e 64 |..{.....|InfoWind|
|000010a0| 6f 77 2e 48 69 64 65 57 | 69 6e 64 6f 77 28 29 3b |ow.HideW|indow();|
|000010b0| 0d 0a 09 09 09 56 53 70 | 6c 69 74 74 65 72 2e 53 |.....VSp|litter.S|
|000010c0| 68 6f 77 57 69 6e 64 6f | 77 28 29 3b 0d 0a 09 09 |howWindo|w();....|
|000010d0| 09 56 53 70 6c 69 74 74 | 65 72 2e 53 65 74 53 69 |.VSplitt|er.SetSi|
|000010e0| 7a 65 28 57 69 6e 57 69 | 64 74 68 2c 20 57 69 6e |ze(WinWi|dth, Win|
|000010f0| 48 65 69 67 68 74 29 3b | 0d 0a 09 09 09 47 72 69 |Height);|.....Gri|
|00001100| 64 2e 53 65 74 50 61 72 | 65 6e 74 28 56 53 70 6c |d.SetPar|ent(VSpl|
|00001110| 69 74 74 65 72 29 3b 0d | 0a 09 09 09 49 6e 66 6f |itter);.|....Info|
|00001120| 43 6c 69 65 6e 74 2e 53 | 65 74 50 61 72 65 6e 74 |Client.S|etParent|
|00001130| 28 56 53 70 6c 69 74 74 | 65 72 29 3b 0d 0a 09 09 |(VSplitt|er);....|
|00001140| 09 56 53 70 6c 69 74 74 | 65 72 2e 54 6f 70 43 6c |.VSplitt|er.TopCl|
|00001150| 69 65 6e 74 57 69 6e 64 | 6f 77 20 3d 20 47 72 69 |ientWind|ow = Gri|
|00001160| 64 3b 0d 0a 09 09 09 56 | 53 70 6c 69 74 74 65 72 |d;.....V|Splitter|
|00001170| 2e 42 6f 74 74 6f 6d 43 | 6c 69 65 6e 74 57 69 6e |.BottomC|lientWin|
|00001180| 64 6f 77 20 3d 20 49 6e | 66 6f 43 6c 69 65 6e 74 |dow = In|foClient|
|00001190| 3b 0d 0a 09 09 7d 0d 0a | 09 7d 0d 0a 09 65 6c 73 |;....}..|.}...els|
|000011a0| 65 0d 0a 09 7b 0d 0a 09 | 09 49 6e 66 6f 57 69 6e |e...{...|.InfoWin|
|000011b0| 64 6f 77 2e 48 69 64 65 | 57 69 6e 64 6f 77 28 29 |dow.Hide|Window()|
|000011c0| 3b 0d 0a 09 09 56 53 70 | 6c 69 74 74 65 72 2e 48 |;....VSp|litter.H|
|000011d0| 69 64 65 57 69 6e 64 6f | 77 28 29 3b 0d 0a 09 09 |ideWindo|w();....|
|000011e0| 56 53 70 6c 69 74 74 65 | 72 2e 54 6f 70 43 6c 69 |VSplitte|r.TopCli|
|000011f0| 65 6e 74 57 69 6e 64 6f | 77 20 3d 20 4e 6f 6e 65 |entWindo|w = None|
|00001200| 3b 0d 0a 09 09 56 53 70 | 6c 69 74 74 65 72 2e 42 |;....VSp|litter.B|
|00001210| 6f 74 74 6f 6d 43 6c 69 | 65 6e 74 57 69 6e 64 6f |ottomCli|entWindo|
|00001220| 77 20 3d 20 4e 6f 6e 65 | 3b 0d 0a 09 09 49 6e 66 |w = None|;....Inf|
|00001230| 6f 43 6c 69 65 6e 74 2e | 53 65 74 50 61 72 65 6e |oClient.|SetParen|
|00001240| 74 28 49 6e 66 6f 57 69 | 6e 64 6f 77 29 3b 0d 0a |t(InfoWi|ndow);..|
|00001250| 09 09 47 72 69 64 2e 53 | 65 74 50 61 72 65 6e 74 |..Grid.S|etParent|
|00001260| 28 53 65 6c 66 29 3b 0d | 0a 09 09 47 72 69 64 2e |(Self);.|...Grid.|
|00001270| 53 65 74 53 69 7a 65 28 | 57 69 6e 57 69 64 74 68 |SetSize(|WinWidth|
|00001280| 2c 20 57 69 6e 48 65 69 | 67 68 74 29 3b 0d 0a 09 |, WinHei|ght);...|
|00001290| 7d 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |}..}....|function|
|000012a0| 20 41 75 74 6f 49 6e 66 | 6f 28 55 42 72 6f 77 73 | AutoInf|o(UBrows|
|000012b0| 65 72 53 65 72 76 65 72 | 4c 69 73 74 20 49 29 0d |erServer|List I).|
|000012c0| 0a 7b 0d 0a 09 69 66 28 | 52 6f 6f 74 2e 57 69 6e |.{...if(|Root.Win|
|000012d0| 48 65 69 67 68 74 20 3e | 3d 20 4d 69 6e 48 65 69 |Height >|= MinHei|
|000012e0| 67 68 74 46 6f 72 53 70 | 6c 69 74 74 65 72 20 7c |ghtForSp|litter ||
|000012f0| 7c 20 49 6e 66 6f 57 69 | 6e 64 6f 77 2e 62 57 69 || InfoWi|ndow.bWi|
|00001300| 6e 64 6f 77 56 69 73 69 | 62 6c 65 29 0d 0a 09 09 |ndowVisi|ble)....|
|00001310| 53 68 6f 77 49 6e 66 6f | 28 49 2c 20 54 72 75 65 |ShowInfo|(I, True|
|00001320| 29 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |);..}...|.functio|
|00001330| 6e 20 53 68 6f 77 49 6e | 66 6f 28 55 42 72 6f 77 |n ShowIn|fo(UBrow|
|00001340| 73 65 72 53 65 72 76 65 | 72 4c 69 73 74 20 49 2c |serServe|rList I,|
|00001350| 20 6f 70 74 69 6f 6e 61 | 6c 20 62 6f 6f 6c 20 62 | optiona|l bool b|
|00001360| 41 75 74 6f 49 6e 66 6f | 29 0d 0a 7b 0d 0a 09 69 |AutoInfo|)..{...i|
|00001370| 66 28 49 20 3d 3d 20 4e | 6f 6e 65 29 20 72 65 74 |f(I == N|one) ret|
|00001380| 75 72 6e 3b 0d 0a 09 53 | 68 6f 77 49 6e 66 6f 41 |urn;...S|howInfoA|
|00001390| 72 65 61 28 54 72 75 65 | 2c 20 52 6f 6f 74 2e 57 |rea(True|, Root.W|
|000013a0| 69 6e 48 65 69 67 68 74 | 20 3c 20 4d 69 6e 48 65 |inHeight| < MinHe|
|000013b0| 69 67 68 74 46 6f 72 53 | 70 6c 69 74 74 65 72 2c |ightForS|plitter,|
|000013c0| 20 62 41 75 74 6f 49 6e | 66 6f 29 3b 0d 0a 0d 0a | bAutoIn|fo);....|
|000013d0| 09 49 6e 66 6f 49 74 65 | 6d 20 3d 20 49 3b 0d 0a |.InfoIte|m = I;..|
|000013e0| 09 49 6e 66 6f 43 6c 69 | 65 6e 74 2e 53 65 72 76 |.InfoCli|ent.Serv|
|000013f0| 65 72 20 3d 20 49 6e 66 | 6f 49 74 65 6d 3b 0d 0a |er = Inf|oItem;..|
|00001400| 09 49 6e 66 6f 57 69 6e | 64 6f 77 2e 57 69 6e 64 |.InfoWin|dow.Wind|
|00001410| 6f 77 54 69 74 6c 65 20 | 3d 20 49 6e 66 6f 4e 61 |owTitle |= InfoNa|
|00001420| 6d 65 24 22 20 2d 20 22 | 24 49 6e 66 6f 49 74 65 |me$" - "|$InfoIte|
|00001430| 6d 2e 48 6f 73 74 4e 61 | 6d 65 3b 0d 0a 09 49 2e |m.HostNa|me;...I.|
|00001440| 53 65 72 76 65 72 53 74 | 61 74 75 73 28 29 3b 0d |ServerSt|atus();.|
|00001450| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 52 |.}....fu|nction R|
|00001460| 65 73 6f 6c 75 74 69 6f | 6e 43 68 61 6e 67 65 64 |esolutio|nChanged|
|00001470| 28 66 6c 6f 61 74 20 57 | 2c 20 66 6c 6f 61 74 20 |(float W|, float |
|00001480| 48 29 0d 0a 7b 0d 0a 09 | 69 66 28 52 6f 6f 74 2e |H)..{...|if(Root.|
|00001490| 57 69 6e 48 65 69 67 68 | 74 20 3e 3d 20 4d 69 6e |WinHeigh|t >= Min|
|000014a0| 48 65 69 67 68 74 46 6f | 72 53 70 6c 69 74 74 65 |HeightFo|rSplitte|
|000014b0| 72 29 0d 0a 09 09 53 68 | 6f 77 49 6e 66 6f 41 72 |r)....Sh|owInfoAr|
|000014c0| 65 61 28 54 72 75 65 2c | 20 46 61 6c 73 65 29 3b |ea(True,| False);|
|000014d0| 0d 0a 09 65 6c 73 65 0d | 0a 09 09 53 68 6f 77 49 |...else.|...ShowI|
|000014e0| 6e 66 6f 41 72 65 61 28 | 46 61 6c 73 65 2c 20 54 |nfoArea(|False, T|
|000014f0| 72 75 65 29 3b 0d 0a 09 | 0d 0a 09 69 66 28 49 6e |rue);...|...if(In|
|00001500| 66 6f 57 69 6e 64 6f 77 | 20 21 3d 20 4e 6f 6e 65 |foWindow| != None|
|00001510| 29 0d 0a 09 09 49 6e 66 | 6f 57 69 6e 64 6f 77 2e |)....Inf|oWindow.|
|00001520| 52 65 73 6f 6c 75 74 69 | 6f 6e 43 68 61 6e 67 65 |Resoluti|onChange|
|00001530| 64 28 57 2c 20 48 29 3b | 0d 0a 0d 0a 09 53 75 70 |d(W, H);|.....Sup|
|00001540| 65 72 2e 52 65 73 6f 6c | 75 74 69 6f 6e 43 68 61 |er.Resol|utionCha|
|00001550| 6e 67 65 64 28 57 2c 20 | 48 29 3b 0d 0a 7d 0d 0a |nged(W, |H);..}..|
|00001560| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 52 65 73 69 7a |..functi|on Resiz|
|00001570| 65 64 28 29 0d 0a 7b 0d | 0a 09 53 75 70 65 72 2e |ed()..{.|..Super.|
|00001580| 52 65 73 69 7a 65 64 28 | 29 3b 0d 0a 09 69 66 28 |Resized(|);...if(|
|00001590| 56 53 70 6c 69 74 74 65 | 72 2e 62 57 69 6e 64 6f |VSplitte|r.bWindo|
|000015a0| 77 56 69 73 69 62 6c 65 | 29 0d 0a 09 7b 0d 0a 09 |wVisible|)...{...|
|000015b0| 09 56 53 70 6c 69 74 74 | 65 72 2e 53 65 74 53 69 |.VSplitt|er.SetSi|
|000015c0| 7a 65 28 57 69 6e 57 69 | 64 74 68 2c 20 57 69 6e |ze(WinWi|dth, Win|
|000015d0| 48 65 69 67 68 74 29 3b | 0d 0a 09 09 56 53 70 6c |Height);|....VSpl|
|000015e0| 69 74 74 65 72 2e 4f 6c | 64 57 69 6e 48 65 69 67 |itter.Ol|dWinHeig|
|000015f0| 68 74 20 3d 20 56 53 70 | 6c 69 74 74 65 72 2e 57 |ht = VSp|litter.W|
|00001600| 69 6e 48 65 69 67 68 74 | 3b 0d 0a 09 09 56 53 70 |inHeight|;....VSp|
|00001610| 6c 69 74 74 65 72 2e 53 | 70 6c 69 74 50 6f 73 20 |litter.S|plitPos |
|00001620| 3d 20 56 53 70 6c 69 74 | 74 65 72 2e 57 69 6e 48 |= VSplit|ter.WinH|
|00001630| 65 69 67 68 74 20 2d 20 | 4d 69 6e 28 56 53 70 6c |eight - |Min(VSpl|
|00001640| 69 74 74 65 72 2e 57 69 | 6e 48 65 69 67 68 74 20 |itter.Wi|nHeight |
|00001650| 2f 20 32 2c 20 32 35 30 | 29 3b 0d 0a 09 7d 0d 0a |/ 2, 250|);...}..|
|00001660| 09 65 6c 73 65 0d 0a 09 | 09 47 72 69 64 2e 53 65 |.else...|.Grid.Se|
|00001670| 74 53 69 7a 65 28 57 69 | 6e 57 69 64 74 68 2c 20 |tSize(Wi|nWidth, |
|00001680| 57 69 6e 48 65 69 67 68 | 74 29 3b 0d 0a 7d 0d 0a |WinHeigh|t);..}..|
|00001690| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 41 64 64 53 75 |..functi|on AddSu|
|000016a0| 62 73 65 74 28 55 42 72 | 6f 77 73 65 72 53 75 62 |bset(UBr|owserSub|
|000016b0| 73 65 74 46 61 63 74 20 | 53 75 62 73 65 74 29 0d |setFact |Subset).|
|000016c0| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 55 42 72 6f 77 |.{...loc|al UBrow|
|000016d0| 73 65 72 53 75 62 73 65 | 74 4c 69 73 74 20 6c 3b |serSubse|tList l;|
|000016e0| 0d 0a 0d 0a 09 66 6f 72 | 28 6c 20 3d 20 55 42 72 |.....for|(l = UBr|
|000016f0| 6f 77 73 65 72 53 75 62 | 73 65 74 4c 69 73 74 28 |owserSub|setList(|
|00001700| 53 75 62 73 65 74 4c 69 | 73 74 2e 4e 65 78 74 29 |SubsetLi|st.Next)|
|00001710| 3b 20 6c 20 21 3d 20 4e | 6f 6e 65 3b 20 6c 20 3d |; l != N|one; l =|
|00001720| 20 55 42 72 6f 77 73 65 | 72 53 75 62 73 65 74 4c | UBrowse|rSubsetL|
|00001730| 69 73 74 28 6c 2e 4e 65 | 78 74 29 29 0d 0a 09 09 |ist(l.Ne|xt))....|
|00001740| 69 66 28 6c 2e 53 75 62 | 73 65 74 46 61 63 74 6f |if(l.Sub|setFacto|
|00001750| 72 79 20 3d 3d 20 53 75 | 62 73 65 74 29 0d 0a 09 |ry == Su|bset)...|
|00001760| 09 09 72 65 74 75 72 6e | 3b 0d 0a 09 0d 0a 09 6c |..return|;......l|
|00001770| 20 3d 20 55 42 72 6f 77 | 73 65 72 53 75 62 73 65 | = UBrow|serSubse|
|00001780| 74 4c 69 73 74 28 53 75 | 62 73 65 74 4c 69 73 74 |tList(Su|bsetList|
|00001790| 2e 41 70 70 65 6e 64 28 | 63 6c 61 73 73 27 55 42 |.Append(|class'UB|
|000017a0| 72 6f 77 73 65 72 53 75 | 62 73 65 74 4c 69 73 74 |rowserSu|bsetList|
|000017b0| 27 29 29 3b 0d 0a 09 6c | 2e 53 75 62 73 65 74 46 |'));...l|.SubsetF|
|000017c0| 61 63 74 6f 72 79 20 3d | 20 53 75 62 73 65 74 3b |actory =| Subset;|
|000017d0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|000017e0| 41 64 64 53 75 70 65 72 | 53 65 74 28 55 42 72 6f |AddSuper|Set(UBro|
|000017f0| 77 73 65 72 53 65 72 76 | 65 72 4c 69 73 74 57 69 |wserServ|erListWi|
|00001800| 6e 64 6f 77 20 53 75 70 | 65 72 73 65 74 29 0d 0a |ndow Sup|erset)..|
|00001810| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 55 42 72 6f 77 73 |{...loca|l UBrows|
|00001820| 65 72 53 75 70 65 72 73 | 65 74 4c 69 73 74 20 6c |erSupers|etList l|
|00001830| 3b 0d 0a 0d 0a 09 66 6f | 72 28 6c 20 3d 20 55 42 |;.....fo|r(l = UB|
|00001840| 72 6f 77 73 65 72 53 75 | 70 65 72 73 65 74 4c 69 |rowserSu|persetLi|
|00001850| 73 74 28 53 75 70 65 72 | 73 65 74 4c 69 73 74 2e |st(Super|setList.|
|00001860| 4e 65 78 74 29 3b 20 6c | 20 21 3d 20 4e 6f 6e 65 |Next); l| != None|
|00001870| 3b 20 6c 20 3d 20 55 42 | 72 6f 77 73 65 72 53 75 |; l = UB|rowserSu|
|00001880| 70 65 72 73 65 74 4c 69 | 73 74 28 6c 2e 4e 65 78 |persetLi|st(l.Nex|
|00001890| 74 29 29 0d 0a 09 09 69 | 66 28 6c 2e 53 75 70 65 |t))....i|f(l.Supe|
|000018a0| 72 73 65 74 57 69 6e 64 | 6f 77 20 3d 3d 20 53 75 |rsetWind|ow == Su|
|000018b0| 70 65 72 73 65 74 29 0d | 0a 09 09 09 72 65 74 75 |perset).|....retu|
|000018c0| 72 6e 3b 0d 0a 09 0d 0a | 09 6c 20 3d 20 55 42 72 |rn;.....|.l = UBr|
|000018d0| 6f 77 73 65 72 53 75 70 | 65 72 73 65 74 4c 69 73 |owserSup|ersetLis|
|000018e0| 74 28 53 75 70 65 72 73 | 65 74 4c 69 73 74 2e 41 |t(Supers|etList.A|
|000018f0| 70 70 65 6e 64 28 63 6c | 61 73 73 27 55 42 72 6f |ppend(cl|ass'UBro|
|00001900| 77 73 65 72 53 75 70 65 | 72 73 65 74 4c 69 73 74 |wserSupe|rsetList|
|00001910| 27 29 29 3b 0d 0a 09 6c | 2e 53 75 70 65 72 73 65 |'));...l|.Superse|
|00001920| 74 57 69 6e 64 6f 77 20 | 3d 20 53 75 70 65 72 73 |tWindow |= Supers|
|00001930| 65 74 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |et;..}..|..functi|
|00001940| 6f 6e 20 52 65 6d 6f 76 | 65 53 75 62 73 65 74 28 |on Remov|eSubset(|
|00001950| 55 42 72 6f 77 73 65 72 | 53 75 62 73 65 74 46 61 |UBrowser|SubsetFa|
|00001960| 63 74 20 53 75 62 73 65 | 74 29 0d 0a 7b 0d 0a 09 |ct Subse|t)..{...|
|00001970| 6c 6f 63 61 6c 20 55 42 | 72 6f 77 73 65 72 53 75 |local UB|rowserSu|
|00001980| 62 73 65 74 4c 69 73 74 | 20 6c 3b 0d 0a 0d 0a 09 |bsetList| l;.....|
|00001990| 66 6f 72 28 6c 20 3d 20 | 55 42 72 6f 77 73 65 72 |for(l = |UBrowser|
|000019a0| 53 75 62 73 65 74 4c 69 | 73 74 28 53 75 62 73 65 |SubsetLi|st(Subse|
|000019b0| 74 4c 69 73 74 2e 4e 65 | 78 74 29 3b 20 6c 20 21 |tList.Ne|xt); l !|
|000019c0| 3d 20 4e 6f 6e 65 3b 20 | 6c 20 3d 20 55 42 72 6f |= None; |l = UBro|
|000019d0| 77 73 65 72 53 75 62 73 | 65 74 4c 69 73 74 28 6c |wserSubs|etList(l|
|000019e0| 2e 4e 65 78 74 29 29 0d | 0a 09 09 69 66 28 6c 2e |.Next)).|...if(l.|
|000019f0| 53 75 62 73 65 74 46 61 | 63 74 6f 72 79 20 3d 3d |SubsetFa|ctory ==|
|00001a00| 20 53 75 62 73 65 74 29 | 0d 0a 09 09 09 6c 2e 52 | Subset)|.....l.R|
|00001a10| 65 6d 6f 76 65 28 29 3b | 0d 0a 7d 0d 0a 0d 0a 66 |emove();|..}....f|
|00001a20| 75 6e 63 74 69 6f 6e 20 | 52 65 6d 6f 76 65 53 75 |unction |RemoveSu|
|00001a30| 70 65 72 73 65 74 28 55 | 42 72 6f 77 73 65 72 53 |perset(U|BrowserS|
|00001a40| 65 72 76 65 72 4c 69 73 | 74 57 69 6e 64 6f 77 20 |erverLis|tWindow |
|00001a50| 53 75 70 65 72 73 65 74 | 29 0d 0a 7b 0d 0a 09 6c |Superset|)..{...l|
|00001a60| 6f 63 61 6c 20 55 42 72 | 6f 77 73 65 72 53 75 70 |ocal UBr|owserSup|
|00001a70| 65 72 73 65 74 4c 69 73 | 74 20 6c 3b 0d 0a 0d 0a |ersetLis|t l;....|
|00001a80| 09 66 6f 72 28 6c 20 3d | 20 55 42 72 6f 77 73 65 |.for(l =| UBrowse|
|00001a90| 72 53 75 70 65 72 73 65 | 74 4c 69 73 74 28 53 75 |rSuperse|tList(Su|
|00001aa0| 70 65 72 73 65 74 4c 69 | 73 74 2e 4e 65 78 74 29 |persetLi|st.Next)|
|00001ab0| 3b 20 6c 20 21 3d 20 4e | 6f 6e 65 3b 20 6c 20 3d |; l != N|one; l =|
|00001ac0| 20 55 42 72 6f 77 73 65 | 72 53 75 70 65 72 73 65 | UBrowse|rSuperse|
|00001ad0| 74 4c 69 73 74 28 6c 2e | 4e 65 78 74 29 29 0d 0a |tList(l.|Next))..|
|00001ae0| 09 09 69 66 28 6c 2e 53 | 75 70 65 72 73 65 74 57 |..if(l.S|upersetW|
|00001af0| 69 6e 64 6f 77 20 3d 3d | 20 53 75 70 65 72 73 65 |indow ==| Superse|
|00001b00| 74 29 0d 0a 09 09 09 6c | 2e 52 65 6d 6f 76 65 28 |t).....l|.Remove(|
|00001b10| 29 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |);..}...|.functio|
|00001b20| 6e 20 55 42 72 6f 77 73 | 65 72 53 65 72 76 65 72 |n UBrows|erServer|
|00001b30| 4c 69 73 74 20 41 64 64 | 46 61 76 6f 72 69 74 65 |List Add|Favorite|
|00001b40| 28 55 42 72 6f 77 73 65 | 72 53 65 72 76 65 72 4c |(UBrowse|rServerL|
|00001b50| 69 73 74 20 53 65 72 76 | 65 72 29 0d 0a 7b 0d 0a |ist Serv|er)..{..|
|00001b60| 09 72 65 74 75 72 6e 20 | 55 42 72 6f 77 73 65 72 |.return |UBrowser|
|00001b70| 53 65 72 76 65 72 4c 69 | 73 74 57 69 6e 64 6f 77 |ServerLi|stWindow|
|00001b80| 28 55 42 72 6f 77 73 65 | 72 4d 61 69 6e 43 6c 69 |(UBrowse|rMainCli|
|00001b90| 65 6e 74 57 69 6e 64 6f | 77 28 47 65 74 50 61 72 |entWindo|w(GetPar|
|00001ba0| 65 6e 74 28 63 6c 61 73 | 73 27 55 42 72 6f 77 73 |ent(clas|s'UBrows|
|00001bb0| 65 72 4d 61 69 6e 43 6c | 69 65 6e 74 57 69 6e 64 |erMainCl|ientWind|
|00001bc0| 6f 77 27 29 29 2e 46 61 | 76 6f 72 69 74 65 73 2e |ow')).Fa|vorites.|
|00001bd0| 50 61 67 65 29 2e 41 64 | 64 46 61 76 6f 72 69 74 |Page).Ad|dFavorit|
|00001be0| 65 28 53 65 72 76 65 72 | 29 3b 0d 0a 7d 0d 0a 0d |e(Server|);..}...|
|00001bf0| 0a 66 75 6e 63 74 69 6f | 6e 20 52 65 66 72 65 73 |.functio|n Refres|
|00001c00| 68 28 6f 70 74 69 6f 6e | 61 6c 20 62 6f 6f 6c 20 |h(option|al bool |
|00001c10| 62 42 79 53 75 70 65 72 | 73 65 74 2c 20 6f 70 74 |bBySuper|set, opt|
|00001c20| 69 6f 6e 61 6c 20 62 6f | 6f 6c 20 62 49 6e 69 74 |ional bo|ol bInit|
|00001c30| 69 61 6c 2c 20 6f 70 74 | 69 6f 6e 61 6c 20 62 6f |ial, opt|ional bo|
|00001c40| 6f 6c 20 62 53 61 76 65 | 45 78 69 73 74 69 6e 67 |ol bSave|Existing|
|00001c50| 4c 69 73 74 2c 20 6f 70 | 74 69 6f 6e 61 6c 20 62 |List, op|tional b|
|00001c60| 6f 6f 6c 20 62 49 6e 4e | 6f 53 6f 72 74 29 0d 0a |ool bInN|oSort)..|
|00001c70| 7b 0d 0a 09 62 48 61 64 | 49 6e 69 74 69 61 6c 52 |{...bHad|InitialR|
|00001c80| 65 66 72 65 73 68 20 3d | 20 54 72 75 65 3b 0d 0a |efresh =| True;..|
|00001c90| 0d 0a 09 69 66 28 21 62 | 53 61 76 65 45 78 69 73 |...if(!b|SaveExis|
|00001ca0| 74 69 6e 67 4c 69 73 74 | 29 0d 0a 09 7b 0d 0a 09 |tingList|)...{...|
|00001cb0| 09 49 6e 66 6f 49 74 65 | 6d 20 3d 20 4e 6f 6e 65 |.InfoIte|m = None|
|00001cc0| 3b 0d 0a 09 09 49 6e 66 | 6f 43 6c 69 65 6e 74 2e |;....Inf|oClient.|
|00001cd0| 53 65 72 76 65 72 20 3d | 20 4e 6f 6e 65 3b 0d 0a |Server =| None;..|
|00001ce0| 09 7d 0d 0a 0d 0a 09 69 | 66 28 21 62 53 61 76 65 |.}.....i|f(!bSave|
|00001cf0| 45 78 69 73 74 69 6e 67 | 4c 69 73 74 20 26 26 20 |Existing|List && |
|00001d00| 50 69 6e 67 65 64 4c 69 | 73 74 20 21 3d 20 4e 6f |PingedLi|st != No|
|00001d10| 6e 65 29 0d 0a 09 7b 0d | 0a 09 09 50 69 6e 67 65 |ne)...{.|...Pinge|
|00001d20| 64 4c 69 73 74 2e 44 65 | 73 74 72 6f 79 4c 69 73 |dList.De|stroyLis|
|00001d30| 74 28 29 3b 0d 0a 09 09 | 50 69 6e 67 65 64 4c 69 |t();....|PingedLi|
|00001d40| 73 74 20 3d 20 4e 6f 6e | 65 3b 0d 0a 09 09 47 72 |st = Non|e;....Gr|
|00001d50| 69 64 2e 53 65 6c 65 63 | 74 65 64 53 65 72 76 65 |id.Selec|tedServe|
|00001d60| 72 20 3d 20 4e 6f 6e 65 | 3b 0d 0a 09 7d 0d 0a 0d |r = None|;...}...|
|00001d70| 0a 09 69 66 28 50 69 6e | 67 65 64 4c 69 73 74 20 |..if(Pin|gedList |
|00001d80| 3d 3d 20 4e 6f 6e 65 29 | 0d 0a 09 7b 0d 0a 09 09 |== None)|...{....|
|00001d90| 50 69 6e 67 65 64 4c 69 | 73 74 3d 4e 65 77 20 53 |PingedLi|st=New S|
|00001da0| 65 72 76 65 72 4c 69 73 | 74 43 6c 61 73 73 3b 0d |erverLis|tClass;.|
|00001db0| 0a 09 09 50 69 6e 67 65 | 64 4c 69 73 74 2e 4f 77 |...Pinge|dList.Ow|
|00001dc0| 6e 65 72 20 3d 20 53 65 | 6c 66 3b 0d 0a 09 09 50 |ner = Se|lf;....P|
|00001dd0| 69 6e 67 65 64 4c 69 73 | 74 2e 53 65 74 75 70 53 |ingedLis|t.SetupS|
|00001de0| 65 6e 74 69 6e 65 6c 28 | 54 72 75 65 29 3b 0d 0a |entinel(|True);..|
|00001df0| 09 09 50 69 6e 67 65 64 | 4c 69 73 74 2e 62 53 75 |..Pinged|List.bSu|
|00001e00| 73 70 65 6e 64 61 62 6c | 65 53 6f 72 74 20 3d 20 |spendabl|eSort = |
|00001e10| 54 72 75 65 3b 0d 0a 09 | 7d 0d 0a 09 65 6c 73 65 |True;...|}...else|
|00001e20| 0d 0a 09 7b 0d 0a 09 09 | 54 61 67 53 65 72 76 65 |...{....|TagServe|
|00001e30| 72 73 41 73 4f 6c 64 28 | 29 3b 0d 0a 09 7d 0d 0a |rsAsOld(|);...}..|
|00001e40| 0d 0a 09 69 66 28 55 6e | 70 69 6e 67 65 64 4c 69 |...if(Un|pingedLi|
|00001e50| 73 74 20 21 3d 20 4e 6f | 6e 65 29 0d 0a 09 09 55 |st != No|ne)....U|
|00001e60| 6e 70 69 6e 67 65 64 4c | 69 73 74 2e 44 65 73 74 |npingedL|ist.Dest|
|00001e70| 72 6f 79 4c 69 73 74 28 | 29 3b 0d 0a 09 0d 0a 09 |royList(|);......|
|00001e80| 69 66 28 21 62 53 61 76 | 65 45 78 69 73 74 69 6e |if(!bSav|eExistin|
|00001e90| 67 4c 69 73 74 29 0d 0a | 09 7b 0d 0a 09 09 55 6e |gList)..|.{....Un|
|00001ea0| 70 69 6e 67 65 64 4c 69 | 73 74 20 3d 20 4e 65 77 |pingedLi|st = New|
|00001eb0| 20 53 65 72 76 65 72 4c | 69 73 74 43 6c 61 73 73 | ServerL|istClass|
|00001ec0| 3b 0d 0a 09 09 55 6e 70 | 69 6e 67 65 64 4c 69 73 |;....Unp|ingedLis|
|00001ed0| 74 2e 4f 77 6e 65 72 20 | 3d 20 53 65 6c 66 3b 0d |t.Owner |= Self;.|
|00001ee0| 0a 09 09 55 6e 70 69 6e | 67 65 64 4c 69 73 74 2e |...Unpin|gedList.|
|00001ef0| 53 65 74 75 70 53 65 6e | 74 69 6e 65 6c 28 46 61 |SetupSen|tinel(Fa|
|00001f00| 6c 73 65 29 3b 0d 0a 09 | 7d 0d 0a 0d 0a 09 50 69 |lse);...|}.....Pi|
|00001f10| 6e 67 53 74 61 74 65 20 | 3d 20 50 53 5f 51 75 65 |ngState |= PS_Que|
|00001f20| 72 79 53 65 72 76 65 72 | 3b 0d 0a 09 53 68 75 74 |ryServer|;...Shut|
|00001f30| 64 6f 77 6e 46 61 63 74 | 6f 72 69 65 73 28 62 42 |downFact|ories(bB|
|00001f40| 79 53 75 70 65 72 73 65 | 74 29 3b 0d 0a 09 43 72 |ySuperse|t);...Cr|
|00001f50| 65 61 74 65 46 61 63 74 | 6f 72 69 65 73 28 62 53 |eateFact|ories(bS|
|00001f60| 61 76 65 45 78 69 73 74 | 69 6e 67 4c 69 73 74 29 |aveExist|ingList)|
|00001f70| 3b 0d 0a 09 51 75 65 72 | 79 28 62 42 79 53 75 70 |;...Quer|y(bBySup|
|00001f80| 65 72 73 65 74 2c 20 62 | 49 6e 69 74 69 61 6c 2c |erset, b|Initial,|
|00001f90| 20 62 49 6e 4e 6f 53 6f | 72 74 29 3b 0d 0a 0d 0a | bInNoSo|rt);....|
|00001fa0| 09 69 66 28 21 62 49 6e | 69 74 69 61 6c 29 0d 0a |.if(!bIn|itial)..|
|00001fb0| 09 09 52 65 66 72 65 73 | 68 53 75 62 73 65 74 73 |..Refres|hSubsets|
|00001fc0| 28 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |();..}..|..functi|
|00001fd0| 6f 6e 20 54 61 67 53 65 | 72 76 65 72 73 41 73 4f |on TagSe|rversAsO|
|00001fe0| 6c 64 28 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |ld()..{.|..local |
|00001ff0| 55 42 72 6f 77 73 65 72 | 53 65 72 76 65 72 4c 69 |UBrowser|ServerLi|
|00002000| 73 74 20 6c 3b 0d 0a 0d | 0a 09 66 6f 72 28 6c 20 |st l;...|..for(l |
|00002010| 3d 20 55 42 72 6f 77 73 | 65 72 53 65 72 76 65 72 |= UBrows|erServer|
|00002020| 4c 69 73 74 28 50 69 6e | 67 65 64 4c 69 73 74 2e |List(Pin|gedList.|
|00002030| 4e 65 78 74 29 3b 6c 20 | 21 3d 20 4e 6f 6e 65 3b |Next);l |!= None;|
|00002040| 6c 20 3d 20 55 42 72 6f | 77 73 65 72 53 65 72 76 |l = UBro|wserServ|
|00002050| 65 72 4c 69 73 74 28 6c | 2e 4e 65 78 74 29 29 20 |erList(l|.Next)) |
|00002060| 0d 0a 09 09 6c 2e 62 4f | 6c 64 53 65 72 76 65 72 |....l.bO|ldServer|
|00002070| 20 3d 20 54 72 75 65 3b | 0d 0a 7d 0d 0a 0d 0a 66 | = True;|..}....f|
|00002080| 75 6e 63 74 69 6f 6e 20 | 52 65 6d 6f 76 65 4f 6c |unction |RemoveOl|
|00002090| 64 53 65 72 76 65 72 73 | 28 29 0d 0a 7b 0d 0a 09 |dServers|()..{...|
|000020a0| 6c 6f 63 61 6c 20 55 42 | 72 6f 77 73 65 72 53 65 |local UB|rowserSe|
|000020b0| 72 76 65 72 4c 69 73 74 | 20 6c 2c 20 6e 3b 0d 0a |rverList| l, n;..|
|000020c0| 0d 0a 09 6c 20 3d 20 55 | 42 72 6f 77 73 65 72 53 |...l = U|BrowserS|
|000020d0| 65 72 76 65 72 4c 69 73 | 74 28 50 69 6e 67 65 64 |erverLis|t(Pinged|
|000020e0| 4c 69 73 74 2e 4e 65 78 | 74 29 3b 0d 0a 09 77 68 |List.Nex|t);...wh|
|000020f0| 69 6c 65 28 6c 20 21 3d | 20 4e 6f 6e 65 29 20 0d |ile(l !=| None) .|
|00002100| 0a 09 7b 0d 0a 09 09 6e | 20 3d 20 55 42 72 6f 77 |..{....n| = UBrow|
|00002110| 73 65 72 53 65 72 76 65 | 72 4c 69 73 74 28 6c 2e |serServe|rList(l.|
|00002120| 4e 65 78 74 29 3b 0d 0a | 0d 0a 09 09 69 66 28 6c |Next);..|....if(l|
|00002130| 2e 62 4f 6c 64 53 65 72 | 76 65 72 29 0d 0a 09 09 |.bOldSer|ver)....|
|00002140| 7b 0d 0a 09 09 09 69 66 | 28 47 72 69 64 2e 53 65 |{.....if|(Grid.Se|
|00002150| 6c 65 63 74 65 64 53 65 | 72 76 65 72 20 3d 3d 20 |lectedSe|rver == |
|00002160| 6c 29 0d 0a 09 09 09 09 | 47 72 69 64 2e 53 65 6c |l)......|Grid.Sel|
|00002170| 65 63 74 65 64 53 65 72 | 76 65 72 20 3d 20 6e 3b |ectedSer|ver = n;|
|00002180| 0d 0a 0d 0a 09 09 09 6c | 2e 52 65 6d 6f 76 65 28 |.......l|.Remove(|
|00002190| 29 3b 0d 0a 09 09 7d 0d | 0a 09 09 6c 20 3d 20 6e |);....}.|...l = n|
|000021a0| 3b 0d 0a 09 7d 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |;...}..}|....func|
|000021b0| 74 69 6f 6e 20 52 65 66 | 72 65 73 68 53 75 62 73 |tion Ref|reshSubs|
|000021c0| 65 74 73 28 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |ets()..{|...local|
|000021d0| 20 55 42 72 6f 77 73 65 | 72 53 75 62 73 65 74 4c | UBrowse|rSubsetL|
|000021e0| 69 73 74 20 6c 2c 20 4e | 65 78 74 53 75 62 73 65 |ist l, N|extSubse|
|000021f0| 74 3b 0d 0a 0d 0a 09 66 | 6f 72 28 6c 20 3d 20 55 |t;.....f|or(l = U|
|00002200| 42 72 6f 77 73 65 72 53 | 75 62 73 65 74 4c 69 73 |BrowserS|ubsetLis|
|00002210| 74 28 53 75 62 73 65 74 | 4c 69 73 74 2e 4e 65 78 |t(Subset|List.Nex|
|00002220| 74 29 3b 20 6c 20 21 3d | 20 4e 6f 6e 65 3b 20 6c |t); l !=| None; l|
|00002230| 20 3d 20 55 42 72 6f 77 | 73 65 72 53 75 62 73 65 | = UBrow|serSubse|
|00002240| 74 4c 69 73 74 28 6c 2e | 4e 65 78 74 29 29 0d 0a |tList(l.|Next))..|
|00002250| 09 09 6c 2e 62 4f 6c 64 | 45 6c 65 6d 65 6e 74 20 |..l.bOld|Element |
|00002260| 3d 20 54 72 75 65 3b 0d | 0a 0d 0a 09 6c 20 3d 20 |= True;.|....l = |
|00002270| 55 42 72 6f 77 73 65 72 | 53 75 62 73 65 74 4c 69 |UBrowser|SubsetLi|
|00002280| 73 74 28 53 75 62 73 65 | 74 4c 69 73 74 2e 4e 65 |st(Subse|tList.Ne|
|00002290| 78 74 29 3b 0d 0a 09 77 | 68 69 6c 65 28 6c 20 21 |xt);...w|hile(l !|
|000022a0| 3d 20 4e 6f 6e 65 20 26 | 26 20 6c 2e 62 4f 6c 64 |= None &|& l.bOld|
|000022b0| 45 6c 65 6d 65 6e 74 29 | 0d 0a 09 7b 0d 0a 09 09 |Element)|...{....|
|000022c0| 4e 65 78 74 53 75 62 73 | 65 74 20 3d 20 55 42 72 |NextSubs|et = UBr|
|000022d0| 6f 77 73 65 72 53 75 62 | 73 65 74 4c 69 73 74 28 |owserSub|setList(|
|000022e0| 6c 2e 4e 65 78 74 29 3b | 0d 0a 09 09 6c 2e 53 75 |l.Next);|....l.Su|
|000022f0| 62 73 65 74 46 61 63 74 | 6f 72 79 2e 4f 77 6e 65 |bsetFact|ory.Owne|
|00002300| 72 2e 4f 77 6e 65 72 2e | 52 65 66 72 65 73 68 28 |r.Owner.|Refresh(|
|00002310| 54 72 75 65 29 3b 0d 0a | 09 09 6c 20 3d 20 4e 65 |True);..|..l = Ne|
|00002320| 78 74 53 75 62 73 65 74 | 3b 0d 0a 09 7d 0d 0a 7d |xtSubset|;...}..}|
|00002330| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 52 65 50 |....func|tion ReP|
|00002340| 69 6e 67 28 29 0d 0a 7b | 0d 0a 09 50 69 6e 67 53 |ing()..{|...PingS|
|00002350| 74 61 74 65 20 3d 20 50 | 53 5f 52 65 50 69 6e 67 |tate = P|S_RePing|
|00002360| 69 6e 67 3b 0d 0a 09 50 | 69 6e 67 65 64 4c 69 73 |ing;...P|ingedLis|
|00002370| 74 2e 49 6e 76 61 6c 69 | 64 61 74 65 50 69 6e 67 |t.Invali|datePing|
|00002380| 73 28 29 3b 0d 0a 09 50 | 69 6e 67 65 64 4c 69 73 |s();...P|ingedLis|
|00002390| 74 2e 50 69 6e 67 53 65 | 72 76 65 72 73 28 54 72 |t.PingSe|rvers(Tr|
|000023a0| 75 65 2c 20 46 61 6c 73 | 65 29 3b 0d 0a 7d 0d 0a |ue, Fals|e);..}..|
|000023b0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 51 75 65 72 79 |..functi|on Query|
|000023c0| 46 69 6e 69 73 68 65 64 | 28 55 42 72 6f 77 73 65 |Finished|(UBrowse|
|000023d0| 72 53 65 72 76 65 72 4c | 69 73 74 46 61 63 74 6f |rServerL|istFacto|
|000023e0| 72 79 20 46 61 63 74 2c | 20 62 6f 6f 6c 20 62 53 |ry Fact,| bool bS|
|000023f0| 75 63 63 65 73 73 2c 20 | 6f 70 74 69 6f 6e 61 6c |uccess, |optional|
|00002400| 20 73 74 72 69 6e 67 20 | 45 72 72 6f 72 4d 73 67 | string |ErrorMsg|
|00002410| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 69 6e 74 |)..{...l|ocal int|
|00002420| 20 69 3b 0d 0a 09 6c 6f | 63 61 6c 20 62 6f 6f 6c | i;...lo|cal bool|
|00002430| 20 62 44 6f 6e 65 3b 0d | 0a 0d 0a 09 62 44 6f 6e | bDone;.|....bDon|
|00002440| 65 20 3d 20 54 72 75 65 | 3b 0d 0a 09 66 6f 72 28 |e = True|;...for(|
|00002450| 69 3d 30 3b 69 3c 31 30 | 3b 69 2b 2b 29 0d 0a 09 |i=0;i<10|;i++)...|
|00002460| 7b 0d 0a 09 09 69 66 28 | 46 61 63 74 6f 72 69 65 |{....if(|Factorie|
|00002470| 73 5b 69 5d 20 3d 3d 20 | 4e 6f 6e 65 29 20 62 72 |s[i] == |None) br|
|00002480| 65 61 6b 3b 0d 0a 09 09 | 69 66 28 46 61 63 74 6f |eak;....|if(Facto|
|00002490| 72 69 65 73 5b 69 5d 20 | 3d 3d 20 46 61 63 74 29 |ries[i] |== Fact)|
|000024a0| 0d 0a 09 09 09 51 75 65 | 72 79 44 6f 6e 65 5b 69 |.....Que|ryDone[i|
|000024b0| 5d 20 3d 20 31 3b 0d 0a | 09 09 69 66 28 51 75 65 |] = 1;..|..if(Que|
|000024c0| 72 79 44 6f 6e 65 5b 69 | 5d 20 3d 3d 20 30 29 0d |ryDone[i|] == 0).|
|000024d0| 0a 09 09 09 62 44 6f 6e | 65 20 3d 20 46 61 6c 73 |....bDon|e = Fals|
|000024e0| 65 3b 0d 0a 09 7d 0d 0a | 0d 0a 09 69 66 28 21 62 |e;...}..|...if(!b|
|000024f0| 53 75 63 63 65 73 73 29 | 0d 0a 09 7b 0d 0a 09 09 |Success)|...{....|
|00002500| 50 69 6e 67 53 74 61 74 | 65 20 3d 20 50 53 5f 51 |PingStat|e = PS_Q|
|00002510| 75 65 72 79 46 61 69 6c | 65 64 3b 0d 0a 09 09 45 |ueryFail|ed;....E|
|00002520| 72 72 6f 72 53 74 72 69 | 6e 67 20 3d 20 45 72 72 |rrorStri|ng = Err|
|00002530| 6f 72 4d 73 67 3b 0d 0a | 0d 0a 09 09 2f 2f 20 64 |orMsg;..|....// d|
|00002540| 6f 6e 27 74 20 70 69 6e | 67 20 61 6e 64 20 72 65 |on't pin|g and re|
|00002550| 70 6f 72 74 20 73 75 63 | 63 65 73 73 20 69 66 20 |port suc|cess if |
|00002560| 77 65 20 68 61 76 65 20 | 6e 6f 20 73 65 72 76 65 |we have |no serve|
|00002570| 72 73 2e 0d 0a 09 09 69 | 66 28 62 44 6f 6e 65 20 |rs.....i|f(bDone |
|00002580| 26 26 20 55 6e 70 69 6e | 67 65 64 4c 69 73 74 2e |&& Unpin|gedList.|
|00002590| 43 6f 75 6e 74 28 29 20 | 3d 3d 20 30 29 0d 0a 09 |Count() |== 0)...|
|000025a0| 09 09 72 65 74 75 72 6e | 3b 0d 0a 09 7d 0d 0a 09 |..return|;...}...|
|000025b0| 65 6c 73 65 0d 0a 09 09 | 45 72 72 6f 72 53 74 72 |else....|ErrorStr|
|000025c0| 69 6e 67 20 3d 20 22 22 | 3b 0d 0a 0d 0a 09 69 66 |ing = ""|;.....if|
|000025d0| 28 62 44 6f 6e 65 29 0d | 0a 09 7b 0d 0a 09 09 52 |(bDone).|..{....R|
|000025e0| 65 6d 6f 76 65 4f 6c 64 | 53 65 72 76 65 72 73 28 |emoveOld|Servers(|
|000025f0| 29 3b 0d 0a 0d 0a 09 09 | 50 69 6e 67 53 74 61 74 |);......|PingStat|
|00002600| 65 20 3d 20 50 53 5f 50 | 69 6e 67 69 6e 67 3b 0d |e = PS_P|inging;.|
|00002610| 0a 09 09 69 66 28 21 62 | 4e 6f 53 6f 72 74 20 26 |...if(!b|NoSort &|
|00002620| 26 20 21 46 61 63 74 2e | 62 49 6e 63 72 65 6d 65 |& !Fact.|bIncreme|
|00002630| 6e 74 61 6c 50 69 6e 67 | 29 0d 0a 09 09 09 50 69 |ntalPing|).....Pi|
|00002640| 6e 67 65 64 4c 69 73 74 | 2e 53 6f 72 74 28 29 3b |ngedList|.Sort();|
|00002650| 0d 0a 09 09 55 6e 70 69 | 6e 67 65 64 4c 69 73 74 |....Unpi|ngedList|
|00002660| 2e 50 69 6e 67 53 65 72 | 76 65 72 73 28 54 72 75 |.PingSer|vers(Tru|
|00002670| 65 2c 20 62 4e 6f 53 6f | 72 74 20 7c 7c 20 46 61 |e, bNoSo|rt || Fa|
|00002680| 63 74 2e 62 49 6e 63 72 | 65 6d 65 6e 74 61 6c 50 |ct.bIncr|ementalP|
|00002690| 69 6e 67 29 3b 0d 0a 09 | 7d 0d 0a 7d 0d 0a 0d 0a |ing);...|}..}....|
|000026a0| 66 75 6e 63 74 69 6f 6e | 20 50 69 6e 67 46 69 6e |function| PingFin|
|000026b0| 69 73 68 65 64 28 29 0d | 0a 7b 0d 0a 09 50 69 6e |ished().|.{...Pin|
|000026c0| 67 53 74 61 74 65 20 3d | 20 50 53 5f 44 6f 6e 65 |gState =| PS_Done|
|000026d0| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|000026e0| 20 43 72 65 61 74 65 46 | 61 63 74 6f 72 69 65 73 | CreateF|actories|
|000026f0| 28 62 6f 6f 6c 20 62 55 | 73 65 50 69 6e 67 65 64 |(bool bU|sePinged|
|00002700| 4c 69 73 74 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |List)..{|...local|
|00002710| 20 69 6e 74 20 69 3b 0d | 0a 0d 0a 09 66 6f 72 28 | int i;.|....for(|
|00002720| 69 3d 30 3b 69 3c 31 30 | 3b 69 2b 2b 29 0d 0a 09 |i=0;i<10|;i++)...|
|00002730| 7b 0d 0a 09 09 69 66 28 | 4c 69 73 74 46 61 63 74 |{....if(|ListFact|
|00002740| 6f 72 69 65 73 5b 69 5d | 20 3d 3d 20 22 22 29 20 |ories[i]| == "") |
|00002750| 62 72 65 61 6b 3b 0d 0a | 09 09 46 61 63 74 6f 72 |break;..|..Factor|
|00002760| 69 65 73 5b 69 5d 20 3d | 20 55 42 72 6f 77 73 65 |ies[i] =| UBrowse|
|00002770| 72 53 65 72 76 65 72 4c | 69 73 74 46 61 63 74 6f |rServerL|istFacto|
|00002780| 72 79 28 42 75 69 6c 64 | 4f 62 6a 65 63 74 57 69 |ry(Build|ObjectWi|
|00002790| 74 68 50 72 6f 70 65 72 | 74 69 65 73 28 4c 69 73 |thProper|ties(Lis|
|000027a0| 74 46 61 63 74 6f 72 69 | 65 73 5b 69 5d 29 29 3b |tFactori|es[i]));|
|000027b0| 0d 0a 09 09 0d 0a 09 09 | 46 61 63 74 6f 72 69 65 |........|Factorie|
|000027c0| 73 5b 69 5d 2e 50 69 6e | 67 65 64 4c 69 73 74 20 |s[i].Pin|gedList |
|000027d0| 3d 20 50 69 6e 67 65 64 | 4c 69 73 74 3b 0d 0a 09 |= Pinged|List;...|
|000027e0| 09 46 61 63 74 6f 72 69 | 65 73 5b 69 5d 2e 55 6e |.Factori|es[i].Un|
|000027f0| 70 69 6e 67 65 64 4c 69 | 73 74 20 3d 20 55 6e 70 |pingedLi|st = Unp|
|00002800| 69 6e 67 65 64 4c 69 73 | 74 3b 0d 0a 09 0d 0a 09 |ingedLis|t;......|
|00002810| 09 69 66 28 62 55 73 65 | 50 69 6e 67 65 64 4c 69 |.if(bUse|PingedLi|
|00002820| 73 74 29 0d 0a 09 09 09 | 46 61 63 74 6f 72 69 65 |st).....|Factorie|
|00002830| 73 5b 69 5d 2e 4f 77 6e | 65 72 20 3d 20 50 69 6e |s[i].Own|er = Pin|
|00002840| 67 65 64 4c 69 73 74 3b | 0d 0a 09 09 65 6c 73 65 |gedList;|....else|
|00002850| 0d 0a 09 09 09 46 61 63 | 74 6f 72 69 65 73 5b 69 |.....Fac|tories[i|
|00002860| 5d 2e 4f 77 6e 65 72 20 | 3d 20 55 6e 70 69 6e 67 |].Owner |= Unping|
|00002870| 65 64 4c 69 73 74 3b 0d | 0a 09 09 51 75 65 72 79 |edList;.|...Query|
|00002880| 44 6f 6e 65 5b 69 5d 20 | 3d 20 30 3b 0d 0a 09 7d |Done[i] |= 0;...}|
|00002890| 09 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |...}....|function|
|000028a0| 20 53 68 75 74 64 6f 77 | 6e 46 61 63 74 6f 72 69 | Shutdow|nFactori|
|000028b0| 65 73 28 6f 70 74 69 6f | 6e 61 6c 20 62 6f 6f 6c |es(optio|nal bool|
|000028c0| 20 62 42 79 53 75 70 65 | 72 73 65 74 29 0d 0a 7b | bBySupe|rset)..{|
|000028d0| 0d 0a 09 6c 6f 63 61 6c | 20 69 6e 74 20 69 3b 0d |...local| int i;.|
|000028e0| 0a 0d 0a 09 66 6f 72 28 | 69 3d 30 3b 69 3c 31 30 |....for(|i=0;i<10|
|000028f0| 3b 69 2b 2b 29 0d 0a 09 | 7b 0d 0a 09 09 69 66 28 |;i++)...|{....if(|
|00002900| 46 61 63 74 6f 72 69 65 | 73 5b 69 5d 20 21 3d 20 |Factorie|s[i] != |
|00002910| 4e 6f 6e 65 29 20 0d 0a | 09 09 7b 0d 0a 09 09 09 |None) ..|..{.....|
|00002920| 46 61 63 74 6f 72 69 65 | 73 5b 69 5d 2e 53 68 75 |Factorie|s[i].Shu|
|00002930| 74 64 6f 77 6e 28 62 42 | 79 53 75 70 65 72 73 65 |tdown(bB|ySuperse|
|00002940| 74 29 3b 0d 0a 09 09 09 | 46 61 63 74 6f 72 69 65 |t);.....|Factorie|
|00002950| 73 5b 69 5d 20 3d 20 4e | 6f 6e 65 3b 0d 0a 09 09 |s[i] = N|one;....|
|00002960| 7d 0d 0a 09 7d 09 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |}...}...|}....fun|
|00002970| 63 74 69 6f 6e 20 51 75 | 65 72 79 28 6f 70 74 69 |ction Qu|ery(opti|
|00002980| 6f 6e 61 6c 20 62 6f 6f | 6c 20 62 42 79 53 75 70 |onal boo|l bBySup|
|00002990| 65 72 73 65 74 2c 20 6f | 70 74 69 6f 6e 61 6c 20 |erset, o|ptional |
|000029a0| 62 6f 6f 6c 20 62 49 6e | 69 74 69 61 6c 2c 20 6f |bool bIn|itial, o|
|000029b0| 70 74 69 6f 6e 61 6c 20 | 62 6f 6f 6c 20 62 49 6e |ptional |bool bIn|
|000029c0| 4e 6f 53 6f 72 74 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |NoSort).|.{...loc|
|000029d0| 61 6c 20 69 6e 74 20 69 | 3b 0d 0a 0d 0a 09 62 4e |al int i|;.....bN|
|000029e0| 6f 53 6f 72 74 20 3d 20 | 62 49 6e 4e 6f 53 6f 72 |oSort = |bInNoSor|
|000029f0| 74 3b 0d 0a 0d 0a 09 2f | 2f 20 51 75 65 72 79 20 |t;...../|/ Query |
|00002a00| 61 6c 6c 20 6f 75 72 20 | 66 61 63 74 6f 72 69 65 |all our |factorie|
|00002a10| 73 0d 0a 09 66 6f 72 28 | 69 3d 30 3b 69 3c 31 30 |s...for(|i=0;i<10|
|00002a20| 3b 69 2b 2b 29 0d 0a 09 | 7b 0d 0a 09 09 69 66 28 |;i++)...|{....if(|
|00002a30| 46 61 63 74 6f 72 69 65 | 73 5b 69 5d 20 3d 3d 20 |Factorie|s[i] == |
|00002a40| 4e 6f 6e 65 29 20 62 72 | 65 61 6b 3b 0d 0a 09 09 |None) br|eak;....|
|00002a50| 46 61 63 74 6f 72 69 65 | 73 5b 69 5d 2e 51 75 65 |Factorie|s[i].Que|
|00002a60| 72 79 28 62 42 79 53 75 | 70 65 72 73 65 74 2c 20 |ry(bBySu|perset, |
|00002a70| 62 49 6e 69 74 69 61 6c | 29 3b 0d 0a 09 7d 0d 0a |bInitial|);...}..|
|00002a80| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 50 61 |}....fun|ction Pa|
|00002a90| 69 6e 74 28 43 61 6e 76 | 61 73 20 43 2c 20 66 6c |int(Canv|as C, fl|
|00002aa0| 6f 61 74 20 58 2c 20 66 | 6c 6f 61 74 20 59 29 0d |oat X, f|loat Y).|
|00002ab0| 0a 7b 0d 0a 09 44 72 61 | 77 53 74 72 65 74 63 68 |.{...Dra|wStretch|
|00002ac0| 65 64 54 65 78 74 75 72 | 65 28 43 2c 20 30 2c 20 |edTextur|e(C, 0, |
|00002ad0| 30 2c 20 57 69 6e 57 69 | 64 74 68 2c 20 57 69 6e |0, WinWi|dth, Win|
|00002ae0| 48 65 69 67 68 74 2c 20 | 54 65 78 74 75 72 65 27 |Height, |Texture'|
|00002af0| 42 6c 61 63 6b 54 65 78 | 74 75 72 65 27 29 3b 0d |BlackTex|ture');.|
|00002b00| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 54 |.}....fu|nction T|
|00002b10| 69 63 6b 28 66 6c 6f 61 | 74 20 44 65 6c 74 61 29 |ick(floa|t Delta)|
|00002b20| 0d 0a 7b 0d 0a 2f 2f 23 | 69 66 20 31 20 2f 2f 4e |..{..//#|if 1 //N|
|00002b30| 45 57 0d 0a 09 69 66 28 | 20 50 69 6e 67 65 64 4c |EW...if(| PingedL|
|00002b40| 69 73 74 20 21 3d 20 4e | 6f 6e 65 20 29 0d 0a 09 |ist != N|one )...|
|00002b50| 7b 0d 0a 2f 2f 23 65 6e | 64 69 66 0d 0a 09 09 50 |{..//#en|dif....P|
|00002b60| 69 6e 67 65 64 4c 69 73 | 74 2e 54 69 63 6b 28 44 |ingedLis|t.Tick(D|
|00002b70| 65 6c 74 61 29 3b 0d 0a | 0d 0a 09 09 69 66 28 50 |elta);..|....if(P|
|00002b80| 69 6e 67 65 64 4c 69 73 | 74 2e 62 4e 65 65 64 55 |ingedLis|t.bNeedU|
|00002b90| 70 64 61 74 65 43 6f 75 | 6e 74 29 0d 0a 09 09 7b |pdateCou|nt)....{|
|00002ba0| 0d 0a 09 09 09 50 69 6e | 67 65 64 4c 69 73 74 2e |.....Pin|gedList.|
|00002bb0| 55 70 64 61 74 65 53 65 | 72 76 65 72 43 6f 75 6e |UpdateSe|rverCoun|
|00002bc0| 74 28 29 3b 0d 0a 09 09 | 09 50 69 6e 67 65 64 4c |t();....|.PingedL|
|00002bd0| 69 73 74 2e 62 4e 65 65 | 64 55 70 64 61 74 65 43 |ist.bNee|dUpdateC|
|00002be0| 6f 75 6e 74 20 3d 20 46 | 61 6c 73 65 3b 0d 0a 09 |ount = F|alse;...|
|00002bf0| 09 7d 0d 0a 2f 2f 23 69 | 66 20 31 20 2f 2f 4e 45 |.}..//#i|f 1 //NE|
|00002c00| 57 0d 0a 09 7d 0d 0a 2f | 2f 23 65 6e 64 69 66 0d |W...}../|/#endif.|
|00002c10| 0a 09 2f 2f 20 41 75 74 | 6f 52 65 66 72 65 73 68 |..// Aut|oRefresh|
|00002c20| 20 6c 6f 63 61 6c 20 73 | 65 72 76 65 72 73 0d 0a | local s|ervers..|
|00002c30| 09 69 66 28 41 75 74 6f | 52 65 66 72 65 73 68 54 |.if(Auto|RefreshT|
|00002c40| 69 6d 65 20 3e 20 30 29 | 0d 0a 09 7b 0d 0a 09 09 |ime > 0)|...{....|
|00002c50| 54 69 6d 65 45 6c 61 70 | 73 65 64 20 2b 3d 20 44 |TimeElap|sed += D|
|00002c60| 65 6c 74 61 3b 0d 0a 09 | 09 0d 0a 09 09 69 66 28 |elta;...|.....if(|
|00002c70| 54 69 6d 65 45 6c 61 70 | 73 65 64 20 3e 20 41 75 |TimeElap|sed > Au|
|00002c80| 74 6f 52 65 66 72 65 73 | 68 54 69 6d 65 29 0d 0a |toRefres|hTime)..|
|00002c90| 09 09 7b 0d 0a 09 09 09 | 54 69 6d 65 45 6c 61 70 |..{.....|TimeElap|
|00002ca0| 73 65 64 20 3d 20 30 3b | 0d 0a 09 09 09 52 65 66 |sed = 0;|.....Ref|
|00002cb0| 72 65 73 68 28 2c 2c 54 | 72 75 65 2c 20 62 4e 6f |resh(,,T|rue, bNo|
|00002cc0| 41 75 74 6f 53 6f 72 74 | 29 3b 0d 0a 09 09 7d 0d |AutoSort|);....}.|
|00002cd0| 0a 09 7d 09 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |..}...}.|...funct|
|00002ce0| 69 6f 6e 20 42 65 66 6f | 72 65 50 61 69 6e 74 28 |ion Befo|rePaint(|
|00002cf0| 43 61 6e 76 61 73 20 43 | 2c 20 66 6c 6f 61 74 20 |Canvas C|, float |
|00002d00| 58 2c 20 66 6c 6f 61 74 | 20 59 29 0d 0a 7b 0d 0a |X, float| Y)..{..|
|00002d10| 09 6c 6f 63 61 6c 20 55 | 42 72 6f 77 73 65 72 4d |.local U|BrowserM|
|00002d20| 61 69 6e 57 69 6e 64 6f | 77 20 57 3b 0d 0a 09 6c |ainWindo|w W;...l|
|00002d30| 6f 63 61 6c 20 55 42 72 | 6f 77 73 65 72 53 75 70 |ocal UBr|owserSup|
|00002d40| 65 72 73 65 74 4c 69 73 | 74 20 6c 3b 0d 0a 09 6c |ersetLis|t l;...l|
|00002d50| 6f 63 61 6c 20 45 50 69 | 6e 67 53 74 61 74 65 20 |ocal EPi|ngState |
|00002d60| 50 3b 0d 0a 09 6c 6f 63 | 61 6c 20 69 6e 74 20 50 |P;...loc|al int P|
|00002d70| 65 72 63 65 6e 74 43 6f | 6d 70 6c 65 74 65 3b 0d |ercentCo|mplete;.|
|00002d80| 0a 09 6c 6f 63 61 6c 20 | 69 6e 74 20 54 6f 74 61 |..local |int Tota|
|00002d90| 6c 52 65 74 75 72 6e 65 | 64 53 65 72 76 65 72 73 |lReturne|dServers|
|00002da0| 3b 0d 0a 09 6c 6f 63 61 | 6c 20 73 74 72 69 6e 67 |;...loca|l string|
|00002db0| 20 45 3b 0d 0a 09 6c 6f | 63 61 6c 20 69 6e 74 20 | E;...lo|cal int |
|00002dc0| 54 6f 74 61 6c 53 65 72 | 76 65 72 73 3b 0d 0a 09 |TotalSer|vers;...|
|00002dd0| 6c 6f 63 61 6c 20 69 6e | 74 20 50 69 6e 67 65 64 |local in|t Pinged|
|00002de0| 53 65 72 76 65 72 73 3b | 0d 0a 09 6c 6f 63 61 6c |Servers;|...local|
|00002df0| 20 69 6e 74 20 4d 79 53 | 65 72 76 65 72 73 3b 0d | int MyS|ervers;.|
|00002e00| 0a 0d 0a 09 53 75 70 65 | 72 2e 42 65 66 6f 72 65 |....Supe|r.Before|
|00002e10| 50 61 69 6e 74 28 43 2c | 20 58 2c 20 59 29 3b 0d |Paint(C,| X, Y);.|
|00002e20| 0a 0d 0a 09 57 20 3d 20 | 55 42 72 6f 77 73 65 72 |....W = |UBrowser|
|00002e30| 4d 61 69 6e 57 69 6e 64 | 6f 77 28 47 65 74 50 61 |MainWind|ow(GetPa|
|00002e40| 72 65 6e 74 28 63 6c 61 | 73 73 27 55 42 72 6f 77 |rent(cla|ss'UBrow|
|00002e50| 73 65 72 4d 61 69 6e 57 | 69 6e 64 6f 77 27 29 29 |serMainW|indow'))|
|00002e60| 3b 0d 0a 09 6c 20 3d 20 | 55 42 72 6f 77 73 65 72 |;...l = |UBrowser|
|00002e70| 53 75 70 65 72 73 65 74 | 4c 69 73 74 28 53 75 70 |Superset|List(Sup|
|00002e80| 65 72 73 65 74 4c 69 73 | 74 2e 4e 65 78 74 29 3b |ersetLis|t.Next);|
|00002e90| 0d 0a 0d 0a 09 69 66 28 | 6c 20 21 3d 20 4e 6f 6e |.....if(|l != Non|
|00002ea0| 65 20 26 26 20 50 69 6e | 67 53 74 61 74 65 20 21 |e && Pin|gState !|
|00002eb0| 3d 20 50 53 5f 52 65 50 | 69 6e 67 69 6e 67 29 0d |= PS_ReP|inging).|
|00002ec0| 0a 09 7b 0d 0a 09 09 50 | 20 3d 20 6c 2e 53 75 70 |..{....P| = l.Sup|
|00002ed0| 65 72 73 65 74 57 69 6e | 64 6f 77 2e 50 69 6e 67 |ersetWin|dow.Ping|
|00002ee0| 53 74 61 74 65 3b 0d 0a | 09 09 50 69 6e 67 53 74 |State;..|..PingSt|
|00002ef0| 61 74 65 20 3d 20 50 3b | 0d 0a 0d 0a 09 09 69 66 |ate = P;|......if|
|00002f00| 28 50 20 3d 3d 20 50 53 | 5f 51 75 65 72 79 53 65 |(P == PS|_QuerySe|
|00002f10| 72 76 65 72 29 0d 0a 09 | 09 09 54 6f 74 61 6c 52 |rver)...|..TotalR|
|00002f20| 65 74 75 72 6e 65 64 53 | 65 72 76 65 72 73 20 3d |eturnedS|ervers =|
|00002f30| 20 6c 2e 53 75 70 65 72 | 73 65 74 57 69 6e 64 6f | l.Super|setWindo|
|00002f40| 77 2e 55 6e 70 69 6e 67 | 65 64 4c 69 73 74 2e 43 |w.Unping|edList.C|
|00002f50| 6f 75 6e 74 28 29 3b 0d | 0a 0d 0a 09 09 50 69 6e |ount();.|.....Pin|
|00002f60| 67 65 64 53 65 72 76 65 | 72 73 20 3d 20 6c 2e 53 |gedServe|rs = l.S|
|00002f70| 75 70 65 72 73 65 74 57 | 69 6e 64 6f 77 2e 50 69 |upersetW|indow.Pi|
|00002f80| 6e 67 65 64 4c 69 73 74 | 2e 43 6f 75 6e 74 28 29 |ngedList|.Count()|
|00002f90| 3b 0d 0a 09 09 54 6f 74 | 61 6c 53 65 72 76 65 72 |;....Tot|alServer|
|00002fa0| 73 20 3d 20 6c 2e 53 75 | 70 65 72 73 65 74 57 69 |s = l.Su|persetWi|
|00002fb0| 6e 64 6f 77 2e 55 6e 70 | 69 6e 67 65 64 4c 69 73 |ndow.Unp|ingedLis|
|00002fc0| 74 2e 43 6f 75 6e 74 28 | 29 20 2b 20 50 69 6e 67 |t.Count(|) + Ping|
|00002fd0| 65 64 53 65 72 76 65 72 | 73 3b 0d 0a 09 09 4d 79 |edServer|s;....My|
|00002fe0| 53 65 72 76 65 72 73 20 | 3d 20 50 69 6e 67 65 64 |Servers |= Pinged|
|00002ff0| 4c 69 73 74 2e 46 61 73 | 74 43 6f 75 6e 74 53 68 |List.Fas|tCountSh|
|00003000| 6f 77 6e 28 29 3b 0d 0a | 09 0d 0a 09 09 45 20 3d |own();..|.....E =|
|00003010| 20 6c 2e 53 75 70 65 72 | 73 65 74 57 69 6e 64 6f | l.Super|setWindo|
|00003020| 77 2e 45 72 72 6f 72 53 | 74 72 69 6e 67 3b 0d 0a |w.ErrorS|tring;..|
|00003030| 09 7d 0d 0a 09 65 6c 73 | 65 0d 0a 09 7b 0d 0a 09 |.}...els|e...{...|
|00003040| 09 50 20 3d 20 50 69 6e | 67 53 74 61 74 65 3b 0d |.P = Pin|gState;.|
|00003050| 0a 2f 2f 23 69 66 20 31 | 20 2f 2f 4e 45 57 0d 0a |.//#if 1| //NEW..|
|00003060| 09 09 69 66 28 20 50 20 | 3d 3d 20 50 53 5f 51 75 |..if( P |== PS_Qu|
|00003070| 65 72 79 53 65 72 76 65 | 72 20 26 26 20 55 6e 70 |eryServe|r && Unp|
|00003080| 69 6e 67 65 64 4c 69 73 | 74 20 21 3d 20 4e 6f 6e |ingedLis|t != Non|
|00003090| 65 20 29 0d 0a 09 09 09 | 54 6f 74 61 6c 52 65 74 |e ).....|TotalRet|
|000030a0| 75 72 6e 65 64 53 65 72 | 76 65 72 73 20 3d 20 55 |urnedSer|vers = U|
|000030b0| 6e 70 69 6e 67 65 64 4c | 69 73 74 2e 43 6f 75 6e |npingedL|ist.Coun|
|000030c0| 74 28 29 3b 0d 0a 0d 0a | 09 09 69 66 28 20 50 69 |t();....|..if( Pi|
|000030d0| 6e 67 65 64 4c 69 73 74 | 20 21 3d 20 4e 6f 6e 65 |ngedList| != None|
|000030e0| 20 29 0d 0a 09 09 09 50 | 69 6e 67 65 64 53 65 72 | ).....P|ingedSer|
|000030f0| 76 65 72 73 20 3d 20 50 | 69 6e 67 65 64 4c 69 73 |vers = P|ingedLis|
|00003100| 74 2e 43 6f 75 6e 74 28 | 29 3b 0d 0a 0d 0a 0d 0a |t.Count(|);......|
|00003110| 09 09 54 6f 74 61 6c 53 | 65 72 76 65 72 73 20 3d |..TotalS|ervers =|
|00003120| 20 54 6f 74 61 6c 52 65 | 74 75 72 6e 65 64 53 65 | TotalRe|turnedSe|
|00003130| 72 76 65 72 73 20 2b 20 | 50 69 6e 67 65 64 53 65 |rvers + |PingedSe|
|00003140| 72 76 65 72 73 3b 0d 0a | 0d 0a 09 09 69 66 28 20 |rvers;..|....if( |
|00003150| 50 69 6e 67 65 64 4c 69 | 73 74 20 21 3d 20 4e 6f |PingedLi|st != No|
|00003160| 6e 65 20 29 0d 0a 09 09 | 09 4d 79 53 65 72 76 65 |ne )....|.MyServe|
|00003170| 72 73 20 3d 20 50 69 6e | 67 65 64 4c 69 73 74 2e |rs = Pin|gedList.|
|00003180| 46 61 73 74 43 6f 75 6e | 74 53 68 6f 77 6e 28 29 |FastCoun|tShown()|
|00003190| 3b 0d 0a 0d 0a 09 09 45 | 20 3d 20 45 72 72 6f 72 |;......E| = Error|
|000031a0| 53 74 72 69 6e 67 3b 0d | 0a 2f 2f 23 65 6c 73 65 |String;.|.//#else|
|000031b0| 0d 0a 2f 2a 0d 0a 09 09 | 69 66 28 50 20 3d 3d 20 |../*....|if(P == |
|000031c0| 50 53 5f 51 75 65 72 79 | 53 65 72 76 65 72 29 0d |PS_Query|Server).|
|000031d0| 0a 09 09 09 54 6f 74 61 | 6c 52 65 74 75 72 6e 65 |....Tota|lReturne|
|000031e0| 64 53 65 72 76 65 72 73 | 20 3d 20 55 6e 70 69 6e |dServers| = Unpin|
|000031f0| 67 65 64 4c 69 73 74 2e | 43 6f 75 6e 74 28 29 3b |gedList.|Count();|
|00003200| 0d 0a 0d 0a 09 09 50 69 | 6e 67 65 64 53 65 72 76 |......Pi|ngedServ|
|00003210| 65 72 73 20 3d 20 50 69 | 6e 67 65 64 4c 69 73 74 |ers = Pi|ngedList|
|00003220| 2e 43 6f 75 6e 74 28 29 | 3b 0d 0a 09 09 54 6f 74 |.Count()|;....Tot|
|00003230| 61 6c 53 65 72 76 65 72 | 73 20 3d 20 55 6e 70 69 |alServer|s = Unpi|
|00003240| 6e 67 65 64 4c 69 73 74 | 2e 43 6f 75 6e 74 28 29 |ngedList|.Count()|
|00003250| 20 2b 20 50 69 6e 67 65 | 64 53 65 72 76 65 72 73 | + Pinge|dServers|
|00003260| 3b 0d 0a 09 09 4d 79 53 | 65 72 76 65 72 73 20 3d |;....MyS|ervers =|
|00003270| 20 50 69 6e 67 65 64 4c | 69 73 74 2e 46 61 73 74 | PingedL|ist.Fast|
|00003280| 43 6f 75 6e 74 53 68 6f | 77 6e 28 29 3b 0d 0a 0d |CountSho|wn();...|
|00003290| 0a 09 09 45 20 3d 20 45 | 72 72 6f 72 53 74 72 69 |...E = E|rrorStri|
|000032a0| 6e 67 3b 0d 0a 2a 2f 0d | 0a 2f 2f 23 65 6e 64 69 |ng;..*/.|.//#endi|
|000032b0| 66 0d 0a 09 7d 0d 0a 0d | 0a 09 69 66 28 54 6f 74 |f...}...|..if(Tot|
|000032c0| 61 6c 53 65 72 76 65 72 | 73 20 3e 20 30 29 0d 0a |alServer|s > 0)..|
|000032d0| 09 09 50 65 72 63 65 6e | 74 43 6f 6d 70 6c 65 74 |..Percen|tComplet|
|000032e0| 65 20 3d 20 50 69 6e 67 | 65 64 53 65 72 76 65 72 |e = Ping|edServer|
|000032f0| 73 2a 31 30 30 2e 30 2f | 54 6f 74 61 6c 53 65 72 |s*100.0/|TotalSer|
|00003300| 76 65 72 73 3b 0d 0a 0d | 0a 09 73 77 69 74 63 68 |vers;...|..switch|
|00003310| 28 50 29 0d 0a 09 7b 0d | 0a 09 63 61 73 65 20 50 |(P)...{.|..case P|
|00003320| 53 5f 51 75 65 72 79 53 | 65 72 76 65 72 3a 0d 0a |S_QueryS|erver:..|
|00003330| 09 09 69 66 28 54 6f 74 | 61 6c 52 65 74 75 72 6e |..if(Tot|alReturn|
|00003340| 65 64 53 65 72 76 65 72 | 73 20 3e 20 30 29 0d 0a |edServer|s > 0)..|
|00003350| 09 09 09 57 2e 44 65 66 | 61 75 6c 74 53 74 61 74 |...W.Def|aultStat|
|00003360| 75 73 42 61 72 54 65 78 | 74 28 51 75 65 72 79 53 |usBarTex|t(QueryS|
|00003370| 65 72 76 65 72 54 65 78 | 74 24 22 20 28 22 24 54 |erverTex|t$" ("$T|
|00003380| 6f 74 61 6c 52 65 74 75 | 72 6e 65 64 53 65 72 76 |otalRetu|rnedServ|
|00003390| 65 72 73 24 22 20 22 24 | 53 65 72 76 65 72 43 6f |ers$" "$|ServerCo|
|000033a0| 75 6e 74 4e 61 6d 65 24 | 22 29 22 29 3b 0d 0a 09 |untName$|")");...|
|000033b0| 09 65 6c 73 65 0d 0a 09 | 09 09 57 2e 44 65 66 61 |.else...|..W.Defa|
|000033c0| 75 6c 74 53 74 61 74 75 | 73 42 61 72 54 65 78 74 |ultStatu|sBarText|
|000033d0| 28 51 75 65 72 79 53 65 | 72 76 65 72 54 65 78 74 |(QuerySe|rverText|
|000033e0| 29 3b 0d 0a 09 09 62 72 | 65 61 6b 3b 0d 0a 09 63 |);....br|eak;...c|
|000033f0| 61 73 65 20 50 53 5f 51 | 75 65 72 79 46 61 69 6c |ase PS_Q|ueryFail|
|00003400| 65 64 3a 0d 0a 09 09 57 | 2e 44 65 66 61 75 6c 74 |ed:....W|.Default|
|00003410| 53 74 61 74 75 73 42 61 | 72 54 65 78 74 28 51 75 |StatusBa|rText(Qu|
|00003420| 65 72 79 46 61 69 6c 65 | 64 54 65 78 74 24 45 29 |eryFaile|dText$E)|
|00003430| 3b 0d 0a 09 09 62 72 65 | 61 6b 3b 0d 0a 09 63 61 |;....bre|ak;...ca|
|00003440| 73 65 20 50 53 5f 50 69 | 6e 67 69 6e 67 3a 0d 0a |se PS_Pi|nging:..|
|00003450| 09 63 61 73 65 20 50 53 | 5f 52 65 50 69 6e 67 69 |.case PS|_RePingi|
|00003460| 6e 67 3a 0d 0a 09 09 57 | 2e 44 65 66 61 75 6c 74 |ng:....W|.Default|
|00003470| 53 74 61 74 75 73 42 61 | 72 54 65 78 74 28 50 69 |StatusBa|rText(Pi|
|00003480| 6e 67 69 6e 67 54 65 78 | 74 24 22 20 22 24 50 65 |ngingTex|t$" "$Pe|
|00003490| 72 63 65 6e 74 43 6f 6d | 70 6c 65 74 65 24 22 25 |rcentCom|plete$"%|
|000034a0| 20 22 24 43 6f 6d 70 6c | 65 74 65 54 65 78 74 24 | "$Compl|eteText$|
|000034b0| 22 2e 20 22 24 4d 79 53 | 65 72 76 65 72 73 24 22 |". "$MyS|ervers$"|
|000034c0| 20 22 24 53 65 72 76 65 | 72 43 6f 75 6e 74 4e 61 | "$Serve|rCountNa|
|000034d0| 6d 65 24 22 2c 20 22 24 | 50 69 6e 67 65 64 4c 69 |me$", "$|PingedLi|
|000034e0| 73 74 2e 54 6f 74 61 6c | 50 6c 61 79 65 72 73 24 |st.Total|Players$|
|000034f0| 22 20 22 24 50 6c 61 79 | 65 72 43 6f 75 6e 74 4e |" "$Play|erCountN|
|00003500| 61 6d 65 29 3b 0d 0a 09 | 09 62 72 65 61 6b 3b 0d |ame);...|.break;.|
|00003510| 0a 09 63 61 73 65 20 50 | 53 5f 44 6f 6e 65 3a 0d |..case P|S_Done:.|
|00003520| 0a 09 09 57 2e 44 65 66 | 61 75 6c 74 53 74 61 74 |...W.Def|aultStat|
|00003530| 75 73 42 61 72 54 65 78 | 74 28 4d 79 53 65 72 76 |usBarTex|t(MyServ|
|00003540| 65 72 73 24 22 20 22 24 | 53 65 72 76 65 72 43 6f |ers$" "$|ServerCo|
|00003550| 75 6e 74 4e 61 6d 65 24 | 22 2c 20 22 24 50 69 6e |untName$|", "$Pin|
|00003560| 67 65 64 4c 69 73 74 2e | 54 6f 74 61 6c 50 6c 61 |gedList.|TotalPla|
|00003570| 79 65 72 73 24 22 20 22 | 24 50 6c 61 79 65 72 43 |yers$" "|$PlayerC|
|00003580| 6f 75 6e 74 4e 61 6d 65 | 29 3b 0d 0a 09 09 62 72 |ountName|);....br|
|00003590| 65 61 6b 3b 0d 0a 09 7d | 0d 0a 7d 0d 0a 0d 0a 00 |eak;...}|..}.....|
+--------+-------------------------+-------------------------+--------+--------+