ExistedGit / Dota2Cheat

A dota 2 cheat project aiming to provide an educational example to new developers
GNU General Public License v3.0
117 stars 42 forks source link

Dota2Cheat.vcxproj build error #153

Closed someuser32 closed 1 year ago

someuser32 commented 1 year ago
"E:\VisualStudio\d2c\Dota2Cheat-main\Dota2Cheat.sln" (default target) (1) ->
"E:\VisualStudio\d2c\Dota2Cheat-main\Dota2Cheat\Dota2Cheat.vcxproj" (default target) (2) -> (ClCompile target) ->
  E:\VisualStudio\d2c\Dota2Cheat-main\Dota2Cheat\CheatSDK\MatchStateHandling.cpp(10,4): error C2039: 'PlayerSlotToHandle': is not a member of 'C_DOTA_PlayerResource' [E:\VisualStudio\d2c\Dota2Cheat-main\Dota2Cheat\Dota2Cheat.vcxproj]
  E:\VisualStudio\d2c\Dota2Cheat-main\Dota2Cheat\CheatSDK\MatchStateHandling.cpp(14,14): error C3536: 'player': cannot be used before it is initialized [E:\VisualStudio\d2c\Dota2Cheat-main\Dota2Cheat\Dota2Cheat.vcxproj]
  E:\VisualStudio\d2c\Dota2Cheat-main\Dota2Cheat\CheatSDK\MatchStateHandling.cpp(19): error C3536: 'hero': cannot be used before it is initialized [E:\VisualStudio\d2c\Dota2Cheat-main\Dota2Cheat\Dota2Cheat.vcxproj]
  E:\VisualStudio\d2c\Dota2Cheat-main\Dota2Cheat\CheatSDK\MatchStateHandling.cpp(22,14): error C2665: 'std::_Tree<std::_Tset_traits<_Kty,_Pr_Alloc,false>>::insert': no overloaded function could convert all the argument types [E:\VisualStudio\d2c\Dota2Cheat-main\Dota2Cheat\Dota2Cheat.vcxproj]
  E:\VisualStudio\d2c\Dota2Cheat-main\Dota2Cheat\CheatSDK\MatchStateHandling.cpp(38,99): error C2039: 'GetLocalPlayerSlot': is not a member of 'CEngineClient' [E:\VisualStudio\d2c\Dota2Cheat-main\Dota2Cheat\Dota2Cheat.vcxproj]
ExistedGit commented 1 year ago

I think I messed up the committed files

Will fix soon