home *** CD-ROM | disk | FTP | other *** search
Unknown | 1999-11-08 | 9.3 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.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 78 94 01 2f 2f 3d 3d 3d |........|x..//===|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 2f 2f 20 55 |========|==..// U|
|00000060| 42 72 6f 77 73 65 72 53 | 65 72 76 65 72 47 72 69 |BrowserS|erverGri|
|00000070| 64 20 2d 20 62 61 73 65 | 20 63 6c 61 73 73 20 66 |d - base| class f|
|00000080| 6f 72 20 73 65 72 76 65 | 72 20 6c 69 73 74 69 6e |or serve|r listin|
|00000090| 67 73 0d 0a 2f 2f 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |gs..//==|========|
|000000a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000e0| 3d 3d 3d 0d 0a 63 6c 61 | 73 73 20 55 42 72 6f 77 |===..cla|ss UBrow|
|000000f0| 73 65 72 53 65 72 76 65 | 72 47 72 69 64 20 65 78 |serServe|rGrid ex|
|00000100| 74 65 6e 64 73 20 55 57 | 69 6e 64 6f 77 47 72 69 |tends UW|indowGri|
|00000110| 64 3b 0d 0a 0d 0a 23 65 | 78 65 63 20 54 45 58 54 |d;....#e|xec TEXT|
|00000120| 55 52 45 20 49 4d 50 4f | 52 54 20 4e 41 4d 45 3d |URE IMPO|RT NAME=|
|00000130| 48 69 67 68 6c 69 67 68 | 74 20 46 49 4c 45 3d 54 |Highligh|t FILE=T|
|00000140| 65 78 74 75 72 65 73 5c | 48 69 67 68 6c 69 67 68 |extures\|Highligh|
|00000150| 74 2e 62 6d 70 20 47 52 | 4f 55 50 3d 22 49 63 6f |t.bmp GR|OUP="Ico|
|00000160| 6e 73 22 20 46 4c 41 47 | 53 3d 32 20 4d 49 50 53 |ns" FLAG|S=2 MIPS|
|00000170| 3d 4f 46 46 0d 0a 0d 0a | 76 61 72 20 55 42 72 6f |=OFF....|var UBro|
|00000180| 77 73 65 72 52 69 67 68 | 74 43 6c 69 63 6b 4d 65 |wserRigh|tClickMe|
|00000190| 6e 75 20 4d 65 6e 75 3b | 0d 0a 76 61 72 20 55 57 |nu Menu;|..var UW|
|000001a0| 69 6e 64 6f 77 47 72 69 | 64 43 6f 6c 75 6d 6e 20 |indowGri|dColumn |
|000001b0| 53 65 72 76 65 72 2c 20 | 50 69 6e 67 2c 20 4d 61 |Server, |Ping, Ma|
|000001c0| 70 4e 61 6d 65 2c 20 50 | 6c 61 79 65 72 73 2c 20 |pName, P|layers, |
|000001d0| 53 6f 72 74 42 79 43 6f | 6c 75 6d 6e 3b 0d 0a 76 |SortByCo|lumn;..v|
|000001e0| 61 72 20 62 6f 6f 6c 20 | 62 53 6f 72 74 44 65 73 |ar bool |bSortDes|
|000001f0| 63 65 6e 64 69 6e 67 3b | 0d 0a 76 61 72 20 6c 6f |cending;|..var lo|
|00000200| 63 61 6c 69 7a 65 64 20 | 73 74 72 69 6e 67 20 53 |calized |string S|
|00000210| 65 72 76 65 72 4e 61 6d | 65 2c 20 50 69 6e 67 4e |erverNam|e, PingN|
|00000220| 61 6d 65 2c 20 4d 61 70 | 4e 61 6d 65 4e 61 6d 65 |ame, Map|NameName|
|00000230| 2c 20 50 6c 61 79 65 72 | 73 4e 61 6d 65 3b 0d 0a |, Player|sName;..|
|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 4c 69 73 74 | 20 53 65 6c 65 63 74 65 |rverList| Selecte|
|00000260| 64 53 65 72 76 65 72 3b | 0d 0a 76 61 72 20 69 6e |dServer;|..var in|
|00000270| 74 20 43 6f 75 6e 74 3b | 0d 0a 0d 0a 76 61 72 20 |t Count;|....var |
|00000280| 66 6c 6f 61 74 20 54 69 | 6d 65 50 61 73 73 65 64 |float Ti|mePassed|
|00000290| 3b 0d 0a 76 61 72 20 69 | 6e 74 20 41 75 74 6f 50 |;..var i|nt AutoP|
|000002a0| 69 6e 67 49 6e 74 65 72 | 76 61 6c 3b 0d 0a 76 61 |ingInter|val;..va|
|000002b0| 72 20 55 42 72 6f 77 73 | 65 72 53 65 72 76 65 72 |r UBrows|erServer|
|000002c0| 4c 69 73 74 20 4f 6c 64 | 50 69 6e 67 53 65 72 76 |List Old|PingServ|
|000002d0| 65 72 3b 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |er;....f|unction |
|000002e0| 43 72 65 61 74 65 64 28 | 29 0d 0a 7b 0d 0a 09 53 |Created(|)..{...S|
|000002f0| 75 70 65 72 2e 43 72 65 | 61 74 65 64 28 29 3b 0d |uper.Cre|ated();.|
|00000300| 0a 0d 0a 09 52 6f 77 48 | 65 69 67 68 74 20 3d 20 |....RowH|eight = |
|00000310| 31 32 3b 0d 0a 0d 0a 09 | 43 72 65 61 74 65 43 6f |12;.....|CreateCo|
|00000320| 6c 75 6d 6e 73 28 29 3b | 0d 0a 0d 0a 09 4d 65 6e |lumns();|.....Men|
|00000330| 75 20 3d 20 55 42 72 6f | 77 73 65 72 52 69 67 68 |u = UBro|wserRigh|
|00000340| 74 43 6c 69 63 6b 4d 65 | 6e 75 28 52 6f 6f 74 2e |tClickMe|nu(Root.|
|00000350| 43 72 65 61 74 65 57 69 | 6e 64 6f 77 28 55 42 72 |CreateWi|ndow(UBr|
|00000360| 6f 77 73 65 72 53 65 72 | 76 65 72 4c 69 73 74 57 |owserSer|verListW|
|00000370| 69 6e 64 6f 77 28 47 65 | 74 50 61 72 65 6e 74 28 |indow(Ge|tParent(|
|00000380| 63 6c 61 73 73 27 55 42 | 72 6f 77 73 65 72 53 65 |class'UB|rowserSe|
|00000390| 72 76 65 72 4c 69 73 74 | 57 69 6e 64 6f 77 27 29 |rverList|Window')|
|000003a0| 29 2e 52 69 67 68 74 43 | 6c 69 63 6b 4d 65 6e 75 |).RightC|lickMenu|
|000003b0| 43 6c 61 73 73 2c 20 30 | 2c 20 30 2c 20 31 30 30 |Class, 0|, 0, 100|
|000003c0| 2c 20 31 30 30 2c 20 53 | 65 6c 66 29 29 3b 0d 0a |, 100, S|elf));..|
|000003d0| 09 4d 65 6e 75 2e 48 69 | 64 65 57 69 6e 64 6f 77 |.Menu.Hi|deWindow|
|000003e0| 28 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |();..}..|..functi|
|000003f0| 6f 6e 20 43 6c 6f 73 65 | 28 6f 70 74 69 6f 6e 61 |on Close|(optiona|
|00000400| 6c 20 62 6f 6f 6c 20 62 | 42 79 50 61 72 65 6e 74 |l bool b|ByParent|
|00000410| 29 0d 0a 7b 0d 0a 09 53 | 75 70 65 72 2e 43 6c 6f |)..{...S|uper.Clo|
|00000420| 73 65 28 62 42 79 50 61 | 72 65 6e 74 29 3b 0d 0a |se(bByPa|rent);..|
|00000430| 09 69 66 28 4d 65 6e 75 | 20 21 3d 20 4e 6f 6e 65 |.if(Menu| != None|
|00000440| 20 26 26 20 4d 65 6e 75 | 2e 62 57 69 6e 64 6f 77 | && Menu|.bWindow|
|00000450| 56 69 73 69 62 6c 65 29 | 0d 0a 09 09 4d 65 6e 75 |Visible)|....Menu|
|00000460| 2e 43 6c 6f 73 65 55 70 | 28 29 3b 0d 0a 7d 0d 0a |.CloseUp|();..}..|
|00000470| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 43 72 65 61 74 |..functi|on Creat|
|00000480| 65 43 6f 6c 75 6d 6e 73 | 28 29 0d 0a 7b 0d 0a 09 |eColumns|()..{...|
|00000490| 53 65 72 76 65 72 09 3d | 20 41 64 64 43 6f 6c 75 |Server.=| AddColu|
|000004a0| 6d 6e 28 53 65 72 76 65 | 72 4e 61 6d 65 2c 20 33 |mn(Serve|rName, 3|
|000004b0| 30 30 29 3b 0d 0a 09 50 | 69 6e 67 09 3d 20 41 64 |00);...P|ing.= Ad|
|000004c0| 64 43 6f 6c 75 6d 6e 28 | 50 69 6e 67 4e 61 6d 65 |dColumn(|PingName|
|000004d0| 2c 20 33 30 29 3b 0d 0a | 09 4d 61 70 4e 61 6d 65 |, 30);..|.MapName|
|000004e0| 09 3d 20 41 64 64 43 6f | 6c 75 6d 6e 28 4d 61 70 |.= AddCo|lumn(Map|
|000004f0| 4e 61 6d 65 4e 61 6d 65 | 2c 20 31 30 30 29 3b 0d |NameName|, 100);.|
|00000500| 0a 09 50 6c 61 79 65 72 | 73 09 3d 20 41 64 64 43 |..Player|s.= AddC|
|00000510| 6f 6c 75 6d 6e 28 50 6c | 61 79 65 72 73 4e 61 6d |olumn(Pl|ayersNam|
|00000520| 65 2c 20 35 30 29 3b 0d | 0a 0d 0a 09 53 6f 72 74 |e, 50);.|....Sort|
|00000530| 42 79 43 6f 6c 75 6d 6e | 20 3d 20 50 69 6e 67 3b |ByColumn| = Ping;|
|00000540| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00000550| 44 72 61 77 43 65 6c 6c | 28 43 61 6e 76 61 73 20 |DrawCell|(Canvas |
|00000560| 43 2c 20 66 6c 6f 61 74 | 20 58 2c 20 66 6c 6f 61 |C, float| X, floa|
|00000570| 74 20 59 2c 20 55 57 69 | 6e 64 6f 77 47 72 69 64 |t Y, UWi|ndowGrid|
|00000580| 43 6f 6c 75 6d 6e 20 43 | 6f 6c 75 6d 6e 2c 20 55 |Column C|olumn, U|
|00000590| 42 72 6f 77 73 65 72 53 | 65 72 76 65 72 4c 69 73 |BrowserS|erverLis|
|000005a0| 74 20 4c 69 73 74 29 0d | 0a 7b 0d 0a 09 73 77 69 |t List).|.{...swi|
|000005b0| 74 63 68 28 43 6f 6c 75 | 6d 6e 29 0d 0a 09 7b 0d |tch(Colu|mn)...{.|
|000005c0| 0a 09 63 61 73 65 20 53 | 65 72 76 65 72 3a 0d 0a |..case S|erver:..|
|000005d0| 09 09 43 6f 6c 75 6d 6e | 2e 43 6c 69 70 54 65 78 |..Column|.ClipTex|
|000005e0| 74 28 20 43 2c 20 58 2c | 20 59 2c 20 4c 69 73 74 |t( C, X,| Y, List|
|000005f0| 2e 48 6f 73 74 4e 61 6d | 65 20 29 3b 0d 0a 09 09 |.HostNam|e );....|
|00000600| 62 72 65 61 6b 3b 0d 0a | 09 63 61 73 65 20 50 69 |break;..|.case Pi|
|00000610| 6e 67 3a 0d 0a 09 09 43 | 6f 6c 75 6d 6e 2e 43 6c |ng:....C|olumn.Cl|
|00000620| 69 70 54 65 78 74 28 20 | 43 2c 20 58 2c 20 59 2c |ipText( |C, X, Y,|
|00000630| 20 49 6e 74 28 4c 69 73 | 74 2e 50 69 6e 67 29 20 | Int(Lis|t.Ping) |
|00000640| 29 3b 0d 0a 09 09 62 72 | 65 61 6b 3b 0d 0a 09 63 |);....br|eak;...c|
|00000650| 61 73 65 20 4d 61 70 4e | 61 6d 65 3a 0d 0a 09 09 |ase MapN|ame:....|
|00000660| 43 6f 6c 75 6d 6e 2e 43 | 6c 69 70 54 65 78 74 28 |Column.C|lipText(|
|00000670| 20 43 2c 20 58 2c 20 59 | 2c 20 4c 69 73 74 2e 4d | C, X, Y|, List.M|
|00000680| 61 70 44 69 73 70 6c 61 | 79 4e 61 6d 65 20 29 3b |apDispla|yName );|
|00000690| 0d 0a 09 09 62 72 65 61 | 6b 3b 0d 0a 09 63 61 73 |....brea|k;...cas|
|000006a0| 65 20 50 6c 61 79 65 72 | 73 3a 0d 0a 09 09 43 6f |e Player|s:....Co|
|000006b0| 6c 75 6d 6e 2e 43 6c 69 | 70 54 65 78 74 28 20 43 |lumn.Cli|pText( C|
|000006c0| 2c 20 58 2c 20 59 2c 20 | 4c 69 73 74 2e 4e 75 6d |, X, Y, |List.Num|
|000006d0| 50 6c 61 79 65 72 73 24 | 22 2f 22 24 4c 69 73 74 |Players$|"/"$List|
|000006e0| 2e 4d 61 78 50 6c 61 79 | 65 72 73 20 29 3b 0d 0a |.MaxPlay|ers );..|
|000006f0| 09 09 62 72 65 61 6b 3b | 0d 0a 09 7d 0d 0a 7d 0d |..break;|...}..}.|
|00000700| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 50 61 69 6e |...funct|ion Pain|
|00000710| 74 43 6f 6c 75 6d 6e 28 | 43 61 6e 76 61 73 20 43 |tColumn(|Canvas C|
|00000720| 2c 20 55 57 69 6e 64 6f | 77 47 72 69 64 43 6f 6c |, UWindo|wGridCol|
|00000730| 75 6d 6e 20 43 6f 6c 75 | 6d 6e 2c 20 66 6c 6f 61 |umn Colu|mn, floa|
|00000740| 74 20 4d 6f 75 73 65 58 | 2c 20 66 6c 6f 61 74 20 |t MouseX|, float |
|00000750| 4d 6f 75 73 65 59 29 20 | 0d 0a 7b 0d 0a 09 6c 6f |MouseY) |..{...lo|
|00000760| 63 61 6c 20 55 42 72 6f | 77 73 65 72 53 65 72 76 |cal UBro|wserServ|
|00000770| 65 72 4c 69 73 74 20 4c | 69 73 74 3b 0d 0a 09 6c |erList L|ist;...l|
|00000780| 6f 63 61 6c 20 66 6c 6f | 61 74 20 59 3b 0d 0a 09 |ocal flo|at Y;...|
|00000790| 6c 6f 63 61 6c 20 69 6e | 74 20 56 69 73 69 62 6c |local in|t Visibl|
|000007a0| 65 3b 0d 0a 09 6c 6f 63 | 61 6c 20 69 6e 74 20 53 |e;...loc|al int S|
|000007b0| 6b 69 70 70 65 64 3b 0d | 0a 09 6c 6f 63 61 6c 20 |kipped;.|..local |
|000007c0| 69 6e 74 20 54 6f 70 4d | 61 72 67 69 6e 3b 0d 0a |int TopM|argin;..|
|000007d0| 09 6c 6f 63 61 6c 20 69 | 6e 74 20 42 6f 74 74 6f |.local i|nt Botto|
|000007e0| 6d 4d 61 72 67 69 6e 3b | 0d 0a 0d 0a 09 43 2e 46 |mMargin;|.....C.F|
|000007f0| 6f 6e 74 20 3d 20 52 6f | 6f 74 2e 46 6f 6e 74 73 |ont = Ro|ot.Fonts|
|00000800| 5b 46 5f 4e 6f 72 6d 61 | 6c 5d 3b 0d 0a 0d 0a 09 |[F_Norma|l];.....|
|00000810| 4c 69 73 74 20 3d 20 55 | 42 72 6f 77 73 65 72 53 |List = U|BrowserS|
|00000820| 65 72 76 65 72 4c 69 73 | 74 57 69 6e 64 6f 77 28 |erverLis|tWindow(|
|00000830| 47 65 74 50 61 72 65 6e | 74 28 63 6c 61 73 73 27 |GetParen|t(class'|
|00000840| 55 42 72 6f 77 73 65 72 | 53 65 72 76 65 72 4c 69 |UBrowser|ServerLi|
|00000850| 73 74 57 69 6e 64 6f 77 | 27 29 29 2e 50 69 6e 67 |stWindow|')).Ping|
|00000860| 65 64 4c 69 73 74 3b 0d | 0a 0d 0a 09 69 66 28 4c |edList;.|....if(L|
|00000870| 69 73 74 20 3d 3d 20 4e | 6f 6e 65 29 0d 0a 09 09 |ist == N|one)....|
|00000880| 43 6f 75 6e 74 20 3d 20 | 30 3b 0d 0a 09 65 6c 73 |Count = |0;...els|
|00000890| 65 0d 0a 09 09 43 6f 75 | 6e 74 20 3d 20 4c 69 73 |e....Cou|nt = Lis|
|000008a0| 74 2e 46 61 73 74 43 6f | 75 6e 74 53 68 6f 77 6e |t.FastCo|untShown|
|000008b0| 28 29 3b 0d 0a 0d 0a 09 | 69 66 28 62 53 68 6f 77 |();.....|if(bShow|
|000008c0| 48 6f 72 69 7a 53 42 29 | 0d 0a 09 09 42 6f 74 74 |HorizSB)|....Bott|
|000008d0| 6f 6d 4d 61 72 67 69 6e | 20 3d 20 4c 6f 6f 6b 41 |omMargin| = LookA|
|000008e0| 6e 64 46 65 65 6c 2e 53 | 69 7a 65 5f 53 63 72 6f |ndFeel.S|ize_Scro|
|000008f0| 6c 6c 62 61 72 57 69 64 | 74 68 3b 0d 0a 09 65 6c |llbarWid|th;...el|
|00000900| 73 65 0d 0a 09 09 42 6f | 74 74 6f 6d 4d 61 72 67 |se....Bo|ttomMarg|
|00000910| 69 6e 20 3d 20 30 3b 0d | 0a 0d 0a 09 54 6f 70 4d |in = 0;.|....TopM|
|00000920| 61 72 67 69 6e 20 3d 20 | 4c 6f 6f 6b 41 6e 64 46 |argin = |LookAndF|
|00000930| 65 65 6c 2e 43 6f 6c 75 | 6d 6e 48 65 61 64 69 6e |eel.Colu|mnHeadin|
|00000940| 67 48 65 69 67 68 74 3b | 0d 0a 0d 0a 09 56 69 73 |gHeight;|.....Vis|
|00000950| 69 62 6c 65 20 3d 20 69 | 6e 74 28 28 57 69 6e 48 |ible = i|nt((WinH|
|00000960| 65 69 67 68 74 20 2d 20 | 28 54 6f 70 4d 61 72 67 |eight - |(TopMarg|
|00000970| 69 6e 20 2b 20 42 6f 74 | 74 6f 6d 4d 61 72 67 69 |in + Bot|tomMargi|
|00000980| 6e 29 29 2f 52 6f 77 48 | 65 69 67 68 74 29 3b 0d |n))/RowH|eight);.|
|00000990| 0a 09 0d 0a 09 56 65 72 | 74 53 42 2e 53 65 74 52 |.....Ver|tSB.SetR|
|000009a0| 61 6e 67 65 28 30 2c 20 | 43 6f 75 6e 74 2b 31 2c |ange(0, |Count+1,|
|000009b0| 20 56 69 73 69 62 6c 65 | 29 3b 0d 0a 09 54 6f 70 | Visible|);...Top|
|000009c0| 52 6f 77 20 3d 20 56 65 | 72 74 53 42 2e 50 6f 73 |Row = Ve|rtSB.Pos|
|000009d0| 3b 0d 0a 0d 0a 09 53 6b | 69 70 70 65 64 20 3d 20 |;.....Sk|ipped = |
|000009e0| 30 3b 0d 0a 0d 0a 2f 2f | 23 69 66 20 30 20 2f 2f |0;....//|#if 0 //|
|000009f0| 4e 45 57 0d 0a 2f 2f 09 | 4c 69 73 74 20 3d 20 55 |NEW..//.|List = U|
|00000a00| 42 72 6f 77 73 65 72 53 | 65 72 76 65 72 4c 69 73 |BrowserS|erverLis|
|00000a10| 74 28 4c 69 73 74 2e 4e | 65 78 74 53 68 6f 77 6e |t(List.N|extShown|
|00000a20| 28 29 29 3b 0d 0a 2f 2f | 23 65 6e 64 69 66 0d 0a |());..//|#endif..|
|00000a30| 0d 0a 09 69 66 28 4c 69 | 73 74 20 21 3d 20 4e 6f |...if(Li|st != No|
|00000a40| 6e 65 29 20 0d 0a 09 7b | 0d 0a 2f 2f 23 69 66 20 |ne) ...{|..//#if |
|00000a50| 31 20 2f 2f 4e 45 57 0d | 0a 09 09 4c 69 73 74 20 |1 //NEW.|...List |
|00000a60| 3d 20 55 42 72 6f 77 73 | 65 72 53 65 72 76 65 72 |= UBrows|erServer|
|00000a70| 4c 69 73 74 28 4c 69 73 | 74 2e 4e 65 78 74 53 68 |List(Lis|t.NextSh|
|00000a80| 6f 77 6e 28 29 29 3b 0d | 0a 2f 2f 23 65 6e 64 69 |own());.|.//#endi|
|00000a90| 66 0d 0a 09 09 59 20 3d | 20 31 3b 0d 0a 0d 0a 09 |f....Y =| 1;.....|
|00000aa0| 09 77 68 69 6c 65 28 28 | 59 20 3c 20 52 6f 77 48 |.while((|Y < RowH|
|00000ab0| 65 69 67 68 74 20 2b 20 | 57 69 6e 48 65 69 67 68 |eight + |WinHeigh|
|00000ac0| 74 20 2d 20 52 6f 77 48 | 65 69 67 68 74 20 2d 20 |t - RowH|eight - |
|00000ad0| 28 54 6f 70 4d 61 72 67 | 69 6e 20 2b 20 42 6f 74 |(TopMarg|in + Bot|
|00000ae0| 74 6f 6d 4d 61 72 67 69 | 6e 29 29 20 26 26 20 28 |tomMargi|n)) && (|
|00000af0| 4c 69 73 74 20 21 3d 20 | 4e 6f 6e 65 29 29 0d 0a |List != |None))..|
|00000b00| 09 09 7b 0d 0a 09 09 09 | 2f 2f 20 46 49 58 4d 45 |..{.....|// FIXME|
|00000b10| 3a 20 6d 61 6b 65 20 6d | 6f 72 65 20 65 66 66 69 |: make m|ore effi|
|00000b20| 63 69 65 6e 74 20 2d 20 | 63 61 63 68 65 20 74 6f |cient - |cache to|
|00000b30| 70 20 73 65 72 76 65 72 | 20 69 6e 20 6c 69 73 74 |p server| in list|
|00000b40| 20 69 66 20 54 6f 70 52 | 6f 77 20 64 6f 65 73 6e | if TopR|ow doesn|
|00000b50| 27 74 20 63 68 61 6e 67 | 65 0d 0a 09 09 09 69 66 |'t chang|e.....if|
|00000b60| 28 53 6b 69 70 70 65 64 | 20 3e 3d 20 56 65 72 74 |(Skipped| >= Vert|
|00000b70| 53 42 2e 50 6f 73 29 0d | 0a 09 09 09 7b 0d 0a 09 |SB.Pos).|....{...|
|00000b80| 09 09 09 2f 2f 20 44 72 | 61 77 20 68 69 67 68 6c |...// Dr|aw highl|
|00000b90| 69 67 68 74 0d 0a 09 09 | 09 09 69 66 28 4c 69 73 |ight....|..if(Lis|
|00000ba0| 74 20 3d 3d 20 53 65 6c | 65 63 74 65 64 53 65 72 |t == Sel|ectedSer|
|00000bb0| 76 65 72 29 0d 0a 09 09 | 09 09 09 43 6f 6c 75 6d |ver)....|...Colum|
|00000bc0| 6e 2e 44 72 61 77 53 74 | 72 65 74 63 68 65 64 54 |n.DrawSt|retchedT|
|00000bd0| 65 78 74 75 72 65 28 20 | 43 2c 20 30 2c 20 59 2d |exture( |C, 0, Y-|
|00000be0| 31 20 2b 20 54 6f 70 4d | 61 72 67 69 6e 2c 20 43 |1 + TopM|argin, C|
|00000bf0| 6f 6c 75 6d 6e 2e 57 69 | 6e 57 69 64 74 68 2c 20 |olumn.Wi|nWidth, |
|00000c00| 52 6f 77 48 65 69 67 68 | 74 20 2b 20 31 2c 20 54 |RowHeigh|t + 1, T|
|00000c10| 65 78 74 75 72 65 27 48 | 69 67 68 6c 69 67 68 74 |exture'H|ighlight|
|00000c20| 27 29 3b 0d 0a 0d 0a 09 | 09 09 09 44 72 61 77 43 |');.....|...DrawC|
|00000c30| 65 6c 6c 28 43 2c 20 32 | 2c 20 59 20 2b 20 54 6f |ell(C, 2|, Y + To|
|00000c40| 70 4d 61 72 67 69 6e 2c | 20 43 6f 6c 75 6d 6e 2c |pMargin,| Column,|
|00000c50| 20 4c 69 73 74 29 3b 0d | 0a 09 09 09 09 59 20 3d | List);.|.....Y =|
|00000c60| 20 59 20 2b 20 52 6f 77 | 48 65 69 67 68 74 3b 09 | Y + Row|Height;.|
|00000c70| 09 09 0d 0a 09 09 09 7d | 20 0d 0a 09 09 09 53 6b |.......}| .....Sk|
|00000c80| 69 70 70 65 64 20 2b 2b | 3b 0d 0a 0d 0a 09 09 09 |ipped ++|;.......|
|00000c90| 4c 69 73 74 20 3d 20 55 | 42 72 6f 77 73 65 72 53 |List = U|BrowserS|
|00000ca0| 65 72 76 65 72 4c 69 73 | 74 28 4c 69 73 74 2e 4e |erverLis|t(List.N|
|00000cb0| 65 78 74 53 68 6f 77 6e | 28 29 29 3b 0d 0a 09 09 |extShown|());....|
|00000cc0| 7d 0d 0a 09 7d 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |}...}..}|....func|
|00000cd0| 74 69 6f 6e 20 53 6f 72 | 74 43 6f 6c 75 6d 6e 28 |tion Sor|tColumn(|
|00000ce0| 55 57 69 6e 64 6f 77 47 | 72 69 64 43 6f 6c 75 6d |UWindowG|ridColum|
|00000cf0| 6e 20 43 6f 6c 75 6d 6e | 29 0d 0a 7b 0d 0a 09 69 |n Column|)..{...i|
|00000d00| 66 28 53 6f 72 74 42 79 | 43 6f 6c 75 6d 6e 20 3d |f(SortBy|Column =|
|00000d10| 3d 20 43 6f 6c 75 6d 6e | 29 0d 0a 09 09 62 53 6f |= Column|)....bSo|
|00000d20| 72 74 44 65 73 63 65 6e | 64 69 6e 67 20 3d 20 21 |rtDescen|ding = !|
|00000d30| 62 53 6f 72 74 44 65 73 | 63 65 6e 64 69 6e 67 3b |bSortDes|cending;|
|00000d40| 0d 0a 09 65 6c 73 65 0d | 0a 09 09 62 53 6f 72 74 |...else.|...bSort|
|00000d50| 44 65 73 63 65 6e 64 69 | 6e 67 20 3d 20 46 61 6c |Descendi|ng = Fal|
|00000d60| 73 65 3b 0d 0a 0d 0a 09 | 53 6f 72 74 42 79 43 6f |se;.....|SortByCo|
|00000d70| 6c 75 6d 6e 20 3d 20 43 | 6f 6c 75 6d 6e 3b 0d 0a |lumn = C|olumn;..|
|00000d80| 0d 0a 09 55 42 72 6f 77 | 73 65 72 53 65 72 76 65 |...UBrow|serServe|
|00000d90| 72 4c 69 73 74 57 69 6e | 64 6f 77 28 47 65 74 50 |rListWin|dow(GetP|
|00000da0| 61 72 65 6e 74 28 63 6c | 61 73 73 27 55 42 72 6f |arent(cl|ass'UBro|
|00000db0| 77 73 65 72 53 65 72 76 | 65 72 4c 69 73 74 57 69 |wserServ|erListWi|
|00000dc0| 6e 64 6f 77 27 29 29 2e | 50 69 6e 67 65 64 4c 69 |ndow')).|PingedLi|
|00000dd0| 73 74 2e 53 6f 72 74 28 | 29 3b 09 0d 0a 7d 0d 0a |st.Sort(|);...}..|
|00000de0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 54 69 63 6b 28 |..functi|on Tick(|
|00000df0| 66 6c 6f 61 74 20 44 65 | 6c 74 61 54 69 6d 65 29 |float De|ltaTime)|
|00000e00| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 55 42 72 6f |..{...lo|cal UBro|
|00000e10| 77 73 65 72 53 65 72 76 | 65 72 4c 69 73 74 57 69 |wserServ|erListWi|
|00000e20| 6e 64 6f 77 20 57 3b 0d | 0a 0d 0a 09 57 20 3d 20 |ndow W;.|....W = |
|00000e30| 55 42 72 6f 77 73 65 72 | 53 65 72 76 65 72 4c 69 |UBrowser|ServerLi|
|00000e40| 73 74 57 69 6e 64 6f 77 | 28 47 65 74 50 61 72 65 |stWindow|(GetPare|
|00000e50| 6e 74 28 63 6c 61 73 73 | 27 55 42 72 6f 77 73 65 |nt(class|'UBrowse|
|00000e60| 72 53 65 72 76 65 72 4c | 69 73 74 57 69 6e 64 6f |rServerL|istWindo|
|00000e70| 77 27 29 29 3b 0d 0a 0d | 0a 09 69 66 28 57 2e 50 |w'));...|..if(W.P|
|00000e80| 69 6e 67 53 74 61 74 65 | 20 3d 3d 20 50 53 5f 44 |ingState| == PS_D|
|00000e90| 6f 6e 65 20 26 26 20 53 | 65 6c 65 63 74 65 64 53 |one && S|electedS|
|00000ea0| 65 72 76 65 72 20 3d 3d | 20 4e 6f 6e 65 29 0d 0a |erver ==| None)..|
|00000eb0| 09 7b 0d 0a 09 09 53 65 | 6c 65 63 74 65 64 53 65 |.{....Se|lectedSe|
|00000ec0| 72 76 65 72 20 3d 20 55 | 42 72 6f 77 73 65 72 53 |rver = U|BrowserS|
|00000ed0| 65 72 76 65 72 4c 69 73 | 74 28 57 2e 50 69 6e 67 |erverLis|t(W.Ping|
|00000ee0| 65 64 4c 69 73 74 2e 4e | 65 78 74 53 68 6f 77 6e |edList.N|extShown|
|00000ef0| 28 29 29 3b 0d 0a 09 09 | 69 66 28 53 65 6c 65 63 |());....|if(Selec|
|00000f00| 74 65 64 53 65 72 76 65 | 72 20 3d 3d 20 4e 6f 6e |tedServe|r == Non|
|00000f10| 65 20 7c 7c 20 53 65 6c | 65 63 74 65 64 53 65 72 |e || Sel|ectedSer|
|00000f20| 76 65 72 2e 62 50 69 6e | 67 69 6e 67 29 0d 0a 09 |ver.bPin|ging)...|
|00000f30| 09 09 53 65 6c 65 63 74 | 65 64 53 65 72 76 65 72 |..Select|edServer|
|00000f40| 20 3d 20 4e 6f 6e 65 3b | 0d 0a 09 09 65 6c 73 65 | = None;|....else|
|00000f50| 0d 0a 09 09 09 55 42 72 | 6f 77 73 65 72 53 65 72 |.....UBr|owserSer|
|00000f60| 76 65 72 4c 69 73 74 57 | 69 6e 64 6f 77 28 47 65 |verListW|indow(Ge|
|00000f70| 74 50 61 72 65 6e 74 28 | 63 6c 61 73 73 27 55 42 |tParent(|class'UB|
|00000f80| 72 6f 77 73 65 72 53 65 | 72 76 65 72 4c 69 73 74 |rowserSe|rverList|
|00000f90| 57 69 6e 64 6f 77 27 29 | 29 2e 41 75 74 6f 49 6e |Window')|).AutoIn|
|00000fa0| 66 6f 28 53 65 6c 65 63 | 74 65 64 53 65 72 76 65 |fo(Selec|tedServe|
|00000fb0| 72 29 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 69 66 28 57 |r);...}.|....if(W|
|00000fc0| 2e 50 69 6e 67 53 74 61 | 74 65 20 3d 3d 20 50 53 |.PingSta|te == PS|
|00000fd0| 5f 44 6f 6e 65 29 0d 0a | 09 7b 0d 0a 09 09 69 66 |_Done)..|.{....if|
|00000fe0| 28 54 69 6d 65 50 61 73 | 73 65 64 20 3e 3d 20 41 |(TimePas|sed >= A|
|00000ff0| 75 74 6f 50 69 6e 67 49 | 6e 74 65 72 76 61 6c 29 |utoPingI|nterval)|
|00001000| 0d 0a 09 09 7b 0d 0a 09 | 09 09 54 69 6d 65 50 61 |....{...|..TimePa|
|00001010| 73 73 65 64 20 3d 20 30 | 3b 0d 0a 0d 0a 09 09 09 |ssed = 0|;.......|
|00001020| 69 66 28 53 65 6c 65 63 | 74 65 64 53 65 72 76 65 |if(Selec|tedServe|
|00001030| 72 20 21 3d 20 4f 6c 64 | 50 69 6e 67 53 65 72 76 |r != Old|PingServ|
|00001040| 65 72 29 0d 0a 09 09 09 | 7b 0d 0a 09 09 09 09 69 |er).....|{......i|
|00001050| 66 28 4f 6c 64 50 69 6e | 67 53 65 72 76 65 72 20 |f(OldPin|gServer |
|00001060| 21 3d 20 4e 6f 6e 65 29 | 0d 0a 09 09 09 09 09 4f |!= None)|.......O|
|00001070| 6c 64 50 69 6e 67 53 65 | 72 76 65 72 2e 43 61 6e |ldPingSe|rver.Can|
|00001080| 63 65 6c 50 69 6e 67 28 | 29 3b 0d 0a 09 09 09 09 |celPing(|);......|
|00001090| 4f 6c 64 50 69 6e 67 53 | 65 72 76 65 72 20 3d 20 |OldPingS|erver = |
|000010a0| 53 65 6c 65 63 74 65 64 | 53 65 72 76 65 72 3b 0d |Selected|Server;.|
|000010b0| 0a 09 09 09 7d 0d 0a 0d | 0a 09 09 09 69 66 28 53 |....}...|....if(S|
|000010c0| 65 6c 65 63 74 65 64 53 | 65 72 76 65 72 20 21 3d |electedS|erver !=|
|000010d0| 20 4e 6f 6e 65 20 26 26 | 20 21 53 65 6c 65 63 74 | None &&| !Select|
|000010e0| 65 64 53 65 72 76 65 72 | 2e 62 50 69 6e 67 69 6e |edServer|.bPingin|
|000010f0| 67 29 0d 0a 09 09 09 09 | 53 65 6c 65 63 74 65 64 |g)......|Selected|
|00001100| 53 65 72 76 65 72 2e 50 | 69 6e 67 53 65 72 76 65 |Server.P|ingServe|
|00001110| 72 28 46 61 6c 73 65 2c | 20 54 72 75 65 2c 20 54 |r(False,| True, T|
|00001120| 72 75 65 29 3b 0d 0a 09 | 09 7d 0d 0a 09 09 54 69 |rue);...|.}....Ti|
|00001130| 6d 65 50 61 73 73 65 64 | 20 3d 20 54 69 6d 65 50 |mePassed| = TimeP|
|00001140| 61 73 73 65 64 20 2b 20 | 44 65 6c 74 61 54 69 6d |assed + |DeltaTim|
|00001150| 65 3b 0d 0a 09 7d 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |e;...}..|}....fun|
|00001160| 63 74 69 6f 6e 20 53 65 | 6c 65 63 74 52 6f 77 28 |ction Se|lectRow(|
|00001170| 69 6e 74 20 52 6f 77 29 | 0d 0a 7b 0d 0a 09 6c 6f |int Row)|..{...lo|
|00001180| 63 61 6c 20 55 42 72 6f | 77 73 65 72 53 65 72 76 |cal UBro|wserServ|
|00001190| 65 72 4c 69 73 74 20 53 | 3b 0d 0a 0d 0a 09 53 20 |erList S|;.....S |
|000011a0| 3d 20 47 65 74 53 65 72 | 76 65 72 55 6e 64 65 72 |= GetSer|verUnder|
|000011b0| 52 6f 77 28 52 6f 77 29 | 3b 0d 0a 0d 0a 09 69 66 |Row(Row)|;.....if|
|000011c0| 28 53 65 6c 65 63 74 65 | 64 53 65 72 76 65 72 20 |(Selecte|dServer |
|000011d0| 21 3d 20 53 29 0d 0a 09 | 7b 0d 0a 09 09 69 66 28 |!= S)...|{....if(|
|000011e0| 53 20 21 3d 20 4e 6f 6e | 65 29 0d 0a 09 09 09 55 |S != Non|e).....U|
|000011f0| 42 72 6f 77 73 65 72 53 | 65 72 76 65 72 4c 69 73 |BrowserS|erverLis|
|00001200| 74 57 69 6e 64 6f 77 28 | 47 65 74 50 61 72 65 6e |tWindow(|GetParen|
|00001210| 74 28 63 6c 61 73 73 27 | 55 42 72 6f 77 73 65 72 |t(class'|UBrowser|
|00001220| 53 65 72 76 65 72 4c 69 | 73 74 57 69 6e 64 6f 77 |ServerLi|stWindow|
|00001230| 27 29 29 2e 41 75 74 6f | 49 6e 66 6f 28 53 29 3b |')).Auto|Info(S);|
|00001240| 0d 0a 09 09 54 69 6d 65 | 50 61 73 73 65 64 20 3d |....Time|Passed =|
|00001250| 20 30 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 69 66 28 53 | 0;...}.|....if(S|
|00001260| 20 21 3d 20 4e 6f 6e 65 | 29 0d 0a 09 09 53 65 6c | != None|)....Sel|
|00001270| 65 63 74 65 64 53 65 72 | 76 65 72 20 3d 20 53 3b |ectedSer|ver = S;|
|00001280| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00001290| 52 69 67 68 74 43 6c 69 | 63 6b 52 6f 77 28 69 6e |RightCli|ckRow(in|
|000012a0| 74 20 52 6f 77 2c 20 66 | 6c 6f 61 74 20 58 2c 20 |t Row, f|loat X, |
|000012b0| 66 6c 6f 61 74 20 59 29 | 0d 0a 7b 0d 0a 09 6c 6f |float Y)|..{...lo|
|000012c0| 63 61 6c 20 66 6c 6f 61 | 74 20 4d 65 6e 75 58 2c |cal floa|t MenuX,|
|000012d0| 20 4d 65 6e 75 59 3b 0d | 0a 0d 0a 09 57 69 6e 64 | MenuY;.|....Wind|
|000012e0| 6f 77 54 6f 47 6c 6f 62 | 61 6c 28 58 2c 20 59 2c |owToGlob|al(X, Y,|
|000012f0| 20 4d 65 6e 75 58 2c 20 | 4d 65 6e 75 59 29 3b 0d | MenuX, |MenuY);.|
|00001300| 0a 09 4d 65 6e 75 2e 57 | 69 6e 4c 65 66 74 20 3d |..Menu.W|inLeft =|
|00001310| 20 4d 65 6e 75 58 3b 0d | 0a 09 4d 65 6e 75 2e 57 | MenuX;.|..Menu.W|
|00001320| 69 6e 54 6f 70 20 3d 20 | 4d 65 6e 75 59 3b 0d 0a |inTop = |MenuY;..|
|00001330| 09 4d 65 6e 75 2e 4c 69 | 73 74 20 3d 20 47 65 74 |.Menu.Li|st = Get|
|00001340| 53 65 72 76 65 72 55 6e | 64 65 72 52 6f 77 28 52 |ServerUn|derRow(R|
|00001350| 6f 77 29 3b 0d 0a 09 4d | 65 6e 75 2e 47 72 69 64 |ow);...M|enu.Grid|
|00001360| 20 3d 20 53 65 6c 66 3b | 0d 0a 09 4d 65 6e 75 2e | = Self;|...Menu.|
|00001370| 53 68 6f 77 57 69 6e 64 | 6f 77 28 29 3b 0d 0a 7d |ShowWind|ow();..}|
|00001380| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 55 42 72 |....func|tion UBr|
|00001390| 6f 77 73 65 72 53 65 72 | 76 65 72 4c 69 73 74 20 |owserSer|verList |
|000013a0| 47 65 74 53 65 72 76 65 | 72 55 6e 64 65 72 52 6f |GetServe|rUnderRo|
|000013b0| 77 28 69 6e 74 20 52 6f | 77 29 0d 0a 7b 0d 0a 09 |w(int Ro|w)..{...|
|000013c0| 6c 6f 63 61 6c 20 69 6e | 74 20 69 3b 0d 0a 09 6c |local in|t i;...l|
|000013d0| 6f 63 61 6c 20 55 42 72 | 6f 77 73 65 72 53 65 72 |ocal UBr|owserSer|
|000013e0| 76 65 72 4c 69 73 74 20 | 4c 69 73 74 3b 0d 0a 0d |verList |List;...|
|000013f0| 0a 09 4c 69 73 74 20 3d | 20 55 42 72 6f 77 73 65 |..List =| UBrowse|
|00001400| 72 53 65 72 76 65 72 4c | 69 73 74 57 69 6e 64 6f |rServerL|istWindo|
|00001410| 77 28 47 65 74 50 61 72 | 65 6e 74 28 63 6c 61 73 |w(GetPar|ent(clas|
|00001420| 73 27 55 42 72 6f 77 73 | 65 72 53 65 72 76 65 72 |s'UBrows|erServer|
|00001430| 4c 69 73 74 57 69 6e 64 | 6f 77 27 29 29 2e 50 69 |ListWind|ow')).Pi|
|00001440| 6e 67 65 64 4c 69 73 74 | 3b 0d 0a 09 69 66 28 4c |ngedList|;...if(L|
|00001450| 69 73 74 20 21 3d 20 4e | 6f 6e 65 29 0d 0a 09 7b |ist != N|one)...{|
|00001460| 0d 0a 09 09 69 20 3d 20 | 30 3b 0d 0a 09 09 4c 69 |....i = |0;....Li|
|00001470| 73 74 20 3d 20 55 42 72 | 6f 77 73 65 72 53 65 72 |st = UBr|owserSer|
|00001480| 76 65 72 4c 69 73 74 28 | 4c 69 73 74 2e 4e 65 78 |verList(|List.Nex|
|00001490| 74 53 68 6f 77 6e 28 29 | 29 3b 0d 0a 09 09 77 68 |tShown()|);....wh|
|000014a0| 69 6c 65 28 4c 69 73 74 | 20 21 3d 20 4e 6f 6e 65 |ile(List| != None|
|000014b0| 29 0d 0a 09 09 7b 0d 0a | 09 09 09 69 66 28 69 20 |)....{..|...if(i |
|000014c0| 3d 3d 20 52 6f 77 29 0d | 0a 09 09 09 09 72 65 74 |== Row).|.....ret|
|000014d0| 75 72 6e 20 4c 69 73 74 | 3b 0d 0a 0d 0a 09 09 09 |urn List|;.......|
|000014e0| 4c 69 73 74 20 3d 20 55 | 42 72 6f 77 73 65 72 53 |List = U|BrowserS|
|000014f0| 65 72 76 65 72 4c 69 73 | 74 28 4c 69 73 74 2e 4e |erverLis|t(List.N|
|00001500| 65 78 74 53 68 6f 77 6e | 28 29 29 3b 0d 0a 09 09 |extShown|());....|
|00001510| 09 69 2b 2b 3b 0d 0a 09 | 09 7d 0d 0a 09 7d 0d 0a |.i++;...|.}...}..|
|00001520| 09 72 65 74 75 72 6e 20 | 4e 6f 6e 65 3b 0d 0a 7d |.return |None;..}|
|00001530| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 69 6e 74 |....func|tion int|
|00001540| 20 47 65 74 53 65 6c 65 | 63 74 65 64 52 6f 77 28 | GetSele|ctedRow(|
|00001550| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 69 6e 74 |)..{...l|ocal int|
|00001560| 20 69 3b 0d 0a 09 6c 6f | 63 61 6c 20 55 42 72 6f | i;...lo|cal UBro|
|00001570| 77 73 65 72 53 65 72 76 | 65 72 4c 69 73 74 20 4c |wserServ|erList L|
|00001580| 69 73 74 3b 0d 0a 0d 0a | 09 4c 69 73 74 20 3d 20 |ist;....|.List = |
|00001590| 55 42 72 6f 77 73 65 72 | 53 65 72 76 65 72 4c 69 |UBrowser|ServerLi|
|000015a0| 73 74 57 69 6e 64 6f 77 | 28 47 65 74 50 61 72 65 |stWindow|(GetPare|
|000015b0| 6e 74 28 63 6c 61 73 73 | 27 55 42 72 6f 77 73 65 |nt(class|'UBrowse|
|000015c0| 72 53 65 72 76 65 72 4c | 69 73 74 57 69 6e 64 6f |rServerL|istWindo|
|000015d0| 77 27 29 29 2e 50 69 6e | 67 65 64 4c 69 73 74 3b |w')).Pin|gedList;|
|000015e0| 0d 0a 09 69 66 28 4c 69 | 73 74 20 21 3d 20 4e 6f |...if(Li|st != No|
|000015f0| 6e 65 29 0d 0a 09 7b 0d | 0a 09 09 69 20 3d 20 30 |ne)...{.|...i = 0|
|00001600| 3b 0d 0a 09 09 4c 69 73 | 74 20 3d 20 55 42 72 6f |;....Lis|t = UBro|
|00001610| 77 73 65 72 53 65 72 76 | 65 72 4c 69 73 74 28 4c |wserServ|erList(L|
|00001620| 69 73 74 2e 4e 65 78 74 | 53 68 6f 77 6e 28 29 29 |ist.Next|Shown())|
|00001630| 3b 0d 0a 09 09 77 68 69 | 6c 65 28 4c 69 73 74 20 |;....whi|le(List |
|00001640| 21 3d 20 4e 6f 6e 65 29 | 0d 0a 09 09 7b 0d 0a 09 |!= None)|....{...|
|00001650| 09 09 69 66 28 4c 69 73 | 74 20 3d 3d 20 53 65 6c |..if(Lis|t == Sel|
|00001660| 65 63 74 65 64 53 65 72 | 76 65 72 29 0d 0a 09 09 |ectedSer|ver)....|
|00001670| 09 09 72 65 74 75 72 6e | 20 69 3b 0d 0a 0d 0a 09 |..return| i;.....|
|00001680| 09 09 4c 69 73 74 20 3d | 20 55 42 72 6f 77 73 65 |..List =| UBrowse|
|00001690| 72 53 65 72 76 65 72 4c | 69 73 74 28 4c 69 73 74 |rServerL|ist(List|
|000016a0| 2e 4e 65 78 74 53 68 6f | 77 6e 28 29 29 3b 0d 0a |.NextSho|wn());..|
|000016b0| 09 09 09 69 2b 2b 3b 0d | 0a 09 09 7d 0d 0a 09 7d |...i++;.|...}...}|
|000016c0| 0d 0a 09 72 65 74 75 72 | 6e 20 2d 31 3b 0d 0a 7d |...retur|n -1;..}|
|000016d0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 4a 6f 69 |....func|tion Joi|
|000016e0| 6e 53 65 72 76 65 72 28 | 55 42 72 6f 77 73 65 72 |nServer(|UBrowser|
|000016f0| 53 65 72 76 65 72 4c 69 | 73 74 20 53 65 72 76 65 |ServerLi|st Serve|
|00001700| 72 29 0d 0a 7b 0d 0a 09 | 69 66 28 53 65 72 76 65 |r)..{...|if(Serve|
|00001710| 72 20 21 3d 20 4e 6f 6e | 65 20 26 26 20 53 65 72 |r != Non|e && Ser|
|00001720| 76 65 72 2e 47 61 6d 65 | 50 6f 72 74 20 21 3d 20 |ver.Game|Port != |
|00001730| 30 29 20 0d 0a 09 7b 0d | 0a 09 09 47 65 74 50 6c |0) ...{.|...GetPl|
|00001740| 61 79 65 72 4f 77 6e 65 | 72 28 29 2e 43 6c 69 65 |ayerOwne|r().Clie|
|00001750| 6e 74 54 72 61 76 65 6c | 28 22 75 6e 72 65 61 6c |ntTravel|("unreal|
|00001760| 3a 2f 2f 22 24 53 65 72 | 76 65 72 2e 49 50 24 22 |://"$Ser|ver.IP$"|
|00001770| 3a 22 24 53 65 72 76 65 | 72 2e 47 61 6d 65 50 6f |:"$Serve|r.GamePo|
|00001780| 72 74 24 55 42 72 6f 77 | 73 65 72 53 65 72 76 65 |rt$UBrow|serServe|
|00001790| 72 4c 69 73 74 57 69 6e | 64 6f 77 28 47 65 74 50 |rListWin|dow(GetP|
|000017a0| 61 72 65 6e 74 28 63 6c | 61 73 73 27 55 42 72 6f |arent(cl|ass'UBro|
|000017b0| 77 73 65 72 53 65 72 76 | 65 72 4c 69 73 74 57 69 |wserServ|erListWi|
|000017c0| 6e 64 6f 77 27 29 29 2e | 55 52 4c 41 70 70 65 6e |ndow')).|URLAppen|
|000017d0| 64 2c 20 54 52 41 56 45 | 4c 5f 41 62 73 6f 6c 75 |d, TRAVE|L_Absolu|
|000017e0| 74 65 2c 20 66 61 6c 73 | 65 29 3b 0d 0a 09 09 47 |te, fals|e);....G|
|000017f0| 65 74 50 61 72 65 6e 74 | 28 63 6c 61 73 73 27 55 |etParent|(class'U|
|00001800| 57 69 6e 64 6f 77 46 72 | 61 6d 65 64 57 69 6e 64 |WindowFr|amedWind|
|00001810| 6f 77 27 29 2e 43 6c 6f | 73 65 28 29 3b 0d 0a 09 |ow').Clo|se();...|
|00001820| 09 52 6f 6f 74 2e 43 6f | 6e 73 6f 6c 65 2e 43 6c |.Root.Co|nsole.Cl|
|00001830| 6f 73 65 55 57 69 6e 64 | 6f 77 28 29 3b 0d 0a 09 |oseUWind|ow();...|
|00001840| 7d 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |}..}....|function|
|00001850| 20 44 6f 75 62 6c 65 43 | 6c 69 63 6b 52 6f 77 28 | DoubleC|lickRow(|
|00001860| 69 6e 74 20 52 6f 77 29 | 0d 0a 7b 0d 0a 09 6c 6f |int Row)|..{...lo|
|00001870| 63 61 6c 20 55 42 72 6f | 77 73 65 72 53 65 72 76 |cal UBro|wserServ|
|00001880| 65 72 4c 69 73 74 20 53 | 65 72 76 65 72 3b 0d 0a |erList S|erver;..|
|00001890| 0d 0a 09 53 65 72 76 65 | 72 20 3d 20 47 65 74 53 |...Serve|r = GetS|
|000018a0| 65 72 76 65 72 55 6e 64 | 65 72 52 6f 77 28 52 6f |erverUnd|erRow(Ro|
|000018b0| 77 29 3b 0d 0a 09 69 66 | 28 53 65 6c 65 63 74 65 |w);...if|(Selecte|
|000018c0| 64 53 65 72 76 65 72 20 | 21 3d 20 53 65 72 76 65 |dServer |!= Serve|
|000018d0| 72 29 20 72 65 74 75 72 | 6e 3b 20 0d 0a 09 4a 6f |r) retur|n; ...Jo|
|000018e0| 69 6e 53 65 72 76 65 72 | 28 53 65 72 76 65 72 29 |inServer|(Server)|
|000018f0| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00001900| 20 4d 6f 75 73 65 4c 65 | 61 76 65 43 6f 6c 75 6d | MouseLe|aveColum|
|00001910| 6e 28 55 57 69 6e 64 6f | 77 47 72 69 64 43 6f 6c |n(UWindo|wGridCol|
|00001920| 75 6d 6e 20 43 6f 6c 75 | 6d 6e 29 0d 0a 7b 0d 0a |umn Colu|mn)..{..|
|00001930| 09 54 6f 6f 6c 54 69 70 | 28 22 22 29 3b 0d 0a 7d |.ToolTip|("");..}|
|00001940| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 4b 65 79 |....func|tion Key|
|00001950| 44 6f 77 6e 28 69 6e 74 | 20 4b 65 79 2c 20 66 6c |Down(int| Key, fl|
|00001960| 6f 61 74 20 58 2c 20 66 | 6c 6f 61 74 20 59 29 20 |oat X, f|loat Y) |
|00001970| 0d 0a 7b 0d 0a 09 73 77 | 69 74 63 68 28 4b 65 79 |..{...sw|itch(Key|
|00001980| 29 0d 0a 09 7b 0d 0a 09 | 63 61 73 65 20 30 78 37 |)...{...|case 0x7|
|00001990| 34 3a 20 2f 2f 20 49 4b | 5f 46 35 3b 0d 0a 09 09 |4: // IK|_F5;....|
|000019a0| 52 65 66 72 65 73 68 28 | 29 3b 0d 0a 09 09 62 72 |Refresh(|);....br|
|000019b0| 65 61 6b 3b 0d 0a 09 63 | 61 73 65 20 30 78 32 36 |eak;...c|ase 0x26|
|000019c0| 3a 20 2f 2f 20 49 4b 5f | 55 70 0d 0a 09 09 53 65 |: // IK_|Up....Se|
|000019d0| 6c 65 63 74 52 6f 77 28 | 43 6c 61 6d 70 28 47 65 |lectRow(|Clamp(Ge|
|000019e0| 74 53 65 6c 65 63 74 65 | 64 52 6f 77 28 29 20 2d |tSelecte|dRow() -|
|000019f0| 20 31 2c 20 30 2c 20 43 | 6f 75 6e 74 20 2d 20 31 | 1, 0, C|ount - 1|
|00001a00| 29 29 3b 0d 0a 09 09 56 | 65 72 74 53 42 2e 53 68 |));....V|ertSB.Sh|
|00001a10| 6f 77 28 47 65 74 53 65 | 6c 65 63 74 65 64 52 6f |ow(GetSe|lectedRo|
|00001a20| 77 28 29 29 3b 0d 0a 09 | 09 62 72 65 61 6b 3b 0d |w());...|.break;.|
|00001a30| 0a 09 63 61 73 65 20 30 | 78 32 38 3a 20 2f 2f 20 |..case 0|x28: // |
|00001a40| 49 4b 5f 44 6f 77 6e 0d | 0a 09 09 53 65 6c 65 63 |IK_Down.|...Selec|
|00001a50| 74 52 6f 77 28 43 6c 61 | 6d 70 28 47 65 74 53 65 |tRow(Cla|mp(GetSe|
|00001a60| 6c 65 63 74 65 64 52 6f | 77 28 29 20 2b 20 31 2c |lectedRo|w() + 1,|
|00001a70| 20 30 2c 20 43 6f 75 6e | 74 20 2d 20 31 29 29 3b | 0, Coun|t - 1));|
|00001a80| 0d 0a 09 09 56 65 72 74 | 53 42 2e 53 68 6f 77 28 |....Vert|SB.Show(|
|00001a90| 47 65 74 53 65 6c 65 63 | 74 65 64 52 6f 77 28 29 |GetSelec|tedRow()|
|00001aa0| 29 3b 0d 0a 09 09 62 72 | 65 61 6b 3b 0d 0a 09 63 |);....br|eak;...c|
|00001ab0| 61 73 65 20 30 78 30 44 | 3a 20 2f 2f 20 49 4b 5f |ase 0x0D|: // IK_|
|00001ac0| 45 6e 74 65 72 3a 0d 0a | 09 09 44 6f 75 62 6c 65 |Enter:..|..Double|
|00001ad0| 43 6c 69 63 6b 52 6f 77 | 28 47 65 74 53 65 6c 65 |ClickRow|(GetSele|
|00001ae0| 63 74 65 64 52 6f 77 28 | 29 29 3b 0d 0a 09 09 62 |ctedRow(|));....b|
|00001af0| 72 65 61 6b 3b 0d 0a 09 | 64 65 66 61 75 6c 74 3a |reak;...|default:|
|00001b00| 0d 0a 09 09 53 75 70 65 | 72 2e 4b 65 79 44 6f 77 |....Supe|r.KeyDow|
|00001b10| 6e 28 4b 65 79 2c 20 58 | 2c 20 59 29 3b 0d 0a 09 |n(Key, X|, Y);...|
|00001b20| 09 62 72 65 61 6b 3b 0d | 0a 09 7d 0d 0a 7d 0d 0a |.break;.|..}..}..|
|00001b30| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 69 6e 74 20 43 |..functi|on int C|
|00001b40| 6f 6d 70 61 72 65 28 55 | 42 72 6f 77 73 65 72 53 |ompare(U|BrowserS|
|00001b50| 65 72 76 65 72 4c 69 73 | 74 20 54 2c 20 55 42 72 |erverLis|t T, UBr|
|00001b60| 6f 77 73 65 72 53 65 72 | 76 65 72 4c 69 73 74 20 |owserSer|verList |
|00001b70| 42 29 0d 0a 7b 0d 0a 09 | 73 77 69 74 63 68 28 53 |B)..{...|switch(S|
|00001b80| 6f 72 74 42 79 43 6f 6c | 75 6d 6e 29 0d 0a 09 7b |ortByCol|umn)...{|
|00001b90| 0d 0a 09 63 61 73 65 20 | 53 65 72 76 65 72 3a 0d |...case |Server:.|
|00001ba0| 0a 09 09 72 65 74 75 72 | 6e 20 42 79 4e 61 6d 65 |...retur|n ByName|
|00001bb0| 28 54 2c 20 42 29 3b 0d | 0a 09 63 61 73 65 20 50 |(T, B);.|..case P|
|00001bc0| 69 6e 67 3a 0d 0a 09 09 | 72 65 74 75 72 6e 20 42 |ing:....|return B|
|00001bd0| 79 50 69 6e 67 28 54 2c | 20 42 29 3b 0d 0a 09 63 |yPing(T,| B);...c|
|00001be0| 61 73 65 20 4d 61 70 4e | 61 6d 65 3a 0d 0a 09 09 |ase MapN|ame:....|
|00001bf0| 72 65 74 75 72 6e 20 42 | 79 4d 61 70 28 54 2c 20 |return B|yMap(T, |
|00001c00| 42 29 3b 0d 0a 09 63 61 | 73 65 20 50 6c 61 79 65 |B);...ca|se Playe|
|00001c10| 72 73 3a 0d 0a 09 09 72 | 65 74 75 72 6e 20 42 79 |rs:....r|eturn By|
|00001c20| 50 6c 61 79 65 72 73 28 | 54 2c 20 42 29 3b 0d 0a |Players(|T, B);..|
|00001c30| 09 64 65 66 61 75 6c 74 | 3a 0d 0a 09 09 72 65 74 |.default|:....ret|
|00001c40| 75 72 6e 20 30 3b 0d 0a | 09 7d 09 0d 0a 7d 0d 0a |urn 0;..|.}...}..|
|00001c50| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 69 6e 74 20 42 |..functi|on int B|
|00001c60| 79 50 69 6e 67 28 55 42 | 72 6f 77 73 65 72 53 65 |yPing(UB|rowserSe|
|00001c70| 72 76 65 72 4c 69 73 74 | 20 54 2c 20 55 42 72 6f |rverList| T, UBro|
|00001c80| 77 73 65 72 53 65 72 76 | 65 72 4c 69 73 74 20 42 |wserServ|erList B|
|00001c90| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 69 6e 74 |)..{...l|ocal int|
|00001ca0| 20 52 65 73 75 6c 74 3b | 0d 0a 0d 0a 09 69 66 28 | Result;|.....if(|
|00001cb0| 42 20 3d 3d 20 4e 6f 6e | 65 29 20 72 65 74 75 72 |B == Non|e) retur|
|00001cc0| 6e 20 2d 31 3b 0d 0a 09 | 0d 0a 09 69 66 28 54 2e |n -1;...|...if(T.|
|00001cd0| 50 69 6e 67 20 3c 20 42 | 2e 50 69 6e 67 29 0d 0a |Ping < B|.Ping)..|
|00001ce0| 09 7b 0d 0a 09 09 52 65 | 73 75 6c 74 20 3d 20 2d |.{....Re|sult = -|
|00001cf0| 31 3b 0d 0a 09 7d 0d 0a | 09 65 6c 73 65 0d 0a 09 |1;...}..|.else...|
|00001d00| 69 66 20 28 54 2e 50 69 | 6e 67 20 3e 20 42 2e 50 |if (T.Pi|ng > B.P|
|00001d10| 69 6e 67 29 0d 0a 09 7b | 0d 0a 09 09 52 65 73 75 |ing)...{|....Resu|
|00001d20| 6c 74 20 3d 20 31 3b 0d | 0a 09 7d 0d 0a 09 65 6c |lt = 1;.|..}...el|
|00001d30| 73 65 0d 0a 09 7b 0d 0a | 2f 2a 09 09 69 66 28 54 |se...{..|/*..if(T|
|00001d40| 2e 48 6f 73 74 4e 61 6d | 65 20 3c 20 42 2e 48 6f |.HostNam|e < B.Ho|
|00001d50| 73 74 4e 61 6d 65 29 0d | 0a 09 09 09 52 65 73 75 |stName).|....Resu|
|00001d60| 6c 74 20 3d 20 2d 31 3b | 0d 0a 09 09 65 6c 73 65 |lt = -1;|....else|
|00001d70| 0d 0a 09 09 69 66 28 54 | 2e 48 6f 73 74 4e 61 6d |....if(T|.HostNam|
|00001d80| 65 20 3e 20 42 2e 48 6f | 73 74 4e 61 6d 65 29 0d |e > B.Ho|stName).|
|00001d90| 0a 09 09 09 52 65 73 75 | 6c 74 20 3d 20 31 3b 0d |....Resu|lt = 1;.|
|00001da0| 0a 09 09 65 6c 73 65 0d | 0a 2a 2f 0d 0a 09 09 09 |...else.|.*/.....|
|00001db0| 52 65 73 75 6c 74 20 3d | 20 30 3b 0d 0a 09 7d 0d |Result =| 0;...}.|
|00001dc0| 0a 0d 0a 09 69 66 28 62 | 53 6f 72 74 44 65 73 63 |....if(b|SortDesc|
|00001dd0| 65 6e 64 69 6e 67 29 0d | 0a 09 09 52 65 73 75 6c |ending).|...Resul|
|00001de0| 74 20 3d 20 2d 52 65 73 | 75 6c 74 3b 0d 0a 0d 0a |t = -Res|ult;....|
|00001df0| 09 72 65 74 75 72 6e 20 | 52 65 73 75 6c 74 3b 0d |.return |Result;.|
|00001e00| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 69 |.}....fu|nction i|
|00001e10| 6e 74 20 42 79 4e 61 6d | 65 28 55 42 72 6f 77 73 |nt ByNam|e(UBrows|
|00001e20| 65 72 53 65 72 76 65 72 | 4c 69 73 74 20 54 2c 20 |erServer|List T, |
|00001e30| 55 42 72 6f 77 73 65 72 | 53 65 72 76 65 72 4c 69 |UBrowser|ServerLi|
|00001e40| 73 74 20 42 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |st B)..{|...local|
|00001e50| 20 69 6e 74 20 52 65 73 | 75 6c 74 3b 0d 0a 0d 0a | int Res|ult;....|
|00001e60| 09 69 66 28 42 20 3d 3d | 20 4e 6f 6e 65 29 20 72 |.if(B ==| None) r|
|00001e70| 65 74 75 72 6e 20 2d 31 | 3b 0d 0a 09 69 66 28 54 |eturn -1|;...if(T|
|00001e80| 2e 50 69 6e 67 20 3d 3d | 20 39 39 39 39 29 20 72 |.Ping ==| 9999) r|
|00001e90| 65 74 75 72 6e 20 31 3b | 0d 0a 09 69 66 28 42 2e |eturn 1;|...if(B.|
|00001ea0| 50 69 6e 67 20 3d 3d 20 | 39 39 39 39 29 20 72 65 |Ping == |9999) re|
|00001eb0| 74 75 72 6e 20 2d 31 3b | 0d 0a 09 0d 0a 09 69 66 |turn -1;|......if|
|00001ec0| 28 54 2e 48 6f 73 74 4e | 61 6d 65 20 3c 20 42 2e |(T.HostN|ame < B.|
|00001ed0| 48 6f 73 74 4e 61 6d 65 | 29 0d 0a 09 7b 0d 0a 09 |HostName|)...{...|
|00001ee0| 09 52 65 73 75 6c 74 20 | 3d 20 2d 31 3b 0d 0a 09 |.Result |= -1;...|
|00001ef0| 7d 0d 0a 09 65 6c 73 65 | 0d 0a 09 69 66 20 28 54 |}...else|...if (T|
|00001f00| 2e 48 6f 73 74 4e 61 6d | 65 20 3e 20 42 2e 48 6f |.HostNam|e > B.Ho|
|00001f10| 73 74 4e 61 6d 65 29 0d | 0a 09 7b 0d 0a 09 09 52 |stName).|..{....R|
|00001f20| 65 73 75 6c 74 20 3d 20 | 31 3b 0d 0a 09 7d 0d 0a |esult = |1;...}..|
|00001f30| 09 65 6c 73 65 0d 0a 09 | 7b 0d 0a 09 09 52 65 73 |.else...|{....Res|
|00001f40| 75 6c 74 20 3d 20 30 3b | 2f 2f 54 2e 50 69 6e 67 |ult = 0;|//T.Ping|
|00001f50| 20 2d 20 42 2e 50 69 6e | 67 3b 0d 0a 09 7d 0d 0a | - B.Pin|g;...}..|
|00001f60| 0d 0a 09 69 66 28 62 53 | 6f 72 74 44 65 73 63 65 |...if(bS|ortDesce|
|00001f70| 6e 64 69 6e 67 29 0d 0a | 09 09 52 65 73 75 6c 74 |nding)..|..Result|
|00001f80| 20 3d 20 2d 52 65 73 75 | 6c 74 3b 0d 0a 0d 0a 09 | = -Resu|lt;.....|
|00001f90| 72 65 74 75 72 6e 20 52 | 65 73 75 6c 74 3b 0d 0a |return R|esult;..|
|00001fa0| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 69 6e |}....fun|ction in|
|00001fb0| 74 20 42 79 4d 61 70 28 | 55 42 72 6f 77 73 65 72 |t ByMap(|UBrowser|
|00001fc0| 53 65 72 76 65 72 4c 69 | 73 74 20 54 2c 20 55 42 |ServerLi|st T, UB|
|00001fd0| 72 6f 77 73 65 72 53 65 | 72 76 65 72 4c 69 73 74 |rowserSe|rverList|
|00001fe0| 20 42 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 69 | B)..{..|.local i|
|00001ff0| 6e 74 20 52 65 73 75 6c | 74 3b 0d 0a 0d 0a 09 69 |nt Resul|t;.....i|
|00002000| 66 28 42 20 3d 3d 20 4e | 6f 6e 65 29 20 72 65 74 |f(B == N|one) ret|
|00002010| 75 72 6e 20 2d 31 3b 0d | 0a 09 0d 0a 09 69 66 28 |urn -1;.|.....if(|
|00002020| 54 2e 50 69 6e 67 20 3d | 3d 20 39 39 39 39 29 20 |T.Ping =|= 9999) |
|00002030| 72 65 74 75 72 6e 20 31 | 3b 0d 0a 09 69 66 28 42 |return 1|;...if(B|
|00002040| 2e 50 69 6e 67 20 3d 3d | 20 39 39 39 39 29 20 72 |.Ping ==| 9999) r|
|00002050| 65 74 75 72 6e 20 2d 31 | 3b 0d 0a 0d 0a 09 69 66 |eturn -1|;.....if|
|00002060| 28 54 2e 4d 61 70 44 69 | 73 70 6c 61 79 4e 61 6d |(T.MapDi|splayNam|
|00002070| 65 20 3c 20 42 2e 4d 61 | 70 44 69 73 70 6c 61 79 |e < B.Ma|pDisplay|
|00002080| 4e 61 6d 65 29 0d 0a 09 | 7b 0d 0a 09 09 52 65 73 |Name)...|{....Res|
|00002090| 75 6c 74 20 3d 20 2d 31 | 3b 0d 0a 09 7d 0d 0a 09 |ult = -1|;...}...|
|000020a0| 65 6c 73 65 20 0d 0a 09 | 69 66 20 28 54 2e 4d 61 |else ...|if (T.Ma|
|000020b0| 70 44 69 73 70 6c 61 79 | 4e 61 6d 65 20 3e 20 42 |pDisplay|Name > B|
|000020c0| 2e 4d 61 70 44 69 73 70 | 6c 61 79 4e 61 6d 65 29 |.MapDisp|layName)|
|000020d0| 0d 0a 09 7b 0d 0a 09 09 | 52 65 73 75 6c 74 20 3d |...{....|Result =|
|000020e0| 20 31 3b 0d 0a 09 7d 0d | 0a 09 65 6c 73 65 0d 0a | 1;...}.|..else..|
|000020f0| 09 7b 0d 0a 09 09 52 65 | 73 75 6c 74 20 3d 20 54 |.{....Re|sult = T|
|00002100| 2e 50 69 6e 67 20 2d 20 | 42 2e 50 69 6e 67 3b 0d |.Ping - |B.Ping;.|
|00002110| 0a 09 7d 0d 0a 0d 0a 09 | 69 66 28 62 53 6f 72 74 |..}.....|if(bSort|
|00002120| 44 65 73 63 65 6e 64 69 | 6e 67 29 0d 0a 09 09 52 |Descendi|ng)....R|
|00002130| 65 73 75 6c 74 20 3d 20 | 2d 52 65 73 75 6c 74 3b |esult = |-Result;|
|00002140| 0d 0a 09 0d 0a 09 72 65 | 74 75 72 6e 20 52 65 73 |......re|turn Res|
|00002150| 75 6c 74 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |ult;..}.|...funct|
|00002160| 69 6f 6e 20 69 6e 74 20 | 42 79 50 6c 61 79 65 72 |ion int |ByPlayer|
|00002170| 73 28 55 42 72 6f 77 73 | 65 72 53 65 72 76 65 72 |s(UBrows|erServer|
|00002180| 4c 69 73 74 20 54 2c 20 | 55 42 72 6f 77 73 65 72 |List T, |UBrowser|
|00002190| 53 65 72 76 65 72 4c 69 | 73 74 20 42 29 0d 0a 7b |ServerLi|st B)..{|
|000021a0| 0d 0a 09 6c 6f 63 61 6c | 20 69 6e 74 20 52 65 73 |...local| int Res|
|000021b0| 75 6c 74 3b 0d 0a 0d 0a | 09 69 66 28 42 20 3d 3d |ult;....|.if(B ==|
|000021c0| 20 4e 6f 6e 65 29 20 72 | 65 74 75 72 6e 20 2d 31 | None) r|eturn -1|
|000021d0| 3b 0d 0a 09 0d 0a 09 69 | 66 28 54 2e 50 69 6e 67 |;......i|f(T.Ping|
|000021e0| 20 3d 3d 20 39 39 39 39 | 29 20 72 65 74 75 72 6e | == 9999|) return|
|000021f0| 20 31 3b 0d 0a 09 69 66 | 28 42 2e 50 69 6e 67 20 | 1;...if|(B.Ping |
|00002200| 3d 3d 20 39 39 39 39 29 | 20 72 65 74 75 72 6e 20 |== 9999)| return |
|00002210| 2d 31 3b 0d 0a 0d 0a 09 | 69 66 28 54 2e 4e 75 6d |-1;.....|if(T.Num|
|00002220| 50 6c 61 79 65 72 73 20 | 3e 20 42 2e 4e 75 6d 50 |Players |> B.NumP|
|00002230| 6c 61 79 65 72 73 29 0d | 0a 09 7b 0d 0a 09 09 52 |layers).|..{....R|
|00002240| 65 73 75 6c 74 20 3d 20 | 2d 31 3b 0d 0a 09 7d 0d |esult = |-1;...}.|
|00002250| 0a 09 65 6c 73 65 0d 0a | 09 69 66 20 28 54 2e 4e |..else..|.if (T.N|
|00002260| 75 6d 50 6c 61 79 65 72 | 73 20 3c 20 42 2e 4e 75 |umPlayer|s < B.Nu|
|00002270| 6d 50 6c 61 79 65 72 73 | 29 0d 0a 09 7b 0d 0a 09 |mPlayers|)...{...|
|00002280| 09 52 65 73 75 6c 74 20 | 3d 20 31 3b 0d 0a 09 7d |.Result |= 1;...}|
|00002290| 0d 0a 09 65 6c 73 65 0d | 0a 09 7b 0d 0a 09 09 69 |...else.|..{....i|
|000022a0| 66 20 28 54 2e 4d 61 78 | 50 6c 61 79 65 72 73 20 |f (T.Max|Players |
|000022b0| 3e 20 42 2e 4d 61 78 50 | 6c 61 79 65 72 73 29 0d |> B.MaxP|layers).|
|000022c0| 0a 09 09 7b 0d 0a 09 09 | 09 52 65 73 75 6c 74 20 |...{....|.Result |
|000022d0| 3d 20 2d 31 3b 0d 0a 09 | 09 7d 0d 0a 09 09 65 6c |= -1;...|.}....el|
|000022e0| 73 65 0d 0a 09 09 69 66 | 28 54 2e 4d 61 78 50 6c |se....if|(T.MaxPl|
|000022f0| 61 79 65 72 73 20 3c 20 | 42 2e 4d 61 78 50 6c 61 |ayers < |B.MaxPla|
|00002300| 79 65 72 73 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 52 |yers)...|.{.....R|
|00002310| 65 73 75 6c 74 20 3d 20 | 31 3b 0d 0a 09 09 7d 0d |esult = |1;....}.|
|00002320| 0a 09 09 65 6c 73 65 0d | 0a 09 09 7b 0d 0a 09 09 |...else.|...{....|
|00002330| 09 52 65 73 75 6c 74 20 | 3d 20 54 2e 50 69 6e 67 |.Result |= T.Ping|
|00002340| 20 2d 20 42 2e 50 69 6e | 67 3b 0d 0a 09 09 7d 0d | - B.Pin|g;....}.|
|00002350| 0a 09 7d 0d 0a 0d 0a 09 | 69 66 28 62 53 6f 72 74 |..}.....|if(bSort|
|00002360| 44 65 73 63 65 6e 64 69 | 6e 67 29 0d 0a 09 09 52 |Descendi|ng)....R|
|00002370| 65 73 75 6c 74 20 3d 20 | 2d 52 65 73 75 6c 74 3b |esult = |-Result;|
|00002380| 0d 0a 0d 0a 09 72 65 74 | 75 72 6e 20 52 65 73 75 |.....ret|urn Resu|
|00002390| 6c 74 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |lt;..}..|..functi|
|000023a0| 6f 6e 20 53 68 6f 77 49 | 6e 66 6f 28 55 42 72 6f |on ShowI|nfo(UBro|
|000023b0| 77 73 65 72 53 65 72 76 | 65 72 4c 69 73 74 20 4c |wserServ|erList L|
|000023c0| 69 73 74 29 0d 0a 7b 0d | 0a 09 55 42 72 6f 77 73 |ist)..{.|..UBrows|
|000023d0| 65 72 53 65 72 76 65 72 | 4c 69 73 74 57 69 6e 64 |erServer|ListWind|
|000023e0| 6f 77 28 47 65 74 50 61 | 72 65 6e 74 28 63 6c 61 |ow(GetPa|rent(cla|
|000023f0| 73 73 27 55 42 72 6f 77 | 73 65 72 53 65 72 76 65 |ss'UBrow|serServe|
|00002400| 72 4c 69 73 74 57 69 6e | 64 6f 77 27 29 29 2e 53 |rListWin|dow')).S|
|00002410| 68 6f 77 49 6e 66 6f 28 | 4c 69 73 74 29 3b 0d 0a |howInfo(|List);..|
|00002420| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 52 65 |}....fun|ction Re|
|00002430| 66 72 65 73 68 28 29 0d | 0a 7b 0d 0a 09 55 42 72 |fresh().|.{...UBr|
|00002440| 6f 77 73 65 72 53 65 72 | 76 65 72 4c 69 73 74 57 |owserSer|verListW|
|00002450| 69 6e 64 6f 77 28 47 65 | 74 50 61 72 65 6e 74 28 |indow(Ge|tParent(|
|00002460| 63 6c 61 73 73 27 55 42 | 72 6f 77 73 65 72 53 65 |class'UB|rowserSe|
|00002470| 72 76 65 72 4c 69 73 74 | 57 69 6e 64 6f 77 27 29 |rverList|Window')|
|00002480| 29 2e 52 65 66 72 65 73 | 68 28 29 3b 0d 0a 7d 0d |).Refres|h();..}.|
|00002490| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 52 65 66 72 |...funct|ion Refr|
|000024a0| 65 73 68 53 65 72 76 65 | 72 28 29 0d 0a 7b 0d 0a |eshServe|r()..{..|
|000024b0| 09 54 69 6d 65 50 61 73 | 73 65 64 20 3d 20 41 75 |.TimePas|sed = Au|
|000024c0| 74 6f 50 69 6e 67 49 6e | 74 65 72 76 61 6c 3b 0d |toPingIn|terval;.|
|000024d0| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 52 |.}....fu|nction R|
|000024e0| 65 50 69 6e 67 28 29 0d | 0a 7b 0d 0a 09 55 42 72 |ePing().|.{...UBr|
|000024f0| 6f 77 73 65 72 53 65 72 | 76 65 72 4c 69 73 74 57 |owserSer|verListW|
|00002500| 69 6e 64 6f 77 28 47 65 | 74 50 61 72 65 6e 74 28 |indow(Ge|tParent(|
|00002510| 63 6c 61 73 73 27 55 42 | 72 6f 77 73 65 72 53 65 |class'UB|rowserSe|
|00002520| 72 76 65 72 4c 69 73 74 | 57 69 6e 64 6f 77 27 29 |rverList|Window')|
|00002530| 29 2e 52 65 50 69 6e 67 | 28 29 3b 0d 0a 7d 0d 0a |).RePing|();..}..|
|00002540| 0d 0a 00 | |... | |
+--------+-------------------------+-------------------------+--------+--------+