1.csçåå²
2.å¦ä½ç¨pdbè¿è¡pythonè°è¯
csçåå²
Counter-Strike尽管ä»ç¶ä½¿ç¨äºå¹´åç游æå¼æååæ§çå¾å½¢ç³»ç»ï¼ä½ä»æ¯è³ä»ä¸ºæ¢ææ®åçå¨çº¿æ¸¸æä¹ä¸ãå¨è¿ç¯æç« éï¼æ们å°å¸¦æ¨ç©¿è¿CSè¿æ¬¾æ¸¸æçè¿å»ãç°å¨åæªæ¥-æ¢ç¥æ¸¸æçæé¿ï¼äºè§£ä»ç缺ç¹ï¼ä»¥åä»æ¯å¦ä½æ®åçãæ们å°çç¼äºè´¯ç©¿äºè¿æ¬¾æ¸¸ææé¿è¿ç¨ä¹ä¸çæ¯ä¸æ¬¡åé©ï¼å°½ç®¡æ好æåï¼å¹¶é¡ºçè¿æ¬¾æ¸¸ææ¯å¦ä½å¨å¤¹ç¼ä¸æé¿ç足迹æ¥å顾ä»çåç¨ã
æ们æCounter-Strikeçåå±åå为以ä¸å 个æ¶ä»£:
- èµ·æº
- æµè¯æ
- æ£å¼ç
- Steam
- å±æCSï¼S
èµ·æºï¼
Counter-Strikeï¼æç §åå§äººCLIFFEç说æ³âæ¯åºäºå¢é起主è¦ä½ç¨ç游æï¼ä¸éæ®æ¼ææååçè§è²ï¼å¦ä¸éæ®æ¼åæç²¾è±çè§è²ãæ¯ä¸è¾¹è½å¤ä½¿ç¨ä¸åçæªæ¯ãè£ å¤ï¼è¿äºæªæ¯åè£ å¤å ·æä¸åçä½ç¨ãå°å¾æä¸åçç®æ ï¼æ´æ人质ï¼ææï¼è§£é·ï¼ååªé亡ççâãè¿æ¬¾æ¸¸ææ¯å¨å¹´å¤å¤©è¯ççï¼åå§äººæ¯Jess Cliffe å Minh 'Gooseman' Le-ä»ä»¬ç°å¨ä»ç¶æ¯æ£å¨æé¿å£®å¤§ä¸çValveå¢éä¸çæåã
Jess Cliffe
å¨Counter-Strike两个åå§äººä¸æ´ä¸ºäººä»¬æç¥ï¼è¿åºå½äºä»å¨Steam åValveä¸ææ®æ¼çæ¯è¾æ´»è·çè§è²ãClifferå¨è¿æ¬¾æ¸¸æçå¶ä½ä¸ä¸»è¦æ 任以ä¸èè´£ï¼ ç»çï¼2Då¾å½¢ï¼æ°é»åè¨äººï¼æµè¯ï¼é³åææï¼æ¸¸æ设计çãç¶èèªä»STEAM åCondition Zeroçåå¸å,引领源码ä»å¨Valveå¢éä¸æèµ·çæ°é»åè¨äººçè§è²ï¼åå¾è¶æ¥è¶æ´»è·äºã
Minh 'Gooseman' Le
å±äºCounter-Strikeäºäººå±ä¸ç第äºäººï¼Goosemanåºåæ¯ç±äºå¨è¿æ¬¾æ¸¸æä¸æ 任模åçæ»ç®¡ï¼å¹¶å建äºææçæ¦å¨æ¨¡ååç©å®¶åå¦ãMinh Leä¹æ¯é¡¹ç®é¢å¯¼äººï¼ç¨åºåï¼ç°å¨æäºValve å¢éçèä¸ç©å®¶ãä»è¿å»ç项ç®å æ¬å¶ä½åºäºéç¨äºQuakeç³»åçMODï¼ä¾å¦ï¼Navy Seals å Quake Action 2.
ä»è¯è®ºå®¶çè§åº¦æ¥ç- Counter-Strike使ç¨çæ¯Half-Lifeçå¼æå»å建MOD以便ä¸å ¶ä»ç游æè¿è¡ç«äºãä»çç®æ æ¯å¸¦ç»å¤äºå¨çº¿æ¸¸æçç¯å¢ä¸çç©å®¶ï¼æ¨¡ä»¿ç°å®æ¦å¨çå°å»ç¶æï¼ä»¥å¨æçå¢éå½¢å¼è¿è¡å¯¹æ- Counter-Strikeæç模仿ç°å®ç精确çå°å¾ååç§åæ ·ç游æå ³å¡ã
æµè¯æï¼
Counter-Strikeæ¯å¨ç»è¿æåçæµè¯åï¼äºå¹´6ææ¥ææ¾å¸åºãä»ä¸ç³»åçæµè¯çå¼å§ï¼æç»å½¢æäºæ们ç°å¨æçå°ç游æãï¼æ们å¨å ¶åå±è¿ç¨ä¸ï¼ä»¥è®ºåæ¯ä¸çæ¬ä¸»è¦çæ¹åãæ¢ç©¶è¯¦ç»çæ ¸å¿èµæãç»åºæ¯ä¸ä¸ªçæ¬ç大è´è½®å»çæ¹å¼ï¼æ¥å顾æ´ä¸ªæµè¯ççåå²ã
Beta 1.0
è¿æ¯Counter-Strikeç第ä¸ä¸ªçæ¬ï¼äºå¹´6ææ¥åå¸ï¼å¨æ¸¸æä¸åªæé常å°çå 个å°å¾å¤é¶é¶å°åå¨(cs_siege, cs_mansion, cs_prison & cs_wpndepot)ãè¿ä¸ªæ¶æç游æå¨äººç©æ¨¡åãæ¦å¨å客æ·ç³»ç»ä¸é½åå¨é常ææ¾çBUGã
Counter-Strikeä» ææ´æ人质游æå ³ï¼çªåºè¯´æè¿ä¸ç¹é常éè¦-å 为以DE_å¼å¤´çå®æ¾C4çå°å¾å¹¶ä¸åå¨ãæ£æ¯ç±äºè¿äºï¼ç©å®¶ä» æå å°éçæ¦å¨å¯ä»¥ä½¿ç¨ãè¿å æ¬ï¼USP, Glock, Shotgun, M4A1, MP5 Navy, TMP, AWP å M Para
cs_wpndepot大约å¨ç¬¬ä¸ä¸ªCounter-strikeæµè¯çåå¸åçä¸ä¸ªææï¼ç¬¬äºä¸ªæµè¯çäºåææ¥åå¸äºãå级çå 容å æ¬BUGä¿®æ£ç第ä¸æ¥(å·²ç»ä½¿æ¸¸æé常精ç¼äº)ï¼å¨å ¶åå¸åçä¸ä¸ªææï¼ä»ç©å®¶åé¦æ¥çæ¶æ¯æ¥çï¼ä¸é¢çä¿®æ£æ¯é常æåçï¼
- å¢å äºæå¡å¨ç稳å®æ§-åå°äºç³»ç»å´©æºã
- ä¿®æ£äºå¼¹è¯åçç²çéæ°è®¾ç½®çé误
- å¢å äºç°å¨é常æµè¡ç"mp_friendlyfire"å½ä»¤
- ä¿®æ£äºå°å¾æ转溢åºçé误
- ä¿®æ£äºcs_siege cs_wpndepotå°å¾é¨å溢åºçé误
- å¢å äºæ°å°å¾ï¼cs_assault å cs_desert
ä¹å°±æ¯å¨åä¸ä¸ªçæ¬åå¸ä¹åçä¸ä¸ªæå·¦å³ï¼è¯¥çæ¬äºå¹´7ææ¥åå¸ï¼è¿ä¸ªæµè¯çæ¯èµ·åæ¥ä¸ç³»åçBUGä¿®æ£æ¥è®²ï¼æ´æ³¨æâä¼åå级âçå 容ãè¿ä¸ªçæ¬å级ä¸è±¡å ¶ä»çå级ï¼æ²¡æå¢å æ°å°å¾ãä½å¢å äºä»¥ä¸å 容ï¼
- å¨æ¯å±æå¼å§å¢å äº5ç§çæ¬åæ¶é´ï¼ä»¥æç»rushingææ¯ã
- å¨æå¡å¨ç®¡çååç©å®¶é½å¢å äºè¸¢äººé项ã
- å¢å äºKevlarå°å»ç¹ã
- å¼å ¥åå°è·³å°çåç¡®ççæºå¶ã
- ä¼åäºéé±ç³»ç»
- å¢å äºéªå å¼¹çæåèå´
Beta 2.0
尽管å½å为Beta 2ï¼è¿å®é ä¸ä» æ¯1.2ç第äºç-该次å级çå 容ï¼æ¯èµ·å ¶ä»çé»è¿çæ¬ä¹é´å级çå 容é½è¦å¤ã该çæ¬äºåå¹´ç8ææ¥åå¸ï¼ä¹å°±æ¯å¨ç¬¬ä¸çä¹åç两个æå·¦å³ãè¿ä¸ªæµè¯çç±äºæ°æ¦å¨å¤æ ·åçå®æ½è广åäºè®®ï¼å æ¬å¢å äºç°æ·±å欢è¿çAK- å Deagleãæ们ä¹çå°äºUSPåM4A1çæ¶é³å¨çå¼å ¥ï¼æ£å¦æ¨¡åçä¼åä¸æ ·å大家åç±ã
ä¸é¢æ¯è¿ä¸ªé常éè¦çæµè¯çå级è¿ç¨ä¸æ¹åä¹å¤çå表ï¼
- æ£å¦ä¸é¢æåçæ ·ï¼å¢å äº3ç§æ¦å¨ï¼Sig Commando, AK- åæ²æ¼ ä¹é¹°
- 为USP.åM4A1å¢å äºæ¶é³å¨ã
- ä¸ä¸ªé常æç¨çå级ï¼å¢å äºæ¯å±å®æ¶å¨åæ¯å表
- å¤è§å¨çå¼å ¥
- ä¼åäºäººç©æ¨¡å
- å¢å ç»å®é®åè½
Beta 2.1
è¿åªå级çä» ä» åªå¨Beta 2åäºå¤©å°±åå¸äº:åªåäºå¾å°çBUGä¿®æ£ï¼
- å¢å äºcs_assaultçæ°çæ¬(ä¸hlserver.exeå ¼å®¹)
- 为hlserver.exeå¢å äºç§å¦å®¶äººç©æ¨¡å
- ä¿®æ£äºçµè§ç»é¢ä¸ç¢ççé误(cs_alleyå°ä¸åæçµè§ç»é¢)
- ä¿®æ£äºææ¦å¨çé误
- ä¿®æ¹äºAK-çä»·æ ¼
å¨2.1 BETAçåå¸ä¸ä¸ªæåï¼BETA 3æ¥å°äºãéç大éçæ¹è¿åä¿®æ£é误ï¼CSæ£é£éåå±ãå¨è¿ä¸ªçæ¬ä¸ï¼æéè¦ä¹æ¯ææç¨çæ¹è¿å°±æ¯æ 线çµç³»ç»çå¢å ãç°å¨ç©å®¶å¯ä»¥è½å¤ç¨ä¸ç§æ¯è¾è´´è¿ç°å®çæ¹æ³è¿è¡é讯äº-讲述çé½æ¯ä¸åææå ³çæ¯è¯ãä¼´éèæ¥çæ¯åå ·çå¢å ï¼è¿å¨ä»¥åç游æä¸å¹¶ä¸åå¨ã
è¿ä¸ªçæ¬ä¸æ¯è¾æ趣çä¸ç¹æ¯å¢å äºæé·å²å»åãå¨è¿ä¸ªæ©æçæµè¯çä¸ï¼æ榴弹ä¸ä» ä½¿ä½ ç©ç®ï¼ä¹å¯ä»¥ç±äºæé·ç¢çç»ä½ ä¸å®ç伤害ãä¸é¢å°±æ¯å级å 容å表ï¼
- å¢å äºæ¤ç²å头ççç»åä¿æ¤
- æ大å°æ¹è¿äºäººè´¨èµ°è·¯ç人工æºè½ï¼AIï¼
- å¨éªå å¼¹ä¸å¢å äºåå°ç¢ç产çç ´ååçä½ç¨
- å¢å äºæ°æ¦å¨ï¼Pèªå¨æ¥æª
- å¢å äºæ 线çµç³»ç»
- ä¿®æ¹äºè®°åæ¿
- ä¿®æ¹äºé¸æª
Beta 4.0
å¨åæ¶äº3.1betaåå ¶ä»çâ临æ¶å级âçä¸é´ç¯èåï¼æ令人好å¥çBETA 4çäºå¹´æ5æ¥åå¸ãè¿æ¯ä¸ä¸ªé¡ºå©èåéè¦çå级ï¼ä¹ä¿çäºå¤§éçæ¹åï¼æ¹è¿ï¼ä¿®æ£åå级ãå ¶ä¸ä¸é¡¹æ¦å¨çå¢å ï¼è¿é¡¹æ¦å¨ææ³æ¯ç°ä»£ç©å®¶ä¸è½æ²¡æç常ç¨è£ å¤ï¼é«çæé·ï¼HEï¼ãä½è¿ä¹ä¸æ¯æéè¦çæ¹åä¹å¤ã
å¨è¿æ¬¡æµè¯çä¸å¯¹äºCSæéè¦çæ¹åå°±æ¯å¢å äºæé·ä»»å¡æè 称ä¹ä¸º"de"ç³»ç»ãç°å¨å¨æ¸¸æå ³å¡ä¸ä¸é¡¹æ°çä»»å¡äº§çäºï¼æ²¡æäºäººè´¨ï¼ä»£æ¿çæ¯TæCTå¢é对äºC4çå®æ¾ææ解ãè¿æç»å¨Counter-Strikeå®å为æååç±çç«èµæ¨¡å¼ï¼ææ³è¿ä¹æ¯æ¸¸æ为ä»ä¹è¿ä¹æ®åçåå å§ã
ä¸é¢æ¯å®æ´çæ¹åå表ï¼
- å¢å äºSig PææªåSteyr Scount æ¥å¤æªã
- å¢å äºæ°çæ解C4çç¸ç©ç游æä»»å¡
- å¢å äºé«çï¼HEï¼æé·
- ä¿®æ¹äºäººè´¨è§£æä»»å¡
- ä¿®æ¹äºæ票踢人系ç»
- æ¹åäºæ人质çéé±å¥å±å¼ã
- å¢å äº cs_station, de_nuke, de_dust, de_prodigyå个å°å¾
- å ¨èªå¨flashbang.wavåæ¾ã
- å¨cs_ship, cs_siege, cs_tire å°å¾ä¸å¢å äºæ°ç人质ç¹
de_nuke
de_dust
de_prodigy
de_station
Beta 5.0
ç±äº4.1çåªç®åå°å¯¹æå¡å¨ç«¯ä½äºå¾å°çä¿®æ£ï¼æ们çç¥äºå¯¹ä»çä»ç»å¹¶ç§»å°ä¸ä¸ä¸ªä½äºæ¯è¾å¤§ä¿®æ¹çé¨åï¼beta 5ï¼è¿ä¸ªçæ¬å¨å¹´å£è¯èåå 天åå¸ï¼è¿æ¯ä¸ä¸ªä¸åé¢ååå·®ä¸å¤ççæ¬ãBeta 5å å«äºå¤§éç对åæ¥ç³»ç»çç²¾ç®-è¿äºåå¨æ¹è¿äºæ°åºç解C4ä»»å¡,并使ä¹æ´ç¬¦åç°å®ï¼èä¸å¢å äºå¯ç©æ§ã
æ°çæ¦å¨ãæ°å°å¾å¢å äºï¼åæ ·æ°ç人ç©æ¨¡åä¹å¢å äºï¼æ¹è¿äºåHUDçè§è§ææåä¸äºå ¶ä»ç游ææ¹åãææ³è¯´çæ¯ï¼å½è¿äºå级æ¯ä¸ä¸ªå°ååçéåæ¶ï¼ç±å°å大ï¼ä»è对äºæ¸¸ææ´ä½æ¯ä¸ä¸ªå·¨å¤§çååã
- å¢å äºBenelli XM å ¨èªå¨æ¥æª
- æ°ç人质模åå两个æ°ç人ç©ç®è¤è´´å¾
- å¢å äºä¸ä¸ªæ°çCT人ç©æ¨¡åï¼SASï¼
- å¢å äºCS_BACKåde_train
- æ°çHUDå¾æ
- å¨å°å¾çHUDä¸å¢å äºè´ä¹°åºååç¸å¼¹ç®æ åº
- C4ä» è½æ¤æ¾å¨ä¸é¨çç¸å¼¹å®æ¾åºå
- CTS没æ解é·é³æå¼¹éè¦ç§é
- CTsç¨è§£é·é³æå¼¹åªè¦5ç§ç§
- å¢å äºä¸ä¸ªæ示æå¼¹çè¿åº¦å°ºæ¡
- 为Tså¢å äºæ示å®è£ ç¸å¼¹çè¿åº¦å°ºæ¡
- æå¼¹æåä¹æå³çCounter Terroristså¨æ¬å±ä¸çèå©
- C4å¯ä»¥æç»å ¶ä»çéå
- æ°çæ 线çµä¿¡æ¯åæ 线çµçé®ä½éå
- è½å¤å¬å°å ¶ä»ç©å®¶è£ å¡«åå¼¹ç声é³ã
Beta 6.0 to 6.6
å¨BETA5ä¹åæä¸ä¸ªBETA 5.2ï¼åªä½äºå°éçæ¹å¨ï¼éä¹èæ¥çæ¯BETA 6ä¸ä¸ç³»åçå级ï¼æå°æBeta 6.0 to 6.6ä¸ä¸ç³»åçæµè¯çæ±æ»å¨ä¸èµ·è¿è¡è¯´æãBeta 6.0ææ©æ¯å¨å¹´3æ3æ¥åå¸çï¼è¿æ¯Counter-Strikeåå±ä¸çä¸ä¸ªæ°çéç¨ç¢ã
å¨è¿ä¸ªæ¶æçæ¹ååè¿ä¸æ¥æ¶é¤äºå游æä¸åå¨çå°éBUGï¼å 许ç©å®¶ææ´å¤ç游æåè½ãå¨ä¸é¢åé¨å«ç±»å°ååºäºä¸åçæ¹åç±»ååç¸å ³çå ·ä½å 容ã
æ¦å¨ç³»ç»çæ¹åï¼
å¨6.0-6.6ä¸åªæä¸å¤çæ¦å¨ç§ç±»å¢å ã
- å¢å äºMAC-
- å¢å äºSteyr Aug
- å¢å äºçé¾å¼¹
- éæ°å¢å¼ºäºå¤è§éã
人ç©æ¨¡ååå°å¾æ¹åï¼
- å¢å äºå·¦æå³æææªçåè½
- å¢å äºæ°çéåé·è¾¾è·è¸ªå®ä½
- å¢å äºæ°çååªArctic人ç©æ¨¡å
- å¢å äºæ°çè¦å¯GIGN人ç©æ¨¡å
- å¢å äºas_oilrig, as_riverside, cs_,de_cbble.bsp, de_aztec.bsp, cs_italyå°å¾
å¨Beta 6.0 å 6.6ä¹é´ï¼å¯¹æ´ä¸ªæ¸¸æé½è¿è¡äºå¤§éçæ¹è¿ï¼æ°å¢ç人ç©ç±»åï¼æ¹è¿äºç©å®¶çè§è§æå并åé åºæ°ç大ä¼åçå°å¾ãææè¿äºï¼ä½¿äººä»¬çå°äºCSç¾å¥½çæªæ¥ã
de_azte
de_italy
de_cbble
cs_
Beta - 7.1
å¨ä¼å¤çå级åæ¹è¿ä¹åï¼æåçBETA 7.1å®å ¨å®è£ çå¨å¹´9æå·åå¸äºãæ们çå°äºä¸ä¸ªä¸»è¦çååå°±æ¯å¨å°å»çåç¡®æ§æ¹é¢ãå¨ååå°å»åæ«å°ä¸å¼¹åç移å¨é度çåç¼å¯¹äºåæ¹çå½±åé½è¿è¡æ¹è¿ï¼åæ ·ï¼çåéçæ¹è¿ä¹ä½¿æ¸¸æåæ¹æ´è¶äºå¹³è¡¡ã
æ们ç°å¨å·²ç»äºè§£äºCSæ¯ç±è°å¼åçï¼ä»ä»¬ä¸ºè¿ä¸ªæ¸¸æä½äºä»ä¹ï¼åå¾äºé£äºæå°±ãæ们ä¹è®²å°äºBetaçæ¬æ¶æä¸äºé©å½æ§çæ¹åãç°å¨ï¼æ们çå°çå®æ´çCSå ä¹æ¯æ²¡æBugçäºï¼èå¨è¿æ ·çæ åµä¸ï¼ä¹é æäºå®å ¨çè½°å¨çå¼å§ã
æ£å¼ç
Version 1.0
å¨å¹´9æå·æä¾ç»å¤§ä¼ä¸è½½ï¼è½ç¶ä»ä»¬ä¸å¼å§å¯¹åè¡è¿ä¸ªæ¸¸æçææå¾é«ï¼ä½æ¯å¾å¤ç©å®¶è§å¾ä»ä»¬å äºå¾å¤ä¸éè¦çç»èï¼æ以ååè¡çæ¶å并没æåå°å¤ªå¤çååã
VALVEä»ä»¬æ°ä»ç»äºä¸ææªï¼ä½æ¯ç©å®¶å´è®¤ä¸ºè¿ä¸ææªçå®ç¨æ§å¹¶ä¸å¤§ï¼è¿ä¸æåå«æ¯ï¼
- Five Seven ææª
- UMP.
- SIG SG- çå»æª
Five Seven ææªåæ¬ç好å¤æ¯ä¸ç®¡è¿è¿é½æä¸å®çå度ï¼ä½æ¯å®é ä¸å´åç°å ¶å®åªæè¿è·ç¦»æ¶ç¸å½åç¡®ï¼ä½æ¯è¿è·ç¦»å´æ¯ä¸ä¸"USP"以å"Glock"ï¼å¹¶ä¸å®ç伤害æ§ä¹æ¯"USP"以å"Glock"è¦æ¥çä½ï¼ä»·æ ¼å´ååé«ï¼æ以æ为äºé²å°äººä½¿ç¨çæªæã
UMP. è¿ä¸ææªæ¯è¦å¯åæ¹å¾ç«¯é½å¯ä»¥è´ä¹°çï¼æ¯MP5以å¤çå¦å¤ä¸ä¸ªéæ©ï¼å¯æ¯ä»çä»·é±æ¯MP5è´µäºå ï¼å°éä¹æ¯MP5è¦æ¥çæ ¢ãè½ç¶UMP.çå度å¨ä¸è·ç¦»è¦æ¯MP5è¦æ¥ç好ï¼ä½æ¯åå¨å°åæºå ³æªçè´ä¹°éåéï¼åºè¯¥æ¯è¦ä»¥è¿è·ç¦»çå°å»ä¸ºä¸»ï¼æ以ä¹å°±æ为ä¸æå ä¹æ 人使ç¨çæªæã
SIG SG-: å¨æ¸¸æä¸ç表ç°ä¸å½°...
SIG SG-çå»æªæ¯è¦å¯çä¸ç¨æ¦å¨ï¼ä»çä»·é±å¤ªè´µï¼è½ç¶è¿å°çå»æªè®©å®å¬èµ·æ¥å¥½è±¡å¾æ£ï¼ä½æ¯å¼ºå¤§çå座å使å¾å®ç并æ æ³æ¥æ太大çç¨å¤ï¼å°åæ¥ä¹å°±æ¸æ¸ä¹äººé®æ´¥äºã
Version 1.1
ä¸åBetaçæ¬çæ´æ°ä¸æ ·ï¼è¿äºæ£å¼çæ¬é½éè¦è±æ¯è¾å¤çæ¶é´å»åæ´æ°å¨ä½ãV1.1æ¯å¨å¹´3æå·æéåºçï¼å 为å¢å äºç¬¬å 人称(Spectator mode)çè§çè§è§ï¼æ以æ¤çæ¬æ¯ä¸ä¸ªè®©å¤§å®¶ææå¾ ççæ¬ï¼åæ¶è¿ä¹å½±åäºæ¥åHLTVçåå±ã
è§ç模å¼è¿é©»æ¸¸æ...
å¦å¤ä¸ä¸ªå欢è¿çæ¹åæ¯AWPå»ä¸äºèé¨ä½ç½®å¹¶ä¸ä¼ä¸æªå°±æ»äº¡ï¼å¹¶ä¸AWPä¸å¼éå°±ä¸ä¼æå确度ã详ç»æ´å¨å 容å¦ä¸ï¼
- å¢å è§ç模å¼
- æ¹å¾ææC4ç人èåçèµ·æ¥ä¼æä¸ä¸ªèå
- ç©å®¶ç人ç©æ¨¡ååæ*çå辨ç
- æ¹å¾çdefuse kit(æå¼¹å )éæ°å å ¥ (åæå¯è½æ¯ç¬è¯¯ï¼åºè¯¥æ¯CTå§!!)
- å¨ç©ºä¸å°å»çå确度å次ä¸é
- 没æå¼çå»éçæ¶åå°ä¸ä¼æåå¿åºç°
- çå»æªå°ä¸èçé¨ä½ä¸ä¼ä¸æªè´å½
- 人ç©ç模åæäºæ¸¸æ³³ç姿å¿
- å³ä¸è§ç人ç©æ»äº¡æ¾ç¤ºæäºè¦å¯ç«¯ä»¥åæ¹å¾ç«¯åèªçé¢è²(CTæ¯èè²ï¼TSæ¯çº¢è²)
- å¢å äºå符串æ件ï¼ä¹å æ¤æ´æ¹äºæ¦å¨å称(åæ¯AKåæCV)
- 游æç»ææ¶å¯ä»¥æ·å游æç»é¢
- æ°å¢å°å¾ cs_thunderãde_rotterdamãde_infernoãde_dust2
- æ´æ°äºä¸äºçé¨å°å¾
Version 1.3
å¹´9æå·ï¼è¿æ¯æ£å¼çè³ç®å为æ¢å¤§å®¶æ为å欢ççæ¬ï¼å 为å¨è¿ä¸ªçæ¬è¾¾å°äºå¾å¤ç®æ ï¼å¹¶ä¸æ¿æäºBunny Hopping(è¿ç»è·³è·)ãè½ç¶æç人ä¸å欢ï¼ä½æ¯å¤§é¨åç人é½ä¹äºæ¥åè¿ä¸ªæ¹åã
å¦å¤ä¸ä¸ªé大æ¹åæ¯å¢å äºéº¦å é£çç³»ç»ãè¿ä¸ªç³»ç»æ¯å¾å¤ç©å®¶ä»Betaçå°±ææå¾ å¢å çï¼è¿æ ·å¯ä»¥å¿«éçä¸è¾¾æç¥ä»¥åæ²éï¼ä½å¨ååºç°è¿ä¸ªç³»ç»çæ¶å麦å é£é讯ä¼åæç¸å½å¤çç½ç»èµæºã
麦å é£ç³»ç»è®©è®¸å¤éè¦è®¯æ¯æ´å®¹æä¼ è¾¾
æ¤å¤ï¼Version 1.3çæ¬å¢å äºæ人使ç¨Radio(æ 线çµé讯)æ们ä¹å¯ä»¥å¬çå°ç设å®ãä½è æ¬èº«è®¤ä¸ºè¿æ¯ä¸ä¸ªç¸å½å¥½çææ³ï¼è¿ä¹æ¯CSä¸ä¸ä¸ªé常æåææ§ç设å®ã
è¿ä¸ªçæ¬ä¹è¿ä¸æ¥çä¿®æ¹äºæ´å¤çBugï¼è¯¦ç»æ´å¨å 容å¦ä¸:
- æ¹åäºç©å®¶ç«¯ä¸SERVER端å°å»ä½ç½®ä¿¡æ¯ä¸åæ¥çBug
- æ¹åäºä¸äºCONFIGçé®é¢
- 解å³äº"screenshots"(ç»é¢æ·å)第äºå¼ ä¼çæ第ä¸å¼ çBug
- Buffer overflow çè¡ä¸ºä¿®æ£
- "condump" "cmdlist" "cvarlist"åªä¼åå°æ们ç游æèµæ夹éé¢
- ä¿®æ£äºç¬¬å 人称è§è§çBug
- æéè¦çæ¯ä¿®æ£äºHIT BOX(å½ä¸åºå)çé®é¢
- æ¹åäºå¤è§éçBug
- ä¿®æ£äº"slot"çä¸æ£å¸¸è¿ä½
Version 1.4
å¨Version 1.4è¿ä¸ªçæ¬éæå¾å·¨å¤§çè¿åï¼å¯æ¯æ¶é´å´å¾çæï¼æ主è¦æ¯æ¹åäºæ¨¡åçå¨ä½ä»¥ååå¼¹å°åºåæå¡å¨ç«¯çå¤å® ãæè°æ´ææªå¨ç©ºä¸å°å»çåç¡®æ§ï¼è¿æææªç§»å¨ä¸å°å»çåç¡®æ§ï¼ä¸è¿è½ç¶å¯ä»¥è¾¹è·³è¾¹å°ï¼ä½æ¯å´å¢å äºä¸ä¸ªè·³è·åè½å°ä¼å»¶è¿çè®¾å® ï¼è¿ä¸ªè®¾å®ä¹æ为许å¤ç©å®¶çæ¶æ¢¦ã
第å 人称ä¹å¢å äºå¯ä»¥ä½¿åæ¢ç¬¬ä¸äººç§°è§ççè§è§åæ¶æ¤çæ¬ä¹æ¹åäºHLTVçé¾å¼¹çé®é¢è¿æè§åº¦éåé®é¢è·ä¸äºæ¾ç¤ºä¸çé®é¢
å½ç¶ï¼å¨æ¤çæ¬ä¸ä¹ä¿®æ£äºè®¸å¤çBugï¼è¯¦ç»æ´å¨å 容å¦ä¸:
- çé¾å¼¹é®é¢çä¿®æ£
- Radio command(æ 线çµè®¯æ¯)çæ¹å
- æ¹åäºAGPçéå¤æ¦å¨æ¾ç¤º
- å°è·æ¥ç声é³æ¹åçæ¯è¾åç¡®
- å¨æ°´ä¸çå¨ä½ä¼ä¿æä¸æ ·çé度(å¨æ¤ä¹åæ°´ä¸çå¨ä½ä¼å¿½å¿«å¿½æ ¢)
- æ¹åäºæå¡å¨ç«¯å 为åç§ç¸å¼¹ç使ç¨èå½æºçé®é¢
- æ¹åäºå¼¹å¤¹ä¸åå¼¹æ°éçé®é¢
- ä¿®æ£äºä¸ä¸ªæ¹å¾åè¦å¯æ¨¡å对æ¢çé®é¢
æç»ç Version 1.5
è¿æ¯Steamåºç°ä¹åçæåä¸ä¸ªçæ¬ã1.5è·1.4çå·®å«å ¶å®å¹¶æ²¡æå¾å¤§ï¼åªæ¯å°ä¸äºç»èé®é¢çä¿®æ£åçæ´ä¸ºå®åï¼è¿ä¹æ¯å½åBetaçæ¬ææ³è¦è¾¾å°çç®æ ã
å¾å¤ç©å®¶é½è§å¾æ¤çæ¬æ¯æéåæ¯èµççæ¬ãå 为å¾å¤ç©å®¶å对å©ç¨Steamï¼èè¿ä¸ªé®é¢ä¸ç´å°ç°å¨è¿é½è¿ååäºè®®
Steamçæ¨åºè®©å¾å¤äººæç以åæ¯å¦ä¼åææ¶è´¹æºå¶ï¼ä½è¿ä¸åé½è¿ä¸è½ç¡®å®...
"Steam & Version 1.6"
Steamæ¯å¹´9æå¼å§åCS1.6åæ¶æ¨åºï¼å 为Steamçåè½é常丰å¯ï¼æ以CSæé çSteamçèæ¥ï¼æ¯è®©å¤§å®¶è®¤ä¸ºé常åé»è¾çé¨ä»½ãä¸è¿å ¨ä¸ççç©å®¶é½å¯¹Steamæçç¸å½çä¸æ»¡ï¼å 为è§å¾æ¸¸æ被æ¹åç太å¤ï¼èä¸å¹¶æ²¡æéè§ç©å®¶æ¹é¢æååºç声é³ã
ä½æ¯Steam并没æå 为è¿æ ·åå°±æ¸æ¸æ·¡å»ï¼å®è¿æ¯ä¸çæç»çåå±ï¼ç´å°ç°å¨è¶æ¥è¶åå°å¤§ä¼çæ¥å...
Steam çèªå¨æ´æ°ç³»ç»
è½ç¶è¿ä¸ªç³»ç»ç¸å½çæ¹ä¾¿ï¼ä½æ¯å¸¸å¸¸ä¼æç©å®¶åæ´æ°çæ¶ååçå½æºçæ å½¢ãä¸è¿Steamæ¹é¢ä¹æ认ççå¨æ¹åè¿äºé®é¢ ï¼ä½¿çè¿ä¸ªç³»ç»è¶æ¥è¶å®ç¨ã
ä¸å¼å§Steamä¹æé¢å®½ä¸å¤çé®é¢ï¼å 为è¿ä¸ªèªå¨æ´æ°ç³»ç»ä¼èªå¨çéæ©æå¿«éçæå¡å¨æ¥æä¾ç»ç©å®¶æ´æ°æ¡£æ¡ ãè¿ä¸ªé®é¢ä¸ç´å°äºValveè·Steamèåèµ·æ¥å¯»æ±æ´å¤çå¤æ¥èµå©åï¼ææ ¢æ ¢çè·å¾æ¹åã
许å¤ç©å®¶é½æ¯å¨æ´æ°æ¶éå°è¿ç§é®é¢...æ´æ°å°ä¸åå°±ä¸å¨äº.....
好åç³»ç»
好åç³»ç»(Friends System)å¨CS1.6ççSteamç³»ç»éæ£å¼å¼èç»å¹¿å¤§çç©å®¶ä»¬è®¤è¯ï¼ä¹å æ¤è®©ç©å®¶ä»¬æäºå ¨æ°ç交æµæ¹å¼ã
è¿ä¸ªç³»ç»å¢å äºå ¨æ°ç©å®¶æ¹é¢çæ²éã好åç³»ç»å°±è·MSNä¸æ ·å¯ä»¥å¨å好åçååï¼å¯ä»¥çå°å¥½åçç¶åµæ¯å¦ä¸çº¿ææ¯å¿ç¢ä¹ç±»çç¶æãå¯ä»¥çå°å¥½å们å¨å ¨çç½ç»ä¸çåªä¸ä¸ªæå¡å¨æ¸¸æï¼å æ¤è½å¤å¿«éçä¸æåè·å¾èç³»ï¼æå¿«çåæåä¸èµ·ç©ä¹ã
å æ¤ï¼è®¸å¤çç©å®¶é½è§å¾è¿æ¯ä¸ä¸ªç¸å½ä¸éçç³»ç»ã
æ³ä¸ä½ çæåè天å?
游æå表 å¨Steamç³»ç»éæ°å å ¥ç游æå表(Games List)ãè¿ä¸ªéåå¯ä»¥è®©ç©å®¶è½»æçéæ©Half-Lifeéçåç§æ¨¡å è¿è¡æ¸¸æï¼ä¹å¯ä»¥æ´è½»æçä¸è½½åç§èªå·±æ³è¦ç©ç模åï¼èçäºç©å®¶ç许å¤æ¶é´ã
æ¤æ¸¸æå表å¨æªæ¥å°ä¼æ´å çç®åã容æï¼å¹¶ä¸å å ¥è®¸å¤çåè½æ为ä¸ä¸ªæ¹ä¾¿ç游æ管çå·¥å ·ã
ç©å®¶åªéå¨æ¸¸æå¾çä¸ç¹ä¸ä¸å³å¯ä¸è½½å°ä»ä»¬ææ³è¦ç游æï¼ææ¯å¨æ¿æ´»æ¸¸ææ¶è½»æçä¸è½½æ´æ°å®ä»¬ã
hmmï¼ä»å¤©ä½ æ³è¦ç©åªä¸æ¬¾å?
ä¸é¢æ¾ç¤ºçæ¯å ³äºâèªå¨å级âé项çå¾ä¾ï¼
æå¡å¨æ§å¶å°
è¿ä¹è®©ç©å®¶æå°ç¸å½çæ¹ä¾¿ï¼å 为ä¸éè¦æ¿æ´»æ¸¸æå°±å¯ä»¥çå°æå¡å¨çç¶åµ ï¼å æ¬äºæå¡å¨å称ãç©å®¶æ°éã线路ç¶åµãä¹å¯ä»¥å å ¥èªå·±æç±çæå¡å¨ï¼è¿æLANçæå¡å¨ã
é¤äºè¿äºæ§æçåè½ä¹å¤è¿å æ¬äºä¸ä¸ªåå²çºªå½ ï¼è®°å½çä½ ææ¾ç»ç©è¿çæææå¡å¨ãè¿æHLTVæç¬ç«çæå¡å¨å表ï¼è¿å¯ä»¥å©ç¨æ¤ç³»ç»ç¥éå°æåå¨åªä¸ªæå¡å¨æ¸¸æãå®æ´åè½å¦ä¸ï¼
- åå²çºªå½å表让ç©å®¶è½»æç¥éæ¾å»è¿çæå¡å¨
- è§çå表å¯åç¬çåªååºHLTVæå¡å¨
- æåå表å¯éååºæåæ£å¨åªä¸ä¸ªæå¡å¨
- 使ç¨é¼ æ å³é®è½»æçå°åç±çæå¡å¨å å ¥æç±å表
Server Console çä¼å¤åè½è®©ç©å®¶æ¹ä¾¿è®¸å¤
游æçæ¹å
尽管å¨ç©å®¶ç«¯æå¢å 许å¤çåè½ä»¥åä¸äºç¸å ³æ¹è¿ï¼ä½å¨æ¸¸æä¸ä»æ许å¤çåå±åæ¹è¿çå°æ¹ãSteamææ¹åCSéé¢çä¸äºæ¹åï¼è¯¦ç»æ´å¨å 容å¦ä¸:
- å¯ä»¥éæçæ´æ¹Steamçå¤è§
- ææ寻å°çæå¡å¨ä¼æ¾ç¤ºæå¡å¨çæå¨åºå
- ä¸åéè¦WONç认è¯
- å¢å äºè´ä¹°æ¦å¨çç®ç¨å称
- Graphical以åHUDçéåæ¹å
- æ¹åäºå¾å¤Bugåæ¯"Smoke"è¿æ"Flashbang"
- å¢å äºä¸éæçé·è¾¾
- å¢å äºæ°çæ¦å¨è¿æè£ å¤
- æ°çéé±æ¨¡å¼
- C4æ¶é´å¯¹äºRoundtimeçå½±å
- å¢å äºå¾å¤ç½ç»åæ°ç设å®
- å¢å äºæªæçåç¡®æ§
- åå¿å¤§å°çæ¹å
èä¸ç©å®¶çå½±å
èä¸ç©å®¶å½±åäºä¸äº1.6ç设å®ï¼å¦éé±ç³»ç»ãè¿ä¸ªé®é¢æ¯ç±NoAæéç"Shaguar"æåºæ¥ç ï¼ä»åäºä¸æ´ç¯æç« ç»Steamï¼æç« å 容æå°äºä¹åçç³»ç»è§åï¼ä½¿å¾çµåç«æçæ¯èµä¸èå¥åå¾ç¼æ ¢èä¸å¹¶ä¸ç²¾éã "...When 3D, and following their CPL performance pretty much every top notch European team (many US teams have still yet to see the importance of round camping as the offensive side, which I will expand on later) began camping out terrorists rounds, it started a trend that has turned Counter-Strike into a slow, less spectator friendly game. What makes camping out terrorist rounds so effective? The Counter-Terrorists get punished for it. They get practically half of what they would get if they were to win the round by defusal and/or killing all 5 Terrorists..."
Shaguar
è¯æï¼
âå½3Dï¼ä»¥åéå纷纷æ仿çå欧顶å°æé们ï¼å¾å¤ç¾å½æéè³ä»ä»ç¶è®¤ä¸ºå¨Tç»æµå±campæ¯ä¸ç§å¾æ 礼çè¡ä¸ºï¼å ³äºè¿äºæå¨åé¢çæç« ä¸ä¼æå°ï¼è¶æ¥è¶é¢ç¹å°å¨Tç»æµå±ä¸campï¼ç¼è : å¦ä¸ç§è¯´æ³æ¯save outï¼ä¸æå¨ä¸å±å·²ç»æ²¡æå¸æè·èçæ åµä¸èº²èµ·æ¥ï¼çåæ¶ï¼CSä¹æ£å¨éæ¸åæä¸ç§è¶æ¥è¶æ ¢ï¼è¶æ¥è¶ä¸å©äºè§çç游æãæ¯ä»ä¹è®©å¦æ¤å¤ç顶å°æéå欢å¨Tçç»æµå±ä¸campï¼æè 说ï¼Tç»æµå±çcamp为ä»ä¹è¿ä¹ææï¼ââCS为å®è®¾è®¡ä¸çä¸åçèéå°æ©ç½ãå®é ä¸ï¼ç¸æ¯è¾å»æ¯Tç5åéåæè æåæå¼¹ï¼CTå¦æå¨Tè¿è¡campçæ¶å没ææå 对æ¹å ¨é¨5人ï¼é£ä¹ä»ä»¬åªå¾å°äºåºè¯¥å¾å°çå¥å±éçä¸åã â
éåï¼Valveæ¹è¿äºæ¸¸æä¸éé±å¶åº¦ä½¿å¾CSåçæ¯è¾åæ¯å¿«èå¥ç游æã
"Counter-Strike: Source"
è¿ä¸ªçæ¬æ¯å¤§å®¶æææç使ç¨å ¨æ°çHalf-Life 2 Sourceå¼æãåºæ¬ä¸CS: Sourceçç©æ³ä¼åç°å¨ç1.6ç©æ³å·®ä¸å¤ï¼åªæ¯ä½¿ç¨äºä¸ä¸ªå ¨æ°çç»å¾å¼ææ¥æ¿ä»£äºå¹´åçHalf-Lifeæ§å¼æã
è¿ä¸ªSourceç»äºCSä¸ä¸ªå ¨æ°çé¢è²ä»¥å设计ã以ä¸æ¯CS: Sourceçå¾ç
æ¹è¿åçç»å¾å¼æ
çå¨çå°å¾å¯¹è±¡åæ°çç©çåæ°è®¾å®
Source带æ¥æ°çå æºè´´å¾ææ
è®©ä½ è³ç®ä¸æ°çAztec
Source or Counter-Strike 2?
å¾å¤ç©å®¶é½å¾æå¾ ç"Counter-Strike 2"ï¼ç¶åå¾å¤äººä¹æä¸æ¸ æ¥"Counter-Strike 2"以å"CS: Source"çå·®å« ï¼ä¹ä¸æ¸ æ¥æ¯å¦"CS: Source"å°±æ¯"Counter-Strike"以åçåå±çæ¬ãè¿ä¸ªæ³æ³å¹¶ä¸æ¯å®å ¨æ£ç¡®çã
å ¶å®CS: Sè·1.6æ¯ä¸æ¨¡ä¸æ ·çï¼åªæ¯ä½¿ç¨äºå ¨æ°çSourceå¼æå»å¼åè¿ä¸ªæ¸¸æï¼è"Counter-Strike 2"ææ¯ä»¥åä¼åºç°ççæ¬ï¼å¹¶ä¸ä¾ç¶ä¼ä½¿ç¨Sourceå¼æï¼åªæ¯ä¼ææ´å¤çåå¨ã
CZå¨æªæ¥ä¹ä¼æ¨åºSourceçæ¬ï¼CS: Sæ大çç®æ å°±æ¯æµè¯Sourceçé®é¢ï¼è¿æ ·ææåæ³æ¨åºæ¥ä¸æ¥ç"Counter-Strike 2"
åå ç½æ±è¯´åè§?
è½ç¶CS: Så1.6å¨å¤§ ä½ä¸é½ä¸æ ·ï¼åªæ¯æ¹åäºè§è§ä¸çå¤è§ï¼ä½æ¯ä¹æ¹åäºä¸ä¸ªæ¸¸æçç©æ³ï¼å°±æ¯å°å ç½æ±æ¿æäºãè¿ä¸ªæ´å¨æå¯è½å¼èµ·è®¸å¤èä¸ç©å®¶çä¸æ»¡ï¼å 为èä¸ç©å®¶ä½¿ç¨å ç½æ±ä¼æ许å¤çå¥½å¤ ï¼å æ¬è¾¾å°å¹³å¸¸ä¸è½å»çå°æ¹ï¼æ¥ææ¯è¾å¥½çè§éï¼å 人å¢çææ¯ã
Valveåäºè¿ä¸ªæ´å¨æ¯ä¸ºäºè¾¾å°æ´çå®ç游æææ ï¼ä¸è¿è¿ä¹å¯è½ç ´åäºæ¸¸æçç¬ç¹æ§ãè¿ä¸ªæ¹åï¼ä¼è®©è¿ä¸ªæ¸¸æçæ¯æ度éä½ï¼æåªæ¯çº¯ç²¹çæ¹åææ¯ï¼è¿å¾è¦ç游ææ¨åºäºæä¼ç¥éäºã
é®é¢ä¸è§£ç
Counter-Strike:Sourceé¢è®¡ä¼å¨ä»å¹´çå «æåå·éåºBetaç(ç¼è 注ï¼å·²ç»å¦æåå¸ï¼ï¼ä½å¹¶ä¸æ¯ææçç©å®¶é½å¯ä»¥åå¾CS: Sï¼å¿ é¡»æ¯ä¸Valveæåä½å ³ç³»ææ¯æè´ä¹°Condition Zero(ä¸è§¦å»å)çSteamæ£è§ç¨æ·æ¹è½éè¿Steamä¸è½½å°Counter-Strike:Source Betaçã
以ä¸æ¯ValveçCliffe为大家æåçä¸äºé®é¢è§£çï¼
Counter-Strike:Source BETA1.0ä»ä¹æ¶åä¼æ¨åºï¼
ä»å¹´æåçåæ
ä»åªéæå¯ä»¥åå¾Counter-Strike:Source BETA1.0ï¼
ä¸å¼å§å¯ä»¥åVALVEæ¥ååå¾æµè¯åèµæ ¼ ï¼ä¹åæä¼æä¾ç»æCS: CZçç©å®¶ä¸è½½
å¦ææç³è¯·æµè¯åææ¯æCS:CZï¼è¦æä¹ç¥éCounter-Strike:Sourceä»ä¹æ¶åä¼æ¨åºï¼
åªéè¦æ¿æ´»Steamç游æéåå°±å¯ä»¥ä¸è½½äº
å¦æ没æç³è¯·ææ¯æ²¡æCS:CZé£è¿å¯ä»¥åå¾CS: Såï¼
ä¸è¡ç
CS: Sè·Half-Lifeä¸ä»£æä»ä¹ä¸åï¼
CS: SæCSçå¢éç©æ³ä»¥åé«ç§æç游æç»é¢
CS: Sæä½è®¡ç®æºéæ±
1.2 GHz Processor
MB RAM
DirectX 7 graphics card
Windows /XP/ME/
é¼ æ
é®ç
CS: S建议计ç®æºéæ±
2.4 GHz ProcessorB MB RAM
DirectX 9 graphics card
Windows /XP
é®ç
é¼ æ
å¦ä½ç¨pdbè¿è¡pythonè°è¯
æ¬æç« è®²è¿°äºå¦ä½ç¨pdbè¿è¡pythonè°è¯è®²è§£.
ããå½æè¾¹
ãã没æIDE,é¢å¯¹çpythonè°è¯ç¯ææ¶,ä½ å°±å¯ä»¥åèä¸æ¬æ;(pdb å½ä»¤è°è¯)
ããå (pdb)help
ããç¨pdbè¿è¡pythonè°è¯,ç¨æ³åºæ¬ågdbå·®ä¸å¤,
ããå çä¸ä¸ªç®åçä¾å:
ããepdb1.py .# epdb1.py -- experiment with the Python debugger, pdb
ããa = "aaa"
ããb = "bbb"
ããc = "ccc"
ããfinal = a + b + c
ããprint final
ããæ¯å¦è¦å¯¹è¿ä¸ªç¨åºè¿è¡è°è¯:
ãã1:å¨æ件åé¢å ä¸è¿ä¸å¥,å¼å ¥è°è¯ç模åã
ããimport pdb
ãã2:å¨è¦å¼å§è°è¯çä¸è¡å ä¸pdb.set_trace()æ件åæ:
ãã# epdb1.py -- experiment with the Python debugger, pdb
ããimport pdb
ããa = "aaa"
ããpdb.set_trace()
ããb = "bbb"
ããc = "ccc"
ããfinal = a + b + c
ããprint final å¯ä»¥è¿è¡è¿ä¸ªç¨åº,å°æç¹åºä¼åä¸æ¥,ågdb类似,
ããå¯ä»¥æ§è¡å½ä»¤:
ããç´æ¥å车æ¯éå¤åä¸æ¡å½ä»¤!
ããp(print) æ¥çä¸ä¸ªåéå¼
ããn(next) ä¸ä¸æ¥
ããs(step) åæ¥,å¯è¿å ¥å½æ°
ããc(continue)继ç»åè¿
ããl(list)çæºä»£ç
ããç¨pdbè°è¯æå¤ç§æ¹å¼å¯é:
ãã1.å½ä»¤è¡å¯å¨ç®æ ç¨åº,å ä¸-måæ°,è¿æ ·è°ç¨myscript.pyçè¯æç¹å°±æ¯ç¨åºçæ§è¡ç¬¬ä¸è¡ä¹å
ããpython -m pdb myscript.py
ãã2. å¨Python交äºç¯å¢ä¸å¯ç¨è°è¯
ãã>>> import pdb
ãã>>> import mymodule
ãã>>> pdb.run('mymodule.test()')
ãã3.æ¯è¾å¸¸ç¨ç,å°±æ¯å¨ç¨åºä¸é´æå ¥ä¸æ®µç¨åº,ç¸å¯¹äºå¨ä¸è¬IDEéé¢æä¸æç¹ç¶åå¯å¨debug,ä¸è¿è¿ç§æ¹å¼æ¯hardcodeç if __name__ == "__main__" :
ããa = 1
ããimportpdb
ããpdb .set_trace()
ããb = 2
ããc = a + b
ããprint( c)
ããç¶åæ£å¸¸è¿è¡èæ¬,å°äºpdb.set_trace()é£å°±ä¼å®ä¸æ¥,å°±å¯ä»¥çå°è°è¯çæ示符(Pdb)äº
ãã常ç¨çè°è¯å½ä»¤ h(elp),ä¼æå°å½åçæ¬Pdbå¯ç¨çå½ä»¤,å¦æè¦æ¥è¯¢æ个å½ä»¤,å¯ä»¥è¾å ¥ h [command],ä¾å¦:"h l" - æ¥çlistå½ä»¤
ããl(ist),å¯ä»¥ååºå½åå°è¦è¿è¡ç代ç å
ãã(Pdb) l
ãã pdb.set_trace()
ãã base_data = { }
ãã new_data = { }
ãã try:
ãã execfile(base_file_name,{ },base_data)
ãã -> execfile(new_file_name,{ },new_data)
ãã except:
ãã logger.writeLog("error! load result log error!")
ãã print "load cmp logs error!"
ãã raise Exception, "load cmp logs error!"
ãã>æç¹è®¾ç½®
ãã(Pdb)b #æç¹è®¾ç½®å¨æ¬pyç第è¡
ããæ(Pdb)bots.py: #æç¹è®¾ç½®å° ots.py第è¡
ããå é¤æç¹(Pdb)b #æ¥çæç¹ç¼å·
ãã(Pdb)cl 2 #å é¤ç¬¬2个æç¹
ãã>è¿è¡
ãã(Pdb)n #åæ¥è¿è¡
ãã(Pdb)s #ç»ç¹è¿è¡ ä¹å°±æ¯ä¼ä¸å°,æ¹æ³
ãã(Pdb)c #è·³å°ä¸ä¸ªæç¹
ãã>æ¥ç
ãã(Pdb)p param #æ¥çå½å åéå¼
ãã(Pdb)l #æ¥çè¿è¡å°æå¤ä»£ç
ãã(Pdb)a #æ¥çå ¨é¨æ å åé b(reak), 设置æç¹,ä¾å¦ "b â³,å°±æ¯å¨å½åèæ¬çè¡æä¸æç¹,è¿è½è¾å ¥å½æ°åä½ä¸ºåæ°,æç¹å°±æå°å ·ä½çå½æ°å ¥å£,å¦æåªæ²b,ä¼æ¾ç¤ºç°æçå ¨é¨æç¹
ãã(Pdb) b
ããBreakpoint 4 at /home/jchen/regression/regressionLogCMP.py: condition bpnumber [condition],设置æ¡ä»¶æç¹,ä¸é¢è¯å¥å°±æ¯å¯¹ç¬¬4个æç¹å ä¸æ¡ä»¶"a==3"
ãã(Pdb) condition 4 a==3
ãã(Pdb) b
ããNum Type Disp Enb Where
ãã4 breakpoint keep yes at /home/jchen/regression/regressionLogCMP.py:
ããstop only if a==3 cl(ear),å¦æåé¢å¸¦æåæ°,å°±æ¯æ¸ é¤æå®çæç¹(æå¨Python2.4ä¸ä»æ¥æ²¡æåè¿!!!);å¦æä¸å¸¦åæ°å°±æ¯æ¸ é¤ææçæç¹
ãã(Pdb) cl
ããClear all breaks? y disable/enable,ç¦ç¨/æ¿æ´»æç¹
ãã(Pdb) disable 3
ãã(Pdb) b
ããNum Type Disp Enb Where
ãã3 breakpoint keep no at /home/jchen/regression/regressionLogCMP.py: n(ext),让ç¨åºè¿è¡ä¸ä¸è¡,å¦æå½åè¯å¥æä¸ä¸ªå½æ°è°ç¨,ç¨næ¯ä¸ä¼è¿å ¥è¢«è°ç¨çå½æ°ä½ä¸ç
ããs(tep),è·nç¸ä¼¼,ä½æ¯å¦æå½åæä¸ä¸ªå½æ°è°ç¨,é£ä¹sä¼è¿å ¥è¢«è°ç¨çå½æ°ä½ä¸
ããc(ont(inue)),让ç¨åºæ£å¸¸è¿è¡,ç´å°éå°æç¹
ããj(ump),让ç¨åºè·³è½¬å°æå®çè¡æ°
ãã(Pdb) j
ãã> /home/jchen/regression/regressionLogCMP.py()com pareLog()
ãã-> pdb.set_trace() a(rgs),æå°å½åå½æ°çåæ°
ãã(Pdb) a
ãã_logger =
ãã_base = ./base/MRM-.log
ãã_new = ./new/MRM-.log
ãã_caseid =
ãã_toStepNum =
ãã_cmpMap = { '_bcmpbinarylog': 'True', '_bcmpLog': 'True', '_bcmpresp': 'True'} p,ææç¨çå½ä»¤ä¹ä¸,æå°æ个åé
ãã(Pdb) p _new
ããu'./new/MRM-.log' !,æå¹å·åé¢è·çè¯å¥,å¯ä»¥ç´æ¥æ¹åæ个åé
ããq(uit),éåºè°è¯
2024-12-28 20:13
2024-12-28 20:10
2024-12-28 19:34
2024-12-28 19:01
2024-12-28 18:50
2024-12-28 17:30