Register for your free account! | Forgot your password?

You last visited: Today at 13:06

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Level Up Item

Discussion on Level Up Item within the WoW Private Server forum part of the World of Warcraft category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2010
Posts: 762
Received Thanks: 85
Level Up Item

#
Ammonit is offline  
Old 08/01/2013, 23:43   #2
 
elite*gold: 0
Join Date: Feb 2011
Posts: 36
Received Thanks: 10
Code:
function SetPlayerLevel(player)
	player:SetLevel(player:GetPlayerLevel()+1)
end
Meinst du sowas?
artykalamata is offline  
Old 08/02/2013, 08:56   #3
 
funkybeatz15's Avatar
 
elite*gold: 0
Join Date: Jun 2011
Posts: 150
Received Thanks: 8
Wichtig wäre erstmal der Emulator, aber wegen dem LUA tippe ich auf Arcemu, dann erstell dir ein Script für das Item und nutz artykalamatas Script von oben.
funkybeatz15 is offline  
Old 08/02/2013, 16:54   #4
 
elite*gold: 0
Join Date: Jun 2010
Posts: 762
Received Thanks: 85
ne Trinity
Ammonit is offline  
Old 08/02/2013, 18:56   #5
 
elite*gold: 0
Join Date: Feb 2011
Posts: 36
Received Thanks: 10
Hab zwar gerade keine Möglichkeit zum testen aber ich glaub nicht, dass ich was vergessen habe.

Code:
class spell_lvlup : public SpellScriptLoader
{
    public:
        spell_lvlup() : SpellScriptLoader("spell_lvlup") {}

        class spell_lvlup_SpellScript : public SpellScript
        {
            PrepareSpellScript(spell_lvlup_SpellScript);

			 void HandleDummy(SpellEffIndex)
			 {
				Player* player = GetCaster()->ToPlayer();
				 
				player->GiveLevel(player->getLevel() + 1);
				player->InitTalentForLevel();

				player->GetSession()->SendNotification(LANG_YOURS_LEVEL_UP, ChatHandler(player).GetNameLink(player).c_str(), newLevel);
				ChatHandler(player).PSendSysMessage(LANG_YOURS_LEVEL_UP, ChatHandler(player).GetNameLink(player).c_str(), newLevel);
			 }

            void Register()
            {
                OnEffectHit += SpellEffectFn(spell_lvlup_SpellScript::HandleDummy, EFFECT_0, SPELL_EFFECT_DUMMY);
            }
        };

        SpellScript* GetSpellScript() const
        {
            return new spell_lvlup_SpellScript();
        }
};
artykalamata is offline  
Old 08/02/2013, 22:15   #6
 
elite*gold: 0
Join Date: Jun 2010
Posts: 762
Received Thanks: 85
Quote:
Originally Posted by artykalamata View Post
Code:
function SetPlayerLevel(player)
	player:SetLevel(player:GetPlayerLevel()+1)
end
Meinst du sowas?
scheint nicht zu gehen, brauche es für Elunalua.
Ammonit is offline  
Old 08/02/2013, 23:27   #7
 
elite*gold: 0
Join Date: Feb 2011
Posts: 36
Received Thanks: 10
Quote:
Originally Posted by Ammonit View Post
scheint nicht zu gehen, brauche es für Elunalua.
Du bist Witzig ich kann ja schlecht deine Gedanken lesen.

Code:
function lvlup(event, player, item)
	player:SetLevel(player:GetPlayerLevel()+1)
end

RegisterItemGossipEvent(entry, 1, "lvlup")
So in etwa sollte es gehen. "entry" noch mit der Item ID ersetzen.
artykalamata is offline  
Reply


Similar Threads Similar Threads
[Request] Edit the Highest Level & Change the Item Level
10/23/2010 - CO2 Private Server - 2 Replies
Hello Together , I have a question, how can i change the Highest level Like from 137 to 150. And the Second question how an i change the level of a Item like from 132 to 135 and from 137 to 140 =) I hope u understand my bad English*
Skil Level Need quest item called 120 NPCs l l P l steel Level NPC Providing Online
09/17/2010 - Metin2 Private Server - 1 Replies
Skil Level Need quest item called 120 NPCs l l P l steel Level NPC Providing Online l New Maplar l7/24 Yang Royal Vs.Vs 0 .. All items will Editli Events Everything here 120 LeveL ?temi l P Skil Npcsi l LeveL Veren Npc l Çelikli l Yeni Maplar l7/24 Online Come on Come on Come on Come on
Skil Level Need quest item called 120 NPCs l l P l steel Level NPC Providing Online
09/17/2010 - Metin2 Private Server - 0 Replies
Skil Level Need quest item called 120 NPCs l l P l steel Level NPC Providing Online l New Maplar l7/24 Yang Royal Vs.Vs 0 .. All items will Editli Events Everything here 120 LeveL ?temi l P Skil Npcsi l LeveL Veren Npc l Çelikli l Yeni Maplar l7/24 Online Come on Come on Come on Come on



All times are GMT +1. The time now is 13:11.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.