home *** CD-ROM | disk | FTP | other *** search
Unknown | 1999-11-30 | 40.7 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 71 8b 05 2f 2f 3d 3d 3d |........|q..//===|
|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 50 6c 75 73 2e 0d 0a |eathMatc|hPlus...|
|00000070| 2f 2f 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 3d 3d 3d 3d 3d 0d |========|=======.|
|000000c0| 0a 63 6c 61 73 73 20 44 | 65 61 74 68 4d 61 74 63 |.class D|eathMatc|
|000000d0| 68 50 6c 75 73 20 65 78 | 74 65 6e 64 73 20 54 6f |hPlus ex|tends To|
|000000e0| 75 72 6e 61 6d 65 6e 74 | 47 61 6d 65 49 6e 66 6f |urnament|GameInfo|
|000000f0| 0d 0a 09 63 6f 6e 66 69 | 67 3b 0d 0a 0d 0a 2f 2f |...confi|g;....//|
|00000100| 20 53 6f 75 6e 64 73 0d | 0a 23 65 78 65 63 20 4f | Sounds.|.#exec O|
|00000110| 42 4a 20 4c 4f 41 44 20 | 46 49 4c 45 3d 2e 2e 5c |BJ LOAD |FILE=..\|
|00000120| 53 6f 75 6e 64 73 5c 41 | 6e 6e 6f 75 6e 63 65 72 |Sounds\A|nnouncer|
|00000130| 2e 75 61 78 0d 0a 0d 0a | 76 61 72 28 29 20 67 6c |.uax....|var() gl|
|00000140| 6f 62 61 6c 63 6f 6e 66 | 69 67 20 69 6e 74 20 20 |obalconf|ig int |
|00000150| 4d 69 6e 50 6c 61 79 65 | 72 73 3b 09 09 2f 2f 20 |MinPlaye|rs;..// |
|00000160| 62 6f 74 73 20 66 69 6c | 6c 20 69 6e 20 74 6f 20 |bots fil|l in to |
|00000170| 67 75 61 72 61 6e 74 65 | 65 20 74 68 69 73 20 6c |guarante|e this l|
|00000180| 65 76 65 6c 20 69 6e 20 | 6e 65 74 20 67 61 6d 65 |evel in |net game|
|00000190| 20 0d 0a 76 61 72 28 29 | 20 67 6c 6f 62 61 6c 63 | ..var()| globalc|
|000001a0| 6f 6e 66 69 67 20 66 6c | 6f 61 74 20 41 69 72 43 |onfig fl|oat AirC|
|000001b0| 6f 6e 74 72 6f 6c 3b 20 | 0d 0a 76 61 72 28 29 20 |ontrol; |..var() |
|000001c0| 63 6f 6e 66 69 67 20 69 | 6e 74 09 46 72 61 67 4c |config i|nt.FragL|
|000001d0| 69 6d 69 74 3b 20 0d 0a | 76 61 72 28 29 20 63 6f |imit; ..|var() co|
|000001e0| 6e 66 69 67 20 69 6e 74 | 09 54 69 6d 65 4c 69 6d |nfig int|.TimeLim|
|000001f0| 69 74 3b 20 2f 2f 20 74 | 69 6d 65 20 6c 69 6d 69 |it; // t|ime limi|
|00000200| 74 20 69 6e 20 6d 69 6e | 75 74 65 73 0d 0a 76 61 |t in min|utes..va|
|00000210| 72 28 29 20 67 6c 6f 62 | 61 6c 63 6f 6e 66 69 67 |r() glob|alconfig|
|00000220| 20 62 6f 6f 6c 20 62 43 | 68 61 6e 67 65 4c 65 76 | bool bC|hangeLev|
|00000230| 65 6c 73 3b 0d 0a 76 61 | 72 28 29 20 67 6c 6f 62 |els;..va|r() glob|
|00000240| 61 6c 63 6f 6e 66 69 67 | 20 62 6f 6f 6c 20 62 48 |alconfig| bool bH|
|00000250| 61 72 64 43 6f 72 65 4d | 6f 64 65 3b 0d 0a 76 61 |ardCoreM|ode;..va|
|00000260| 72 20 20 20 62 6f 6f 6c | 09 09 09 20 20 20 20 62 |r bool|... b|
|00000270| 43 68 61 6c 6c 65 6e 67 | 65 4d 6f 64 65 3b 0d 0a |Challeng|eMode;..|
|00000280| 76 61 72 28 29 20 67 6c | 6f 62 61 6c 63 6f 6e 66 |var() gl|obalconf|
|00000290| 69 67 20 62 6f 6f 6c 20 | 62 4d 65 67 61 53 70 65 |ig bool |bMegaSpe|
|000002a0| 65 64 3b 0d 0a 76 61 72 | 28 29 20 67 6c 6f 62 61 |ed;..var|() globa|
|000002b0| 6c 63 6f 6e 66 69 67 20 | 62 6f 6f 6c 09 62 41 6c |lconfig |bool.bAl|
|000002c0| 74 53 63 6f 72 69 6e 67 | 3b 0d 0a 76 61 72 28 29 |tScoring|;..var()|
|000002d0| 20 63 6f 6e 66 69 67 20 | 62 6f 6f 6c 09 62 4d 75 | config |bool.bMu|
|000002e0| 6c 74 69 57 65 61 70 6f | 6e 53 74 61 79 3b 0d 0a |ltiWeapo|nStay;..|
|000002f0| 76 61 72 28 29 20 63 6f | 6e 66 69 67 20 62 6f 6f |var() co|nfig boo|
|00000300| 6c 09 62 46 6f 72 63 65 | 52 65 73 70 61 77 6e 3b |l.bForce|Respawn;|
|00000310| 0d 0a 76 61 72 09 09 62 | 6f 6f 6c 09 62 41 6c 77 |..var..b|ool.bAlw|
|00000320| 61 79 73 46 6f 72 63 65 | 52 65 73 70 61 77 6e 3b |aysForce|Respawn;|
|00000330| 0d 0a 76 61 72 09 09 62 | 6f 6f 6c 09 62 44 6f 6e |..var..b|ool.bDon|
|00000340| 74 52 65 73 74 61 72 74 | 3b 0d 0a 76 61 72 09 09 |tRestart|;..var..|
|00000350| 62 6f 6f 6c 09 62 41 6c | 72 65 61 64 79 43 68 61 |bool.bAl|readyCha|
|00000360| 6e 67 65 64 3b 0d 0a 76 | 61 72 09 09 62 6f 6f 6c |nged;..v|ar..bool|
|00000370| 09 62 46 69 72 73 74 42 | 6c 6f 6f 64 3b 0d 0a 0d |.bFirstB|lood;...|
|00000380| 0a 76 61 72 28 29 20 67 | 6c 6f 62 61 6c 63 6f 6e |.var() g|lobalcon|
|00000390| 66 69 67 20 62 6f 6f 6c | 20 62 54 6f 75 72 6e 61 |fig bool| bTourna|
|000003a0| 6d 65 6e 74 3b 0d 0a 76 | 61 72 20 20 62 6f 6f 6c |ment;..v|ar bool|
|000003b0| 20 62 52 65 71 75 69 72 | 65 52 65 61 64 79 3b 0d | bRequir|eReady;.|
|000003c0| 0a 76 61 72 28 29 20 62 | 6f 6f 6c 20 62 4e 6f 76 |.var() b|ool bNov|
|000003d0| 69 63 65 4d 6f 64 65 3b | 0d 0a 76 61 72 28 29 20 |iceMode;|..var() |
|000003e0| 67 6c 6f 62 61 6c 63 6f | 6e 66 69 67 20 69 6e 74 |globalco|nfig int|
|000003f0| 20 4e 65 74 57 61 69 74 | 3b 20 2f 2f 20 74 69 6d | NetWait|; // tim|
|00000400| 65 20 74 6f 20 77 61 69 | 74 20 66 6f 72 20 70 6c |e to wai|t for pl|
|00000410| 61 79 65 72 73 20 69 6e | 20 6e 65 74 67 61 6d 65 |ayers in| netgame|
|00000420| 73 20 77 2f 20 62 4e 65 | 74 52 65 61 64 79 20 28 |s w/ bNe|tReady (|
|00000430| 74 79 70 69 63 61 6c 6c | 79 20 74 65 61 6d 20 67 |typicall|y team g|
|00000440| 61 6d 65 73 29 0d 0a 76 | 61 72 28 29 20 67 6c 6f |ames)..v|ar() glo|
|00000450| 62 61 6c 63 6f 6e 66 69 | 67 20 69 6e 74 20 52 65 |balconfi|g int Re|
|00000460| 73 74 61 72 74 57 61 69 | 74 3b 0d 0a 76 61 72 20 |startWai|t;..var |
|00000470| 63 6f 6e 66 69 67 20 62 | 6f 6f 6c 20 62 55 73 65 |config b|ool bUse|
|00000480| 54 72 61 6e 73 6c 6f 63 | 61 74 6f 72 3b 0d 0a 76 |Transloc|ator;..v|
|00000490| 61 72 20 62 6f 6f 6c 20 | 62 4a 75 6d 70 4d 61 74 |ar bool |bJumpMat|
|000004a0| 63 68 3b 0d 0a 76 61 72 | 20 62 6f 6f 6c 20 62 54 |ch;..var| bool bT|
|000004b0| 68 72 65 65 50 6c 75 73 | 3b 0d 0a 76 61 72 20 62 |hreePlus|;..var b|
|000004c0| 6f 6f 6c 20 62 46 75 6c | 66 69 6c 6c 65 64 53 70 |ool bFul|filledSp|
|000004d0| 65 63 69 61 6c 3b 0d 0a | 76 61 72 20 62 6f 6f 6c |ecial;..|var bool|
|000004e0| 09 62 4e 65 74 52 65 61 | 64 79 3b 0d 0a 76 61 72 |.bNetRea|dy;..var|
|000004f0| 20 62 6f 6f 6c 20 62 52 | 61 74 65 64 54 72 61 6e | bool bR|atedTran|
|00000500| 73 6c 6f 63 61 74 6f 72 | 3b 0d 0a 76 61 72 20 62 |slocator|;..var b|
|00000510| 6f 6f 6c 20 62 53 74 61 | 72 74 4d 61 74 63 68 3b |ool bSta|rtMatch;|
|00000520| 0d 0a 0d 0a 76 61 72 09 | 69 6e 74 20 52 65 6d 61 |....var.|int Rema|
|00000530| 69 6e 69 6e 67 54 69 6d | 65 2c 20 45 6c 61 70 73 |iningTim|e, Elaps|
|00000540| 65 64 54 69 6d 65 3b 0d | 0a 76 61 72 20 69 6e 74 |edTime;.|.var int|
|00000550| 20 43 6f 75 6e 74 44 6f | 77 6e 2c 20 53 74 61 72 | CountDo|wn, Star|
|00000560| 74 43 6f 75 6e 74 3b 0d | 0a 76 61 72 20 6c 6f 63 |tCount;.|.var loc|
|00000570| 61 6c 69 7a 65 64 20 73 | 74 72 69 6e 67 20 53 74 |alized s|tring St|
|00000580| 61 72 74 55 70 4d 65 73 | 73 61 67 65 3b 0d 0a 76 |artUpMes|sage;..v|
|00000590| 61 72 20 6c 6f 63 61 6c | 69 7a 65 64 20 73 74 72 |ar local|ized str|
|000005a0| 69 6e 67 20 54 6f 75 72 | 6e 65 79 4d 65 73 73 61 |ing Tour|neyMessa|
|000005b0| 67 65 3b 0d 0a 76 61 72 | 20 6c 6f 63 61 6c 69 7a |ge;..var| localiz|
|000005c0| 65 64 20 73 74 72 69 6e | 67 20 57 61 69 74 69 6e |ed strin|g Waitin|
|000005d0| 67 4d 65 73 73 61 67 65 | 31 3b 0d 0a 76 61 72 20 |gMessage|1;..var |
|000005e0| 6c 6f 63 61 6c 69 7a 65 | 64 20 73 74 72 69 6e 67 |localize|d string|
|000005f0| 20 57 61 69 74 69 6e 67 | 4d 65 73 73 61 67 65 32 | Waiting|Message2|
|00000600| 3b 0d 0a 76 61 72 20 6c | 6f 63 61 6c 69 7a 65 64 |;..var l|ocalized|
|00000610| 20 73 74 72 69 6e 67 20 | 52 65 61 64 79 4d 65 73 | string |ReadyMes|
|00000620| 73 61 67 65 3b 0d 0a 76 | 61 72 20 6c 6f 63 61 6c |sage;..v|ar local|
|00000630| 69 7a 65 64 20 73 74 72 | 69 6e 67 20 4e 6f 74 52 |ized str|ing NotR|
|00000640| 65 61 64 79 4d 65 73 73 | 61 67 65 3b 0d 0a 76 61 |eadyMess|age;..va|
|00000650| 72 20 6c 6f 63 61 6c 69 | 7a 65 64 20 73 74 72 69 |r locali|zed stri|
|00000660| 6e 67 20 43 6f 75 6e 74 | 44 6f 77 6e 4d 65 73 73 |ng Count|DownMess|
|00000670| 61 67 65 3b 0d 0a 76 61 | 72 20 6c 6f 63 61 6c 69 |age;..va|r locali|
|00000680| 7a 65 64 20 73 74 72 69 | 6e 67 20 53 74 61 72 74 |zed stri|ng Start|
|00000690| 4d 65 73 73 61 67 65 3b | 0d 0a 76 61 72 20 6c 6f |Message;|..var lo|
|000006a0| 63 61 6c 69 7a 65 64 20 | 73 74 72 69 6e 67 20 47 |calized |string G|
|000006b0| 61 6d 65 45 6e 64 65 64 | 4d 65 73 73 61 67 65 3b |ameEnded|Message;|
|000006c0| 0d 0a 76 61 72 20 6c 6f | 63 61 6c 69 7a 65 64 20 |..var lo|calized |
|000006d0| 73 74 72 69 6e 67 20 53 | 69 6e 67 6c 65 57 61 69 |string S|ingleWai|
|000006e0| 74 69 6e 67 4d 65 73 73 | 61 67 65 3b 0d 0a 76 61 |tingMess|age;..va|
|000006f0| 72 20 6c 6f 63 61 6c 69 | 7a 65 64 20 73 74 72 69 |r locali|zed stri|
|00000700| 6e 67 20 67 61 6d 65 67 | 6f 61 6c 3b 0d 0a 0d 0a |ng gameg|oal;....|
|00000710| 76 61 72 20 66 6c 6f 61 | 74 20 4c 61 73 74 54 61 |var floa|t LastTa|
|00000720| 75 6e 74 54 69 6d 65 3b | 0d 0a 76 61 72 20 4e 61 |untTime;|..var Na|
|00000730| 76 69 67 61 74 69 6f 6e | 50 6f 69 6e 74 20 4c 61 |vigation|Point La|
|00000740| 73 74 53 74 61 72 74 53 | 70 6f 74 3b 0d 0a 76 61 |stStartS|pot;..va|
|00000750| 72 28 29 20 63 6f 6e 66 | 69 67 20 69 6e 74 09 4d |r() conf|ig int.M|
|00000760| 61 78 43 6f 6d 6d 61 6e | 64 65 72 73 3b 0d 0a 76 |axComman|ders;..v|
|00000770| 61 72 20 69 6e 74 20 20 | 20 4e 75 6d 43 6f 6d 6d |ar int | NumComm|
|00000780| 61 6e 64 65 72 73 3b 0d | 0a 0d 0a 76 61 72 20 62 |anders;.|...var b|
|00000790| 6f 6f 6c 20 62 54 75 74 | 6f 72 69 61 6c 47 61 6d |ool bTut|orialGam|
|000007a0| 65 3b 0d 0a 0d 0a 2f 2f | 20 42 6f 74 20 72 65 6c |e;....//| Bot rel|
|000007b0| 61 74 65 64 20 69 6e 66 | 6f 0d 0a 76 61 72 20 20 |ated inf|o..var |
|000007c0| 20 69 6e 74 09 09 09 09 | 4e 75 6d 42 6f 74 73 3b | int....|NumBots;|
|000007d0| 0d 0a 76 61 72 09 20 20 | 69 6e 74 09 09 09 09 52 |..var. |int....R|
|000007e0| 65 6d 61 69 6e 69 6e 67 | 42 6f 74 73 3b 0d 0a 76 |emaining|Bots;..v|
|000007f0| 61 72 09 20 20 69 6e 74 | 09 09 09 09 4c 61 73 74 |ar. int|....Last|
|00000800| 54 61 75 6e 74 5b 34 5d | 3b 0d 0a 76 61 72 28 29 |Taunt[4]|;..var()|
|00000810| 20 67 6c 6f 62 61 6c 63 | 6f 6e 66 69 67 20 69 6e | globalc|onfig in|
|00000820| 74 09 49 6e 69 74 69 61 | 6c 42 6f 74 73 3b 0d 0a |t.Initia|lBots;..|
|00000830| 76 61 72 09 43 68 61 6c | 6c 65 6e 67 65 42 6f 74 |var.Chal|lengeBot|
|00000840| 49 6e 66 6f 09 42 6f 74 | 43 6f 6e 66 69 67 3b 0d |Info.Bot|Config;.|
|00000850| 0a 76 61 72 20 6c 6f 63 | 61 6c 69 7a 65 64 20 73 |.var loc|alized s|
|00000860| 74 72 69 6e 67 09 4e 6f | 4e 61 6d 65 43 68 61 6e |tring.No|NameChan|
|00000870| 67 65 2c 20 4f 76 65 72 | 74 69 6d 65 4d 65 73 73 |ge, Over|timeMess|
|00000880| 61 67 65 3b 0d 0a 76 61 | 72 20 63 6c 61 73 73 3c |age;..va|r class<|
|00000890| 43 68 61 6c 6c 65 6e 67 | 65 42 6f 74 49 6e 66 6f |Challeng|eBotInfo|
|000008a0| 3e 09 09 42 6f 74 43 6f | 6e 66 69 67 54 79 70 65 |>..BotCo|nfigType|
|000008b0| 3b 0d 0a 0d 0a 2f 2f 20 | 50 6c 61 79 65 72 20 72 |;....// |Player r|
|000008c0| 61 74 69 6e 67 20 76 61 | 72 69 61 62 6c 65 73 20 |ating va|riables |
|000008d0| 66 6f 72 20 73 69 6e 67 | 6c 65 20 70 6c 61 79 65 |for sing|le playe|
|000008e0| 72 20 72 61 74 65 64 20 | 67 61 6d 65 73 0d 0a 76 |r rated |games..v|
|000008f0| 61 72 20 66 6c 6f 61 74 | 20 50 6c 61 79 65 72 52 |ar float| PlayerR|
|00000900| 61 74 69 6e 67 2c 20 41 | 76 67 4f 70 70 6f 6e 65 |ating, A|vgOppone|
|00000910| 6e 74 52 61 74 69 6e 67 | 3b 0d 0a 76 61 72 20 69 |ntRating|;..var i|
|00000920| 6e 74 20 4e 75 6d 4f 70 | 70 2c 20 57 69 6e 43 6f |nt NumOp|p, WinCo|
|00000930| 75 6e 74 2c 20 4c 6f 73 | 65 43 6f 75 6e 74 3b 0d |unt, Los|eCount;.|
|00000940| 0a 76 61 72 20 50 6c 61 | 79 65 72 50 61 77 6e 20 |.var Pla|yerPawn |
|00000950| 52 61 74 65 64 50 6c 61 | 79 65 72 3b 0d 0a 76 61 |RatedPla|yer;..va|
|00000960| 72 20 69 6e 74 20 49 44 | 6e 75 6d 3b 0d 0a 76 61 |r int ID|num;..va|
|00000970| 72 20 52 61 74 65 64 4d | 61 74 63 68 49 6e 66 6f |r RatedM|atchInfo|
|00000980| 20 52 61 74 65 64 4d 61 | 74 63 68 43 6f 6e 66 69 | RatedMa|tchConfi|
|00000990| 67 3b 0d 0a 76 61 72 20 | 66 6c 6f 61 74 20 45 6e |g;..var |float En|
|000009a0| 64 54 69 6d 65 3b 0d 0a | 76 61 72 20 69 6e 74 20 |dTime;..|var int |
|000009b0| 4c 61 64 64 65 72 54 79 | 70 65 49 6e 64 65 78 3b |LadderTy|peIndex;|
|000009c0| 0d 0a 0d 0a 76 61 72 20 | 4c 61 64 64 65 72 49 6e |....var |LadderIn|
|000009d0| 76 65 6e 74 6f 72 79 20 | 52 61 74 65 64 47 61 6d |ventory |RatedGam|
|000009e0| 65 4c 61 64 64 65 72 4f | 62 6a 3b 0d 0a 0d 0a 66 |eLadderO|bj;....f|
|000009f0| 75 6e 63 74 69 6f 6e 20 | 50 6f 73 74 42 65 67 69 |unction |PostBegi|
|00000a00| 6e 50 6c 61 79 28 29 0d | 0a 7b 0d 0a 09 6c 6f 63 |nPlay().|.{...loc|
|00000a10| 61 6c 20 73 74 72 69 6e | 67 20 4e 65 78 74 50 6c |al strin|g NextPl|
|00000a20| 61 79 65 72 43 6c 61 73 | 73 3b 0d 0a 09 6c 6f 63 |ayerClas|s;...loc|
|00000a30| 61 6c 20 69 6e 74 20 69 | 3b 0d 0a 0d 0a 09 69 66 |al int i|;.....if|
|00000a40| 20 28 20 62 41 6c 74 65 | 72 6e 61 74 65 4d 6f 64 | ( bAlte|rnateMod|
|00000a50| 65 20 29 0d 0a 09 7b 0d | 0a 09 09 62 56 65 72 79 |e )...{.|...bVery|
|00000a60| 4c 6f 77 47 6f 72 65 20 | 3d 20 74 72 75 65 3b 0d |LowGore |= true;.|
|00000a70| 0a 09 09 62 4c 6f 77 47 | 6f 72 65 20 3d 20 74 72 |...bLowG|ore = tr|
|00000a80| 75 65 3b 0d 0a 09 7d 0d | 0a 09 42 6f 74 43 6f 6e |ue;...}.|..BotCon|
|00000a90| 66 69 67 20 3d 20 73 70 | 61 77 6e 28 42 6f 74 43 |fig = sp|awn(BotC|
|00000aa0| 6f 6e 66 69 67 54 79 70 | 65 29 3b 0d 0a 09 69 66 |onfigTyp|e);...if|
|00000ab0| 20 28 20 4c 65 76 65 6c | 2e 4e 65 74 4d 6f 64 65 | ( Level|.NetMode|
|00000ac0| 20 3d 3d 20 4e 4d 5f 53 | 74 61 6e 64 61 6c 6f 6e | == NM_S|tandalon|
|00000ad0| 65 20 29 0d 0a 09 09 52 | 65 6d 61 69 6e 69 6e 67 |e )....R|emaining|
|00000ae0| 42 6f 74 73 20 3d 20 49 | 6e 69 74 69 61 6c 42 6f |Bots = I|nitialBo|
|00000af0| 74 73 3b 0d 0a 09 65 6c | 73 65 0d 0a 09 09 52 65 |ts;...el|se....Re|
|00000b00| 6d 61 69 6e 69 6e 67 42 | 6f 74 73 20 3d 20 30 3b |mainingB|ots = 0;|
|00000b10| 0d 0a 09 53 75 70 65 72 | 2e 50 6f 73 74 42 65 67 |...Super|.PostBeg|
|00000b20| 69 6e 50 6c 61 79 28 29 | 3b 0d 0a 09 47 61 6d 65 |inPlay()|;...Game|
|00000b30| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00000b40| 52 65 6d 61 69 6e 69 6e | 67 54 69 6d 65 20 3d 20 |Remainin|gTime = |
|00000b50| 52 65 6d 61 69 6e 69 6e | 67 54 69 6d 65 3b 0d 0a |Remainin|gTime;..|
|00000b60| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 50 72 |}....fun|ction Pr|
|00000b70| 65 43 61 63 68 65 52 65 | 66 65 72 65 6e 63 65 73 |eCacheRe|ferences|
|00000b80| 28 29 0d 0a 7b 0d 0a 09 | 2f 2f 6e 65 76 65 72 20 |()..{...|//never |
|00000b90| 63 61 6c 6c 65 64 20 2d | 20 68 65 72 65 20 74 6f |called -| here to|
|00000ba0| 20 66 6f 72 63 65 20 70 | 72 65 63 61 63 68 69 6e | force p|recachin|
|00000bb0| 67 20 6f 66 20 6d 65 73 | 68 65 73 0d 0a 09 73 70 |g of mes|hes...sp|
|00000bc0| 61 77 6e 28 63 6c 61 73 | 73 27 54 4d 61 6c 65 31 |awn(clas|s'TMale1|
|00000bd0| 27 29 3b 0d 0a 09 73 70 | 61 77 6e 28 63 6c 61 73 |');...sp|awn(clas|
|00000be0| 73 27 54 4d 61 6c 65 32 | 27 29 3b 0d 0a 09 73 70 |s'TMale2|');...sp|
|00000bf0| 61 77 6e 28 63 6c 61 73 | 73 27 54 46 65 6d 61 6c |awn(clas|s'TFemal|
|00000c00| 65 31 27 29 3b 0d 0a 09 | 73 70 61 77 6e 28 63 6c |e1');...|spawn(cl|
|00000c10| 61 73 73 27 54 46 65 6d | 61 6c 65 32 27 29 3b 0d |ass'TFem|ale2');.|
|00000c20| 0a 09 73 70 61 77 6e 28 | 63 6c 61 73 73 27 49 6d |..spawn(|class'Im|
|00000c30| 70 61 63 74 48 61 6d 6d | 65 72 27 29 3b 0d 0a 09 |pactHamm|er');...|
|00000c40| 73 70 61 77 6e 28 63 6c | 61 73 73 27 54 72 61 6e |spawn(cl|ass'Tran|
|00000c50| 73 6c 6f 63 61 74 6f 72 | 27 29 3b 0d 0a 09 73 70 |slocator|');...sp|
|00000c60| 61 77 6e 28 63 6c 61 73 | 73 27 45 6e 66 6f 72 63 |awn(clas|s'Enforc|
|00000c70| 65 72 27 29 3b 0d 0a 09 | 73 70 61 77 6e 28 63 6c |er');...|spawn(cl|
|00000c80| 61 73 73 27 55 54 5f 42 | 69 6f 72 69 66 6c 65 27 |ass'UT_B|iorifle'|
|00000c90| 29 3b 0d 0a 09 73 70 61 | 77 6e 28 63 6c 61 73 73 |);...spa|wn(class|
|00000ca0| 27 53 68 6f 63 6b 52 69 | 66 6c 65 27 29 3b 0d 0a |'ShockRi|fle');..|
|00000cb0| 09 73 70 61 77 6e 28 63 | 6c 61 73 73 27 50 75 6c |.spawn(c|lass'Pul|
|00000cc0| 73 65 47 75 6e 27 29 3b | 0d 0a 09 73 70 61 77 6e |seGun');|...spawn|
|00000cd0| 28 63 6c 61 73 73 27 52 | 69 70 70 65 72 27 29 3b |(class'R|ipper');|
|00000ce0| 0d 0a 09 73 70 61 77 6e | 28 63 6c 61 73 73 27 4d |...spawn|(class'M|
|00000cf0| 69 6e 69 67 75 6e 32 27 | 29 3b 0d 0a 09 73 70 61 |inigun2'|);...spa|
|00000d00| 77 6e 28 63 6c 61 73 73 | 27 55 54 5f 46 6c 61 6b |wn(class|'UT_Flak|
|00000d10| 43 61 6e 6e 6f 6e 27 29 | 3b 0d 0a 09 73 70 61 77 |Cannon')|;...spaw|
|00000d20| 6e 28 63 6c 61 73 73 27 | 55 54 5f 45 69 67 68 74 |n(class'|UT_Eight|
|00000d30| 62 61 6c 6c 27 29 3b 0d | 0a 09 73 70 61 77 6e 28 |ball');.|..spawn(|
|00000d40| 63 6c 61 73 73 27 53 6e | 69 70 65 72 52 69 66 6c |class'Sn|iperRifl|
|00000d50| 65 27 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |e');..}.|...funct|
|00000d60| 69 6f 6e 20 43 68 65 63 | 6b 52 65 61 64 79 28 29 |ion Chec|kReady()|
|00000d70| 0d 0a 7b 0d 0a 09 69 66 | 20 28 20 28 46 72 61 67 |..{...if| ( (Frag|
|00000d80| 4c 69 6d 69 74 20 3d 3d | 20 30 29 20 26 26 20 28 |Limit ==| 0) && (|
|00000d90| 54 69 6d 65 4c 69 6d 69 | 74 20 3d 3d 20 30 29 20 |TimeLimi|t == 0) |
|00000da0| 29 0d 0a 09 7b 0d 0a 09 | 09 54 69 6d 65 4c 69 6d |)...{...|.TimeLim|
|00000db0| 69 74 20 3d 20 32 30 3b | 0d 0a 09 09 52 65 6d 61 |it = 20;|....Rema|
|00000dc0| 69 6e 69 6e 67 54 69 6d | 65 20 3d 20 36 30 20 2a |iningTim|e = 60 *|
|00000dd0| 20 54 69 6d 65 4c 69 6d | 69 74 3b 0d 0a 09 7d 0d | TimeLim|it;...}.|
|00000de0| 0a 7d 0d 0a 0d 0a 2f 2f | 0d 0a 2f 2f 20 53 65 74 |.}....//|..// Set|
|00000df0| 20 67 61 6d 65 70 6c 61 | 79 20 73 70 65 65 64 2e | gamepla|y speed.|
|00000e00| 0d 0a 2f 2f 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 53 |..//..fu|nction S|
|00000e10| 65 74 47 61 6d 65 53 70 | 65 65 64 28 20 46 6c 6f |etGameSp|eed( Flo|
|00000e20| 61 74 20 54 20 29 0d 0a | 7b 0d 0a 09 47 61 6d 65 |at T )..|{...Game|
|00000e30| 53 70 65 65 64 20 3d 20 | 46 4d 61 78 28 54 2c 20 |Speed = |FMax(T, |
|00000e40| 30 2e 31 29 3b 0d 0a 09 | 69 66 20 28 20 62 48 61 |0.1);...|if ( bHa|
|00000e50| 72 64 43 6f 72 65 4d 6f | 64 65 20 29 0d 0a 09 7b |rdCoreMo|de )...{|
|00000e60| 0d 0a 09 09 69 66 20 28 | 20 62 43 68 61 6c 6c 65 |....if (| bChalle|
|00000e70| 6e 67 65 4d 6f 64 65 20 | 29 0d 0a 09 09 09 4c 65 |ngeMode |).....Le|
|00000e80| 76 65 6c 2e 54 69 6d 65 | 44 69 6c 61 74 69 6f 6e |vel.Time|Dilation|
|00000e90| 20 3d 20 31 2e 32 35 20 | 2a 20 47 61 6d 65 53 70 | = 1.25 |* GameSp|
|00000ea0| 65 65 64 3b 0d 0a 09 09 | 65 6c 73 65 0d 0a 09 09 |eed;....|else....|
|00000eb0| 09 4c 65 76 65 6c 2e 54 | 69 6d 65 44 69 6c 61 74 |.Level.T|imeDilat|
|00000ec0| 69 6f 6e 20 3d 20 31 2e | 31 20 2a 20 47 61 6d 65 |ion = 1.|1 * Game|
|00000ed0| 53 70 65 65 64 3b 0d 0a | 09 7d 0d 0a 09 65 6c 73 |Speed;..|.}...els|
|00000ee0| 65 0d 0a 09 09 4c 65 76 | 65 6c 2e 54 69 6d 65 44 |e....Lev|el.TimeD|
|00000ef0| 69 6c 61 74 69 6f 6e 20 | 3d 20 47 61 6d 65 53 70 |ilation |= GameSp|
|00000f00| 65 65 64 3b 0d 0a 09 53 | 61 76 65 43 6f 6e 66 69 |eed;...S|aveConfi|
|00000f10| 67 28 29 3b 0d 0a 09 53 | 65 74 54 69 6d 65 72 28 |g();...S|etTimer(|
|00000f20| 4c 65 76 65 6c 2e 54 69 | 6d 65 44 69 6c 61 74 69 |Level.Ti|meDilati|
|00000f30| 6f 6e 2c 20 74 72 75 65 | 29 3b 0d 0a 7d 0d 0a 0d |on, true|);..}...|
|00000f40| 0a 66 75 6e 63 74 69 6f | 6e 20 50 6c 61 79 54 65 |.functio|n PlayTe|
|00000f50| 6c 65 70 6f 72 74 45 66 | 66 65 63 74 28 20 61 63 |leportEf|fect( ac|
|00000f60| 74 6f 72 20 49 6e 63 6f | 6d 69 6e 67 2c 20 62 6f |tor Inco|ming, bo|
|00000f70| 6f 6c 20 62 4f 75 74 2c | 20 62 6f 6f 6c 20 62 53 |ol bOut,| bool bS|
|00000f80| 6f 75 6e 64 29 0d 0a 7b | 0d 0a 20 09 6c 6f 63 61 |ound)..{|.. .loca|
|00000f90| 6c 20 55 54 54 65 6c 65 | 70 6f 72 74 45 66 66 65 |l UTTele|portEffe|
|00000fa0| 63 74 20 50 54 45 3b 0d | 0a 0d 0a 09 69 66 20 28 |ct PTE;.|....if (|
|00000fb0| 20 62 52 65 71 75 69 72 | 65 52 65 61 64 79 20 26 | bRequir|eReady &|
|00000fc0| 26 20 28 43 6f 75 6e 74 | 64 6f 77 6e 20 3e 20 30 |& (Count|down > 0|
|00000fd0| 29 20 29 0d 0a 09 09 72 | 65 74 75 72 6e 3b 0d 0a |) )....r|eturn;..|
|00000fe0| 0d 0a 09 69 66 20 28 20 | 49 6e 63 6f 6d 69 6e 67 |...if ( |Incoming|
|00000ff0| 2e 62 49 73 50 61 77 6e | 20 26 26 20 28 49 6e 63 |.bIsPawn| && (Inc|
|00001000| 6f 6d 69 6e 67 2e 4d 65 | 73 68 20 21 3d 20 4e 6f |oming.Me|sh != No|
|00001010| 6e 65 29 20 29 0d 0a 09 | 7b 0d 0a 09 09 69 66 20 |ne) )...|{....if |
|00001020| 28 20 62 53 6f 75 6e 64 | 20 29 0d 0a 09 09 7b 0d |( bSound| )....{.|
|00001030| 0a 20 09 09 09 50 54 45 | 20 3d 20 53 70 61 77 6e |. ...PTE| = Spawn|
|00001040| 28 63 6c 61 73 73 27 55 | 54 54 65 6c 65 70 6f 72 |(class'U|TTelepor|
|00001050| 74 45 66 66 65 63 74 27 | 2c 49 6e 63 6f 6d 69 6e |tEffect'|,Incomin|
|00001060| 67 2c 2c 20 49 6e 63 6f | 6d 69 6e 67 2e 4c 6f 63 |g,, Inco|ming.Loc|
|00001070| 61 74 69 6f 6e 2c 20 49 | 6e 63 6f 6d 69 6e 67 2e |ation, I|ncoming.|
|00001080| 52 6f 74 61 74 69 6f 6e | 29 3b 0d 0a 20 09 09 09 |Rotation|);.. ...|
|00001090| 50 54 45 2e 49 6e 69 74 | 69 61 6c 69 7a 65 28 50 |PTE.Init|ialize(P|
|000010a0| 61 77 6e 28 49 6e 63 6f | 6d 69 6e 67 29 2c 20 62 |awn(Inco|ming), b|
|000010b0| 4f 75 74 29 3b 0d 0a 09 | 09 09 50 54 45 2e 50 6c |Out);...|..PTE.Pl|
|000010c0| 61 79 53 6f 75 6e 64 28 | 73 6f 75 6e 64 27 52 65 |aySound(|sound'Re|
|000010d0| 73 70 32 41 27 2c 2c 20 | 31 30 2e 30 29 3b 0d 0a |sp2A',, |10.0);..|
|000010e0| 09 09 7d 0d 0a 09 7d 0d | 0a 7d 0d 0a 0d 0a 2f 2f |..}...}.|.}....//|
|000010f0| 20 50 61 72 73 65 20 6f | 70 74 69 6f 6e 73 20 66 | Parse o|ptions f|
|00001100| 6f 72 20 74 68 69 73 20 | 67 61 6d 65 2e 2e 2e 0d |or this |game....|
|00001110| 0a 65 76 65 6e 74 20 49 | 6e 69 74 47 61 6d 65 28 |.event I|nitGame(|
|00001120| 20 73 74 72 69 6e 67 20 | 4f 70 74 69 6f 6e 73 2c | string |Options,|
|00001130| 20 6f 75 74 20 73 74 72 | 69 6e 67 20 45 72 72 6f | out str|ing Erro|
|00001140| 72 20 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 73 |r )..{..|.local s|
|00001150| 74 72 69 6e 67 20 49 6e | 4f 70 74 3b 0d 0a 0d 0a |tring In|Opt;....|
|00001160| 09 53 75 70 65 72 2e 49 | 6e 69 74 47 61 6d 65 28 |.Super.I|nitGame(|
|00001170| 4f 70 74 69 6f 6e 73 2c | 20 45 72 72 6f 72 29 3b |Options,| Error);|
|00001180| 0d 0a 0d 0a 09 52 65 6d | 61 69 6e 69 6e 67 54 69 |.....Rem|ainingTi|
|00001190| 6d 65 20 3d 20 36 30 20 | 2a 20 54 69 6d 65 4c 69 |me = 60 |* TimeLi|
|000011a0| 6d 69 74 3b 0d 0a 09 53 | 65 74 47 61 6d 65 53 70 |mit;...S|etGameSp|
|000011b0| 65 65 64 28 47 61 6d 65 | 53 70 65 65 64 29 3b 0d |eed(Game|Speed);.|
|000011c0| 0a 09 46 72 61 67 4c 69 | 6d 69 74 20 3d 20 47 65 |..FragLi|mit = Ge|
|000011d0| 74 49 6e 74 4f 70 74 69 | 6f 6e 28 20 4f 70 74 69 |tIntOpti|on( Opti|
|000011e0| 6f 6e 73 2c 20 22 46 72 | 61 67 4c 69 6d 69 74 22 |ons, "Fr|agLimit"|
|000011f0| 2c 20 46 72 61 67 4c 69 | 6d 69 74 20 29 3b 0d 0a |, FragLi|mit );..|
|00001200| 09 54 69 6d 65 4c 69 6d | 69 74 20 3d 20 47 65 74 |.TimeLim|it = Get|
|00001210| 49 6e 74 4f 70 74 69 6f | 6e 28 20 4f 70 74 69 6f |IntOptio|n( Optio|
|00001220| 6e 73 2c 20 22 54 69 6d | 65 4c 69 6d 69 74 22 2c |ns, "Tim|eLimit",|
|00001230| 20 54 69 6d 65 4c 69 6d | 69 74 20 29 3b 0d 0a 09 | TimeLim|it );...|
|00001240| 4d 61 78 43 6f 6d 6d 61 | 6e 64 65 72 73 20 3d 20 |MaxComma|nders = |
|00001250| 47 65 74 49 6e 74 4f 70 | 74 69 6f 6e 28 20 4f 70 |GetIntOp|tion( Op|
|00001260| 74 69 6f 6e 73 2c 20 22 | 4d 61 78 43 6f 6d 6d 61 |tions, "|MaxComma|
|00001270| 6e 64 65 72 73 22 2c 20 | 4d 61 78 43 6f 6d 6d 61 |nders", |MaxComma|
|00001280| 6e 64 65 72 73 20 29 3b | 0d 0a 0d 0a 09 49 6e 4f |nders );|.....InO|
|00001290| 70 74 20 3d 20 50 61 72 | 73 65 4f 70 74 69 6f 6e |pt = Par|seOption|
|000012a0| 28 20 4f 70 74 69 6f 6e | 73 2c 20 22 43 6f 6f 70 |( Option|s, "Coop|
|000012b0| 57 65 61 70 6f 6e 4d 6f | 64 65 22 29 3b 0d 0a 09 |WeaponMo|de");...|
|000012c0| 69 66 20 28 20 49 6e 4f | 70 74 20 21 3d 20 22 22 |if ( InO|pt != ""|
|000012d0| 20 29 0d 0a 09 7b 0d 0a | 09 09 6c 6f 67 28 22 43 | )...{..|..log("C|
|000012e0| 6f 6f 70 57 65 61 70 6f | 6e 4d 6f 64 65 3a 20 22 |oopWeapo|nMode: "|
|000012f0| 24 62 6f 6f 6c 28 49 6e | 4f 70 74 29 29 3b 0d 0a |$bool(In|Opt));..|
|00001300| 09 09 62 43 6f 6f 70 57 | 65 61 70 6f 6e 4d 6f 64 |..bCoopW|eaponMod|
|00001310| 65 20 3d 20 62 6f 6f 6c | 28 49 6e 4f 70 74 29 3b |e = bool|(InOpt);|
|00001320| 0d 0a 09 7d 0d 0a 0d 0a | 09 49 44 6e 75 6d 20 3d |...}....|.IDnum =|
|00001330| 20 2d 31 3b 0d 0a 09 49 | 44 6e 75 6d 20 3d 20 47 | -1;...I|Dnum = G|
|00001340| 65 74 49 6e 74 4f 70 74 | 69 6f 6e 28 20 4f 70 74 |etIntOpt|ion( Opt|
|00001350| 69 6f 6e 73 2c 20 22 54 | 6f 75 72 6e 61 6d 65 6e |ions, "T|ournamen|
|00001360| 74 22 2c 20 49 44 6e 75 | 6d 20 29 3b 0d 0a 09 69 |t", IDnu|m );...i|
|00001370| 66 20 28 20 49 44 6e 75 | 6d 20 3e 20 30 20 29 0d |f ( IDnu|m > 0 ).|
|00001380| 0a 09 7b 0d 0a 09 09 62 | 52 61 74 65 64 47 61 6d |..{....b|RatedGam|
|00001390| 65 20 3d 20 74 72 75 65 | 3b 0d 0a 09 09 54 69 6d |e = true|;....Tim|
|000013a0| 65 4c 69 6d 69 74 20 3d | 20 30 3b 0d 0a 09 09 52 |eLimit =| 0;....R|
|000013b0| 65 6d 61 69 6e 69 6e 67 | 54 69 6d 65 20 3d 20 30 |emaining|Time = 0|
|000013c0| 3b 0d 0a 09 7d 0d 0a 09 | 69 66 20 28 20 62 54 6f |;...}...|if ( bTo|
|000013d0| 75 72 6e 61 6d 65 6e 74 | 20 29 20 0d 0a 09 7b 0d |urnament| ) ...{.|
|000013e0| 0a 09 09 62 52 65 71 75 | 69 72 65 52 65 61 64 79 |...bRequ|ireReady|
|000013f0| 20 3d 20 74 72 75 65 3b | 0d 0a 09 09 43 68 65 63 | = true;|....Chec|
|00001400| 6b 52 65 61 64 79 28 29 | 3b 0d 0a 09 7d 0d 0a 09 |kReady()|;...}...|
|00001410| 69 66 20 28 20 4c 65 76 | 65 6c 2e 4e 65 74 4d 6f |if ( Lev|el.NetMo|
|00001420| 64 65 20 3d 3d 20 4e 4d | 5f 53 74 61 6e 64 41 6c |de == NM|_StandAl|
|00001430| 6f 6e 65 20 29 0d 0a 09 | 7b 0d 0a 09 09 62 52 65 |one )...|{....bRe|
|00001440| 71 75 69 72 65 52 65 61 | 64 79 20 3d 20 74 72 75 |quireRea|dy = tru|
|00001450| 65 3b 0d 0a 09 09 43 6f | 75 6e 74 44 6f 77 6e 20 |e;....Co|untDown |
|00001460| 3d 20 31 3b 0d 0a 09 7d | 0d 0a 09 69 66 20 28 20 |= 1;...}|...if ( |
|00001470| 21 62 52 65 71 75 69 72 | 65 52 65 61 64 79 20 26 |!bRequir|eReady &|
|00001480| 26 20 28 4c 65 76 65 6c | 2e 4e 65 74 4d 6f 64 65 |& (Level|.NetMode|
|00001490| 20 21 3d 20 4e 4d 5f 53 | 74 61 6e 64 61 6c 6f 6e | != NM_S|tandalon|
|000014a0| 65 29 20 29 0d 0a 09 7b | 0d 0a 09 09 62 52 65 71 |e) )...{|....bReq|
|000014b0| 75 69 72 65 52 65 61 64 | 79 20 3d 20 74 72 75 65 |uireRead|y = true|
|000014c0| 3b 0d 0a 09 09 62 4e 65 | 74 52 65 61 64 79 20 3d |;....bNe|tReady =|
|000014d0| 20 74 72 75 65 3b 0d 0a | 09 7d 0d 0a 7d 0d 0a 0d | true;..|.}..}...|
|000014e0| 0a 2f 2f 20 53 65 74 20 | 67 61 6d 65 20 73 65 74 |.// Set |game set|
|000014f0| 74 69 6e 67 73 20 62 61 | 73 65 64 20 6f 6e 20 6c |tings ba|sed on l|
|00001500| 61 64 64 65 72 20 69 6e | 66 6f 72 6d 61 74 69 6f |adder in|formatio|
|00001510| 6e 2e 0d 0a 2f 2f 20 43 | 61 6c 6c 65 64 20 77 68 |n...// C|alled wh|
|00001520| 65 6e 20 52 61 74 65 64 | 50 6c 61 79 65 72 20 6c |en Rated|Player l|
|00001530| 6f 67 73 20 69 6e 2e 0d | 0a 66 75 6e 63 74 69 6f |ogs in..|.functio|
|00001540| 6e 20 49 6e 69 74 52 61 | 74 65 64 47 61 6d 65 28 |n InitRa|tedGame(|
|00001550| 4c 61 64 64 65 72 49 6e | 76 65 6e 74 6f 72 79 20 |LadderIn|ventory |
|00001560| 4c 61 64 64 65 72 4f 62 | 6a 2c 20 50 6c 61 79 65 |LadderOb|j, Playe|
|00001570| 72 50 61 77 6e 20 4c 61 | 64 64 65 72 50 6c 61 79 |rPawn La|dderPlay|
|00001580| 65 72 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 63 |er)..{..|.local c|
|00001590| 6c 61 73 73 3c 52 61 74 | 65 64 4d 61 74 63 68 49 |lass<Rat|edMatchI|
|000015a0| 6e 66 6f 3e 20 52 4d 49 | 3b 0d 0a 09 6c 6f 63 61 |nfo> RMI|;...loca|
|000015b0| 6c 20 57 65 61 70 6f 6e | 20 57 3b 0d 0a 0d 0a 09 |l Weapon| W;.....|
|000015c0| 46 72 61 67 4c 69 6d 69 | 74 20 3d 20 4c 61 64 64 |FragLimi|t = Ladd|
|000015d0| 65 72 4f 62 6a 2e 43 75 | 72 72 65 6e 74 4c 61 64 |erObj.Cu|rrentLad|
|000015e0| 64 65 72 2e 44 65 66 61 | 75 6c 74 2e 46 72 61 67 |der.Defa|ult.Frag|
|000015f0| 4c 69 6d 69 74 73 5b 49 | 44 6e 75 6d 5d 3b 0d 0a |Limits[I|Dnum];..|
|00001600| 09 52 61 74 65 64 47 61 | 6d 65 4c 61 64 64 65 72 |.RatedGa|meLadder|
|00001610| 4f 62 6a 20 3d 20 4c 61 | 64 64 65 72 4f 62 6a 3b |Obj = La|dderObj;|
|00001620| 0d 0a 09 69 66 20 28 4c | 61 64 64 65 72 4f 62 6a |...if (L|adderObj|
|00001630| 2e 43 75 72 72 65 6e 74 | 4c 61 64 64 65 72 2e 44 |.Current|Ladder.D|
|00001640| 65 66 61 75 6c 74 2e 54 | 69 6d 65 4c 69 6d 69 74 |efault.T|imeLimit|
|00001650| 73 5b 49 44 6e 75 6d 5d | 20 3e 20 30 29 0d 0a 09 |s[IDnum]| > 0)...|
|00001660| 09 54 69 6d 65 4c 69 6d | 69 74 20 3d 20 4c 61 64 |.TimeLim|it = Lad|
|00001670| 64 65 72 4f 62 6a 2e 43 | 75 72 72 65 6e 74 4c 61 |derObj.C|urrentLa|
|00001680| 64 64 65 72 2e 44 65 66 | 61 75 6c 74 2e 54 69 6d |dder.Def|ault.Tim|
|00001690| 65 4c 69 6d 69 74 73 5b | 49 44 6e 75 6d 5d 3b 0d |eLimits[|IDnum];.|
|000016a0| 0a 09 62 4a 75 6d 70 4d | 61 74 63 68 20 3d 20 66 |..bJumpM|atch = f|
|000016b0| 61 6c 73 65 3b 0d 0a 09 | 62 48 61 72 64 43 6f 72 |alse;...|bHardCor|
|000016c0| 65 4d 6f 64 65 20 3d 20 | 74 72 75 65 3b 0d 0a 09 |eMode = |true;...|
|000016d0| 62 52 65 71 75 69 72 65 | 52 65 61 64 79 20 3d 20 |bRequire|Ready = |
|000016e0| 74 72 75 65 3b 0d 0a 09 | 62 4d 65 67 61 53 70 65 |true;...|bMegaSpe|
|000016f0| 65 64 20 3d 20 66 61 6c | 73 65 3b 0d 0a 09 43 6f |ed = fal|se;...Co|
|00001700| 75 6e 74 44 6f 77 6e 20 | 3d 20 31 3b 0d 0a 09 62 |untDown |= 1;...b|
|00001710| 52 61 74 65 64 47 61 6d | 65 20 3d 20 74 72 75 65 |RatedGam|e = true|
|00001720| 3b 0d 0a 09 62 43 6f 6f | 70 57 65 61 70 6f 6e 4d |;...bCoo|pWeaponM|
|00001730| 6f 64 65 20 3d 20 66 61 | 6c 73 65 3b 0d 0a 09 62 |ode = fa|lse;...b|
|00001740| 55 73 65 54 72 61 6e 73 | 6c 6f 63 61 74 6f 72 20 |UseTrans|locator |
|00001750| 3d 20 62 52 61 74 65 64 | 54 72 61 6e 73 6c 6f 63 |= bRated|Transloc|
|00001760| 61 74 6f 72 3b 0d 0a 09 | 46 6f 72 45 61 63 68 20 |ator;...|ForEach |
|00001770| 41 6c 6c 41 63 74 6f 72 | 73 28 63 6c 61 73 73 27 |AllActor|s(class'|
|00001780| 57 65 61 70 6f 6e 27 2c | 20 57 29 0d 0a 09 09 57 |Weapon',| W)....W|
|00001790| 2e 62 57 65 61 70 6f 6e | 53 74 61 79 20 3d 20 66 |.bWeapon|Stay = f|
|000017a0| 61 6c 73 65 3b 0d 0a 0d | 0a 09 52 61 74 65 64 50 |alse;...|..RatedP|
|000017b0| 6c 61 79 65 72 20 3d 20 | 4c 61 64 64 65 72 50 6c |layer = |LadderPl|
|000017c0| 61 79 65 72 3b 20 0d 0a | 0d 0a 09 2f 2f 20 53 65 |ayer; ..|...// Se|
|000017d0| 74 20 75 70 20 52 61 74 | 65 64 42 6f 74 43 6f 6e |t up Rat|edBotCon|
|000017e0| 66 69 67 20 66 6f 72 20 | 74 68 69 73 20 67 61 6d |fig for |this gam|
|000017f0| 65 0d 0a 09 42 6f 74 43 | 6f 6e 66 69 67 2e 62 41 |e...BotC|onfig.bA|
|00001800| 64 6a 75 73 74 53 6b 69 | 6c 6c 20 3d 20 66 61 6c |djustSki|ll = fal|
|00001810| 73 65 3b 0d 0a 09 52 4d | 49 20 3d 20 4c 61 64 64 |se;...RM|I = Ladd|
|00001820| 65 72 4f 62 6a 2e 43 75 | 72 72 65 6e 74 4c 61 64 |erObj.Cu|rrentLad|
|00001830| 64 65 72 2e 53 74 61 74 | 69 63 2e 47 65 74 4d 61 |der.Stat|ic.GetMa|
|00001840| 74 63 68 43 6f 6e 66 69 | 67 54 79 70 65 28 49 44 |tchConfi|gType(ID|
|00001850| 6e 75 6d 29 3b 0d 0a 09 | 52 61 74 65 64 4d 61 74 |num);...|RatedMat|
|00001860| 63 68 43 6f 6e 66 69 67 | 20 3d 20 73 70 61 77 6e |chConfig| = spawn|
|00001870| 28 52 4d 49 29 3b 0d 0a | 09 52 65 6d 61 69 6e 69 |(RMI);..|.Remaini|
|00001880| 6e 67 42 6f 74 73 20 3d | 20 52 61 74 65 64 4d 61 |ngBots =| RatedMa|
|00001890| 74 63 68 43 6f 6e 66 69 | 67 2e 4e 75 6d 42 6f 74 |tchConfi|g.NumBot|
|000018a0| 73 3b 20 0d 0a 09 44 69 | 66 66 69 63 75 6c 74 79 |s; ...Di|fficulty|
|000018b0| 20 3d 20 4c 61 64 64 65 | 72 4f 62 6a 2e 54 6f 75 | = Ladde|rObj.Tou|
|000018c0| 72 6e 61 6d 65 6e 74 44 | 69 66 66 69 63 75 6c 74 |rnamentD|ifficult|
|000018d0| 79 20 2b 20 52 61 74 65 | 64 4d 61 74 63 68 43 6f |y + Rate|dMatchCo|
|000018e0| 6e 66 69 67 2e 4d 6f 64 | 69 66 69 65 64 44 69 66 |nfig.Mod|ifiedDif|
|000018f0| 66 69 63 75 6c 74 79 3b | 0d 0a 09 69 66 20 28 20 |ficulty;|...if ( |
|00001900| 44 69 66 66 69 63 75 6c | 74 79 20 3e 3d 20 34 20 |Difficul|ty >= 4 |
|00001910| 29 0d 0a 09 7b 0d 0a 09 | 09 62 4e 6f 76 69 63 65 |)...{...|.bNovice|
|00001920| 4d 6f 64 65 20 3d 20 66 | 61 6c 73 65 3b 0d 0a 09 |Mode = f|alse;...|
|00001930| 09 44 69 66 66 69 63 75 | 6c 74 79 20 3d 20 44 69 |.Difficu|lty = Di|
|00001940| 66 66 69 63 75 6c 74 79 | 20 2d 20 34 3b 0d 0a 09 |fficulty| - 4;...|
|00001950| 7d 0d 0a 09 65 6c 73 65 | 0d 0a 09 7b 0d 0a 09 09 |}...else|...{....|
|00001960| 69 66 20 28 20 44 69 66 | 66 69 63 75 6c 74 79 20 |if ( Dif|ficulty |
|00001970| 3e 20 33 20 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 44 |> 3 )...|.{.....D|
|00001980| 69 66 66 69 63 75 6c 74 | 79 20 3d 20 33 3b 0d 0a |ifficult|y = 3;..|
|00001990| 09 09 09 62 54 68 72 65 | 65 50 6c 75 73 20 3d 20 |...bThre|ePlus = |
|000019a0| 74 72 75 65 3b 0d 0a 09 | 09 7d 0d 0a 09 09 62 4e |true;...|.}....bN|
|000019b0| 6f 76 69 63 65 4d 6f 64 | 65 20 3d 20 74 72 75 65 |oviceMod|e = true|
|000019c0| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 2f 2f 20 55 70 64 |;...}...|..// Upd|
|000019d0| 61 74 65 20 47 52 49 0d | 0a 09 49 6e 69 74 47 61 |ate GRI.|..InitGa|
|000019e0| 6d 65 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |meReplic|ationInf|
|000019f0| 6f 28 29 3b 0d 0a 0d 0a | 09 2f 2f 20 55 70 64 61 |o();....|.// Upda|
|00001a00| 74 65 20 4c 6f 67 67 65 | 64 20 49 6e 66 6f 0d 0a |te Logge|d Info..|
|00001a10| 09 69 66 20 28 62 4c 6f | 63 61 6c 4c 6f 67 20 26 |.if (bLo|calLog &|
|00001a20| 26 20 62 4c 6f 67 67 69 | 6e 67 47 61 6d 65 29 0d |& bLoggi|ngGame).|
|00001a30| 0a 09 7b 0d 0a 09 09 4c | 6f 67 47 61 6d 65 50 61 |..{....L|ogGamePa|
|00001a40| 72 61 6d 65 74 65 72 73 | 28 4c 6f 63 61 6c 4c 6f |rameters|(LocalLo|
|00001a50| 67 29 3b 0d 0a 09 7d 0d | 0a 09 69 66 20 28 62 57 |g);...}.|..if (bW|
|00001a60| 6f 72 6c 64 4c 6f 67 20 | 26 26 20 62 4c 6f 67 67 |orldLog |&& bLogg|
|00001a70| 69 6e 67 47 61 6d 65 29 | 0d 0a 09 7b 0d 0a 09 09 |ingGame)|...{....|
|00001a80| 4c 6f 67 47 61 6d 65 50 | 61 72 61 6d 65 74 65 72 |LogGameP|arameter|
|00001a90| 73 28 57 6f 72 6c 64 4c | 6f 67 29 3b 0d 0a 09 7d |s(WorldL|og);...}|
|00001aa0| 0d 0a 0d 0a 09 50 6c 61 | 79 53 74 61 72 74 75 70 |.....Pla|yStartup|
|00001ab0| 4d 65 73 73 61 67 65 28 | 4c 61 64 64 65 72 50 6c |Message(|LadderPl|
|00001ac0| 61 79 65 72 29 3b 0d 0a | 09 4c 61 64 64 65 72 50 |ayer);..|.LadderP|
|00001ad0| 6c 61 79 65 72 2e 53 65 | 74 50 72 6f 67 72 65 73 |layer.Se|tProgres|
|00001ae0| 73 54 69 6d 65 28 36 29 | 3b 0d 0a 7d 0d 0a 0d 0a |sTime(6)|;..}....|
|00001af0| 2f 2a 20 41 63 63 65 70 | 74 49 6e 76 65 6e 74 6f |/* Accep|tInvento|
|00001b00| 72 79 28 29 0d 0a 45 78 | 61 6d 69 6e 65 20 74 68 |ry()..Ex|amine th|
|00001b10| 65 20 70 61 73 73 65 64 | 20 70 6c 61 79 65 72 27 |e passed| player'|
|00001b20| 73 20 69 6e 76 65 6e 74 | 6f 72 79 2c 20 61 6e 64 |s invent|ory, and|
|00001b30| 20 61 63 63 65 70 74 20 | 6f 72 20 64 69 73 63 61 | accept |or disca|
|00001b40| 72 64 20 65 61 63 68 20 | 69 74 65 6d 0d 0a 2a 20 |rd each |item..* |
|00001b50| 41 63 63 65 70 74 49 6e | 76 65 6e 74 6f 72 79 20 |AcceptIn|ventory |
|00001b60| 6e 65 65 64 73 20 74 6f | 20 67 72 61 63 65 66 75 |needs to| gracefu|
|00001b70| 6c 6c 79 20 68 61 6e 64 | 6c 65 20 74 68 65 20 63 |lly hand|le the c|
|00001b80| 61 73 65 20 6f 66 20 73 | 6f 6d 65 20 69 6e 76 65 |ase of s|ome inve|
|00001b90| 6e 74 6f 72 79 0d 0a 62 | 65 69 6e 67 20 61 63 63 |ntory..b|eing acc|
|00001ba0| 65 70 74 65 64 20 62 75 | 74 20 6f 74 68 65 72 20 |epted bu|t other |
|00001bb0| 69 6e 76 65 6e 74 6f 72 | 79 20 6e 6f 74 20 62 65 |inventor|y not be|
|00001bc0| 69 6e 67 20 61 63 63 65 | 70 74 65 64 20 28 73 75 |ing acce|pted (su|
|00001bd0| 63 68 20 61 73 20 74 68 | 65 20 64 65 66 61 75 6c |ch as th|e defaul|
|00001be0| 74 0d 0a 77 65 61 70 6f | 6e 29 2e 20 20 54 68 65 |t..weapo|n). The|
|00001bf0| 72 65 20 61 72 65 20 73 | 65 76 65 72 61 6c 20 74 |re are s|everal t|
|00001c00| 68 69 6e 67 73 20 74 68 | 61 74 20 63 61 6e 20 67 |hings th|at can g|
|00001c10| 6f 20 77 72 6f 6e 67 3a | 20 41 20 77 65 61 70 6f |o wrong:| A weapo|
|00001c20| 6e 27 73 0d 0a 41 6d 6d | 6f 54 79 70 65 20 6e 6f |n's..Amm|oType no|
|00001c30| 74 20 62 65 69 6e 67 20 | 61 63 63 65 70 74 65 64 |t being |accepted|
|00001c40| 20 62 75 74 20 74 68 65 | 20 77 65 61 70 6f 6e 20 | but the| weapon |
|00001c50| 62 65 69 6e 67 20 61 63 | 63 65 70 74 65 64 20 2d |being ac|cepted -|
|00001c60| 2d 20 74 68 65 20 77 65 | 61 70 6f 6e 0d 0a 73 68 |- the we|apon..sh|
|00001c70| 6f 75 6c 64 20 62 65 20 | 6b 69 6c 6c 65 64 20 6f |ould be |killed o|
|00001c80| 66 66 2e 20 4f 72 20 74 | 68 65 20 70 6c 61 79 65 |ff. Or t|he playe|
|00001c90| 72 27 73 20 73 65 6c 65 | 63 74 65 64 20 69 6e 76 |r's sele|cted inv|
|00001ca0| 65 6e 74 6f 72 79 20 69 | 74 65 6d 2c 20 61 63 74 |entory i|tem, act|
|00001cb0| 69 76 65 0d 0a 77 65 61 | 70 6f 6e 2c 20 65 74 63 |ive..wea|pon, etc|
|00001cc0| 2e 20 6e 6f 74 20 62 65 | 69 6e 67 20 61 63 63 65 |. not be|ing acce|
|00001cd0| 70 74 65 64 2c 20 6c 65 | 61 76 69 6e 67 20 74 68 |pted, le|aving th|
|00001ce0| 65 20 70 6c 61 79 65 72 | 20 77 65 61 70 6f 6e 6c |e player| weaponl|
|00001cf0| 65 73 73 20 6f 72 20 6c | 65 61 76 69 6e 67 0d 0a |ess or l|eaving..|
|00001d00| 74 68 65 20 48 55 44 20 | 69 6e 76 65 6e 74 6f 72 |the HUD |inventor|
|00001d10| 79 20 72 65 6e 64 65 72 | 69 6e 67 20 6d 65 73 73 |y render|ing mess|
|00001d20| 65 64 20 75 70 20 28 41 | 63 63 65 70 74 49 6e 76 |ed up (A|cceptInv|
|00001d30| 65 6e 74 6f 72 79 20 73 | 68 6f 75 6c 64 20 70 69 |entory s|hould pi|
|00001d40| 63 6b 20 61 6e 6f 74 68 | 65 72 0d 0a 61 70 70 6c |ck anoth|er..appl|
|00001d50| 69 63 61 62 6c 65 20 77 | 65 61 70 6f 6e 2f 69 74 |icable w|eapon/it|
|00001d60| 65 6d 20 61 73 20 63 75 | 72 72 65 6e 74 29 2e 0d |em as cu|rrent)..|
|00001d70| 0a 2a 2f 0d 0a 66 75 6e | 63 74 69 6f 6e 20 41 63 |.*/..fun|ction Ac|
|00001d80| 63 65 70 74 49 6e 76 65 | 6e 74 6f 72 79 28 70 61 |ceptInve|ntory(pa|
|00001d90| 77 6e 20 50 6c 61 79 65 | 72 50 61 77 6e 29 0d 0a |wn Playe|rPawn)..|
|00001da0| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 69 6e 76 65 6e 74 |{...loca|l invent|
|00001db0| 6f 72 79 20 49 6e 76 3b | 0d 0a 09 6c 6f 63 61 6c |ory Inv;|...local|
|00001dc0| 20 4c 61 64 64 65 72 49 | 6e 76 65 6e 74 6f 72 79 | LadderI|nventory|
|00001dd0| 20 4c 61 64 64 65 72 4f | 62 6a 3b 0d 0a 0d 0a 09 | LadderO|bj;.....|
|00001de0| 2f 2f 20 44 65 61 74 68 | 4d 61 74 63 68 50 6c 75 |// Death|MatchPlu|
|00001df0| 73 20 61 63 63 65 70 74 | 73 20 4c 61 64 64 65 72 |s accept|s Ladder|
|00001e00| 49 6e 76 65 6e 74 6f 72 | 79 0d 0a 09 66 6f 72 28 |Inventor|y...for(|
|00001e10| 20 49 6e 76 3d 50 6c 61 | 79 65 72 50 61 77 6e 2e | Inv=Pla|yerPawn.|
|00001e20| 49 6e 76 65 6e 74 6f 72 | 79 3b 20 49 6e 76 21 3d |Inventor|y; Inv!=|
|00001e30| 4e 6f 6e 65 3b 20 49 6e | 76 3d 49 6e 76 2e 49 6e |None; In|v=Inv.In|
|00001e40| 76 65 6e 74 6f 72 79 20 | 29 0d 0a 09 7b 0d 0a 09 |ventory |)...{...|
|00001e50| 09 69 66 20 28 49 6e 76 | 2e 49 73 41 28 27 4c 61 |.if (Inv|.IsA('La|
|00001e60| 64 64 65 72 49 6e 76 65 | 6e 74 6f 72 79 27 29 29 |dderInve|ntory'))|
|00001e70| 0d 0a 09 09 7b 0d 0a 09 | 09 09 4c 61 64 64 65 72 |....{...|..Ladder|
|00001e80| 4f 62 6a 20 3d 20 4c 61 | 64 64 65 72 49 6e 76 65 |Obj = La|dderInve|
|00001e90| 6e 74 6f 72 79 28 49 6e | 76 29 3b 0d 0a 09 09 7d |ntory(In|v);....}|
|00001ea0| 20 0d 0a 09 09 65 6c 73 | 65 20 09 0d 0a 09 09 09 | ....els|e ......|
|00001eb0| 49 6e 76 2e 44 65 73 74 | 72 6f 79 28 29 3b 0d 0a |Inv.Dest|roy();..|
|00001ec0| 09 7d 0d 0a 09 50 6c 61 | 79 65 72 50 61 77 6e 2e |.}...Pla|yerPawn.|
|00001ed0| 57 65 61 70 6f 6e 20 3d | 20 4e 6f 6e 65 3b 0d 0a |Weapon =| None;..|
|00001ee0| 09 50 6c 61 79 65 72 50 | 61 77 6e 2e 53 65 6c 65 |.PlayerP|awn.Sele|
|00001ef0| 63 74 65 64 49 74 65 6d | 20 3d 20 4e 6f 6e 65 3b |ctedItem| = None;|
|00001f00| 0d 0a 09 41 64 64 44 65 | 66 61 75 6c 74 49 6e 76 |...AddDe|faultInv|
|00001f10| 65 6e 74 6f 72 79 28 20 | 50 6c 61 79 65 72 50 61 |entory( |PlayerPa|
|00001f20| 77 6e 20 29 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |wn );..}|....func|
|00001f30| 74 69 6f 6e 20 62 6f 6f | 6c 20 53 65 74 45 6e 64 |tion boo|l SetEnd|
|00001f40| 43 61 6d 73 28 73 74 72 | 69 6e 67 20 52 65 61 73 |Cams(str|ing Reas|
|00001f50| 6f 6e 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 70 |on)..{..|.local p|
|00001f60| 61 77 6e 20 50 2c 20 42 | 65 73 74 3b 0d 0a 09 6c |awn P, B|est;...l|
|00001f70| 6f 63 61 6c 20 50 6c 61 | 79 65 72 50 61 77 6e 20 |ocal Pla|yerPawn |
|00001f80| 50 6c 61 79 65 72 3b 0d | 0a 0d 0a 09 2f 2f 20 66 |Player;.|....// f|
|00001f90| 69 6e 64 20 69 6e 64 69 | 76 69 64 75 61 6c 20 77 |ind indi|vidual w|
|00001fa0| 69 6e 6e 65 72 0d 0a 09 | 66 6f 72 20 28 20 50 3d |inner...|for ( P=|
|00001fb0| 4c 65 76 65 6c 2e 50 61 | 77 6e 4c 69 73 74 3b 20 |Level.Pa|wnList; |
|00001fc0| 50 21 3d 4e 6f 6e 65 3b | 20 50 3d 50 2e 6e 65 78 |P!=None;| P=P.nex|
|00001fd0| 74 50 61 77 6e 20 29 0d | 0a 09 09 69 66 20 28 20 |tPawn ).|...if ( |
|00001fe0| 50 2e 62 49 73 50 6c 61 | 79 65 72 20 26 26 20 28 |P.bIsPla|yer && (|
|00001ff0| 28 42 65 73 74 20 3d 3d | 20 4e 6f 6e 65 29 20 7c |(Best ==| None) ||
|00002000| 7c 20 28 50 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 || (P.Pla|yerRepli|
|00002010| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 53 63 6f 72 65 |cationIn|fo.Score|
|00002020| 20 3e 20 42 65 73 74 2e | 50 6c 61 79 65 72 52 65 | > Best.|PlayerRe|
|00002030| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 53 63 |plicatio|nInfo.Sc|
|00002040| 6f 72 65 29 29 20 29 0d | 0a 09 09 09 42 65 73 74 |ore)) ).|....Best|
|00002050| 20 3d 20 50 3b 0d 0a 0d | 0a 09 2f 2f 20 63 68 65 | = P;...|..// che|
|00002060| 63 6b 20 66 6f 72 20 74 | 69 65 0d 0a 09 66 6f 72 |ck for t|ie...for|
|00002070| 20 28 20 50 3d 4c 65 76 | 65 6c 2e 50 61 77 6e 4c | ( P=Lev|el.PawnL|
|00002080| 69 73 74 3b 20 50 21 3d | 4e 6f 6e 65 3b 20 50 3d |ist; P!=|None; P=|
|00002090| 50 2e 6e 65 78 74 50 61 | 77 6e 20 29 0d 0a 09 09 |P.nextPa|wn )....|
|000020a0| 69 66 20 28 20 50 2e 62 | 49 73 50 6c 61 79 65 72 |if ( P.b|IsPlayer|
|000020b0| 20 26 26 20 28 42 65 73 | 74 20 21 3d 20 50 29 20 | && (Bes|t != P) |
|000020c0| 26 26 20 28 50 2e 50 6c | 61 79 65 72 52 65 70 6c |&& (P.Pl|ayerRepl|
|000020d0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 53 63 6f 72 |icationI|nfo.Scor|
|000020e0| 65 20 3d 3d 20 42 65 73 | 74 2e 50 6c 61 79 65 72 |e == Bes|t.Player|
|000020f0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00002100| 53 63 6f 72 65 29 20 29 | 0d 0a 09 09 7b 0d 0a 09 |Score) )|....{...|
|00002110| 09 09 42 72 6f 61 64 63 | 61 73 74 4c 6f 63 61 6c |..Broadc|astLocal|
|00002120| 69 7a 65 64 4d 65 73 73 | 61 67 65 28 20 63 6c 61 |izedMess|age( cla|
|00002130| 73 73 27 44 65 61 74 68 | 4d 61 74 63 68 4d 65 73 |ss'Death|MatchMes|
|00002140| 73 61 67 65 27 2c 20 30 | 20 29 3b 0d 0a 09 09 09 |sage', 0| );.....|
|00002150| 72 65 74 75 72 6e 20 66 | 61 6c 73 65 3b 0d 0a 09 |return f|alse;...|
|00002160| 09 7d 09 09 0d 0a 0d 0a | 09 45 6e 64 54 69 6d 65 |.}......|.EndTime|
|00002170| 20 3d 20 4c 65 76 65 6c | 2e 54 69 6d 65 53 65 63 | = Level|.TimeSec|
|00002180| 6f 6e 64 73 20 2b 20 33 | 2e 30 3b 0d 0a 09 47 61 |onds + 3|.0;...Ga|
|00002190| 6d 65 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |meReplic|ationInf|
|000021a0| 6f 2e 47 61 6d 65 45 6e | 64 65 64 43 6f 6d 6d 65 |o.GameEn|dedComme|
|000021b0| 6e 74 73 20 3d 20 42 65 | 73 74 2e 50 6c 61 79 65 |nts = Be|st.Playe|
|000021c0| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|000021d0| 2e 50 6c 61 79 65 72 4e | 61 6d 65 40 47 61 6d 65 |.PlayerN|ame@Game|
|000021e0| 45 6e 64 65 64 4d 65 73 | 73 61 67 65 3b 0d 0a 09 |EndedMes|sage;...|
|000021f0| 6c 6f 67 28 20 22 47 61 | 6d 65 20 65 6e 64 65 64 |log( "Ga|me ended|
|00002200| 20 61 74 20 22 24 45 6e | 64 54 69 6d 65 29 3b 0d | at "$En|dTime);.|
|00002210| 0a 09 66 6f 72 20 28 20 | 50 3d 4c 65 76 65 6c 2e |..for ( |P=Level.|
|00002220| 50 61 77 6e 4c 69 73 74 | 3b 20 50 21 3d 4e 6f 6e |PawnList|; P!=Non|
|00002230| 65 3b 20 50 3d 50 2e 6e | 65 78 74 50 61 77 6e 20 |e; P=P.n|extPawn |
|00002240| 29 0d 0a 09 7b 0d 0a 09 | 09 50 6c 61 79 65 72 20 |)...{...|.Player |
|00002250| 3d 20 50 6c 61 79 65 72 | 50 61 77 6e 28 50 29 3b |= Player|Pawn(P);|
|00002260| 0d 0a 09 09 69 66 20 28 | 20 50 6c 61 79 65 72 20 |....if (| Player |
|00002270| 21 3d 20 4e 6f 6e 65 20 | 29 0d 0a 09 09 7b 0d 0a |!= None |)....{..|
|00002280| 09 09 09 69 66 20 28 21 | 62 54 75 74 6f 72 69 61 |...if (!|bTutoria|
|00002290| 6c 47 61 6d 65 29 0d 0a | 09 09 09 09 50 6c 61 79 |lGame)..|....Play|
|000022a0| 57 69 6e 4d 65 73 73 61 | 67 65 28 50 6c 61 79 65 |WinMessa|ge(Playe|
|000022b0| 72 2c 20 28 50 6c 61 79 | 65 72 20 3d 3d 20 42 65 |r, (Play|er == Be|
|000022c0| 73 74 29 29 3b 0d 0a 09 | 09 09 50 6c 61 79 65 72 |st));...|..Player|
|000022d0| 2e 62 42 65 68 69 6e 64 | 56 69 65 77 20 3d 20 74 |.bBehind|View = t|
|000022e0| 72 75 65 3b 0d 0a 09 09 | 09 69 66 20 28 20 50 6c |rue;....|.if ( Pl|
|000022f0| 61 79 65 72 20 3d 3d 20 | 42 65 73 74 20 29 0d 0a |ayer == |Best )..|
|00002300| 09 09 09 09 50 6c 61 79 | 65 72 2e 56 69 65 77 54 |....Play|er.ViewT|
|00002310| 61 72 67 65 74 20 3d 20 | 4e 6f 6e 65 3b 0d 0a 09 |arget = |None;...|
|00002320| 09 09 65 6c 73 65 0d 0a | 09 09 09 09 50 6c 61 79 |..else..|....Play|
|00002330| 65 72 2e 56 69 65 77 54 | 61 72 67 65 74 20 3d 20 |er.ViewT|arget = |
|00002340| 42 65 73 74 3b 0d 0a 09 | 09 09 50 6c 61 79 65 72 |Best;...|..Player|
|00002350| 2e 43 6c 69 65 6e 74 47 | 61 6d 65 45 6e 64 65 64 |.ClientG|ameEnded|
|00002360| 28 29 3b 0d 0a 09 09 7d | 0d 0a 09 09 50 2e 47 6f |();....}|....P.Go|
|00002370| 74 6f 53 74 61 74 65 28 | 27 47 61 6d 65 45 6e 64 |toState(|'GameEnd|
|00002380| 65 64 27 29 3b 0d 0a 09 | 7d 0d 0a 09 43 61 6c 63 |ed');...|}...Calc|
|00002390| 45 6e 64 53 74 61 74 73 | 28 29 3b 0d 0a 09 72 65 |EndStats|();...re|
|000023a0| 74 75 72 6e 20 74 72 75 | 65 3b 0d 0a 7d 0d 0a 0d |turn tru|e;..}...|
|000023b0| 0a 66 75 6e 63 74 69 6f | 6e 20 50 6c 61 79 57 69 |.functio|n PlayWi|
|000023c0| 6e 4d 65 73 73 61 67 65 | 28 50 6c 61 79 65 72 50 |nMessage|(PlayerP|
|000023d0| 61 77 6e 20 50 6c 61 79 | 65 72 2c 20 62 6f 6f 6c |awn Play|er, bool|
|000023e0| 20 62 57 69 6e 6e 65 72 | 29 0d 0a 7b 0d 0a 09 69 | bWinner|)..{...i|
|000023f0| 66 20 28 20 50 6c 61 79 | 65 72 2e 49 73 41 28 27 |f ( Play|er.IsA('|
|00002400| 54 6f 75 72 6e 61 6d 65 | 6e 74 50 6c 61 79 65 72 |Tourname|ntPlayer|
|00002410| 27 29 20 29 0d 0a 09 09 | 54 6f 75 72 6e 61 6d 65 |') )....|Tourname|
|00002420| 6e 74 50 6c 61 79 65 72 | 28 50 6c 61 79 65 72 29 |ntPlayer|(Player)|
|00002430| 2e 50 6c 61 79 57 69 6e | 4d 65 73 73 61 67 65 28 |.PlayWin|Message(|
|00002440| 62 57 69 6e 6e 65 72 29 | 3b 0d 0a 7d 0d 0a 0d 0a |bWinner)|;..}....|
|00002450| 66 75 6e 63 74 69 6f 6e | 20 4e 6f 74 69 66 79 53 |function| NotifyS|
|00002460| 70 72 65 65 28 50 61 77 | 6e 20 4f 74 68 65 72 2c |pree(Paw|n Other,|
|00002470| 20 69 6e 74 20 6e 75 6d | 29 0d 0a 7b 0d 0a 09 6c | int num|)..{...l|
|00002480| 6f 63 61 6c 20 50 61 77 | 6e 20 50 3b 0d 0a 0d 0a |ocal Paw|n P;....|
|00002490| 09 69 66 20 28 20 6e 75 | 6d 20 3d 3d 20 35 20 29 |.if ( nu|m == 5 )|
|000024a0| 0d 0a 09 09 6e 75 6d 20 | 3d 20 30 3b 0d 0a 09 65 |....num |= 0;...e|
|000024b0| 6c 73 65 20 69 66 20 28 | 20 6e 75 6d 20 3d 3d 20 |lse if (| num == |
|000024c0| 31 30 20 29 0d 0a 09 09 | 6e 75 6d 20 3d 20 31 3b |10 )....|num = 1;|
|000024d0| 0d 0a 09 65 6c 73 65 20 | 69 66 20 28 20 6e 75 6d |...else |if ( num|
|000024e0| 20 3d 3d 20 31 35 20 29 | 0d 0a 09 09 6e 75 6d 20 | == 15 )|....num |
|000024f0| 3d 20 32 3b 0d 0a 09 65 | 6c 73 65 20 69 66 20 28 |= 2;...e|lse if (|
|00002500| 20 6e 75 6d 20 3d 3d 20 | 32 30 20 29 0d 0a 09 09 | num == |20 )....|
|00002510| 6e 75 6d 20 3d 20 33 3b | 0d 0a 09 65 6c 73 65 20 |num = 3;|...else |
|00002520| 69 66 20 28 20 6e 75 6d | 20 3d 3d 20 32 35 20 29 |if ( num| == 25 )|
|00002530| 0d 0a 09 09 6e 75 6d 20 | 3d 20 34 3b 0d 0a 09 65 |....num |= 4;...e|
|00002540| 6c 73 65 0d 0a 09 09 72 | 65 74 75 72 6e 3b 0d 0a |lse....r|eturn;..|
|00002550| 0d 0a 09 66 6f 72 20 28 | 20 50 3d 4c 65 76 65 6c |...for (| P=Level|
|00002560| 2e 50 61 77 6e 4c 69 73 | 74 3b 20 50 21 3d 4e 6f |.PawnLis|t; P!=No|
|00002570| 6e 65 3b 20 50 3d 50 2e | 4e 65 78 74 50 61 77 6e |ne; P=P.|NextPawn|
|00002580| 20 29 0d 0a 09 09 69 66 | 20 28 20 50 2e 49 73 41 | )....if| ( P.IsA|
|00002590| 28 27 54 6f 75 72 6e 61 | 6d 65 6e 74 50 6c 61 79 |('Tourna|mentPlay|
|000025a0| 65 72 27 29 20 29 0d 0a | 09 09 09 50 2e 52 65 63 |er') )..|...P.Rec|
|000025b0| 65 69 76 65 4c 6f 63 61 | 6c 69 7a 65 64 4d 65 73 |eiveLoca|lizedMes|
|000025c0| 73 61 67 65 28 20 63 6c | 61 73 73 27 4b 69 6c 6c |sage( cl|ass'Kill|
|000025d0| 69 6e 67 53 70 72 65 65 | 4d 65 73 73 61 67 65 27 |ingSpree|Message'|
|000025e0| 2c 20 4e 75 6d 2c 20 4f | 74 68 65 72 2e 50 6c 61 |, Num, O|ther.Pla|
|000025f0| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00002600| 66 6f 20 29 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |fo );..}|....func|
|00002610| 74 69 6f 6e 20 45 6e 64 | 53 70 72 65 65 28 50 61 |tion End|Spree(Pa|
|00002620| 77 6e 20 4b 69 6c 6c 65 | 72 2c 20 50 61 77 6e 20 |wn Kille|r, Pawn |
|00002630| 4f 74 68 65 72 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |Other)..|{...loca|
|00002640| 6c 20 50 61 77 6e 20 50 | 3b 0d 0a 0d 0a 09 69 66 |l Pawn P|;.....if|
|00002650| 20 28 20 21 4f 74 68 65 | 72 2e 62 49 73 50 6c 61 | ( !Othe|r.bIsPla|
|00002660| 79 65 72 20 29 0d 0a 09 | 09 72 65 74 75 72 6e 3b |yer )...|.return;|
|00002670| 0d 0a 09 66 6f 72 20 28 | 20 50 3d 4c 65 76 65 6c |...for (| P=Level|
|00002680| 2e 50 61 77 6e 4c 69 73 | 74 3b 20 50 21 3d 4e 6f |.PawnLis|t; P!=No|
|00002690| 6e 65 3b 20 50 3d 50 2e | 4e 65 78 74 50 61 77 6e |ne; P=P.|NextPawn|
|000026a0| 20 29 0d 0a 09 09 69 66 | 20 28 20 50 2e 49 73 41 | )....if| ( P.IsA|
|000026b0| 28 27 54 6f 75 72 6e 61 | 6d 65 6e 74 50 6c 61 79 |('Tourna|mentPlay|
|000026c0| 65 72 27 29 20 29 0d 0a | 09 09 7b 0d 0a 09 09 09 |er') )..|..{.....|
|000026d0| 69 66 20 28 20 28 4b 69 | 6c 6c 65 72 20 3d 3d 20 |if ( (Ki|ller == |
|000026e0| 4e 6f 6e 65 29 20 7c 7c | 20 21 4b 69 6c 6c 65 72 |None) ||| !Killer|
|000026f0| 2e 62 49 73 50 6c 61 79 | 65 72 20 29 0d 0a 09 09 |.bIsPlay|er )....|
|00002700| 09 09 54 6f 75 72 6e 61 | 6d 65 6e 74 50 6c 61 79 |..Tourna|mentPlay|
|00002710| 65 72 28 50 29 2e 45 6e | 64 53 70 72 65 65 28 4e |er(P).En|dSpree(N|
|00002720| 6f 6e 65 2c 20 4f 74 68 | 65 72 2e 50 6c 61 79 65 |one, Oth|er.Playe|
|00002730| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00002740| 29 3b 0d 0a 09 09 09 65 | 6c 73 65 0d 0a 09 09 09 |);.....e|lse.....|
|00002750| 09 54 6f 75 72 6e 61 6d | 65 6e 74 50 6c 61 79 65 |.Tournam|entPlaye|
|00002760| 72 28 50 29 2e 45 6e 64 | 53 70 72 65 65 28 4b 69 |r(P).End|Spree(Ki|
|00002770| 6c 6c 65 72 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |ller.Pla|yerRepli|
|00002780| 63 61 74 69 6f 6e 49 6e | 66 6f 2c 20 4f 74 68 65 |cationIn|fo, Othe|
|00002790| 72 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |r.Player|Replicat|
|000027a0| 69 6f 6e 49 6e 66 6f 29 | 3b 0d 0a 09 09 7d 0d 0a |ionInfo)|;....}..|
|000027b0| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 53 63 |}....fun|ction Sc|
|000027c0| 6f 72 65 4b 69 6c 6c 28 | 70 61 77 6e 20 4b 69 6c |oreKill(|pawn Kil|
|000027d0| 6c 65 72 2c 20 70 61 77 | 6e 20 4f 74 68 65 72 29 |ler, paw|n Other)|
|000027e0| 0d 0a 7b 0d 0a 09 53 75 | 70 65 72 2e 53 63 6f 72 |..{...Su|per.Scor|
|000027f0| 65 4b 69 6c 6c 28 4b 69 | 6c 6c 65 72 2c 20 4f 74 |eKill(Ki|ller, Ot|
|00002800| 68 65 72 29 3b 0d 0a 0d | 0a 09 69 66 20 28 20 62 |her);...|..if ( b|
|00002810| 41 6c 74 53 63 6f 72 69 | 6e 67 20 26 26 20 28 4b |AltScori|ng && (K|
|00002820| 69 6c 6c 65 72 20 21 3d | 20 4f 74 68 65 72 29 20 |iller !=| Other) |
|00002830| 26 26 20 28 6b 69 6c 6c | 65 72 20 21 3d 20 4e 6f |&& (kill|er != No|
|00002840| 6e 65 29 20 29 0d 0a 09 | 09 4f 74 68 65 72 2e 50 |ne) )...|.Other.P|
|00002850| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00002860| 49 6e 66 6f 2e 53 63 6f | 72 65 20 2d 3d 20 31 3b |Info.Sco|re -= 1;|
|00002870| 0d 0a 7d 0d 0a 0d 0a 2f | 2f 20 4d 6f 6e 69 74 6f |..}..../|/ Monito|
|00002880| 72 20 6b 69 6c 6c 65 64 | 20 6d 65 73 73 61 67 65 |r killed| message|
|00002890| 73 20 66 6f 72 20 66 72 | 61 67 6c 69 6d 69 74 0d |s for fr|aglimit.|
|000028a0| 0a 66 75 6e 63 74 69 6f | 6e 20 4b 69 6c 6c 65 64 |.functio|n Killed|
|000028b0| 28 70 61 77 6e 20 6b 69 | 6c 6c 65 72 2c 20 70 61 |(pawn ki|ller, pa|
|000028c0| 77 6e 20 4f 74 68 65 72 | 2c 20 6e 61 6d 65 20 64 |wn Other|, name d|
|000028d0| 61 6d 61 67 65 54 79 70 | 65 29 0d 0a 7b 0d 0a 09 |amageTyp|e)..{...|
|000028e0| 6c 6f 63 61 6c 20 69 6e | 74 20 4e 65 78 74 54 61 |local in|t NextTa|
|000028f0| 75 6e 74 2c 20 69 3b 0d | 0a 09 6c 6f 63 61 6c 20 |unt, i;.|..local |
|00002900| 62 6f 6f 6c 20 62 41 75 | 74 6f 54 61 75 6e 74 2c |bool bAu|toTaunt,|
|00002910| 20 62 45 6e 64 4f 76 65 | 72 54 69 6d 65 3b 0d 0a | bEndOve|rTime;..|
|00002920| 09 6c 6f 63 61 6c 20 50 | 61 77 6e 20 50 2c 20 42 |.local P|awn P, B|
|00002930| 65 73 74 3b 0d 0a 0d 0a | 09 69 66 20 28 20 28 64 |est;....|.if ( (d|
|00002940| 61 6d 61 67 65 54 79 70 | 65 20 3d 3d 20 27 44 65 |amageTyp|e == 'De|
|00002950| 63 61 70 69 74 61 74 65 | 64 27 29 20 26 26 20 28 |capitate|d') && (|
|00002960| 4b 69 6c 6c 65 72 20 21 | 3d 20 4f 74 68 65 72 29 |Killer !|= Other)|
|00002970| 20 26 26 20 28 4b 69 6c | 6c 65 72 20 21 3d 20 4e | && (Kil|ler != N|
|00002980| 6f 6e 65 29 20 29 0d 0a | 09 7b 0d 0a 09 09 69 66 |one) )..|.{....if|
|00002990| 20 28 4c 65 76 65 6c 2e | 47 61 6d 65 2e 4c 6f 63 | (Level.|Game.Loc|
|000029a0| 61 6c 4c 6f 67 20 21 3d | 20 4e 6f 6e 65 29 0d 0a |alLog !=| None)..|
|000029b0| 09 09 09 4c 65 76 65 6c | 2e 47 61 6d 65 2e 4c 6f |...Level|.Game.Lo|
|000029c0| 63 61 6c 4c 6f 67 2e 4c | 6f 67 53 70 65 63 69 61 |calLog.L|ogSpecia|
|000029d0| 6c 45 76 65 6e 74 28 22 | 68 65 61 64 73 68 6f 74 |lEvent("|headshot|
|000029e0| 22 2c 20 4b 69 6c 6c 65 | 72 2e 50 6c 61 79 65 72 |", Kille|r.Player|
|000029f0| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00002a00| 50 6c 61 79 65 72 49 44 | 2c 20 4f 74 68 65 72 2e |PlayerID|, Other.|
|00002a10| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00002a20| 6e 49 6e 66 6f 2e 50 6c | 61 79 65 72 49 44 29 3b |nInfo.Pl|ayerID);|
|00002a30| 0d 0a 09 09 69 66 20 28 | 4c 65 76 65 6c 2e 47 61 |....if (|Level.Ga|
|00002a40| 6d 65 2e 57 6f 72 6c 64 | 4c 6f 67 20 21 3d 20 4e |me.World|Log != N|
|00002a50| 6f 6e 65 29 0d 0a 09 09 | 09 4c 65 76 65 6c 2e 47 |one)....|.Level.G|
|00002a60| 61 6d 65 2e 57 6f 72 6c | 64 4c 6f 67 2e 4c 6f 67 |ame.Worl|dLog.Log|
|00002a70| 53 70 65 63 69 61 6c 45 | 76 65 6e 74 28 22 68 65 |SpecialE|vent("he|
|00002a80| 61 64 73 68 6f 74 22 2c | 20 4b 69 6c 6c 65 72 2e |adshot",| Killer.|
|00002a90| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00002aa0| 6e 49 6e 66 6f 2e 50 6c | 61 79 65 72 49 44 2c 20 |nInfo.Pl|ayerID, |
|00002ab0| 4f 74 68 65 72 2e 50 6c | 61 79 65 72 52 65 70 6c |Other.Pl|ayerRepl|
|00002ac0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 50 6c 61 79 |icationI|nfo.Play|
|00002ad0| 65 72 49 44 29 3b 0d 0a | 09 09 4b 69 6c 6c 65 72 |erID);..|..Killer|
|00002ae0| 2e 52 65 63 65 69 76 65 | 4c 6f 63 61 6c 69 7a 65 |.Receive|Localize|
|00002af0| 64 4d 65 73 73 61 67 65 | 28 20 63 6c 61 73 73 27 |dMessage|( class'|
|00002b00| 44 65 63 61 70 69 74 61 | 74 69 6f 6e 4d 65 73 73 |Decapita|tionMess|
|00002b10| 61 67 65 27 20 29 3b 0d | 0a 09 7d 0d 0a 0d 0a 09 |age' );.|..}.....|
|00002b20| 53 75 70 65 72 2e 4b 69 | 6c 6c 65 64 28 6b 69 6c |Super.Ki|lled(kil|
|00002b30| 6c 65 72 2c 20 4f 74 68 | 65 72 2c 20 64 61 6d 61 |ler, Oth|er, dama|
|00002b40| 67 65 54 79 70 65 29 3b | 0d 0a 0d 0a 09 69 66 20 |geType);|.....if |
|00002b50| 28 20 4f 74 68 65 72 2e | 53 70 72 65 65 20 3e 20 |( Other.|Spree > |
|00002b60| 34 20 29 0d 0a 09 09 45 | 6e 64 53 70 72 65 65 28 |4 )....E|ndSpree(|
|00002b70| 4b 69 6c 6c 65 72 2c 20 | 4f 74 68 65 72 29 3b 20 |Killer, |Other); |
|00002b80| 0d 0a 09 4f 74 68 65 72 | 2e 53 70 72 65 65 20 3d |...Other|.Spree =|
|00002b90| 20 30 3b 0d 0a 0d 0a 09 | 69 66 20 28 20 28 6b 69 | 0;.....|if ( (ki|
|00002ba0| 6c 6c 65 72 20 3d 3d 20 | 4e 6f 6e 65 29 20 7c 7c |ller == |None) |||
|00002bb0| 20 28 4f 74 68 65 72 20 | 3d 3d 20 4e 6f 6e 65 29 | (Other |== None)|
|00002bc0| 20 29 0d 0a 09 09 72 65 | 74 75 72 6e 3b 0d 0a 09 | )....re|turn;...|
|00002bd0| 69 66 20 28 20 21 62 46 | 69 72 73 74 42 6c 6f 6f |if ( !bF|irstBloo|
|00002be0| 64 20 29 0d 0a 09 09 69 | 66 20 28 20 4b 69 6c 6c |d )....i|f ( Kill|
|00002bf0| 65 72 2e 62 49 73 50 6c | 61 79 65 72 20 26 26 20 |er.bIsPl|ayer && |
|00002c00| 28 4b 69 6c 6c 65 72 20 | 21 3d 20 4f 74 68 65 72 |(Killer |!= Other|
|00002c10| 29 20 29 0d 0a 09 09 09 | 69 66 20 28 21 53 65 6c |) ).....|if (!Sel|
|00002c20| 66 2e 49 73 41 28 27 54 | 72 61 69 6e 69 6e 67 44 |f.IsA('T|rainingD|
|00002c30| 4d 27 29 29 0d 0a 09 09 | 09 7b 0d 0a 09 09 09 09 |M'))....|.{......|
|00002c40| 62 46 69 72 73 74 42 6c | 6f 6f 64 20 3d 20 54 72 |bFirstBl|ood = Tr|
|00002c50| 75 65 3b 0d 0a 09 09 09 | 09 42 72 6f 61 64 63 61 |ue;.....|.Broadca|
|00002c60| 73 74 4c 6f 63 61 6c 69 | 7a 65 64 4d 65 73 73 61 |stLocali|zedMessa|
|00002c70| 67 65 28 20 63 6c 61 73 | 73 27 46 69 72 73 74 42 |ge( clas|s'FirstB|
|00002c80| 6c 6f 6f 64 4d 65 73 73 | 61 67 65 27 2c 20 30 2c |loodMess|age', 0,|
|00002c90| 20 4b 69 6c 6c 65 72 2e | 50 6c 61 79 65 72 52 65 | Killer.|PlayerRe|
|00002ca0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 20 29 3b |plicatio|nInfo );|
|00002cb0| 0d 0a 09 09 09 7d 0d 0a | 0d 0a 09 69 66 20 28 20 |.....}..|...if ( |
|00002cc0| 21 62 54 65 61 6d 47 61 | 6d 65 20 29 0d 0a 09 7b |!bTeamGa|me )...{|
|00002cd0| 0d 0a 09 09 69 66 20 28 | 20 62 4f 76 65 72 54 69 |....if (| bOverTi|
|00002ce0| 6d 65 20 29 0d 0a 09 09 | 7b 0d 0a 09 09 09 62 45 |me )....|{.....bE|
|00002cf0| 6e 64 4f 76 65 72 54 69 | 6d 65 20 3d 20 74 72 75 |ndOverTi|me = tru|
|00002d00| 65 3b 0d 0a 09 09 09 2f | 2f 63 68 65 63 6b 20 66 |e;...../|/check f|
|00002d10| 6f 72 20 63 6c 65 61 72 | 20 77 69 6e 6e 65 72 20 |or clear| winner |
|00002d20| 6e 6f 77 0d 0a 09 09 09 | 2f 2f 20 66 69 6e 64 20 |now.....|// find |
|00002d30| 69 6e 64 69 76 69 64 75 | 61 6c 20 77 69 6e 6e 65 |individu|al winne|
|00002d40| 72 0d 0a 09 09 09 66 6f | 72 20 28 20 50 3d 4c 65 |r.....fo|r ( P=Le|
|00002d50| 76 65 6c 2e 50 61 77 6e | 4c 69 73 74 3b 20 50 21 |vel.Pawn|List; P!|
|00002d60| 3d 4e 6f 6e 65 3b 20 50 | 3d 50 2e 6e 65 78 74 50 |=None; P|=P.nextP|
|00002d70| 61 77 6e 20 29 0d 0a 09 | 09 09 09 69 66 20 28 20 |awn )...|...if ( |
|00002d80| 50 2e 62 49 73 50 6c 61 | 79 65 72 20 26 26 20 28 |P.bIsPla|yer && (|
|00002d90| 28 42 65 73 74 20 3d 3d | 20 4e 6f 6e 65 29 20 7c |(Best ==| None) ||
|00002da0| 7c 20 28 50 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 || (P.Pla|yerRepli|
|00002db0| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 53 63 6f 72 65 |cationIn|fo.Score|
|00002dc0| 20 3e 20 42 65 73 74 2e | 50 6c 61 79 65 72 52 65 | > Best.|PlayerRe|
|00002dd0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 53 63 |plicatio|nInfo.Sc|
|00002de0| 6f 72 65 29 29 20 29 0d | 0a 09 09 09 09 09 42 65 |ore)) ).|......Be|
|00002df0| 73 74 20 3d 20 50 3b 0d | 0a 0d 0a 09 09 09 2f 2f |st = P;.|......//|
|00002e00| 20 63 68 65 63 6b 20 66 | 6f 72 20 74 69 65 0d 0a | check f|or tie..|
|00002e10| 09 09 09 66 6f 72 20 28 | 20 50 3d 4c 65 76 65 6c |...for (| P=Level|
|00002e20| 2e 50 61 77 6e 4c 69 73 | 74 3b 20 50 21 3d 4e 6f |.PawnLis|t; P!=No|
|00002e30| 6e 65 3b 20 50 3d 50 2e | 6e 65 78 74 50 61 77 6e |ne; P=P.|nextPawn|
|00002e40| 20 29 0d 0a 09 09 09 09 | 69 66 20 28 20 50 2e 62 | )......|if ( P.b|
|00002e50| 49 73 50 6c 61 79 65 72 | 20 26 26 20 28 42 65 73 |IsPlayer| && (Bes|
|00002e60| 74 20 21 3d 20 50 29 20 | 26 26 20 28 50 2e 50 6c |t != P) |&& (P.Pl|
|00002e70| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00002e80| 6e 66 6f 2e 53 63 6f 72 | 65 20 3d 3d 20 42 65 73 |nfo.Scor|e == Bes|
|00002e90| 74 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |t.Player|Replicat|
|00002ea0| 69 6f 6e 49 6e 66 6f 2e | 53 63 6f 72 65 29 20 29 |ionInfo.|Score) )|
|00002eb0| 0d 0a 09 09 09 09 09 62 | 45 6e 64 4f 76 65 72 54 |.......b|EndOverT|
|00002ec0| 69 6d 65 20 3d 20 66 61 | 6c 73 65 3b 0d 0a 0d 0a |ime = fa|lse;....|
|00002ed0| 09 09 09 69 66 20 28 20 | 62 45 6e 64 4f 76 65 72 |...if ( |bEndOver|
|00002ee0| 54 69 6d 65 20 29 0d 0a | 09 09 09 7b 0d 0a 09 09 |Time )..|...{....|
|00002ef0| 09 09 69 66 20 28 20 28 | 46 72 61 67 4c 69 6d 69 |..if ( (|FragLimi|
|00002f00| 74 20 3e 20 30 29 20 26 | 26 20 28 42 65 73 74 2e |t > 0) &|& (Best.|
|00002f10| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00002f20| 6e 49 6e 66 6f 2e 53 63 | 6f 72 65 20 3e 3d 20 46 |nInfo.Sc|ore >= F|
|00002f30| 72 61 67 4c 69 6d 69 74 | 29 20 29 0d 0a 09 09 09 |ragLimit|) ).....|
|00002f40| 09 09 45 6e 64 47 61 6d | 65 28 22 66 72 61 67 6c |..EndGam|e("fragl|
|00002f50| 69 6d 69 74 22 29 3b 0d | 0a 09 09 09 09 65 6c 73 |imit");.|.....els|
|00002f60| 65 0d 0a 09 09 09 09 09 | 45 6e 64 47 61 6d 65 28 |e.......|EndGame(|
|00002f70| 22 74 69 6d 65 6c 69 6d | 69 74 22 29 3b 0d 0a 09 |"timelim|it");...|
|00002f80| 09 09 7d 0d 0a 09 09 7d | 0d 0a 09 09 65 6c 73 65 |..}....}|....else|
|00002f90| 20 69 66 20 28 20 28 46 | 72 61 67 4c 69 6d 69 74 | if ( (F|ragLimit|
|00002fa0| 20 3e 20 30 29 20 26 26 | 20 28 6b 69 6c 6c 65 72 | > 0) &&| (killer|
|00002fb0| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00002fc0| 6f 6e 49 6e 66 6f 2e 53 | 63 6f 72 65 20 3e 3d 20 |onInfo.S|core >= |
|00002fd0| 46 72 61 67 4c 69 6d 69 | 74 29 20 29 0d 0a 09 09 |FragLimi|t) )....|
|00002fe0| 09 45 6e 64 47 61 6d 65 | 28 22 66 72 61 67 6c 69 |.EndGame|("fragli|
|00002ff0| 6d 69 74 22 29 3b 0d 0a | 09 7d 0d 0a 0d 0a 09 69 |mit");..|.}.....i|
|00003000| 66 20 28 20 42 6f 74 43 | 6f 6e 66 69 67 2e 62 41 |f ( BotC|onfig.bA|
|00003010| 64 6a 75 73 74 53 6b 69 | 6c 6c 20 26 26 20 28 6b |djustSki|ll && (k|
|00003020| 69 6c 6c 65 72 2e 49 73 | 41 28 27 50 6c 61 79 65 |iller.Is|A('Playe|
|00003030| 72 50 61 77 6e 27 29 20 | 7c 7c 20 4f 74 68 65 72 |rPawn') ||| Other|
|00003040| 2e 49 73 41 28 27 50 6c | 61 79 65 72 50 61 77 6e |.IsA('Pl|ayerPawn|
|00003050| 27 29 29 20 29 0d 0a 09 | 7b 0d 0a 09 09 69 66 20 |')) )...|{....if |
|00003060| 28 20 6b 69 6c 6c 65 72 | 2e 49 73 41 28 27 42 6f |( killer|.IsA('Bo|
|00003070| 74 27 29 20 29 0d 0a 09 | 09 09 42 6f 74 43 6f 6e |t') )...|..BotCon|
|00003080| 66 69 67 2e 41 64 6a 75 | 73 74 53 6b 69 6c 6c 28 |fig.Adju|stSkill(|
|00003090| 42 6f 74 28 6b 69 6c 6c | 65 72 29 2c 74 72 75 65 |Bot(kill|er),true|
|000030a0| 29 3b 0d 0a 09 09 69 66 | 20 28 20 4f 74 68 65 72 |);....if| ( Other|
|000030b0| 2e 49 73 41 28 27 42 6f | 74 27 29 20 29 0d 0a 09 |.IsA('Bo|t') )...|
|000030c0| 09 09 42 6f 74 43 6f 6e | 66 69 67 2e 41 64 6a 75 |..BotCon|fig.Adju|
|000030d0| 73 74 53 6b 69 6c 6c 28 | 42 6f 74 28 4f 74 68 65 |stSkill(|Bot(Othe|
|000030e0| 72 29 2c 66 61 6c 73 65 | 29 3b 0d 0a 09 7d 0d 0a |r),false|);...}..|
|000030f0| 09 09 0d 0a 09 69 66 20 | 28 20 4f 74 68 65 72 2e |.....if |( Other.|
|00003100| 62 49 73 50 6c 61 79 65 | 72 20 26 26 20 28 4b 69 |bIsPlaye|r && (Ki|
|00003110| 6c 6c 65 72 20 21 3d 20 | 4e 6f 6e 65 29 20 26 26 |ller != |None) &&|
|00003120| 20 4b 69 6c 6c 65 72 2e | 62 49 73 50 6c 61 79 65 | Killer.|bIsPlaye|
|00003130| 72 20 26 26 20 28 4b 69 | 6c 6c 65 72 20 21 3d 20 |r && (Ki|ller != |
|00003140| 4f 74 68 65 72 29 20 0d | 0a 09 09 26 26 20 28 21 |Other) .|...&& (!|
|00003150| 62 54 65 61 6d 47 61 6d | 65 20 7c 7c 20 28 4f 74 |bTeamGam|e || (Ot|
|00003160| 68 65 72 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |her.Play|erReplic|
|00003170| 61 74 69 6f 6e 49 6e 66 | 6f 2e 54 65 61 6d 20 21 |ationInf|o.Team !|
|00003180| 3d 20 4b 69 6c 6c 65 72 | 2e 50 6c 61 79 65 72 52 |= Killer|.PlayerR|
|00003190| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 54 |eplicati|onInfo.T|
|000031a0| 65 61 6d 29 29 20 29 0d | 0a 09 7b 0d 0a 09 09 4b |eam)) ).|..{....K|
|000031b0| 69 6c 6c 65 72 2e 53 70 | 72 65 65 2b 2b 3b 0d 0a |iller.Sp|ree++;..|
|000031c0| 09 09 69 66 20 28 20 4b | 69 6c 6c 65 72 2e 53 70 |..if ( K|iller.Sp|
|000031d0| 72 65 65 20 3e 20 34 20 | 29 0d 0a 09 09 09 4e 6f |ree > 4 |).....No|
|000031e0| 74 69 66 79 53 70 72 65 | 65 28 4b 69 6c 6c 65 72 |tifySpre|e(Killer|
|000031f0| 2c 20 4b 69 6c 6c 65 72 | 2e 53 70 72 65 65 29 3b |, Killer|.Spree);|
|00003200| 0d 0a 09 7d 20 0d 0a 0d | 0a 09 62 41 75 74 6f 54 |...} ...|..bAutoT|
|00003210| 61 75 6e 74 20 3d 20 28 | 28 54 6f 75 72 6e 61 6d |aunt = (|(Tournam|
|00003220| 65 6e 74 50 6c 61 79 65 | 72 28 4b 69 6c 6c 65 72 |entPlaye|r(Killer|
|00003230| 29 20 21 3d 20 4e 6f 6e | 65 29 20 26 26 20 54 6f |) != Non|e) && To|
|00003240| 75 72 6e 61 6d 65 6e 74 | 50 6c 61 79 65 72 28 4b |urnament|Player(K|
|00003250| 69 6c 6c 65 72 29 2e 62 | 41 75 74 6f 54 61 75 6e |iller).b|AutoTaun|
|00003260| 74 29 3b 0d 0a 09 69 66 | 20 28 20 28 28 42 6f 74 |t);...if| ( ((Bot|
|00003270| 28 4b 69 6c 6c 65 72 29 | 20 21 3d 20 4e 6f 6e 65 |(Killer)| != None|
|00003280| 29 20 7c 7c 20 62 41 75 | 74 6f 54 61 75 6e 74 29 |) || bAu|toTaunt)|
|00003290| 0d 0a 09 09 26 26 20 28 | 4b 69 6c 6c 65 72 20 21 |....&& (|Killer !|
|000032a0| 3d 20 4f 74 68 65 72 29 | 20 26 26 20 28 44 61 6d |= Other)| && (Dam|
|000032b0| 61 67 65 54 79 70 65 20 | 21 3d 20 27 67 69 62 62 |ageType |!= 'gibb|
|000032c0| 65 64 27 29 20 26 26 20 | 28 4b 69 6c 6c 65 72 2e |ed') && |(Killer.|
|000032d0| 48 65 61 6c 74 68 20 3e | 20 30 29 0d 0a 09 09 26 |Health >| 0)....&|
|000032e0| 26 20 28 4c 65 76 65 6c | 2e 54 69 6d 65 53 65 63 |& (Level|.TimeSec|
|000032f0| 6f 6e 64 73 20 2d 20 4c | 61 73 74 54 61 75 6e 74 |onds - L|astTaunt|
|00003300| 54 69 6d 65 20 3e 20 33 | 29 20 29 0d 0a 09 7b 0d |Time > 3|) )...{.|
|00003310| 0a 09 09 4c 61 73 74 54 | 61 75 6e 74 54 69 6d 65 |...LastT|auntTime|
|00003320| 20 3d 20 4c 65 76 65 6c | 2e 54 69 6d 65 53 65 63 | = Level|.TimeSec|
|00003330| 6f 6e 64 73 3b 0d 0a 09 | 09 4e 65 78 74 54 61 75 |onds;...|.NextTau|
|00003340| 6e 74 20 3d 20 52 61 6e | 64 28 63 6c 61 73 73 3c |nt = Ran|d(class<|
|00003350| 43 68 61 6c 6c 65 6e 67 | 65 56 6f 69 63 65 50 61 |Challeng|eVoicePa|
|00003360| 63 6b 3e 28 4b 69 6c 6c | 65 72 2e 50 6c 61 79 65 |ck>(Kill|er.Playe|
|00003370| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00003380| 2e 56 6f 69 63 65 54 79 | 70 65 29 2e 44 65 66 61 |.VoiceTy|pe).Defa|
|00003390| 75 6c 74 2e 4e 75 6d 54 | 61 75 6e 74 73 29 3b 0d |ult.NumT|aunts);.|
|000033a0| 0a 09 09 66 6f 72 20 28 | 20 69 3d 30 3b 20 69 3c |...for (| i=0; i<|
|000033b0| 34 3b 20 69 2b 2b 20 29 | 0d 0a 09 09 7b 0d 0a 09 |4; i++ )|....{...|
|000033c0| 09 09 69 66 20 28 20 4e | 65 78 74 54 61 75 6e 74 |..if ( N|extTaunt|
|000033d0| 20 3d 3d 20 4c 61 73 74 | 54 61 75 6e 74 5b 69 5d | == Last|Taunt[i]|
|000033e0| 20 29 0d 0a 09 09 09 09 | 4e 65 78 74 54 61 75 6e | )......|NextTaun|
|000033f0| 74 20 3d 20 52 61 6e 64 | 28 63 6c 61 73 73 3c 43 |t = Rand|(class<C|
|00003400| 68 61 6c 6c 65 6e 67 65 | 56 6f 69 63 65 50 61 63 |hallenge|VoicePac|
|00003410| 6b 3e 28 4b 69 6c 6c 65 | 72 2e 50 6c 61 79 65 72 |k>(Kille|r.Player|
|00003420| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00003430| 56 6f 69 63 65 54 79 70 | 65 29 2e 44 65 66 61 75 |VoiceTyp|e).Defau|
|00003440| 6c 74 2e 4e 75 6d 54 61 | 75 6e 74 73 29 3b 0d 0a |lt.NumTa|unts);..|
|00003450| 09 09 09 69 66 20 28 20 | 69 20 3e 20 30 20 29 0d |...if ( |i > 0 ).|
|00003460| 0a 09 09 09 09 4c 61 73 | 74 54 61 75 6e 74 5b 69 |.....Las|tTaunt[i|
|00003470| 2d 31 5d 20 3d 20 4c 61 | 73 74 54 61 75 6e 74 5b |-1] = La|stTaunt[|
|00003480| 69 5d 3b 0d 0a 09 09 7d | 09 0d 0a 09 09 4c 61 73 |i];....}|.....Las|
|00003490| 74 54 61 75 6e 74 5b 33 | 5d 20 3d 20 4e 65 78 74 |tTaunt[3|] = Next|
|000034a0| 54 61 75 6e 74 3b 0d 0a | 20 09 09 6b 69 6c 6c 65 |Taunt;..| ..kille|
|000034b0| 72 2e 53 65 6e 64 47 6c | 6f 62 61 6c 4d 65 73 73 |r.SendGl|obalMess|
|000034c0| 61 67 65 28 4e 6f 6e 65 | 2c 20 27 41 55 54 4f 54 |age(None|, 'AUTOT|
|000034d0| 41 55 4e 54 27 2c 20 4e | 65 78 74 54 61 75 6e 74 |AUNT', N|extTaunt|
|000034e0| 2c 20 35 29 3b 0d 0a 09 | 7d 0d 0a 09 69 66 20 28 |, 5);...|}...if (|
|000034f0| 20 62 52 61 74 65 64 47 | 61 6d 65 20 29 0d 0a 09 | bRatedG|ame )...|
|00003500| 09 52 61 74 65 56 73 28 | 4f 74 68 65 72 2c 20 4b |.RateVs(|Other, K|
|00003510| 69 6c 6c 65 72 29 3b 0d | 0a 7d 0d 0a 0d 0a 65 76 |iller);.|.}....ev|
|00003520| 65 6e 74 20 70 6c 61 79 | 65 72 70 61 77 6e 20 4c |ent play|erpawn L|
|00003530| 6f 67 69 6e 0d 0a 28 0d | 0a 09 73 74 72 69 6e 67 |ogin..(.|..string|
|00003540| 20 50 6f 72 74 61 6c 2c | 0d 0a 09 73 74 72 69 6e | Portal,|...strin|
|00003550| 67 20 4f 70 74 69 6f 6e | 73 2c 0d 0a 09 6f 75 74 |g Option|s,...out|
|00003560| 20 73 74 72 69 6e 67 20 | 45 72 72 6f 72 2c 0d 0a | string |Error,..|
|00003570| 09 63 6c 61 73 73 3c 70 | 6c 61 79 65 72 70 61 77 |.class<p|layerpaw|
|00003580| 6e 3e 20 53 70 61 77 6e | 43 6c 61 73 73 0d 0a 29 |n> Spawn|Class..)|
|00003590| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 70 6c 61 79 |..{...lo|cal play|
|000035a0| 65 72 70 61 77 6e 20 4e | 65 77 50 6c 61 79 65 72 |erpawn N|ewPlayer|
|000035b0| 3b 0d 0a 0d 0a 09 69 66 | 20 28 20 28 4c 65 76 65 |;.....if| ( (Leve|
|000035c0| 6c 2e 4e 65 74 4d 6f 64 | 65 20 21 3d 20 4e 4d 5f |l.NetMod|e != NM_|
|000035d0| 53 74 61 6e 64 61 6c 6f | 6e 65 29 20 26 26 20 28 |Standalo|ne) && (|
|000035e0| 4e 75 6d 43 6f 6d 6d 61 | 6e 64 65 72 73 20 3e 3d |NumComma|nders >=|
|000035f0| 20 4d 61 78 43 6f 6d 6d | 61 6e 64 65 72 73 29 20 | MaxComm|anders) |
|00003600| 26 26 20 43 6c 61 73 73 | 49 73 43 68 69 6c 64 4f |&& Class|IsChildO|
|00003610| 66 28 53 70 61 77 6e 43 | 6c 61 73 73 2c 20 63 6c |f(SpawnC|lass, cl|
|00003620| 61 73 73 27 43 6f 6d 6d | 61 6e 64 65 72 27 29 20 |ass'Comm|ander') |
|00003630| 29 0d 0a 09 7b 0d 0a 09 | 09 45 72 72 6f 72 3d 22 |)...{...|.Error="|
|00003640| 4d 61 78 20 63 6f 6d 6d | 61 6e 64 65 72 73 20 22 |Max comm|anders "|
|00003650| 24 4d 61 78 43 6f 6d 6d | 61 6e 64 65 72 73 24 22 |$MaxComm|anders$"|
|00003660| 20 65 78 63 65 65 64 65 | 64 22 3b 0d 0a 09 09 72 | exceede|d";....r|
|00003670| 65 74 75 72 6e 20 4e 6f | 6e 65 3b 0d 0a 09 7d 0d |eturn No|ne;...}.|
|00003680| 0a 0d 0a 09 4e 65 77 50 | 6c 61 79 65 72 20 3d 20 |....NewP|layer = |
|00003690| 53 75 70 65 72 2e 4c 6f | 67 69 6e 28 50 6f 72 74 |Super.Lo|gin(Port|
|000036a0| 61 6c 2c 20 4f 70 74 69 | 6f 6e 73 2c 20 45 72 72 |al, Opti|ons, Err|
|000036b0| 6f 72 2c 20 53 70 61 77 | 6e 43 6c 61 73 73 29 3b |or, Spaw|nClass);|
|000036c0| 0d 0a 0d 0a 09 69 66 20 | 28 20 4e 65 77 50 6c 61 |.....if |( NewPla|
|000036d0| 79 65 72 20 21 3d 20 4e | 6f 6e 65 20 29 0d 0a 09 |yer != N|one )...|
|000036e0| 7b 0d 0a 09 09 69 66 20 | 28 20 62 52 61 74 65 64 |{....if |( bRated|
|000036f0| 47 61 6d 65 20 29 0d 0a | 09 09 09 4e 65 77 50 6c |Game )..|...NewPl|
|00003700| 61 79 65 72 2e 41 69 72 | 43 6f 6e 74 72 6f 6c 20 |ayer.Air|Control |
|00003710| 3d 20 30 2e 33 35 3b 0d | 0a 09 09 65 6c 73 65 0d |= 0.35;.|...else.|
|00003720| 0a 09 09 09 4e 65 77 50 | 6c 61 79 65 72 2e 41 69 |....NewP|layer.Ai|
|00003730| 72 43 6f 6e 74 72 6f 6c | 20 3d 20 41 69 72 43 6f |rControl| = AirCo|
|00003740| 6e 74 72 6f 6c 3b 0d 0a | 09 09 69 66 20 28 20 4c |ntrol;..|..if ( L|
|00003750| 65 66 74 28 4e 65 77 50 | 6c 61 79 65 72 2e 50 6c |eft(NewP|layer.Pl|
|00003760| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00003770| 6e 66 6f 2e 50 6c 61 79 | 65 72 4e 61 6d 65 2c 20 |nfo.Play|erName, |
|00003780| 36 29 20 3d 3d 20 44 65 | 66 61 75 6c 74 50 6c 61 |6) == De|faultPla|
|00003790| 79 65 72 4e 61 6d 65 20 | 29 0d 0a 09 09 7b 0d 0a |yerName |)....{..|
|000037a0| 09 09 09 69 66 20 28 4c | 65 76 65 6c 2e 47 61 6d |...if (L|evel.Gam|
|000037b0| 65 2e 57 6f 72 6c 64 4c | 6f 67 20 21 3d 20 4e 6f |e.WorldL|og != No|
|000037c0| 6e 65 29 0d 0a 09 09 09 | 09 4c 65 76 65 6c 2e 47 |ne).....|.Level.G|
|000037d0| 61 6d 65 2e 57 6f 72 6c | 64 4c 6f 67 2e 4c 6f 67 |ame.Worl|dLog.Log|
|000037e0| 53 70 65 63 69 61 6c 45 | 76 65 6e 74 28 22 66 6f |SpecialE|vent("fo|
|000037f0| 72 63 65 64 5f 6e 61 6d | 65 5f 63 68 61 6e 67 65 |rced_nam|e_change|
|00003800| 22 2c 20 4e 65 77 50 6c | 61 79 65 72 2e 50 6c 61 |", NewPl|ayer.Pla|
|00003810| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00003820| 66 6f 2e 50 6c 61 79 65 | 72 4e 61 6d 65 2c 20 4e |fo.Playe|rName, N|
|00003830| 65 77 50 6c 61 79 65 72 | 2e 50 6c 61 79 65 72 52 |ewPlayer|.PlayerR|
|00003840| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 50 |eplicati|onInfo.P|
|00003850| 6c 61 79 65 72 49 44 2c | 20 44 65 66 61 75 6c 74 |layerID,| Default|
|00003860| 50 6c 61 79 65 72 4e 61 | 6d 65 24 4e 75 6d 50 6c |PlayerNa|me$NumPl|
|00003870| 61 79 65 72 73 29 3b 0d | 0a 09 09 09 43 68 61 6e |ayers);.|....Chan|
|00003880| 67 65 4e 61 6d 65 28 20 | 4e 65 77 50 6c 61 79 65 |geName( |NewPlaye|
|00003890| 72 2c 20 28 44 65 66 61 | 75 6c 74 50 6c 61 79 65 |r, (Defa|ultPlaye|
|000038a0| 72 4e 61 6d 65 24 4e 75 | 6d 50 6c 61 79 65 72 73 |rName$Nu|mPlayers|
|000038b0| 29 2c 20 66 61 6c 73 65 | 20 29 3b 0d 0a 09 09 7d |), false| );....}|
|000038c0| 0d 0a 09 09 4e 65 77 50 | 6c 61 79 65 72 2e 62 41 |....NewP|layer.bA|
|000038d0| 75 74 6f 41 63 74 69 76 | 61 74 65 20 3d 20 74 72 |utoActiv|ate = tr|
|000038e0| 75 65 3b 0d 0a 09 09 69 | 66 20 28 20 28 62 47 61 |ue;....i|f ( (bGa|
|000038f0| 6d 65 45 6e 64 65 64 20 | 7c 7c 20 28 62 52 65 71 |meEnded ||| (bReq|
|00003900| 75 69 72 65 52 65 61 64 | 79 20 26 26 20 28 43 6f |uireRead|y && (Co|
|00003910| 75 6e 74 44 6f 77 6e 20 | 3e 20 30 29 29 29 20 26 |untDown |> 0))) &|
|00003920| 26 20 21 4e 65 77 50 6c | 61 79 65 72 2e 49 73 41 |& !NewPl|ayer.IsA|
|00003930| 28 27 53 70 65 63 74 61 | 74 6f 72 27 29 20 29 0d |('Specta|tor') ).|
|00003940| 0a 09 09 09 4e 65 77 50 | 6c 61 79 65 72 2e 50 6c |....NewP|layer.Pl|
|00003950| 61 79 65 72 52 65 73 74 | 61 72 74 53 74 61 74 65 |ayerRest|artState|
|00003960| 20 3d 20 27 50 6c 61 79 | 65 72 57 61 69 74 69 6e | = 'Play|erWaitin|
|00003970| 67 27 3b 0d 0a 09 09 65 | 6c 73 65 0d 0a 09 09 09 |g';....e|lse.....|
|00003980| 4e 65 77 50 6c 61 79 65 | 72 2e 50 6c 61 79 65 72 |NewPlaye|r.Player|
|00003990| 52 65 73 74 61 72 74 53 | 74 61 74 65 20 3d 20 4e |RestartS|tate = N|
|000039a0| 65 77 50 6c 61 79 65 72 | 2e 44 65 66 61 75 6c 74 |ewPlayer|.Default|
|000039b0| 2e 50 6c 61 79 65 72 52 | 65 73 74 61 72 74 53 74 |.PlayerR|estartSt|
|000039c0| 61 74 65 3b 0d 0a 0d 0a | 09 09 69 66 20 28 20 4e |ate;....|..if ( N|
|000039d0| 65 77 50 6c 61 79 65 72 | 2e 49 73 41 28 27 54 6f |ewPlayer|.IsA('To|
|000039e0| 75 72 6e 61 6d 65 6e 74 | 50 6c 61 79 65 72 27 29 |urnament|Player')|
|000039f0| 20 29 0d 0a 09 09 7b 0d | 0a 09 09 09 54 6f 75 72 | )....{.|....Tour|
|00003a00| 6e 61 6d 65 6e 74 50 6c | 61 79 65 72 28 4e 65 77 |namentPl|ayer(New|
|00003a10| 50 6c 61 79 65 72 29 2e | 53 74 61 72 74 53 70 6f |Player).|StartSpo|
|00003a20| 74 20 3d 20 4c 61 73 74 | 53 74 61 72 74 53 70 6f |t = Last|StartSpo|
|00003a30| 74 3b 0d 0a 09 09 09 69 | 66 20 28 20 4e 65 77 50 |t;.....i|f ( NewP|
|00003a40| 6c 61 79 65 72 2e 49 73 | 41 28 27 43 6f 6d 6d 61 |layer.Is|A('Comma|
|00003a50| 6e 64 65 72 27 29 20 29 | 0d 0a 09 09 09 09 4e 75 |nder') )|......Nu|
|00003a60| 6d 43 6f 6d 6d 61 6e 64 | 65 72 73 2b 2b 3b 0d 0a |mCommand|ers++;..|
|00003a70| 09 09 7d 0d 0a 09 7d 0d | 0a 09 72 65 74 75 72 6e |..}...}.|..return|
|00003a80| 20 4e 65 77 50 6c 61 79 | 65 72 3b 0d 0a 7d 0d 0a | NewPlay|er;..}..|
|00003a90| 0d 0a 65 76 65 6e 74 20 | 50 6f 73 74 4c 6f 67 69 |..event |PostLogi|
|00003aa0| 6e 28 20 70 6c 61 79 65 | 72 70 61 77 6e 20 4e 65 |n( playe|rpawn Ne|
|00003ab0| 77 50 6c 61 79 65 72 20 | 29 0d 0a 7b 0d 0a 09 53 |wPlayer |)..{...S|
|00003ac0| 75 70 65 72 2e 50 6f 73 | 74 4c 6f 67 69 6e 28 4e |uper.Pos|tLogin(N|
|00003ad0| 65 77 50 6c 61 79 65 72 | 29 3b 0d 0a 09 69 66 20 |ewPlayer|);...if |
|00003ae0| 28 20 4c 65 76 65 6c 2e | 4e 65 74 4d 6f 64 65 20 |( Level.|NetMode |
|00003af0| 3d 3d 20 4e 4d 5f 53 74 | 61 6e 64 61 6c 6f 6e 65 |== NM_St|andalone|
|00003b00| 20 29 0d 0a 09 7b 0d 0a | 09 09 77 68 69 6c 65 20 | )...{..|..while |
|00003b10| 28 20 28 52 65 6d 61 69 | 6e 69 6e 67 42 6f 74 73 |( (Remai|ningBots|
|00003b20| 20 3e 20 30 29 20 26 26 | 20 41 64 64 42 6f 74 28 | > 0) &&| AddBot(|
|00003b30| 29 20 29 0d 0a 09 09 09 | 52 65 6d 61 69 6e 69 6e |) ).....|Remainin|
|00003b40| 67 42 6f 74 73 2d 2d 3b | 0d 0a 09 7d 0d 0a 09 65 |gBots--;|...}...e|
|00003b50| 6c 73 65 0d 0a 09 09 52 | 65 6d 61 69 6e 69 6e 67 |lse....R|emaining|
|00003b60| 42 6f 74 73 20 3d 20 30 | 3b 0d 0a 0d 0a 09 69 66 |Bots = 0|;.....if|
|00003b70| 20 28 20 21 62 52 61 74 | 65 64 47 61 6d 65 20 29 | ( !bRat|edGame )|
|00003b80| 0d 0a 09 7b 0d 0a 09 09 | 50 6c 61 79 53 74 61 72 |...{....|PlayStar|
|00003b90| 74 55 70 4d 65 73 73 61 | 67 65 28 4e 65 77 50 6c |tUpMessa|ge(NewPl|
|00003ba0| 61 79 65 72 29 3b 0d 0a | 09 09 4e 65 77 50 6c 61 |ayer);..|..NewPla|
|00003bb0| 79 65 72 2e 53 65 74 50 | 72 6f 67 72 65 73 73 54 |yer.SetP|rogressT|
|00003bc0| 69 6d 65 28 36 29 3b 0d | 0a 09 7d 0d 0a 7d 0d 0a |ime(6);.|..}..}..|
|00003bd0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 69 6e 74 20 52 |..functi|on int R|
|00003be0| 65 64 75 63 65 44 61 6d | 61 67 65 28 69 6e 74 20 |educeDam|age(int |
|00003bf0| 44 61 6d 61 67 65 2c 20 | 6e 61 6d 65 20 44 61 6d |Damage, |name Dam|
|00003c00| 61 67 65 54 79 70 65 2c | 20 70 61 77 6e 20 69 6e |ageType,| pawn in|
|00003c10| 6a 75 72 65 64 2c 20 70 | 61 77 6e 20 69 6e 73 74 |jured, p|awn inst|
|00003c20| 69 67 61 74 65 64 42 79 | 29 0d 0a 7b 0d 0a 09 69 |igatedBy|)..{...i|
|00003c30| 66 20 28 69 6e 6a 75 72 | 65 64 2e 52 65 67 69 6f |f (injur|ed.Regio|
|00003c40| 6e 2e 5a 6f 6e 65 2e 62 | 4e 65 75 74 72 61 6c 5a |n.Zone.b|NeutralZ|
|00003c50| 6f 6e 65 29 0d 0a 09 09 | 72 65 74 75 72 6e 20 30 |one)....|return 0|
|00003c60| 3b 0d 0a 0d 0a 09 69 66 | 20 28 20 69 6e 73 74 69 |;.....if| ( insti|
|00003c70| 67 61 74 65 64 42 79 20 | 3d 3d 20 4e 6f 6e 65 29 |gatedBy |== None)|
|00003c80| 0d 0a 09 09 72 65 74 75 | 72 6e 20 44 61 6d 61 67 |....retu|rn Damag|
|00003c90| 65 3b 0d 0a 0d 0a 09 69 | 66 20 28 20 62 48 61 72 |e;.....i|f ( bHar|
|00003ca0| 64 43 6f 72 65 4d 6f 64 | 65 20 29 0d 0a 09 09 44 |dCoreMod|e )....D|
|00003cb0| 61 6d 61 67 65 20 2a 3d | 20 31 2e 35 3b 0d 0a 09 |amage *=| 1.5;...|
|00003cc0| 69 66 20 28 20 62 4e 6f | 76 69 63 65 4d 6f 64 65 |if ( bNo|viceMode|
|00003cd0| 20 26 26 20 21 62 54 68 | 72 65 65 50 6c 75 73 20 | && !bTh|reePlus |
|00003ce0| 29 0d 0a 09 7b 0d 0a 09 | 09 69 66 20 28 20 69 6e |)...{...|.if ( in|
|00003cf0| 73 74 69 67 61 74 65 64 | 42 79 2e 62 49 73 50 6c |stigated|By.bIsPl|
|00003d00| 61 79 65 72 20 26 26 20 | 28 69 6e 6a 75 72 65 64 |ayer && |(injured|
|00003d10| 20 3d 3d 20 69 6e 73 74 | 69 67 61 74 65 64 62 79 | == inst|igatedby|
|00003d20| 29 20 26 26 20 28 4c 65 | 76 65 6c 2e 4e 65 74 4d |) && (Le|vel.NetM|
|00003d30| 6f 64 65 20 3d 3d 20 4e | 4d 5f 53 74 61 6e 64 61 |ode == N|M_Standa|
|00003d40| 6c 6f 6e 65 29 20 29 0d | 0a 09 09 09 44 61 6d 61 |lone) ).|....Dama|
|00003d50| 67 65 20 2a 3d 20 30 2e | 35 3b 0d 0a 0d 0a 09 09 |ge *= 0.|5;......|
|00003d60| 2f 2f 73 6b 69 6c 6c 20 | 6c 65 76 65 6c 20 6d 6f |//skill |level mo|
|00003d70| 64 69 66 69 63 61 74 69 | 6f 6e 0d 0a 09 09 69 66 |dificati|on....if|
|00003d80| 20 28 20 69 6e 73 74 69 | 67 61 74 65 64 42 79 2e | ( insti|gatedBy.|
|00003d90| 49 73 41 28 27 42 6f 74 | 27 29 20 26 26 20 69 6e |IsA('Bot|') && in|
|00003da0| 6a 75 72 65 64 2e 49 73 | 41 28 27 50 6c 61 79 65 |jured.Is|A('Playe|
|00003db0| 72 50 61 77 6e 27 29 20 | 29 0d 0a 09 09 7b 0d 0a |rPawn') |)....{..|
|00003dc0| 09 09 09 69 66 20 28 20 | 28 28 69 6e 73 74 69 67 |...if ( |((instig|
|00003dd0| 61 74 65 64 42 79 2e 57 | 65 61 70 6f 6e 20 21 3d |atedBy.W|eapon !=|
|00003de0| 20 4e 6f 6e 65 29 20 26 | 26 20 69 6e 73 74 69 67 | None) &|& instig|
|00003df0| 61 74 65 64 42 79 2e 57 | 65 61 70 6f 6e 2e 62 4d |atedBy.W|eapon.bM|
|00003e00| 65 6c 65 65 57 65 61 70 | 6f 6e 29 20 0d 0a 09 09 |eleeWeap|on) ....|
|00003e10| 09 09 7c 7c 20 28 28 69 | 6e 6a 75 72 65 64 2e 57 |..|| ((i|njured.W|
|00003e20| 65 61 70 6f 6e 20 21 3d | 20 4e 6f 6e 65 29 20 26 |eapon !=| None) &|
|00003e30| 26 20 69 6e 6a 75 72 65 | 64 2e 57 65 61 70 6f 6e |& injure|d.Weapon|
|00003e40| 2e 62 4d 65 6c 65 65 57 | 65 61 70 6f 6e 20 26 26 |.bMeleeW|eapon &&|
|00003e50| 20 28 56 53 69 7a 65 28 | 69 6e 6a 75 72 65 64 2e | (VSize(|injured.|
|00003e60| 6c 6f 63 61 74 69 6f 6e | 20 2d 20 69 6e 73 74 69 |location| - insti|
|00003e70| 67 61 74 65 64 42 79 2e | 4c 6f 63 61 74 69 6f 6e |gatedBy.|Location|
|00003e80| 29 20 3c 20 36 30 30 29 | 29 20 29 0d 0a 09 09 09 |) < 600)|) ).....|
|00003e90| 09 44 61 6d 61 67 65 20 | 3d 20 44 61 6d 61 67 65 |.Damage |= Damage|
|00003ea0| 20 2a 20 28 30 2e 37 36 | 20 2b 20 30 2e 30 38 20 | * (0.76| + 0.08 |
|00003eb0| 2a 20 69 6e 73 74 69 67 | 61 74 65 64 42 79 2e 73 |* instig|atedBy.s|
|00003ec0| 6b 69 6c 6c 29 3b 0d 0a | 09 09 09 65 6c 73 65 0d |kill);..|...else.|
|00003ed0| 0a 09 09 09 09 44 61 6d | 61 67 65 20 3d 20 44 61 |.....Dam|age = Da|
|00003ee0| 6d 61 67 65 20 2a 20 28 | 30 2e 32 35 20 2b 20 30 |mage * (|0.25 + 0|
|00003ef0| 2e 31 35 20 2a 20 69 6e | 73 74 69 67 61 74 65 64 |.15 * in|stigated|
|00003f00| 42 79 2e 73 6b 69 6c 6c | 29 3b 0d 0a 09 09 7d 0d |By.skill|);....}.|
|00003f10| 0a 09 7d 0d 0a 09 72 65 | 74 75 72 6e 20 28 44 61 |..}...re|turn (Da|
|00003f20| 6d 61 67 65 20 2a 20 69 | 6e 73 74 69 67 61 74 65 |mage * i|nstigate|
|00003f30| 64 42 79 2e 44 61 6d 61 | 67 65 53 63 61 6c 69 6e |dBy.Dama|geScalin|
|00003f40| 67 29 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |g);..}..|..functi|
|00003f50| 6f 6e 20 53 74 61 72 74 | 4d 61 74 63 68 28 29 0d |on Start|Match().|
|00003f60| 0a 7b 09 0d 0a 09 6c 6f | 63 61 6c 20 50 61 77 6e |.{....lo|cal Pawn|
|00003f70| 20 50 3b 0d 0a 09 6c 6f | 63 61 6c 20 54 69 6d 65 | P;...lo|cal Time|
|00003f80| 64 54 72 69 67 67 65 72 | 20 54 3b 0d 0a 0d 0a 09 |dTrigger| T;.....|
|00003f90| 69 66 20 28 4c 6f 63 61 | 6c 4c 6f 67 20 21 3d 20 |if (Loca|lLog != |
|00003fa0| 4e 6f 6e 65 29 0d 0a 09 | 09 4c 6f 63 61 6c 4c 6f |None)...|.LocalLo|
|00003fb0| 67 2e 4c 6f 67 47 61 6d | 65 53 74 61 72 74 28 29 |g.LogGam|eStart()|
|00003fc0| 3b 0d 0a 09 69 66 20 28 | 57 6f 72 6c 64 4c 6f 67 |;...if (|WorldLog|
|00003fd0| 20 21 3d 20 4e 6f 6e 65 | 29 0d 0a 09 09 57 6f 72 | != None|)....Wor|
|00003fe0| 6c 64 4c 6f 67 2e 4c 6f | 67 47 61 6d 65 53 74 61 |ldLog.Lo|gGameSta|
|00003ff0| 72 74 28 29 3b 0d 0a 0d | 0a 09 46 6f 72 45 61 63 |rt();...|..ForEac|
|00004000| 68 20 41 6c 6c 41 63 74 | 6f 72 73 28 63 6c 61 73 |h AllAct|ors(clas|
|00004010| 73 27 54 69 6d 65 64 54 | 72 69 67 67 65 72 27 2c |s'TimedT|rigger',|
|00004020| 20 54 29 0d 0a 09 09 54 | 2e 53 65 74 54 69 6d 65 | T)....T|.SetTime|
|00004030| 72 28 54 2e 44 65 6c 61 | 79 53 65 63 6f 6e 64 73 |r(T.Dela|ySeconds|
|00004040| 2c 20 54 2e 62 52 65 70 | 65 61 74 69 6e 67 29 3b |, T.bRep|eating);|
|00004050| 0d 0a 09 69 66 20 28 20 | 4c 65 76 65 6c 2e 4e 65 |...if ( |Level.Ne|
|00004060| 74 4d 6f 64 65 20 21 3d | 20 4e 4d 5f 53 74 61 6e |tMode !=| NM_Stan|
|00004070| 64 61 6c 6f 6e 65 20 29 | 0d 0a 09 09 52 65 6d 61 |dalone )|....Rema|
|00004080| 69 6e 69 6e 67 42 6f 74 | 73 20 3d 20 30 3b 0d 0a |iningBot|s = 0;..|
|00004090| 09 47 61 6d 65 52 65 70 | 6c 69 63 61 74 69 6f 6e |.GameRep|lication|
|000040a0| 49 6e 66 6f 2e 52 65 6d | 61 69 6e 69 6e 67 4d 69 |Info.Rem|ainingMi|
|000040b0| 6e 75 74 65 20 3d 20 52 | 65 6d 61 69 6e 69 6e 67 |nute = R|emaining|
|000040c0| 54 69 6d 65 3b 0d 0a 09 | 62 53 74 61 72 74 4d 61 |Time;...|bStartMa|
|000040d0| 74 63 68 20 3d 20 74 72 | 75 65 3b 0d 0a 0d 0a 09 |tch = tr|ue;.....|
|000040e0| 2f 2f 20 73 74 61 72 74 | 20 70 6c 61 79 65 72 73 |// start| players|
|000040f0| 20 66 69 72 73 74 20 28 | 69 6e 20 74 68 65 69 72 | first (|in their|
|00004100| 20 63 75 72 72 65 6e 74 | 20 73 74 61 72 74 73 70 | current| startsp|
|00004110| 6f 74 73 29 0d 0a 09 66 | 6f 72 20 28 20 50 20 3d |ots)...f|or ( P =|
|00004120| 20 4c 65 76 65 6c 2e 50 | 61 77 6e 4c 69 73 74 3b | Level.P|awnList;|
|00004130| 20 50 21 3d 4e 6f 6e 65 | 3b 20 50 3d 50 2e 6e 65 | P!=None|; P=P.ne|
|00004140| 78 74 50 61 77 6e 20 29 | 0d 0a 09 09 69 66 20 28 |xtPawn )|....if (|
|00004150| 20 50 2e 62 49 73 50 6c | 61 79 65 72 20 26 26 20 | P.bIsPl|ayer && |
|00004160| 50 2e 49 73 41 28 27 50 | 6c 61 79 65 72 50 61 77 |P.IsA('P|layerPaw|
|00004170| 6e 27 29 20 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 69 |n') )...|.{.....i|
|00004180| 66 20 28 20 62 47 61 6d | 65 45 6e 64 65 64 20 29 |f ( bGam|eEnded )|
|00004190| 20 72 65 74 75 72 6e 3b | 20 2f 2f 20 74 65 6c 65 | return;| // tele|
|000041a0| 66 72 61 67 20 65 6e 64 | 65 64 20 74 68 65 20 67 |frag end|ed the g|
|000041b0| 61 6d 65 20 77 69 74 68 | 20 72 69 64 69 63 75 6c |ame with| ridicul|
|000041c0| 6f 75 73 20 66 72 61 67 | 20 6c 69 6d 69 74 0d 0a |ous frag| limit..|
|000041d0| 09 09 09 65 6c 73 65 20 | 69 66 20 28 20 21 50 2e |...else |if ( !P.|
|000041e0| 49 73 41 28 27 53 70 65 | 63 74 61 74 6f 72 27 29 |IsA('Spe|ctator')|
|000041f0| 20 20 29 0d 0a 09 09 09 | 7b 0d 0a 09 09 09 09 50 | ).....|{......P|
|00004200| 2e 50 6c 61 79 65 72 52 | 65 73 74 61 72 74 53 74 |.PlayerR|estartSt|
|00004210| 61 74 65 20 3d 20 50 2e | 44 65 66 61 75 6c 74 2e |ate = P.|Default.|
|00004220| 50 6c 61 79 65 72 52 65 | 73 74 61 72 74 53 74 61 |PlayerRe|startSta|
|00004230| 74 65 3b 0d 0a 09 09 09 | 09 50 2e 47 6f 74 6f 53 |te;.....|.P.GotoS|
|00004240| 74 61 74 65 28 50 2e 44 | 65 66 61 75 6c 74 2e 50 |tate(P.D|efault.P|
|00004250| 6c 61 79 65 72 52 65 73 | 74 61 72 74 53 74 61 74 |layerRes|tartStat|
|00004260| 65 29 3b 0d 0a 09 09 09 | 09 69 66 20 28 20 21 50 |e);.....|.if ( !P|
|00004270| 2e 49 73 41 28 27 43 6f | 6d 6d 61 6e 64 65 72 27 |.IsA('Co|mmander'|
|00004280| 29 20 29 0d 0a 09 09 09 | 09 09 52 65 73 74 61 72 |) ).....|..Restar|
|00004290| 74 50 6c 61 79 65 72 28 | 50 29 3b 0d 0a 09 09 09 |tPlayer(|P);.....|
|000042a0| 7d 0d 0a 09 09 09 53 65 | 6e 64 53 74 61 72 74 4d |}.....Se|ndStartM|
|000042b0| 65 73 73 61 67 65 28 50 | 6c 61 79 65 72 50 61 77 |essage(P|layerPaw|
|000042c0| 6e 28 50 29 29 3b 0d 0a | 09 09 7d 0d 0a 0d 0a 0d |n(P));..|..}.....|
|000042d0| 0a 09 66 6f 72 20 28 20 | 50 20 3d 20 4c 65 76 65 |..for ( |P = Leve|
|000042e0| 6c 2e 50 61 77 6e 4c 69 | 73 74 3b 20 50 21 3d 4e |l.PawnLi|st; P!=N|
|000042f0| 6f 6e 65 3b 20 50 3d 50 | 2e 6e 65 78 74 50 61 77 |one; P=P|.nextPaw|
|00004300| 6e 20 29 0d 0a 09 09 69 | 66 20 28 20 50 2e 62 49 |n )....i|f ( P.bI|
|00004310| 73 50 6c 61 79 65 72 20 | 26 26 20 21 50 2e 49 73 |sPlayer |&& !P.Is|
|00004320| 41 28 27 50 6c 61 79 65 | 72 50 61 77 6e 27 29 20 |A('Playe|rPawn') |
|00004330| 29 0d 0a 09 09 7b 0d 0a | 09 09 09 50 2e 52 65 73 |)....{..|...P.Res|
|00004340| 74 61 72 74 50 6c 61 79 | 65 72 28 29 3b 0d 0a 09 |tartPlay|er();...|
|00004350| 09 09 69 66 20 28 20 50 | 2e 49 73 41 28 27 42 6f |..if ( P|.IsA('Bo|
|00004360| 74 27 29 20 29 0d 0a 09 | 09 09 09 42 6f 74 28 50 |t') )...|...Bot(P|
|00004370| 29 2e 53 74 61 72 74 4d | 61 74 63 68 28 29 3b 0d |).StartM|atch();.|
|00004380| 0a 09 09 7d 0d 0a 09 62 | 53 74 61 72 74 4d 61 74 |...}...b|StartMat|
|00004390| 63 68 20 3d 20 66 61 6c | 73 65 3b 0d 0a 7d 0d 0a |ch = fal|se;..}..|
|000043a0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 54 69 6d |....func|tion Tim|
|000043b0| 65 72 28 29 0d 0a 7b 0d | 0a 09 6c 6f 63 61 6c 20 |er()..{.|..local |
|000043c0| 50 61 77 6e 20 50 3b 0d | 0a 09 6c 6f 63 61 6c 20 |Pawn P;.|..local |
|000043d0| 62 6f 6f 6c 20 62 52 65 | 61 64 79 3b 0d 0a 09 6c |bool bRe|ady;...l|
|000043e0| 6f 63 61 6c 20 69 6e 74 | 20 4d 3b 0d 0a 0d 0a 09 |ocal int| M;.....|
|000043f0| 53 75 70 65 72 2e 54 69 | 6d 65 72 28 29 3b 0d 0a |Super.Ti|mer();..|
|00004400| 0d 0a 09 69 66 20 28 20 | 62 4e 65 74 52 65 61 64 |...if ( |bNetRead|
|00004410| 79 20 29 0d 0a 09 7b 0d | 0a 09 09 69 66 20 28 20 |y )...{.|...if ( |
|00004420| 4e 75 6d 50 6c 61 79 65 | 72 73 20 3e 20 30 20 29 |NumPlaye|rs > 0 )|
|00004430| 0d 0a 09 09 09 45 6c 61 | 70 73 65 64 54 69 6d 65 |.....Ela|psedTime|
|00004440| 2b 2b 3b 0d 0a 09 09 65 | 6c 73 65 0d 0a 09 09 09 |++;....e|lse.....|
|00004450| 45 6c 61 70 73 65 64 54 | 69 6d 65 20 3d 20 30 3b |ElapsedT|ime = 0;|
|00004460| 0d 0a 09 09 69 66 20 28 | 20 45 6c 61 70 73 65 64 |....if (| Elapsed|
|00004470| 54 69 6d 65 20 3e 20 4e | 65 74 57 61 69 74 20 29 |Time > N|etWait )|
|00004480| 0d 0a 09 09 7b 0d 0a 09 | 09 09 69 66 20 28 20 28 |....{...|..if ( (|
|00004490| 4e 75 6d 50 6c 61 79 65 | 72 73 20 2b 20 4e 75 6d |NumPlaye|rs + Num|
|000044a0| 42 6f 74 73 20 3c 20 34 | 29 20 26 26 20 4e 65 65 |Bots < 4|) && Nee|
|000044b0| 64 50 6c 61 79 65 72 73 | 28 29 20 29 0d 0a 09 09 |dPlayers|() )....|
|000044c0| 09 09 41 64 64 42 6f 74 | 28 29 3b 0d 0a 09 09 09 |..AddBot|();.....|
|000044d0| 65 6c 73 65 20 69 66 20 | 28 20 28 4e 75 6d 50 6c |else if |( (NumPl|
|000044e0| 61 79 65 72 73 20 2b 20 | 4e 75 6d 42 6f 74 73 20 |ayers + |NumBots |
|000044f0| 3e 20 31 29 20 7c 7c 20 | 28 28 4e 75 6d 50 6c 61 |> 1) || |((NumPla|
|00004500| 79 65 72 73 20 3e 20 30 | 29 20 26 26 20 28 45 6c |yers > 0|) && (El|
|00004510| 61 70 73 65 64 54 69 6d | 65 20 3e 20 32 20 2a 20 |apsedTim|e > 2 * |
|00004520| 4e 65 74 57 61 69 74 29 | 29 20 29 0d 0a 09 09 09 |NetWait)|) ).....|
|00004530| 09 62 4e 65 74 52 65 61 | 64 79 20 3d 20 66 61 6c |.bNetRea|dy = fal|
|00004540| 73 65 3b 0d 0a 09 09 7d | 0d 0a 0d 0a 09 09 69 66 |se;....}|......if|
|00004550| 20 28 20 62 4e 65 74 52 | 65 61 64 79 20 29 0d 0a | ( bNetR|eady )..|
|00004560| 09 09 7b 0d 0a 09 09 09 | 66 6f 72 20 28 50 3d 4c |..{.....|for (P=L|
|00004570| 65 76 65 6c 2e 50 61 77 | 6e 4c 69 73 74 3b 20 50 |evel.Paw|nList; P|
|00004580| 21 3d 4e 6f 6e 65 3b 20 | 50 3d 50 2e 4e 65 78 74 |!=None; |P=P.Next|
|00004590| 50 61 77 6e 20 29 0d 0a | 09 09 09 09 69 66 20 28 |Pawn )..|....if (|
|000045a0| 20 50 2e 49 73 41 28 27 | 50 6c 61 79 65 72 50 61 | P.IsA('|PlayerPa|
|000045b0| 77 6e 27 29 20 29 0d 0a | 09 09 09 09 09 50 6c 61 |wn') )..|.....Pla|
|000045c0| 79 65 72 50 61 77 6e 28 | 50 29 2e 53 65 74 50 72 |yerPawn(|P).SetPr|
|000045d0| 6f 67 72 65 73 73 54 69 | 6d 65 28 32 29 3b 0d 0a |ogressTi|me(2);..|
|000045e0| 09 09 09 72 65 74 75 72 | 6e 3b 0d 0a 09 09 7d 0d |...retur|n;....}.|
|000045f0| 0a 09 09 65 6c 73 65 0d | 0a 09 09 7b 0d 0a 09 09 |...else.|...{....|
|00004600| 09 77 68 69 6c 65 20 28 | 20 4e 65 65 64 50 6c 61 |.while (| NeedPla|
|00004610| 79 65 72 73 28 29 20 29 | 0d 0a 09 09 09 09 41 64 |yers() )|......Ad|
|00004620| 64 42 6f 74 28 29 3b 0d | 0a 09 09 09 62 52 65 71 |dBot();.|....bReq|
|00004630| 75 69 72 65 52 65 61 64 | 79 20 3d 20 66 61 6c 73 |uireRead|y = fals|
|00004640| 65 3b 0d 0a 09 09 09 53 | 74 61 72 74 4d 61 74 63 |e;.....S|tartMatc|
|00004650| 68 28 29 3b 0d 0a 09 09 | 7d 0d 0a 09 7d 0d 0a 0d |h();....|}...}...|
|00004660| 0a 09 69 66 20 28 20 62 | 52 65 71 75 69 72 65 52 |..if ( b|RequireR|
|00004670| 65 61 64 79 20 26 26 20 | 28 43 6f 75 6e 74 44 6f |eady && |(CountDo|
|00004680| 77 6e 20 3e 20 30 29 20 | 29 0d 0a 09 7b 0d 0a 09 |wn > 0) |)...{...|
|00004690| 09 77 68 69 6c 65 20 28 | 20 28 52 65 6d 61 69 6e |.while (| (Remain|
|000046a0| 69 6e 67 42 6f 74 73 20 | 3e 20 30 29 20 26 26 20 |ingBots |> 0) && |
|000046b0| 41 64 64 42 6f 74 28 29 | 20 29 0d 0a 09 09 09 52 |AddBot()| ).....R|
|000046c0| 65 6d 61 69 6e 69 6e 67 | 42 6f 74 73 2d 2d 3b 0d |emaining|Bots--;.|
|000046d0| 0a 09 09 66 6f 72 20 28 | 50 3d 4c 65 76 65 6c 2e |...for (|P=Level.|
|000046e0| 50 61 77 6e 4c 69 73 74 | 3b 20 50 21 3d 4e 6f 6e |PawnList|; P!=Non|
|000046f0| 65 3b 20 50 3d 50 2e 4e | 65 78 74 50 61 77 6e 20 |e; P=P.N|extPawn |
|00004700| 29 0d 0a 09 09 09 69 66 | 20 28 20 50 2e 49 73 41 |).....if| ( P.IsA|
|00004710| 28 27 50 6c 61 79 65 72 | 50 61 77 6e 27 29 20 29 |('Player|Pawn') )|
|00004720| 0d 0a 09 09 09 09 50 6c | 61 79 65 72 50 61 77 6e |......Pl|ayerPawn|
|00004730| 28 50 29 2e 53 65 74 50 | 72 6f 67 72 65 73 73 54 |(P).SetP|rogressT|
|00004740| 69 6d 65 28 32 29 3b 0d | 0a 09 09 69 66 20 28 20 |ime(2);.|...if ( |
|00004750| 28 28 4e 75 6d 50 6c 61 | 79 65 72 73 20 3d 3d 20 |((NumPla|yers == |
|00004760| 4d 61 78 50 6c 61 79 65 | 72 73 29 20 7c 7c 20 28 |MaxPlaye|rs) || (|
|00004770| 4c 65 76 65 6c 2e 4e 65 | 74 4d 6f 64 65 20 3d 3d |Level.Ne|tMode ==|
|00004780| 20 4e 4d 5f 53 74 61 6e | 64 61 6c 6f 6e 65 29 29 | NM_Stan|dalone))|
|00004790| 20 0d 0a 09 09 09 09 26 | 26 20 28 52 65 6d 61 69 | ......&|& (Remai|
|000047a0| 6e 69 6e 67 42 6f 74 73 | 20 3c 3d 20 30 29 20 29 |ningBots| <= 0) )|
|000047b0| 0d 0a 09 09 7b 09 0d 0a | 09 09 09 62 52 65 61 64 |....{...|...bRead|
|000047c0| 79 20 3d 20 74 72 75 65 | 3b 0d 0a 09 09 09 66 6f |y = true|;.....fo|
|000047d0| 72 20 28 50 3d 4c 65 76 | 65 6c 2e 50 61 77 6e 4c |r (P=Lev|el.PawnL|
|000047e0| 69 73 74 3b 20 50 21 3d | 4e 6f 6e 65 3b 20 50 3d |ist; P!=|None; P=|
|000047f0| 50 2e 4e 65 78 74 50 61 | 77 6e 20 29 0d 0a 09 09 |P.NextPa|wn )....|
|00004800| 09 09 69 66 20 28 20 50 | 2e 49 73 41 28 27 50 6c |..if ( P|.IsA('Pl|
|00004810| 61 79 65 72 50 61 77 6e | 27 29 20 26 26 20 21 50 |ayerPawn|') && !P|
|00004820| 2e 49 73 41 28 27 53 70 | 65 63 74 61 74 6f 72 27 |.IsA('Sp|ectator'|
|00004830| 29 0d 0a 09 09 09 09 09 | 26 26 20 21 50 6c 61 79 |).......|&& !Play|
|00004840| 65 72 50 61 77 6e 28 50 | 29 2e 62 52 65 61 64 79 |erPawn(P|).bReady|
|00004850| 54 6f 50 6c 61 79 20 29 | 0d 0a 09 09 09 09 09 62 |ToPlay )|.......b|
|00004860| 52 65 61 64 79 20 3d 20 | 66 61 6c 73 65 3b 0d 0a |Ready = |false;..|
|00004870| 09 09 09 0d 0a 09 09 09 | 69 66 20 28 20 62 52 65 |........|if ( bRe|
|00004880| 61 64 79 20 29 0d 0a 09 | 09 09 7b 09 0d 0a 09 09 |ady )...|..{.....|
|00004890| 09 09 53 74 61 72 74 43 | 6f 75 6e 74 20 3d 20 33 |..StartC|ount = 3|
|000048a0| 30 3b 0d 0a 09 09 09 09 | 43 6f 75 6e 74 44 6f 77 |0;......|CountDow|
|000048b0| 6e 2d 2d 3b 0d 0a 09 09 | 09 09 69 66 20 28 20 43 |n--;....|..if ( C|
|000048c0| 6f 75 6e 74 44 6f 77 6e | 20 3c 3d 20 30 20 29 0d |ountDown| <= 0 ).|
|000048d0| 0a 09 09 09 09 09 53 74 | 61 72 74 4d 61 74 63 68 |......St|artMatch|
|000048e0| 28 29 3b 0d 0a 09 09 09 | 09 65 6c 73 65 0d 0a 09 |();.....|.else...|
|000048f0| 09 09 09 7b 0d 0a 09 09 | 09 09 09 66 6f 72 20 28 |...{....|...for (|
|00004900| 20 50 20 3d 20 4c 65 76 | 65 6c 2e 50 61 77 6e 4c | P = Lev|el.PawnL|
|00004910| 69 73 74 3b 20 50 21 3d | 4e 6f 6e 65 3b 20 50 3d |ist; P!=|None; P=|
|00004920| 50 2e 6e 65 78 74 50 61 | 77 6e 20 29 0d 0a 09 09 |P.nextPa|wn )....|
|00004930| 09 09 09 09 69 66 20 28 | 20 50 2e 49 73 41 28 27 |....if (| P.IsA('|
|00004940| 50 6c 61 79 65 72 50 61 | 77 6e 27 29 20 29 0d 0a |PlayerPa|wn') )..|
|00004950| 09 09 09 09 09 09 7b 0d | 0a 09 09 09 09 09 09 09 |......{.|........|
|00004960| 50 6c 61 79 65 72 50 61 | 77 6e 28 50 29 2e 43 6c |PlayerPa|wn(P).Cl|
|00004970| 65 61 72 50 72 6f 67 72 | 65 73 73 4d 65 73 73 61 |earProgr|essMessa|
|00004980| 67 65 73 28 29 3b 0d 0a | 09 09 09 09 09 09 09 69 |ges();..|.......i|
|00004990| 66 20 28 20 28 43 6f 75 | 6e 74 44 6f 77 6e 20 3c |f ( (Cou|ntDown <|
|000049a0| 20 31 31 29 20 26 26 20 | 50 2e 49 73 41 28 27 54 | 11) && |P.IsA('T|
|000049b0| 6f 75 72 6e 61 6d 65 6e | 74 50 6c 61 79 65 72 27 |ournamen|tPlayer'|
|000049c0| 29 20 29 0d 0a 09 09 09 | 09 09 09 09 09 54 6f 75 |) ).....|.....Tou|
|000049d0| 72 6e 61 6d 65 6e 74 50 | 6c 61 79 65 72 28 50 29 |rnamentP|layer(P)|
|000049e0| 2e 54 69 6d 65 4d 65 73 | 73 61 67 65 28 43 6f 75 |.TimeMes|sage(Cou|
|000049f0| 6e 74 44 6f 77 6e 29 3b | 0d 0a 09 09 09 09 09 09 |ntDown);|........|
|00004a00| 09 65 6c 73 65 0d 0a 09 | 09 09 09 09 09 09 09 50 |.else...|.......P|
|00004a10| 6c 61 79 65 72 50 61 77 | 6e 28 50 29 2e 53 65 74 |layerPaw|n(P).Set|
|00004a20| 50 72 6f 67 72 65 73 73 | 4d 65 73 73 61 67 65 28 |Progress|Message(|
|00004a30| 43 6f 75 6e 74 44 6f 77 | 6e 24 43 6f 75 6e 74 44 |CountDow|n$CountD|
|00004a40| 6f 77 6e 4d 65 73 73 61 | 67 65 2c 20 30 29 3b 0d |ownMessa|ge, 0);.|
|00004a50| 0a 09 09 09 09 09 09 7d | 0d 0a 09 09 09 09 7d 0d |.......}|......}.|
|00004a60| 0a 09 09 09 7d 0d 0a 09 | 09 09 65 6c 73 65 20 69 |....}...|..else i|
|00004a70| 66 20 28 20 53 74 61 72 | 74 43 6f 75 6e 74 20 3e |f ( Star|tCount >|
|00004a80| 20 38 20 29 20 0d 0a 09 | 09 09 7b 0d 0a 09 09 09 | 8 ) ...|..{.....|
|00004a90| 09 66 6f 72 20 28 20 50 | 20 3d 20 4c 65 76 65 6c |.for ( P| = Level|
|00004aa0| 2e 50 61 77 6e 4c 69 73 | 74 3b 20 50 21 3d 4e 6f |.PawnLis|t; P!=No|
|00004ab0| 6e 65 3b 20 50 3d 50 2e | 6e 65 78 74 50 61 77 6e |ne; P=P.|nextPawn|
|00004ac0| 20 29 0d 0a 09 09 09 09 | 09 69 66 20 28 20 50 2e | )......|.if ( P.|
|00004ad0| 49 73 41 28 27 50 6c 61 | 79 65 72 50 61 77 6e 27 |IsA('Pla|yerPawn'|
|00004ae0| 29 20 29 0d 0a 09 09 09 | 09 09 7b 0d 0a 09 09 09 |) ).....|..{.....|
|00004af0| 09 09 09 50 6c 61 79 65 | 72 50 61 77 6e 28 50 29 |...Playe|rPawn(P)|
|00004b00| 2e 43 6c 65 61 72 50 72 | 6f 67 72 65 73 73 4d 65 |.ClearPr|ogressMe|
|00004b10| 73 73 61 67 65 73 28 29 | 3b 0d 0a 09 09 09 09 09 |ssages()|;.......|
|00004b20| 09 50 6c 61 79 65 72 50 | 61 77 6e 28 50 29 2e 53 |.PlayerP|awn(P).S|
|00004b30| 65 74 50 72 6f 67 72 65 | 73 73 54 69 6d 65 28 32 |etProgre|ssTime(2|
|00004b40| 29 3b 0d 0a 09 09 09 09 | 09 09 50 6c 61 79 65 72 |);......|..Player|
|00004b50| 50 61 77 6e 28 50 29 2e | 53 65 74 50 72 6f 67 72 |Pawn(P).|SetProgr|
|00004b60| 65 73 73 4d 65 73 73 61 | 67 65 28 57 61 69 74 69 |essMessa|ge(Waiti|
|00004b70| 6e 67 4d 65 73 73 61 67 | 65 31 2c 20 30 29 3b 0d |ngMessag|e1, 0);.|
|00004b80| 0a 09 09 09 09 09 09 50 | 6c 61 79 65 72 50 61 77 |.......P|layerPaw|
|00004b90| 6e 28 50 29 2e 53 65 74 | 50 72 6f 67 72 65 73 73 |n(P).Set|Progress|
|00004ba0| 4d 65 73 73 61 67 65 28 | 57 61 69 74 69 6e 67 4d |Message(|WaitingM|
|00004bb0| 65 73 73 61 67 65 32 2c | 20 31 29 3b 0d 0a 09 09 |essage2,| 1);....|
|00004bc0| 09 09 09 09 69 66 20 28 | 20 50 6c 61 79 65 72 50 |....if (| PlayerP|
|00004bd0| 61 77 6e 28 50 29 2e 62 | 52 65 61 64 79 54 6f 50 |awn(P).b|ReadyToP|
|00004be0| 6c 61 79 20 29 0d 0a 09 | 09 09 09 09 09 09 50 6c |lay )...|......Pl|
|00004bf0| 61 79 65 72 50 61 77 6e | 28 50 29 2e 53 65 74 50 |ayerPawn|(P).SetP|
|00004c00| 72 6f 67 72 65 73 73 4d | 65 73 73 61 67 65 28 52 |rogressM|essage(R|
|00004c10| 65 61 64 79 4d 65 73 73 | 61 67 65 2c 20 32 29 3b |eadyMess|age, 2);|
|00004c20| 0d 0a 09 09 09 09 09 09 | 65 6c 73 65 0d 0a 09 09 |........|else....|
|00004c30| 09 09 09 09 09 50 6c 61 | 79 65 72 50 61 77 6e 28 |.....Pla|yerPawn(|
|00004c40| 50 29 2e 53 65 74 50 72 | 6f 67 72 65 73 73 4d 65 |P).SetPr|ogressMe|
|00004c50| 73 73 61 67 65 28 4e 6f | 74 52 65 61 64 79 4d 65 |ssage(No|tReadyMe|
|00004c60| 73 73 61 67 65 2c 20 32 | 29 3b 0d 0a 09 09 09 09 |ssage, 2|);......|
|00004c70| 09 7d 0d 0a 09 09 09 7d | 0d 0a 09 09 09 65 6c 73 |.}.....}|.....els|
|00004c80| 65 0d 0a 09 09 09 7b 0d | 0a 09 09 09 09 53 74 61 |e.....{.|.....Sta|
|00004c90| 72 74 43 6f 75 6e 74 2b | 2b 3b 0d 0a 09 09 09 09 |rtCount+|+;......|
|00004ca0| 69 66 20 28 20 4c 65 76 | 65 6c 2e 4e 65 74 4d 6f |if ( Lev|el.NetMo|
|00004cb0| 64 65 20 21 3d 20 4e 4d | 5f 53 74 61 6e 64 61 6c |de != NM|_Standal|
|00004cc0| 6f 6e 65 20 29 0d 0a 09 | 09 09 09 09 53 74 61 72 |one )...|....Star|
|00004cd0| 74 43 6f 75 6e 74 20 3d | 20 33 30 3b 0d 0a 09 09 |tCount =| 30;....|
|00004ce0| 09 7d 0d 0a 09 09 7d 0d | 0a 09 09 65 6c 73 65 0d |.}....}.|...else.|
|00004cf0| 0a 09 09 7b 0d 0a 09 09 | 09 66 6f 72 20 28 20 50 |...{....|.for ( P|
|00004d00| 20 3d 20 4c 65 76 65 6c | 2e 50 61 77 6e 4c 69 73 | = Level|.PawnLis|
|00004d10| 74 3b 20 50 21 3d 4e 6f | 6e 65 3b 20 50 3d 50 2e |t; P!=No|ne; P=P.|
|00004d20| 6e 65 78 74 50 61 77 6e | 20 29 0d 0a 09 09 09 09 |nextPawn| )......|
|00004d30| 69 66 20 28 20 50 2e 49 | 73 41 28 27 50 6c 61 79 |if ( P.I|sA('Play|
|00004d40| 65 72 50 61 77 6e 27 29 | 20 29 0d 0a 09 09 09 09 |erPawn')| )......|
|00004d50| 09 50 6c 61 79 53 74 61 | 72 74 75 70 4d 65 73 73 |.PlaySta|rtupMess|
|00004d60| 61 67 65 28 50 6c 61 79 | 65 72 50 61 77 6e 28 50 |age(Play|erPawn(P|
|00004d70| 29 29 3b 0d 0a 09 09 7d | 0d 0a 09 7d 09 0d 0a 09 |));....}|...}....|
|00004d80| 65 6c 73 65 0d 0a 09 7b | 0d 0a 09 09 69 66 20 28 |else...{|....if (|
|00004d90| 20 62 41 6c 77 61 79 73 | 46 6f 72 63 65 52 65 73 | bAlways|ForceRes|
|00004da0| 70 61 77 6e 20 7c 7c 20 | 28 62 46 6f 72 63 65 52 |pawn || |(bForceR|
|00004db0| 65 73 70 61 77 6e 20 26 | 26 20 28 4c 65 76 65 6c |espawn &|& (Level|
|00004dc0| 2e 4e 65 74 4d 6f 64 65 | 20 21 3d 20 4e 4d 5f 53 |.NetMode| != NM_S|
|00004dd0| 74 61 6e 64 61 6c 6f 6e | 65 29 29 20 29 0d 0a 09 |tandalon|e)) )...|
|00004de0| 09 09 46 6f 72 20 28 20 | 50 3d 4c 65 76 65 6c 2e |..For ( |P=Level.|
|00004df0| 50 61 77 6e 4c 69 73 74 | 3b 20 50 21 3d 4e 6f 6e |PawnList|; P!=Non|
|00004e00| 65 3b 20 50 3d 50 2e 4e | 65 78 74 50 61 77 6e 20 |e; P=P.N|extPawn |
|00004e10| 29 0d 0a 09 09 09 7b 0d | 0a 09 09 09 09 69 66 20 |).....{.|.....if |
|00004e20| 28 20 50 2e 49 73 49 6e | 53 74 61 74 65 28 27 44 |( P.IsIn|State('D|
|00004e30| 79 69 6e 67 27 29 20 26 | 26 20 50 2e 49 73 41 28 |ying') &|& P.IsA(|
|00004e40| 27 50 6c 61 79 65 72 50 | 61 77 6e 27 29 20 26 26 |'PlayerP|awn') &&|
|00004e50| 20 50 2e 62 48 69 64 64 | 65 6e 20 29 0d 0a 09 09 | P.bHidd|en )....|
|00004e60| 09 09 09 50 6c 61 79 65 | 72 50 61 77 6e 28 50 29 |...Playe|rPawn(P)|
|00004e70| 2e 53 65 72 76 65 72 52 | 65 53 74 61 72 74 50 6c |.ServerR|eStartPl|
|00004e80| 61 79 65 72 28 29 3b 0d | 0a 09 09 09 7d 0d 0a 09 |ayer();.|....}...|
|00004e90| 09 69 66 20 28 20 4c 65 | 76 65 6c 2e 4e 65 74 4d |.if ( Le|vel.NetM|
|00004ea0| 6f 64 65 20 21 3d 20 4e | 4d 5f 53 74 61 6e 64 61 |ode != N|M_Standa|
|00004eb0| 6c 6f 6e 65 20 29 0d 0a | 09 09 7b 0d 0a 09 09 09 |lone )..|..{.....|
|00004ec0| 69 66 20 28 20 4e 65 65 | 64 50 6c 61 79 65 72 73 |if ( Nee|dPlayers|
|00004ed0| 28 29 20 29 0d 0a 09 09 | 09 09 41 64 64 42 6f 74 |() )....|..AddBot|
|00004ee0| 28 29 3b 0d 0a 09 09 7d | 0d 0a 09 09 65 6c 73 65 |();....}|....else|
|00004ef0| 0d 0a 09 09 09 77 68 69 | 6c 65 20 28 20 28 52 65 |.....whi|le ( (Re|
|00004f00| 6d 61 69 6e 69 6e 67 42 | 6f 74 73 20 3e 20 30 29 |mainingB|ots > 0)|
|00004f10| 20 26 26 20 41 64 64 42 | 6f 74 28 29 20 29 0d 0a | && AddB|ot() )..|
|00004f20| 09 09 09 09 52 65 6d 61 | 69 6e 69 6e 67 42 6f 74 |....Rema|iningBot|
|00004f30| 73 2d 2d 3b 0d 0a 09 09 | 69 66 20 28 20 62 47 61 |s--;....|if ( bGa|
|00004f40| 6d 65 45 6e 64 65 64 20 | 29 0d 0a 09 09 7b 0d 0a |meEnded |)....{..|
|00004f50| 09 09 09 69 66 20 28 20 | 4c 65 76 65 6c 2e 54 69 |...if ( |Level.Ti|
|00004f60| 6d 65 53 65 63 6f 6e 64 | 73 20 3e 20 45 6e 64 54 |meSecond|s > EndT|
|00004f70| 69 6d 65 20 2b 20 52 65 | 73 74 61 72 74 57 61 69 |ime + Re|startWai|
|00004f80| 74 20 29 0d 0a 09 09 09 | 09 52 65 73 74 61 72 74 |t ).....|.Restart|
|00004f90| 47 61 6d 65 28 29 3b 0d | 0a 09 09 7d 0d 0a 09 09 |Game();.|...}....|
|00004fa0| 65 6c 73 65 20 69 66 20 | 28 20 21 62 4f 76 65 72 |else if |( !bOver|
|00004fb0| 54 69 6d 65 20 26 26 20 | 28 54 69 6d 65 4c 69 6d |Time && |(TimeLim|
|00004fc0| 69 74 20 3e 20 30 29 20 | 29 0d 0a 09 09 7b 0d 0a |it > 0) |)....{..|
|00004fd0| 09 09 09 47 61 6d 65 52 | 65 70 6c 69 63 61 74 69 |...GameR|eplicati|
|00004fe0| 6f 6e 49 6e 66 6f 2e 62 | 53 74 6f 70 43 6f 75 6e |onInfo.b|StopCoun|
|00004ff0| 74 44 6f 77 6e 20 3d 20 | 66 61 6c 73 65 3b 0d 0a |tDown = |false;..|
|00005000| 09 09 09 52 65 6d 61 69 | 6e 69 6e 67 54 69 6d 65 |...Remai|ningTime|
|00005010| 2d 2d 3b 0d 0a 09 09 09 | 47 61 6d 65 52 65 70 6c |--;.....|GameRepl|
|00005020| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 52 65 6d 61 |icationI|nfo.Rema|
|00005030| 69 6e 69 6e 67 54 69 6d | 65 20 3d 20 52 65 6d 61 |iningTim|e = Rema|
|00005040| 69 6e 69 6e 67 54 69 6d | 65 3b 0d 0a 09 09 09 69 |iningTim|e;.....i|
|00005050| 66 20 28 20 52 65 6d 61 | 69 6e 69 6e 67 54 69 6d |f ( Rema|iningTim|
|00005060| 65 20 25 20 36 30 20 3d | 3d 20 30 20 29 0d 0a 09 |e % 60 =|= 0 )...|
|00005070| 09 09 09 47 61 6d 65 52 | 65 70 6c 69 63 61 74 69 |...GameR|eplicati|
|00005080| 6f 6e 49 6e 66 6f 2e 52 | 65 6d 61 69 6e 69 6e 67 |onInfo.R|emaining|
|00005090| 4d 69 6e 75 74 65 20 3d | 20 52 65 6d 61 69 6e 69 |Minute =| Remaini|
|000050a0| 6e 67 54 69 6d 65 3b 0d | 0a 09 09 09 69 66 20 28 |ngTime;.|....if (|
|000050b0| 20 52 65 6d 61 69 6e 69 | 6e 67 54 69 6d 65 20 3c | Remaini|ngTime <|
|000050c0| 3d 20 30 20 29 0d 0a 09 | 09 09 09 45 6e 64 47 61 |= 0 )...|...EndGa|
|000050d0| 6d 65 28 22 74 69 6d 65 | 6c 69 6d 69 74 22 29 3b |me("time|limit");|
|000050e0| 0d 0a 09 09 7d 0d 0a 09 | 09 65 6c 73 65 0d 0a 09 |....}...|.else...|
|000050f0| 09 7b 0d 0a 09 09 09 45 | 6c 61 70 73 65 64 54 69 |.{.....E|lapsedTi|
|00005100| 6d 65 2b 2b 3b 0d 0a 09 | 09 09 47 61 6d 65 52 65 |me++;...|..GameRe|
|00005110| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 45 6c |plicatio|nInfo.El|
|00005120| 61 70 73 65 64 54 69 6d | 65 20 3d 20 45 6c 61 70 |apsedTim|e = Elap|
|00005130| 73 65 64 54 69 6d 65 3b | 0d 0a 09 09 7d 0d 0a 09 |sedTime;|....}...|
|00005140| 7d 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |}..}....|function|
|00005150| 20 62 6f 6f 6c 20 54 6f | 6f 4d 61 6e 79 42 6f 74 | bool To|oManyBot|
|00005160| 73 28 29 0d 0a 7b 0d 0a | 09 72 65 74 75 72 6e 20 |s()..{..|.return |
|00005170| 28 4e 75 6d 42 6f 74 73 | 20 2b 20 4e 75 6d 50 6c |(NumBots| + NumPl|
|00005180| 61 79 65 72 73 20 3e 20 | 4d 69 6e 50 6c 61 79 65 |ayers > |MinPlaye|
|00005190| 72 73 29 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |rs);..}.|...funct|
|000051a0| 69 6f 6e 20 62 6f 6f 6c | 20 52 65 73 74 61 72 74 |ion bool| Restart|
|000051b0| 50 6c 61 79 65 72 28 20 | 70 61 77 6e 20 61 50 6c |Player( |pawn aPl|
|000051c0| 61 79 65 72 20 29 09 0d | 0a 7b 0d 0a 09 6c 6f 63 |ayer )..|.{...loc|
|000051d0| 61 6c 20 42 6f 74 20 42 | 3b 0d 0a 0d 0a 09 61 50 |al Bot B|;.....aP|
|000051e0| 6c 61 79 65 72 2e 44 61 | 6d 61 67 65 53 63 61 6c |layer.Da|mageScal|
|000051f0| 69 6e 67 20 3d 20 61 50 | 6c 61 79 65 72 2e 44 65 |ing = aP|layer.De|
|00005200| 66 61 75 6c 74 2e 44 61 | 6d 61 67 65 53 63 61 6c |fault.Da|mageScal|
|00005210| 69 6e 67 3b 0d 0a 09 42 | 20 3d 20 42 6f 74 28 61 |ing;...B| = Bot(a|
|00005220| 50 6c 61 79 65 72 29 3b | 0d 0a 09 69 66 20 28 20 |Player);|...if ( |
|00005230| 28 42 20 21 3d 20 4e 6f | 6e 65 29 20 0d 0a 09 09 |(B != No|ne) ....|
|00005240| 26 26 20 28 4c 65 76 65 | 6c 2e 4e 65 74 4d 6f 64 |&& (Leve|l.NetMod|
|00005250| 65 20 21 3d 20 4e 4d 5f | 53 74 61 6e 64 61 6c 6f |e != NM_|Standalo|
|00005260| 6e 65 29 20 0d 0a 09 09 | 26 26 20 54 6f 6f 4d 61 |ne) ....|&& TooMa|
|00005270| 6e 79 42 6f 74 73 28 29 | 20 29 0d 0a 09 7b 0d 0a |nyBots()| )...{..|
|00005280| 09 09 61 50 6c 61 79 65 | 72 2e 44 65 73 74 72 6f |..aPlaye|r.Destro|
|00005290| 79 28 29 3b 0d 0a 09 09 | 72 65 74 75 72 6e 20 66 |y();....|return f|
|000052a0| 61 6c 73 65 3b 0d 0a 09 | 7d 0d 0a 09 72 65 74 75 |alse;...|}...retu|
|000052b0| 72 6e 20 53 75 70 65 72 | 2e 52 65 73 74 61 72 74 |rn Super|.Restart|
|000052c0| 50 6c 61 79 65 72 28 61 | 50 6c 61 79 65 72 29 3b |Player(a|Player);|
|000052d0| 0d 0a 09 69 66 20 28 20 | 61 50 6c 61 79 65 72 2e |...if ( |aPlayer.|
|000052e0| 49 73 41 28 27 54 6f 75 | 72 6e 61 6d 65 6e 74 50 |IsA('Tou|rnamentP|
|000052f0| 6c 61 79 65 72 27 29 20 | 29 0d 0a 09 09 54 6f 75 |layer') |)....Tou|
|00005300| 72 6e 61 6d 65 6e 74 50 | 6c 61 79 65 72 28 61 50 |rnamentP|layer(aP|
|00005310| 6c 61 79 65 72 29 2e 53 | 74 61 72 74 53 70 6f 74 |layer).S|tartSpot|
|00005320| 20 3d 20 4c 61 73 74 53 | 74 61 72 74 53 70 6f 74 | = LastS|tartSpot|
|00005330| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00005340| 20 53 65 6e 64 53 74 61 | 72 74 4d 65 73 73 61 67 | SendSta|rtMessag|
|00005350| 65 28 50 6c 61 79 65 72 | 50 61 77 6e 20 50 29 0d |e(Player|Pawn P).|
|00005360| 0a 7b 0d 0a 09 50 2e 43 | 6c 65 61 72 50 72 6f 67 |.{...P.C|learProg|
|00005370| 72 65 73 73 4d 65 73 73 | 61 67 65 73 28 29 3b 0d |ressMess|ages();.|
|00005380| 0a 09 50 2e 53 65 74 50 | 72 6f 67 72 65 73 73 4d |..P.SetP|rogressM|
|00005390| 65 73 73 61 67 65 28 53 | 74 61 72 74 4d 65 73 73 |essage(S|tartMess|
|000053a0| 61 67 65 2c 20 30 29 3b | 0d 0a 7d 0d 0a 0d 0a 66 |age, 0);|..}....f|
|000053b0| 75 6e 63 74 69 6f 6e 20 | 42 6f 74 20 53 70 61 77 |unction |Bot Spaw|
|000053c0| 6e 42 6f 74 28 6f 75 74 | 20 4e 61 76 69 67 61 74 |nBot(out| Navigat|
|000053d0| 69 6f 6e 50 6f 69 6e 74 | 20 53 74 61 72 74 53 70 |ionPoint| StartSp|
|000053e0| 6f 74 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 62 |ot)..{..|.local b|
|000053f0| 6f 74 20 4e 65 77 42 6f | 74 3b 0d 0a 09 6c 6f 63 |ot NewBo|t;...loc|
|00005400| 61 6c 20 69 6e 74 20 42 | 6f 74 4e 3b 0d 0a 09 6c |al int B|otN;...l|
|00005410| 6f 63 61 6c 20 50 61 77 | 6e 20 50 3b 0d 0a 0d 0a |ocal Paw|n P;....|
|00005420| 09 69 66 20 28 20 62 52 | 61 74 65 64 47 61 6d 65 |.if ( bR|atedGame|
|00005430| 20 29 0d 0a 09 09 72 65 | 74 75 72 6e 20 53 70 61 | )....re|turn Spa|
|00005440| 77 6e 52 61 74 65 64 42 | 6f 74 28 53 74 61 72 74 |wnRatedB|ot(Start|
|00005450| 53 70 6f 74 29 3b 0d 0a | 0d 0a 09 44 69 66 66 69 |Spot);..|...Diffi|
|00005460| 63 75 6c 74 79 20 3d 20 | 42 6f 74 43 6f 6e 66 69 |culty = |BotConfi|
|00005470| 67 2e 44 69 66 66 69 63 | 75 6c 74 79 3b 0d 0a 0d |g.Diffic|ulty;...|
|00005480| 0a 09 69 66 20 28 20 44 | 69 66 66 69 63 75 6c 74 |..if ( D|ifficult|
|00005490| 79 20 3e 3d 20 34 20 29 | 0d 0a 09 7b 0d 0a 09 09 |y >= 4 )|...{....|
|000054a0| 62 4e 6f 76 69 63 65 4d | 6f 64 65 20 3d 20 66 61 |bNoviceM|ode = fa|
|000054b0| 6c 73 65 3b 0d 0a 09 09 | 44 69 66 66 69 63 75 6c |lse;....|Difficul|
|000054c0| 74 79 20 3d 20 44 69 66 | 66 69 63 75 6c 74 79 20 |ty = Dif|ficulty |
|000054d0| 2d 20 34 3b 0d 0a 09 7d | 0d 0a 09 65 6c 73 65 0d |- 4;...}|...else.|
|000054e0| 0a 09 7b 0d 0a 09 09 69 | 66 20 28 20 44 69 66 66 |..{....i|f ( Diff|
|000054f0| 69 63 75 6c 74 79 20 3e | 20 33 20 29 0d 0a 09 09 |iculty >| 3 )....|
|00005500| 7b 0d 0a 09 09 09 44 69 | 66 66 69 63 75 6c 74 79 |{.....Di|fficulty|
|00005510| 20 3d 20 33 3b 0d 0a 09 | 09 09 62 54 68 72 65 65 | = 3;...|..bThree|
|00005520| 50 6c 75 73 20 3d 20 74 | 72 75 65 3b 0d 0a 09 09 |Plus = t|rue;....|
|00005530| 7d 0d 0a 09 09 62 4e 6f | 76 69 63 65 4d 6f 64 65 |}....bNo|viceMode|
|00005540| 20 3d 20 74 72 75 65 3b | 0d 0a 09 7d 0d 0a 09 42 | = true;|...}...B|
|00005550| 6f 74 4e 20 3d 20 42 6f | 74 43 6f 6e 66 69 67 2e |otN = Bo|tConfig.|
|00005560| 43 68 6f 6f 73 65 42 6f | 74 49 6e 66 6f 28 29 3b |ChooseBo|tInfo();|
|00005570| 0d 0a 09 0d 0a 09 2f 2f | 20 46 69 6e 64 20 61 20 |......//| Find a |
|00005580| 73 74 61 72 74 20 73 70 | 6f 74 2e 0d 0a 09 53 74 |start sp|ot....St|
|00005590| 61 72 74 53 70 6f 74 20 | 3d 20 46 69 6e 64 50 6c |artSpot |= FindPl|
|000055a0| 61 79 65 72 53 74 61 72 | 74 28 4e 6f 6e 65 2c 20 |ayerStar|t(None, |
|000055b0| 32 35 35 29 3b 0d 0a 09 | 69 66 28 20 53 74 61 72 |255);...|if( Star|
|000055c0| 74 53 70 6f 74 20 3d 3d | 20 4e 6f 6e 65 20 29 0d |tSpot ==| None ).|
|000055d0| 0a 09 7b 0d 0a 09 09 6c | 6f 67 28 22 43 6f 75 6c |..{....l|og("Coul|
|000055e0| 64 20 6e 6f 74 20 66 69 | 6e 64 20 73 74 61 72 74 |d not fi|nd start|
|000055f0| 69 6e 67 20 73 70 6f 74 | 20 66 6f 72 20 42 6f 74 |ing spot| for Bot|
|00005600| 22 29 3b 0d 0a 09 09 72 | 65 74 75 72 6e 20 4e 6f |");....r|eturn No|
|00005610| 6e 65 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 2f 2f 20 54 |ne;...}.|....// T|
|00005620| 72 79 20 74 6f 20 73 70 | 61 77 6e 20 74 68 65 20 |ry to sp|awn the |
|00005630| 62 6f 74 2e 0d 0a 09 4e | 65 77 42 6f 74 20 3d 20 |bot....N|ewBot = |
|00005640| 53 70 61 77 6e 28 42 6f | 74 43 6f 6e 66 69 67 2e |Spawn(Bo|tConfig.|
|00005650| 43 48 47 65 74 42 6f 74 | 43 6c 61 73 73 28 42 6f |CHGetBot|Class(Bo|
|00005660| 74 4e 29 2c 2c 2c 53 74 | 61 72 74 53 70 6f 74 2e |tN),,,St|artSpot.|
|00005670| 4c 6f 63 61 74 69 6f 6e | 2c 53 74 61 72 74 53 70 |Location|,StartSp|
|00005680| 6f 74 2e 52 6f 74 61 74 | 69 6f 6e 29 3b 0d 0a 0d |ot.Rotat|ion);...|
|00005690| 0a 09 69 66 20 28 20 4e | 65 77 42 6f 74 20 3d 3d |..if ( N|ewBot ==|
|000056a0| 20 4e 6f 6e 65 20 29 0d | 0a 09 09 6c 6f 67 28 22 | None ).|...log("|
|000056b0| 43 6f 75 6c 64 6e 27 74 | 20 73 70 61 77 6e 20 70 |Couldn't| spawn p|
|000056c0| 6c 61 79 65 72 20 61 74 | 20 22 24 53 74 61 72 74 |layer at| "$Start|
|000056d0| 53 70 6f 74 29 3b 0d 0a | 0d 0a 09 69 66 20 28 20 |Spot);..|...if ( |
|000056e0| 28 62 48 75 6d 61 6e 73 | 4f 6e 6c 79 20 7c 7c 20 |(bHumans|Only || |
|000056f0| 4c 65 76 65 6c 2e 62 48 | 75 6d 61 6e 73 4f 6e 6c |Level.bH|umansOnl|
|00005700| 79 29 20 26 26 20 21 4e | 65 77 42 6f 74 2e 62 49 |y) && !N|ewBot.bI|
|00005710| 73 48 75 6d 61 6e 20 29 | 0d 0a 09 7b 0d 0a 09 09 |sHuman )|...{....|
|00005720| 6c 6f 67 28 22 63 61 6e | 27 74 20 61 64 64 20 6e |log("can|'t add n|
|00005730| 6f 6e 2d 68 75 6d 61 6e | 20 62 6f 74 20 74 6f 20 |on-human| bot to |
|00005740| 74 68 69 73 20 67 61 6d | 65 22 29 3b 0d 0a 09 09 |this gam|e");....|
|00005750| 4e 65 77 42 6f 74 2e 44 | 65 73 74 72 6f 79 28 29 |NewBot.D|estroy()|
|00005760| 3b 0d 0a 09 09 4e 65 77 | 42 6f 74 20 3d 20 4e 6f |;....New|Bot = No|
|00005770| 6e 65 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 69 66 20 28 |ne;...}.|....if (|
|00005780| 20 4e 65 77 42 6f 74 20 | 3d 3d 20 4e 6f 6e 65 20 | NewBot |== None |
|00005790| 29 0d 0a 09 09 4e 65 77 | 42 6f 74 20 3d 20 53 70 |)....New|Bot = Sp|
|000057a0| 61 77 6e 28 42 6f 74 43 | 6f 6e 66 69 67 2e 43 48 |awn(BotC|onfig.CH|
|000057b0| 47 65 74 42 6f 74 43 6c | 61 73 73 28 30 29 2c 2c |GetBotCl|ass(0),,|
|000057c0| 2c 53 74 61 72 74 53 70 | 6f 74 2e 4c 6f 63 61 74 |,StartSp|ot.Locat|
|000057d0| 69 6f 6e 2c 53 74 61 72 | 74 53 70 6f 74 2e 52 6f |ion,Star|tSpot.Ro|
|000057e0| 74 61 74 69 6f 6e 29 3b | 0d 0a 0d 0a 09 69 66 20 |tation);|.....if |
|000057f0| 28 20 4e 65 77 42 6f 74 | 20 21 3d 20 4e 6f 6e 65 |( NewBot| != None|
|00005800| 20 29 0d 0a 09 7b 0d 0a | 09 09 2f 2f 20 53 65 74 | )...{..|..// Set|
|00005810| 20 74 68 65 20 70 6c 61 | 79 65 72 27 73 20 49 44 | the pla|yer's ID|
|00005820| 2e 0d 0a 09 09 4e 65 77 | 42 6f 74 2e 50 6c 61 79 |.....New|Bot.Play|
|00005830| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00005840| 6f 2e 50 6c 61 79 65 72 | 49 44 20 3d 20 43 75 72 |o.Player|ID = Cur|
|00005850| 72 65 6e 74 49 44 2b 2b | 3b 0d 0a 0d 0a 09 09 4e |rentID++|;......N|
|00005860| 65 77 42 6f 74 2e 50 6c | 61 79 65 72 52 65 70 6c |ewBot.Pl|ayerRepl|
|00005870| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 2e 54 65 61 6d |icationI|nfo.Team|
|00005880| 20 3d 20 42 6f 74 43 6f | 6e 66 69 67 2e 47 65 74 | = BotCo|nfig.Get|
|00005890| 42 6f 74 54 65 61 6d 28 | 42 6f 74 4e 29 3b 0d 0a |BotTeam(|BotN);..|
|000058a0| 09 09 42 6f 74 43 6f 6e | 66 69 67 2e 43 48 49 6e |..BotCon|fig.CHIn|
|000058b0| 64 69 76 69 64 75 61 6c | 69 7a 65 28 4e 65 77 42 |dividual|ize(NewB|
|000058c0| 6f 74 2c 20 42 6f 74 4e | 2c 20 4e 75 6d 42 6f 74 |ot, BotN|, NumBot|
|000058d0| 73 29 3b 0d 0a 09 09 4e | 65 77 42 6f 74 2e 56 69 |s);....N|ewBot.Vi|
|000058e0| 65 77 52 6f 74 61 74 69 | 6f 6e 20 3d 20 53 74 61 |ewRotati|on = Sta|
|000058f0| 72 74 53 70 6f 74 2e 52 | 6f 74 61 74 69 6f 6e 3b |rtSpot.R|otation;|
|00005900| 0d 0a 09 09 2f 2f 20 62 | 72 6f 61 64 63 61 73 74 |....// b|roadcast|
|00005910| 20 61 20 77 65 6c 63 6f | 6d 65 20 6d 65 73 73 61 | a welco|me messa|
|00005920| 67 65 2e 0d 0a 09 09 42 | 72 6f 61 64 63 61 73 74 |ge.....B|roadcast|
|00005930| 4d 65 73 73 61 67 65 28 | 20 4e 65 77 42 6f 74 2e |Message(| NewBot.|
|00005940| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00005950| 6e 49 6e 66 6f 2e 50 6c | 61 79 65 72 4e 61 6d 65 |nInfo.Pl|ayerName|
|00005960| 24 45 6e 74 65 72 65 64 | 4d 65 73 73 61 67 65 2c |$Entered|Message,|
|00005970| 20 66 61 6c 73 65 20 29 | 3b 0d 0a 0d 0a 09 09 4d | false )|;......M|
|00005980| 6f 64 69 66 79 42 65 68 | 61 76 69 6f 75 72 28 4e |odifyBeh|aviour(N|
|00005990| 65 77 42 6f 74 29 3b 0d | 0a 09 09 41 64 64 44 65 |ewBot);.|...AddDe|
|000059a0| 66 61 75 6c 74 49 6e 76 | 65 6e 74 6f 72 79 28 20 |faultInv|entory( |
|000059b0| 4e 65 77 42 6f 74 20 29 | 3b 0d 0a 09 09 4e 75 6d |NewBot )|;....Num|
|000059c0| 42 6f 74 73 2b 2b 3b 0d | 0a 09 09 69 66 20 28 20 |Bots++;.|...if ( |
|000059d0| 62 52 65 71 75 69 72 65 | 52 65 61 64 79 20 26 26 |bRequire|Ready &&|
|000059e0| 20 28 43 6f 75 6e 74 44 | 6f 77 6e 20 3e 20 30 29 | (CountD|own > 0)|
|000059f0| 20 29 0d 0a 09 09 09 4e | 65 77 42 6f 74 2e 47 6f | ).....N|ewBot.Go|
|00005a00| 74 6f 53 74 61 74 65 28 | 27 44 79 69 6e 67 27 2c |toState(|'Dying',|
|00005a10| 20 27 57 61 69 74 69 6e | 67 46 6f 72 53 74 61 72 | 'Waitin|gForStar|
|00005a20| 74 27 29 3b 0d 0a 09 09 | 4e 65 77 42 6f 74 2e 41 |t');....|NewBot.A|
|00005a30| 69 72 43 6f 6e 74 72 6f | 6c 20 3d 20 41 69 72 43 |irContro|l = AirC|
|00005a40| 6f 6e 74 72 6f 6c 3b 0d | 0a 0d 0a 09 09 69 66 20 |ontrol;.|.....if |
|00005a50| 28 20 28 4c 65 76 65 6c | 2e 4e 65 74 4d 6f 64 65 |( (Level|.NetMode|
|00005a60| 20 21 3d 20 4e 4d 5f 53 | 74 61 6e 64 61 6c 6f 6e | != NM_S|tandalon|
|00005a70| 65 29 20 26 26 20 28 62 | 4e 65 74 52 65 61 64 79 |e) && (b|NetReady|
|00005a80| 20 7c 7c 20 62 52 65 71 | 75 69 72 65 52 65 61 64 | || bReq|uireRead|
|00005a90| 79 29 20 29 0d 0a 09 09 | 7b 0d 0a 09 09 09 2f 2f |y) )....|{.....//|
|00005aa0| 20 72 65 70 6c 69 63 61 | 74 65 20 73 6b 69 6e 73 | replica|te skins|
|00005ab0| 0d 0a 09 09 09 66 6f 72 | 20 28 20 50 3d 4c 65 76 |.....for| ( P=Lev|
|00005ac0| 65 6c 2e 50 61 77 6e 4c | 69 73 74 3b 20 50 21 3d |el.PawnL|ist; P!=|
|00005ad0| 4e 6f 6e 65 3b 20 50 3d | 50 2e 4e 65 78 74 50 61 |None; P=|P.NextPa|
|00005ae0| 77 6e 20 29 0d 0a 09 09 | 09 09 69 66 20 28 20 50 |wn )....|..if ( P|
|00005af0| 2e 62 49 73 50 6c 61 79 | 65 72 20 26 26 20 28 50 |.bIsPlay|er && (P|
|00005b00| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00005b10| 6f 6e 49 6e 66 6f 20 21 | 3d 20 4e 6f 6e 65 29 20 |onInfo !|= None) |
|00005b20| 26 26 20 50 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |&& P.Pla|yerRepli|
|00005b30| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 62 57 61 69 74 |cationIn|fo.bWait|
|00005b40| 69 6e 67 50 6c 61 79 65 | 72 20 26 26 20 50 2e 49 |ingPlaye|r && P.I|
|00005b50| 73 41 28 27 50 6c 61 79 | 65 72 50 61 77 6e 27 29 |sA('Play|erPawn')|
|00005b60| 20 29 0d 0a 09 09 09 09 | 7b 0d 0a 09 09 09 09 09 | )......|{.......|
|00005b70| 69 66 20 28 20 4e 65 77 | 42 6f 74 2e 62 49 73 4d |if ( New|Bot.bIsM|
|00005b80| 75 6c 74 69 53 6b 69 6e | 6e 65 64 20 29 0d 0a 09 |ultiSkin|ned )...|
|00005b90| 09 09 09 09 09 50 6c 61 | 79 65 72 50 61 77 6e 28 |.....Pla|yerPawn(|
|00005ba0| 50 29 2e 43 6c 69 65 6e | 74 52 65 70 6c 69 63 61 |P).Clien|tReplica|
|00005bb0| 74 65 53 6b 69 6e 73 28 | 4e 65 77 42 6f 74 2e 4d |teSkins(|NewBot.M|
|00005bc0| 75 6c 74 69 53 6b 69 6e | 73 5b 30 5d 2c 20 4e 65 |ultiSkin|s[0], Ne|
|00005bd0| 77 42 6f 74 2e 4d 75 6c | 74 69 53 6b 69 6e 73 5b |wBot.Mul|tiSkins[|
|00005be0| 31 5d 2c 20 4e 65 77 42 | 6f 74 2e 4d 75 6c 74 69 |1], NewB|ot.Multi|
|00005bf0| 53 6b 69 6e 73 5b 32 5d | 2c 20 4e 65 77 42 6f 74 |Skins[2]|, NewBot|
|00005c00| 2e 4d 75 6c 74 69 53 6b | 69 6e 73 5b 33 5d 29 3b |.MultiSk|ins[3]);|
|00005c10| 0d 0a 09 09 09 09 09 65 | 6c 73 65 0d 0a 09 09 09 |.......e|lse.....|
|00005c20| 09 09 09 50 6c 61 79 65 | 72 50 61 77 6e 28 50 29 |...Playe|rPawn(P)|
|00005c30| 2e 43 6c 69 65 6e 74 52 | 65 70 6c 69 63 61 74 65 |.ClientR|eplicate|
|00005c40| 53 6b 69 6e 73 28 4e 65 | 77 42 6f 74 2e 53 6b 69 |Skins(Ne|wBot.Ski|
|00005c50| 6e 29 3b 09 0d 0a 09 09 | 09 09 7d 09 09 09 09 09 |n);.....|..}.....|
|00005c60| 09 0d 0a 09 09 7d 0d 0a | 09 7d 0d 0a 0d 0a 09 72 |.....}..|.}.....r|
|00005c70| 65 74 75 72 6e 20 4e 65 | 77 42 6f 74 3b 0d 0a 7d |eturn Ne|wBot;..}|
|00005c80| 0d 0a 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 42 |......fu|nction B|
|00005c90| 6f 74 20 53 70 61 77 6e | 52 61 74 65 64 42 6f 74 |ot Spawn|RatedBot|
|00005ca0| 28 6f 75 74 20 4e 61 76 | 69 67 61 74 69 6f 6e 50 |(out Nav|igationP|
|00005cb0| 6f 69 6e 74 20 53 74 61 | 72 74 53 70 6f 74 29 0d |oint Sta|rtSpot).|
|00005cc0| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 62 6f 74 20 4e |.{...loc|al bot N|
|00005cd0| 65 77 42 6f 74 3b 0d 0a | 09 6c 6f 63 61 6c 20 69 |ewBot;..|.local i|
|00005ce0| 6e 74 20 42 6f 74 4e 3b | 0d 0a 09 6c 6f 63 61 6c |nt BotN;|...local|
|00005cf0| 20 62 6f 6f 6c 20 62 45 | 6e 65 6d 79 3b 0d 0a 0d | bool bE|nemy;...|
|00005d00| 0a 09 69 66 20 28 52 65 | 6d 61 69 6e 69 6e 67 42 |..if (Re|mainingB|
|00005d10| 6f 74 73 20 3e 20 52 61 | 74 65 64 4d 61 74 63 68 |ots > Ra|tedMatch|
|00005d20| 43 6f 6e 66 69 67 2e 4e | 75 6d 41 6c 6c 69 65 73 |Config.N|umAllies|
|00005d30| 29 0d 0a 09 09 62 45 6e | 65 6d 79 20 3d 20 54 72 |)....bEn|emy = Tr|
|00005d40| 75 65 3b 0d 0a 0d 0a 09 | 42 6f 74 4e 20 3d 20 52 |ue;.....|BotN = R|
|00005d50| 61 74 65 64 4d 61 74 63 | 68 43 6f 6e 66 69 67 2e |atedMatc|hConfig.|
|00005d60| 43 68 6f 6f 73 65 42 6f | 74 49 6e 66 6f 28 62 54 |ChooseBo|tInfo(bT|
|00005d70| 65 61 6d 47 61 6d 65 2c | 20 62 45 6e 65 6d 79 29 |eamGame,| bEnemy)|
|00005d80| 3b 0d 0a 09 0d 0a 09 2f | 2f 20 46 69 6e 64 20 61 |;....../|/ Find a|
|00005d90| 20 73 74 61 72 74 20 73 | 70 6f 74 2e 0d 0a 09 53 | start s|pot....S|
|00005da0| 74 61 72 74 53 70 6f 74 | 20 3d 20 46 69 6e 64 50 |tartSpot| = FindP|
|00005db0| 6c 61 79 65 72 53 74 61 | 72 74 28 4e 6f 6e 65 2c |layerSta|rt(None,|
|00005dc0| 20 32 35 35 29 3b 0d 0a | 09 69 66 28 20 53 74 61 | 255);..|.if( Sta|
|00005dd0| 72 74 53 70 6f 74 20 3d | 3d 20 4e 6f 6e 65 20 29 |rtSpot =|= None )|
|00005de0| 0d 0a 09 7b 0d 0a 09 09 | 6c 6f 67 28 22 43 6f 75 |...{....|log("Cou|
|00005df0| 6c 64 20 6e 6f 74 20 66 | 69 6e 64 20 73 74 61 72 |ld not f|ind star|
|00005e00| 74 69 6e 67 20 73 70 6f | 74 20 66 6f 72 20 42 6f |ting spo|t for Bo|
|00005e10| 74 22 29 3b 0d 0a 09 09 | 72 65 74 75 72 6e 20 4e |t");....|return N|
|00005e20| 6f 6e 65 3b 0d 0a 09 7d | 0d 0a 0d 0a 09 2f 2f 20 |one;...}|.....// |
|00005e30| 54 72 79 20 74 6f 20 73 | 70 61 77 6e 20 74 68 65 |Try to s|pawn the|
|00005e40| 20 62 6f 74 2e 0d 0a 09 | 4e 65 77 42 6f 74 20 3d | bot....|NewBot =|
|00005e50| 20 53 70 61 77 6e 28 52 | 61 74 65 64 4d 61 74 63 | Spawn(R|atedMatc|
|00005e60| 68 43 6f 6e 66 69 67 2e | 47 65 74 42 6f 74 43 6c |hConfig.|GetBotCl|
|00005e70| 61 73 73 28 42 6f 74 4e | 2c 20 62 54 65 61 6d 47 |ass(BotN|, bTeamG|
|00005e80| 61 6d 65 2c 20 62 45 6e | 65 6d 79 2c 20 52 61 74 |ame, bEn|emy, Rat|
|00005e90| 65 64 50 6c 61 79 65 72 | 29 2c 2c 2c 53 74 61 72 |edPlayer|),,,Star|
|00005ea0| 74 53 70 6f 74 2e 4c 6f | 63 61 74 69 6f 6e 2c 53 |tSpot.Lo|cation,S|
|00005eb0| 74 61 72 74 53 70 6f 74 | 2e 52 6f 74 61 74 69 6f |tartSpot|.Rotatio|
|00005ec0| 6e 29 3b 0d 0a 09 69 66 | 20 28 20 4e 65 77 42 6f |n);...if| ( NewBo|
|00005ed0| 74 20 3d 3d 20 4e 6f 6e | 65 20 29 0d 0a 09 09 6c |t == Non|e )....l|
|00005ee0| 6f 67 28 22 43 6f 75 6c | 64 6e 27 74 20 73 70 61 |og("Coul|dn't spa|
|00005ef0| 77 6e 20 70 6c 61 79 65 | 72 20 61 74 20 22 24 53 |wn playe|r at "$S|
|00005f00| 74 61 72 74 53 70 6f 74 | 29 3b 0d 0a 0d 0a 09 69 |tartSpot|);.....i|
|00005f10| 66 20 28 20 4e 65 77 42 | 6f 74 20 21 3d 20 4e 6f |f ( NewB|ot != No|
|00005f20| 6e 65 20 29 0d 0a 09 7b | 0d 0a 09 09 2f 2f 20 53 |ne )...{|....// S|
|00005f30| 65 74 20 74 68 65 20 70 | 6c 61 79 65 72 27 73 20 |et the p|layer's |
|00005f40| 49 44 2e 0d 0a 09 09 4e | 65 77 42 6f 74 2e 50 6c |ID.....N|ewBot.Pl|
|00005f50| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00005f60| 6e 66 6f 2e 50 6c 61 79 | 65 72 49 44 20 3d 20 43 |nfo.Play|erID = C|
|00005f70| 75 72 72 65 6e 74 49 44 | 2b 2b 3b 0d 0a 09 0d 0a |urrentID|++;.....|
|00005f80| 09 09 52 61 74 65 64 4d | 61 74 63 68 43 6f 6e 66 |..RatedM|atchConf|
|00005f90| 69 67 2e 49 6e 64 69 76 | 69 64 75 61 6c 69 7a 65 |ig.Indiv|idualize|
|00005fa0| 28 4e 65 77 42 6f 74 2c | 20 42 6f 74 4e 2c 20 4e |(NewBot,| BotN, N|
|00005fb0| 75 6d 42 6f 74 73 2c 20 | 62 54 65 61 6d 47 61 6d |umBots, |bTeamGam|
|00005fc0| 65 2c 20 62 45 6e 65 6d | 79 29 3b 0d 0a 09 09 4e |e, bEnem|y);....N|
|00005fd0| 65 77 42 6f 74 2e 56 69 | 65 77 52 6f 74 61 74 69 |ewBot.Vi|ewRotati|
|00005fe0| 6f 6e 20 3d 20 53 74 61 | 72 74 53 70 6f 74 2e 52 |on = Sta|rtSpot.R|
|00005ff0| 6f 74 61 74 69 6f 6e 3b | 0d 0a 09 09 2f 2f 20 62 |otation;|....// b|
|00006000| 72 6f 61 64 63 61 73 74 | 20 61 20 77 65 6c 63 6f |roadcast| a welco|
|00006010| 6d 65 20 6d 65 73 73 61 | 67 65 2e 0d 0a 09 09 42 |me messa|ge.....B|
|00006020| 72 6f 61 64 63 61 73 74 | 4d 65 73 73 61 67 65 28 |roadcast|Message(|
|00006030| 20 4e 65 77 42 6f 74 2e | 50 6c 61 79 65 72 52 65 | NewBot.|PlayerRe|
|00006040| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 50 6c |plicatio|nInfo.Pl|
|00006050| 61 79 65 72 4e 61 6d 65 | 24 45 6e 74 65 72 65 64 |ayerName|$Entered|
|00006060| 4d 65 73 73 61 67 65 2c | 20 66 61 6c 73 65 20 29 |Message,| false )|
|00006070| 3b 0d 0a 0d 0a 09 09 4d | 6f 64 69 66 79 42 65 68 |;......M|odifyBeh|
|00006080| 61 76 69 6f 75 72 28 4e | 65 77 42 6f 74 29 3b 0d |aviour(N|ewBot);.|
|00006090| 0a 09 09 41 64 64 44 65 | 66 61 75 6c 74 49 6e 76 |...AddDe|faultInv|
|000060a0| 65 6e 74 6f 72 79 28 20 | 4e 65 77 42 6f 74 20 29 |entory( |NewBot )|
|000060b0| 3b 0d 0a 09 09 4e 75 6d | 42 6f 74 73 2b 2b 3b 0d |;....Num|Bots++;.|
|000060c0| 0a 09 09 69 66 20 28 20 | 62 52 65 71 75 69 72 65 |...if ( |bRequire|
|000060d0| 52 65 61 64 79 20 26 26 | 20 28 43 6f 75 6e 74 44 |Ready &&| (CountD|
|000060e0| 6f 77 6e 20 3e 20 30 29 | 20 29 0d 0a 09 09 09 4e |own > 0)| ).....N|
|000060f0| 65 77 42 6f 74 2e 47 6f | 74 6f 53 74 61 74 65 28 |ewBot.Go|toState(|
|00006100| 27 44 79 69 6e 67 27 2c | 20 27 57 61 69 74 69 6e |'Dying',| 'Waitin|
|00006110| 67 46 6f 72 53 74 61 72 | 74 27 29 3b 0d 0a 09 09 |gForStar|t');....|
|00006120| 4e 65 77 42 6f 74 2e 41 | 69 72 43 6f 6e 74 72 6f |NewBot.A|irContro|
|00006130| 6c 20 3d 20 30 2e 33 35 | 3b 0d 0a 09 7d 0d 0a 0d |l = 0.35|;...}...|
|00006140| 0a 09 72 65 74 75 72 6e | 20 4e 65 77 42 6f 74 3b |..return| NewBot;|
|00006150| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00006160| 62 6f 6f 6c 20 46 6f 72 | 63 65 41 64 64 42 6f 74 |bool For|ceAddBot|
|00006170| 28 29 0d 0a 7b 0d 0a 09 | 2f 2f 20 61 64 64 20 62 |()..{...|// add b|
|00006180| 6f 74 20 64 75 72 69 6e | 67 20 67 61 6d 65 70 6c |ot durin|g gamepl|
|00006190| 61 79 0d 0a 09 69 66 20 | 28 20 4c 65 76 65 6c 2e |ay...if |( Level.|
|000061a0| 4e 65 74 4d 6f 64 65 20 | 21 3d 20 4e 4d 5f 53 74 |NetMode |!= NM_St|
|000061b0| 61 6e 64 61 6c 6f 6e 65 | 20 29 0d 0a 09 09 4d 69 |andalone| )....Mi|
|000061c0| 6e 50 6c 61 79 65 72 73 | 20 3d 20 4d 61 78 28 4d |nPlayers| = Max(M|
|000061d0| 69 6e 50 6c 61 79 65 72 | 73 2b 31 2c 20 4e 75 6d |inPlayer|s+1, Num|
|000061e0| 50 6c 61 79 65 72 73 20 | 2b 20 4e 75 6d 42 6f 74 |Players |+ NumBot|
|000061f0| 73 20 2b 20 31 29 3b 0d | 0a 09 41 64 64 42 6f 74 |s + 1);.|..AddBot|
|00006200| 28 29 3b 0d 0a 7d 0d 0a | 09 09 0d 0a 66 75 6e 63 |();..}..|....func|
|00006210| 74 69 6f 6e 20 62 6f 6f | 6c 20 41 64 64 42 6f 74 |tion boo|l AddBot|
|00006220| 28 29 0d 0a 7b 0d 0a 09 | 6c 6f 63 61 6c 20 62 6f |()..{...|local bo|
|00006230| 74 20 4e 65 77 42 6f 74 | 3b 0d 0a 09 6c 6f 63 61 |t NewBot|;...loca|
|00006240| 6c 20 4e 61 76 69 67 61 | 74 69 6f 6e 50 6f 69 6e |l Naviga|tionPoin|
|00006250| 74 20 53 74 61 72 74 53 | 70 6f 74 3b 0d 0a 0d 0a |t StartS|pot;....|
|00006260| 09 4e 65 77 42 6f 74 20 | 3d 20 53 70 61 77 6e 42 |.NewBot |= SpawnB|
|00006270| 6f 74 28 53 74 61 72 74 | 53 70 6f 74 29 3b 0d 0a |ot(Start|Spot);..|
|00006280| 09 69 66 20 28 20 4e 65 | 77 42 6f 74 20 3d 3d 20 |.if ( Ne|wBot == |
|00006290| 4e 6f 6e 65 20 29 0d 0a | 09 7b 0d 0a 09 09 6c 6f |None )..|.{....lo|
|000062a0| 67 28 22 46 61 69 6c 65 | 64 20 74 6f 20 73 70 61 |g("Faile|d to spa|
|000062b0| 77 6e 20 62 6f 74 2e 22 | 29 3b 0d 0a 09 09 72 65 |wn bot."|);....re|
|000062c0| 74 75 72 6e 20 66 61 6c | 73 65 3b 0d 0a 09 7d 0d |turn fal|se;...}.|
|000062d0| 0a 0d 0a 09 53 74 61 72 | 74 53 70 6f 74 2e 50 6c |....Star|tSpot.Pl|
|000062e0| 61 79 54 65 6c 65 70 6f | 72 74 45 66 66 65 63 74 |ayTelepo|rtEffect|
|000062f0| 28 4e 65 77 42 6f 74 2c | 20 74 72 75 65 29 3b 0d |(NewBot,| true);.|
|00006300| 0a 0d 0a 09 4e 65 77 42 | 6f 74 2e 50 6c 61 79 65 |....NewB|ot.Playe|
|00006310| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|00006320| 2e 62 49 73 41 42 6f 74 | 20 3d 20 54 72 75 65 3b |.bIsABot| = True;|
|00006330| 0d 0a 0d 0a 09 2f 2f 20 | 4c 6f 67 20 69 74 2e 0d |.....// |Log it..|
|00006340| 0a 09 69 66 20 28 4c 6f | 63 61 6c 4c 6f 67 20 21 |..if (Lo|calLog !|
|00006350| 3d 20 4e 6f 6e 65 29 0d | 0a 09 7b 0d 0a 09 09 4c |= None).|..{....L|
|00006360| 6f 63 61 6c 4c 6f 67 2e | 4c 6f 67 50 6c 61 79 65 |ocalLog.|LogPlaye|
|00006370| 72 43 6f 6e 6e 65 63 74 | 28 4e 65 77 42 6f 74 29 |rConnect|(NewBot)|
|00006380| 3b 0d 0a 09 09 4c 6f 63 | 61 6c 4c 6f 67 2e 46 6c |;....Loc|alLog.Fl|
|00006390| 75 73 68 4c 6f 67 28 29 | 3b 0d 0a 09 7d 0d 0a 09 |ushLog()|;...}...|
|000063a0| 69 66 20 28 57 6f 72 6c | 64 4c 6f 67 20 21 3d 20 |if (Worl|dLog != |
|000063b0| 4e 6f 6e 65 29 0d 0a 09 | 7b 0d 0a 09 09 57 6f 72 |None)...|{....Wor|
|000063c0| 6c 64 4c 6f 67 2e 4c 6f | 67 50 6c 61 79 65 72 43 |ldLog.Lo|gPlayerC|
|000063d0| 6f 6e 6e 65 63 74 28 4e | 65 77 42 6f 74 29 3b 0d |onnect(N|ewBot);.|
|000063e0| 0a 09 09 57 6f 72 6c 64 | 4c 6f 67 2e 46 6c 75 73 |...World|Log.Flus|
|000063f0| 68 4c 6f 67 28 29 3b 0d | 0a 09 7d 0d 0a 0d 0a 09 |hLog();.|..}.....|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.