Odd C++ request. menu

Shout-Out

User Tag List

Results 1 to 5 of 5
  1. #1
    houseplant2's Avatar Active Member
    Reputation
    50
    Join Date
    Feb 2007
    Posts
    195
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Odd C++ request.

    I was wondering if someone with some coding knowledge could help me. I want a script for my server that will (when you complete a quest) have an npc lower your characters level to 1. so if you are maxed at level 70 or 80 you can do some long hard retarded quest and it will reroll your character to level 1. I would need the level, level xp, and defense skill reset. i can work everything else out i think. i just dont know how to get an npc to do this. i dont even know if this is possible. im not a coder. i cant use lua. needs to be c++. either a script i can compile or an alteration i can make to my core. doesnt seem like it would be awfully hard as there are already gm commands to do this. i just want an npc to do it when a person finishes a particular quest. kinda like in conquer online. but like i said it sounds like it wouldnt be hard but then i really wouldnt know. any help would be appreciated. thanks!
    Last edited by houseplant2; 02-08-2009 at 08:13 PM.

    Odd C++ request.
  2. #2
    Link_S's Avatar Member
    Reputation
    125
    Join Date
    Dec 2008
    Posts
    293
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think it is able to do a Quest Script in Lua also.

  3. #3
    houseplant2's Avatar Active Member
    Reputation
    50
    Join Date
    Feb 2007
    Posts
    195
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    cool. but i cant use lua.

  4. #4
    Gastricpenguin's Avatar Legendary
    Reputation
    980
    Join Date
    Feb 2007
    Posts
    2,236
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    #include "StdAfx.h"
    #include "Setup.h"
    
    void OnQuestFinished(Player * pPlayer, Quest * pQuest)
    {
        if(pQuest->id == QUESTID)
        {
            //Whatever you want. I'm not doing it for you.
            return;
        }
    }
    void SetupQuests(ScriptMgr * mgr)
    {
        mgr->register_hook(SERVER_HOOK_EVENT_ON_QUEST_FINISHED, (void*)&OnQuestFinished);
    }
    Life Puzzler WoW - Website | Forums

  5. #5
    houseplant2's Avatar Active Member
    Reputation
    50
    Join Date
    Feb 2007
    Posts
    195
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thats cool thanks. I dont know C++. i know enough about programming to make the occaisional modification but something like this i dont know how to do. Thats why i made a request. was hoping someone who knows could throw me a bone. thanks for what you did tho. smore then i can do.

Similar Threads

  1. [request] a rather odd but simple request
    By gengar in forum WoW ME Questions and Requests
    Replies: 3
    Last Post: 05-14-2008, 03:25 PM
  2. Joana Mancow Leveling Video Request Thread
    By Matt in forum World of Warcraft General
    Replies: 31
    Last Post: 11-19-2006, 02:54 PM
  3. A few requests :)
    By rabownsyou in forum World of Warcraft General
    Replies: 0
    Last Post: 06-16-2006, 11:57 PM
  4. [Request] Fishing Bot Guide
    By Cush in forum World of Warcraft General
    Replies: 7
    Last Post: 06-01-2006, 08:26 AM
  5. [Program Request] 1.9.0 hack
    By lopolop in forum World of Warcraft General
    Replies: 1
    Last Post: 05-17-2006, 09:41 PM
All times are GMT -5. The time now is 07:20 AM. 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