[Release] All talent points menu

User Tag List

Results 1 to 5 of 5
  1. #1
    LJN's Avatar Member
    Reputation
    273
    Join Date
    Jun 2007
    Posts
    731
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Release] All talent points

    This makes you have all 61 talent points when you create a new char. This C++ is for servers that edited there core so you are level 70 at creation.

    Also this was not created by me.
    It was by double_hex

    Also Im having some problems compling this with ascent r4552 if you could complie it for me that would be awesome.
    You will also get rep.

    OneCreate.cpp
    Code:
    #include "StdAfx.h"
    #include "Setup.h"
    
    #ifdef WIN32
    #pragma warning(disable:4305) // warning C4305: 'argument' : truncation from 'double' to 'float'
    #endif
    
    void oncreate(Player *Plr)
    {
    
    Plr->_UpdateMaxSkillCounts();
    Plr->SetUInt32Value(PLAYER_CHARACTER_POINTS1,61);
    Plr->_AdvanceAllSkills(375);
    
    }
    
    void Setuponcreate(ScriptMgr * mgr)
    {
    mgr->register_hook(SERVER_HOOK_EVENT_ON_FIRST_ENTER_WORLD, oncreate);
    }
    setup.cpp
    Code:
    #include "StdAfx.h"
    #include "Setup.h"
    
    #include <ScriptSetup.h>
    
    extern "C" SCRIPT_DECL uint32 _exp_get_script_type()
    {
    	return SCRIPT_TYPE_MISC;
    }
    
    extern "C" SCRIPT_DECL void _exp_script_register(ScriptMgr* mgr)
    {
        Setuponcreate(mgr);
    
    }
    
    #ifdef WIN32
    
    BOOL APIENTRY DllMain( HANDLE hModule, DWORD  ul_reason_for_call, LPVOID lpReserved )
    {
        return TRUE;
    }
    
    #endif

    setup.h

    Code:
    #ifndef INSTANCE_SCRIPTS_SETUP_H
    #define INSTANCE_SCRIPTS_SETUP_H
    
    void Setuponcreate(ScriptMgr * mgr);
    
    
    #endif
    oncreate.vcproj
    Code:
    <?xml version="1.0" encoding="Windows-1252"?>
    <VisualStudioProject
    	ProjectType="Visual C++"
    	Version="9.00"
    	Name="oncreate"
    	ProjectGUID="{495CDEBE-E216-485B-B2F1-2FC0BD9DAE7D}"
    	RootNamespace="oncreate"
    	Keyword="Win32Proj"
    	TargetFrameworkVersion="131072"
    	>
    	<Platforms>
    		<Platform
    			Name="Win32"
    		/>
    	</Platforms>
    	<ToolFiles>
    	</ToolFiles>
    	<Configurations>
    		<Configuration
    			Name="Debug|Win32"
    			OutputDirectory="......bindebugscript_bin"
    			IntermediateDirectory="2003_int_debug_oncreate"
    			ConfigurationType="2"
    			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaultsUpgradeFromVC71.vsprops"
    			CharacterSet="2"
    			>
    			<Tool
    				Name="VCPreBuildEventTool"
    			/>
    			<Tool
    				Name="VCCustomBuildTool"
    			/>
    			<Tool
    				Name="VCXMLDataGeneratorTool"
    			/>
    			<Tool
    				Name="VCWebServiceProxyGeneratorTool"
    			/>
    			<Tool
    				Name="VCMIDLTool"
    			/>
    			<Tool
    				Name="VCCLCompilerTool"
    				AdditionalOptions="/MP"
    				Optimization="0"
    				AdditionalIncludeDirectories="....ascent-shared;....ascent-world;......depinclude;......depsrc"
    				PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;SCRIPTLIB"
    				MinimalRebuild="true"
    				BasicRuntimeChecks="3"
    				RuntimeLibrary="1"
    				UsePrecompiledHeader="0"
    				WarningLevel="3"
    				Detect64BitPortabilityProblems="false"
    				DebugInformationFormat="4"
    			/>
    			<Tool
    				Name="VCManagedResourceCompilerTool"
    			/>
    			<Tool
    				Name="VCResourceCompilerTool"
    			/>
    			<Tool
    				Name="VCPreLinkEventTool"
    			/>
    			<Tool
    				Name="VCLinkerTool"
    				AdditionalDependencies="ascent-world.lib"
    				OutputFile="../../../bin/debug/script_bin/oncreate.dll"
    				LinkIncremental="2"
    				AdditionalLibraryDirectories="......bindebug"
    				GenerateDebugInformation="true"
    				ProgramDatabaseFile="../../../bin/debug/script_bin/oncreate.pdb"
    				SubSystem="2"
    				RandomizedBaseAddress="1"
    				DataExecutionPrevention="0"
    				ImportLibrary="$(OutDir)/oncreate.lib"
    				TargetMachine="1"
    			/>
    			<Tool
    				Name="VCALinkTool"
    			/>
    			<Tool
    				Name="VCManifestTool"
    			/>
    			<Tool
    				Name="VCXDCMa****ol"
    			/>
    			<Tool
    				Name="VCBscMa****ol"
    			/>
    			<Tool
    				Name="VCFxCopTool"
    			/>
    			<Tool
    				Name="VCAppVerifierTool"
    			/>
    			<Tool
    				Name="VCPostBuildEventTool"
    			/>
    		</Configuration>
    		<Configuration
    			Name="Release|Win32"
    			OutputDirectory="......binreleasescript_bin"
    			IntermediateDirectory="2003_int_release_oncreate"
    			ConfigurationType="2"
    			InheritedPropertySheets="$(VCInstallDir)VCProjectDefaultsUpgradeFromVC71.vsprops"
    			CharacterSet="2"
    			>
    			<Tool
    				Name="VCPreBuildEventTool"
    				ExcludedFromBuild="true"
    			/>
    			<Tool
    				Name="VCCustomBuildTool"
    			/>
    			<Tool
    				Name="VCXMLDataGeneratorTool"
    			/>
    			<Tool
    				Name="VCWebServiceProxyGeneratorTool"
    			/>
    			<Tool
    				Name="VCMIDLTool"
    			/>
    			<Tool
    				Name="VCCLCompilerTool"
    				AdditionalIncludeDirectories="....ascent-shared;....ascent-world;......depinclude;......depsrc"
    				PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;SCRIPTLIB"
    				RuntimeLibrary="0"
    				UsePrecompiledHeader="0"
    				WarningLevel="3"
    				Detect64BitPortabilityProblems="false"
    				DebugInformationFormat="3"
    			/>
    			<Tool
    				Name="VCManagedResourceCompilerTool"
    			/>
    			<Tool
    				Name="VCResourceCompilerTool"
    			/>
    			<Tool
    				Name="VCPreLinkEventTool"
    			/>
    			<Tool
    				Name="VCLinkerTool"
    				AdditionalDependencies="ascent-world.lib"
    				OutputFile="../../../bin/release/script_bin/oncreate.dll"
    				LinkIncremental="1"
    				AdditionalLibraryDirectories="......binrelease"
    				GenerateDebugInformation="true"
    				ProgramDatabaseFile="../../../bin/release/script_bin/oncreate.pdb"
    				SubSystem="2"
    				OptimizeReferences="2"
    				EnableCOMDATFolding="2"
    				RandomizedBaseAddress="1"
    				DataExecutionPrevention="0"
    				ImportLibrary="$(OutDir)/oncreate.lib"
    				TargetMachine="1"
    			/>
    			<Tool
    				Name="VCALinkTool"
    			/>
    			<Tool
    				Name="VCManifestTool"
    			/>
    			<Tool
    				Name="VCXDCMa****ol"
    			/>
    			<Tool
    				Name="VCBscMa****ol"
    			/>
    			<Tool
    				Name="VCFxCopTool"
    			/>
    			<Tool
    				Name="VCAppVerifierTool"
    			/>
    			<Tool
    				Name="VCPostBuildEventTool"
    			/>
    		</Configuration>
    	</Configurations>
    	<References>
    	</References>
    	<Files>
    		<Filter
    			Name="Main Resources"
    			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx"
    			UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"
    			>
    			<File
    				RelativePath="..srconcreateSetup.cpp"
    				>
    			</File>
    			<File
    				RelativePath="..srconcreateSetup.h"
    				>
    			</File>
    		</Filter>
    		<Filter
    			Name="Scripts"
    			Filter="h;hpp;hxx;hm;inl;inc;xsd"
    			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"
    			>
    			<File
    				RelativePath="..srconcreateoncreate.cpp"
    				>
    			</File>
    		</Filter>
    	</Files>
    	<Globals>
    	</Globals>
    </VisualStudioProject>
    Last edited by LJN; 05-17-2008 at 09:51 PM.

    [Release] All talent points
  2. #2
    arigity's Avatar Banned
    Reputation
    49
    Join Date
    Dec 2007
    Posts
    548
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    that seems alot of work for something as simple as talent points...

  3. #3
    LJN's Avatar Member
    Reputation
    273
    Join Date
    Jun 2007
    Posts
    731
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Lol btw I got it to complie.

  4. #4
    arigity's Avatar Banned
    Reputation
    49
    Join Date
    Dec 2007
    Posts
    548
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    uint32 Level = GetUInt32Value(UNIT_FIELD_LEVEL);
            uint32 TalentPoints;
            if(Level >= 10)
            TalentPoints = Level - 9;
    
        SetUInt32Value(PLAYER_CHARACTER_POINTS1, TalentPoints);
    add that after
    Code:
    m_FirstLogin = false;
    in player.cpp simpler. won't change any character thats already been created talent points. only works on characters after it's applied.

  5. #5
    TheSpidey's Avatar Elite User
    Reputation
    365
    Join Date
    Jan 2008
    Posts
    2,200
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just use ApplyLeveLInfo. It has level, talents, skills, and you don't need to check if it's the player's actual first login.

Similar Threads

  1. [Release] Disable all talents past 31 point (For Pre-Bc servers)
    By Pharcide in forum WoW EMU General Releases
    Replies: 0
    Last Post: 07-25-2009, 02:34 PM
  2. extra talent points?
    By SuperNinjaBob in forum World of Warcraft General
    Replies: 1
    Last Post: 05-31-2007, 06:04 PM
  3. Get your talent-points back for free!
    By needmorerep in forum World of Warcraft Exploits
    Replies: 13
    Last Post: 09-25-2006, 12:55 PM
  4. Hit points and talent points? Please help
    By hankusdankus in forum World of Warcraft General
    Replies: 6
    Last Post: 05-04-2006, 02:00 PM
All times are GMT -5. The time now is 07:37 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search