Browse Source

Fixed bug from port

master
Lolwutt 8 years ago
parent
commit
1c75fdd3d1
  1. BIN
      No-ckback.VC.db
  2. 2
      No-ckback/Main.cpp
  3. 340
      No-ckback/No-ckback.vcxproj
  4. BIN
      release/plugins/No-ckback.dll

BIN
No-ckback.VC.db

Binary file not shown.

2
No-ckback/Main.cpp

@ -36,7 +36,7 @@ bool Nockback::HandleIncomingPacket(uint16_t id, uint32_t size, void* data, void
uint16_t startBit = 150; uint16_t startBit = 150;
for (int i = 0; i < targetNum; i++) for (int i = 0; i < targetNum; i++)
{ {
packBitsBE((unsigned char*)data, 0, startBit + 60, 3); packBitsBE((unsigned char*)modified, 0, startBit + 60, 3);
if (unpackBitsBE((unsigned char*)data, startBit + 121, 1) & 0x1) if (unpackBitsBE((unsigned char*)data, startBit + 121, 1) & 0x1)
{ {
startBit += 37; startBit += 37;

340
No-ckback/No-ckback.vcxproj

@ -1,169 +1,173 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations"> <ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32"> <ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration> <Configuration>Debug</Configuration>
<Platform>Win32</Platform> <Platform>Win32</Platform>
</ProjectConfiguration> </ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32"> <ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration> <Configuration>Release</Configuration>
<Platform>Win32</Platform> <Platform>Win32</Platform>
</ProjectConfiguration> </ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64"> <ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration> <Configuration>Debug</Configuration>
<Platform>x64</Platform> <Platform>x64</Platform>
</ProjectConfiguration> </ProjectConfiguration>
<ProjectConfiguration Include="Release|x64"> <ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration> <Configuration>Release</Configuration>
<Platform>x64</Platform> <Platform>x64</Platform>
</ProjectConfiguration> </ProjectConfiguration>
</ItemGroup> </ItemGroup>
<PropertyGroup Label="Globals"> <PropertyGroup Label="Globals">
<ProjectGuid>{9430017C-9E01-4954-B378-81CB23EB8C31}</ProjectGuid> <ProjectGuid>{9430017C-9E01-4954-B378-81CB23EB8C31}</ProjectGuid>
<Keyword>Win32Proj</Keyword> <Keyword>Win32Proj</Keyword>
<RootNamespace>Nockback</RootNamespace> <RootNamespace>Nockback</RootNamespace>
<WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion> <WindowsTargetPlatformVersion>8.1</WindowsTargetPlatformVersion>
</PropertyGroup> </PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType> <ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries> <UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset> <PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet> <CharacterSet>Unicode</CharacterSet>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType> <ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries> <UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140_xp</PlatformToolset> <PlatformToolset>v140_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization> <WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet> <CharacterSet>MultiByte</CharacterSet>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType> <ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries> <UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset> <PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet> <CharacterSet>Unicode</CharacterSet>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType> <ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries> <UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset> <PlatformToolset>v140_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization> <WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet> <CharacterSet>MultiByte</CharacterSet>
</PropertyGroup> </PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" /> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings"> <ImportGroup Label="ExtensionSettings">
</ImportGroup> </ImportGroup>
<ImportGroup Label="Shared"> <ImportGroup Label="Shared">
</ImportGroup> </ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup> </ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup> </ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup> </ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" /> <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup> </ImportGroup>
<PropertyGroup Label="UserMacros" /> <PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental> <LinkIncremental>true</LinkIncremental>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental> <LinkIncremental>true</LinkIncremental>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental> <LinkIncremental>false</LinkIncremental>
<OutDir>..\..\..\..\..\..\..\..\Ashita 3\plugins</OutDir> <OutDir>..\..\..\..\..\..\..\..\Ashita 3\plugins</OutDir>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental> <LinkIncremental>false</LinkIncremental>
</PropertyGroup> <OutDir>..\..\..\..\Ashita 3\plugins</OutDir>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> </PropertyGroup>
<ClCompile> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<PrecompiledHeader> <ClCompile>
</PrecompiledHeader> <PrecompiledHeader>
<WarningLevel>Level3</WarningLevel> </PrecompiledHeader>
<Optimization>Disabled</Optimization> <WarningLevel>Level3</WarningLevel>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;NOCKBACK_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> <Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck> <PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;NOCKBACK_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile> <SDLCheck>true</SDLCheck>
<Link> </ClCompile>
<SubSystem>Windows</SubSystem> <Link>
<GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Windows</SubSystem>
<ModuleDefinitionFile>Exports.def</ModuleDefinitionFile> <GenerateDebugInformation>true</GenerateDebugInformation>
</Link> <ModuleDefinitionFile>Exports.def</ModuleDefinitionFile>
</ItemDefinitionGroup> </Link>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'"> </ItemDefinitionGroup>
<ClCompile> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<PrecompiledHeader> <ClCompile>
</PrecompiledHeader> <PrecompiledHeader>
<WarningLevel>Level3</WarningLevel> </PrecompiledHeader>
<Optimization>Disabled</Optimization> <WarningLevel>Level3</WarningLevel>
<PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;NOCKBACK_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> <Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck> <PreprocessorDefinitions>_DEBUG;_WINDOWS;_USRDLL;NOCKBACK_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile> <SDLCheck>true</SDLCheck>
<Link> </ClCompile>
<SubSystem>Windows</SubSystem> <Link>
<GenerateDebugInformation>true</GenerateDebugInformation> <SubSystem>Windows</SubSystem>
<ModuleDefinitionFile>Exports.def</ModuleDefinitionFile> <GenerateDebugInformation>true</GenerateDebugInformation>
</Link> <ModuleDefinitionFile>Exports.def</ModuleDefinitionFile>
</ItemDefinitionGroup> </Link>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> </ItemDefinitionGroup>
<ClCompile> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<WarningLevel>Level3</WarningLevel> <ClCompile>
<PrecompiledHeader> <WarningLevel>Level3</WarningLevel>
</PrecompiledHeader> <PrecompiledHeader>
<Optimization>Full</Optimization> </PrecompiledHeader>
<FunctionLevelLinking>false</FunctionLevelLinking> <Optimization>Full</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions> <FunctionLevelLinking>false</FunctionLevelLinking>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;NOCKBACK_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> <IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck> <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;NOCKBACK_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<MultiProcessorCompilation>true</MultiProcessorCompilation> <SDLCheck>true</SDLCheck>
<StringPooling>true</StringPooling> <MultiProcessorCompilation>true</MultiProcessorCompilation>
<ExceptionHandling>Async</ExceptionHandling> <StringPooling>true</StringPooling>
</ClCompile> <ExceptionHandling>Async</ExceptionHandling>
<Link> </ClCompile>
<SubSystem>Windows</SubSystem> <Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding> <SubSystem>Windows</SubSystem>
<OptimizeReferences>true</OptimizeReferences> <EnableCOMDATFolding>true</EnableCOMDATFolding>
<GenerateDebugInformation>true</GenerateDebugInformation> <OptimizeReferences>true</OptimizeReferences>
<ModuleDefinitionFile>Exports.def</ModuleDefinitionFile> <GenerateDebugInformation>true</GenerateDebugInformation>
</Link> <ModuleDefinitionFile>Exports.def</ModuleDefinitionFile>
</ItemDefinitionGroup> </Link>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'"> </ItemDefinitionGroup>
<ClCompile> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<WarningLevel>Level3</WarningLevel> <ClCompile>
<PrecompiledHeader> <WarningLevel>Level3</WarningLevel>
</PrecompiledHeader> <PrecompiledHeader>
<Optimization>MaxSpeed</Optimization> </PrecompiledHeader>
<FunctionLevelLinking>true</FunctionLevelLinking> <Optimization>Full</Optimization>
<IntrinsicFunctions>true</IntrinsicFunctions> <FunctionLevelLinking>false</FunctionLevelLinking>
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;NOCKBACK_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions> <IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck> <PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;NOCKBACK_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
</ClCompile> <SDLCheck>true</SDLCheck>
<Link> <MultiProcessorCompilation>true</MultiProcessorCompilation>
<SubSystem>Windows</SubSystem> <StringPooling>true</StringPooling>
<EnableCOMDATFolding>true</EnableCOMDATFolding> <ExceptionHandling>Async</ExceptionHandling>
<OptimizeReferences>true</OptimizeReferences> </ClCompile>
<GenerateDebugInformation>true</GenerateDebugInformation> <Link>
<ModuleDefinitionFile>Exports.def</ModuleDefinitionFile> <SubSystem>Windows</SubSystem>
</Link> <EnableCOMDATFolding>true</EnableCOMDATFolding>
</ItemDefinitionGroup> <OptimizeReferences>true</OptimizeReferences>
<ItemGroup> <GenerateDebugInformation>true</GenerateDebugInformation>
<None Include="Exports.def" /> <ModuleDefinitionFile>Exports.def</ModuleDefinitionFile>
</ItemGroup> </Link>
<ItemGroup> </ItemDefinitionGroup>
<ClCompile Include="Main.cpp" /> <ItemGroup>
</ItemGroup> <None Include="Exports.def" />
<ItemGroup> </ItemGroup>
<ClInclude Include="DSP-Utils.h" /> <ItemGroup>
<ClInclude Include="No-ckback.h" /> <ClCompile Include="Main.cpp" />
</ItemGroup> </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> <ItemGroup>
<ImportGroup Label="ExtensionTargets"> <ClInclude Include="DSP-Utils.h" />
</ImportGroup> <ClInclude Include="No-ckback.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project> </Project>

BIN
release/plugins/No-ckback.dll

Binary file not shown.
Loading…
Cancel
Save