SetPlayerLevel(80) doesn't work :/ menu

User Tag List

Results 1 to 4 of 4
  1. #1
    XinuX's Avatar Contributor
    Reputation
    129
    Join Date
    Apr 2007
    Posts
    583
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SetPlayerLevel(80) doesn't work :/

    I'm making a NPC for setting the level of the player.
    But the SetPlayerLevel function doesn't work when i set it to 80.
    This works:
    player:SetPlayerLevel(50)
    but when i change 50 to 80:
    player:SetPlayerLevel(80)
    nothing happens ingame.
    Help please!

    SetPlayerLevel(80) doesn't work :/
  2. #2
    XxCyanidexX's Avatar Member
    Reputation
    56
    Join Date
    Nov 2008
    Posts
    138
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Here you go. This should make it work, just apply the patch to your ArcEmu folder. If your not on ArcEmu then tell me and I'll make a different one.

    Code:
    Index: trunk/src/scripts/src/LUAScripting/LUAEngine.cpp
    ===================================================================
    --- trunk/src/scripts/src/LUAScripting/LUAEngine.cpp	(revision 2386)
    +++ trunk/src/scripts/src/LUAScripting/LUAEngine.cpp	(working copy)
    @@ -4190,7 +4190,7 @@
     {
     	CHECK_TYPEID_RET(TYPEID_PLAYER);
     	uint32 level = luaL_checkint(L,1);
    -	if( level <= 70)
    +	if( level <= 80)
     	{
     		LevelInfo * Info = objmgr.GetLevelInfo(ptr->getRace(),ptr->getClass(),level);
     		if (Info != 0)

    Download:
    Filebeam - Free Fast File Hosting

  3. #3
    XinuX's Avatar Contributor
    Reputation
    129
    Join Date
    Apr 2007
    Posts
    583
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yep, i'm on arcemu, and it worked perfectly!
    Thanks a bunch! +2rep

  4. #4
    XxCyanidexX's Avatar Member
    Reputation
    56
    Join Date
    Nov 2008
    Posts
    138
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks (filler)

Similar Threads

  1. [Help] Trainer's doesn't work..
    By chanceless in forum World of Warcraft Emulator Servers
    Replies: 5
    Last Post: 04-24-2008, 01:45 PM
  2. Map Extraction Doesn't Work with vista
    By SectorSeven in forum World of Warcraft Emulator Servers
    Replies: 4
    Last Post: 01-07-2008, 12:05 AM
  3. Gold to Karazhan doesn't work,help please
    By Raijin in forum WoW ME Questions and Requests
    Replies: 2
    Last Post: 10-10-2006, 07:40 PM
  4. Patch 1.11.0 doesn't work
    By SuperSirius in forum World of Warcraft General
    Replies: 1
    Last Post: 10-10-2006, 10:51 AM
All times are GMT -5. The time now is 11:08 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