[C# code OOP] Enumerating the quest log. menu

User Tag List

Results 1 to 1 of 1
  1. #1
    pladi's Avatar Member
    Reputation
    4
    Join Date
    Jan 2009
    Posts
    11
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [C# code OOP] Enumerating the quest log.

    Hey all

    So i sat down the other day, wanting to implement some kind of questing framework in my current bot, and as i saw some threads a while ago with some questions regarding how to determine whether a quest was completed, i decided to release my version (even though it might not be very pretty, and i didn't really bother with naming variable names properly).
    It currently determines: id's, names, completed status and number of rewards to choose from when turning in the quest and whether the player has a specific quest.
    Hope it might help someone.

    Link to the trunk:
    QuestLog source

    how i currently keep my quest log:
    PHP Code:
    public static List<Quests.PlayerQuestQuestLog
            
    {
                
    get
                
    {
                        List<
    Quests.PlayerQuesttemp = new List<Quests.PlayerQuest>();
                        for (
    int i 0Quests.NumQuestLogEntriesi++)
                        {
                            
    Quests.PlayerQuest qe = new Quests.PlayerQuest(i);
                            if (!
    qe.IsHeader)
                            {
                                
    temp.Add(qe);
                            }
                        }
                        return 
    temp;
                }
            } 
    Note: I haven't been able to test all cases of the switch statement properly, so it might not work 100%.

    Big credits to Tanaris and Apoc for posting about how to determine what quests has allready been completed!

    [C# code OOP] Enumerating the quest log.

Similar Threads

  1. Replies: 2
    Last Post: 06-14-2011, 01:49 PM
  2. Replies: 0
    Last Post: 06-12-2011, 10:32 PM
  3. [Guide] [quest] quest log will be wiped on the next patch
    By bisbolo in forum World of Warcraft Guides
    Replies: 3
    Last Post: 11-22-2010, 10:32 AM
  4. How to get ontop of the middle log in WSG
    By myojinyahiko in forum World of Warcraft Exploits
    Replies: 3
    Last Post: 12-23-2007, 04:46 AM
  5. Get to the quest givers outside C'thun.
    By Cavisty in forum WoW ME Questions and Requests
    Replies: 0
    Last Post: 09-18-2006, 10:23 PM
All times are GMT -5. The time now is 02:02 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