Spontaneous
15th June 2005, 22:30
Ok right off the bat I found something built in that I dont know if it is a good thing or a bad thing. Win95IsDebuggerPresent. Hmm, PB uses the IsDebuggerPresent API in the other bf games, but this is not PB that I disasm, this is the bf2.exe. Just something that you might want to keep in mind.
BF2 uses keystate for its key setup. Just something to keep in mind for those that use trainers to sendkeys to the game.
hack-ignore-asserts. hmm
GSPunkBusterPath
pbPath
addRank
addAward
addCredit
setViewDistanceScale
setBuddytagColor
setSquadtagColor
useGlobalRank
useGlobalUnlocks
setKit
aFieldOfView
aNametagmanager
aFriendlyteamto db 'FriendlyTeamTopRed'
aEnemybrightalp db 'EnemyBrightAlpha
aEnemybrightblu db 'EnemyBrightBlue'
aEnemybrightgre db 'EnemyBrightGreen'
aEnemybrightred db 'EnemyBrightRed'
aEnemytextalpha db 'EnemyTextAlpha'
aEnemytextblue db 'EnemyTextBlue'
aEnemytextgreen db 'EnemyTextGreen
aEnemytextred db 'EnemyTextRed'
aGsfogstartenda db 'GSFogStartEndAndBase
aGsviewdistance db 'GSViewDistance'
aSetviewdistanc db 'setViewDistanceScale'
There is a lot more but I gotta goto bed. I am about 1/5th the way through the exe. Then I will go through RendDX9.dll since sparten said a lot of stuff is in there too.
BF2 uses keystate for its key setup. Just something to keep in mind for those that use trainers to sendkeys to the game.
hack-ignore-asserts. hmm
GSPunkBusterPath
pbPath
addRank
addAward
addCredit
setViewDistanceScale
setBuddytagColor
setSquadtagColor
useGlobalRank
useGlobalUnlocks
setKit
aFieldOfView
aNametagmanager
aFriendlyteamto db 'FriendlyTeamTopRed'
aEnemybrightalp db 'EnemyBrightAlpha
aEnemybrightblu db 'EnemyBrightBlue'
aEnemybrightgre db 'EnemyBrightGreen'
aEnemybrightred db 'EnemyBrightRed'
aEnemytextalpha db 'EnemyTextAlpha'
aEnemytextblue db 'EnemyTextBlue'
aEnemytextgreen db 'EnemyTextGreen
aEnemytextred db 'EnemyTextRed'
aGsfogstartenda db 'GSFogStartEndAndBase
aGsviewdistance db 'GSViewDistance'
aSetviewdistanc db 'setViewDistanceScale'
There is a lot more but I gotta goto bed. I am about 1/5th the way through the exe. Then I will go through RendDX9.dll since sparten said a lot of stuff is in there too.