home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-05-10 | 11.0 KB |
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 43 af 01 2f 2f 3d 3d 3d |........|C..//===|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 2f 2f 20 55 |========|==..// U|
|00000060| 6e 72 65 61 6c 4d 50 47 | 61 6d 65 49 6e 66 6f 2e |nrealMPG|ameInfo.|
|00000070| 0d 0a 2f 2f 0d 0a 2f 2f | 0d 0a 2f 2f 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 3d |========|========|
|000000c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0d 0a 63 6c 61 73 73 |========|=..class|
|000000d0| 20 55 6e 72 65 61 6c 4d | 50 47 61 6d 65 49 6e 66 | UnrealM|PGameInf|
|000000e0| 6f 20 65 78 74 65 6e 64 | 73 20 47 61 6d 65 49 6e |o extend|s GameIn|
|000000f0| 66 6f 0d 0a 09 48 69 64 | 65 44 72 6f 70 44 6f 77 |fo...Hid|eDropDow|
|00000100| 6e 0d 0a 09 43 61 63 68 | 65 45 78 65 6d 70 74 0d |n...Cach|eExempt.|
|00000110| 0a 09 63 6f 6e 66 69 67 | 3b 0d 0a 0d 0a 2f 2f 20 |..config|;....// |
|00000120| 53 6f 72 74 20 6f 66 20 | 61 20 68 61 63 6b 20 68 |Sort of |a hack h|
|00000130| 65 72 65 20 74 6f 20 6b | 65 65 70 20 73 69 6e 67 |ere to k|eep sing|
|00000140| 6c 65 20 70 6c 61 79 65 | 72 20 61 6e 64 20 6d 75 |le playe|r and mu|
|00000150| 6c 74 69 70 6c 61 79 65 | 72 20 62 6f 74 20 6f 70 |ltiplaye|r bot op|
|00000160| 74 69 6f 6e 73 20 73 65 | 70 65 72 61 74 65 20 77 |tions se|perate w|
|00000170| 69 74 68 6f 75 74 20 68 | 61 76 69 6e 67 20 74 77 |ithout h|aving tw|
|00000180| 6f 20 70 72 6f 70 65 72 | 74 69 65 73 0d 0a 2f 2f |o proper|ties..//|
|00000190| 20 30 3a 20 53 50 20 2d | 20 55 73 65 20 4d 69 6e | 0: SP -| Use Min|
|000001a0| 50 6c 61 79 65 72 73 20 | 31 3a 20 53 50 20 2d 20 |Players |1: SP - |
|000001b0| 55 73 65 20 4d 61 70 20 | 64 65 66 61 75 6c 74 73 |Use Map |defaults|
|000001c0| 20 32 3a 20 53 50 20 2d | 20 55 73 65 20 52 6f 73 | 2: SP -| Use Ros|
|000001d0| 74 65 72 0d 0a 2f 2f 20 | 34 3a 20 4d 50 20 2d 20 |ter..// |4: MP - |
|000001e0| 55 73 65 4d 69 6e 50 6c | 61 79 65 72 73 20 38 3a |UseMinPl|ayers 8:|
|000001f0| 20 4d 50 3a 20 55 73 65 | 20 52 6f 73 74 65 72 09 | MP: Use| Roster.|
|00000200| 31 36 3a 20 70 6c 61 79 | 65 72 73 20 76 73 20 62 |16: play|ers vs b|
|00000210| 6f 74 73 0d 0a 76 61 72 | 20 67 6c 6f 62 61 6c 63 |ots..var| globalc|
|00000220| 6f 6e 66 69 67 20 62 79 | 74 65 09 09 42 6f 74 4d |onfig by|te..BotM|
|00000230| 6f 64 65 3b 0d 0a 76 61 | 72 20 67 6c 6f 62 61 6c |ode;..va|r global|
|00000240| 63 6f 6e 66 69 67 20 69 | 6e 74 09 09 4d 69 6e 50 |config i|nt..MinP|
|00000250| 6c 61 79 65 72 73 3b 09 | 09 09 2f 2f 20 62 6f 74 |layers;.|..// bot|
|00000260| 73 20 66 69 6c 6c 20 69 | 6e 20 74 6f 20 67 75 61 |s fill i|n to gua|
|00000270| 72 61 6e 74 65 65 20 74 | 68 69 73 20 6c 65 76 65 |rantee t|his leve|
|00000280| 6c 20 69 6e 20 6e 65 74 | 20 67 61 6d 65 0d 0a 76 |l in net| game..v|
|00000290| 61 72 20 67 6c 6f 62 61 | 6c 63 6f 6e 66 69 67 20 |ar globa|lconfig |
|000002a0| 66 6c 6f 61 74 09 09 45 | 6e 64 54 69 6d 65 44 65 |float..E|ndTimeDe|
|000002b0| 6c 61 79 3b 0d 0a 76 61 | 72 20 67 6c 6f 62 61 6c |lay;..va|r global|
|000002c0| 63 6f 6e 66 69 67 20 66 | 6c 6f 61 74 09 09 42 6f |config f|loat..Bo|
|000002d0| 74 52 61 74 69 6f 3b 09 | 09 09 2f 2f 20 6f 6e 6c |tRatio;.|..// onl|
|000002e0| 79 20 75 73 65 64 20 77 | 68 65 6e 20 62 50 6c 61 |y used w|hen bPla|
|000002f0| 79 65 72 73 56 73 42 6f | 74 73 20 69 73 20 74 72 |yersVsBo|ts is tr|
|00000300| 75 65 0d 0a 0d 0a 76 61 | 72 20 62 6f 6f 6c 20 09 |ue....va|r bool .|
|00000310| 09 62 50 72 65 6c 6f 61 | 64 41 6c 6c 53 6b 69 6e |.bPreloa|dAllSkin|
|00000320| 73 3b 09 2f 2f 20 4f 42 | 53 4f 4c 45 54 45 0d 0a |s;.// OB|SOLETE..|
|00000330| 76 61 72 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |var | |
|00000340| 20 73 74 72 69 6e 67 20 | 20 20 20 20 44 65 66 61 | string | Defa|
|00000350| 75 6c 74 56 6f 69 63 65 | 43 68 61 6e 6e 65 6c 3b |ultVoice|Channel;|
|00000360| 20 2f 2f 20 64 65 66 61 | 75 6c 74 20 61 63 74 69 | // defa|ult acti|
|00000370| 76 65 20 63 68 61 6e 6e | 65 6c 20 66 6f 72 20 69 |ve chann|el for i|
|00000380| 6e 63 6f 6d 69 6e 67 20 | 70 6c 61 79 65 72 73 0d |ncoming |players.|
|00000390| 0a 76 61 72 20 63 6f 6e | 66 69 67 09 09 20 62 6f |.var con|fig.. bo|
|000003a0| 6f 6c 09 09 62 41 6c 6c | 6f 77 50 72 69 76 61 74 |ol..bAll|owPrivat|
|000003b0| 65 43 68 61 74 3b 09 2f | 2f 20 41 6c 6c 6f 77 20 |eChat;./|/ Allow |
|000003c0| 70 72 69 76 61 74 65 20 | 63 68 61 74 20 63 68 61 |private |chat cha|
|000003d0| 6e 6e 65 6c 73 20 6f 6e | 20 74 68 69 73 20 73 65 |nnels on| this se|
|000003e0| 72 76 65 72 0d 0a 76 61 | 72 20 62 6f 6f 6c 09 09 |rver..va|r bool..|
|000003f0| 09 09 09 62 54 65 61 6d | 53 63 6f 72 65 52 6f 75 |...bTeam|ScoreRou|
|00000400| 6e 64 73 3b 0d 0a 76 61 | 72 20 62 6f 6f 6c 09 09 |nds;..va|r bool..|
|00000410| 09 09 09 62 53 6f 61 6b | 69 6e 67 3b 0d 0a 76 61 |...bSoak|ing;..va|
|00000420| 72 20 62 6f 6f 6c 09 09 | 09 62 50 6c 61 79 65 72 |r bool..|.bPlayer|
|00000430| 73 56 73 42 6f 74 73 3b | 0d 0a 0d 0a 76 61 72 20 |sVsBots;|....var |
|00000440| 66 6c 6f 61 74 20 45 6e | 64 54 69 6d 65 3b 0d 0a |float En|dTime;..|
|00000450| 76 61 72 20 54 72 61 6e | 73 6c 6f 63 61 74 6f 72 |var Tran|slocator|
|00000460| 42 65 61 63 6f 6e 20 42 | 65 61 63 6f 6e 4c 69 73 |Beacon B|eaconLis|
|00000470| 74 3b 0d 0a 76 61 72 20 | 53 70 65 63 69 61 6c 56 |t;..var |SpecialV|
|00000480| 65 68 69 63 6c 65 4f 62 | 6a 65 63 74 69 76 65 20 |ehicleOb|jective |
|00000490| 53 70 65 63 69 61 6c 56 | 65 68 69 63 6c 65 4f 62 |SpecialV|ehicleOb|
|000004a0| 6a 65 63 74 69 76 65 73 | 3b 0d 0a 76 61 72 20 63 |jectives|;..var c|
|000004b0| 6c 61 73 73 3c 53 63 6f | 72 65 62 6f 61 72 64 3e |lass<Sco|reboard>|
|000004c0| 20 4c 6f 63 61 6c 53 74 | 61 74 73 53 63 72 65 65 | LocalSt|atsScree|
|000004d0| 6e 43 6c 61 73 73 3b 0d | 0a 76 61 72 28 29 20 73 |nClass;.|.var() s|
|000004e0| 74 72 69 6e 67 20 56 6f | 69 63 65 52 65 70 6c 69 |tring Vo|iceRepli|
|000004f0| 63 61 74 69 6f 6e 49 6e | 66 6f 54 79 70 65 3b 0d |cationIn|foType;.|
|00000500| 0a 0d 0a 2f 2f 20 6d 63 | 20 2d 20 6c 6f 63 61 6c |...// mc| - local|
|00000510| 69 7a 65 64 20 50 6c 61 | 79 49 6e 66 6f 20 64 65 |ized Pla|yInfo de|
|00000520| 73 63 72 69 70 74 69 6f | 6e 73 20 26 20 65 78 74 |scriptio|ns & ext|
|00000530| 72 61 20 69 6e 66 6f 0d | 0a 63 6f 6e 73 74 20 4d |ra info.|.const M|
|00000540| 50 50 52 4f 50 4e 55 4d | 20 3d 20 34 3b 0d 0a 76 |PPROPNUM| = 4;..v|
|00000550| 61 72 20 6c 6f 63 61 6c | 69 7a 65 64 20 73 74 72 |ar local|ized str|
|00000560| 69 6e 67 20 4d 50 47 49 | 50 72 6f 70 73 44 69 73 |ing MPGI|PropsDis|
|00000570| 70 6c 61 79 54 65 78 74 | 5b 4d 50 50 52 4f 50 4e |playText|[MPPROPN|
|00000580| 55 4d 5d 3b 0d 0a 76 61 | 72 20 6c 6f 63 61 6c 69 |UM];..va|r locali|
|00000590| 7a 65 64 20 73 74 72 69 | 6e 67 20 4d 50 47 49 50 |zed stri|ng MPGIP|
|000005a0| 72 6f 70 44 65 73 63 54 | 65 78 74 5b 4d 50 50 52 |ropDescT|ext[MPPR|
|000005b0| 4f 50 4e 55 4d 5d 3b 0d | 0a 76 61 72 20 6c 6f 63 |OPNUM];.|.var loc|
|000005c0| 61 6c 69 7a 65 64 20 73 | 74 72 69 6e 67 20 42 6f |alized s|tring Bo|
|000005d0| 74 4d 6f 64 65 54 65 78 | 74 3b 0d 0a 0d 0a 2f 2f |tModeTex|t;....//|
|000005e0| 20 3c 68 61 63 6b 3e 0d | 0a 76 61 72 20 6c 6f 63 | <hack>.|.var loc|
|000005f0| 61 6c 69 7a 65 64 20 73 | 74 72 69 6e 67 20 53 50 |alized s|tring SP|
|00000600| 42 6f 74 54 65 78 74 2c | 20 4d 50 42 6f 74 54 65 |BotText,| MPBotTe|
|00000610| 78 74 2c 20 53 50 42 6f | 74 44 65 73 63 2c 20 4d |xt, SPBo|tDesc, M|
|00000620| 50 42 6f 74 44 65 73 63 | 2c 20 42 6f 74 4f 70 74 |PBotDesc|, BotOpt|
|00000630| 69 6f 6e 73 5b 34 5d 3b | 0d 0a 2f 2f 20 3c 2f 68 |ions[4];|..// </h|
|00000640| 61 63 6b 3e 0d 0a 0d 0a | 0d 0a 65 76 65 6e 74 20 |ack>....|..event |
|00000650| 50 6c 61 79 65 72 43 6f | 6e 74 72 6f 6c 6c 65 72 |PlayerCo|ntroller|
|00000660| 20 4c 6f 67 69 6e 0d 0a | 28 0d 0a 20 20 20 20 73 | Login..|(.. s|
|00000670| 74 72 69 6e 67 20 50 6f | 72 74 61 6c 2c 0d 0a 20 |tring Po|rtal,.. |
|00000680| 20 20 20 73 74 72 69 6e | 67 20 4f 70 74 69 6f 6e | strin|g Option|
|00000690| 73 2c 0d 0a 20 20 20 20 | 6f 75 74 20 73 74 72 69 |s,.. |out stri|
|000006a0| 6e 67 20 45 72 72 6f 72 | 0d 0a 29 0d 0a 7b 0d 0a |ng Error|..)..{..|
|000006b0| 09 6c 6f 63 61 6c 20 50 | 6c 61 79 65 72 43 6f 6e |.local P|layerCon|
|000006c0| 74 72 6f 6c 6c 65 72 20 | 50 43 3b 0d 0a 0d 0a 09 |troller |PC;.....|
|000006d0| 50 43 20 3d 20 53 75 70 | 65 72 2e 4c 6f 67 69 6e |PC = Sup|er.Login|
|000006e0| 28 20 50 6f 72 74 61 6c | 2c 20 4f 70 74 69 6f 6e |( Portal|, Option|
|000006f0| 73 2c 20 45 72 72 6f 72 | 20 29 3b 0d 0a 0d 0a 09 |s, Error| );.....|
|00000700| 69 66 20 28 20 50 43 20 | 21 3d 20 4e 6f 6e 65 20 |if ( PC |!= None |
|00000710| 29 0d 0a 09 7b 0d 0a 09 | 09 69 66 20 28 20 4c 65 |)...{...|.if ( Le|
|00000720| 76 65 6c 2e 4e 65 74 4d | 6f 64 65 20 3d 3d 20 4e |vel.NetM|ode == N|
|00000730| 4d 5f 44 65 64 69 63 61 | 74 65 64 53 65 72 76 65 |M_Dedica|tedServe|
|00000740| 72 20 7c 7c 20 4c 65 76 | 65 6c 2e 4e 65 74 4d 6f |r || Lev|el.NetMo|
|00000750| 64 65 20 3d 3d 20 4e 4d | 5f 4c 69 73 74 65 6e 53 |de == NM|_ListenS|
|00000760| 65 72 76 65 72 20 29 0d | 0a 09 09 7b 0d 0a 09 09 |erver ).|...{....|
|00000770| 09 50 43 2e 56 6f 69 63 | 65 52 65 70 6c 69 63 61 |.PC.Voic|eReplica|
|00000780| 74 69 6f 6e 49 6e 66 6f | 20 3d 20 56 6f 69 63 65 |tionInfo| = Voice|
|00000790| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 3b |Replicat|ionInfo;|
|000007a0| 0d 0a 09 09 09 69 66 20 | 28 20 4c 65 76 65 6c 2e |.....if |( Level.|
|000007b0| 4e 65 74 4d 6f 64 65 20 | 3d 3d 20 4e 4d 5f 4c 69 |NetMode |== NM_Li|
|000007c0| 73 74 65 6e 53 65 72 76 | 65 72 20 26 26 20 4c 65 |stenServ|er && Le|
|000007d0| 76 65 6c 2e 47 65 74 4c | 6f 63 61 6c 50 6c 61 79 |vel.GetL|ocalPlay|
|000007e0| 65 72 43 6f 6e 74 72 6f | 6c 6c 65 72 28 29 20 3d |erContro|ller() =|
|000007f0| 3d 20 50 43 20 29 0d 0a | 09 09 09 09 50 43 2e 49 |= PC )..|....PC.I|
|00000800| 6e 69 74 69 61 6c 69 7a | 65 56 6f 69 63 65 43 68 |nitializ|eVoiceCh|
|00000810| 61 74 28 29 3b 0d 0a 09 | 09 7d 0d 0a 09 7d 0d 0a |at();...|.}...}..|
|00000820| 0d 0a 09 72 65 74 75 72 | 6e 20 50 43 3b 0d 0a 7d |...retur|n PC;..}|
|00000830| 0d 0a 2f 2f 20 72 6a 70 | 20 2d 2d 0d 0a 66 75 6e |..// rjp| --..fun|
|00000840| 63 74 69 6f 6e 20 49 6e | 69 74 56 6f 69 63 65 52 |ction In|itVoiceR|
|00000850| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 28 29 |eplicati|onInfo()|
|00000860| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 63 6c 61 73 |..{...lo|cal clas|
|00000870| 73 3c 56 6f 69 63 65 43 | 68 61 74 52 65 70 6c 69 |s<VoiceC|hatRepli|
|00000880| 63 61 74 69 6f 6e 49 6e | 66 6f 3e 20 56 52 49 43 |cationIn|fo> VRIC|
|00000890| 6c 61 73 73 3b 0d 0a 09 | 6c 6f 63 61 6c 20 69 6e |lass;...|local in|
|000008a0| 74 20 69 3b 0d 0a 0d 0a | 09 69 66 20 28 4c 65 76 |t i;....|.if (Lev|
|000008b0| 65 6c 2e 4e 65 74 4d 6f | 64 65 20 3d 3d 20 4e 4d |el.NetMo|de == NM|
|000008c0| 5f 53 74 61 6e 64 41 6c | 6f 6e 65 20 7c 7c 20 4c |_StandAl|one || L|
|000008d0| 65 76 65 6c 2e 4e 65 74 | 4d 6f 64 65 20 3d 3d 20 |evel.Net|Mode == |
|000008e0| 4e 4d 5f 43 6c 69 65 6e | 74 29 0d 0a 09 09 72 65 |NM_Clien|t)....re|
|000008f0| 74 75 72 6e 3b 0d 0a 0d | 0a 09 69 66 20 28 20 56 |turn;...|..if ( V|
|00000900| 6f 69 63 65 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |oiceRepl|icationI|
|00000910| 6e 66 6f 54 79 70 65 20 | 21 3d 20 22 22 20 29 0d |nfoType |!= "" ).|
|00000920| 0a 09 7b 0d 0a 09 09 56 | 52 49 43 6c 61 73 73 20 |..{....V|RIClass |
|00000930| 3d 20 63 6c 61 73 73 3c | 56 6f 69 63 65 43 68 61 |= class<|VoiceCha|
|00000940| 74 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |tReplica|tionInfo|
|00000950| 3e 28 44 79 6e 61 6d 69 | 63 4c 6f 61 64 4f 62 6a |>(Dynami|cLoadObj|
|00000960| 65 63 74 28 56 6f 69 63 | 65 52 65 70 6c 69 63 61 |ect(Voic|eReplica|
|00000970| 74 69 6f 6e 49 6e 66 6f | 54 79 70 65 2c 63 6c 61 |tionInfo|Type,cla|
|00000980| 73 73 27 43 6c 61 73 73 | 27 29 29 3b 0d 0a 09 09 |ss'Class|'));....|
|00000990| 69 66 20 28 20 56 52 49 | 43 6c 61 73 73 20 21 3d |if ( VRI|Class !=|
|000009a0| 20 4e 6f 6e 65 20 29 0d | 0a 09 09 09 56 6f 69 63 | None ).|....Voic|
|000009b0| 65 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |eReplica|tionInfo|
|000009c0| 43 6c 61 73 73 20 3d 20 | 56 52 49 43 6c 61 73 73 |Class = |VRIClass|
|000009d0| 3b 0d 0a 09 7d 0d 0a 0d | 0a 20 20 20 20 69 66 20 |;...}...|. if |
|000009e0| 28 56 6f 69 63 65 52 65 | 70 6c 69 63 61 74 69 6f |(VoiceRe|plicatio|
|000009f0| 6e 49 6e 66 6f 43 6c 61 | 73 73 20 21 3d 20 4e 6f |nInfoCla|ss != No|
|00000a00| 6e 65 20 26 26 20 56 6f | 69 63 65 52 65 70 6c 69 |ne && Vo|iceRepli|
|00000a10| 63 61 74 69 6f 6e 49 6e | 66 6f 20 3d 3d 20 4e 6f |cationIn|fo == No|
|00000a20| 6e 65 29 0d 0a 09 20 20 | 20 20 56 6f 69 63 65 52 |ne)... | VoiceR|
|00000a30| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 20 3d |eplicati|onInfo =|
|00000a40| 20 53 70 61 77 6e 28 56 | 6f 69 63 65 52 65 70 6c | Spawn(V|oiceRepl|
|00000a50| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 43 6c 61 73 73 |icationI|nfoClass|
|00000a60| 29 3b 0d 0a 0d 0a 09 53 | 75 70 65 72 2e 49 6e 69 |);.....S|uper.Ini|
|00000a70| 74 56 6f 69 63 65 52 65 | 70 6c 69 63 61 74 69 6f |tVoiceRe|plicatio|
|00000a80| 6e 49 6e 66 6f 28 29 3b | 0d 0a 09 56 6f 69 63 65 |nInfo();|...Voice|
|00000a90| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00000aa0| 62 50 72 69 76 61 74 65 | 43 68 61 74 20 3d 20 62 |bPrivate|Chat = b|
|00000ab0| 41 6c 6c 6f 77 50 72 69 | 76 61 74 65 43 68 61 74 |AllowPri|vateChat|
|00000ac0| 3b 0d 0a 0d 0a 09 69 20 | 3d 20 56 6f 69 63 65 52 |;.....i |= VoiceR|
|00000ad0| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 47 |eplicati|onInfo.G|
|00000ae0| 65 74 43 68 61 6e 6e 65 | 6c 49 6e 64 65 78 28 44 |etChanne|lIndex(D|
|00000af0| 65 66 61 75 6c 74 56 6f | 69 63 65 43 68 61 6e 6e |efaultVo|iceChann|
|00000b00| 65 6c 29 3b 0d 0a 09 69 | 66 20 28 20 69 20 21 3d |el);...i|f ( i !=|
|00000b10| 20 2d 31 20 26 26 20 69 | 20 21 3d 20 56 6f 69 63 | -1 && i| != Voic|
|00000b20| 65 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |eReplica|tionInfo|
|00000b30| 2e 44 65 66 61 75 6c 74 | 43 68 61 6e 6e 65 6c 20 |.Default|Channel |
|00000b40| 29 0d 0a 09 09 56 6f 69 | 63 65 52 65 70 6c 69 63 |)....Voi|ceReplic|
|00000b50| 61 74 69 6f 6e 49 6e 66 | 6f 2e 44 65 66 61 75 6c |ationInf|o.Defaul|
|00000b60| 74 43 68 61 6e 6e 65 6c | 20 3d 20 69 3b 0d 0a 7d |tChannel| = i;..}|
|00000b70| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 49 6e 69 |....func|tion Ini|
|00000b80| 74 4d 61 70 6c 69 73 74 | 48 61 6e 64 6c 65 72 28 |tMaplist|Handler(|
|00000b90| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 63 6c 61 |)..{...l|ocal cla|
|00000ba0| 73 73 3c 4d 61 70 6c 69 | 73 74 4d 61 6e 61 67 65 |ss<Mapli|stManage|
|00000bb0| 72 42 61 73 65 3e 20 4d | 61 70 6c 69 73 74 4d 61 |rBase> M|aplistMa|
|00000bc0| 6e 61 67 65 72 43 6c 61 | 73 73 3b 0d 0a 0d 0a 09 |nagerCla|ss;.....|
|00000bd0| 69 66 20 28 20 4d 61 70 | 6c 69 73 74 48 61 6e 64 |if ( Map|listHand|
|00000be0| 6c 65 72 20 21 3d 20 4e | 6f 6e 65 20 29 0d 0a 09 |ler != N|one )...|
|00000bf0| 09 72 65 74 75 72 6e 3b | 0d 0a 0d 0a 09 69 66 20 |.return;|.....if |
|00000c00| 28 20 4d 61 70 6c 69 73 | 74 48 61 6e 64 6c 65 72 |( Maplis|tHandler|
|00000c10| 54 79 70 65 20 21 3d 22 | 22 20 29 0d 0a 09 09 4d |Type !="|" )....M|
|00000c20| 61 70 6c 69 73 74 4d 61 | 6e 61 67 65 72 43 6c 61 |aplistMa|nagerCla|
|00000c30| 73 73 20 3d 20 63 6c 61 | 73 73 3c 4d 61 70 6c 69 |ss = cla|ss<Mapli|
|00000c40| 73 74 4d 61 6e 61 67 65 | 72 42 61 73 65 3e 28 44 |stManage|rBase>(D|
|00000c50| 79 6e 61 6d 69 63 4c 6f | 61 64 4f 62 6a 65 63 74 |ynamicLo|adObject|
|00000c60| 28 4d 61 70 6c 69 73 74 | 48 61 6e 64 6c 65 72 54 |(Maplist|HandlerT|
|00000c70| 79 70 65 2c 20 63 6c 61 | 73 73 27 43 6c 61 73 73 |ype, cla|ss'Class|
|00000c80| 27 29 29 3b 0d 0a 0d 0a | 09 69 66 20 28 20 4d 61 |'));....|.if ( Ma|
|00000c90| 70 6c 69 73 74 4d 61 6e | 61 67 65 72 43 6c 61 73 |plistMan|agerClas|
|00000ca0| 73 20 3d 3d 20 4e 6f 6e | 65 20 29 0d 0a 09 09 4d |s == Non|e )....M|
|00000cb0| 61 70 6c 69 73 74 4d 61 | 6e 61 67 65 72 43 6c 61 |aplistMa|nagerCla|
|00000cc0| 73 73 20 3d 20 4d 61 70 | 6c 69 73 74 48 61 6e 64 |ss = Map|listHand|
|00000cd0| 6c 65 72 43 6c 61 73 73 | 3b 0d 0a 0d 0a 09 69 66 |lerClass|;.....if|
|00000ce0| 20 28 20 4d 61 70 6c 69 | 73 74 4d 61 6e 61 67 65 | ( Mapli|stManage|
|00000cf0| 72 43 6c 61 73 73 20 21 | 3d 20 4e 6f 6e 65 20 29 |rClass !|= None )|
|00000d00| 0d 0a 09 09 4d 61 70 6c | 69 73 74 48 61 6e 64 6c |....Mapl|istHandl|
|00000d10| 65 72 20 3d 20 53 70 61 | 77 6e 28 4d 61 70 6c 69 |er = Spa|wn(Mapli|
|00000d20| 73 74 4d 61 6e 61 67 65 | 72 43 6c 61 73 73 29 3b |stManage|rClass);|
|00000d30| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00000d40| 43 68 61 6e 67 65 56 6f | 69 63 65 43 68 61 6e 6e |ChangeVo|iceChann|
|00000d50| 65 6c 28 20 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |el( Play|erReplic|
|00000d60| 61 74 69 6f 6e 49 6e 66 | 6f 20 50 52 49 2c 20 69 |ationInf|o PRI, i|
|00000d70| 6e 74 20 4e 65 77 43 68 | 61 6e 6e 65 6c 49 6e 64 |nt NewCh|annelInd|
|00000d80| 65 78 2c 20 69 6e 74 20 | 4f 6c 64 43 68 61 6e 6e |ex, int |OldChann|
|00000d90| 65 6c 49 6e 64 65 78 20 | 29 0d 0a 7b 0d 0a 09 6c |elIndex |)..{...l|
|00000da0| 6f 63 61 6c 20 56 6f 69 | 63 65 43 68 61 74 52 6f |ocal Voi|ceChatRo|
|00000db0| 6f 6d 20 4e 65 77 43 68 | 61 6e 6e 65 6c 2c 20 4f |om NewCh|annel, O|
|00000dc0| 6c 64 43 68 61 6e 6e 65 | 6c 3b 0d 0a 0d 0a 09 69 |ldChanne|l;.....i|
|00000dd0| 66 20 28 20 50 52 49 20 | 3d 3d 20 4e 6f 6e 65 20 |f ( PRI |== None |
|00000de0| 29 0d 0a 09 7b 0d 0a 09 | 09 6c 6f 67 28 22 43 68 |)...{...|.log("Ch|
|00000df0| 61 6e 67 65 56 6f 69 63 | 65 43 68 61 6e 6e 65 6c |angeVoic|eChannel|
|00000e00| 20 2d 20 6e 6f 20 50 52 | 49 21 22 2c 27 56 6f 69 | - no PR|I!",'Voi|
|00000e10| 63 65 43 68 61 74 27 29 | 3b 0d 0a 09 09 72 65 74 |ceChat')|;....ret|
|00000e20| 75 72 6e 3b 0d 0a 09 7d | 0d 0a 0d 0a 09 69 66 20 |urn;...}|.....if |
|00000e30| 28 20 56 6f 69 63 65 52 | 65 70 6c 69 63 61 74 69 |( VoiceR|eplicati|
|00000e40| 6f 6e 49 6e 66 6f 20 3d | 3d 20 4e 6f 6e 65 20 29 |onInfo =|= None )|
|00000e50| 0d 0a 09 7b 0d 0a 09 09 | 6c 6f 67 28 22 43 68 61 |...{....|log("Cha|
|00000e60| 6e 67 65 56 6f 69 63 65 | 43 68 61 6e 6e 65 6c 20 |ngeVoice|Channel |
|00000e70| 2d 20 6e 6f 20 56 6f 69 | 63 65 52 65 70 6c 69 63 |- no Voi|ceReplic|
|00000e80| 61 74 69 6f 6e 49 6e 66 | 6f 21 22 2c 27 56 6f 69 |ationInf|o!",'Voi|
|00000e90| 63 65 43 68 61 74 27 29 | 3b 0d 0a 09 09 72 65 74 |ceChat')|;....ret|
|00000ea0| 75 72 6e 3b 0d 0a 09 7d | 0d 0a 0d 0a 09 69 66 20 |urn;...}|.....if |
|00000eb0| 28 20 4e 65 77 43 68 61 | 6e 6e 65 6c 49 6e 64 65 |( NewCha|nnelInde|
|00000ec0| 78 20 3e 3d 20 30 20 29 | 0d 0a 09 7b 0d 0a 09 09 |x >= 0 )|...{....|
|00000ed0| 4e 65 77 43 68 61 6e 6e | 65 6c 20 3d 20 56 6f 69 |NewChann|el = Voi|
|00000ee0| 63 65 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |ceReplic|ationInf|
|00000ef0| 6f 2e 47 65 74 43 68 61 | 6e 6e 65 6c 41 74 28 4e |o.GetCha|nnelAt(N|
|00000f00| 65 77 43 68 61 6e 6e 65 | 6c 49 6e 64 65 78 29 3b |ewChanne|lIndex);|
|00000f10| 0d 0a 09 09 69 66 20 28 | 20 4e 65 77 43 68 61 6e |....if (| NewChan|
|00000f20| 6e 65 6c 20 3d 3d 20 4e | 6f 6e 65 20 29 0d 0a 09 |nel == N|one )...|
|00000f30| 09 7b 0d 0a 09 09 09 6c | 6f 67 28 22 43 68 61 6e |.{.....l|og("Chan|
|00000f40| 67 65 56 6f 69 63 65 43 | 68 61 6e 6e 65 6c 20 2d |geVoiceC|hannel -|
|00000f50| 20 69 6e 76 61 6c 69 64 | 20 63 68 61 6e 6e 65 6c | invalid| channel|
|00000f60| 20 69 6e 64 65 78 20 72 | 65 71 75 65 73 74 65 64 | index r|equested|
|00000f70| 21 20 28 22 24 50 52 49 | 40 4e 65 77 43 68 61 6e |! ("$PRI|@NewChan|
|00000f80| 6e 65 6c 49 6e 64 65 78 | 24 22 29 22 2c 27 56 6f |nelIndex|$")",'Vo|
|00000f90| 69 63 65 43 68 61 74 27 | 29 3b 0d 0a 09 09 09 72 |iceChat'|);.....r|
|00000fa0| 65 74 75 72 6e 3b 0d 0a | 09 09 7d 0d 0a 0d 0a 09 |eturn;..|..}.....|
|00000fb0| 09 4e 65 77 43 68 61 6e | 6e 65 6c 2e 41 64 64 4d |.NewChan|nel.AddM|
|00000fc0| 65 6d 62 65 72 28 50 52 | 49 29 3b 0d 0a 09 7d 0d |ember(PR|I);...}.|
|00000fd0| 0a 0d 0a 09 4f 6c 64 43 | 68 61 6e 6e 65 6c 20 3d |....OldC|hannel =|
|00000fe0| 20 56 6f 69 63 65 52 65 | 70 6c 69 63 61 74 69 6f | VoiceRe|plicatio|
|00000ff0| 6e 49 6e 66 6f 2e 47 65 | 74 43 68 61 6e 6e 65 6c |nInfo.Ge|tChannel|
|00001000| 41 74 28 4f 6c 64 43 68 | 61 6e 6e 65 6c 49 6e 64 |At(OldCh|annelInd|
|00001010| 65 78 29 3b 0d 0a 09 69 | 66 20 28 20 4f 6c 64 43 |ex);...i|f ( OldC|
|00001020| 68 61 6e 6e 65 6c 20 21 | 3d 20 4e 6f 6e 65 20 29 |hannel !|= None )|
|00001030| 0d 0a 09 09 4f 6c 64 43 | 68 61 6e 6e 65 6c 2e 52 |....OldC|hannel.R|
|00001040| 65 6d 6f 76 65 4d 65 6d | 62 65 72 28 50 52 49 29 |emoveMem|ber(PRI)|
|00001050| 3b 0d 0a 7d 0d 0a 2f 2f | 20 2d 2d 20 72 6a 70 0d |;..}..//| -- rjp.|
|00001060| 0a 66 75 6e 63 74 69 6f | 6e 20 53 70 65 63 69 61 |.functio|n Specia|
|00001070| 6c 45 76 65 6e 74 28 50 | 6c 61 79 65 72 52 65 70 |lEvent(P|layerRep|
|00001080| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 20 57 68 6f |lication|Info Who|
|00001090| 2c 20 73 74 72 69 6e 67 | 20 44 65 73 63 29 0d 0a |, string| Desc)..|
|000010a0| 7b 0d 0a 09 69 66 20 28 | 20 47 61 6d 65 53 74 61 |{...if (| GameSta|
|000010b0| 74 73 20 21 3d 20 4e 6f | 6e 65 20 29 0d 0a 09 09 |ts != No|ne )....|
|000010c0| 47 61 6d 65 53 74 61 74 | 73 2e 53 70 65 63 69 61 |GameStat|s.Specia|
|000010d0| 6c 45 76 65 6e 74 28 57 | 68 6f 2c 44 65 73 63 29 |lEvent(W|ho,Desc)|
|000010e0| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|000010f0| 20 4b 69 6c 6c 45 76 65 | 6e 74 28 73 74 72 69 6e | KillEve|nt(strin|
|00001100| 67 20 4b 69 6c 6c 74 79 | 70 65 2c 20 50 6c 61 79 |g Killty|pe, Play|
|00001110| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00001120| 6f 20 4b 69 6c 6c 65 72 | 2c 20 50 6c 61 79 65 72 |o Killer|, Player|
|00001130| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 20 |Replicat|ionInfo |
|00001140| 56 69 63 74 69 6d 2c 20 | 63 6c 61 73 73 3c 44 61 |Victim, |class<Da|
|00001150| 6d 61 67 65 54 79 70 65 | 3e 20 44 61 6d 61 67 65 |mageType|> Damage|
|00001160| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 54 65 61 |)..{...l|ocal Tea|
|00001170| 6d 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |mPlayerR|eplicati|
|00001180| 6f 6e 49 6e 66 6f 20 54 | 50 52 49 3b 0d 0a 0d 0a |onInfo T|PRI;....|
|00001190| 09 54 50 52 49 20 3d 20 | 54 65 61 6d 50 6c 61 79 |.TPRI = |TeamPlay|
|000011a0| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|000011b0| 6f 28 56 69 63 74 69 6d | 29 3b 0d 0a 09 69 66 20 |o(Victim|);...if |
|000011c0| 28 20 54 50 52 49 20 21 | 3d 20 4e 6f 6e 65 20 29 |( TPRI !|= None )|
|000011d0| 0d 0a 09 7b 0d 0a 09 09 | 69 66 20 28 20 4b 69 6c |...{....|if ( Kil|
|000011e0| 6c 65 72 20 3d 3d 20 4e | 6f 6e 65 20 7c 7c 20 4b |ler == N|one || K|
|000011f0| 69 6c 6c 65 72 20 3d 3d | 20 56 69 63 74 69 6d 20 |iller ==| Victim |
|00001200| 29 0d 0a 09 09 09 54 50 | 52 49 2e 53 75 69 63 69 |).....TP|RI.Suici|
|00001210| 64 65 73 2b 2b 3b 0d 0a | 09 09 54 50 52 49 2e 41 |des++;..|..TPRI.A|
|00001220| 64 64 57 65 61 70 6f 6e | 44 65 61 74 68 28 44 61 |ddWeapon|Death(Da|
|00001230| 6d 61 67 65 29 3b 0d 0a | 09 7d 0d 0a 0d 0a 09 54 |mage);..|.}.....T|
|00001240| 50 52 49 20 3d 20 54 65 | 61 6d 50 6c 61 79 65 72 |PRI = Te|amPlayer|
|00001250| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 28 |Replicat|ionInfo(|
|00001260| 4b 69 6c 6c 65 72 29 3b | 0d 0a 09 69 66 20 28 20 |Killer);|...if ( |
|00001270| 54 50 52 49 20 21 3d 20 | 4e 6f 6e 65 20 29 0d 0a |TPRI != |None )..|
|00001280| 09 09 69 66 20 28 20 54 | 50 52 49 20 21 3d 20 56 |..if ( T|PRI != V|
|00001290| 69 63 74 69 6d 20 29 0d | 0a 09 09 09 54 50 52 49 |ictim ).|....TPRI|
|000012a0| 2e 41 64 64 57 65 61 70 | 6f 6e 4b 69 6c 6c 28 44 |.AddWeap|onKill(D|
|000012b0| 61 6d 61 67 65 29 3b 0d | 0a 0d 0a 09 69 66 20 28 |amage);.|....if (|
|000012c0| 20 47 61 6d 65 53 74 61 | 74 73 20 21 3d 20 4e 6f | GameSta|ts != No|
|000012d0| 6e 65 20 29 0d 0a 09 09 | 47 61 6d 65 53 74 61 74 |ne )....|GameStat|
|000012e0| 73 2e 4b 69 6c 6c 45 76 | 65 6e 74 28 4b 69 6c 6c |s.KillEv|ent(Kill|
|000012f0| 54 79 70 65 2c 20 4b 69 | 6c 6c 65 72 2c 20 56 69 |Type, Ki|ller, Vi|
|00001300| 63 74 69 6d 2c 20 44 61 | 6d 61 67 65 29 3b 0d 0a |ctim, Da|mage);..|
|00001310| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 47 61 |}....fun|ction Ga|
|00001320| 6d 65 45 76 65 6e 74 28 | 73 74 72 69 6e 67 20 47 |meEvent(|string G|
|00001330| 45 76 65 6e 74 2c 20 73 | 74 72 69 6e 67 20 44 65 |Event, s|tring De|
|00001340| 73 63 2c 20 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |sc, Play|erReplic|
|00001350| 61 74 69 6f 6e 49 6e 66 | 6f 20 57 68 6f 29 0d 0a |ationInf|o Who)..|
|00001360| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 54 65 61 6d 50 6c |{...loca|l TeamPl|
|00001370| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00001380| 6e 66 6f 20 54 50 52 49 | 3b 0d 0a 0d 0a 09 69 66 |nfo TPRI|;.....if|
|00001390| 20 28 20 47 61 6d 65 53 | 74 61 74 73 20 21 3d 20 | ( GameS|tats != |
|000013a0| 4e 6f 6e 65 20 29 0d 0a | 09 09 47 61 6d 65 53 74 |None )..|..GameSt|
|000013b0| 61 74 73 2e 47 61 6d 65 | 45 76 65 6e 74 28 47 45 |ats.Game|Event(GE|
|000013c0| 76 65 6e 74 2c 20 44 65 | 73 63 2c 20 57 68 6f 29 |vent, De|sc, Who)|
|000013d0| 3b 0d 0a 0d 0a 09 54 50 | 52 49 20 3d 20 54 65 61 |;.....TP|RI = Tea|
|000013e0| 6d 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |mPlayerR|eplicati|
|000013f0| 6f 6e 49 6e 66 6f 28 57 | 68 6f 29 3b 0d 0a 0d 0a |onInfo(W|ho);....|
|00001400| 09 69 66 20 28 20 54 50 | 52 49 20 3d 3d 20 4e 6f |.if ( TP|RI == No|
|00001410| 6e 65 20 29 0d 0a 09 09 | 72 65 74 75 72 6e 3b 0d |ne )....|return;.|
|00001420| 0a 0d 0a 09 69 66 20 28 | 20 28 47 45 76 65 6e 74 |....if (| (GEvent|
|00001430| 20 7e 3d 20 22 66 6c 61 | 67 5f 74 61 6b 65 6e 22 | ~= "fla|g_taken"|
|00001440| 29 20 7c 7c 20 28 47 45 | 76 65 6e 74 20 7e 3d 20 |) || (GE|vent ~= |
|00001450| 22 66 6c 61 67 5f 70 69 | 63 6b 75 70 22 29 0d 0a |"flag_pi|ckup")..|
|00001460| 09 09 7c 7c 20 28 47 45 | 76 65 6e 74 20 7e 3d 20 |..|| (GE|vent ~= |
|00001470| 22 62 6f 6d 62 5f 74 61 | 6b 65 6e 22 29 20 7c 7c |"bomb_ta|ken") |||
|00001480| 20 28 47 45 76 65 6e 74 | 20 7e 3d 20 22 42 6f 6d | (GEvent| ~= "Bom|
|00001490| 62 5f 70 69 63 6b 75 70 | 22 29 20 29 0d 0a 09 7b |b_pickup|") )...{|
|000014a0| 0d 0a 09 09 54 50 52 49 | 2e 46 6c 61 67 54 6f 75 |....TPRI|.FlagTou|
|000014b0| 63 68 65 73 2b 2b 3b 0d | 0a 09 09 72 65 74 75 72 |ches++;.|...retur|
|000014c0| 6e 3b 0d 0a 09 7d 0d 0a | 0d 0a 09 69 66 20 28 20 |n;...}..|...if ( |
|000014d0| 47 45 76 65 6e 74 20 7e | 3d 20 22 66 6c 61 67 5f |GEvent ~|= "flag_|
|000014e0| 72 65 74 75 72 6e 65 64 | 22 20 29 0d 0a 09 7b 0d |returned|" )...{.|
|000014f0| 0a 09 09 54 50 52 49 2e | 46 6c 61 67 52 65 74 75 |...TPRI.|FlagRetu|
|00001500| 72 6e 73 2b 2b 3b 0d 0a | 09 09 72 65 74 75 72 6e |rns++;..|..return|
|00001510| 3b 0d 0a 09 7d 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |;...}..}|....func|
|00001520| 74 69 6f 6e 20 53 63 6f | 72 65 45 76 65 6e 74 28 |tion Sco|reEvent(|
|00001530| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00001540| 6e 49 6e 66 6f 20 57 68 | 6f 2c 20 66 6c 6f 61 74 |nInfo Wh|o, float|
|00001550| 20 50 6f 69 6e 74 73 2c | 20 73 74 72 69 6e 67 20 | Points,| string |
|00001560| 44 65 73 63 29 0d 0a 7b | 0d 0a 09 69 66 20 28 20 |Desc)..{|...if ( |
|00001570| 47 61 6d 65 53 74 61 74 | 73 20 21 3d 20 4e 6f 6e |GameStat|s != Non|
|00001580| 65 20 29 0d 0a 09 09 47 | 61 6d 65 53 74 61 74 73 |e )....G|ameStats|
|00001590| 2e 53 63 6f 72 65 45 76 | 65 6e 74 28 57 68 6f 2c |.ScoreEv|ent(Who,|
|000015a0| 50 6f 69 6e 74 73 2c 44 | 65 73 63 29 3b 0d 0a 7d |Points,D|esc);..}|
|000015b0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 54 65 61 |....func|tion Tea|
|000015c0| 6d 53 63 6f 72 65 45 76 | 65 6e 74 28 69 6e 74 20 |mScoreEv|ent(int |
|000015d0| 54 65 61 6d 2c 20 66 6c | 6f 61 74 20 50 6f 69 6e |Team, fl|oat Poin|
|000015e0| 74 73 2c 20 73 74 72 69 | 6e 67 20 44 65 73 63 29 |ts, stri|ng Desc)|
|000015f0| 0d 0a 7b 0d 0a 09 69 66 | 20 28 20 47 61 6d 65 53 |..{...if| ( GameS|
|00001600| 74 61 74 73 20 21 3d 20 | 4e 6f 6e 65 20 29 0d 0a |tats != |None )..|
|00001610| 09 09 47 61 6d 65 53 74 | 61 74 73 2e 54 65 61 6d |..GameSt|ats.Team|
|00001620| 53 63 6f 72 65 45 76 65 | 6e 74 28 54 65 61 6d 2c |ScoreEve|nt(Team,|
|00001630| 50 6f 69 6e 74 73 2c 44 | 65 73 63 29 3b 0d 0a 7d |Points,D|esc);..}|
|00001640| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 69 6e 74 |....func|tion int|
|00001650| 20 47 65 74 4e 75 6d 50 | 6c 61 79 65 72 73 28 29 | GetNumP|layers()|
|00001660| 0d 0a 7b 0d 0a 09 69 66 | 20 28 20 4e 75 6d 50 6c |..{...if| ( NumPl|
|00001670| 61 79 65 72 73 20 3e 20 | 30 20 29 0d 0a 09 09 72 |ayers > |0 )....r|
|00001680| 65 74 75 72 6e 20 4d 61 | 78 28 4e 75 6d 50 6c 61 |eturn Ma|x(NumPla|
|00001690| 79 65 72 73 2c 20 4d 69 | 6e 28 4e 75 6d 50 6c 61 |yers, Mi|n(NumPla|
|000016a0| 79 65 72 73 2b 4e 75 6d | 42 6f 74 73 2c 20 4d 61 |yers+Num|Bots, Ma|
|000016b0| 78 50 6c 61 79 65 72 73 | 2d 31 29 29 3b 0d 0a 09 |xPlayers|-1));...|
|000016c0| 72 65 74 75 72 6e 20 4e | 75 6d 50 6c 61 79 65 72 |return N|umPlayer|
|000016d0| 73 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |s;..}...|.functio|
|000016e0| 6e 20 62 6f 6f 6c 20 53 | 68 6f 75 6c 64 52 65 73 |n bool S|houldRes|
|000016f0| 70 61 77 6e 28 50 69 63 | 6b 75 70 20 4f 74 68 65 |pawn(Pic|kup Othe|
|00001700| 72 29 0d 0a 7b 0d 0a 09 | 72 65 74 75 72 6e 20 66 |r)..{...|return f|
|00001710| 61 6c 73 65 3b 0d 0a 7d | 0d 0a 0d 0a 66 75 6e 63 |alse;..}|....func|
|00001720| 74 69 6f 6e 20 66 6c 6f | 61 74 20 53 70 61 77 6e |tion flo|at Spawn|
|00001730| 57 61 69 74 28 41 49 43 | 6f 6e 74 72 6f 6c 6c 65 |Wait(AIC|ontrolle|
|00001740| 72 20 42 29 0d 0a 7b 0d | 0a 09 69 66 20 28 20 42 |r B)..{.|..if ( B|
|00001750| 2e 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00001760| 6f 6e 49 6e 66 6f 2e 62 | 4f 75 74 4f 66 4c 69 76 |onInfo.b|OutOfLiv|
|00001770| 65 73 20 29 0d 0a 09 09 | 72 65 74 75 72 6e 20 39 |es )....|return 9|
|00001780| 39 39 3b 0d 0a 09 69 66 | 20 28 20 4c 65 76 65 6c |99;...if| ( Level|
|00001790| 2e 4e 65 74 4d 6f 64 65 | 20 3d 3d 20 4e 4d 5f 53 |.NetMode| == NM_S|
|000017a0| 74 61 6e 64 61 6c 6f 6e | 65 20 29 0d 0a 09 7b 0d |tandalon|e )...{.|
|000017b0| 0a 09 09 69 66 20 28 20 | 4e 75 6d 42 6f 74 73 20 |...if ( |NumBots |
|000017c0| 3c 20 34 20 29 0d 0a 09 | 09 09 72 65 74 75 72 6e |< 4 )...|..return|
|000017d0| 20 30 3b 0d 0a 09 09 72 | 65 74 75 72 6e 20 28 20 | 0;....r|eturn ( |
|000017e0| 30 2e 35 20 2a 20 46 4d | 61 78 28 32 2c 4e 75 6d |0.5 * FM|ax(2,Num|
|000017f0| 42 6f 74 73 2d 34 29 20 | 2a 20 46 52 61 6e 64 28 |Bots-4) |* FRand(|
|00001800| 29 20 29 3b 0d 0a 09 7d | 0d 0a 09 69 66 20 28 20 |) );...}|...if ( |
|00001810| 62 50 6c 61 79 65 72 73 | 56 73 42 6f 74 73 20 29 |bPlayers|VsBots )|
|00001820| 0d 0a 09 09 72 65 74 75 | 72 6e 20 30 3b 0d 0a 09 |....retu|rn 0;...|
|00001830| 72 65 74 75 72 6e 20 46 | 52 61 6e 64 28 29 3b 0d |return F|Rand();.|
|00001840| 0a 7d 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 62 |.}....fu|nction b|
|00001850| 6f 6f 6c 20 54 6f 6f 4d | 61 6e 79 42 6f 74 73 28 |ool TooM|anyBots(|
|00001860| 43 6f 6e 74 72 6f 6c 6c | 65 72 20 62 6f 74 54 6f |Controll|er botTo|
|00001870| 52 65 6d 6f 76 65 29 0d | 0a 7b 0d 0a 09 72 65 74 |Remove).|.{...ret|
|00001880| 75 72 6e 20 28 20 28 4c | 65 76 65 6c 2e 4e 65 74 |urn ( (L|evel.Net|
|00001890| 4d 6f 64 65 20 21 3d 20 | 4e 4d 5f 53 74 61 6e 64 |Mode != |NM_Stand|
|000018a0| 61 6c 6f 6e 65 29 20 26 | 26 20 28 4e 75 6d 42 6f |alone) &|& (NumBo|
|000018b0| 74 73 20 2b 20 4e 75 6d | 50 6c 61 79 65 72 73 20 |ts + Num|Players |
|000018c0| 3e 20 4d 69 6e 50 6c 61 | 79 65 72 73 29 20 29 3b |> MinPla|yers) );|
|000018d0| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|000018e0| 52 65 73 74 61 72 74 47 | 61 6d 65 28 29 0d 0a 7b |RestartG|ame()..{|
|000018f0| 0d 0a 09 69 66 20 28 20 | 62 47 61 6d 65 52 65 73 |...if ( |bGameRes|
|00001900| 74 61 72 74 65 64 20 29 | 0d 0a 09 09 72 65 74 75 |tarted )|....retu|
|00001910| 72 6e 3b 0d 0a 20 20 20 | 20 69 66 20 28 20 43 75 |rn;.. | if ( Cu|
|00001920| 72 72 65 6e 74 47 61 6d | 65 50 72 6f 66 69 6c 65 |rrentGam|eProfile|
|00001930| 20 21 3d 20 4e 6f 6e 65 | 20 29 0d 0a 20 20 20 20 | != None| ).. |
|00001940| 7b 0d 0a 09 09 43 75 72 | 72 65 6e 74 47 61 6d 65 |{....Cur|rentGame|
|00001950| 50 72 6f 66 69 6c 65 2e | 43 6f 6e 74 69 6e 75 65 |Profile.|Continue|
|00001960| 53 69 6e 67 6c 65 50 6c | 61 79 65 72 47 61 6d 65 |SinglePl|ayerGame|
|00001970| 28 4c 65 76 65 6c 29 3b | 0d 0a 09 09 72 65 74 75 |(Level);|....retu|
|00001980| 72 6e 3b 0d 0a 09 7d 0d | 0a 09 69 66 20 28 20 45 |rn;...}.|..if ( E|
|00001990| 6e 64 54 69 6d 65 20 3e | 20 4c 65 76 65 6c 2e 54 |ndTime >| Level.T|
|000019a0| 69 6d 65 53 65 63 6f 6e | 64 73 20 29 20 2f 2f 20 |imeSecon|ds ) // |
|000019b0| 73 74 69 6c 6c 20 73 68 | 6f 77 69 6e 67 20 65 6e |still sh|owing en|
|000019c0| 64 20 73 63 72 65 65 6e | 0d 0a 09 09 72 65 74 75 |d screen|....retu|
|000019d0| 72 6e 3b 0d 0a 0d 0a 09 | 53 75 70 65 72 2e 52 65 |rn;.....|Super.Re|
|000019e0| 73 74 61 72 74 47 61 6d | 65 28 29 3b 0d 0a 7d 0d |startGam|e();..}.|
|000019f0| 0a 0d 0a 73 74 61 74 69 | 63 20 66 75 6e 63 74 69 |...stati|c functi|
|00001a00| 6f 6e 20 54 65 78 74 75 | 72 65 20 47 65 74 52 61 |on Textu|re GetRa|
|00001a10| 6e 64 6f 6d 54 65 61 6d | 53 79 6d 62 6f 6c 28 69 |ndomTeam|Symbol(i|
|00001a20| 6e 74 20 62 61 73 65 29 | 0d 0a 7b 0d 0a 20 20 20 |nt base)|..{.. |
|00001a30| 20 6c 6f 63 61 6c 20 73 | 74 72 69 6e 67 20 53 79 | local s|tring Sy|
|00001a40| 6d 62 6f 6c 4e 61 6d 65 | 3b 0d 0a 20 20 20 20 6c |mbolName|;.. l|
|00001a50| 6f 63 61 6c 20 69 6e 74 | 20 53 79 6d 62 6f 6c 49 |ocal int| SymbolI|
|00001a60| 6e 64 65 78 2c 20 52 61 | 77 49 6e 64 65 78 3b 0d |ndex, Ra|wIndex;.|
|00001a70| 0a 20 20 20 20 6c 6f 63 | 61 6c 20 61 72 72 61 79 |. loc|al array|
|00001a80| 3c 73 74 72 69 6e 67 3e | 20 54 65 61 6d 53 79 6d |<string>| TeamSym|
|00001a90| 62 6f 6c 73 3b 0d 0a 09 | 6c 6f 63 61 6c 20 74 65 |bols;...|local te|
|00001aa0| 78 74 75 72 65 20 52 65 | 73 75 6c 74 3b 0d 0a 0d |xture Re|sult;...|
|00001ab0| 0a 20 20 20 20 63 6c 61 | 73 73 27 43 61 63 68 65 |. cla|ss'Cache|
|00001ac0| 4d 61 6e 61 67 65 72 27 | 2e 73 74 61 74 69 63 2e |Manager'|.static.|
|00001ad0| 47 65 74 54 65 61 6d 53 | 79 6d 62 6f 6c 4c 69 73 |GetTeamS|ymbolLis|
|00001ae0| 74 28 20 54 65 61 6d 53 | 79 6d 62 6f 6c 73 2c 20 |t( TeamS|ymbols, |
|00001af0| 54 72 75 65 20 29 3b 0d | 0a 0d 0a 20 20 20 20 52 |True );.|... R|
|00001b00| 61 77 49 6e 64 65 78 20 | 3d 20 52 61 6e 64 28 54 |awIndex |= Rand(T|
|00001b10| 65 61 6d 53 79 6d 62 6f | 6c 73 2e 4c 65 6e 67 74 |eamSymbo|ls.Lengt|
|00001b20| 68 20 2d 20 62 61 73 65 | 29 3b 0d 0a 20 20 20 20 |h - base|);.. |
|00001b30| 53 79 6d 62 6f 6c 49 6e | 64 65 78 20 3d 20 62 61 |SymbolIn|dex = ba|
|00001b40| 73 65 20 2b 20 52 61 77 | 49 6e 64 65 78 3b 0d 0a |se + Raw|Index;..|
|00001b50| 20 20 20 20 69 66 20 28 | 20 53 79 6d 62 6f 6c 49 | if (| SymbolI|
|00001b60| 6e 64 65 78 20 3e 3d 20 | 54 65 61 6d 53 79 6d 62 |ndex >= |TeamSymb|
|00001b70| 6f 6c 73 2e 4c 65 6e 67 | 74 68 20 29 0d 0a 20 20 |ols.Leng|th ).. |
|00001b80| 20 20 09 53 79 6d 62 6f | 6c 49 6e 64 65 78 20 3d | .Symbo|lIndex =|
|00001b90| 20 52 61 77 49 6e 64 65 | 78 3b 0d 0a 0d 0a 09 53 | RawInde|x;.....S|
|00001ba0| 79 6d 62 6f 6c 4e 61 6d | 65 20 3d 20 54 65 61 6d |ymbolNam|e = Team|
|00001bb0| 53 79 6d 62 6f 6c 73 5b | 53 79 6d 62 6f 6c 49 6e |Symbols[|SymbolIn|
|00001bc0| 64 65 78 5d 3b 0d 0a 20 | 20 20 20 72 65 73 75 6c |dex];.. | resul|
|00001bd0| 74 20 3d 20 54 65 78 74 | 75 72 65 28 44 79 6e 61 |t = Text|ure(Dyna|
|00001be0| 6d 69 63 4c 6f 61 64 4f | 62 6a 65 63 74 28 53 79 |micLoadO|bject(Sy|
|00001bf0| 6d 62 6f 6c 4e 61 6d 65 | 2c 20 63 6c 61 73 73 27 |mbolName|, class'|
|00001c00| 54 65 78 74 75 72 65 27 | 29 29 3b 0d 0a 0d 0a 20 |Texture'|));.... |
|00001c10| 20 20 20 69 66 20 28 20 | 72 65 73 75 6c 74 20 3d | if ( |result =|
|00001c20| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 09 72 65 73 75 |= None )|....resu|
|00001c30| 6c 74 20 3d 20 54 65 78 | 74 75 72 65 28 44 79 6e |lt = Tex|ture(Dyn|
|00001c40| 61 6d 69 63 4c 6f 61 64 | 4f 62 6a 65 63 74 28 54 |amicLoad|Object(T|
|00001c50| 65 61 6d 53 79 6d 62 6f | 6c 73 5b 30 5d 2c 20 63 |eamSymbo|ls[0], c|
|00001c60| 6c 61 73 73 27 54 65 78 | 74 75 72 65 27 29 29 3b |lass'Tex|ture'));|
|00001c70| 0d 0a 20 20 20 20 69 66 | 20 28 20 72 65 73 75 6c |.. if| ( resul|
|00001c80| 74 20 3d 3d 20 4e 6f 6e | 65 20 29 0d 0a 20 20 20 |t == Non|e ).. |
|00001c90| 20 09 77 61 72 6e 28 22 | 4e 6f 20 54 65 61 6d 20 | .warn("|No Team |
|00001ca0| 53 79 6d 62 6f 6c 21 20 | 28 54 65 61 6d 53 79 6d |Symbol! |(TeamSym|
|00001cb0| 62 6f 6c 73 5b 30 5d 20 | 69 73 20 69 6e 76 61 6c |bols[0] |is inval|
|00001cc0| 69 64 29 22 29 3b 0d 0a | 20 20 20 20 72 65 74 75 |id)");..| retu|
|00001cd0| 72 6e 20 72 65 73 75 6c | 74 3b 0d 0a 7d 0d 0a 0d |rn resul|t;..}...|
|00001ce0| 0a 2f 2f 20 53 74 75 62 | 73 0d 0a 66 75 6e 63 74 |.// Stub|s..funct|
|00001cf0| 69 6f 6e 20 4f 62 6a 65 | 63 74 69 76 65 44 69 73 |ion Obje|ctiveDis|
|00001d00| 61 62 6c 65 64 28 20 47 | 61 6d 65 4f 62 6a 65 63 |abled( G|ameObjec|
|00001d10| 74 69 76 65 20 44 69 73 | 61 62 6c 65 64 4f 62 6a |tive Dis|abledObj|
|00001d20| 65 63 74 69 76 65 20 29 | 3b 0d 0a 66 75 6e 63 74 |ective )|;..funct|
|00001d30| 69 6f 6e 20 46 69 6e 64 | 4e 65 77 4f 62 6a 65 63 |ion Find|NewObjec|
|00001d40| 74 69 76 65 73 28 20 47 | 61 6d 65 4f 62 6a 65 63 |tives( G|ameObjec|
|00001d50| 74 69 76 65 20 44 69 73 | 61 62 6c 65 64 4f 62 6a |tive Dis|abledObj|
|00001d60| 65 63 74 69 76 65 20 29 | 3b 0d 0a 66 75 6e 63 74 |ective )|;..funct|
|00001d70| 69 6f 6e 20 47 61 6d 65 | 4f 62 6a 65 63 74 20 47 |ion Game|Object G|
|00001d80| 65 74 47 61 6d 65 4f 62 | 6a 65 63 74 28 20 4e 61 |etGameOb|ject( Na|
|00001d90| 6d 65 20 47 61 6d 65 4f | 62 6a 65 63 74 4e 61 6d |me GameO|bjectNam|
|00001da0| 65 20 29 3b 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 53 |e );..fu|nction S|
|00001db0| 63 6f 72 65 47 61 6d 65 | 4f 62 6a 65 63 74 28 20 |coreGame|Object( |
|00001dc0| 43 6f 6e 74 72 6f 6c 6c | 65 72 20 43 2c 20 47 61 |Controll|er C, Ga|
|00001dd0| 6d 65 4f 62 6a 65 63 74 | 20 47 4f 20 29 3b 0d 0a |meObject| GO );..|
|00001de0| 66 75 6e 63 74 69 6f 6e | 20 43 68 61 6e 67 65 4c |function| ChangeL|
|00001df0| 6f 61 64 4f 75 74 28 50 | 6c 61 79 65 72 43 6f 6e |oadOut(P|layerCon|
|00001e00| 74 72 6f 6c 6c 65 72 20 | 50 2c 20 73 74 72 69 6e |troller |P, strin|
|00001e10| 67 20 4c 6f 61 64 6f 75 | 74 4e 61 6d 65 29 3b 0d |g Loadou|tName);.|
|00001e20| 0a 66 75 6e 63 74 69 6f | 6e 20 46 6f 72 63 65 41 |.functio|n ForceA|
|00001e30| 64 64 42 6f 74 28 29 3b | 0d 0a 66 75 6e 63 74 69 |ddBot();|..functi|
|00001e40| 6f 6e 20 62 6f 6f 6c 20 | 43 61 6e 53 68 6f 77 50 |on bool |CanShowP|
|00001e50| 61 74 68 54 6f 28 50 6c | 61 79 65 72 43 6f 6e 74 |athTo(Pl|ayerCont|
|00001e60| 72 6f 6c 6c 65 72 20 50 | 2c 20 69 6e 74 20 54 65 |roller P|, int Te|
|00001e70| 61 6d 4e 75 6d 29 3b 0d | 0a 66 75 6e 63 74 69 6f |amNum);.|.functio|
|00001e80| 6e 20 53 68 6f 77 50 61 | 74 68 54 6f 28 50 6c 61 |n ShowPa|thTo(Pla|
|00001e90| 79 65 72 43 6f 6e 74 72 | 6f 6c 6c 65 72 20 50 2c |yerContr|oller P,|
|00001ea0| 20 69 6e 74 20 54 65 61 | 6d 4e 75 6d 29 3b 0d 0a | int Tea|mNum);..|
|00001eb0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 69 6e 74 20 41 |..functi|on int A|
|00001ec0| 64 6a 75 73 74 44 65 73 | 74 72 6f 79 4f 62 6a 65 |djustDes|troyObje|
|00001ed0| 63 74 69 76 65 44 61 6d | 61 67 65 28 20 69 6e 74 |ctiveDam|age( int|
|00001ee0| 20 44 61 6d 61 67 65 2c | 20 43 6f 6e 74 72 6f 6c | Damage,| Control|
|00001ef0| 6c 65 72 20 49 6e 73 74 | 69 67 61 74 65 64 42 79 |ler Inst|igatedBy|
|00001f00| 2c 20 47 61 6d 65 4f 62 | 6a 65 63 74 69 76 65 20 |, GameOb|jective |
|00001f10| 47 4f 20 29 0d 0a 7b 0d | 0a 09 72 65 74 75 72 6e |GO )..{.|..return|
|00001f20| 20 44 61 6d 61 67 65 3b | 0d 0a 7d 0d 0a 0d 0a 66 | Damage;|..}....f|
|00001f30| 75 6e 63 74 69 6f 6e 20 | 62 6f 6f 6c 20 43 61 6e |unction |bool Can|
|00001f40| 44 69 73 61 62 6c 65 4f | 62 6a 65 63 74 69 76 65 |DisableO|bjective|
|00001f50| 28 20 47 61 6d 65 4f 62 | 6a 65 63 74 69 76 65 20 |( GameOb|jective |
|00001f60| 47 4f 20 29 0d 0a 7b 0d | 0a 09 72 65 74 75 72 6e |GO )..{.|..return|
|00001f70| 20 74 72 75 65 3b 0d 0a | 7d 0d 0a 0d 0a 2f 2a 20 | true;..|}..../* |
|00001f80| 6f 6e 6c 79 20 61 6c 6c | 6f 77 20 70 69 63 6b 75 |only all|ow picku|
|00001f90| 70 73 20 69 66 20 74 68 | 65 79 20 61 72 65 20 69 |ps if th|ey are i|
|00001fa0| 6e 20 74 68 65 20 70 61 | 77 6e 73 20 6c 6f 61 64 |n the pa|wns load|
|00001fb0| 6f 75 74 0d 0a 2a 2f 0d | 0a 66 75 6e 63 74 69 6f |out..*/.|.functio|
|00001fc0| 6e 20 62 6f 6f 6c 20 50 | 69 63 6b 75 70 51 75 65 |n bool P|ickupQue|
|00001fd0| 72 79 28 50 61 77 6e 20 | 4f 74 68 65 72 2c 20 50 |ry(Pawn |Other, P|
|00001fe0| 69 63 6b 75 70 20 69 74 | 65 6d 29 0d 0a 7b 0d 0a |ickup it|em)..{..|
|00001ff0| 09 6c 6f 63 61 6c 20 62 | 79 74 65 20 62 41 6c 6c |.local b|yte bAll|
|00002000| 6f 77 50 69 63 6b 75 70 | 3b 0d 0a 0d 0a 09 69 66 |owPickup|;.....if|
|00002010| 20 28 20 28 47 61 6d 65 | 52 75 6c 65 73 4d 6f 64 | ( (Game|RulesMod|
|00002020| 69 66 69 65 72 73 20 21 | 3d 20 4e 6f 6e 65 29 20 |ifiers !|= None) |
|00002030| 26 26 20 47 61 6d 65 52 | 75 6c 65 73 4d 6f 64 69 |&& GameR|ulesModi|
|00002040| 66 69 65 72 73 2e 4f 76 | 65 72 72 69 64 65 50 69 |fiers.Ov|erridePi|
|00002050| 63 6b 75 70 51 75 65 72 | 79 28 4f 74 68 65 72 2c |ckupQuer|y(Other,|
|00002060| 20 69 74 65 6d 2c 20 62 | 41 6c 6c 6f 77 50 69 63 | item, b|AllowPic|
|00002070| 6b 75 70 29 20 29 0d 0a | 09 09 72 65 74 75 72 6e |kup) )..|..return|
|00002080| 20 28 62 41 6c 6c 6f 77 | 50 69 63 6b 75 70 20 3d | (bAllow|Pickup =|
|00002090| 3d 20 31 29 3b 0d 0a 0d | 0a 09 69 66 20 28 20 28 |= 1);...|..if ( (|
|000020a0| 55 6e 72 65 61 6c 50 61 | 77 6e 28 4f 74 68 65 72 |UnrealPa|wn(Other|
|000020b0| 29 20 21 3d 20 4e 6f 6e | 65 29 20 26 26 20 21 55 |) != Non|e) && !U|
|000020c0| 6e 72 65 61 6c 50 61 77 | 6e 28 4f 74 68 65 72 29 |nrealPaw|n(Other)|
|000020d0| 2e 49 73 49 6e 4c 6f 61 | 64 6f 75 74 28 69 74 65 |.IsInLoa|dout(ite|
|000020e0| 6d 2e 69 6e 76 65 6e 74 | 6f 72 79 74 79 70 65 29 |m.invent|orytype)|
|000020f0| 20 29 0d 0a 09 09 72 65 | 74 75 72 6e 20 66 61 6c | )....re|turn fal|
|00002100| 73 65 3b 0d 0a 0d 0a 09 | 69 66 20 28 20 4f 74 68 |se;.....|if ( Oth|
|00002110| 65 72 2e 49 6e 76 65 6e | 74 6f 72 79 20 3d 3d 20 |er.Inven|tory == |
|00002120| 4e 6f 6e 65 20 29 0d 0a | 09 09 72 65 74 75 72 6e |None )..|..return|
|00002130| 20 74 72 75 65 3b 0d 0a | 09 65 6c 73 65 0d 0a 09 | true;..|.else...|
|00002140| 09 72 65 74 75 72 6e 20 | 21 4f 74 68 65 72 2e 49 |.return |!Other.I|
|00002150| 6e 76 65 6e 74 6f 72 79 | 2e 48 61 6e 64 6c 65 50 |nventory|.HandleP|
|00002160| 69 63 6b 75 70 51 75 65 | 72 79 28 49 74 65 6d 29 |ickupQue|ry(Item)|
|00002170| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00002180| 20 49 6e 69 74 50 6c 61 | 63 65 64 42 6f 74 28 43 | InitPla|cedBot(C|
|00002190| 6f 6e 74 72 6f 6c 6c 65 | 72 20 43 2c 20 52 6f 73 |ontrolle|r C, Ros|
|000021a0| 74 65 72 45 6e 74 72 79 | 20 52 29 3b 0d 0a 0d 0a |terEntry| R);....|
|000021b0| 66 75 6e 63 74 69 6f 6e | 20 47 65 74 53 65 72 76 |function| GetServ|
|000021c0| 65 72 44 65 74 61 69 6c | 73 28 6f 75 74 20 53 65 |erDetail|s(out Se|
|000021d0| 72 76 65 72 52 65 73 70 | 6f 6e 73 65 4c 69 6e 65 |rverResp|onseLine|
|000021e0| 20 53 65 72 76 65 72 53 | 74 61 74 65 29 0d 0a 7b | ServerS|tate)..{|
|000021f0| 0d 0a 09 53 75 70 65 72 | 2e 47 65 74 53 65 72 76 |...Super|.GetServ|
|00002200| 65 72 44 65 74 61 69 6c | 73 28 53 65 72 76 65 72 |erDetail|s(Server|
|00002210| 53 74 61 74 65 29 3b 0d | 0a 0d 0a 09 41 64 64 53 |State);.|....AddS|
|00002220| 65 72 76 65 72 44 65 74 | 61 69 6c 28 20 53 65 72 |erverDet|ail( Ser|
|00002230| 76 65 72 53 74 61 74 65 | 2c 20 22 4d 69 6e 50 6c |verState|, "MinPl|
|00002240| 61 79 65 72 73 22 2c 20 | 4d 69 6e 50 6c 61 79 65 |ayers", |MinPlaye|
|00002250| 72 73 20 29 3b 0d 0a 09 | 41 64 64 53 65 72 76 65 |rs );...|AddServe|
|00002260| 72 44 65 74 61 69 6c 28 | 20 53 65 72 76 65 72 53 |rDetail(| ServerS|
|00002270| 74 61 74 65 2c 20 22 45 | 6e 64 54 69 6d 65 44 65 |tate, "E|ndTimeDe|
|00002280| 6c 61 79 22 2c 20 45 6e | 64 54 69 6d 65 44 65 6c |lay", En|dTimeDel|
|00002290| 61 79 20 29 3b 0d 0a 7d | 0d 0a 0d 0a 2f 2f 20 3c |ay );..}|....// <|
|000022a0| 68 61 63 6b 3e 0d 0a 73 | 74 61 74 69 63 20 66 75 |hack>..s|tatic fu|
|000022b0| 6e 63 74 69 6f 6e 20 41 | 64 6a 75 73 74 42 6f 74 |nction A|djustBot|
|000022c0| 49 6e 74 65 72 66 61 63 | 65 28 62 6f 6f 6c 20 62 |Interfac|e(bool b|
|000022d0| 53 69 6e 67 6c 65 50 6c | 61 79 65 72 29 0d 0a 7b |SinglePl|ayer)..{|
|000022e0| 0d 0a 09 69 66 20 28 20 | 62 53 69 6e 67 6c 65 50 |...if ( |bSingleP|
|000022f0| 6c 61 79 65 72 20 29 0d | 0a 09 7b 0d 0a 09 09 64 |layer ).|..{....d|
|00002300| 65 66 61 75 6c 74 2e 4d | 50 47 49 50 72 6f 70 73 |efault.M|PGIProps|
|00002310| 44 69 73 70 6c 61 79 54 | 65 78 74 5b 30 5d 20 3d |DisplayT|ext[0] =|
|00002320| 20 64 65 66 61 75 6c 74 | 2e 53 50 42 6f 74 54 65 | default|.SPBotTe|
|00002330| 78 74 3b 0d 0a 09 09 64 | 65 66 61 75 6c 74 2e 4d |xt;....d|efault.M|
|00002340| 50 47 49 50 72 6f 70 44 | 65 73 63 54 65 78 74 5b |PGIPropD|escText[|
|00002350| 30 5d 20 3d 20 64 65 66 | 61 75 6c 74 2e 53 50 42 |0] = def|ault.SPB|
|00002360| 6f 74 44 65 73 63 3b 0d | 0a 09 09 64 65 66 61 75 |otDesc;.|...defau|
|00002370| 6c 74 2e 42 6f 74 4d 6f | 64 65 54 65 78 74 20 3d |lt.BotMo|deText =|
|00002380| 20 47 65 6e 65 72 61 74 | 65 42 6f 74 4f 70 74 69 | Generat|eBotOpti|
|00002390| 6f 6e 73 28 20 54 72 75 | 65 20 29 3b 0d 0a 09 7d |ons( Tru|e );...}|
|000023a0| 0d 0a 09 65 6c 73 65 0d | 0a 09 7b 0d 0a 09 09 64 |...else.|..{....d|
|000023b0| 65 66 61 75 6c 74 2e 4d | 50 47 49 50 72 6f 70 73 |efault.M|PGIProps|
|000023c0| 44 69 73 70 6c 61 79 54 | 65 78 74 5b 30 5d 20 3d |DisplayT|ext[0] =|
|000023d0| 20 64 65 66 61 75 6c 74 | 2e 4d 50 42 6f 74 54 65 | default|.MPBotTe|
|000023e0| 78 74 3b 0d 0a 09 09 64 | 65 66 61 75 6c 74 2e 4d |xt;....d|efault.M|
|000023f0| 50 47 49 50 72 6f 70 44 | 65 73 63 54 65 78 74 5b |PGIPropD|escText[|
|00002400| 30 5d 20 3d 20 64 65 66 | 61 75 6c 74 2e 4d 50 42 |0] = def|ault.MPB|
|00002410| 6f 74 44 65 73 63 3b 0d | 0a 09 09 64 65 66 61 75 |otDesc;.|...defau|
|00002420| 6c 74 2e 42 6f 74 4d 6f | 64 65 54 65 78 74 20 3d |lt.BotMo|deText =|
|00002430| 20 47 65 6e 65 72 61 74 | 65 42 6f 74 4f 70 74 69 | Generat|eBotOpti|
|00002440| 6f 6e 73 28 20 46 61 6c | 73 65 20 29 3b 0d 0a 09 |ons( Fal|se );...|
|00002450| 7d 0d 0a 7d 0d 0a 0d 0a | 73 74 61 74 69 63 20 66 |}..}....|static f|
|00002460| 75 6e 63 74 69 6f 6e 20 | 73 74 72 69 6e 67 20 47 |unction |string G|
|00002470| 65 6e 65 72 61 74 65 42 | 6f 74 4f 70 74 69 6f 6e |enerateB|otOption|
|00002480| 73 28 62 6f 6f 6c 20 62 | 53 69 6e 67 6c 65 50 6c |s(bool b|SinglePl|
|00002490| 61 79 65 72 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |ayer)..{|...local|
|000024a0| 20 73 74 72 69 6e 67 20 | 6f 70 74 69 6f 6e 3b 0d | string |option;.|
|000024b0| 0a 09 6c 6f 63 61 6c 20 | 62 79 74 65 20 76 61 6c |..local |byte val|
|000024c0| 75 65 3b 0d 0a 0d 0a 09 | 69 66 20 28 20 62 53 69 |ue;.....|if ( bSi|
|000024d0| 6e 67 6c 65 50 6c 61 79 | 65 72 20 29 0d 0a 09 7b |nglePlay|er )...{|
|000024e0| 0d 0a 09 09 2f 2f 20 47 | 65 74 20 74 68 65 20 76 |....// G|et the v|
|000024f0| 61 6c 75 65 20 6f 66 20 | 4d 50 20 62 6f 74 6d 6f |alue of |MP botmo|
|00002500| 64 65 0d 0a 09 09 76 61 | 6c 75 65 20 3d 20 64 65 |de....va|lue = de|
|00002510| 66 61 75 6c 74 2e 42 6f | 74 4d 6f 64 65 20 26 20 |fault.Bo|tMode & |
|00002520| 31 32 3b 0d 0a 0d 0a 09 | 09 2f 2f 20 47 69 76 65 |12;.....|.// Give|
|00002530| 20 74 68 72 65 65 20 6f | 70 74 69 6f 6e 73 20 2d | three o|ptions -|
|00002540| 20 30 2c 20 31 2c 20 32 | 0d 0a 09 09 6f 70 74 69 | 0, 1, 2|....opti|
|00002550| 6f 6e 20 3d 20 20 20 20 | 20 20 20 20 76 61 6c 75 |on = | valu|
|00002560| 65 20 20 20 20 20 24 20 | 22 3b 22 20 24 20 64 65 |e $ |";" $ de|
|00002570| 66 61 75 6c 74 2e 42 6f | 74 4f 70 74 69 6f 6e 73 |fault.Bo|tOptions|
|00002580| 5b 30 5d 3b 0d 0a 09 09 | 6f 70 74 69 6f 6e 20 24 |[0];....|option $|
|00002590| 3d 20 22 3b 22 20 24 20 | 76 61 6c 75 65 20 7c 20 |= ";" $ |value | |
|000025a0| 31 20 24 20 22 3b 22 20 | 24 20 64 65 66 61 75 6c |1 $ ";" |$ defaul|
|000025b0| 74 2e 42 6f 74 4f 70 74 | 69 6f 6e 73 5b 31 5d 3b |t.BotOpt|ions[1];|
|000025c0| 0d 0a 09 09 6f 70 74 69 | 6f 6e 20 24 3d 20 22 3b |....opti|on $= ";|
|000025d0| 22 20 24 20 76 61 6c 75 | 65 20 7c 20 32 20 24 20 |" $ valu|e | 2 $ |
|000025e0| 22 3b 22 20 24 20 64 65 | 66 61 75 6c 74 2e 42 6f |";" $ de|fault.Bo|
|000025f0| 74 4f 70 74 69 6f 6e 73 | 5b 32 5d 3b 0d 0a 09 7d |tOptions|[2];...}|
|00002600| 0d 0a 0d 0a 09 65 6c 73 | 65 0d 0a 09 7b 0d 0a 09 |.....els|e...{...|
|00002610| 09 2f 2f 20 67 65 74 20 | 74 68 65 20 76 61 6c 75 |.// get |the valu|
|00002620| 65 20 6f 66 20 53 50 20 | 62 6f 74 6d 6f 64 65 0d |e of SP |botmode.|
|00002630| 0a 09 09 76 61 6c 75 65 | 20 3d 20 64 65 66 61 75 |...value| = defau|
|00002640| 6c 74 2e 42 6f 74 4d 6f | 64 65 20 26 20 33 3b 0d |lt.BotMo|de & 3;.|
|00002650| 0a 0d 0a 09 09 2f 2f 20 | 47 69 76 65 20 74 68 72 |.....// |Give thr|
|00002660| 65 65 20 6f 70 74 69 6f | 6e 73 20 2d 20 34 2c 20 |ee optio|ns - 4, |
|00002670| 38 2c 20 31 36 0d 0a 09 | 09 6f 70 74 69 6f 6e 20 |8, 16...|.option |
|00002680| 3d 20 20 20 20 20 20 20 | 20 76 61 6c 75 65 20 7c |= | value ||
|00002690| 20 34 20 24 20 22 3b 22 | 20 24 20 64 65 66 61 75 | 4 $ ";"| $ defau|
|000026a0| 6c 74 2e 42 6f 74 4f 70 | 74 69 6f 6e 73 5b 30 5d |lt.BotOp|tions[0]|
|000026b0| 3b 0d 0a 09 09 6f 70 74 | 69 6f 6e 20 24 3d 20 22 |;....opt|ion $= "|
|000026c0| 3b 22 20 24 20 76 61 6c | 75 65 20 7c 20 38 20 24 |;" $ val|ue | 8 $|
|000026d0| 20 22 3b 22 20 24 20 64 | 65 66 61 75 6c 74 2e 42 | ";" $ d|efault.B|
|000026e0| 6f 74 4f 70 74 69 6f 6e | 73 5b 32 5d 3b 0d 0a 09 |otOption|s[2];...|
|000026f0| 09 69 66 20 28 20 44 65 | 66 61 75 6c 74 2e 62 54 |.if ( De|fault.bT|
|00002700| 65 61 6d 47 61 6d 65 20 | 29 0d 0a 09 09 09 6f 70 |eamGame |).....op|
|00002710| 74 69 6f 6e 20 24 3d 20 | 22 3b 22 20 24 20 76 61 |tion $= |";" $ va|
|00002720| 6c 75 65 20 7c 20 31 36 | 20 24 20 22 3b 22 20 24 |lue | 16| $ ";" $|
|00002730| 20 64 65 66 61 75 6c 74 | 2e 42 6f 74 4f 70 74 69 | default|.BotOpti|
|00002740| 6f 6e 73 5b 33 5d 3b 0d | 0a 09 7d 0d 0a 0d 0a 09 |ons[3];.|..}.....|
|00002750| 72 65 74 75 72 6e 20 6f | 70 74 69 6f 6e 3b 0d 0a |return o|ption;..|
|00002760| 7d 0d 0a 2f 2f 20 3c 2f | 68 61 63 6b 3e 0d 0a 0d |}..// </|hack>...|
|00002770| 0a 73 74 61 74 69 63 20 | 66 75 6e 63 74 69 6f 6e |.static |function|
|00002780| 20 46 69 6c 6c 50 6c 61 | 79 49 6e 66 6f 28 50 6c | FillPla|yInfo(Pl|
|00002790| 61 79 49 6e 66 6f 20 50 | 6c 61 79 49 6e 66 6f 29 |ayInfo P|layInfo)|
|000027a0| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 69 6e 74 20 |..{...lo|cal int |
|000027b0| 69 3b 0d 0a 0d 0a 09 53 | 75 70 65 72 2e 46 69 6c |i;.....S|uper.Fil|
|000027c0| 6c 50 6c 61 79 49 6e 66 | 6f 28 50 6c 61 79 49 6e |lPlayInf|o(PlayIn|
|000027d0| 66 6f 29 3b 20 20 2f 2f | 20 41 6c 77 61 79 73 20 |fo); //| Always |
|000027e0| 62 65 67 69 6e 20 77 69 | 74 68 20 63 61 6c 6c 69 |begin wi|th calli|
|000027f0| 6e 67 20 70 61 72 65 6e | 74 0d 0a 0d 0a 09 50 6c |ng paren|t.....Pl|
|00002800| 61 79 49 6e 66 6f 2e 41 | 64 64 53 65 74 74 69 6e |ayInfo.A|ddSettin|
|00002810| 67 28 64 65 66 61 75 6c | 74 2e 42 6f 74 73 47 72 |g(defaul|t.BotsGr|
|00002820| 6f 75 70 2c 20 20 22 4d | 69 6e 50 6c 61 79 65 72 |oup, "M|inPlayer|
|00002830| 73 22 2c 20 20 20 20 20 | 20 20 20 20 64 65 66 61 |s", | defa|
|00002840| 75 6c 74 2e 4d 50 47 49 | 50 72 6f 70 73 44 69 73 |ult.MPGI|PropsDis|
|00002850| 70 6c 61 79 54 65 78 74 | 5b 69 2b 2b 5d 2c 20 30 |playText|[i++], 0|
|00002860| 2c 20 20 20 30 2c 20 20 | 20 22 54 65 78 74 22 2c |, 0, | "Text",|
|00002870| 20 20 20 20 20 20 20 20 | 20 20 20 20 22 33 3b 30 | | "3;0|
|00002880| 3a 33 32 22 29 3b 0d 0a | 09 50 6c 61 79 49 6e 66 |:32");..|.PlayInf|
|00002890| 6f 2e 41 64 64 53 65 74 | 74 69 6e 67 28 64 65 66 |o.AddSet|ting(def|
|000028a0| 61 75 6c 74 2e 47 61 6d | 65 47 72 6f 75 70 2c 20 |ault.Gam|eGroup, |
|000028b0| 20 22 45 6e 64 54 69 6d | 65 44 65 6c 61 79 22 2c | "EndTim|eDelay",|
|000028c0| 20 20 20 20 20 20 20 64 | 65 66 61 75 6c 74 2e 4d | d|efault.M|
|000028d0| 50 47 49 50 72 6f 70 73 | 44 69 73 70 6c 61 79 54 |PGIProps|DisplayT|
|000028e0| 65 78 74 5b 69 2b 2b 5d | 2c 20 31 2c 20 20 20 31 |ext[i++]|, 1, 1|
|000028f0| 2c 20 20 20 22 54 65 78 | 74 22 2c 20 20 20 20 20 |, "Tex|t", |
|00002900| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2c | | ,|
|00002910| 20 20 20 20 20 2c 20 20 | 20 20 20 2c 20 54 72 75 | , | , Tru|
|00002920| 65 29 3b 0d 0a 09 50 6c | 61 79 49 6e 66 6f 2e 41 |e);...Pl|ayInfo.A|
|00002930| 64 64 53 65 74 74 69 6e | 67 28 64 65 66 61 75 6c |ddSettin|g(defaul|
|00002940| 74 2e 42 6f 74 73 47 72 | 6f 75 70 2c 20 20 22 42 |t.BotsGr|oup, "B|
|00002950| 6f 74 4d 6f 64 65 22 2c | 09 09 09 20 20 20 64 65 |otMode",|... de|
|00002960| 66 61 75 6c 74 2e 4d 50 | 47 49 50 72 6f 70 73 44 |fault.MP|GIPropsD|
|00002970| 69 73 70 6c 61 79 54 65 | 78 74 5b 69 2b 2b 5d 2c |isplayTe|xt[i++],|
|00002980| 20 33 30 2c 20 20 31 2c | 20 22 53 65 6c 65 63 74 | 30, 1,| "Select|
|00002990| 22 2c 20 64 65 66 61 75 | 6c 74 2e 42 6f 74 4d 6f |", defau|lt.BotMo|
|000029a0| 64 65 54 65 78 74 29 3b | 0d 0a 09 50 6c 61 79 49 |deText);|...PlayI|
|000029b0| 6e 66 6f 2e 41 64 64 53 | 65 74 74 69 6e 67 28 64 |nfo.AddS|etting(d|
|000029c0| 65 66 61 75 6c 74 2e 52 | 75 6c 65 73 47 72 6f 75 |efault.R|ulesGrou|
|000029d0| 70 2c 20 22 62 41 6c 6c | 6f 77 50 72 69 76 61 74 |p, "bAll|owPrivat|
|000029e0| 65 43 68 61 74 22 2c 20 | 20 64 65 66 61 75 6c 74 |eChat", | default|
|000029f0| 2e 4d 50 47 49 50 72 6f | 70 73 44 69 73 70 6c 61 |.MPGIPro|psDispla|
|00002a00| 79 54 65 78 74 5b 69 2b | 2b 5d 2c 20 32 35 34 2c |yText[i+|+], 254,|
|00002a10| 20 31 2c 20 20 22 43 68 | 65 63 6b 22 2c 20 20 20 | 1, "Ch|eck", |
|00002a20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002a30| 20 2c 20 22 58 76 22 2c | 20 54 72 75 65 2c 20 54 | , "Xv",| True, T|
|00002a40| 72 75 65 29 3b 0d 0a 7d | 0d 0a 0d 0a 73 74 61 74 |rue);..}|....stat|
|00002a50| 69 63 20 65 76 65 6e 74 | 20 73 74 72 69 6e 67 20 |ic event| string |
|00002a60| 47 65 74 44 65 73 63 72 | 69 70 74 69 6f 6e 54 65 |GetDescr|iptionTe|
|00002a70| 78 74 28 73 74 72 69 6e | 67 20 50 72 6f 70 4e 61 |xt(strin|g PropNa|
|00002a80| 6d 65 29 0d 0a 7b 0d 0a | 09 73 77 69 74 63 68 20 |me)..{..|.switch |
|00002a90| 28 50 72 6f 70 4e 61 6d | 65 29 0d 0a 09 7b 0d 0a |(PropNam|e)...{..|
|00002aa0| 09 09 63 61 73 65 20 22 | 4d 69 6e 50 6c 61 79 65 |..case "|MinPlaye|
|00002ab0| 72 73 22 3a 09 09 09 72 | 65 74 75 72 6e 20 64 65 |rs":...r|eturn de|
|00002ac0| 66 61 75 6c 74 2e 4d 50 | 47 49 50 72 6f 70 44 65 |fault.MP|GIPropDe|
|00002ad0| 73 63 54 65 78 74 5b 30 | 5d 3b 0d 0a 09 09 63 61 |scText[0|];....ca|
|00002ae0| 73 65 20 22 45 6e 64 54 | 69 6d 65 44 65 6c 61 79 |se "EndT|imeDelay|
|00002af0| 22 3a 09 09 72 65 74 75 | 72 6e 20 64 65 66 61 75 |":..retu|rn defau|
|00002b00| 6c 74 2e 4d 50 47 49 50 | 72 6f 70 44 65 73 63 54 |lt.MPGIP|ropDescT|
|00002b10| 65 78 74 5b 31 5d 3b 0d | 0a 09 09 63 61 73 65 20 |ext[1];.|...case |
|00002b20| 22 42 6f 74 4d 6f 64 65 | 22 3a 09 09 09 09 72 65 |"BotMode|":....re|
|00002b30| 74 75 72 6e 20 64 65 66 | 61 75 6c 74 2e 4d 50 47 |turn def|ault.MPG|
|00002b40| 49 50 72 6f 70 44 65 73 | 63 54 65 78 74 5b 32 5d |IPropDes|cText[2]|
|00002b50| 3b 0d 0a 09 09 63 61 73 | 65 20 22 62 41 6c 6c 6f |;....cas|e "bAllo|
|00002b60| 77 50 72 69 76 61 74 65 | 43 68 61 74 22 3a 20 09 |wPrivate|Chat": .|
|00002b70| 72 65 74 75 72 6e 20 64 | 65 66 61 75 6c 74 2e 4d |return d|efault.M|
|00002b80| 50 47 49 50 72 6f 70 44 | 65 73 63 54 65 78 74 5b |PGIPropD|escText[|
|00002b90| 33 5d 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 72 65 74 75 |3];...}.|....retu|
|00002ba0| 72 6e 20 53 75 70 65 72 | 2e 47 65 74 44 65 73 63 |rn Super|.GetDesc|
|00002bb0| 72 69 70 74 69 6f 6e 54 | 65 78 74 28 50 72 6f 70 |riptionT|ext(Prop|
|00002bc0| 4e 61 6d 65 29 3b 0d 0a | 7d 0d 0a 0d 0a 00 |Name);..|}..... |
+--------+-------------------------+-------------------------+--------+--------+