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. 12
      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 @@ -36,7 +36,7 @@ bool Nockback::HandleIncomingPacket(uint16_t id, uint32_t size, void* data, void
uint16_t startBit = 150;
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)
{
startBit += 37;

12
No-ckback/No-ckback.vcxproj

@ -47,9 +47,9 @@ @@ -47,9 +47,9 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<PlatformToolset>v140_xp</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
@ -81,6 +81,7 @@ @@ -81,6 +81,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>..\..\..\..\Ashita 3\plugins</OutDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
@ -139,11 +140,14 @@ @@ -139,11 +140,14 @@
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<Optimization>Full</Optimization>
<FunctionLevelLinking>false</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>NDEBUG;_WINDOWS;_USRDLL;NOCKBACK_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<SDLCheck>true</SDLCheck>
<MultiProcessorCompilation>true</MultiProcessorCompilation>
<StringPooling>true</StringPooling>
<ExceptionHandling>Async</ExceptionHandling>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>

BIN
release/plugins/No-ckback.dll

Binary file not shown.
Loading…
Cancel
Save