home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-05-10 | 53.9 KB |
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
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 | 63 de 06 2f 2f 3d 3d 3d |........|c..//===|
|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 44 |========|==..// D|
|00000060| 65 61 74 68 4d 61 74 63 | 68 0d 0a 2f 2f 3d 3d 3d |eathMatc|h..//===|
|00000070| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000080| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000090| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|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 0d 0a 63 6c 61 73 |========|==..clas|
|000000c0| 73 20 44 65 61 74 68 4d | 61 74 63 68 20 65 78 74 |s DeathM|atch ext|
|000000d0| 65 6e 64 73 20 55 6e 72 | 65 61 6c 4d 50 47 61 6d |ends Unr|ealMPGam|
|000000e0| 65 49 6e 66 6f 0d 0a 09 | 48 69 64 65 44 72 6f 70 |eInfo...|HideDrop|
|000000f0| 44 6f 77 6e 0d 0a 09 43 | 61 63 68 65 45 78 65 6d |Down...C|acheExem|
|00000100| 70 74 0d 0a 20 20 20 20 | 63 6f 6e 66 69 67 3b 0d |pt.. |config;.|
|00000110| 0a 0d 0a 23 65 78 65 63 | 20 4f 42 4a 20 4c 4f 41 |...#exec| OBJ LOA|
|00000120| 44 20 46 49 4c 45 3d 54 | 65 61 6d 53 79 6d 62 6f |D FILE=T|eamSymbo|
|00000130| 6c 73 5f 55 54 32 30 30 | 33 2e 75 74 78 0d 0a 23 |ls_UT200|3.utx..#|
|00000140| 65 78 65 63 20 4f 42 4a | 20 4c 4f 41 44 20 46 49 |exec OBJ| LOAD FI|
|00000150| 4c 45 3d 54 65 61 6d 53 | 79 6d 62 6f 6c 73 2e 75 |LE=TeamS|ymbols.u|
|00000160| 74 78 09 09 09 09 2f 2f | 20 6e 65 65 64 65 64 20 |tx....//| needed |
|00000170| 72 69 67 68 74 20 6e 6f | 77 20 66 6f 72 20 4c 69 |right no|w for Li|
|00000180| 6e 6b 20 73 79 6d 62 6f | 6c 73 2c 20 65 74 63 2e |nk symbo|ls, etc.|
|00000190| 0d 0a 0d 0a 76 61 72 20 | 63 6f 6e 66 69 67 20 69 |....var |config i|
|000001a0| 6e 74 20 09 4e 65 74 57 | 61 69 74 3b 20 20 20 20 |nt .NetW|ait; |
|000001b0| 20 20 20 2f 2f 20 74 69 | 6d 65 20 74 6f 20 77 61 | // ti|me to wa|
|000001c0| 69 74 20 66 6f 72 20 70 | 6c 61 79 65 72 73 20 69 |it for p|layers i|
|000001d0| 6e 20 6e 65 74 67 61 6d | 65 73 20 77 2f 20 62 57 |n netgam|es w/ bW|
|000001e0| 61 69 74 46 6f 72 4e 65 | 74 50 6c 61 79 65 72 73 |aitForNe|tPlayers|
|000001f0| 20 28 74 79 70 69 63 61 | 6c 6c 79 20 74 65 61 6d | (typica|lly team|
|00000200| 20 67 61 6d 65 73 29 0d | 0a 76 61 72 20 67 6c 6f | games).|.var glo|
|00000210| 62 61 6c 63 6f 6e 66 69 | 67 20 69 6e 74 09 4d 69 |balconfi|g int.Mi|
|00000220| 6e 4e 65 74 50 6c 61 79 | 65 72 73 3b 20 2f 2f 20 |nNetPlay|ers; // |
|00000230| 68 6f 77 20 6d 61 6e 79 | 20 70 6c 61 79 65 72 73 |how many| players|
|00000240| 20 6d 75 73 74 20 6a 6f | 69 6e 20 62 65 66 6f 72 | must jo|in befor|
|00000250| 65 20 6e 65 74 20 67 61 | 6d 65 20 77 69 6c 6c 20 |e net ga|me will |
|00000260| 73 74 61 72 74 0d 0a 76 | 61 72 20 67 6c 6f 62 61 |start..v|ar globa|
|00000270| 6c 63 6f 6e 66 69 67 20 | 69 6e 74 09 52 65 73 74 |lconfig |int.Rest|
|00000280| 61 72 74 57 61 69 74 3b | 0d 0a 76 61 72 20 67 6c |artWait;|..var gl|
|00000290| 6f 62 61 6c 63 6f 6e 66 | 69 67 20 62 6f 6f 6c 09 |obalconf|ig bool.|
|000002a0| 62 54 6f 75 72 6e 61 6d | 65 6e 74 3b 20 20 2f 2f |bTournam|ent; //|
|000002b0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 70 6c 61 79 65 | number |of playe|
|000002c0| 72 73 20 6d 75 73 74 20 | 65 71 75 61 6c 20 6d 61 |rs must |equal ma|
|000002d0| 78 70 6c 61 79 65 72 73 | 20 66 6f 72 20 67 61 6d |xplayers| for gam|
|000002e0| 65 20 74 6f 20 73 74 61 | 72 74 0d 0a 0d 0a 76 61 |e to sta|rt....va|
|000002f0| 72 20 67 6c 6f 62 61 6c | 63 6f 6e 66 69 67 20 62 |r global|config b|
|00000300| 6f 6f 6c 09 62 41 75 74 | 6f 4e 75 6d 42 6f 74 73 |ool.bAut|oNumBots|
|00000310| 3b 09 2f 2f 20 4d 61 74 | 63 68 20 62 6f 74 73 20 |;.// Mat|ch bots |
|00000320| 74 6f 20 6d 61 70 27 73 | 20 72 65 63 6f 6d 6d 65 |to map's| recomme|
|00000330| 6e 64 65 64 20 62 6f 74 | 20 63 6f 75 6e 74 0d 0a |nded bot| count..|
|00000340| 76 61 72 20 67 6c 6f 62 | 61 6c 63 6f 6e 66 69 67 |var glob|alconfig|
|00000350| 20 62 6f 6f 6c 09 62 43 | 6f 6c 6f 72 65 64 44 4d | bool.bC|oloredDM|
|00000360| 53 6b 69 6e 73 3b 0d 0a | 0d 0a 76 61 72 20 67 6c |Skins;..|..var gl|
|00000370| 6f 62 61 6c 63 6f 6e 66 | 69 67 20 62 6f 6f 6c 09 |obalconf|ig bool.|
|00000380| 62 50 6c 61 79 65 72 73 | 4d 75 73 74 42 65 52 65 |bPlayers|MustBeRe|
|00000390| 61 64 79 3b 2f 2f 20 70 | 6c 61 79 65 72 73 20 6d |ady;// p|layers m|
|000003a0| 75 73 74 20 63 6f 6e 66 | 69 72 6d 20 72 65 61 64 |ust conf|irm read|
|000003b0| 79 20 66 6f 72 20 67 61 | 6d 65 20 74 6f 20 73 74 |y for ga|me to st|
|000003c0| 61 72 74 0d 0a 76 61 72 | 20 63 6f 6e 66 69 67 20 |art..var| config |
|000003d0| 62 6f 6f 6c 09 09 09 62 | 46 6f 72 63 65 52 65 73 |bool...b|ForceRes|
|000003e0| 70 61 77 6e 3b 0d 0a 76 | 61 72 20 63 6f 6e 66 69 |pawn;..v|ar confi|
|000003f0| 67 20 62 6f 6f 6c 09 09 | 09 62 41 64 6a 75 73 74 |g bool..|.bAdjust|
|00000400| 53 6b 69 6c 6c 3b 0d 0a | 76 61 72 20 63 6f 6e 66 |Skill;..|var conf|
|00000410| 69 67 20 62 6f 6f 6c 09 | 09 09 62 41 6c 6c 6f 77 |ig bool.|..bAllow|
|00000420| 54 61 75 6e 74 73 3b 0d | 0a 76 61 72 20 63 6f 6e |Taunts;.|.var con|
|00000430| 66 69 67 20 62 6f 6f 6c | 09 09 09 62 41 6c 6c 6f |fig bool|...bAllo|
|00000440| 77 54 72 61 6e 73 3b 0d | 0a 76 61 72 20 62 6f 6f |wTrans;.|.var boo|
|00000450| 6c 20 62 44 65 66 61 75 | 6c 74 54 72 61 6e 73 6c |l bDefau|ltTransl|
|00000460| 6f 63 61 74 6f 72 3b 0d | 0a 76 61 72 20 62 6f 6f |ocator;.|.var boo|
|00000470| 6c 20 62 4f 76 65 72 72 | 69 64 65 54 72 61 6e 73 |l bOverr|ideTrans|
|00000480| 6c 6f 63 61 74 6f 72 3b | 09 09 2f 2f 20 66 6f 72 |locator;|..// for|
|00000490| 20 6d 75 74 61 74 6f 72 | 73 20 74 6f 20 66 6f 72 | mutator|s to for|
|000004a0| 63 65 20 74 72 61 6e 73 | 6c 6f 63 61 74 6f 72 20 |ce trans|locator |
|000004b0| 6f 6e 0d 0a 0d 0a 76 61 | 72 20 67 6c 6f 62 61 6c |on....va|r global|
|000004c0| 63 6f 6e 66 69 67 20 62 | 6f 6f 6c 20 20 20 20 62 |config b|ool b|
|000004d0| 57 61 69 74 46 6f 72 4e | 65 74 50 6c 61 79 65 72 |WaitForN|etPlayer|
|000004e0| 73 3b 20 20 20 20 20 2f | 2f 20 77 61 69 74 20 75 |s; /|/ wait u|
|000004f0| 6e 74 69 6c 20 6d 6f 72 | 65 20 74 68 61 6e 20 4d |ntil mor|e than M|
|00000500| 69 6e 4e 65 74 50 6c 61 | 79 65 72 73 20 70 6c 61 |inNetPla|yers pla|
|00000510| 79 65 72 73 20 68 61 76 | 65 20 6a 6f 69 6e 65 64 |yers hav|e joined|
|00000520| 20 62 65 66 6f 72 65 20 | 73 74 61 72 74 69 6e 67 | before |starting|
|00000530| 20 6d 61 74 63 68 0d 0a | 76 61 72 20 62 6f 6f 6c | match..|var bool|
|00000540| 09 62 46 69 72 73 74 42 | 6c 6f 6f 64 3b 0d 0a 76 |.bFirstB|lood;..v|
|00000550| 61 72 20 62 6f 6f 6c 09 | 62 51 75 69 63 6b 53 74 |ar bool.|bQuickSt|
|00000560| 61 72 74 3b 0d 0a 76 61 | 72 20 62 6f 6f 6c 09 62 |art;..va|r bool.b|
|00000570| 53 6b 69 70 50 6c 61 79 | 53 6f 75 6e 64 3b 09 09 |SkipPlay|Sound;..|
|00000580| 2f 2f 20 6f 76 65 72 72 | 69 64 65 20 22 70 6c 61 |// overr|ide "pla|
|00000590| 79 21 22 20 73 6f 75 6e | 64 0d 0a 76 61 72 20 62 |y!" soun|d..var b|
|000005a0| 6f 6f 6c 09 62 53 74 61 | 72 74 65 64 43 6f 75 6e |ool.bSta|rtedCoun|
|000005b0| 74 44 6f 77 6e 3b 0d 0a | 76 61 72 20 62 6f 6f 6c |tDown;..|var bool|
|000005c0| 09 62 46 69 6e 61 6c 53 | 74 61 72 74 75 70 3b 0d |.bFinalS|tartup;.|
|000005d0| 0a 76 61 72 20 62 6f 6f | 6c 09 62 4f 76 65 72 54 |.var boo|l.bOverT|
|000005e0| 69 6d 65 42 72 6f 61 64 | 63 61 73 74 3b 0d 0a 76 |imeBroad|cast;..v|
|000005f0| 61 72 20 62 6f 6f 6c 09 | 62 45 70 69 63 4e 61 6d |ar bool.|bEpicNam|
|00000600| 65 73 3b 0d 0a 76 61 72 | 20 62 6f 6f 6c 09 62 4b |es;..var| bool.bK|
|00000610| 69 6c 6c 42 6f 74 73 3b | 0d 0a 76 61 72 20 62 6f |illBots;|..var bo|
|00000620| 6f 6c 20 20 20 20 62 43 | 75 73 74 6f 6d 42 6f 74 |ol bC|ustomBot|
|00000630| 73 3b 0d 0a 76 61 72 20 | 62 6f 6f 6c 09 62 52 65 |s;..var |bool.bRe|
|00000640| 76 69 65 77 69 6e 67 4a | 75 6d 70 53 70 6f 74 73 |viewingJ|umpSpots|
|00000650| 3b 0d 0a 76 61 72 20 67 | 6c 6f 62 61 6c 63 6f 6e |;..var g|lobalcon|
|00000660| 66 69 67 20 62 6f 6f 6c | 20 62 41 6c 6c 6f 77 50 |fig bool| bAllowP|
|00000670| 6c 61 79 65 72 4c 69 67 | 68 74 73 3b 0d 0a 76 61 |layerLig|hts;..va|
|00000680| 72 20 62 6f 6f 6c 20 62 | 46 6f 72 63 65 4e 6f 50 |r bool b|ForceNoP|
|00000690| 6c 61 79 65 72 4c 69 67 | 68 74 73 3b 0d 0a 76 61 |layerLig|hts;..va|
|000006a0| 72 28 4d 65 6e 75 29 20 | 20 20 20 20 20 20 20 62 |r(Menu) | b|
|000006b0| 6f 6f 6c 20 20 20 62 41 | 6c 77 61 79 73 53 68 6f |ool bA|lwaysSho|
|000006c0| 77 4c 6f 67 69 6e 4d 65 | 6e 75 3b 09 20 2f 2f 41 |wLoginMe|nu;. //A|
|000006d0| 6c 77 61 79 73 20 73 68 | 6f 77 20 74 68 65 20 6c |lways sh|ow the l|
|000006e0| 6f 67 69 6e 20 6d 65 6e | 75 20 65 76 65 6e 20 74 |ogin men|u even t|
|000006f0| 6f 20 70 6c 61 79 65 72 | 73 20 77 68 6f 20 68 61 |o player|s who ha|
|00000700| 76 65 20 61 6c 72 65 61 | 64 79 20 76 69 73 69 74 |ve alrea|dy visit|
|00000710| 65 64 20 74 68 65 20 73 | 65 72 76 65 72 0d 0a 0d |ed the s|erver...|
|00000720| 0a 2f 2f 20 63 6c 69 65 | 6e 74 20 67 61 6d 65 20 |.// clie|nt game |
|00000730| 72 65 6e 64 65 72 69 6e | 67 20 6f 70 74 69 6f 6e |renderin|g option|
|00000740| 73 0d 0a 76 61 72 20 67 | 6c 6f 62 61 6c 63 6f 6e |s..var g|lobalcon|
|00000750| 66 69 67 20 62 6f 6f 6c | 20 62 46 6f 72 63 65 44 |fig bool| bForceD|
|00000760| 65 66 61 75 6c 74 43 68 | 61 72 61 63 74 65 72 3b |efaultCh|aracter;|
|00000770| 09 09 2f 2f 20 61 6c 6c | 20 63 68 61 72 61 63 74 |..// all| charact|
|00000780| 65 72 73 20 73 68 6f 77 | 6e 20 75 73 69 6e 67 20 |ers show|n using |
|00000790| 64 65 66 61 75 6c 74 20 | 6d 65 73 68 0d 0a 0d 0a |default |mesh....|
|000007a0| 76 61 72 20 62 6f 6f 6c | 20 62 50 6c 61 79 65 72 |var bool| bPlayer|
|000007b0| 42 65 63 61 6d 65 41 63 | 74 69 76 65 3b 0d 0a 76 |BecameAc|tive;..v|
|000007c0| 61 72 20 62 6f 6f 6c 20 | 62 4d 75 73 74 48 61 76 |ar bool |bMustHav|
|000007d0| 65 4d 75 6c 74 69 70 6c | 65 50 6c 61 79 65 72 73 |eMultipl|ePlayers|
|000007e0| 3b 0d 0a 0d 0a 76 61 72 | 20 62 79 74 65 20 53 74 |;....var| byte St|
|000007f0| 61 72 74 75 70 53 74 61 | 67 65 3b 20 20 20 20 20 |artupSta|ge; |
|00000800| 20 20 20 20 20 20 20 20 | 20 2f 2f 20 77 68 61 74 | | // what|
|00000810| 20 73 74 61 72 74 75 70 | 20 6d 65 73 73 61 67 65 | startup| message|
|00000820| 20 74 6f 20 64 69 73 70 | 6c 61 79 0d 0a 76 61 72 | to disp|lay..var|
|00000830| 20 69 6e 74 20 4e 75 6d | 52 6f 75 6e 64 73 3b 0d | int Num|Rounds;.|
|00000840| 0a 0d 0a 76 61 72 20 63 | 6f 6e 66 69 67 20 66 6c |...var c|onfig fl|
|00000850| 6f 61 74 09 09 53 70 61 | 77 6e 50 72 6f 74 65 63 |oat..Spa|wnProtec|
|00000860| 74 69 6f 6e 54 69 6d 65 | 3b 0d 0a 76 61 72 20 69 |tionTime|;..var i|
|00000870| 6e 74 09 09 09 44 65 66 | 61 75 6c 74 4d 61 78 4c |nt...Def|aultMaxL|
|00000880| 69 76 65 73 3b 0d 0a 76 | 61 72 20 63 6f 6e 66 69 |ives;..v|ar confi|
|00000890| 67 20 69 6e 74 09 09 09 | 4c 61 74 65 45 6e 74 72 |g int...|LateEntr|
|000008a0| 79 4c 69 76 65 73 3b 09 | 2f 2f 20 64 65 66 69 6e |yLives;.|// defin|
|000008b0| 65 73 20 68 6f 77 20 6d | 61 6e 79 20 6c 69 76 65 |es how m|any live|
|000008c0| 73 20 69 6e 20 61 20 70 | 6c 61 79 65 72 20 63 61 |s in a p|layer ca|
|000008d0| 6e 20 73 74 69 6c 6c 20 | 6a 6f 69 6e 0d 0a 0d 0a |n still |join....|
|000008e0| 76 61 72 20 69 6e 74 20 | 52 65 6d 61 69 6e 69 6e |var int |Remainin|
|000008f0| 67 54 69 6d 65 2c 20 45 | 6c 61 70 73 65 64 54 69 |gTime, E|lapsedTi|
|00000900| 6d 65 3b 0d 0a 76 61 72 | 20 69 6e 74 20 43 6f 75 |me;..var| int Cou|
|00000910| 6e 74 44 6f 77 6e 3b 0d | 0a 76 61 72 20 66 6c 6f |ntDown;.|.var flo|
|00000920| 61 74 20 41 64 6a 75 73 | 74 65 64 44 69 66 66 69 |at Adjus|tedDiffi|
|00000930| 63 75 6c 74 79 3b 0d 0a | 76 61 72 20 69 6e 74 20 |culty;..|var int |
|00000940| 50 6c 61 79 65 72 4b 69 | 6c 6c 73 2c 20 50 6c 61 |PlayerKi|lls, Pla|
|00000950| 79 65 72 44 65 61 74 68 | 73 3b 0d 0a 76 61 72 20 |yerDeath|s;..var |
|00000960| 63 6c 61 73 73 3c 53 71 | 75 61 64 41 49 3e 20 44 |class<Sq|uadAI> D|
|00000970| 4d 53 71 75 61 64 43 6c | 61 73 73 3b 20 20 20 20 |MSquadCl|ass; |
|00000980| 2f 2f 20 73 71 75 61 64 | 20 63 6c 61 73 73 20 74 |// squad| class t|
|00000990| 6f 20 75 73 65 20 66 6f | 72 20 62 6f 74 73 20 69 |o use fo|r bots i|
|000009a0| 6e 20 44 4d 20 67 61 6d | 65 73 20 28 6e 6f 20 74 |n DM gam|es (no t|
|000009b0| 65 61 6d 29 0d 0a 76 61 | 72 20 63 6c 61 73 73 3c |eam)..va|r class<|
|000009c0| 4c 65 76 65 6c 47 61 6d | 65 52 75 6c 65 73 3e 20 |LevelGam|eRules> |
|000009d0| 4c 65 76 65 6c 52 75 6c | 65 73 43 6c 61 73 73 3b |LevelRul|esClass;|
|000009e0| 0d 0a 76 61 72 20 4c 65 | 76 65 6c 47 61 6d 65 52 |..var Le|velGameR|
|000009f0| 75 6c 65 73 20 4c 65 76 | 65 6c 52 75 6c 65 73 3b |ules Lev|elRules;|
|00000a00| 09 09 2f 2f 20 6c 65 76 | 65 6c 20 64 65 73 69 67 |..// lev|el desig|
|00000a10| 6e 65 72 20 6f 76 65 72 | 72 69 64 69 6e 67 20 6f |ner over|riding o|
|00000a20| 66 20 67 61 6d 65 20 73 | 65 74 74 69 6e 67 73 20 |f game s|ettings |
|00000a30| 28 68 6f 6f 6b 20 66 6f | 72 20 6d 6f 64 20 61 75 |(hook fo|r mod au|
|00000a40| 74 68 6f 72 73 29 0d 0a | 76 61 72 20 55 6e 72 65 |thors)..|var Unre|
|00000a50| 61 6c 54 65 61 6d 49 6e | 66 6f 20 45 6e 65 6d 79 |alTeamIn|fo Enemy|
|00000a60| 52 6f 73 74 65 72 3b 0d | 0a 76 61 72 20 73 74 72 |Roster;.|.var str|
|00000a70| 69 6e 67 20 45 6e 65 6d | 79 52 6f 73 74 65 72 4e |ing Enem|yRosterN|
|00000a80| 61 6d 65 3b 0d 0a 76 61 | 72 20 73 74 72 69 6e 67 |ame;..va|r string|
|00000a90| 20 44 65 66 61 75 6c 74 | 45 6e 65 6d 79 52 6f 73 | Default|EnemyRos|
|00000aa0| 74 65 72 43 6c 61 73 73 | 3b 0d 0a 0d 0a 2f 2f 20 |terClass|;....// |
|00000ab0| 42 6f 74 20 72 65 6c 61 | 74 65 64 20 69 6e 66 6f |Bot rela|ted info|
|00000ac0| 0d 0a 76 61 72 20 20 20 | 20 20 69 6e 74 20 20 20 |..var | int |
|00000ad0| 20 20 20 20 20 20 52 65 | 6d 61 69 6e 69 6e 67 42 | Re|mainingB|
|00000ae0| 6f 74 73 3b 0d 0a 76 61 | 72 20 20 20 20 20 69 6e |ots;..va|r in|
|00000af0| 74 20 20 20 20 20 20 20 | 20 20 49 6e 69 74 69 61 |t | Initia|
|00000b00| 6c 42 6f 74 73 3b 0d 0a | 0d 0a 76 61 72 20 4e 61 |lBots;..|..var Na|
|00000b10| 76 69 67 61 74 69 6f 6e | 50 6f 69 6e 74 20 4c 61 |vigation|Point La|
|00000b20| 73 74 50 6c 61 79 65 72 | 53 74 61 72 74 53 70 6f |stPlayer|StartSpo|
|00000b30| 74 3b 20 20 20 20 2f 2f | 20 6c 61 73 74 20 70 6c |t; //| last pl|
|00000b40| 61 63 65 20 70 6c 61 79 | 65 72 20 6c 6f 6f 6b 69 |ace play|er looki|
|00000b50| 6e 67 20 66 6f 72 20 73 | 74 61 72 74 20 73 70 6f |ng for s|tart spo|
|00000b60| 74 20 73 74 61 72 74 65 | 64 20 66 72 6f 6d 0d 0a |t starte|d from..|
|00000b70| 76 61 72 20 4e 61 76 69 | 67 61 74 69 6f 6e 50 6f |var Navi|gationPo|
|00000b80| 69 6e 74 20 4c 61 73 74 | 53 74 61 72 74 53 70 6f |int Last|StartSpo|
|00000b90| 74 3b 20 20 20 20 20 20 | 20 20 20 20 2f 2f 20 6c |t; | // l|
|00000ba0| 61 73 74 20 70 6c 61 63 | 65 20 61 6e 79 20 70 6c |ast plac|e any pl|
|00000bb0| 61 79 65 72 20 73 74 61 | 72 74 65 64 20 66 72 6f |ayer sta|rted fro|
|00000bc0| 6d 0d 0a 0d 0a 76 61 72 | 20 20 20 20 20 69 6e 74 |m....var| int|
|00000bd0| 20 20 20 20 20 20 20 20 | 20 4e 61 6d 65 4e 75 6d | | NameNum|
|00000be0| 62 65 72 3b 20 20 20 20 | 20 20 20 20 20 20 20 20 |ber; | |
|00000bf0| 20 2f 2f 20 61 70 70 65 | 6e 64 20 74 6f 20 65 6e | // appe|nd to en|
|00000c00| 73 75 72 65 20 75 6e 69 | 71 75 65 20 6e 61 6d 65 |sure uni|que name|
|00000c10| 20 69 66 20 64 75 70 6c | 69 63 61 74 65 20 70 6c | if dupl|icate pl|
|00000c20| 61 79 65 72 20 6e 61 6d | 65 20 63 68 61 6e 67 65 |ayer nam|e change|
|00000c30| 20 72 65 71 75 65 73 74 | 65 64 0d 0a 0d 0a 76 61 | request|ed....va|
|00000c40| 72 20 69 6e 74 20 20 20 | 20 20 20 20 20 20 20 20 |r int | |
|00000c50| 20 20 45 6e 64 4d 65 73 | 73 61 67 65 57 61 69 74 | EndMes|sageWait|
|00000c60| 3b 20 20 20 20 20 20 20 | 20 20 2f 2f 20 77 61 69 |; | // wai|
|00000c70| 74 20 62 65 66 6f 72 65 | 20 70 6c 61 79 69 6e 67 |t before| playing|
|00000c80| 20 77 68 69 63 68 20 74 | 65 61 6d 20 77 6f 6e 20 | which t|eam won |
|00000c90| 74 68 65 20 6d 61 74 63 | 68 0d 0a 76 61 72 20 74 |the matc|h..var t|
|00000ca0| 72 61 6e 73 69 65 6e 74 | 20 69 6e 74 20 20 20 45 |ransient| int E|
|00000cb0| 6e 64 4d 65 73 73 61 67 | 65 43 6f 75 6e 74 65 72 |ndMessag|eCounter|
|00000cc0| 3b 20 20 20 20 20 20 2f | 2f 20 65 6e 64 20 6d 65 |; /|/ end me|
|00000cd0| 73 73 61 67 65 20 63 6f | 75 6e 74 65 72 0d 0a 76 |ssage co|unter..v|
|00000ce0| 61 72 20 6e 61 6d 65 09 | 09 09 45 6e 64 47 61 6d |ar name.|..EndGam|
|00000cf0| 65 53 6f 75 6e 64 4e 61 | 6d 65 5b 32 5d 3b 0d 0a |eSoundNa|me[2];..|
|00000d00| 76 61 72 20 6e 61 6d 65 | 09 09 09 41 6c 74 45 6e |var name|...AltEn|
|00000d10| 64 47 61 6d 65 53 6f 75 | 6e 64 4e 61 6d 65 5b 32 |dGameSou|ndName[2|
|00000d20| 5d 3b 0d 0a 76 61 72 20 | 69 6e 74 20 20 20 20 20 |];..var |int |
|00000d30| 20 20 20 20 20 20 20 20 | 53 69 6e 67 6c 65 50 6c | |SinglePl|
|00000d40| 61 79 65 72 57 61 69 74 | 3b 20 20 20 20 20 20 20 |ayerWait|; |
|00000d50| 2f 2f 20 73 69 6e 67 6c | 65 2d 70 6c 61 79 65 72 |// singl|e-player|
|00000d60| 20 77 61 69 74 20 64 65 | 6c 61 79 20 62 65 66 6f | wait de|lay befo|
|00000d70| 72 65 20 61 75 74 6f 2d | 72 65 74 75 72 6e 69 6e |re auto-|returnin|
|00000d80| 67 20 74 6f 20 6d 65 6e | 75 73 0d 0a 0d 0a 76 61 |g to men|us....va|
|00000d90| 72 20 67 6c 6f 62 61 6c | 63 6f 6e 66 69 67 20 73 |r global|config s|
|00000da0| 74 72 69 6e 67 20 4e 61 | 6d 65 50 72 65 66 69 78 |tring Na|mePrefix|
|00000db0| 65 73 5b 31 30 5d 3b 09 | 09 2f 2f 20 66 6f 72 20 |es[10];.|.// for |
|00000dc0| 62 6f 74 73 20 77 69 74 | 68 20 73 61 6d 65 20 6e |bots wit|h same n|
|00000dd0| 61 6d 65 0d 0a 76 61 72 | 20 67 6c 6f 62 61 6c 63 |ame..var| globalc|
|00000de0| 6f 6e 66 69 67 20 73 74 | 72 69 6e 67 20 4e 61 6d |onfig st|ring Nam|
|00000df0| 65 53 75 66 66 69 78 65 | 73 5b 31 30 5d 3b 09 09 |eSuffixe|s[10];..|
|00000e00| 2f 2f 20 66 6f 72 20 62 | 6f 74 73 20 77 69 74 68 |// for b|ots with|
|00000e10| 20 73 61 6d 65 20 6e 61 | 6d 65 0d 0a 0d 0a 76 61 | same na|me....va|
|00000e20| 72 20 61 63 74 6f 72 20 | 45 6e 64 47 61 6d 65 46 |r actor |EndGameF|
|00000e30| 6f 63 75 73 3b 0d 0a 76 | 61 72 20 50 6c 61 79 65 |ocus;..v|ar Playe|
|00000e40| 72 43 6f 6e 74 72 6f 6c | 6c 65 72 20 53 74 61 6e |rControl|ler Stan|
|00000e50| 64 61 6c 6f 6e 65 50 6c | 61 79 65 72 3b 0d 0a 0d |dalonePl|ayer;...|
|00000e60| 0a 2f 2f 20 6d 63 20 2d | 20 6c 6f 63 61 6c 69 7a |.// mc -| localiz|
|00000e70| 65 64 20 50 6c 61 79 49 | 6e 66 6f 20 64 65 73 63 |ed PlayI|nfo desc|
|00000e80| 72 69 70 74 69 6f 6e 73 | 20 26 20 65 78 74 72 61 |riptions| & extra|
|00000e90| 20 69 6e 66 6f 0d 0a 63 | 6f 6e 73 74 20 44 4d 50 | info..c|onst DMP|
|00000ea0| 52 4f 50 4e 55 4d 20 3d | 20 31 34 3b 0d 0a 76 61 |ROPNUM =| 14;..va|
|00000eb0| 72 20 6c 6f 63 61 6c 69 | 7a 65 64 20 73 74 72 69 |r locali|zed stri|
|00000ec0| 6e 67 20 44 4d 50 72 6f | 70 73 44 69 73 70 6c 61 |ng DMPro|psDispla|
|00000ed0| 79 54 65 78 74 5b 44 4d | 50 52 4f 50 4e 55 4d 5d |yText[DM|PROPNUM]|
|00000ee0| 3b 0d 0a 76 61 72 20 6c | 6f 63 61 6c 69 7a 65 64 |;..var l|ocalized|
|00000ef0| 20 73 74 72 69 6e 67 20 | 44 4d 50 72 6f 70 44 65 | string |DMPropDe|
|00000f00| 73 63 54 65 78 74 5b 44 | 4d 50 52 4f 50 4e 55 4d |scText[D|MPROPNUM|
|00000f10| 5d 3b 0d 0a 0d 0a 76 61 | 72 09 6c 6f 63 61 6c 69 |];....va|r.locali|
|00000f20| 7a 65 64 20 73 74 72 69 | 6e 67 09 59 6f 75 44 65 |zed stri|ng.YouDe|
|00000f30| 73 74 72 6f 79 65 64 2c | 20 59 6f 75 44 65 73 74 |stroyed,| YouDest|
|00000f40| 72 6f 79 65 64 54 72 61 | 69 6c 65 72 3b 09 2f 2f |royedTra|iler;.//|
|00000f50| 20 76 65 68 69 63 6c 65 | 20 64 65 73 74 72 6f 79 | vehicle| destroy|
|00000f60| 20 6b 69 6c 6c 20 6d 65 | 73 73 61 67 65 0d 0a 0d | kill me|ssage...|
|00000f70| 0a 76 61 72 28 29 20 66 | 6c 6f 61 74 20 41 44 52 |.var() f|loat ADR|
|00000f80| 5f 4b 69 6c 6c 3b 0d 0a | 76 61 72 28 29 20 66 6c |_Kill;..|var() fl|
|00000f90| 6f 61 74 20 41 44 52 5f | 4d 61 6a 6f 72 4b 69 6c |oat ADR_|MajorKil|
|00000fa0| 6c 3b 0d 0a 76 61 72 28 | 29 20 66 6c 6f 61 74 20 |l;..var(|) float |
|00000fb0| 41 44 52 5f 4d 69 6e 6f | 72 45 72 72 6f 72 3b 0d |ADR_Mino|rError;.|
|00000fc0| 0a 76 61 72 28 29 20 66 | 6c 6f 61 74 20 41 44 52 |.var() f|loat ADR|
|00000fd0| 5f 4d 69 6e 6f 72 42 6f | 6e 75 73 3b 0d 0a 76 61 |_MinorBo|nus;..va|
|00000fe0| 72 28 29 20 66 6c 6f 61 | 74 20 41 44 52 5f 4b 69 |r() floa|t ADR_Ki|
|00000ff0| 6c 6c 54 65 61 6d 4d 61 | 74 65 3b 0d 0a 0d 0a 76 |llTeamMa|te;....v|
|00001000| 61 72 20 73 74 72 69 6e | 67 20 45 70 69 63 4e 61 |ar strin|g EpicNa|
|00001010| 6d 65 73 5b 32 31 5d 3b | 0d 0a 76 61 72 20 73 74 |mes[21];|..var st|
|00001020| 72 69 6e 67 20 4d 61 6c | 65 42 61 63 6b 75 70 4e |ring Mal|eBackupN|
|00001030| 61 6d 65 73 5b 33 32 5d | 3b 0d 0a 76 61 72 20 73 |ames[32]|;..var s|
|00001040| 74 72 69 6e 67 20 46 65 | 6d 61 6c 65 42 61 63 6b |tring Fe|maleBack|
|00001050| 75 70 4e 61 6d 65 73 5b | 33 32 5d 3b 0d 0a 76 61 |upNames[|32];..va|
|00001060| 72 20 69 6e 74 20 45 70 | 69 63 4f 66 66 73 65 74 |r int Ep|icOffset|
|00001070| 2c 20 54 6f 74 61 6c 45 | 70 69 63 2c 20 4d 61 6c |, TotalE|pic, Mal|
|00001080| 65 42 61 63 6b 75 70 4e | 61 6d 65 4f 66 66 73 65 |eBackupN|ameOffse|
|00001090| 74 2c 20 46 65 6d 61 6c | 65 42 61 63 6b 75 70 4e |t, Femal|eBackupN|
|000010a0| 61 6d 65 4f 66 66 73 65 | 74 3b 0d 0a 0d 0a 76 61 |ameOffse|t;....va|
|000010b0| 72 28 4d 65 6e 75 29 20 | 63 6f 6e 66 69 67 20 73 |r(Menu) |config s|
|000010c0| 74 72 69 6e 67 20 4c 6f | 67 69 6e 4d 65 6e 75 43 |tring Lo|ginMenuC|
|000010d0| 6c 61 73 73 3b 09 20 20 | 20 20 20 20 20 20 20 2f |lass;. | /|
|000010e0| 2f 53 68 6f 77 20 74 68 | 69 73 20 6d 65 6e 75 20 |/Show th|is menu |
|000010f0| 74 6f 20 70 6c 61 79 65 | 72 73 20 6a 6f 69 6e 69 |to playe|rs joini|
|00001100| 6e 67 20 74 68 65 20 73 | 65 72 76 65 72 0d 0a 0d |ng the s|erver...|
|00001110| 0a 76 61 72 28 4c 6f 61 | 64 69 6e 67 48 69 6e 74 |.var(Loa|dingHint|
|00001120| 73 29 20 70 72 69 76 61 | 74 65 20 6c 6f 63 61 6c |s) priva|te local|
|00001130| 69 7a 65 64 20 61 72 72 | 61 79 3c 73 74 72 69 6e |ized arr|ay<strin|
|00001140| 67 3e 20 44 4d 48 69 6e | 74 73 3b 0d 0a 0d 0a 66 |g> DMHin|ts;....f|
|00001150| 75 6e 63 74 69 6f 6e 20 | 50 6f 73 74 42 65 67 69 |unction |PostBegi|
|00001160| 6e 50 6c 61 79 28 29 0d | 0a 7b 0d 0a 09 4e 61 6d |nPlay().|.{...Nam|
|00001170| 65 4e 75 6d 62 65 72 20 | 3d 20 52 61 6e 64 28 31 |eNumber |= Rand(1|
|00001180| 30 29 3b 0d 0a 09 45 70 | 69 63 4f 66 66 73 65 74 |0);...Ep|icOffset|
|00001190| 20 3d 20 52 61 6e 64 28 | 31 30 29 3b 0d 0a 09 4d | = Rand(|10);...M|
|000011a0| 61 6c 65 42 61 63 6b 75 | 70 4e 61 6d 65 4f 66 66 |aleBacku|pNameOff|
|000011b0| 73 65 74 20 3d 20 52 61 | 6e 64 28 33 32 29 3b 0d |set = Ra|nd(32);.|
|000011c0| 0a 09 46 65 6d 61 6c 65 | 42 61 63 6b 75 70 4e 61 |..Female|BackupNa|
|000011d0| 6d 65 4f 66 66 73 65 74 | 20 3d 20 52 61 6e 64 28 |meOffset| = Rand(|
|000011e0| 33 32 29 3b 0d 0a 0d 0a | 20 20 20 20 53 75 70 65 |32);....| Supe|
|000011f0| 72 2e 50 6f 73 74 42 65 | 67 69 6e 50 6c 61 79 28 |r.PostBe|ginPlay(|
|00001200| 29 3b 0d 0a 20 20 20 20 | 47 61 6d 65 52 65 70 6c |);.. |GameRepl|
|00001210| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 52 65 6d 61 |icationI|nfo.Rema|
|00001220| 69 6e 69 6e 67 54 69 6d | 65 20 3d 20 52 65 6d 61 |iningTim|e = Rema|
|00001230| 69 6e 69 6e 67 54 69 6d | 65 3b 0d 0a 20 20 20 20 |iningTim|e;.. |
|00001240| 47 61 6d 65 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |GameRepl|icationI|
|00001250| 6e 66 6f 2e 62 46 6f 72 | 63 65 54 65 61 6d 53 6b |nfo.bFor|ceTeamSk|
|00001260| 69 6e 73 20 3d 20 21 62 | 54 65 61 6d 47 61 6d 65 |ins = !b|TeamGame|
|00001270| 20 26 26 20 62 43 6f 6c | 6f 72 65 64 44 4d 53 6b | && bCol|oredDMSk|
|00001280| 69 6e 73 3b 0d 0a 09 47 | 61 6d 65 52 65 70 6c 69 |ins;...G|ameRepli|
|00001290| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 62 46 6f 72 63 |cationIn|fo.bForc|
|000012a0| 65 4e 6f 50 6c 61 79 65 | 72 4c 69 67 68 74 73 20 |eNoPlaye|rLights |
|000012b0| 3d 20 62 46 6f 72 63 65 | 4e 6f 50 6c 61 79 65 72 |= bForce|NoPlayer|
|000012c0| 4c 69 67 68 74 73 3b 0d | 0a 09 69 66 20 28 20 62 |Lights;.|..if ( b|
|000012d0| 50 6c 61 79 65 72 73 56 | 73 42 6f 74 73 20 7c 7c |PlayersV|sBots |||
|000012e0| 20 28 43 75 72 72 65 6e | 74 47 61 6d 65 50 72 6f | (Curren|tGamePro|
|000012f0| 66 69 6c 65 20 21 3d 20 | 4e 6f 6e 65 29 20 29 0d |file != |None) ).|
|00001300| 0a 09 09 47 61 6d 65 52 | 65 70 6c 69 63 61 74 69 |...GameR|eplicati|
|00001310| 6f 6e 49 6e 66 6f 2e 62 | 4e 6f 54 65 61 6d 43 68 |onInfo.b|NoTeamCh|
|00001320| 61 6e 67 65 73 20 3d 20 | 74 72 75 65 3b 0d 0a 09 |anges = |true;...|
|00001330| 69 66 20 28 20 21 62 46 | 6f 72 63 65 4e 6f 50 6c |if ( !bF|orceNoPl|
|00001340| 61 79 65 72 4c 69 67 68 | 74 73 20 26 26 20 28 62 |ayerLigh|ts && (b|
|00001350| 54 65 61 6d 47 61 6d 65 | 20 7c 7c 20 62 43 6f 6c |TeamGame| || bCol|
|00001360| 6f 72 65 64 44 4d 53 6b | 69 6e 73 29 20 29 0d 0a |oredDMSk|ins) )..|
|00001370| 09 09 47 61 6d 65 52 65 | 70 6c 69 63 61 74 69 6f |..GameRe|plicatio|
|00001380| 6e 49 6e 66 6f 2e 62 41 | 6c 6c 6f 77 50 6c 61 79 |nInfo.bA|llowPlay|
|00001390| 65 72 4c 69 67 68 74 73 | 20 3d 20 44 65 66 61 75 |erLights| = Defau|
|000013a0| 6c 74 2e 62 41 6c 6c 6f | 77 50 6c 61 79 65 72 4c |lt.bAllo|wPlayerL|
|000013b0| 69 67 68 74 73 3b 0d 0a | 20 20 20 20 49 6e 69 74 |ights;..| Init|
|000013c0| 54 65 61 6d 53 79 6d 62 | 6f 6c 73 28 29 3b 0d 0a |TeamSymb|ols();..|
|000013d0| 20 20 20 20 47 65 74 42 | 6f 74 54 65 61 6d 28 49 | GetB|otTeam(I|
|000013e0| 6e 69 74 69 61 6c 42 6f | 74 73 29 3b 0d 0a 20 20 |nitialBo|ts);.. |
|000013f0| 20 20 69 66 20 28 20 28 | 43 75 72 72 65 6e 74 47 | if ( (|CurrentG|
|00001400| 61 6d 65 50 72 6f 66 69 | 6c 65 20 3d 3d 20 4e 6f |ameProfi|le == No|
|00001410| 6e 65 29 20 7c 7c 20 28 | 62 43 75 73 74 6f 6d 42 |ne) || (|bCustomB|
|00001420| 6f 74 73 20 26 26 20 28 | 47 65 74 42 6f 74 54 65 |ots && (|GetBotTe|
|00001430| 61 6d 28 29 20 21 3d 20 | 4e 6f 6e 65 29 29 20 29 |am() != |None)) )|
|00001440| 0d 0a 09 09 4f 76 65 72 | 72 69 64 65 49 6e 69 74 |....Over|rideInit|
|00001450| 69 61 6c 42 6f 74 73 28 | 29 3b 0d 0a 09 69 66 20 |ialBots(|);...if |
|00001460| 28 20 62 50 6c 61 79 65 | 72 73 56 73 42 6f 74 73 |( bPlaye|rsVsBots|
|00001470| 20 29 0d 0a 09 09 47 61 | 6d 65 52 65 70 6c 69 63 | )....Ga|meReplic|
|00001480| 61 74 69 6f 6e 49 6e 66 | 6f 2e 42 6f 74 44 69 66 |ationInf|o.BotDif|
|00001490| 66 69 63 75 6c 74 79 20 | 3d 20 47 61 6d 65 44 69 |ficulty |= GameDi|
|000014a0| 66 66 69 63 75 6c 74 79 | 3b 0d 0a 7d 0d 0a 0d 0a |fficulty|;..}....|
|000014b0| 66 75 6e 63 74 69 6f 6e | 20 4f 76 65 72 72 69 64 |function| Overrid|
|000014c0| 65 49 6e 69 74 69 61 6c | 42 6f 74 73 28 29 0d 0a |eInitial|Bots()..|
|000014d0| 7b 0d 0a 09 49 6e 69 74 | 69 61 6c 42 6f 74 73 20 |{...Init|ialBots |
|000014e0| 3d 20 47 65 74 42 6f 74 | 54 65 61 6d 28 29 2e 4f |= GetBot|Team().O|
|000014f0| 76 65 72 72 69 64 65 49 | 6e 69 74 69 61 6c 42 6f |verrideI|nitialBo|
|00001500| 74 73 28 49 6e 69 74 69 | 61 6c 42 6f 74 73 2c 4e |ts(Initi|alBots,N|
|00001510| 6f 6e 65 29 3b 0d 0a 7d | 0d 0a 0d 0a 2f 2a 20 52 |one);..}|..../* R|
|00001520| 65 73 65 74 28 29 0d 0a | 72 65 73 65 74 20 61 63 |eset()..|reset ac|
|00001530| 74 6f 72 20 74 6f 20 69 | 6e 69 74 69 61 6c 20 73 |tor to i|nitial s|
|00001540| 74 61 74 65 20 2d 20 75 | 73 65 64 20 77 68 65 6e |tate - u|sed when|
|00001550| 20 72 65 73 74 61 72 74 | 69 6e 67 20 6c 65 76 65 | restart|ing leve|
|00001560| 6c 20 77 69 74 68 6f 75 | 74 20 72 65 6c 6f 61 64 |l withou|t reload|
|00001570| 69 6e 67 2e 0d 0a 2a 2f | 0d 0a 66 75 6e 63 74 69 |ing...*/|..functi|
|00001580| 6f 6e 20 52 65 73 65 74 | 28 29 0d 0a 7b 0d 0a 20 |on Reset|()..{.. |
|00001590| 20 20 20 53 75 70 65 72 | 2e 52 65 73 65 74 28 29 | Super|.Reset()|
|000015a0| 3b 0d 0a 20 20 20 20 45 | 6c 61 70 73 65 64 54 69 |;.. E|lapsedTi|
|000015b0| 6d 65 20 3d 20 4e 65 74 | 57 61 69 74 20 2d 20 33 |me = Net|Wait - 3|
|000015c0| 3b 0d 0a 20 20 20 20 62 | 57 61 69 74 46 6f 72 4e |;.. b|WaitForN|
|000015d0| 65 74 50 6c 61 79 65 72 | 73 20 3d 20 28 20 4c 65 |etPlayer|s = ( Le|
|000015e0| 76 65 6c 2e 4e 65 74 4d | 6f 64 65 20 21 3d 20 4e |vel.NetM|ode != N|
|000015f0| 4d 5f 53 74 61 6e 64 41 | 6c 6f 6e 65 20 29 3b 0d |M_StandA|lone );.|
|00001600| 0a 09 62 53 74 61 72 74 | 65 64 43 6f 75 6e 74 44 |..bStart|edCountD|
|00001610| 6f 77 6e 20 3d 20 66 61 | 6c 73 65 3b 0d 0a 09 62 |own = fa|lse;...b|
|00001620| 46 69 6e 61 6c 53 74 61 | 72 74 75 70 20 3d 20 66 |FinalSta|rtup = f|
|00001630| 61 6c 73 65 3b 0d 0a 20 | 20 20 20 43 6f 75 6e 74 |alse;.. | Count|
|00001640| 44 6f 77 6e 20 3d 20 44 | 65 66 61 75 6c 74 2e 43 |Down = D|efault.C|
|00001650| 6f 75 6e 74 64 6f 77 6e | 3b 0d 0a 20 20 20 20 52 |ountdown|;.. R|
|00001660| 65 6d 61 69 6e 69 6e 67 | 54 69 6d 65 20 3d 20 36 |emaining|Time = 6|
|00001670| 30 20 2a 20 54 69 6d 65 | 4c 69 6d 69 74 3b 0d 0a |0 * Time|Limit;..|
|00001680| 20 20 20 20 47 6f 74 6f | 53 74 61 74 65 28 27 50 | Goto|State('P|
|00001690| 65 6e 64 69 6e 67 4d 61 | 74 63 68 27 29 3b 0d 0a |endingMa|tch');..|
|000016a0| 7d 0d 0a 0d 0a 2f 2a 20 | 43 68 65 63 6b 52 65 61 |}..../* |CheckRea|
|000016b0| 64 79 28 29 0d 0a 49 66 | 20 74 6f 75 72 6e 61 6d |dy()..If| tournam|
|000016c0| 65 6e 74 20 67 61 6d 65 | 2c 20 6d 61 6b 65 20 73 |ent game|, make s|
|000016d0| 75 72 65 20 74 68 61 74 | 20 74 68 65 72 65 20 69 |ure that| there i|
|000016e0| 73 20 61 20 76 61 6c 69 | 64 20 67 61 6d 65 20 77 |s a vali|d game w|
|000016f0| 69 6e 6e 69 6e 67 20 63 | 72 69 74 65 72 69 6f 6e |inning c|riterion|
|00001700| 0d 0a 2a 2f 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 43 |..*/..fu|nction C|
|00001710| 68 65 63 6b 52 65 61 64 | 79 28 29 0d 0a 7b 0d 0a |heckRead|y()..{..|
|00001720| 20 20 20 20 69 66 20 28 | 20 28 47 6f 61 6c 53 63 | if (| (GoalSc|
|00001730| 6f 72 65 20 3d 3d 20 30 | 29 20 26 26 20 28 54 69 |ore == 0|) && (Ti|
|00001740| 6d 65 4c 69 6d 69 74 20 | 3d 3d 20 30 29 20 29 0d |meLimit |== 0) ).|
|00001750| 0a 20 20 20 20 7b 0d 0a | 20 20 20 20 20 20 20 20 |. {..| |
|00001760| 54 69 6d 65 4c 69 6d 69 | 74 20 3d 20 32 30 3b 0d |TimeLimi|t = 20;.|
|00001770| 0a 20 20 20 20 20 20 20 | 20 52 65 6d 61 69 6e 69 |. | Remaini|
|00001780| 6e 67 54 69 6d 65 20 3d | 20 36 30 20 2a 20 54 69 |ngTime =| 60 * Ti|
|00001790| 6d 65 4c 69 6d 69 74 3b | 0d 0a 20 20 20 20 7d 0d |meLimit;|.. }.|
|000017a0| 0a 7d 0d 0a 0d 0a 2f 2f | 20 4d 6f 6e 69 74 6f 72 |.}....//| Monitor|
|000017b0| 20 6b 69 6c 6c 65 64 20 | 6d 65 73 73 61 67 65 73 | killed |messages|
|000017c0| 20 66 6f 72 20 66 72 61 | 67 6c 69 6d 69 74 0d 0a | for fra|glimit..|
|000017d0| 66 75 6e 63 74 69 6f 6e | 20 4b 69 6c 6c 65 64 28 |function| Killed(|
|000017e0| 20 43 6f 6e 74 72 6f 6c | 6c 65 72 20 4b 69 6c 6c | Control|ler Kill|
|000017f0| 65 72 2c 20 43 6f 6e 74 | 72 6f 6c 6c 65 72 20 4b |er, Cont|roller K|
|00001800| 69 6c 6c 65 64 2c 20 50 | 61 77 6e 20 4b 69 6c 6c |illed, P|awn Kill|
|00001810| 65 64 50 61 77 6e 2c 20 | 63 6c 61 73 73 3c 44 61 |edPawn, |class<Da|
|00001820| 6d 61 67 65 54 79 70 65 | 3e 20 64 61 6d 61 67 65 |mageType|> damage|
|00001830| 54 79 70 65 20 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |Type )..|{...loca|
|00001840| 6c 20 62 6f 6f 6c 09 09 | 62 45 6e 65 6d 79 4b 69 |l bool..|bEnemyKi|
|00001850| 6c 6c 3b 0d 0a 09 6c 6f | 63 61 6c 20 69 6e 74 09 |ll;...lo|cal int.|
|00001860| 09 53 63 6f 72 65 3b 0d | 0a 09 6c 6f 63 61 6c 20 |.Score;.|..local |
|00001870| 73 74 72 69 6e 67 09 4b | 69 6c 6c 49 6e 66 6f 3b |string.K|illInfo;|
|00001880| 0d 0a 0d 0a 09 62 45 6e | 65 6d 79 4b 69 6c 6c 20 |.....bEn|emyKill |
|00001890| 3d 20 28 20 21 62 54 65 | 61 6d 47 61 6d 65 20 7c |= ( !bTe|amGame ||
|000018a0| 7c 20 28 28 4b 69 6c 6c | 65 72 20 21 3d 20 4e 6f || ((Kill|er != No|
|000018b0| 6e 65 29 20 26 26 20 28 | 4b 69 6c 6c 65 72 20 21 |ne) && (|Killer !|
|000018c0| 3d 20 4b 69 6c 6c 65 64 | 29 20 26 26 20 28 4b 69 |= Killed|) && (Ki|
|000018d0| 6c 6c 65 64 20 21 3d 20 | 4e 6f 6e 65 29 0d 0a 09 |lled != |None)...|
|000018e0| 09 09 09 09 09 09 09 26 | 26 20 28 4b 69 6c 6c 65 |.......&|& (Kille|
|000018f0| 72 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |r.Player|Replicat|
|00001900| 69 6f 6e 49 6e 66 6f 20 | 21 3d 20 4e 6f 6e 65 29 |ionInfo |!= None)|
|00001910| 20 26 26 20 28 4b 69 6c | 6c 65 64 2e 50 6c 61 79 | && (Kil|led.Play|
|00001920| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00001930| 6f 20 21 3d 20 4e 6f 6e | 65 29 0d 0a 09 09 09 09 |o != Non|e)......|
|00001940| 09 09 09 09 26 26 20 28 | 4b 69 6c 6c 65 72 2e 50 |....&& (|Killer.P|
|00001950| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00001960| 49 6e 66 6f 2e 54 65 61 | 6d 20 21 3d 20 4b 69 6c |Info.Tea|m != Kil|
|00001970| 6c 65 64 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |led.Play|erReplic|
|00001980| 61 74 69 6f 6e 49 6e 66 | 6f 2e 54 65 61 6d 29 29 |ationInf|o.Team))|
|00001990| 20 29 3b 0d 0a 0d 0a 09 | 69 66 20 28 20 4b 69 6c | );.....|if ( Kil|
|000019a0| 6c 65 64 50 61 77 6e 20 | 21 3d 20 4e 6f 6e 65 20 |ledPawn |!= None |
|000019b0| 26 26 20 4b 69 6c 6c 65 | 64 50 61 77 6e 2e 47 65 |&& Kille|dPawn.Ge|
|000019c0| 74 53 70 72 65 65 28 29 | 20 3e 20 34 20 29 0d 0a |tSpree()| > 4 )..|
|000019d0| 09 7b 0d 0a 09 09 69 66 | 20 28 20 62 45 6e 65 6d |.{....if| ( bEnem|
|000019e0| 79 4b 69 6c 6c 20 26 26 | 20 28 4b 69 6c 6c 65 72 |yKill &&| (Killer|
|000019f0| 20 21 3d 20 4e 6f 6e 65 | 29 20 29 0d 0a 09 09 09 | != None|) ).....|
|00001a00| 4b 69 6c 6c 65 72 2e 41 | 77 61 72 64 41 64 72 65 |Killer.A|wardAdre|
|00001a10| 6e 61 6c 69 6e 65 28 41 | 44 52 5f 4d 61 6a 6f 72 |naline(A|DR_Major|
|00001a20| 4b 69 6c 6c 29 3b 0d 0a | 09 09 45 6e 64 53 70 72 |Kill);..|..EndSpr|
|00001a30| 65 65 28 4b 69 6c 6c 65 | 72 2c 20 4b 69 6c 6c 65 |ee(Kille|r, Kille|
|00001a40| 64 29 3b 0d 0a 09 7d 0d | 0a 09 69 66 20 28 20 28 |d);...}.|..if ( (|
|00001a50| 4b 69 6c 6c 65 72 20 21 | 3d 20 4e 6f 6e 65 29 20 |Killer !|= None) |
|00001a60| 26 26 20 4b 69 6c 6c 65 | 72 2e 62 49 73 50 6c 61 |&& Kille|r.bIsPla|
|00001a70| 79 65 72 20 26 26 20 28 | 4b 69 6c 6c 65 64 20 21 |yer && (|Killed !|
|00001a80| 3d 20 4e 6f 6e 65 29 20 | 26 26 20 4b 69 6c 6c 65 |= None) |&& Kille|
|00001a90| 64 2e 62 49 73 50 6c 61 | 79 65 72 20 29 0d 0a 09 |d.bIsPla|yer )...|
|00001aa0| 7b 0d 0a 09 09 69 66 20 | 28 20 55 6e 72 65 61 6c |{....if |( Unreal|
|00001ab0| 50 6c 61 79 65 72 28 4b | 69 6c 6c 65 72 29 20 21 |Player(K|iller) !|
|00001ac0| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 09 09 55 6e 72 |= None )|.....Unr|
|00001ad0| 65 61 6c 50 6c 61 79 65 | 72 28 4b 69 6c 6c 65 72 |ealPlaye|r(Killer|
|00001ae0| 29 2e 4c 6f 67 4d 75 6c | 74 69 4b 69 6c 6c 73 28 |).LogMul|tiKills(|
|00001af0| 41 44 52 5f 4d 61 6a 6f | 72 4b 69 6c 6c 2c 20 62 |ADR_Majo|rKill, b|
|00001b00| 45 6e 65 6d 79 4b 69 6c | 6c 29 3b 0d 0a 0d 0a 09 |EnemyKil|l);.....|
|00001b10| 09 69 66 20 28 20 62 45 | 6e 65 6d 79 4b 69 6c 6c |.if ( bE|nemyKill|
|00001b20| 20 29 0d 0a 09 09 09 44 | 61 6d 61 67 65 54 79 70 | ).....D|amageTyp|
|00001b30| 65 2e 73 74 61 74 69 63 | 2e 53 63 6f 72 65 4b 69 |e.static|.ScoreKi|
|00001b40| 6c 6c 28 4b 69 6c 6c 65 | 72 2c 20 4b 69 6c 6c 65 |ll(Kille|r, Kille|
|00001b50| 64 29 3b 0d 0a 0d 0a 09 | 09 69 66 20 28 20 21 62 |d);.....|.if ( !b|
|00001b60| 46 69 72 73 74 42 6c 6f | 6f 64 20 26 26 20 28 4b |FirstBlo|od && (K|
|00001b70| 69 6c 6c 65 72 20 21 3d | 20 4b 69 6c 6c 65 64 29 |iller !=| Killed)|
|00001b80| 20 26 26 20 62 45 6e 65 | 6d 79 4b 69 6c 6c 20 29 | && bEne|myKill )|
|00001b90| 0d 0a 09 09 7b 0d 0a 09 | 09 09 4b 69 6c 6c 65 72 |....{...|..Killer|
|00001ba0| 2e 41 77 61 72 64 41 64 | 72 65 6e 61 6c 69 6e 65 |.AwardAd|renaline|
|00001bb0| 28 41 44 52 5f 4d 61 6a | 6f 72 4b 69 6c 6c 29 3b |(ADR_Maj|orKill);|
|00001bc0| 0d 0a 09 09 09 62 46 69 | 72 73 74 42 6c 6f 6f 64 |.....bFi|rstBlood|
|00001bd0| 20 3d 20 54 72 75 65 3b | 0d 0a 09 09 09 69 66 20 | = True;|.....if |
|00001be0| 28 20 54 65 61 6d 50 6c | 61 79 65 72 52 65 70 6c |( TeamPl|ayerRepl|
|00001bf0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 28 4b 69 6c 6c |icationI|nfo(Kill|
|00001c00| 65 72 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |er.Playe|rReplica|
|00001c10| 74 69 6f 6e 49 6e 66 6f | 29 20 21 3d 20 4e 6f 6e |tionInfo|) != Non|
|00001c20| 65 20 29 0d 0a 09 09 09 | 09 54 65 61 6d 50 6c 61 |e ).....|.TeamPla|
|00001c30| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00001c40| 66 6f 28 4b 69 6c 6c 65 | 72 2e 50 6c 61 79 65 72 |fo(Kille|r.Player|
|00001c50| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 29 |Replicat|ionInfo)|
|00001c60| 2e 62 46 69 72 73 74 42 | 6c 6f 6f 64 20 3d 20 74 |.bFirstB|lood = t|
|00001c70| 72 75 65 3b 0d 0a 09 09 | 09 42 72 6f 61 64 63 61 |rue;....|.Broadca|
|00001c80| 73 74 4c 6f 63 61 6c 69 | 7a 65 64 4d 65 73 73 61 |stLocali|zedMessa|
|00001c90| 67 65 28 20 63 6c 61 73 | 73 27 46 69 72 73 74 42 |ge( clas|s'FirstB|
|00001ca0| 6c 6f 6f 64 4d 65 73 73 | 61 67 65 27 2c 20 30 2c |loodMess|age', 0,|
|00001cb0| 20 4b 69 6c 6c 65 72 2e | 50 6c 61 79 65 72 52 65 | Killer.|PlayerRe|
|00001cc0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 20 29 3b |plicatio|nInfo );|
|00001cd0| 0d 0a 09 09 09 53 70 65 | 63 69 61 6c 45 76 65 6e |.....Spe|cialEven|
|00001ce0| 74 28 4b 69 6c 6c 65 72 | 2e 50 6c 61 79 65 72 52 |t(Killer|.PlayerR|
|00001cf0| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2c 22 |eplicati|onInfo,"|
|00001d00| 66 69 72 73 74 5f 62 6c | 6f 6f 64 22 29 3b 0d 0a |first_bl|ood");..|
|00001d10| 09 09 7d 0d 0a 09 09 69 | 66 20 28 20 4b 69 6c 6c |..}....i|f ( Kill|
|00001d20| 65 72 20 3d 3d 20 4b 69 | 6c 6c 65 64 20 29 0d 0a |er == Ki|lled )..|
|00001d30| 09 09 09 4b 69 6c 6c 65 | 72 2e 41 77 61 72 64 41 |...Kille|r.AwardA|
|00001d40| 64 72 65 6e 61 6c 69 6e | 65 28 41 44 52 5f 4d 69 |drenalin|e(ADR_Mi|
|00001d50| 6e 6f 72 45 72 72 6f 72 | 29 3b 0d 0a 09 09 65 6c |norError|);....el|
|00001d60| 73 65 20 69 66 20 28 20 | 62 54 65 61 6d 47 61 6d |se if ( |bTeamGam|
|00001d70| 65 20 26 26 20 28 4b 69 | 6c 6c 65 64 2e 50 6c 61 |e && (Ki|lled.Pla|
|00001d80| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00001d90| 66 6f 2e 54 65 61 6d 20 | 3d 3d 20 4b 69 6c 6c 65 |fo.Team |== Kille|
|00001da0| 72 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |r.Player|Replicat|
|00001db0| 69 6f 6e 49 6e 66 6f 2e | 54 65 61 6d 29 20 29 0d |ionInfo.|Team) ).|
|00001dc0| 0a 09 09 09 4b 69 6c 6c | 65 72 2e 41 77 61 72 64 |....Kill|er.Award|
|00001dd0| 41 64 72 65 6e 61 6c 69 | 6e 65 28 41 44 52 5f 4b |Adrenali|ne(ADR_K|
|00001de0| 69 6c 6c 54 65 61 6d 4d | 61 74 65 29 3b 0d 0a 09 |illTeamM|ate);...|
|00001df0| 09 65 6c 73 65 0d 0a 09 | 09 7b 0d 0a 09 09 09 4b |.else...|.{.....K|
|00001e00| 69 6c 6c 65 72 2e 41 77 | 61 72 64 41 64 72 65 6e |iller.Aw|ardAdren|
|00001e10| 61 6c 69 6e 65 28 41 44 | 52 5f 4b 69 6c 6c 29 3b |aline(AD|R_Kill);|
|00001e20| 0d 0a 09 09 09 69 66 20 | 28 20 4b 69 6c 6c 65 72 |.....if |( Killer|
|00001e30| 2e 50 61 77 6e 20 21 3d | 20 4e 6f 6e 65 20 29 0d |.Pawn !=| None ).|
|00001e40| 0a 09 09 09 7b 0d 0a 09 | 09 09 09 4b 69 6c 6c 65 |....{...|...Kille|
|00001e50| 72 2e 50 61 77 6e 2e 49 | 6e 63 72 65 6d 65 6e 74 |r.Pawn.I|ncrement|
|00001e60| 53 70 72 65 65 28 29 3b | 0d 0a 09 09 09 09 69 66 |Spree();|......if|
|00001e70| 20 28 20 4b 69 6c 6c 65 | 72 2e 50 61 77 6e 2e 47 | ( Kille|r.Pawn.G|
|00001e80| 65 74 53 70 72 65 65 28 | 29 20 3e 20 34 20 29 0d |etSpree(|) > 4 ).|
|00001e90| 0a 09 09 09 09 09 4e 6f | 74 69 66 79 53 70 72 65 |......No|tifySpre|
|00001ea0| 65 28 4b 69 6c 6c 65 72 | 2c 20 4b 69 6c 6c 65 72 |e(Killer|, Killer|
|00001eb0| 2e 50 61 77 6e 2e 47 65 | 74 53 70 72 65 65 28 29 |.Pawn.Ge|tSpree()|
|00001ec0| 29 3b 0d 0a 09 09 09 7d | 0d 0a 09 09 7d 0d 0a 09 |);.....}|....}...|
|00001ed0| 7d 0d 0a 0d 0a 09 2f 2f | 20 56 65 68 69 63 6c 65 |}.....//| Vehicle|
|00001ee0| 20 53 63 6f 72 65 20 4b | 69 6c 6c 0d 0a 09 69 66 | Score K|ill...if|
|00001ef0| 20 28 20 4b 69 6c 6c 65 | 72 20 21 3d 20 4e 6f 6e | ( Kille|r != Non|
|00001f00| 65 20 26 26 20 4b 69 6c | 6c 65 72 2e 62 49 73 50 |e && Kil|ler.bIsP|
|00001f10| 6c 61 79 65 72 20 26 26 | 20 4b 69 6c 6c 65 72 2e |layer &&| Killer.|
|00001f20| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00001f30| 6e 49 6e 66 6f 20 21 3d | 20 4e 6f 6e 65 20 26 26 |nInfo !=| None &&|
|00001f40| 20 56 65 68 69 63 6c 65 | 28 4b 69 6c 6c 65 64 50 | Vehicle|(KilledP|
|00001f50| 61 77 6e 29 20 21 3d 20 | 4e 6f 6e 65 0d 0a 09 20 |awn) != |None... |
|00001f60| 20 20 20 20 26 26 20 28 | 4b 69 6c 6c 65 64 20 21 | && (|Killed !|
|00001f70| 3d 20 4e 6f 6e 65 20 7c | 7c 20 56 65 68 69 63 6c |= None ||| Vehicl|
|00001f80| 65 28 4b 69 6c 6c 65 64 | 50 61 77 6e 29 2e 62 45 |e(Killed|Pawn).bE|
|00001f90| 6a 65 63 74 44 72 69 76 | 65 72 29 20 26 26 20 56 |jectDriv|er) && V|
|00001fa0| 65 68 69 63 6c 65 28 4b | 69 6c 6c 65 64 50 61 77 |ehicle(K|illedPaw|
|00001fb0| 6e 29 2e 49 6e 64 65 70 | 65 6e 64 65 6e 74 56 65 |n).Indep|endentVe|
|00001fc0| 68 69 63 6c 65 28 29 20 | 29 0d 0a 09 7b 0d 0a 09 |hicle() |)...{...|
|00001fd0| 09 53 63 6f 72 65 20 3d | 20 56 65 68 69 63 6c 65 |.Score =| Vehicle|
|00001fe0| 53 63 6f 72 65 4b 69 6c | 6c 28 20 4b 69 6c 6c 65 |ScoreKil|l( Kille|
|00001ff0| 72 2c 20 4b 69 6c 6c 65 | 64 2c 20 56 65 68 69 63 |r, Kille|d, Vehic|
|00002000| 6c 65 28 4b 69 6c 6c 65 | 64 50 61 77 6e 29 2c 20 |le(Kille|dPawn), |
|00002010| 4b 69 6c 6c 49 6e 66 6f | 20 29 3b 0d 0a 09 09 69 |KillInfo| );....i|
|00002020| 66 20 28 20 53 63 6f 72 | 65 20 3e 20 30 20 29 0d |f ( Scor|e > 0 ).|
|00002030| 0a 09 09 7b 0d 0a 09 09 | 09 2f 2a 20 69 66 20 64 |...{....|./* if d|
|00002040| 72 69 76 65 72 28 73 29 | 20 68 61 76 65 20 62 65 |river(s)| have be|
|00002050| 65 6e 20 65 6a 65 63 74 | 65 64 20 66 72 6f 6d 20 |en eject|ed from |
|00002060| 76 65 68 69 63 6c 65 2c | 20 4b 69 6c 6c 65 64 20 |vehicle,| Killed |
|00002070| 3d 3d 20 4e 6f 6e 65 20 | 2a 2f 0d 0a 09 09 09 69 |== None |*/.....i|
|00002080| 66 20 28 20 4b 69 6c 6c | 65 64 20 21 3d 20 4e 6f |f ( Kill|ed != No|
|00002090| 6e 65 20 29 0d 0a 09 09 | 09 7b 0d 0a 09 09 09 09 |ne )....|.{......|
|000020a0| 69 66 20 28 20 21 62 45 | 6e 65 6d 79 4b 69 6c 6c |if ( !bE|nemyKill|
|000020b0| 20 26 26 20 4b 69 6c 6c | 65 64 2e 50 6c 61 79 65 | && Kill|ed.Playe|
|000020c0| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|000020d0| 20 21 3d 20 4e 6f 6e 65 | 20 29 0d 0a 09 09 09 09 | != None| )......|
|000020e0| 7b 0d 0a 09 09 09 09 09 | 53 63 6f 72 65 09 09 3d |{.......|Score..=|
|000020f0| 20 2d 53 63 6f 72 65 3b | 09 09 09 09 09 2f 2f 20 | -Score;|.....// |
|00002100| 73 75 62 73 74 72 61 63 | 74 20 73 63 6f 72 65 20 |substrac|t score |
|00002110| 69 66 20 74 65 61 6d 20 | 6b 69 6c 6c 2e 0d 0a 09 |if team |kill....|
|00002120| 09 09 09 09 4b 69 6c 6c | 49 6e 66 6f 09 3d 20 22 |....Kill|Info.= "|
|00002130| 54 65 61 6d 4b 69 6c 6c | 5f 22 20 24 20 4b 69 6c |TeamKill|_" $ Kil|
|00002140| 6c 49 6e 66 6f 3b 0d 0a | 09 09 09 09 7d 0d 0a 09 |lInfo;..|....}...|
|00002150| 09 09 7d 0d 0a 0d 0a 09 | 09 09 69 66 20 28 20 53 |..}.....|..if ( S|
|00002160| 63 6f 72 65 20 21 3d 20 | 30 20 29 0d 0a 09 09 09 |core != |0 ).....|
|00002170| 7b 0d 0a 09 09 09 09 4b | 69 6c 6c 65 72 2e 50 6c |{......K|iller.Pl|
|00002180| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00002190| 6e 66 6f 2e 53 63 6f 72 | 65 20 2b 3d 20 53 63 6f |nfo.Scor|e += Sco|
|000021a0| 72 65 3b 0d 0a 09 09 09 | 09 4b 69 6c 6c 65 72 2e |re;.....|.Killer.|
|000021b0| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|000021c0| 6e 49 6e 66 6f 2e 4e 65 | 74 55 70 64 61 74 65 54 |nInfo.Ne|tUpdateT|
|000021d0| 69 6d 65 09 3d 20 4c 65 | 76 65 6c 2e 54 69 6d 65 |ime.= Le|vel.Time|
|000021e0| 53 65 63 6f 6e 64 73 20 | 2d 20 31 3b 0d 0a 09 09 |Seconds |- 1;....|
|000021f0| 09 09 53 63 6f 72 65 45 | 76 65 6e 74 28 4b 69 6c |..ScoreE|vent(Kil|
|00002200| 6c 65 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |ler.Play|erReplic|
|00002210| 61 74 69 6f 6e 49 6e 66 | 6f 2c 20 53 63 6f 72 65 |ationInf|o, Score|
|00002220| 2c 20 4b 69 6c 6c 49 6e | 66 6f 29 3b 0d 0a 09 09 |, KillIn|fo);....|
|00002230| 09 7d 0d 0a 09 09 7d 0d | 0a 09 7d 0d 0a 0d 0a 20 |.}....}.|..}.... |
|00002240| 20 20 20 73 75 70 65 72 | 2e 4b 69 6c 6c 65 64 28 | super|.Killed(|
|00002250| 4b 69 6c 6c 65 72 2c 20 | 4b 69 6c 6c 65 64 2c 20 |Killer, |Killed, |
|00002260| 4b 69 6c 6c 65 64 50 61 | 77 6e 2c 20 64 61 6d 61 |KilledPa|wn, dama|
|00002270| 67 65 54 79 70 65 29 3b | 0d 0a 7d 0d 0a 0d 0a 2f |geType);|..}..../|
|00002280| 2a 20 73 70 65 63 69 61 | 6c 20 73 63 6f 72 65 6b |* specia|l scorek|
|00002290| 69 6c 6c 20 66 75 6e 63 | 74 69 6f 6e 20 66 6f 72 |ill func|tion for|
|000022a0| 20 76 65 68 69 63 6c 65 | 73 0d 0a 20 4e 6f 74 65 | vehicle|s.. Note|
|000022b0| 20 74 68 61 74 20 69 74 | 20 69 73 20 63 61 6c 6c | that it| is call|
|000022c0| 65 64 20 6f 6e 6c 79 20 | 6f 6e 63 65 20 70 65 72 |ed only |once per|
|000022d0| 20 69 6e 64 65 70 65 6e | 64 61 6e 74 20 76 65 68 | indepen|dant veh|
|000022e0| 69 63 6c 65 20 28 69 65 | 20 6e 6f 74 20 66 6f 72 |icle (ie| not for|
|000022f0| 20 61 74 74 61 63 68 65 | 64 20 74 75 72 72 65 74 | attache|d turret|
|00002300| 73 20 73 75 62 63 6c 61 | 73 73 29 0d 0a 20 49 66 |s subcla|ss).. If|
|00002310| 20 61 20 70 6c 61 79 65 | 72 20 69 73 20 6b 69 6c | a playe|r is kil|
|00002320| 6c 65 64 20 69 6e 73 69 | 64 65 2c 20 6e 6f 72 6d |led insi|de, norm|
|00002330| 61 6c 20 73 63 6f 72 65 | 6b 69 6c 6c 20 77 69 6c |al score|kill wil|
|00002340| 6c 20 61 6c 73 6f 20 62 | 65 20 61 70 70 6c 69 65 |l also b|e applie|
|00002350| 64 20 28 73 6f 20 65 78 | 74 72 61 20 70 6f 69 6e |d (so ex|tra poin|
|00002360| 74 73 20 66 6f 72 20 6b | 69 6c 6c 65 64 20 70 6c |ts for k|illed pl|
|00002370| 61 79 65 72 73 29 0d 0a | 20 2a 2f 0d 0a 66 75 6e |ayers)..| */..fun|
|00002380| 63 74 69 6f 6e 20 69 6e | 74 20 56 65 68 69 63 6c |ction in|t Vehicl|
|00002390| 65 53 63 6f 72 65 4b 69 | 6c 6c 28 20 43 6f 6e 74 |eScoreKi|ll( Cont|
|000023a0| 72 6f 6c 6c 65 72 20 4b | 69 6c 6c 65 72 2c 20 43 |roller K|iller, C|
|000023b0| 6f 6e 74 72 6f 6c 6c 65 | 72 20 4b 69 6c 6c 65 64 |ontrolle|r Killed|
|000023c0| 2c 20 56 65 68 69 63 6c | 65 20 44 65 73 74 72 6f |, Vehicl|e Destro|
|000023d0| 79 65 64 56 65 68 69 63 | 6c 65 2c 20 6f 75 74 20 |yedVehic|le, out |
|000023e0| 73 74 72 69 6e 67 20 4b | 69 6c 6c 49 6e 66 6f 20 |string K|illInfo |
|000023f0| 29 0d 0a 7b 0d 0a 09 2f | 2f 6c 6f 67 28 22 56 65 |)..{.../|/log("Ve|
|00002400| 68 69 63 6c 65 53 63 6f | 72 65 4b 69 6c 6c 20 4b |hicleSco|reKill K|
|00002410| 69 6c 6c 65 72 3a 22 20 | 40 20 4b 69 6c 6c 65 72 |iller:" |@ Killer|
|00002420| 2e 47 65 74 48 75 6d 61 | 6e 52 65 61 64 61 62 6c |.GetHuma|nReadabl|
|00002430| 65 4e 61 6d 65 28 29 20 | 40 20 22 4b 69 6c 6c 65 |eName() |@ "Kille|
|00002440| 64 3a 22 20 40 20 4b 69 | 6c 6c 65 64 20 40 20 22 |d:" @ Ki|lled @ "|
|00002450| 44 65 73 74 72 6f 79 65 | 64 56 65 68 69 63 6c 65 |Destroye|dVehicle|
|00002460| 3a 22 20 40 20 44 65 73 | 74 72 6f 79 65 64 56 65 |:" @ Des|troyedVe|
|00002470| 68 69 63 6c 65 20 29 3b | 0d 0a 0d 0a 09 2f 2f 20 |hicle );|.....// |
|00002480| 42 72 6f 61 64 63 61 73 | 74 20 76 65 68 69 63 6c |Broadcas|t vehicl|
|00002490| 65 20 6b 69 6c 6c 20 6d | 65 73 73 61 67 65 20 69 |e kill m|essage i|
|000024a0| 66 20 6b 69 6c 6c 65 64 | 20 6e 6f 20 70 6c 61 79 |f killed| no play|
|000024b0| 65 72 20 69 6e 73 69 64 | 65 0d 0a 09 69 66 20 28 |er insid|e...if (|
|000024c0| 20 4b 69 6c 6c 65 64 20 | 3d 3d 20 4e 6f 6e 65 20 | Killed |== None |
|000024d0| 26 26 20 50 6c 61 79 65 | 72 43 6f 6e 74 72 6f 6c |&& Playe|rControl|
|000024e0| 6c 65 72 28 4b 69 6c 6c | 65 72 29 20 21 3d 20 4e |ler(Kill|er) != N|
|000024f0| 6f 6e 65 20 29 0d 0a 09 | 09 50 6c 61 79 65 72 43 |one )...|.PlayerC|
|00002500| 6f 6e 74 72 6f 6c 6c 65 | 72 28 4b 69 6c 6c 65 72 |ontrolle|r(Killer|
|00002510| 29 2e 54 65 61 6d 4d 65 | 73 73 61 67 65 28 20 4b |).TeamMe|ssage( K|
|00002520| 69 6c 6c 65 72 2e 50 6c | 61 79 65 72 52 65 70 6c |iller.Pl|ayerRepl|
|00002530| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2c 20 59 6f 75 |icationI|nfo, You|
|00002540| 44 65 73 74 72 6f 79 65 | 64 40 44 65 73 74 72 6f |Destroye|d@Destro|
|00002550| 79 65 64 56 65 68 69 63 | 6c 65 2e 56 65 68 69 63 |yedVehic|le.Vehic|
|00002560| 6c 65 4e 61 6d 65 53 74 | 72 69 6e 67 40 59 6f 75 |leNameSt|ring@You|
|00002570| 44 65 73 74 72 6f 79 65 | 64 54 72 61 69 6c 65 72 |Destroye|dTrailer|
|00002580| 2c 20 27 43 72 69 74 69 | 63 61 6c 45 76 65 6e 74 |, 'Criti|calEvent|
|00002590| 27 20 29 3b 0d 0a 0d 0a | 09 69 66 20 28 20 4b 69 |' );....|.if ( Ki|
|000025a0| 6c 6c 49 6e 66 6f 20 3d | 3d 20 22 22 20 29 0d 0a |llInfo =|= "" )..|
|000025b0| 09 7b 0d 0a 09 09 69 66 | 20 28 20 44 65 73 74 72 |.{....if| ( Destr|
|000025c0| 6f 79 65 64 56 65 68 69 | 63 6c 65 2e 62 4b 65 79 |oyedVehi|cle.bKey|
|000025d0| 56 65 68 69 63 6c 65 20 | 7c 7c 20 44 65 73 74 72 |Vehicle ||| Destr|
|000025e0| 6f 79 65 64 56 65 68 69 | 63 6c 65 2e 62 48 69 67 |oyedVehi|cle.bHig|
|000025f0| 68 53 63 6f 72 65 4b 69 | 6c 6c 20 29 0d 0a 09 09 |hScoreKi|ll )....|
|00002600| 7b 0d 0a 09 09 09 4b 69 | 6c 6c 49 6e 66 6f 20 3d |{.....Ki|llInfo =|
|00002610| 20 22 64 65 73 74 72 6f | 79 65 64 5f 6b 65 79 5f | "destro|yed_key_|
|00002620| 76 65 68 69 63 6c 65 22 | 3b 0d 0a 09 09 09 72 65 |vehicle"|;.....re|
|00002630| 74 75 72 6e 20 35 3b 0d | 0a 09 09 7d 0d 0a 09 7d |turn 5;.|...}...}|
|00002640| 0d 0a 0d 0a 09 72 65 74 | 75 72 6e 20 30 3b 0d 0a |.....ret|urn 0;..|
|00002650| 7d 0d 0a 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |}......f|unction |
|00002660| 49 6e 69 74 4c 6f 67 67 | 69 6e 67 28 29 0d 0a 7b |InitLogg|ing()..{|
|00002670| 0d 0a 09 53 75 70 65 72 | 2e 49 6e 69 74 4c 6f 67 |...Super|.InitLog|
|00002680| 67 69 6e 67 28 29 3b 0d | 0a 7d 0d 0a 0d 0a 73 74 |ging();.|.}....st|
|00002690| 61 74 69 63 20 66 75 6e | 63 74 69 6f 6e 20 62 6f |atic fun|ction bo|
|000026a0| 6f 6c 20 4e 65 76 65 72 | 41 6c 6c 6f 77 54 72 61 |ol Never|AllowTra|
|000026b0| 6e 73 6c 6f 63 28 29 0d | 0a 7b 0d 0a 09 72 65 74 |nsloc().|.{...ret|
|000026c0| 75 72 6e 20 66 61 6c 73 | 65 3b 0d 0a 7d 0d 0a 0d |urn fals|e;..}...|
|000026d0| 0a 66 75 6e 63 74 69 6f | 6e 20 62 6f 6f 6c 20 41 |.functio|n bool A|
|000026e0| 6c 6c 6f 77 54 72 61 6e | 73 6c 6f 63 28 29 0d 0a |llowTran|sloc()..|
|000026f0| 7b 0d 0a 09 72 65 74 75 | 72 6e 20 62 41 6c 6c 6f |{...retu|rn bAllo|
|00002700| 77 54 72 61 6e 73 20 7c | 7c 20 62 4f 76 65 72 72 |wTrans ||| bOverr|
|00002710| 69 64 65 54 72 61 6e 73 | 6c 6f 63 61 74 6f 72 3b |ideTrans|locator;|
|00002720| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00002730| 41 64 64 47 61 6d 65 53 | 70 65 63 69 66 69 63 49 |AddGameS|pecificI|
|00002740| 6e 76 65 6e 74 6f 72 79 | 28 50 61 77 6e 20 70 29 |nventory|(Pawn p)|
|00002750| 0d 0a 7b 0d 0a 20 20 20 | 20 69 66 20 28 20 41 6c |..{.. | if ( Al|
|00002760| 6c 6f 77 54 72 61 6e 73 | 6c 6f 63 28 29 20 29 0d |lowTrans|loc() ).|
|00002770| 0a 20 20 20 20 20 20 20 | 20 70 2e 43 72 65 61 74 |. | p.Creat|
|00002780| 65 49 6e 76 65 6e 74 6f | 72 79 28 22 58 57 65 61 |eInvento|ry("XWea|
|00002790| 70 6f 6e 73 2e 54 72 61 | 6e 73 4c 61 75 6e 63 68 |pons.Tra|nsLaunch|
|000027a0| 65 72 22 29 3b 0d 0a 20 | 20 20 20 53 75 70 65 72 |er");.. | Super|
|000027b0| 2e 41 64 64 47 61 6d 65 | 53 70 65 63 69 66 69 63 |.AddGame|Specific|
|000027c0| 49 6e 76 65 6e 74 6f 72 | 79 28 70 29 3b 0d 0a 7d |Inventor|y(p);..}|
|000027d0| 0d 0a 0d 0a 2f 2f 20 50 | 61 72 73 65 20 6f 70 74 |....// P|arse opt|
|000027e0| 69 6f 6e 73 20 66 6f 72 | 20 74 68 69 73 20 67 61 |ions for| this ga|
|000027f0| 6d 65 2e 2e 2e 0d 0a 65 | 76 65 6e 74 20 49 6e 69 |me.....e|vent Ini|
|00002800| 74 47 61 6d 65 28 20 73 | 74 72 69 6e 67 20 4f 70 |tGame( s|tring Op|
|00002810| 74 69 6f 6e 73 2c 20 6f | 75 74 20 73 74 72 69 6e |tions, o|ut strin|
|00002820| 67 20 45 72 72 6f 72 20 | 29 0d 0a 7b 0d 0a 20 20 |g Error |)..{.. |
|00002830| 20 20 6c 6f 63 61 6c 20 | 73 74 72 69 6e 67 20 49 | local |string I|
|00002840| 6e 4f 70 74 3b 0d 0a 09 | 6c 6f 63 61 6c 20 69 6e |nOpt;...|local in|
|00002850| 74 20 4c 65 76 65 6c 4d | 69 6e 50 6c 61 79 65 72 |t LevelM|inPlayer|
|00002860| 73 3b 0d 0a 0d 0a 20 20 | 20 20 2f 2f 20 66 69 6e |s;.... | // fin|
|00002870| 64 20 4c 65 76 65 6c 27 | 73 20 4c 65 76 65 6c 47 |d Level'|s LevelG|
|00002880| 61 6d 65 52 75 6c 65 73 | 20 61 63 74 6f 72 20 69 |ameRules| actor i|
|00002890| 66 20 69 74 20 65 78 69 | 73 74 73 0d 0a 20 20 20 |f it exi|sts.. |
|000028a0| 20 46 6f 72 45 61 63 68 | 20 41 6c 6c 41 63 74 6f | ForEach| AllActo|
|000028b0| 72 73 28 63 6c 61 73 73 | 27 4c 65 76 65 6c 47 61 |rs(class|'LevelGa|
|000028c0| 6d 65 52 75 6c 65 73 27 | 2c 20 4c 65 76 65 6c 52 |meRules'|, LevelR|
|000028d0| 75 6c 65 73 29 0d 0a 20 | 20 20 20 20 20 20 20 62 |ules).. | b|
|000028e0| 72 65 61 6b 3b 0d 0a 20 | 20 20 20 69 66 20 28 20 |reak;.. | if ( |
|000028f0| 4c 65 76 65 6c 52 75 6c | 65 73 20 21 3d 20 4e 6f |LevelRul|es != No|
|00002900| 6e 65 20 29 0d 0a 09 09 | 4c 65 76 65 6c 52 75 6c |ne )....|LevelRul|
|00002910| 65 73 2e 55 70 64 61 74 | 65 47 61 6d 65 28 73 65 |es.Updat|eGame(se|
|00002920| 6c 66 29 3b 0d 0a 0d 0a | 20 20 20 20 53 75 70 65 |lf);....| Supe|
|00002930| 72 2e 49 6e 69 74 47 61 | 6d 65 28 4f 70 74 69 6f |r.InitGa|me(Optio|
|00002940| 6e 73 2c 20 45 72 72 6f | 72 29 3b 0d 0a 0d 0a 09 |ns, Erro|r);.....|
|00002950| 69 66 20 28 20 28 43 75 | 72 72 65 6e 74 47 61 6d |if ( (Cu|rrentGam|
|00002960| 65 50 72 6f 66 69 6c 65 | 20 3d 3d 20 4e 6f 6e 65 |eProfile| == None|
|00002970| 29 20 26 26 20 28 4c 65 | 66 74 28 73 74 72 69 6e |) && (Le|ft(strin|
|00002980| 67 28 6c 65 76 65 6c 29 | 2c 33 29 20 7e 3d 20 22 |g(level)|,3) ~= "|
|00002990| 54 55 54 22 29 20 29 0d | 0a 09 7b 0d 0a 09 09 69 |TUT") ).|..{....i|
|000029a0| 66 20 28 20 47 6f 61 6c | 53 63 6f 72 65 20 21 3d |f ( Goal|Score !=|
|000029b0| 20 30 20 29 0d 0a 09 09 | 09 47 6f 61 6c 53 63 6f | 0 )....|.GoalSco|
|000029c0| 72 65 20 3d 20 4d 61 78 | 28 47 6f 61 6c 53 63 6f |re = Max|(GoalSco|
|000029d0| 72 65 2c 20 33 29 3b 0d | 0a 09 09 69 66 20 28 20 |re, 3);.|...if ( |
|000029e0| 28 54 69 6d 65 4c 69 6d | 69 74 20 21 3d 20 30 29 |(TimeLim|it != 0)|
|000029f0| 20 26 26 20 28 54 69 6d | 65 4c 69 6d 69 74 20 3c | && (Tim|eLimit <|
|00002a00| 20 31 30 29 20 29 0d 0a | 09 09 09 54 69 6d 65 4c | 10) )..|...TimeL|
|00002a10| 69 6d 69 74 20 3d 20 31 | 30 3b 0d 0a 20 20 20 20 |imit = 1|0;.. |
|00002a20| 09 52 65 6d 61 69 6e 69 | 6e 67 54 69 6d 65 20 3d |.Remaini|ngTime =|
|00002a30| 20 36 30 20 2a 20 54 69 | 6d 65 4c 69 6d 69 74 3b | 60 * Ti|meLimit;|
|00002a40| 0d 0a 09 09 62 54 6f 75 | 72 6e 61 6d 65 6e 74 20 |....bTou|rnament |
|00002a50| 3d 20 66 61 6c 73 65 3b | 0d 0a 09 09 62 51 75 69 |= false;|....bQui|
|00002a60| 63 6b 53 74 61 72 74 20 | 3d 20 74 72 75 65 3b 0d |ckStart |= true;.|
|00002a70| 0a 09 09 72 65 74 75 72 | 6e 3b 0d 0a 09 7d 0d 0a |...retur|n;...}..|
|00002a80| 0d 0a 20 20 20 20 53 65 | 74 47 61 6d 65 53 70 65 |.. Se|tGameSpe|
|00002a90| 65 64 28 47 61 6d 65 53 | 70 65 65 64 29 3b 0d 0a |ed(GameS|peed);..|
|00002aa0| 20 20 20 20 4d 61 78 4c | 69 76 65 73 20 3d 20 4d | MaxL|ives = M|
|00002ab0| 61 78 28 30 2c 47 65 74 | 49 6e 74 4f 70 74 69 6f |ax(0,Get|IntOptio|
|00002ac0| 6e 28 20 4f 70 74 69 6f | 6e 73 2c 20 22 4d 61 78 |n( Optio|ns, "Max|
|00002ad0| 4c 69 76 65 73 22 2c 20 | 4d 61 78 4c 69 76 65 73 |Lives", |MaxLives|
|00002ae0| 20 29 29 3b 0d 0a 20 20 | 20 20 69 66 20 28 20 4d | ));.. | if ( M|
|00002af0| 61 78 4c 69 76 65 73 20 | 3e 20 30 20 29 0d 0a 09 |axLives |> 0 )...|
|00002b00| 09 62 46 6f 72 63 65 52 | 65 73 70 61 77 6e 20 3d |.bForceR|espawn =|
|00002b10| 20 74 72 75 65 3b 0d 0a | 09 65 6c 73 65 20 69 66 | true;..|.else if|
|00002b20| 20 28 20 44 65 66 61 75 | 6c 74 4d 61 78 4c 69 76 | ( Defau|ltMaxLiv|
|00002b30| 65 73 20 3e 20 30 20 29 | 0d 0a 09 7b 0d 0a 09 09 |es > 0 )|...{....|
|00002b40| 62 46 6f 72 63 65 52 65 | 73 70 61 77 6e 20 3d 20 |bForceRe|spawn = |
|00002b50| 74 72 75 65 3b 0d 0a 09 | 09 4d 61 78 4c 69 76 65 |true;...|.MaxLive|
|00002b60| 73 20 3d 20 44 65 66 61 | 75 6c 74 4d 61 78 4c 69 |s = Defa|ultMaxLi|
|00002b70| 76 65 73 3b 0d 0a 09 7d | 0d 0a 20 20 20 20 47 6f |ves;...}|.. Go|
|00002b80| 61 6c 53 63 6f 72 65 20 | 3d 20 4d 61 78 28 30 2c |alScore |= Max(0,|
|00002b90| 47 65 74 49 6e 74 4f 70 | 74 69 6f 6e 28 20 4f 70 |GetIntOp|tion( Op|
|00002ba0| 74 69 6f 6e 73 2c 20 22 | 47 6f 61 6c 53 63 6f 72 |tions, "|GoalScor|
|00002bb0| 65 22 2c 20 47 6f 61 6c | 53 63 6f 72 65 20 29 29 |e", Goal|Score ))|
|00002bc0| 3b 0d 0a 20 20 20 20 54 | 69 6d 65 4c 69 6d 69 74 |;.. T|imeLimit|
|00002bd0| 20 3d 20 4d 61 78 28 30 | 2c 47 65 74 49 6e 74 4f | = Max(0|,GetIntO|
|00002be0| 70 74 69 6f 6e 28 20 4f | 70 74 69 6f 6e 73 2c 20 |ption( O|ptions, |
|00002bf0| 22 54 69 6d 65 4c 69 6d | 69 74 22 2c 20 54 69 6d |"TimeLim|it", Tim|
|00002c00| 65 4c 69 6d 69 74 20 29 | 29 3b 0d 0a 09 69 66 20 |eLimit )|);...if |
|00002c10| 28 20 44 65 66 61 75 6c | 74 4d 61 78 4c 69 76 65 |( Defaul|tMaxLive|
|00002c20| 73 20 3e 20 30 20 29 0d | 0a 09 09 54 69 6d 65 4c |s > 0 ).|...TimeL|
|00002c30| 69 6d 69 74 20 3d 20 30 | 3b 0d 0a 09 49 6e 4f 70 |imit = 0|;...InOp|
|00002c40| 74 20 3d 20 50 61 72 73 | 65 4f 70 74 69 6f 6e 28 |t = Pars|eOption(|
|00002c50| 20 4f 70 74 69 6f 6e 73 | 2c 20 22 54 72 61 6e 73 | Options|, "Trans|
|00002c60| 6c 6f 63 61 74 6f 72 22 | 29 3b 0d 0a 20 20 20 20 |locator"|);.. |
|00002c70| 2f 2f 20 46 6f 72 20 69 | 6e 73 74 61 6e 74 20 61 |// For i|nstant a|
|00002c80| 63 74 69 6f 6e 2c 20 75 | 73 65 20 6d 61 70 20 64 |ction, u|se map d|
|00002c90| 65 66 61 75 6c 74 73 0d | 0a 20 20 20 20 69 66 20 |efaults.|. if |
|00002ca0| 28 20 49 6e 4f 70 74 20 | 21 3d 20 22 22 20 29 0d |( InOpt |!= "" ).|
|00002cb0| 0a 20 20 20 20 7b 0d 0a | 20 20 20 20 20 20 20 20 |. {..| |
|00002cc0| 6c 6f 67 28 22 54 72 61 | 6e 73 6c 6f 63 61 74 6f |log("Tra|nslocato|
|00002cd0| 72 73 3a 20 22 24 62 6f | 6f 6c 28 49 6e 4f 70 74 |rs: "$bo|ol(InOpt|
|00002ce0| 29 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 62 41 6c |));.. | bAl|
|00002cf0| 6c 6f 77 54 72 61 6e 73 | 20 3d 20 62 6f 6f 6c 28 |lowTrans| = bool(|
|00002d00| 49 6e 4f 70 74 29 3b 0d | 0a 20 20 20 20 7d 0d 0a |InOpt);.|. }..|
|00002d10| 20 20 20 20 49 6e 4f 70 | 74 20 3d 20 50 61 72 73 | InOp|t = Pars|
|00002d20| 65 4f 70 74 69 6f 6e 28 | 20 4f 70 74 69 6f 6e 73 |eOption(| Options|
|00002d30| 2c 20 22 62 41 75 74 6f | 4e 75 6d 42 6f 74 73 22 |, "bAuto|NumBots"|
|00002d40| 29 3b 0d 0a 20 20 20 20 | 69 66 20 28 20 49 6e 4f |);.. |if ( InO|
|00002d50| 70 74 20 21 3d 20 22 22 | 20 29 0d 0a 20 20 20 20 |pt != ""| ).. |
|00002d60| 7b 0d 0a 20 20 20 20 20 | 20 20 20 6c 6f 67 28 22 |{.. | log("|
|00002d70| 62 41 75 74 6f 4e 75 6d | 42 6f 74 73 3a 20 22 24 |bAutoNum|Bots: "$|
|00002d80| 62 6f 6f 6c 28 49 6e 4f | 70 74 29 29 3b 0d 0a 20 |bool(InO|pt));.. |
|00002d90| 20 20 20 20 20 20 20 62 | 41 75 74 6f 4e 75 6d 42 | b|AutoNumB|
|00002da0| 6f 74 73 20 3d 20 62 6f | 6f 6c 28 49 6e 4f 70 74 |ots = bo|ol(InOpt|
|00002db0| 29 3b 0d 0a 20 20 20 20 | 7d 0d 0a 20 20 20 20 69 |);.. |}.. i|
|00002dc0| 66 20 28 20 62 54 65 61 | 6d 47 61 6d 65 20 26 26 |f ( bTea|mGame &&|
|00002dd0| 20 28 4c 65 76 65 6c 2e | 4e 65 74 4d 6f 64 65 20 | (Level.|NetMode |
|00002de0| 21 3d 20 4e 4d 5f 53 74 | 61 6e 64 61 6c 6f 6e 65 |!= NM_St|andalone|
|00002df0| 29 20 29 0d 0a 20 20 20 | 20 7b 0d 0a 09 09 49 6e |) ).. | {....In|
|00002e00| 4f 70 74 20 3d 20 50 61 | 72 73 65 4f 70 74 69 6f |Opt = Pa|rseOptio|
|00002e10| 6e 28 20 4f 70 74 69 6f | 6e 73 2c 20 22 56 73 42 |n( Optio|ns, "VsB|
|00002e20| 6f 74 73 22 29 3b 0d 0a | 09 09 69 66 20 28 20 49 |ots");..|..if ( I|
|00002e30| 6e 4f 70 74 20 21 3d 20 | 22 22 20 29 0d 0a 09 09 |nOpt != |"" )....|
|00002e40| 7b 0d 0a 09 09 09 6c 6f | 67 28 22 62 50 6c 61 79 |{.....lo|g("bPlay|
|00002e50| 65 72 73 56 73 42 6f 74 | 73 3a 20 22 24 62 6f 6f |ersVsBot|s: "$boo|
|00002e60| 6c 28 49 6e 4f 70 74 29 | 29 3b 0d 0a 09 09 09 62 |l(InOpt)|);.....b|
|00002e70| 50 6c 61 79 65 72 73 56 | 73 42 6f 74 73 20 3d 20 |PlayersV|sBots = |
|00002e80| 62 6f 6f 6c 28 49 6e 4f | 70 74 29 3b 0d 0a 09 09 |bool(InO|pt);....|
|00002e90| 7d 0d 0a 09 09 69 66 20 | 28 20 62 50 6c 61 79 65 |}....if |( bPlaye|
|00002ea0| 72 73 56 73 42 6f 74 73 | 20 29 0d 0a 09 09 09 62 |rsVsBots| ).....b|
|00002eb0| 41 75 74 6f 4e 75 6d 42 | 6f 74 73 20 3d 20 66 61 |AutoNumB|ots = fa|
|00002ec0| 6c 73 65 3b 0d 0a 09 7d | 0d 0a 20 20 20 20 49 6e |lse;...}|.. In|
|00002ed0| 4f 70 74 20 3d 20 50 61 | 72 73 65 4f 70 74 69 6f |Opt = Pa|rseOptio|
|00002ee0| 6e 28 20 4f 70 74 69 6f | 6e 73 2c 20 22 41 75 74 |n( Optio|ns, "Aut|
|00002ef0| 6f 41 64 6a 75 73 74 22 | 29 3b 0d 0a 20 20 20 20 |oAdjust"|);.. |
|00002f00| 69 66 20 28 20 49 6e 4f | 70 74 20 21 3d 20 22 22 |if ( InO|pt != ""|
|00002f10| 20 29 0d 0a 20 20 20 20 | 7b 0d 0a 20 20 20 20 20 | ).. |{.. |
|00002f20| 20 20 20 62 41 64 6a 75 | 73 74 53 6b 69 6c 6c 20 | bAdju|stSkill |
|00002f30| 3d 20 21 62 54 65 61 6d | 47 61 6d 65 20 26 26 20 |= !bTeam|Game && |
|00002f40| 62 6f 6f 6c 28 49 6e 4f | 70 74 29 3b 0d 0a 20 20 |bool(InO|pt);.. |
|00002f50| 20 20 20 20 20 20 6c 6f | 67 28 22 41 64 6a 75 73 | lo|g("Adjus|
|00002f60| 74 20 73 6b 69 6c 6c 20 | 22 24 62 41 64 6a 75 73 |t skill |"$bAdjus|
|00002f70| 74 53 6b 69 6c 6c 29 3b | 0d 0a 20 20 20 20 7d 0d |tSkill);|.. }.|
|00002f80| 0a 20 20 20 20 49 6e 4f | 70 74 20 3d 20 50 61 72 |. InO|pt = Par|
|00002f90| 73 65 4f 70 74 69 6f 6e | 28 20 4f 70 74 69 6f 6e |seOption|( Option|
|00002fa0| 73 2c 20 22 50 6c 61 79 | 65 72 73 4d 75 73 74 42 |s, "Play|ersMustB|
|00002fb0| 65 52 65 61 64 79 22 29 | 3b 0d 0a 20 20 20 20 69 |eReady")|;.. i|
|00002fc0| 66 20 28 20 49 6e 4f 70 | 74 20 21 3d 20 22 22 20 |f ( InOp|t != "" |
|00002fd0| 29 0d 0a 20 20 20 20 7b | 0d 0a 20 20 20 20 09 6c |).. {|.. .l|
|00002fe0| 6f 67 28 22 50 6c 61 79 | 65 72 4d 75 73 74 42 65 |og("Play|erMustBe|
|00002ff0| 52 65 61 64 79 3a 20 22 | 24 42 6f 6f 6c 28 49 6e |Ready: "|$Bool(In|
|00003000| 4f 70 74 29 29 3b 0d 0a | 20 20 20 20 20 20 20 20 |Opt));..| |
|00003010| 62 50 6c 61 79 65 72 73 | 4d 75 73 74 42 65 52 65 |bPlayers|MustBeRe|
|00003020| 61 64 79 20 3d 20 62 6f | 6f 6c 28 49 6e 4f 70 74 |ady = bo|ol(InOpt|
|00003030| 29 3b 0d 0a 20 20 20 20 | 7d 0d 0a 0d 0a 09 45 6e |);.. |}.....En|
|00003040| 65 6d 79 52 6f 73 74 65 | 72 4e 61 6d 65 20 3d 20 |emyRoste|rName = |
|00003050| 50 61 72 73 65 4f 70 74 | 69 6f 6e 28 20 4f 70 74 |ParseOpt|ion( Opt|
|00003060| 69 6f 6e 73 2c 20 22 44 | 4d 54 65 61 6d 22 29 3b |ions, "D|MTeam");|
|00003070| 0d 0a 09 69 66 20 28 20 | 45 6e 65 6d 79 52 6f 73 |...if ( |EnemyRos|
|00003080| 74 65 72 4e 61 6d 65 20 | 21 3d 20 22 22 20 29 0d |terName |!= "" ).|
|00003090| 0a 09 09 62 43 75 73 74 | 6f 6d 42 6f 74 73 20 3d |...bCust|omBots =|
|000030a0| 20 74 72 75 65 3b 0d 0a | 0d 0a 20 20 20 20 2f 2f | true;..|.. //|
|000030b0| 20 53 50 0d 0a 20 20 20 | 20 69 66 20 28 43 75 72 | SP.. | if (Cur|
|000030c0| 72 65 6e 74 47 61 6d 65 | 50 72 6f 66 69 6c 65 20 |rentGame|Profile |
|000030d0| 21 3d 20 4e 6f 6e 65 29 | 0d 0a 20 20 20 20 7b 0d |!= None)|.. {.|
|000030e0| 0a 09 09 4d 61 78 4c 69 | 76 65 73 20 3d 20 30 3b |...MaxLi|ves = 0;|
|000030f0| 0d 0a 09 09 62 41 6c 6c | 6f 77 54 72 61 6e 73 20 |....bAll|owTrans |
|00003100| 3d 20 64 65 66 61 75 6c | 74 2e 62 44 65 66 61 75 |= defaul|t.bDefau|
|00003110| 6c 74 54 72 61 6e 73 6c | 6f 63 61 74 6f 72 3b 0d |ltTransl|ocator;.|
|00003120| 0a 20 20 20 20 20 20 20 | 20 62 41 64 6a 75 73 74 |. | bAdjust|
|00003130| 53 6b 69 6c 6c 20 3d 20 | 66 61 6c 73 65 3b 0d 0a |Skill = |false;..|
|00003140| 20 20 20 20 7d 0d 0a 0d | 0a 20 20 20 20 69 66 20 | }...|. if |
|00003150| 28 48 61 73 4f 70 74 69 | 6f 6e 28 4f 70 74 69 6f |(HasOpti|on(Optio|
|00003160| 6e 73 2c 20 22 4e 75 6d | 42 6f 74 73 22 29 29 0d |ns, "Num|Bots")).|
|00003170| 0a 20 20 20 20 09 62 41 | 75 74 6f 4e 75 6d 42 6f |. .bA|utoNumBo|
|00003180| 74 73 20 3d 20 66 61 6c | 73 65 3b 0d 0a 20 20 20 |ts = fal|se;.. |
|00003190| 20 69 66 20 28 62 41 75 | 74 6f 4e 75 6d 42 6f 74 | if (bAu|toNumBot|
|000031a0| 73 20 26 26 20 4c 65 76 | 65 6c 2e 4e 65 74 4d 6f |s && Lev|el.NetMo|
|000031b0| 64 65 20 3d 3d 20 4e 4d | 5f 53 74 61 6e 64 61 6c |de == NM|_Standal|
|000031c0| 6f 6e 65 29 0d 0a 20 20 | 20 20 7b 0d 0a 20 20 20 |one).. | {.. |
|000031d0| 20 20 20 20 20 4c 65 76 | 65 6c 4d 69 6e 50 6c 61 | Lev|elMinPla|
|000031e0| 79 65 72 73 20 3d 20 47 | 65 74 4d 69 6e 50 6c 61 |yers = G|etMinPla|
|000031f0| 79 65 72 73 28 29 3b 0d | 0a 0d 0a 09 09 69 66 20 |yers();.|.....if |
|00003200| 28 20 62 54 65 61 6d 67 | 61 6d 65 20 26 26 20 62 |( bTeamg|ame && b|
|00003210| 4d 75 73 74 48 61 76 65 | 4d 75 6c 74 69 70 6c 65 |MustHave|Multiple|
|00003220| 50 6c 61 79 65 72 73 20 | 29 0d 0a 09 09 7b 0d 0a |Players |)....{..|
|00003230| 09 09 09 69 66 20 28 20 | 4c 65 76 65 6c 4d 69 6e |...if ( |LevelMin|
|00003240| 50 6c 61 79 65 72 73 20 | 3c 20 34 20 29 0d 0a 09 |Players |< 4 )...|
|00003250| 09 09 09 4c 65 76 65 6c | 4d 69 6e 50 6c 61 79 65 |...Level|MinPlaye|
|00003260| 72 73 20 3d 20 34 3b 0d | 0a 09 09 09 65 6c 73 65 |rs = 4;.|....else|
|00003270| 20 69 66 20 28 20 28 4c | 65 76 65 6c 4d 69 6e 50 | if ( (L|evelMinP|
|00003280| 6c 61 79 65 72 73 20 26 | 20 31 29 20 3d 3d 20 31 |layers &| 1) == 1|
|00003290| 20 29 0d 0a 09 09 09 09 | 4c 65 76 65 6c 4d 69 6e | )......|LevelMin|
|000032a0| 50 6c 61 79 65 72 73 2b | 2b 3b 0d 0a 09 09 7d 0d |Players+|+;....}.|
|000032b0| 0a 09 09 65 6c 73 65 20 | 69 66 28 20 4c 65 76 65 |...else |if( Leve|
|000032c0| 6c 4d 69 6e 50 6c 61 79 | 65 72 73 20 3c 20 32 20 |lMinPlay|ers < 2 |
|000032d0| 29 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 4c |).. | L|
|000032e0| 65 76 65 6c 4d 69 6e 50 | 6c 61 79 65 72 73 20 3d |evelMinP|layers =|
|000032f0| 20 32 3b 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 49 | 2;.... | I|
|00003300| 6e 69 74 69 61 6c 42 6f | 74 73 20 3d 20 4d 61 78 |nitialBo|ts = Max|
|00003310| 28 30 2c 4c 65 76 65 6c | 4d 69 6e 50 6c 61 79 65 |(0,Level|MinPlaye|
|00003320| 72 73 20 2d 20 31 29 3b | 0d 0a 20 20 20 20 7d 0d |rs - 1);|.. }.|
|00003330| 0a 20 20 20 20 65 6c 73 | 65 0d 0a 20 20 20 20 7b |. els|e.. {|
|00003340| 0d 0a 20 20 20 20 20 20 | 20 20 4d 69 6e 50 6c 61 |.. | MinPla|
|00003350| 79 65 72 73 20 3d 20 43 | 6c 61 6d 70 28 47 65 74 |yers = C|lamp(Get|
|00003360| 49 6e 74 4f 70 74 69 6f | 6e 28 20 4f 70 74 69 6f |IntOptio|n( Optio|
|00003370| 6e 73 2c 20 22 4d 69 6e | 50 6c 61 79 65 72 73 22 |ns, "Min|Players"|
|00003380| 2c 20 4d 69 6e 50 6c 61 | 79 65 72 73 20 29 2c 30 |, MinPla|yers ),0|
|00003390| 2c 33 32 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 49 |,32);.. | I|
|000033a0| 6e 69 74 69 61 6c 42 6f | 74 73 20 3d 20 43 6c 61 |nitialBo|ts = Cla|
|000033b0| 6d 70 28 47 65 74 49 6e | 74 4f 70 74 69 6f 6e 28 |mp(GetIn|tOption(|
|000033c0| 20 4f 70 74 69 6f 6e 73 | 2c 20 22 4e 75 6d 42 6f | Options|, "NumBo|
|000033d0| 74 73 22 2c 20 49 6e 69 | 74 69 61 6c 42 6f 74 73 |ts", Ini|tialBots|
|000033e0| 20 29 2c 30 2c 33 32 29 | 3b 0d 0a 20 20 20 20 20 | ),0,32)|;.. |
|000033f0| 20 20 20 69 66 20 28 20 | 62 50 6c 61 79 65 72 73 | if ( |bPlayers|
|00003400| 56 73 42 6f 74 73 20 29 | 0d 0a 09 09 09 4d 69 6e |VsBots )|.....Min|
|00003410| 50 6c 61 79 65 72 73 20 | 3d 20 32 3b 0d 0a 20 20 |Players |= 2;.. |
|00003420| 20 20 7d 0d 0a 0d 0a 20 | 20 20 20 52 65 6d 61 69 | }.... | Remai|
|00003430| 6e 69 6e 67 54 69 6d 65 | 20 3d 20 36 30 20 2a 20 |ningTime| = 60 * |
|00003440| 54 69 6d 65 4c 69 6d 69 | 74 3b 0d 0a 0d 0a 20 20 |TimeLimi|t;.... |
|00003450| 20 20 49 6e 4f 70 74 20 | 3d 20 50 61 72 73 65 4f | InOpt |= ParseO|
|00003460| 70 74 69 6f 6e 28 20 4f | 70 74 69 6f 6e 73 2c 20 |ption( O|ptions, |
|00003470| 22 57 65 61 70 6f 6e 53 | 74 61 79 22 29 3b 0d 0a |"WeaponS|tay");..|
|00003480| 20 20 20 20 69 66 20 28 | 20 49 6e 4f 70 74 20 21 | if (| InOpt !|
|00003490| 3d 20 22 22 20 29 0d 0a | 20 20 20 20 7b 0d 0a 20 |= "" )..| {.. |
|000034a0| 20 20 20 20 20 20 20 6c | 6f 67 28 22 57 65 61 70 | l|og("Weap|
|000034b0| 6f 6e 53 74 61 79 3a 20 | 22 24 62 6f 6f 6c 28 49 |onStay: |"$bool(I|
|000034c0| 6e 4f 70 74 29 29 3b 0d | 0a 20 20 20 20 20 20 20 |nOpt));.|. |
|000034d0| 20 62 57 65 61 70 6f 6e | 53 74 61 79 20 3d 20 62 | bWeapon|Stay = b|
|000034e0| 6f 6f 6c 28 49 6e 4f 70 | 74 29 3b 0d 0a 20 20 20 |ool(InOp|t);.. |
|000034f0| 20 7d 0d 0a 0d 0a 09 69 | 66 20 28 20 62 54 6f 75 | }.....i|f ( bTou|
|00003500| 72 6e 61 6d 65 6e 74 20 | 29 0d 0a 09 09 62 54 6f |rnament |)....bTo|
|00003510| 75 72 6e 61 6d 65 6e 74 | 20 3d 20 28 47 65 74 49 |urnament| = (GetI|
|00003520| 6e 74 4f 70 74 69 6f 6e | 28 20 4f 70 74 69 6f 6e |ntOption|( Option|
|00003530| 73 2c 20 22 54 6f 75 72 | 6e 61 6d 65 6e 74 22 2c |s, "Tour|nament",|
|00003540| 20 31 20 29 20 3e 20 30 | 29 3b 0d 0a 09 65 6c 73 | 1 ) > 0|);...els|
|00003550| 65 0d 0a 09 09 62 54 6f | 75 72 6e 61 6d 65 6e 74 |e....bTo|urnament|
|00003560| 20 3d 20 28 47 65 74 49 | 6e 74 4f 70 74 69 6f 6e | = (GetI|ntOption|
|00003570| 28 20 4f 70 74 69 6f 6e | 73 2c 20 22 54 6f 75 72 |( Option|s, "Tour|
|00003580| 6e 61 6d 65 6e 74 22 2c | 20 30 20 29 20 3e 20 30 |nament",| 0 ) > 0|
|00003590| 29 3b 0d 0a 0d 0a 20 20 | 20 20 69 66 20 28 20 62 |);.... | if ( b|
|000035a0| 54 6f 75 72 6e 61 6d 65 | 6e 74 20 29 0d 0a 20 20 |Tourname|nt ).. |
|000035b0| 20 20 20 20 20 20 43 68 | 65 63 6b 52 65 61 64 79 | Ch|eckReady|
|000035c0| 28 29 3b 0d 0a 20 20 20 | 20 62 57 61 69 74 46 6f |();.. | bWaitFo|
|000035d0| 72 4e 65 74 50 6c 61 79 | 65 72 73 20 3d 20 28 20 |rNetPlay|ers = ( |
|000035e0| 4c 65 76 65 6c 2e 4e 65 | 74 4d 6f 64 65 20 21 3d |Level.Ne|tMode !=|
|000035f0| 20 4e 4d 5f 53 74 61 6e | 64 41 6c 6f 6e 65 20 29 | NM_Stan|dAlone )|
|00003600| 3b 0d 0a 0d 0a 20 20 20 | 20 49 6e 4f 70 74 20 3d |;.... | InOpt =|
|00003610| 20 50 61 72 73 65 4f 70 | 74 69 6f 6e 28 4f 70 74 | ParseOp|tion(Opt|
|00003620| 69 6f 6e 73 2c 22 51 75 | 69 63 6b 53 74 61 72 74 |ions,"Qu|ickStart|
|00003630| 22 29 3b 0d 0a 20 20 20 | 20 69 66 20 28 20 49 6e |");.. | if ( In|
|00003640| 4f 70 74 20 21 3d 20 22 | 22 20 29 0d 0a 09 09 62 |Opt != "|" )....b|
|00003650| 51 75 69 63 6b 53 74 61 | 72 74 20 3d 20 74 72 75 |QuickSta|rt = tru|
|00003660| 65 3b 0d 0a 0d 0a 20 20 | 20 20 41 64 6a 75 73 74 |e;.... | Adjust|
|00003670| 65 64 44 69 66 66 69 63 | 75 6c 74 79 20 3d 20 47 |edDiffic|ulty = G|
|00003680| 61 6d 65 44 69 66 66 69 | 63 75 6c 74 79 3b 0d 0a |ameDiffi|culty;..|
|00003690| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 54 77 |}....fun|ction Tw|
|000036a0| 65 61 6b 53 6b 69 6c 6c | 28 42 6f 74 20 42 29 0d |eakSkill|(Bot B).|
|000036b0| 0a 7b 0d 0a 09 69 66 20 | 28 20 21 62 54 65 61 6d |.{...if |( !bTeam|
|000036c0| 47 61 6d 65 20 7c 7c 20 | 28 4c 65 76 65 6c 2e 4e |Game || |(Level.N|
|000036d0| 65 74 4d 6f 64 65 20 21 | 3d 20 4e 4d 5f 53 74 61 |etMode !|= NM_Sta|
|000036e0| 6e 64 61 6c 6f 6e 65 29 | 20 7c 7c 20 28 43 75 72 |ndalone)| || (Cur|
|000036f0| 72 65 6e 74 47 61 6d 65 | 50 72 6f 66 69 6c 65 20 |rentGame|Profile |
|00003700| 3d 3d 20 4e 6f 6e 65 29 | 20 29 0d 0a 09 09 72 65 |== None)| )....re|
|00003710| 74 75 72 6e 3b 0d 0a 0d | 0a 09 65 6c 73 65 20 69 |turn;...|..else i|
|00003720| 66 20 28 20 4c 65 76 65 | 6c 2e 47 65 74 4c 6f 63 |f ( Leve|l.GetLoc|
|00003730| 61 6c 50 6c 61 79 65 72 | 43 6f 6e 74 72 6f 6c 6c |alPlayer|Controll|
|00003740| 65 72 28 29 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |er().Pla|yerRepli|
|00003750| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 54 65 61 6d 20 |cationIn|fo.Team |
|00003760| 21 3d 20 42 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |!= B.Pla|yerRepli|
|00003770| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 54 65 61 6d 20 |cationIn|fo.Team |
|00003780| 29 3b 0d 0a 09 09 42 2e | 53 6b 69 6c 6c 20 3d 20 |);....B.|Skill = |
|00003790| 46 4d 61 78 28 42 2e 53 | 6b 69 6c 6c 2c 20 41 64 |FMax(B.S|kill, Ad|
|000037a0| 6a 75 73 74 65 64 44 69 | 66 66 69 63 75 6c 74 79 |justedDi|fficulty|
|000037b0| 20 2b 20 30 2e 32 29 3b | 0d 0a 7d 0d 0a 0d 0a 66 | + 0.2);|..}....f|
|000037c0| 75 6e 63 74 69 6f 6e 20 | 69 6e 74 20 47 65 74 4d |unction |int GetM|
|000037d0| 69 6e 50 6c 61 79 65 72 | 73 28 29 0d 0a 7b 0d 0a |inPlayer|s()..{..|
|000037e0| 20 20 20 20 69 66 20 28 | 43 75 72 72 65 6e 74 47 | if (|CurrentG|
|000037f0| 61 6d 65 50 72 6f 66 69 | 6c 65 20 3d 3d 20 4e 6f |ameProfi|le == No|
|00003800| 6e 65 29 0d 0a 20 20 20 | 20 20 20 20 20 72 65 74 |ne).. | ret|
|00003810| 75 72 6e 20 4d 69 6e 28 | 31 32 2c 28 4c 65 76 65 |urn Min(|12,(Leve|
|00003820| 6c 2e 49 64 65 61 6c 50 | 6c 61 79 65 72 43 6f 75 |l.IdealP|layerCou|
|00003830| 6e 74 4d 61 78 20 2b 20 | 4c 65 76 65 6c 2e 49 64 |ntMax + |Level.Id|
|00003840| 65 61 6c 50 6c 61 79 65 | 72 43 6f 75 6e 74 4d 69 |ealPlaye|rCountMi|
|00003850| 6e 29 2f 32 29 3b 0d 0a | 0d 0a 20 20 20 20 72 65 |n)/2);..|.. re|
|00003860| 74 75 72 6e 20 4c 65 76 | 65 6c 2e 53 69 6e 67 6c |turn Lev|el.Singl|
|00003870| 65 50 6c 61 79 65 72 54 | 65 61 6d 53 69 7a 65 2a |ePlayerT|eamSize*|
|00003880| 32 3b 0d 0a 7d 0d 0a 0d | 0a 2f 2a 20 41 63 63 65 |2;..}...|./* Acce|
|00003890| 70 74 49 6e 76 65 6e 74 | 6f 72 79 28 29 0d 0a 45 |ptInvent|ory()..E|
|000038a0| 78 61 6d 69 6e 65 20 74 | 68 65 20 70 61 73 73 65 |xamine t|he passe|
|000038b0| 64 20 70 6c 61 79 65 72 | 27 73 20 69 6e 76 65 6e |d player|'s inven|
|000038c0| 74 6f 72 79 2c 20 61 6e | 64 20 61 63 63 65 70 74 |tory, an|d accept|
|000038d0| 20 6f 72 20 64 69 73 63 | 61 72 64 20 65 61 63 68 | or disc|ard each|
|000038e0| 20 69 74 65 6d 0d 0a 2a | 20 41 63 63 65 70 74 49 | item..*| AcceptI|
|000038f0| 6e 76 65 6e 74 6f 72 79 | 20 6e 65 65 64 73 20 74 |nventory| needs t|
|00003900| 6f 20 67 72 61 63 65 66 | 75 6c 6c 79 20 68 61 6e |o gracef|ully han|
|00003910| 64 6c 65 20 74 68 65 20 | 63 61 73 65 20 6f 66 20 |dle the |case of |
|00003920| 73 6f 6d 65 20 69 6e 76 | 65 6e 74 6f 72 79 0d 0a |some inv|entory..|
|00003930| 62 65 69 6e 67 20 61 63 | 63 65 70 74 65 64 20 62 |being ac|cepted b|
|00003940| 75 74 20 6f 74 68 65 72 | 20 69 6e 76 65 6e 74 6f |ut other| invento|
|00003950| 72 79 20 6e 6f 74 20 62 | 65 69 6e 67 20 61 63 63 |ry not b|eing acc|
|00003960| 65 70 74 65 64 20 28 73 | 75 63 68 20 61 73 20 74 |epted (s|uch as t|
|00003970| 68 65 20 64 65 66 61 75 | 6c 74 0d 0a 77 65 61 70 |he defau|lt..weap|
|00003980| 6f 6e 29 2e 20 20 54 68 | 65 72 65 20 61 72 65 20 |on). Th|ere are |
|00003990| 73 65 76 65 72 61 6c 20 | 74 68 69 6e 67 73 20 74 |several |things t|
|000039a0| 68 61 74 20 63 61 6e 20 | 67 6f 20 77 72 6f 6e 67 |hat can |go wrong|
|000039b0| 3a 20 41 20 77 65 61 70 | 6f 6e 27 73 0d 0a 41 6d |: A weap|on's..Am|
|000039c0| 6d 6f 54 79 70 65 20 6e | 6f 74 20 62 65 69 6e 67 |moType n|ot being|
|000039d0| 20 61 63 63 65 70 74 65 | 64 20 62 75 74 20 74 68 | accepte|d but th|
|000039e0| 65 20 77 65 61 70 6f 6e | 20 62 65 69 6e 67 20 61 |e weapon| being a|
|000039f0| 63 63 65 70 74 65 64 20 | 2d 2d 20 74 68 65 20 77 |ccepted |-- the w|
|00003a00| 65 61 70 6f 6e 0d 0a 73 | 68 6f 75 6c 64 20 62 65 |eapon..s|hould be|
|00003a10| 20 6b 69 6c 6c 65 64 20 | 6f 66 66 2e 20 4f 72 20 | killed |off. Or |
|00003a20| 74 68 65 20 70 6c 61 79 | 65 72 27 73 20 73 65 6c |the play|er's sel|
|00003a30| 65 63 74 65 64 20 69 6e | 76 65 6e 74 6f 72 79 20 |ected in|ventory |
|00003a40| 69 74 65 6d 2c 20 61 63 | 74 69 76 65 0d 0a 77 65 |item, ac|tive..we|
|00003a50| 61 70 6f 6e 2c 20 65 74 | 63 2e 20 6e 6f 74 20 62 |apon, et|c. not b|
|00003a60| 65 69 6e 67 20 61 63 63 | 65 70 74 65 64 2c 20 6c |eing acc|epted, l|
|00003a70| 65 61 76 69 6e 67 20 74 | 68 65 20 70 6c 61 79 65 |eaving t|he playe|
|00003a80| 72 20 77 65 61 70 6f 6e | 6c 65 73 73 20 6f 72 20 |r weapon|less or |
|00003a90| 6c 65 61 76 69 6e 67 0d | 0a 74 68 65 20 48 55 44 |leaving.|.the HUD|
|00003aa0| 20 69 6e 76 65 6e 74 6f | 72 79 20 72 65 6e 64 65 | invento|ry rende|
|00003ab0| 72 69 6e 67 20 6d 65 73 | 73 65 64 20 75 70 20 28 |ring mes|sed up (|
|00003ac0| 41 63 63 65 70 74 49 6e | 76 65 6e 74 6f 72 79 20 |AcceptIn|ventory |
|00003ad0| 73 68 6f 75 6c 64 20 70 | 69 63 6b 20 61 6e 6f 74 |should p|ick anot|
|00003ae0| 68 65 72 0d 0a 61 70 70 | 6c 69 63 61 62 6c 65 20 |her..app|licable |
|00003af0| 77 65 61 70 6f 6e 2f 69 | 74 65 6d 20 61 73 20 63 |weapon/i|tem as c|
|00003b00| 75 72 72 65 6e 74 29 2e | 0d 0a 2a 2f 0d 0a 66 75 |urrent).|..*/..fu|
|00003b10| 6e 63 74 69 6f 6e 20 41 | 63 63 65 70 74 49 6e 76 |nction A|cceptInv|
|00003b20| 65 6e 74 6f 72 79 28 70 | 61 77 6e 20 50 6c 61 79 |entory(p|awn Play|
|00003b30| 65 72 50 61 77 6e 29 0d | 0a 7b 0d 0a 20 20 20 20 |erPawn).|.{.. |
|00003b40| 77 68 69 6c 65 20 28 20 | 50 6c 61 79 65 72 50 61 |while ( |PlayerPa|
|00003b50| 77 6e 2e 49 6e 76 65 6e | 74 6f 72 79 20 21 3d 20 |wn.Inven|tory != |
|00003b60| 4e 6f 6e 65 20 29 0d 0a | 20 20 20 20 20 20 20 20 |None )..| |
|00003b70| 50 6c 61 79 65 72 50 61 | 77 6e 2e 49 6e 76 65 6e |PlayerPa|wn.Inven|
|00003b80| 74 6f 72 79 2e 44 65 73 | 74 72 6f 79 28 29 3b 0d |tory.Des|troy();.|
|00003b90| 0a 0d 0a 20 20 20 20 50 | 6c 61 79 65 72 50 61 77 |... P|layerPaw|
|00003ba0| 6e 2e 57 65 61 70 6f 6e | 20 3d 20 4e 6f 6e 65 3b |n.Weapon| = None;|
|00003bb0| 0d 0a 20 20 20 20 50 6c | 61 79 65 72 50 61 77 6e |.. Pl|ayerPawn|
|00003bc0| 2e 53 65 6c 65 63 74 65 | 64 49 74 65 6d 20 3d 20 |.Selecte|dItem = |
|00003bd0| 4e 6f 6e 65 3b 0d 0a 20 | 20 20 20 41 64 64 44 65 |None;.. | AddDe|
|00003be0| 66 61 75 6c 74 49 6e 76 | 65 6e 74 6f 72 79 28 20 |faultInv|entory( |
|00003bf0| 50 6c 61 79 65 72 50 61 | 77 6e 20 29 3b 0d 0a 7d |PlayerPa|wn );..}|
|00003c00| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 62 6f 6f |....func|tion boo|
|00003c10| 6c 20 43 68 65 63 6b 45 | 6e 64 47 61 6d 65 28 50 |l CheckE|ndGame(P|
|00003c20| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00003c30| 49 6e 66 6f 20 57 69 6e | 6e 65 72 2c 20 73 74 72 |Info Win|ner, str|
|00003c40| 69 6e 67 20 52 65 61 73 | 6f 6e 29 0d 0a 7b 0d 0a |ing Reas|on)..{..|
|00003c50| 20 20 20 20 6c 6f 63 61 | 6c 20 43 6f 6e 74 72 6f | loca|l Contro|
|00003c60| 6c 6c 65 72 20 50 2c 20 | 4e 65 78 74 43 6f 6e 74 |ller P, |NextCont|
|00003c70| 72 6f 6c 6c 65 72 3b 0d | 0a 20 20 20 20 6c 6f 63 |roller;.|. loc|
|00003c80| 61 6c 20 50 6c 61 79 65 | 72 43 6f 6e 74 72 6f 6c |al Playe|rControl|
|00003c90| 6c 65 72 20 50 6c 61 79 | 65 72 3b 0d 0a 20 20 20 |ler Play|er;.. |
|00003ca0| 20 6c 6f 63 61 6c 20 62 | 6f 6f 6c 20 62 4c 61 73 | local b|ool bLas|
|00003cb0| 74 4d 61 6e 3b 0d 0a 0d | 0a 09 69 66 20 28 20 62 |tMan;...|..if ( b|
|00003cc0| 4f 76 65 72 54 69 6d 65 | 20 29 0d 0a 09 7b 0d 0a |OverTime| )...{..|
|00003cd0| 09 09 69 66 20 28 20 4e | 75 6d 62 6f 74 73 20 2b |..if ( N|umbots +|
|00003ce0| 20 4e 75 6d 50 6c 61 79 | 65 72 73 20 3d 3d 20 30 | NumPlay|ers == 0|
|00003cf0| 20 29 0d 0a 09 09 09 72 | 65 74 75 72 6e 20 74 72 | ).....r|eturn tr|
|00003d00| 75 65 3b 0d 0a 09 09 62 | 4c 61 73 74 4d 61 6e 20 |ue;....b|LastMan |
|00003d10| 3d 20 74 72 75 65 3b 0d | 0a 09 09 66 6f 72 20 28 |= true;.|...for (|
|00003d20| 20 50 3d 4c 65 76 65 6c | 2e 43 6f 6e 74 72 6f 6c | P=Level|.Control|
|00003d30| 6c 65 72 4c 69 73 74 3b | 20 50 21 3d 4e 6f 6e 65 |lerList;| P!=None|
|00003d40| 3b 20 50 3d 50 2e 6e 65 | 78 74 43 6f 6e 74 72 6f |; P=P.ne|xtContro|
|00003d50| 6c 6c 65 72 20 29 0d 0a | 09 09 09 69 66 20 28 20 |ller )..|...if ( |
|00003d60| 28 50 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |(P.Playe|rReplica|
|00003d70| 74 69 6f 6e 49 6e 66 6f | 20 21 3d 20 4e 6f 6e 65 |tionInfo| != None|
|00003d80| 29 20 26 26 20 21 50 2e | 50 6c 61 79 65 72 52 65 |) && !P.|PlayerRe|
|00003d90| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 62 4f |plicatio|nInfo.bO|
|00003da0| 75 74 4f 66 4c 69 76 65 | 73 20 29 0d 0a 09 09 09 |utOfLive|s ).....|
|00003db0| 7b 0d 0a 09 09 09 09 62 | 4c 61 73 74 4d 61 6e 20 |{......b|LastMan |
|00003dc0| 3d 20 66 61 6c 73 65 3b | 0d 0a 09 09 09 09 62 72 |= false;|......br|
|00003dd0| 65 61 6b 3b 0d 0a 09 09 | 09 7d 0d 0a 09 09 69 66 |eak;....|.}....if|
|00003de0| 20 28 20 62 4c 61 73 74 | 4d 61 6e 20 29 0d 0a 09 | ( bLast|Man )...|
|00003df0| 09 09 72 65 74 75 72 6e | 20 74 72 75 65 3b 0d 0a |..return| true;..|
|00003e00| 09 7d 0d 0a 0d 0a 20 20 | 20 20 62 4c 61 73 74 4d |.}.... | bLastM|
|00003e10| 61 6e 20 3d 20 28 20 52 | 65 61 73 6f 6e 20 7e 3d |an = ( R|eason ~=|
|00003e20| 20 22 4c 61 73 74 4d 61 | 6e 22 20 29 3b 0d 0a 0d | "LastMa|n" );...|
|00003e30| 0a 20 20 20 20 69 66 20 | 28 20 21 62 4c 61 73 74 |. if |( !bLast|
|00003e40| 4d 61 6e 20 26 26 20 28 | 47 61 6d 65 52 75 6c 65 |Man && (|GameRule|
|00003e50| 73 4d 6f 64 69 66 69 65 | 72 73 20 21 3d 20 4e 6f |sModifie|rs != No|
|00003e60| 6e 65 29 20 26 26 20 21 | 47 61 6d 65 52 75 6c 65 |ne) && !|GameRule|
|00003e70| 73 4d 6f 64 69 66 69 65 | 72 73 2e 43 68 65 63 6b |sModifie|rs.Check|
|00003e80| 45 6e 64 47 61 6d 65 28 | 57 69 6e 6e 65 72 2c 20 |EndGame(|Winner, |
|00003e90| 52 65 61 73 6f 6e 29 20 | 29 0d 0a 20 20 20 20 20 |Reason) |).. |
|00003ea0| 20 20 20 72 65 74 75 72 | 6e 20 66 61 6c 73 65 3b | retur|n false;|
|00003eb0| 0d 0a 0d 0a 09 69 66 20 | 28 20 57 69 6e 6e 65 72 |.....if |( Winner|
|00003ec0| 20 3d 3d 20 4e 6f 6e 65 | 20 29 0d 0a 09 7b 0d 0a | == None| )...{..|
|00003ed0| 09 09 2f 2f 20 66 69 6e | 64 20 77 69 6e 6e 65 72 |..// fin|d winner|
|00003ee0| 0d 0a 09 09 66 6f 72 20 | 28 20 50 3d 4c 65 76 65 |....for |( P=Leve|
|00003ef0| 6c 2e 43 6f 6e 74 72 6f | 6c 6c 65 72 4c 69 73 74 |l.Contro|llerList|
|00003f00| 3b 20 50 21 3d 4e 6f 6e | 65 3b 20 50 3d 50 2e 6e |; P!=Non|e; P=P.n|
|00003f10| 65 78 74 43 6f 6e 74 72 | 6f 6c 6c 65 72 20 29 0d |extContr|oller ).|
|00003f20| 0a 09 09 09 69 66 20 28 | 20 50 2e 62 49 73 50 6c |....if (| P.bIsPl|
|00003f30| 61 79 65 72 20 26 26 20 | 21 50 2e 50 6c 61 79 65 |ayer && |!P.Playe|
|00003f40| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00003f50| 2e 62 4f 75 74 4f 66 4c | 69 76 65 73 0d 0a 09 09 |.bOutOfL|ives....|
|00003f60| 09 09 26 26 20 28 28 57 | 69 6e 6e 65 72 20 3d 3d |..&& ((W|inner ==|
|00003f70| 20 4e 6f 6e 65 29 20 7c | 7c 20 28 50 2e 50 6c 61 | None) ||| (P.Pla|
|00003f80| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00003f90| 66 6f 2e 53 63 6f 72 65 | 20 3e 3d 20 57 69 6e 6e |fo.Score| >= Winn|
|00003fa0| 65 72 2e 53 63 6f 72 65 | 29 29 20 29 0d 0a 09 09 |er.Score|)) )....|
|00003fb0| 09 7b 0d 0a 09 09 09 09 | 57 69 6e 6e 65 72 20 3d |.{......|Winner =|
|00003fc0| 20 50 2e 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 | P.Playe|rReplica|
|00003fd0| 74 69 6f 6e 49 6e 66 6f | 3b 0d 0a 09 09 09 7d 0d |tionInfo|;.....}.|
|00003fe0| 0a 09 7d 0d 0a 0d 0a 20 | 20 20 20 2f 2f 20 63 68 |..}.... | // ch|
|00003ff0| 65 63 6b 20 66 6f 72 20 | 74 69 65 0d 0a 20 20 20 |eck for |tie.. |
|00004000| 20 69 66 20 28 20 21 62 | 4c 61 73 74 4d 61 6e 20 | if ( !b|LastMan |
|00004010| 29 0d 0a 20 20 20 20 7b | 0d 0a 09 09 66 6f 72 20 |).. {|....for |
|00004020| 28 20 50 3d 4c 65 76 65 | 6c 2e 43 6f 6e 74 72 6f |( P=Leve|l.Contro|
|00004030| 6c 6c 65 72 4c 69 73 74 | 3b 20 50 21 3d 4e 6f 6e |llerList|; P!=Non|
|00004040| 65 3b 20 50 3d 50 2e 6e | 65 78 74 43 6f 6e 74 72 |e; P=P.n|extContr|
|00004050| 6f 6c 6c 65 72 20 29 0d | 0a 09 09 7b 0d 0a 09 09 |oller ).|...{....|
|00004060| 09 69 66 20 28 20 50 2e | 62 49 73 50 6c 61 79 65 |.if ( P.|bIsPlaye|
|00004070| 72 20 26 26 0d 0a 09 09 | 09 09 28 57 69 6e 6e 65 |r &&....|..(Winne|
|00004080| 72 20 21 3d 20 50 2e 50 | 6c 61 79 65 72 52 65 70 |r != P.P|layerRep|
|00004090| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 29 20 26 26 |lication|Info) &&|
|000040a0| 0d 0a 09 09 09 09 28 50 | 2e 50 6c 61 79 65 72 52 |......(P|.PlayerR|
|000040b0| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 53 |eplicati|onInfo.S|
|000040c0| 63 6f 72 65 20 3d 3d 20 | 57 69 6e 6e 65 72 2e 53 |core == |Winner.S|
|000040d0| 63 6f 72 65 29 0d 0a 09 | 09 09 09 26 26 20 21 50 |core)...|...&& !P|
|000040e0| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|000040f0| 6f 6e 49 6e 66 6f 2e 62 | 4f 75 74 4f 66 4c 69 76 |onInfo.b|OutOfLiv|
|00004100| 65 73 20 29 0d 0a 09 09 | 09 7b 0d 0a 09 09 09 09 |es )....|.{......|
|00004110| 69 66 20 28 20 21 62 4f | 76 65 72 54 69 6d 65 42 |if ( !bO|verTimeB|
|00004120| 72 6f 61 64 63 61 73 74 | 20 29 0d 0a 09 09 09 09 |roadcast| )......|
|00004130| 7b 0d 0a 09 09 09 09 09 | 53 74 61 72 74 75 70 53 |{.......|StartupS|
|00004140| 74 61 67 65 20 3d 20 37 | 3b 0d 0a 09 09 09 09 09 |tage = 7|;.......|
|00004150| 50 6c 61 79 53 74 61 72 | 74 75 70 4d 65 73 73 61 |PlayStar|tupMessa|
|00004160| 67 65 28 29 3b 0d 0a 09 | 09 09 09 09 62 4f 76 65 |ge();...|....bOve|
|00004170| 72 54 69 6d 65 42 72 6f | 61 64 63 61 73 74 20 3d |rTimeBro|adcast =|
|00004180| 20 74 72 75 65 3b 0d 0a | 09 09 09 09 7d 0d 0a 09 | true;..|....}...|
|00004190| 09 09 09 72 65 74 75 72 | 6e 20 66 61 6c 73 65 3b |...retur|n false;|
|000041a0| 0d 0a 09 09 09 7d 0d 0a | 09 09 7d 0d 0a 09 7d 0d |.....}..|..}...}.|
|000041b0| 0a 0d 0a 20 20 20 20 45 | 6e 64 54 69 6d 65 20 3d |... E|ndTime =|
|000041c0| 20 4c 65 76 65 6c 2e 54 | 69 6d 65 53 65 63 6f 6e | Level.T|imeSecon|
|000041d0| 64 73 20 2b 20 45 6e 64 | 54 69 6d 65 44 65 6c 61 |ds + End|TimeDela|
|000041e0| 79 3b 0d 0a 20 20 20 20 | 47 61 6d 65 52 65 70 6c |y;.. |GameRepl|
|000041f0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 57 69 6e 6e |icationI|nfo.Winn|
|00004200| 65 72 20 3d 20 57 69 6e | 6e 65 72 3b 0d 0a 20 20 |er = Win|ner;.. |
|00004210| 20 20 69 66 20 28 20 43 | 75 72 72 65 6e 74 47 61 | if ( C|urrentGa|
|00004220| 6d 65 50 72 6f 66 69 6c | 65 20 21 3d 20 4e 6f 6e |meProfil|e != Non|
|00004230| 65 20 29 0d 0a 09 09 43 | 75 72 72 65 6e 74 47 61 |e )....C|urrentGa|
|00004240| 6d 65 50 72 6f 66 69 6c | 65 2e 62 57 6f 6e 4d 61 |meProfil|e.bWonMa|
|00004250| 74 63 68 20 3d 20 28 50 | 6c 61 79 65 72 43 6f 6e |tch = (P|layerCon|
|00004260| 74 72 6f 6c 6c 65 72 28 | 57 69 6e 6e 65 72 2e 4f |troller(|Winner.O|
|00004270| 77 6e 65 72 29 20 21 3d | 20 4e 6f 6e 65 29 3b 0d |wner) !=| None);.|
|00004280| 0a 0d 0a 20 20 20 20 45 | 6e 64 47 61 6d 65 46 6f |... E|ndGameFo|
|00004290| 63 75 73 20 3d 20 43 6f | 6e 74 72 6f 6c 6c 65 72 |cus = Co|ntroller|
|000042a0| 28 57 69 6e 6e 65 72 2e | 4f 77 6e 65 72 29 2e 50 |(Winner.|Owner).P|
|000042b0| 61 77 6e 3b 0d 0a 20 20 | 20 20 69 66 20 28 20 45 |awn;.. | if ( E|
|000042c0| 6e 64 47 61 6d 65 46 6f | 63 75 73 20 21 3d 20 4e |ndGameFo|cus != N|
|000042d0| 6f 6e 65 20 29 0d 0a 09 | 09 45 6e 64 47 61 6d 65 |one )...|.EndGame|
|000042e0| 46 6f 63 75 73 2e 62 41 | 6c 77 61 79 73 52 65 6c |Focus.bA|lwaysRel|
|000042f0| 65 76 61 6e 74 20 3d 20 | 74 72 75 65 3b 0d 0a 20 |evant = |true;.. |
|00004300| 20 20 20 66 6f 72 20 28 | 20 50 3d 4c 65 76 65 6c | for (| P=Level|
|00004310| 2e 43 6f 6e 74 72 6f 6c | 6c 65 72 4c 69 73 74 3b |.Control|lerList;|
|00004320| 20 50 21 3d 4e 6f 6e 65 | 3b 20 50 3d 4e 65 78 74 | P!=None|; P=Next|
|00004330| 43 6f 6e 74 72 6f 6c 6c | 65 72 20 29 0d 0a 20 20 |Controll|er ).. |
|00004340| 20 20 7b 0d 0a 20 20 20 | 20 20 20 20 20 50 6c 61 | {.. | Pla|
|00004350| 79 65 72 20 3d 20 50 6c | 61 79 65 72 43 6f 6e 74 |yer = Pl|ayerCont|
|00004360| 72 6f 6c 6c 65 72 28 50 | 29 3b 0d 0a 20 20 20 20 |roller(P|);.. |
|00004370| 20 20 20 20 69 66 20 28 | 20 50 6c 61 79 65 72 20 | if (| Player |
|00004380| 21 3d 20 4e 6f 6e 65 20 | 29 0d 0a 20 20 20 20 20 |!= None |).. |
|00004390| 20 20 20 7b 0d 0a 09 09 | 09 69 66 20 28 20 21 50 | {....|.if ( !P|
|000043a0| 6c 61 79 65 72 2e 50 6c | 61 79 65 72 52 65 70 6c |layer.Pl|ayerRepl|
|000043b0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 62 4f 6e 6c |icationI|nfo.bOnl|
|000043c0| 79 53 70 65 63 74 61 74 | 6f 72 20 29 0d 0a 09 20 |ySpectat|or )... |
|000043d0| 20 20 20 20 20 20 20 20 | 20 20 20 50 6c 61 79 57 | | PlayW|
|000043e0| 69 6e 4d 65 73 73 61 67 | 65 28 50 6c 61 79 65 72 |inMessag|e(Player|
|000043f0| 2c 20 28 50 6c 61 79 65 | 72 2e 50 6c 61 79 65 72 |, (Playe|r.Player|
|00004400| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 20 |Replicat|ionInfo |
|00004410| 3d 3d 20 57 69 6e 6e 65 | 72 29 29 3b 0d 0a 20 20 |== Winne|r));.. |
|00004420| 20 20 20 20 20 20 20 20 | 20 20 50 6c 61 79 65 72 | | Player|
|00004430| 2e 43 6c 69 65 6e 74 53 | 65 74 42 65 68 69 6e 64 |.ClientS|etBehind|
|00004440| 56 69 65 77 28 74 72 75 | 65 29 3b 0d 0a 20 20 20 |View(tru|e);.. |
|00004450| 20 20 20 20 20 20 20 20 | 20 69 66 20 28 20 45 6e | | if ( En|
|00004460| 64 47 61 6d 65 46 6f 63 | 75 73 20 21 3d 20 4e 6f |dGameFoc|us != No|
|00004470| 6e 65 20 29 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |ne ).. | |
|00004480| 20 20 7b 0d 0a 09 09 09 | 09 50 6c 61 79 65 72 2e | {.....|.Player.|
|00004490| 43 6c 69 65 6e 74 53 65 | 74 56 69 65 77 54 61 72 |ClientSe|tViewTar|
|000044a0| 67 65 74 28 45 6e 64 47 | 61 6d 65 46 6f 63 75 73 |get(EndG|ameFocus|
|000044b0| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |);.. | |
|000044c0| 20 20 20 20 50 6c 61 79 | 65 72 2e 53 65 74 56 69 | Play|er.SetVi|
|000044d0| 65 77 54 61 72 67 65 74 | 28 45 6e 64 47 61 6d 65 |ewTarget|(EndGame|
|000044e0| 46 6f 63 75 73 29 3b 0d | 0a 20 20 20 20 20 20 20 |Focus);.|. |
|000044f0| 20 20 20 20 20 7d 0d 0a | 20 20 20 20 20 20 20 20 | }..| |
|00004500| 20 20 20 20 50 6c 61 79 | 65 72 2e 43 6c 69 65 6e | Play|er.Clien|
|00004510| 74 47 61 6d 65 45 6e 64 | 65 64 28 29 3b 0d 0a 20 |tGameEnd|ed();.. |
|00004520| 20 20 20 20 20 20 20 7d | 0d 0a 20 20 20 20 20 20 | }|.. |
|00004530| 20 20 4e 65 78 74 43 6f | 6e 74 72 6f 6c 6c 65 72 | NextCo|ntroller|
|00004540| 20 3d 20 50 2e 4e 65 78 | 74 43 6f 6e 74 72 6f 6c | = P.Nex|tControl|
|00004550| 6c 65 72 3b 0d 0a 20 20 | 20 20 20 20 20 20 50 2e |ler;.. | P.|
|00004560| 47 61 6d 65 48 61 73 45 | 6e 64 65 64 28 29 3b 0d |GameHasE|nded();.|
|00004570| 0a 20 20 20 20 7d 0d 0a | 20 20 20 20 72 65 74 75 |. }..| retu|
|00004580| 72 6e 20 74 72 75 65 3b | 0d 0a 7d 0d 0a 0d 0a 66 |rn true;|..}....f|
|00004590| 75 6e 63 74 69 6f 6e 20 | 50 6c 61 79 57 69 6e 4d |unction |PlayWinM|
|000045a0| 65 73 73 61 67 65 28 50 | 6c 61 79 65 72 43 6f 6e |essage(P|layerCon|
|000045b0| 74 72 6f 6c 6c 65 72 20 | 50 6c 61 79 65 72 2c 20 |troller |Player, |
|000045c0| 62 6f 6f 6c 20 62 57 69 | 6e 6e 65 72 29 0d 0a 7b |bool bWi|nner)..{|
|000045d0| 0d 0a 09 69 66 20 28 20 | 55 6e 72 65 61 6c 50 6c |...if ( |UnrealPl|
|000045e0| 61 79 65 72 28 50 6c 61 | 79 65 72 29 20 21 3d 20 |ayer(Pla|yer) != |
|000045f0| 4e 6f 6e 65 20 29 0d 0a | 09 09 55 6e 72 65 61 6c |None )..|..Unreal|
|00004600| 50 6c 61 79 65 72 28 50 | 6c 61 79 65 72 29 2e 50 |Player(P|layer).P|
|00004610| 6c 61 79 57 69 6e 4d 65 | 73 73 61 67 65 28 62 57 |layWinMe|ssage(bW|
|00004620| 69 6e 6e 65 72 29 3b 0d | 0a 7d 0d 0a 0d 0a 66 75 |inner);.|.}....fu|
|00004630| 6e 63 74 69 6f 6e 20 62 | 6f 6f 6c 20 41 74 43 61 |nction b|ool AtCa|
|00004640| 70 61 63 69 74 79 28 62 | 6f 6f 6c 20 62 53 70 65 |pacity(b|ool bSpe|
|00004650| 63 74 61 74 6f 72 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |ctator).|.{...loc|
|00004660| 61 6c 20 43 6f 6e 74 72 | 6f 6c 6c 65 72 20 43 3b |al Contr|oller C;|
|00004670| 0d 0a 09 6c 6f 63 61 6c | 20 62 6f 6f 6c 20 62 46 |...local| bool bF|
|00004680| 6f 72 63 65 64 53 70 65 | 63 74 61 74 6f 72 3b 0d |orcedSpe|ctator;.|
|00004690| 0a 0d 0a 20 20 20 20 69 | 66 20 28 20 4c 65 76 65 |... i|f ( Leve|
|000046a0| 6c 2e 4e 65 74 4d 6f 64 | 65 20 3d 3d 20 4e 4d 5f |l.NetMod|e == NM_|
|000046b0| 53 74 61 6e 64 61 6c 6f | 6e 65 20 29 0d 0a 20 20 |Standalo|ne ).. |
|000046c0| 20 20 20 20 20 20 72 65 | 74 75 72 6e 20 66 61 6c | re|turn fal|
|000046d0| 73 65 3b 0d 0a 0d 0a 09 | 69 66 20 28 20 62 50 6c |se;.....|if ( bPl|
|000046e0| 61 79 65 72 73 56 73 42 | 6f 74 73 20 29 0d 0a 09 |ayersVsB|ots )...|
|000046f0| 09 4d 61 78 50 6c 61 79 | 65 72 73 20 3d 20 4d 69 |.MaxPlay|ers = Mi|
|00004700| 6e 28 4d 61 78 50 6c 61 | 79 65 72 73 2c 31 36 29 |n(MaxPla|yers,16)|
|00004710| 3b 0d 0a 0d 0a 20 20 20 | 20 69 66 20 28 20 4d 61 |;.... | if ( Ma|
|00004720| 78 4c 69 76 65 73 20 3c | 3d 20 30 20 29 0d 0a 09 |xLives <|= 0 )...|
|00004730| 09 72 65 74 75 72 6e 20 | 53 75 70 65 72 2e 41 74 |.return |Super.At|
|00004740| 43 61 70 61 63 69 74 79 | 28 62 53 70 65 63 74 61 |Capacity|(bSpecta|
|00004750| 74 6f 72 29 3b 0d 0a 0d | 0a 09 66 6f 72 20 28 20 |tor);...|..for ( |
|00004760| 43 3d 4c 65 76 65 6c 2e | 43 6f 6e 74 72 6f 6c 6c |C=Level.|Controll|
|00004770| 65 72 4c 69 73 74 3b 20 | 43 21 3d 4e 6f 6e 65 3b |erList; |C!=None;|
|00004780| 20 43 3d 43 2e 4e 65 78 | 74 43 6f 6e 74 72 6f 6c | C=C.Nex|tControl|
|00004790| 6c 65 72 20 29 0d 0a 09 | 7b 0d 0a 09 09 69 66 20 |ler )...|{....if |
|000047a0| 28 20 28 43 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |( (C.Pla|yerRepli|
|000047b0| 63 61 74 69 6f 6e 49 6e | 66 6f 20 21 3d 20 4e 6f |cationIn|fo != No|
|000047c0| 6e 65 29 20 26 26 20 28 | 43 2e 50 6c 61 79 65 72 |ne) && (|C.Player|
|000047d0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|000047e0| 4e 75 6d 4c 69 76 65 73 | 20 3e 20 4c 61 74 65 45 |NumLives| > LateE|
|000047f0| 6e 74 72 79 4c 69 76 65 | 73 29 20 29 0d 0a 09 09 |ntryLive|s) )....|
|00004800| 7b 0d 0a 09 09 09 62 46 | 6f 72 63 65 64 53 70 65 |{.....bF|orcedSpe|
|00004810| 63 74 61 74 6f 72 20 3d | 20 74 72 75 65 3b 0d 0a |ctator =| true;..|
|00004820| 09 09 09 62 72 65 61 6b | 3b 0d 0a 09 09 7d 0d 0a |...break|;....}..|
|00004830| 09 7d 0d 0a 09 69 66 20 | 28 20 21 62 46 6f 72 63 |.}...if |( !bForc|
|00004840| 65 64 53 70 65 63 74 61 | 74 6f 72 20 29 0d 0a 09 |edSpecta|tor )...|
|00004850| 09 72 65 74 75 72 6e 20 | 53 75 70 65 72 2e 41 74 |.return |Super.At|
|00004860| 43 61 70 61 63 69 74 79 | 28 62 53 70 65 63 74 61 |Capacity|(bSpecta|
|00004870| 74 6f 72 29 3b 0d 0a 0d | 0a 09 72 65 74 75 72 6e |tor);...|..return|
|00004880| 20 28 20 4e 75 6d 50 6c | 61 79 65 72 73 20 2b 20 | ( NumPl|ayers + |
|00004890| 4e 75 6d 53 70 65 63 74 | 61 74 6f 72 73 20 3e 3d |NumSpect|ators >=|
|000048a0| 20 4d 61 78 50 6c 61 79 | 65 72 73 20 2b 20 4d 61 | MaxPlay|ers + Ma|
|000048b0| 78 53 70 65 63 74 61 74 | 6f 72 73 20 29 3b 0d 0a |xSpectat|ors );..|
|000048c0| 7d 0d 0a 0d 0a 65 76 65 | 6e 74 20 50 6c 61 79 65 |}....eve|nt Playe|
|000048d0| 72 43 6f 6e 74 72 6f 6c | 6c 65 72 20 4c 6f 67 69 |rControl|ler Logi|
|000048e0| 6e 0d 0a 28 0d 0a 20 20 | 20 20 73 74 72 69 6e 67 |n..(.. | string|
|000048f0| 20 50 6f 72 74 61 6c 2c | 0d 0a 20 20 20 20 73 74 | Portal,|.. st|
|00004900| 72 69 6e 67 20 4f 70 74 | 69 6f 6e 73 2c 0d 0a 20 |ring Opt|ions,.. |
|00004910| 20 20 20 6f 75 74 20 73 | 74 72 69 6e 67 20 45 72 | out s|tring Er|
|00004920| 72 6f 72 0d 0a 29 0d 0a | 7b 0d 0a 20 20 20 20 6c |ror..)..|{.. l|
|00004930| 6f 63 61 6c 20 50 6c 61 | 79 65 72 43 6f 6e 74 72 |ocal Pla|yerContr|
|00004940| 6f 6c 6c 65 72 20 4e 65 | 77 50 6c 61 79 65 72 3b |oller Ne|wPlayer;|
|00004950| 0d 0a 09 6c 6f 63 61 6c | 20 43 6f 6e 74 72 6f 6c |...local| Control|
|00004960| 6c 65 72 20 43 3b 0d 0a | 0d 0a 09 69 66 20 28 20 |ler C;..|...if ( |
|00004970| 4d 61 78 4c 69 76 65 73 | 20 3e 20 30 20 29 0d 0a |MaxLives| > 0 )..|
|00004980| 09 7b 0d 0a 09 09 2f 2f | 20 63 68 65 63 6b 20 74 |.{....//| check t|
|00004990| 68 61 74 20 67 61 6d 65 | 20 69 73 6e 27 74 20 74 |hat game| isn't t|
|000049a0| 6f 6f 20 66 61 72 20 61 | 6c 6f 6e 67 0d 0a 09 09 |oo far a|long....|
|000049b0| 66 6f 72 20 28 20 43 3d | 4c 65 76 65 6c 2e 43 6f |for ( C=|Level.Co|
|000049c0| 6e 74 72 6f 6c 6c 65 72 | 4c 69 73 74 3b 20 43 21 |ntroller|List; C!|
|000049d0| 3d 4e 6f 6e 65 3b 20 43 | 3d 43 2e 4e 65 78 74 43 |=None; C|=C.NextC|
|000049e0| 6f 6e 74 72 6f 6c 6c 65 | 72 20 29 0d 0a 09 09 7b |ontrolle|r )....{|
|000049f0| 0d 0a 09 09 09 69 66 20 | 28 20 28 43 2e 50 6c 61 |.....if |( (C.Pla|
|00004a00| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00004a10| 66 6f 20 21 3d 20 4e 6f | 6e 65 29 20 26 26 20 28 |fo != No|ne) && (|
|00004a20| 43 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |C.Player|Replicat|
|00004a30| 69 6f 6e 49 6e 66 6f 2e | 4e 75 6d 4c 69 76 65 73 |ionInfo.|NumLives|
|00004a40| 20 3e 20 4c 61 74 65 45 | 6e 74 72 79 4c 69 76 65 | > LateE|ntryLive|
|00004a50| 73 29 20 29 0d 0a 09 09 | 09 7b 0d 0a 09 09 09 09 |s) )....|.{......|
|00004a60| 4f 70 74 69 6f 6e 73 20 | 3d 20 22 3f 53 70 65 63 |Options |= "?Spec|
|00004a70| 74 61 74 6f 72 4f 6e 6c | 79 3d 31 22 24 4f 70 74 |tatorOnl|y=1"$Opt|
|00004a80| 69 6f 6e 73 3b 0d 0a 09 | 09 09 09 62 72 65 61 6b |ions;...|...break|
|00004a90| 3b 0d 0a 09 09 09 7d 0d | 0a 09 09 7d 0d 0a 09 7d |;.....}.|...}...}|
|00004aa0| 0d 0a 0d 0a 20 20 20 20 | 4e 65 77 50 6c 61 79 65 |.... |NewPlaye|
|00004ab0| 72 20 3d 20 53 75 70 65 | 72 2e 4c 6f 67 69 6e 28 |r = Supe|r.Login(|
|00004ac0| 50 6f 72 74 61 6c 2c 4f | 70 74 69 6f 6e 73 2c 45 |Portal,O|ptions,E|
|00004ad0| 72 72 6f 72 29 3b 0d 0a | 20 20 20 20 69 66 20 28 |rror);..| if (|
|00004ae0| 20 62 4d 75 73 74 4a 6f | 69 6e 42 65 66 6f 72 65 | bMustJo|inBefore|
|00004af0| 53 74 61 72 74 20 26 26 | 20 47 61 6d 65 52 65 70 |Start &&| GameRep|
|00004b00| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 2e 62 4d 61 |lication|Info.bMa|
|00004b10| 74 63 68 48 61 73 42 65 | 67 75 6e 20 29 0d 0a 20 |tchHasBe|gun ).. |
|00004b20| 20 20 20 20 20 20 20 55 | 6e 72 65 61 6c 50 6c 61 | U|nrealPla|
|00004b30| 79 65 72 28 4e 65 77 50 | 6c 61 79 65 72 29 2e 62 |yer(NewP|layer).b|
|00004b40| 4c 61 74 65 63 6f 6d 65 | 72 20 3d 20 74 72 75 65 |Latecome|r = true|
|00004b50| 3b 0d 0a 0d 0a 09 69 66 | 20 28 20 4c 65 76 65 6c |;.....if| ( Level|
|00004b60| 2e 4e 65 74 4d 6f 64 65 | 20 3d 3d 20 4e 4d 5f 53 |.NetMode| == NM_S|
|00004b70| 74 61 6e 64 61 6c 6f 6e | 65 20 29 0d 0a 09 7b 0d |tandalon|e )...{.|
|00004b80| 0a 09 09 69 66 28 20 4e | 65 77 50 6c 61 79 65 72 |...if( N|ewPlayer|
|00004b90| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00004ba0| 6f 6e 49 6e 66 6f 2e 62 | 4f 6e 6c 79 53 70 65 63 |onInfo.b|OnlySpec|
|00004bb0| 74 61 74 6f 72 20 29 0d | 0a 09 09 7b 0d 0a 09 09 |tator ).|...{....|
|00004bc0| 09 2f 2f 20 43 6f 6d 70 | 65 6e 73 61 74 65 20 66 |.// Comp|ensate f|
|00004bd0| 6f 72 20 74 68 65 20 73 | 70 61 63 65 20 6c 65 66 |or the s|pace lef|
|00004be0| 74 20 66 6f 72 20 74 68 | 65 20 70 6c 61 79 65 72 |t for th|e player|
|00004bf0| 0d 0a 09 09 09 69 66 20 | 28 20 21 62 43 75 73 74 |.....if |( !bCust|
|00004c00| 6f 6d 42 6f 74 73 20 26 | 26 20 28 62 41 75 74 6f |omBots &|& (bAuto|
|00004c10| 4e 75 6d 42 6f 74 73 20 | 7c 7c 20 28 62 54 65 61 |NumBots ||| (bTea|
|00004c20| 6d 47 61 6d 65 20 26 26 | 20 28 49 6e 69 74 69 61 |mGame &&| (Initia|
|00004c30| 6c 42 6f 74 73 25 32 20 | 3d 3d 20 31 29 29 29 20 |lBots%2 |== 1))) |
|00004c40| 29 0d 0a 09 09 09 09 49 | 6e 69 74 69 61 6c 42 6f |)......I|nitialBo|
|00004c50| 74 73 2b 2b 3b 0d 0a 09 | 09 7d 0d 0a 09 09 65 6c |ts++;...|.}....el|
|00004c60| 73 65 0d 0a 09 09 09 53 | 74 61 6e 64 61 6c 6f 6e |se.....S|tandalon|
|00004c70| 65 50 6c 61 79 65 72 20 | 3d 20 4e 65 77 50 6c 61 |ePlayer |= NewPla|
|00004c80| 79 65 72 3b 0d 0a 09 7d | 0d 0a 0d 0a 20 20 20 20 |yer;...}|.... |
|00004c90| 72 65 74 75 72 6e 20 4e | 65 77 50 6c 61 79 65 72 |return N|ewPlayer|
|00004ca0| 3b 0d 0a 7d 0d 0a 0d 0a | 65 76 65 6e 74 20 50 6f |;..}....|event Po|
|00004cb0| 73 74 4c 6f 67 69 6e 28 | 20 70 6c 61 79 65 72 63 |stLogin(| playerc|
|00004cc0| 6f 6e 74 72 6f 6c 6c 65 | 72 20 4e 65 77 50 6c 61 |ontrolle|r NewPla|
|00004cd0| 79 65 72 20 29 0d 0a 7b | 0d 0a 09 53 75 70 65 72 |yer )..{|...Super|
|00004ce0| 2e 50 6f 73 74 4c 6f 67 | 69 6e 28 4e 65 77 50 6c |.PostLog|in(NewPl|
|00004cf0| 61 79 65 72 29 3b 0d 0a | 0d 0a 09 69 66 20 28 55 |ayer);..|...if (U|
|00004d00| 6e 72 65 61 6c 50 6c 61 | 79 65 72 28 4e 65 77 50 |nrealPla|yer(NewP|
|00004d10| 6c 61 79 65 72 29 20 21 | 3d 20 4e 6f 6e 65 29 0d |layer) !|= None).|
|00004d20| 0a 09 7b 0d 0a 09 09 55 | 6e 72 65 61 6c 50 6c 61 |..{....U|nrealPla|
|00004d30| 79 65 72 28 4e 65 77 50 | 6c 61 79 65 72 29 2e 43 |yer(NewP|layer).C|
|00004d40| 6c 69 65 6e 74 52 65 63 | 65 69 76 65 4c 6f 67 69 |lientRec|eiveLogi|
|00004d50| 6e 4d 65 6e 75 28 4c 6f | 67 69 6e 4d 65 6e 75 43 |nMenu(Lo|ginMenuC|
|00004d60| 6c 61 73 73 2c 20 62 41 | 6c 77 61 79 73 53 68 6f |lass, bA|lwaysSho|
|00004d70| 77 4c 6f 67 69 6e 4d 65 | 6e 75 29 3b 0d 0a 09 09 |wLoginMe|nu);....|
|00004d80| 55 6e 72 65 61 6c 50 6c | 61 79 65 72 28 4e 65 77 |UnrealPl|ayer(New|
|00004d90| 50 6c 61 79 65 72 29 2e | 50 6c 61 79 53 74 61 72 |Player).|PlayStar|
|00004da0| 74 55 70 4d 65 73 73 61 | 67 65 28 53 74 61 72 74 |tUpMessa|ge(Start|
|00004db0| 75 70 53 74 61 67 65 29 | 3b 0d 0a 09 7d 0d 0a 7d |upStage)|;...}..}|
|00004dc0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 43 68 61 |....func|tion Cha|
|00004dd0| 6e 67 65 4c 6f 61 64 4f | 75 74 28 50 6c 61 79 65 |ngeLoadO|ut(Playe|
|00004de0| 72 43 6f 6e 74 72 6f 6c | 6c 65 72 20 50 2c 20 73 |rControl|ler P, s|
|00004df0| 74 72 69 6e 67 20 4c 6f | 61 64 6f 75 74 4e 61 6d |tring Lo|adoutNam|
|00004e00| 65 29 3b 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |e);....f|unction |
|00004e10| 52 65 73 74 61 72 74 50 | 6c 61 79 65 72 28 20 43 |RestartP|layer( C|
|00004e20| 6f 6e 74 72 6f 6c 6c 65 | 72 20 61 50 6c 61 79 65 |ontrolle|r aPlaye|
|00004e30| 72 20 29 0d 0a 7b 0d 0a | 20 20 20 20 69 66 20 28 |r )..{..| if (|
|00004e40| 20 62 4d 75 73 74 4a 6f | 69 6e 42 65 66 6f 72 65 | bMustJo|inBefore|
|00004e50| 53 74 61 72 74 20 26 26 | 20 28 55 6e 72 65 61 6c |Start &&| (Unreal|
|00004e60| 50 6c 61 79 65 72 28 61 | 50 6c 61 79 65 72 29 20 |Player(a|Player) |
|00004e70| 21 3d 20 4e 6f 6e 65 29 | 0d 0a 20 20 20 20 20 20 |!= None)|.. |
|00004e80| 20 20 26 26 20 55 6e 72 | 65 61 6c 50 6c 61 79 65 | && Unr|ealPlaye|
|00004e90| 72 28 61 50 6c 61 79 65 | 72 29 2e 62 4c 61 74 65 |r(aPlaye|r).bLate|
|00004ea0| 63 6f 6d 65 72 20 29 0d | 0a 20 20 20 20 20 20 20 |comer ).|. |
|00004eb0| 20 72 65 74 75 72 6e 3b | 0d 0a 0d 0a 20 20 20 20 | return;|.... |
|00004ec0| 69 66 20 28 20 61 50 6c | 61 79 65 72 2e 50 6c 61 |if ( aPl|ayer.Pla|
|00004ed0| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00004ee0| 66 6f 2e 62 4f 75 74 4f | 66 4c 69 76 65 73 20 29 |fo.bOutO|fLives )|
|00004ef0| 0d 0a 20 20 20 20 20 20 | 20 20 72 65 74 75 72 6e |.. | return|
|00004f00| 3b 0d 0a 0d 0a 20 20 20 | 20 69 66 20 28 20 61 50 |;.... | if ( aP|
|00004f10| 6c 61 79 65 72 2e 49 73 | 41 28 27 42 6f 74 27 29 |layer.Is|A('Bot')|
|00004f20| 20 26 26 20 54 6f 6f 4d | 61 6e 79 42 6f 74 73 28 | && TooM|anyBots(|
|00004f30| 61 50 6c 61 79 65 72 29 | 20 29 0d 0a 20 20 20 20 |aPlayer)| ).. |
|00004f40| 7b 0d 0a 20 20 20 20 20 | 20 20 20 61 50 6c 61 79 |{.. | aPlay|
|00004f50| 65 72 2e 44 65 73 74 72 | 6f 79 28 29 3b 0d 0a 20 |er.Destr|oy();.. |
|00004f60| 20 20 20 20 20 20 20 72 | 65 74 75 72 6e 3b 0d 0a | r|eturn;..|
|00004f70| 20 20 20 20 7d 0d 0a 20 | 20 20 20 53 75 70 65 72 | }.. | Super|
|00004f80| 2e 52 65 73 74 61 72 74 | 50 6c 61 79 65 72 28 61 |.Restart|Player(a|
|00004f90| 50 6c 61 79 65 72 29 3b | 0d 0a 7d 0d 0a 0d 0a 66 |Player);|..}....f|
|00004fa0| 75 6e 63 74 69 6f 6e 20 | 62 6f 6f 6c 20 54 6f 6f |unction |bool Too|
|00004fb0| 4d 61 6e 79 42 6f 74 73 | 28 43 6f 6e 74 72 6f 6c |ManyBots|(Control|
|00004fc0| 6c 65 72 20 62 6f 74 54 | 6f 52 65 6d 6f 76 65 29 |ler botT|oRemove)|
|00004fd0| 0d 0a 7b 0d 0a 09 69 66 | 20 28 20 28 4c 65 76 65 |..{...if| ( (Leve|
|00004fe0| 6c 2e 4e 65 74 4d 6f 64 | 65 20 21 3d 20 4e 4d 5f |l.NetMod|e != NM_|
|00004ff0| 53 74 61 6e 64 61 6c 6f | 6e 65 29 20 26 26 20 62 |Standalo|ne) && b|
|00005000| 50 6c 61 79 65 72 73 56 | 73 42 6f 74 73 20 29 0d |PlayersV|sBots ).|
|00005010| 0a 09 09 72 65 74 75 72 | 6e 20 28 20 4e 75 6d 42 |...retur|n ( NumB|
|00005020| 6f 74 73 20 3e 20 4d 69 | 6e 28 31 36 2c 42 6f 74 |ots > Mi|n(16,Bot|
|00005030| 52 61 74 69 6f 2a 4e 75 | 6d 50 6c 61 79 65 72 73 |Ratio*Nu|mPlayers|
|00005040| 29 20 29 3b 0d 0a 09 69 | 66 20 28 20 62 50 6c 61 |) );...i|f ( bPla|
|00005050| 79 65 72 42 65 63 61 6d | 65 41 63 74 69 76 65 20 |yerBecam|eActive |
|00005060| 29 0d 0a 09 7b 0d 0a 09 | 09 62 50 6c 61 79 65 72 |)...{...|.bPlayer|
|00005070| 42 65 63 61 6d 65 41 63 | 74 69 76 65 20 3d 20 66 |BecameAc|tive = f|
|00005080| 61 6c 73 65 3b 0d 0a 09 | 09 72 65 74 75 72 6e 20 |alse;...|.return |
|00005090| 74 72 75 65 3b 0d 0a 09 | 7d 0d 0a 09 72 65 74 75 |true;...|}...retu|
|000050a0| 72 6e 20 53 75 70 65 72 | 2e 54 6f 6f 4d 61 6e 79 |rn Super|.TooMany|
|000050b0| 42 6f 74 73 28 42 6f 74 | 54 6f 52 65 6d 6f 76 65 |Bots(Bot|ToRemove|
|000050c0| 29 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |);..}...|.functio|
|000050d0| 6e 20 46 6f 72 63 65 41 | 64 64 42 6f 74 28 29 0d |n ForceA|ddBot().|
|000050e0| 0a 7b 0d 0a 20 20 20 20 | 2f 2f 20 61 64 64 20 62 |.{.. |// add b|
|000050f0| 6f 74 20 64 75 72 69 6e | 67 20 67 61 6d 65 70 6c |ot durin|g gamepl|
|00005100| 61 79 0d 0a 20 20 20 20 | 69 66 20 28 20 4c 65 76 |ay.. |if ( Lev|
|00005110| 65 6c 2e 4e 65 74 4d 6f | 64 65 20 21 3d 20 4e 4d |el.NetMo|de != NM|
|00005120| 5f 53 74 61 6e 64 61 6c | 6f 6e 65 20 29 0d 0a 20 |_Standal|one ).. |
|00005130| 20 20 20 20 20 20 20 4d | 69 6e 50 6c 61 79 65 72 | M|inPlayer|
|00005140| 73 20 3d 20 4d 61 78 28 | 4d 69 6e 50 6c 61 79 65 |s = Max(|MinPlaye|
|00005150| 72 73 2b 31 2c 20 4e 75 | 6d 50 6c 61 79 65 72 73 |rs+1, Nu|mPlayers|
|00005160| 20 2b 20 4e 75 6d 42 6f | 74 73 20 2b 20 31 29 3b | + NumBo|ts + 1);|
|00005170| 0d 0a 20 20 20 20 41 64 | 64 42 6f 74 28 29 3b 0d |.. Ad|dBot();.|
|00005180| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 62 |.}....fu|nction b|
|00005190| 6f 6f 6c 20 41 64 64 42 | 6f 74 28 6f 70 74 69 6f |ool AddB|ot(optio|
|000051a0| 6e 61 6c 20 73 74 72 69 | 6e 67 20 62 6f 74 4e 61 |nal stri|ng botNa|
|000051b0| 6d 65 29 0d 0a 7b 0d 0a | 20 20 20 20 6c 6f 63 61 |me)..{..| loca|
|000051c0| 6c 20 42 6f 74 20 4e 65 | 77 42 6f 74 3b 0d 0a 0d |l Bot Ne|wBot;...|
|000051d0| 0a 20 20 20 20 4e 65 77 | 42 6f 74 20 3d 20 53 70 |. New|Bot = Sp|
|000051e0| 61 77 6e 42 6f 74 28 62 | 6f 74 4e 61 6d 65 29 3b |awnBot(b|otName);|
|000051f0| 0d 0a 20 20 20 20 69 66 | 20 28 20 4e 65 77 42 6f |.. if| ( NewBo|
|00005200| 74 20 3d 3d 20 4e 6f 6e | 65 20 29 0d 0a 20 20 20 |t == Non|e ).. |
|00005210| 20 7b 0d 0a 20 20 20 20 | 20 20 20 20 77 61 72 6e | {.. | warn|
|00005220| 28 22 46 61 69 6c 65 64 | 20 74 6f 20 73 70 61 77 |("Failed| to spaw|
|00005230| 6e 20 62 6f 74 2e 22 29 | 3b 0d 0a 20 20 20 20 20 |n bot.")|;.. |
|00005240| 20 20 20 72 65 74 75 72 | 6e 20 66 61 6c 73 65 3b | retur|n false;|
|00005250| 0d 0a 20 20 20 20 7d 0d | 0a 20 20 20 20 2f 2f 20 |.. }.|. // |
|00005260| 62 72 6f 61 64 63 61 73 | 74 20 61 20 77 65 6c 63 |broadcas|t a welc|
|00005270| 6f 6d 65 20 6d 65 73 73 | 61 67 65 2e 0d 0a 20 20 |ome mess|age... |
|00005280| 20 20 42 72 6f 61 64 63 | 61 73 74 4c 6f 63 61 6c | Broadc|astLocal|
|00005290| 69 7a 65 64 4d 65 73 73 | 61 67 65 28 47 61 6d 65 |izedMess|age(Game|
|000052a0| 4d 65 73 73 61 67 65 43 | 6c 61 73 73 2c 20 31 2c |MessageC|lass, 1,|
|000052b0| 20 4e 65 77 42 6f 74 2e | 50 6c 61 79 65 72 52 65 | NewBot.|PlayerRe|
|000052c0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 29 3b 0d |plicatio|nInfo);.|
|000052d0| 0a 0d 0a 20 20 20 20 4e | 65 77 42 6f 74 2e 50 6c |... N|ewBot.Pl|
|000052e0| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|000052f0| 6e 66 6f 2e 50 6c 61 79 | 65 72 49 44 20 3d 20 43 |nfo.Play|erID = C|
|00005300| 75 72 72 65 6e 74 49 44 | 2b 2b 3b 0d 0a 20 20 20 |urrentID|++;.. |
|00005310| 20 4e 75 6d 42 6f 74 73 | 2b 2b 3b 0d 0a 20 20 20 | NumBots|++;.. |
|00005320| 20 69 66 20 28 20 4c 65 | 76 65 6c 2e 4e 65 74 4d | if ( Le|vel.NetM|
|00005330| 6f 64 65 20 3d 3d 20 4e | 4d 5f 53 74 61 6e 64 61 |ode == N|M_Standa|
|00005340| 6c 6f 6e 65 20 29 0d 0a | 09 09 52 65 73 74 61 72 |lone )..|..Restar|
|00005350| 74 50 6c 61 79 65 72 28 | 4e 65 77 42 6f 74 29 3b |tPlayer(|NewBot);|
|00005360| 0d 0a 09 65 6c 73 65 0d | 0a 09 09 4e 65 77 42 6f |...else.|...NewBo|
|00005370| 74 2e 47 6f 74 6f 53 74 | 61 74 65 28 27 44 65 61 |t.GotoSt|ate('Dea|
|00005380| 64 27 2c 27 4d 50 53 74 | 61 72 74 27 29 3b 0d 0a |d','MPSt|art');..|
|00005390| 0d 0a 20 20 20 20 72 65 | 74 75 72 6e 20 74 72 75 |.. re|turn tru|
|000053a0| 65 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |e;..}...|.functio|
|000053b0| 6e 20 41 64 64 44 65 66 | 61 75 6c 74 49 6e 76 65 |n AddDef|aultInve|
|000053c0| 6e 74 6f 72 79 28 20 70 | 61 77 6e 20 50 6c 61 79 |ntory( p|awn Play|
|000053d0| 65 72 50 61 77 6e 20 29 | 0d 0a 7b 0d 0a 20 20 20 |erPawn )|..{.. |
|000053e0| 20 69 66 20 28 20 55 6e | 72 65 61 6c 50 61 77 6e | if ( Un|realPawn|
|000053f0| 28 50 6c 61 79 65 72 50 | 61 77 6e 29 20 21 3d 20 |(PlayerP|awn) != |
|00005400| 4e 6f 6e 65 20 29 0d 0a | 20 20 20 20 20 20 20 20 |None )..| |
|00005410| 55 6e 72 65 61 6c 50 61 | 77 6e 28 50 6c 61 79 65 |UnrealPa|wn(Playe|
|00005420| 72 50 61 77 6e 29 2e 41 | 64 64 44 65 66 61 75 6c |rPawn).A|ddDefaul|
|00005430| 74 49 6e 76 65 6e 74 6f | 72 79 28 29 3b 0d 0a 20 |tInvento|ry();.. |
|00005440| 20 20 20 53 65 74 50 6c | 61 79 65 72 44 65 66 61 | SetPl|ayerDefa|
|00005450| 75 6c 74 73 28 50 6c 61 | 79 65 72 50 61 77 6e 29 |ults(Pla|yerPawn)|
|00005460| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00005470| 20 62 6f 6f 6c 20 43 61 | 6e 53 70 65 63 74 61 74 | bool Ca|nSpectat|
|00005480| 65 28 20 50 6c 61 79 65 | 72 43 6f 6e 74 72 6f 6c |e( Playe|rControl|
|00005490| 6c 65 72 20 56 69 65 77 | 65 72 2c 20 62 6f 6f 6c |ler View|er, bool|
|000054a0| 20 62 4f 6e 6c 79 53 70 | 65 63 74 61 74 6f 72 2c | bOnlySp|ectator,|
|000054b0| 20 61 63 74 6f 72 20 56 | 69 65 77 54 61 72 67 65 | actor V|iewTarge|
|000054c0| 74 20 29 0d 0a 7b 0d 0a | 20 20 20 20 69 66 20 28 |t )..{..| if (|
|000054d0| 20 56 69 65 77 54 61 72 | 67 65 74 20 3d 3d 20 4e | ViewTar|get == N|
|000054e0| 6f 6e 65 20 29 0d 0a 20 | 20 20 20 20 20 20 20 72 |one ).. | r|
|000054f0| 65 74 75 72 6e 20 66 61 | 6c 73 65 3b 0d 0a 09 69 |eturn fa|lse;...i|
|00005500| 66 20 28 20 43 6f 6e 74 | 72 6f 6c 6c 65 72 28 56 |f ( Cont|roller(V|
|00005510| 69 65 77 54 61 72 67 65 | 74 29 20 21 3d 20 4e 6f |iewTarge|t) != No|
|00005520| 6e 65 20 29 0d 0a 09 09 | 72 65 74 75 72 6e 20 28 |ne )....|return (|
|00005530| 20 28 43 6f 6e 74 72 6f | 6c 6c 65 72 28 56 69 65 | (Contro|ller(Vie|
|00005540| 77 54 61 72 67 65 74 29 | 2e 50 6c 61 79 65 72 52 |wTarget)|.PlayerR|
|00005550| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 20 21 |eplicati|onInfo !|
|00005560| 3d 20 4e 6f 6e 65 29 0d | 0a 09 09 09 09 26 26 20 |= None).|.....&& |
|00005570| 21 43 6f 6e 74 72 6f 6c | 6c 65 72 28 56 69 65 77 |!Control|ler(View|
|00005580| 54 61 72 67 65 74 29 2e | 50 6c 61 79 65 72 52 65 |Target).|PlayerRe|
|00005590| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 62 4f |plicatio|nInfo.bO|
|000055a0| 6e 6c 79 53 70 65 63 74 | 61 74 6f 72 20 29 3b 0d |nlySpect|ator );.|
|000055b0| 0a 20 20 20 20 72 65 74 | 75 72 6e 20 28 20 28 4c |. ret|urn ( (L|
|000055c0| 65 76 65 6c 2e 4e 65 74 | 4d 6f 64 65 20 3d 3d 20 |evel.Net|Mode == |
|000055d0| 4e 4d 5f 53 74 61 6e 64 | 61 6c 6f 6e 65 29 20 7c |NM_Stand|alone) ||
|000055e0| 7c 20 62 4f 6e 6c 79 53 | 70 65 63 74 61 74 6f 72 || bOnlyS|pectator|
|000055f0| 20 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 | );..}..|..functi|
|00005600| 6f 6e 20 62 6f 6f 6c 20 | 53 68 6f 75 6c 64 52 65 |on bool |ShouldRe|
|00005610| 73 70 61 77 6e 28 50 69 | 63 6b 75 70 20 4f 74 68 |spawn(Pi|ckup Oth|
|00005620| 65 72 29 0d 0a 7b 0d 0a | 20 20 20 20 72 65 74 75 |er)..{..| retu|
|00005630| 72 6e 20 28 20 4f 74 68 | 65 72 2e 52 65 53 70 61 |rn ( Oth|er.ReSpa|
|00005640| 77 6e 54 69 6d 65 21 3d | 30 2e 30 20 29 3b 0d 0a |wnTime!=|0.0 );..|
|00005650| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 43 68 |}....fun|ction Ch|
|00005660| 61 6e 67 65 4e 61 6d 65 | 28 43 6f 6e 74 72 6f 6c |angeName|(Control|
|00005670| 6c 65 72 20 4f 74 68 65 | 72 2c 20 73 74 72 69 6e |ler Othe|r, strin|
|00005680| 67 20 53 2c 20 62 6f 6f | 6c 20 62 4e 61 6d 65 43 |g S, boo|l bNameC|
|00005690| 68 61 6e 67 65 29 0d 0a | 7b 0d 0a 20 20 20 20 6c |hange)..|{.. l|
|000056a0| 6f 63 61 6c 20 43 6f 6e | 74 72 6f 6c 6c 65 72 20 |ocal Con|troller |
|000056b0| 41 50 6c 61 79 65 72 2c | 43 2c 20 50 3b 0d 0a 0d |APlayer,|C, P;...|
|000056c0| 0a 20 20 20 20 69 66 20 | 28 20 53 20 3d 3d 20 22 |. if |( S == "|
|000056d0| 22 20 29 0d 0a 20 20 20 | 20 20 20 20 20 72 65 74 |" ).. | ret|
|000056e0| 75 72 6e 3b 0d 0a 0d 0a | 20 20 20 20 69 66 20 28 |urn;....| if (|
|000056f0| 4f 74 68 65 72 2e 50 6c | 61 79 65 72 52 65 70 6c |Other.Pl|ayerRepl|
|00005700| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 70 6c 61 79 |icationI|nfo.play|
|00005710| 65 72 6e 61 6d 65 7e 3d | 53 29 0d 0a 20 20 20 20 |ername~=|S).. |
|00005720| 20 20 20 20 72 65 74 75 | 72 6e 3b 0d 0a 0d 0a 09 | retu|rn;.....|
|00005730| 53 20 3d 20 4c 65 66 74 | 28 53 2c 32 30 29 3b 0d |S = Left|(S,20);.|
|00005740| 0a 20 20 20 20 52 65 70 | 6c 61 63 65 54 65 78 74 |. Rep|laceText|
|00005750| 28 53 2c 20 22 20 22 2c | 20 22 5f 22 29 3b 0d 0a |(S, " ",| "_");..|
|00005760| 0d 0a 09 69 66 20 28 20 | 62 45 70 69 63 4e 61 6d |...if ( |bEpicNam|
|00005770| 65 73 20 26 26 20 28 42 | 6f 74 28 4f 74 68 65 72 |es && (B|ot(Other|
|00005780| 29 20 21 3d 20 4e 6f 6e | 65 29 20 29 0d 0a 09 7b |) != Non|e) )...{|
|00005790| 0d 0a 09 09 69 66 20 28 | 20 54 6f 74 61 6c 45 70 |....if (| TotalEp|
|000057a0| 69 63 20 3c 20 32 31 20 | 29 0d 0a 09 09 7b 0d 0a |ic < 21 |)....{..|
|000057b0| 09 09 09 53 20 3d 20 45 | 70 69 63 4e 61 6d 65 73 |...S = E|picNames|
|000057c0| 5b 45 70 69 63 4f 66 66 | 73 65 74 20 25 20 32 31 |[EpicOff|set % 21|
|000057d0| 5d 3b 0d 0a 09 09 09 45 | 70 69 63 4f 66 66 73 65 |];.....E|picOffse|
|000057e0| 74 2b 2b 3b 0d 0a 09 09 | 09 54 6f 74 61 6c 45 70 |t++;....|.TotalEp|
|000057f0| 69 63 2b 2b 3b 0d 0a 09 | 09 7d 0d 0a 09 09 65 6c |ic++;...|.}....el|
|00005800| 73 65 0d 0a 09 09 7b 0d | 0a 09 09 09 53 20 3d 20 |se....{.|....S = |
|00005810| 4e 61 6d 65 50 72 65 66 | 69 78 65 73 5b 4e 61 6d |NamePref|ixes[Nam|
|00005820| 65 4e 75 6d 62 65 72 25 | 31 30 5d 24 22 43 6c 69 |eNumber%|10]$"Cli|
|00005830| 66 66 79 42 22 24 4e 61 | 6d 65 53 75 66 66 69 78 |ffyB"$Na|meSuffix|
|00005840| 65 73 5b 4e 61 6d 65 4e | 75 6d 62 65 72 25 31 30 |es[NameN|umber%10|
|00005850| 5d 3b 0d 0a 09 09 09 4e | 61 6d 65 4e 75 6d 62 65 |];.....N|ameNumbe|
|00005860| 72 2b 2b 3b 0d 0a 09 09 | 7d 0d 0a 09 7d 0d 0a 0d |r++;....|}...}...|
|00005870| 0a 20 20 20 20 66 6f 72 | 28 20 41 50 6c 61 79 65 |. for|( APlaye|
|00005880| 72 3d 4c 65 76 65 6c 2e | 43 6f 6e 74 72 6f 6c 6c |r=Level.|Controll|
|00005890| 65 72 4c 69 73 74 3b 20 | 41 50 6c 61 79 65 72 21 |erList; |APlayer!|
|000058a0| 3d 4e 6f 6e 65 3b 20 41 | 50 6c 61 79 65 72 3d 41 |=None; A|Player=A|
|000058b0| 50 6c 61 79 65 72 2e 6e | 65 78 74 43 6f 6e 74 72 |Player.n|extContr|
|000058c0| 6f 6c 6c 65 72 20 29 0d | 0a 20 20 20 20 20 20 20 |oller ).|. |
|000058d0| 20 69 66 20 28 20 41 50 | 6c 61 79 65 72 2e 62 49 | if ( AP|layer.bI|
|000058e0| 73 50 6c 61 79 65 72 20 | 26 26 20 28 41 50 6c 61 |sPlayer |&& (APla|
|000058f0| 79 65 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |yer.Play|erReplic|
|00005900| 61 74 69 6f 6e 49 6e 66 | 6f 2e 70 6c 61 79 65 72 |ationInf|o.player|
|00005910| 6e 61 6d 65 7e 3d 53 29 | 20 29 0d 0a 20 20 20 20 |name~=S)| ).. |
|00005920| 20 20 20 20 7b 0d 0a 20 | 20 20 20 20 20 20 20 20 | {.. | |
|00005930| 20 20 20 69 66 20 28 20 | 4f 74 68 65 72 2e 49 73 | if ( |Other.Is|
|00005940| 41 28 27 50 6c 61 79 65 | 72 43 6f 6e 74 72 6f 6c |A('Playe|rControl|
|00005950| 6c 65 72 27 29 20 29 0d | 0a 20 20 20 20 20 20 20 |ler') ).|. |
|00005960| 20 20 20 20 20 7b 0d 0a | 20 20 20 20 20 20 20 20 | {..| |
|00005970| 20 20 20 20 20 20 20 20 | 50 6c 61 79 65 72 43 6f | |PlayerCo|
|00005980| 6e 74 72 6f 6c 6c 65 72 | 28 4f 74 68 65 72 29 2e |ntroller|(Other).|
|00005990| 52 65 63 65 69 76 65 4c | 6f 63 61 6c 69 7a 65 64 |ReceiveL|ocalized|
|000059a0| 4d 65 73 73 61 67 65 28 | 20 47 61 6d 65 4d 65 73 |Message(| GameMes|
|000059b0| 73 61 67 65 43 6c 61 73 | 73 2c 20 38 20 29 3b 0d |sageClas|s, 8 );.|
|000059c0| 0a 09 09 09 09 72 65 74 | 75 72 6e 3b 0d 0a 09 09 |.....ret|urn;....|
|000059d0| 09 7d 0d 0a 09 09 09 65 | 6c 73 65 0d 0a 09 09 09 |.}.....e|lse.....|
|000059e0| 7b 0d 0a 09 09 09 09 69 | 66 20 28 20 4f 74 68 65 |{......i|f ( Othe|
|000059f0| 72 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |r.Player|Replicat|
|00005a00| 69 6f 6e 49 6e 66 6f 2e | 62 49 73 46 65 6d 61 6c |ionInfo.|bIsFemal|
|00005a10| 65 20 29 0d 0a 09 09 09 | 09 7b 0d 0a 09 09 09 09 |e ).....|.{......|
|00005a20| 09 53 20 3d 20 46 65 6d | 61 6c 65 42 61 63 6b 75 |.S = Fem|aleBacku|
|00005a30| 70 4e 61 6d 65 73 5b 46 | 65 6d 61 6c 65 42 61 63 |pNames[F|emaleBac|
|00005a40| 6b 75 70 4e 61 6d 65 4f | 66 66 73 65 74 25 33 32 |kupNameO|ffset%32|
|00005a50| 5d 3b 0d 0a 09 09 09 09 | 09 46 65 6d 61 6c 65 42 |];......|.FemaleB|
|00005a60| 61 63 6b 75 70 4e 61 6d | 65 4f 66 66 73 65 74 2b |ackupNam|eOffset+|
|00005a70| 2b 3b 0d 0a 09 09 09 09 | 7d 0d 0a 09 09 09 09 65 |+;......|}......e|
|00005a80| 6c 73 65 0d 0a 09 09 09 | 09 7b 0d 0a 09 09 09 09 |lse.....|.{......|
|00005a90| 09 53 20 3d 20 4d 61 6c | 65 42 61 63 6b 75 70 4e |.S = Mal|eBackupN|
|00005aa0| 61 6d 65 73 5b 4d 61 6c | 65 42 61 63 6b 75 70 4e |ames[Mal|eBackupN|
|00005ab0| 61 6d 65 4f 66 66 73 65 | 74 25 33 32 5d 3b 0d 0a |ameOffse|t%32];..|
|00005ac0| 09 09 09 09 09 4d 61 6c | 65 42 61 63 6b 75 70 4e |.....Mal|eBackupN|
|00005ad0| 61 6d 65 4f 66 66 73 65 | 74 2b 2b 3b 0d 0a 09 09 |ameOffse|t++;....|
|00005ae0| 09 09 7d 0d 0a 09 09 09 | 09 66 6f 72 28 20 50 3d |..}.....|.for( P=|
|00005af0| 4c 65 76 65 6c 2e 43 6f | 6e 74 72 6f 6c 6c 65 72 |Level.Co|ntroller|
|00005b00| 4c 69 73 74 3b 20 50 21 | 3d 4e 6f 6e 65 3b 20 50 |List; P!|=None; P|
|00005b10| 3d 50 2e 6e 65 78 74 43 | 6f 6e 74 72 6f 6c 6c 65 |=P.nextC|ontrolle|
|00005b20| 72 20 29 0d 0a 09 09 09 | 09 09 69 66 20 28 20 50 |r ).....|..if ( P|
|00005b30| 2e 62 49 73 50 6c 61 79 | 65 72 20 26 26 20 28 50 |.bIsPlay|er && (P|
|00005b40| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00005b50| 6f 6e 49 6e 66 6f 2e 70 | 6c 61 79 65 72 6e 61 6d |onInfo.p|layernam|
|00005b60| 65 7e 3d 53 29 20 29 0d | 0a 09 09 09 09 09 7b 0d |e~=S) ).|......{.|
|00005b70| 0a 09 09 09 09 09 09 53 | 20 3d 20 4e 61 6d 65 50 |.......S| = NameP|
|00005b80| 72 65 66 69 78 65 73 5b | 4e 61 6d 65 4e 75 6d 62 |refixes[|NameNumb|
|00005b90| 65 72 25 31 30 5d 24 53 | 24 4e 61 6d 65 53 75 66 |er%10]$S|$NameSuf|
|00005ba0| 66 69 78 65 73 5b 4e 61 | 6d 65 4e 75 6d 62 65 72 |fixes[Na|meNumber|
|00005bb0| 25 31 30 5d 3b 0d 0a 09 | 09 09 09 09 09 4e 61 6d |%10];...|.....Nam|
|00005bc0| 65 4e 75 6d 62 65 72 2b | 2b 3b 0d 0a 09 09 09 09 |eNumber+|+;......|
|00005bd0| 09 09 62 72 65 61 6b 3b | 0d 0a 09 09 09 09 09 7d |..break;|.......}|
|00005be0| 0d 0a 09 09 09 09 62 72 | 65 61 6b 3b 0d 0a 09 09 |......br|eak;....|
|00005bf0| 09 7d 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |.}.. | |
|00005c00| 53 20 3d 20 4e 61 6d 65 | 50 72 65 66 69 78 65 73 |S = Name|Prefixes|
|00005c10| 5b 4e 61 6d 65 4e 75 6d | 62 65 72 25 31 30 5d 24 |[NameNum|ber%10]$|
|00005c20| 53 24 4e 61 6d 65 53 75 | 66 66 69 78 65 73 5b 4e |S$NameSu|ffixes[N|
|00005c30| 61 6d 65 4e 75 6d 62 65 | 72 25 31 30 5d 3b 0d 0a |ameNumbe|r%10];..|
|00005c40| 20 20 20 20 20 20 20 20 | 20 20 20 20 4e 61 6d 65 | | Name|
|00005c50| 4e 75 6d 62 65 72 2b 2b | 3b 0d 0a 20 20 20 20 20 |Number++|;.. |
|00005c60| 20 20 20 20 20 20 20 62 | 72 65 61 6b 3b 0d 0a 20 | b|reak;.. |
|00005c70| 20 20 20 20 20 20 20 7d | 0d 0a 0d 0a 09 69 66 28 | }|.....if(|
|00005c80| 20 62 4e 61 6d 65 43 68 | 61 6e 67 65 20 29 0d 0a | bNameCh|ange )..|
|00005c90| 09 09 47 61 6d 65 45 76 | 65 6e 74 28 22 4e 61 6d |..GameEv|ent("Nam|
|00005ca0| 65 43 68 61 6e 67 65 22 | 2c 73 2c 4f 74 68 65 72 |eChange"|,s,Other|
|00005cb0| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00005cc0| 6f 6e 49 6e 66 6f 29 3b | 0d 0a 0d 0a 09 69 66 20 |onInfo);|.....if |
|00005cd0| 28 20 53 20 7e 3d 20 22 | 43 6c 69 66 66 79 42 22 |( S ~= "|CliffyB"|
|00005ce0| 20 29 0d 0a 09 09 62 45 | 70 69 63 4e 61 6d 65 73 | )....bE|picNames|
|00005cf0| 20 3d 20 74 72 75 65 3b | 0d 0a 20 20 20 20 4f 74 | = true;|.. Ot|
|00005d00| 68 65 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |her.Play|erReplic|
|00005d10| 61 74 69 6f 6e 49 6e 66 | 6f 2e 53 65 74 50 6c 61 |ationInf|o.SetPla|
|00005d20| 79 65 72 4e 61 6d 65 28 | 53 29 3b 0d 0a 20 20 20 |yerName(|S);.. |
|00005d30| 20 2f 2f 20 6e 6f 74 69 | 66 79 20 6c 6f 63 61 6c | // noti|fy local|
|00005d40| 20 70 6c 61 79 65 72 73 | 0d 0a 20 20 20 20 69 66 | players|.. if|
|00005d50| 20 20 28 20 62 4e 61 6d | 65 43 68 61 6e 67 65 20 | ( bNam|eChange |
|00005d60| 29 0d 0a 09 09 66 6f 72 | 20 28 20 43 3d 4c 65 76 |)....for| ( C=Lev|
|00005d70| 65 6c 2e 43 6f 6e 74 72 | 6f 6c 6c 65 72 4c 69 73 |el.Contr|ollerLis|
|00005d80| 74 3b 20 43 21 3d 4e 6f | 6e 65 3b 20 43 3d 43 2e |t; C!=No|ne; C=C.|
|00005d90| 4e 65 78 74 43 6f 6e 74 | 72 6f 6c 6c 65 72 20 29 |NextCont|roller )|
|00005da0| 0d 0a 09 09 09 69 66 20 | 28 20 28 50 6c 61 79 65 |.....if |( (Playe|
|00005db0| 72 43 6f 6e 74 72 6f 6c | 6c 65 72 28 43 29 20 21 |rControl|ler(C) !|
|00005dc0| 3d 20 4e 6f 6e 65 29 20 | 26 26 20 28 56 69 65 77 |= None) |&& (View|
|00005dd0| 70 6f 72 74 28 50 6c 61 | 79 65 72 43 6f 6e 74 72 |port(Pla|yerContr|
|00005de0| 6f 6c 6c 65 72 28 43 29 | 2e 50 6c 61 79 65 72 29 |oller(C)|.Player)|
|00005df0| 20 21 3d 20 4e 6f 6e 65 | 29 20 29 0d 0a 09 09 09 | != None|) ).....|
|00005e00| 09 50 6c 61 79 65 72 43 | 6f 6e 74 72 6f 6c 6c 65 |.PlayerC|ontrolle|
|00005e10| 72 28 43 29 2e 52 65 63 | 65 69 76 65 4c 6f 63 61 |r(C).Rec|eiveLoca|
|00005e20| 6c 69 7a 65 64 4d 65 73 | 73 61 67 65 28 20 63 6c |lizedMes|sage( cl|
|00005e30| 61 73 73 27 47 61 6d 65 | 4d 65 73 73 61 67 65 27 |ass'Game|Message'|
|00005e40| 2c 20 32 2c 20 4f 74 68 | 65 72 2e 50 6c 61 79 65 |, 2, Oth|er.Playe|
|00005e50| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00005e60| 20 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 | );..}..|..functi|
|00005e70| 6f 6e 20 62 6f 6f 6c 20 | 42 65 63 6f 6d 65 53 70 |on bool |BecomeSp|
|00005e80| 65 63 74 61 74 6f 72 28 | 50 6c 61 79 65 72 43 6f |ectator(|PlayerCo|
|00005e90| 6e 74 72 6f 6c 6c 65 72 | 20 50 29 0d 0a 7b 0d 0a |ntroller| P)..{..|
|00005ea0| 09 69 66 20 28 20 21 53 | 75 70 65 72 2e 42 65 63 |.if ( !S|uper.Bec|
|00005eb0| 6f 6d 65 53 70 65 63 74 | 61 74 6f 72 28 50 29 20 |omeSpect|ator(P) |
|00005ec0| 29 0d 0a 09 09 72 65 74 | 75 72 6e 20 66 61 6c 73 |)....ret|urn fals|
|00005ed0| 65 3b 0d 0a 0d 0a 20 20 | 20 20 69 66 20 28 20 21 |e;.... | if ( !|
|00005ee0| 62 4b 69 6c 6c 42 6f 74 | 73 20 29 0d 0a 09 09 52 |bKillBot|s )....R|
|00005ef0| 65 6d 61 69 6e 69 6e 67 | 42 6f 74 73 2b 2b 3b 0d |emaining|Bots++;.|
|00005f00| 0a 20 20 20 20 69 66 20 | 28 20 21 4e 65 65 64 50 |. if |( !NeedP|
|00005f10| 6c 61 79 65 72 73 28 29 | 20 7c 7c 20 41 64 64 42 |layers()| || AddB|
|00005f20| 6f 74 28 29 20 29 0d 0a | 20 20 20 20 20 20 20 20 |ot() )..| |
|00005f30| 52 65 6d 61 69 6e 69 6e | 67 42 6f 74 73 2d 2d 3b |Remainin|gBots--;|
|00005f40| 0d 0a 09 72 65 74 75 72 | 6e 20 74 72 75 65 3b 0d |...retur|n true;.|
|00005f50| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 62 |.}....fu|nction b|
|00005f60| 6f 6f 6c 20 41 6c 6c 6f | 77 42 65 63 6f 6d 65 41 |ool Allo|wBecomeA|
|00005f70| 63 74 69 76 65 50 6c 61 | 79 65 72 28 50 6c 61 79 |ctivePla|yer(Play|
|00005f80| 65 72 43 6f 6e 74 72 6f | 6c 6c 65 72 20 50 29 0d |erContro|ller P).|
|00005f90| 0a 7b 0d 0a 09 69 66 20 | 28 20 53 75 70 65 72 2e |.{...if |( Super.|
|00005fa0| 41 6c 6c 6f 77 42 65 63 | 6f 6d 65 41 63 74 69 76 |AllowBec|omeActiv|
|00005fb0| 65 50 6c 61 79 65 72 28 | 50 29 20 29 0d 0a 09 7b |ePlayer(|P) )...{|
|00005fc0| 0d 0a 09 09 69 66 20 28 | 20 28 4c 65 76 65 6c 2e |....if (| (Level.|
|00005fd0| 4e 65 74 4d 6f 64 65 20 | 3d 3d 20 4e 4d 5f 53 74 |NetMode |== NM_St|
|00005fe0| 61 6e 64 61 6c 6f 6e 65 | 29 20 26 26 20 28 4e 75 |andalone|) && (Nu|
|00005ff0| 6d 42 6f 74 73 20 3e 20 | 49 6e 69 74 69 61 6c 42 |mBots > |InitialB|
|00006000| 6f 74 73 29 20 29 0d 0a | 09 09 7b 0d 0a 09 09 09 |ots) )..|..{.....|
|00006010| 52 65 6d 61 69 6e 69 6e | 67 42 6f 74 73 2d 2d 3b |Remainin|gBots--;|
|00006020| 0d 0a 09 09 09 62 50 6c | 61 79 65 72 42 65 63 61 |.....bPl|ayerBeca|
|00006030| 6d 65 41 63 74 69 76 65 | 20 3d 20 74 72 75 65 3b |meActive| = true;|
|00006040| 0d 0a 09 09 7d 0d 0a 09 | 09 72 65 74 75 72 6e 20 |....}...|.return |
|00006050| 74 72 75 65 3b 0d 0a 09 | 7d 0d 0a 09 72 65 74 75 |true;...|}...retu|
|00006060| 72 6e 20 66 61 6c 73 65 | 3b 0d 0a 7d 0d 0a 0d 0a |rn false|;..}....|
|00006070| 66 75 6e 63 74 69 6f 6e | 20 4c 6f 67 6f 75 74 28 |function| Logout(|
|00006080| 63 6f 6e 74 72 6f 6c 6c | 65 72 20 45 78 69 74 69 |controll|er Exiti|
|00006090| 6e 67 29 0d 0a 7b 0d 0a | 20 20 20 20 53 75 70 65 |ng)..{..| Supe|
|000060a0| 72 2e 4c 6f 67 6f 75 74 | 28 45 78 69 74 69 6e 67 |r.Logout|(Exiting|
|000060b0| 29 3b 0d 0a 20 20 20 20 | 69 66 20 28 20 45 78 69 |);.. |if ( Exi|
|000060c0| 74 69 6e 67 2e 49 73 41 | 28 27 42 6f 74 27 29 20 |ting.IsA|('Bot') |
|000060d0| 29 0d 0a 20 20 20 20 20 | 20 20 20 4e 75 6d 42 6f |).. | NumBo|
|000060e0| 74 73 2d 2d 3b 0d 0a 20 | 20 20 20 69 66 20 28 20 |ts--;.. | if ( |
|000060f0| 21 62 4b 69 6c 6c 42 6f | 74 73 20 29 0d 0a 09 09 |!bKillBo|ts )....|
|00006100| 52 65 6d 61 69 6e 69 6e | 67 42 6f 74 73 2b 2b 3b |Remainin|gBots++;|
|00006110| 0d 0a 20 20 20 20 69 66 | 20 28 20 21 4e 65 65 64 |.. if| ( !Need|
|00006120| 50 6c 61 79 65 72 73 28 | 29 20 7c 7c 20 41 64 64 |Players(|) || Add|
|00006130| 42 6f 74 28 29 20 29 0d | 0a 20 20 20 20 20 20 20 |Bot() ).|. |
|00006140| 20 52 65 6d 61 69 6e 69 | 6e 67 42 6f 74 73 2d 2d | Remaini|ngBots--|
|00006150| 3b 0d 0a 20 20 20 20 69 | 66 20 28 20 4d 61 78 4c |;.. i|f ( MaxL|
|00006160| 69 76 65 73 20 3e 20 30 | 20 29 0d 0a 20 20 20 20 |ives > 0| ).. |
|00006170| 20 20 20 20 20 43 68 65 | 63 6b 4d 61 78 4c 69 76 | Che|ckMaxLiv|
|00006180| 65 73 28 6e 6f 6e 65 29 | 3b 0d 0a 09 2f 2f 56 6f |es(none)|;...//Vo|
|00006190| 74 69 6e 67 48 61 6e 64 | 6c 65 72 2e 50 6c 61 79 |tingHand|ler.Play|
|000061a0| 65 72 45 78 69 74 28 45 | 78 69 74 69 6e 67 29 3b |erExit(E|xiting);|
|000061b0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|000061c0| 62 6f 6f 6c 20 4e 65 65 | 64 50 6c 61 79 65 72 73 |bool Nee|dPlayers|
|000061d0| 28 29 0d 0a 7b 0d 0a 20 | 20 20 20 69 66 20 28 20 |()..{.. | if ( |
|000061e0| 4c 65 76 65 6c 2e 4e 65 | 74 4d 6f 64 65 20 3d 3d |Level.Ne|tMode ==|
|000061f0| 20 4e 4d 5f 53 74 61 6e | 64 61 6c 6f 6e 65 20 29 | NM_Stan|dalone )|
|00006200| 0d 0a 20 20 20 20 20 20 | 20 20 72 65 74 75 72 6e |.. | return|
|00006210| 20 28 20 52 65 6d 61 69 | 6e 69 6e 67 42 6f 74 73 | ( Remai|ningBots|
|00006220| 20 3e 20 30 20 29 3b 0d | 0a 20 20 20 20 69 66 20 | > 0 );.|. if |
|00006230| 28 20 62 4d 75 73 74 4a | 6f 69 6e 42 65 66 6f 72 |( bMustJ|oinBefor|
|00006240| 65 53 74 61 72 74 20 29 | 0d 0a 20 20 20 20 20 20 |eStart )|.. |
|00006250| 20 20 72 65 74 75 72 6e | 20 66 61 6c 73 65 3b 0d | return| false;.|
|00006260| 0a 20 20 20 20 69 66 20 | 28 20 62 50 6c 61 79 65 |. if |( bPlaye|
|00006270| 72 73 56 73 42 6f 74 73 | 20 29 0d 0a 09 09 72 65 |rsVsBots| )....re|
|00006280| 74 75 72 6e 20 28 20 4e | 75 6d 42 6f 74 73 20 3c |turn ( N|umBots <|
|00006290| 20 4d 69 6e 28 31 36 2c | 42 6f 74 52 61 74 69 6f | Min(16,|BotRatio|
|000062a0| 2a 4e 75 6d 50 6c 61 79 | 65 72 73 29 20 29 3b 0d |*NumPlay|ers) );.|
|000062b0| 0a 20 20 20 20 72 65 74 | 75 72 6e 20 28 4e 75 6d |. ret|urn (Num|
|000062c0| 50 6c 61 79 65 72 73 20 | 2b 20 4e 75 6d 42 6f 74 |Players |+ NumBot|
|000062d0| 73 20 3c 20 4d 69 6e 50 | 6c 61 79 65 72 73 29 3b |s < MinP|layers);|
|000062e0| 0d 0a 7d 0d 0a 0d 0a 2f | 2f 2d 2d 2d 2d 2d 2d 2d |..}..../|/-------|
|000062f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006300| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006310| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006320| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006330| 2d 2d 2d 2d 2d 2d 2d 0d | 0a 2f 2f 20 47 61 6d 65 |-------.|.// Game|
|00006340| 20 51 75 65 72 79 69 6e | 67 2e 0d 0a 0d 0a 66 75 | Queryin|g.....fu|
|00006350| 6e 63 74 69 6f 6e 20 47 | 65 74 53 65 72 76 65 72 |nction G|etServer|
|00006360| 44 65 74 61 69 6c 73 28 | 20 6f 75 74 20 53 65 72 |Details(| out Ser|
|00006370| 76 65 72 52 65 73 70 6f | 6e 73 65 4c 69 6e 65 20 |verRespo|nseLine |
|00006380| 53 65 72 76 65 72 53 74 | 61 74 65 20 29 0d 0a 7b |ServerSt|ate )..{|
|00006390| 0d 0a 09 53 75 70 65 72 | 2e 47 65 74 53 65 72 76 |...Super|.GetServ|
|000063a0| 65 72 44 65 74 61 69 6c | 73 28 20 53 65 72 76 65 |erDetail|s( Serve|
|000063b0| 72 53 74 61 74 65 20 29 | 3b 0d 0a 09 41 64 64 53 |rState )|;...AddS|
|000063c0| 65 72 76 65 72 44 65 74 | 61 69 6c 28 20 53 65 72 |erverDet|ail( Ser|
|000063d0| 76 65 72 53 74 61 74 65 | 2c 20 22 47 6f 61 6c 53 |verState|, "GoalS|
|000063e0| 63 6f 72 65 22 2c 20 47 | 6f 61 6c 53 63 6f 72 65 |core", G|oalScore|
|000063f0| 20 29 3b 0d 0a 09 41 64 | 64 53 65 72 76 65 72 44 | );...Ad|dServerD|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.