PvPGN crash VISTA Client

終於解決了~
PvPGN 1.8.1 給 VISTA連Starcraft時候會造成client當掉
這問題出在version check
解決方式有兩種
一種是client端:方法為關掉DEP
二是Server端:本文介紹的方法,當然這個比第一個方法好太多了
方法如下: (本文以FreeBSD的PvPGN 1.8.1 ports+StarCraft 1.15.2為例)
1.下載ver-ix86-1.mpq


root@ns[~]#bnftp uswest.battle.net
Connected to 63.241.83.8:6112.
filename: ver-ix86-1.mpq

Requesting info...
name: "ver-ix86-1.mpq"
changed: 2006 Aug 30 02:32:32
length: 6906 bytes

Saving to "ver-ix86-1.mpq"......done
root@ns[~]#

2.把ver-ix86-1.mpq丟到/usr/local/share/pvpgn/files/

mv ver-ix86-1.mpq /usr/local/share/pvpgn/files/

3.編輯 /usr/local/etc/pvpgn/versioncheck.conf
改Starcraft段落 把以下的拿去置換原本的

# Starcraft – Broodwar (Expansion) 1.15.2 – (Broodwar mode)
“A=2521522835 B=3428392135 C=218673704 4 A=A^S B=B-C C=C+A A=A-B”
“ver-ix86-1.mpq”
IX86
SEXP
“StarCraft.exe 01/10/08 20:23:42 1220608”
0x000000d1
1.15.2.1
0x8fbdf18d
SEXP_1152

# Starcraft – Broodwar (Expansion) 1.15.2 – (Starcraft mode)
“A=2521522835 B=3428392135 C=218673704 4 A=A^S B=B-C C=C+A A=A-B”
“ver-ix86-1.mpq”
IX86
STAR
“StarCraft.exe 01/10/08 20:23:42 1220608”
0x000000d1
1.15.2.1
0x8fbdf18d
STAR_1152

# Starcraft (Standalone) 1.15.2
“A=2521522835 B=3428392135 C=218673704 4 A=A^S B=B-C C=C+A A=A-B”
“ver-ix86-1.mpq”
IX86
STAR
“StarCraft.exe 01/08/08 23:45:36 1220608”
0x000000d1
1.15.2.0
0x91c0f907
STAR_1152

存檔,重新啟動PvPGN就好囉~

參考資料:[1][2]
感謝Pelish的versioncheck