Skip to content

Commit

Permalink
- updated to visual studio 2015 compatibility
Browse files Browse the repository at this point in the history
- updated to latest hadesmem
- updated readme
  • Loading branch information
namreeb committed Aug 6, 2015
1 parent 1e2728b commit b8c4461
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 13 deletions.
8 changes: 8 additions & 0 deletions README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ To cast a spell at your current mouseover target using this tool, create a macro
format "/script CastSpellAtMouseover(x)" where x is the numerical id of the spell you
wish to cast.

To launch, run loader.exe -p c:\path\to\wow.exe (or just loader.exe with it inside the
main wow folder)

Note that while this makes no malicious changes to the WoW client, it could easily be
mistaken as malicious by the primitive anticheats in use on most vanilla private
servers. This program contains absolutely no protection against anticheat software.
Expand All @@ -21,4 +24,9 @@ Kronos / Twinstar has said that while they do not support client modification, t
will not specifically target this mod. Refer to this thread:
http://forum.twinstar.cz/showthread.php/97154-Planning-to-release-a-wow-mod-Will-it-get-people-banned

Nostalrius declined to answer my inquiry. While they are not currently doing anything
that would cause this to be detected, the modifications are detectable if they decide
to take the time to do it. For reference, this is the thread where I posed the question:
http://forum.nostalrius.org/viewtopic.php?f=6&t=14117

USE AT YOUR OWN RISK
10 changes: 5 additions & 5 deletions loader/loader.vcxproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.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">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
Expand All @@ -18,13 +18,13 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
Expand All @@ -48,7 +48,7 @@
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>libasmjit.lib;libudis86.lib;shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>asmjit.lib;udis86.lib;shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Expand All @@ -64,7 +64,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>libasmjit.lib;libudis86.lib;shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>asmjit.lib;udis86.lib;shlwapi.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions nampower.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.21005.1
# Visual Studio 14
VisualStudioVersion = 14.0.23107.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nampower", "nampower\nampower.vcxproj", "{ADBF135C-6D72-4F02-98B9-17B5C9BC5B9E}"
EndProject
Expand Down
2 changes: 1 addition & 1 deletion nampower/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ BOOL WINAPI DllMain(HINSTANCE, DWORD, LPVOID);
// our function and initialize the lua ToNumber pointer for later.
// we also check to see if we are already in-game (in the case of injection
// into a running process). if we are, register the lua function immediately.
extern "C" HADESMEM_DETAIL_DLLEXPORT DWORD Load()
extern "C" __declspec(dllexport) DWORD Load()
{
const hadesmem::Process process(::GetCurrentProcessId());

Expand Down
10 changes: 5 additions & 5 deletions nampower/nampower.vcxproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="12.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">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
Expand Down Expand Up @@ -29,13 +29,13 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v120</PlatformToolset>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
Expand All @@ -59,7 +59,7 @@
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>libasmjit.lib;libudis86.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>asmjit.lib;udis86.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
Expand All @@ -75,7 +75,7 @@
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>libasmjit.lib;libudis86.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>asmjit.lib;udis86.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Expand Down

0 comments on commit b8c4461

Please sign in to comment.