neodite
New Member
- Joined
- Oct 12, 2010
- Messages
- 498
So about a year ago I started working on something called BuddyPad.
It was going to be a text editor for creating questing profiles, just to make it faster/easier.
Now I probably am not going to start the projet up again, but thought I would make a post anyway to see if anyone would be willing to create it, I just done have the time to code anymore.
Basicly I was thinking, you would enter in the quest ID, and it would gather all the needed information from wowhead needed for a questing profile, and you would say click a button for NPC and it would auto-fill in the code with the nps name + ID.
Here is an example for someone.
I'm sure you would admit it would make creating questing profiles a lot more simple.
Reason for posting is I just found it in an old folder and thought someone might like it as a project.
It was going to be a text editor for creating questing profiles, just to make it faster/easier.
Now I probably am not going to start the projet up again, but thought I would make a post anyway to see if anyone would be willing to create it, I just done have the time to code anymore.
Basicly I was thinking, you would enter in the quest ID, and it would gather all the needed information from wowhead needed for a questing profile, and you would say click a button for NPC and it would auto-fill in the code with the nps name + ID.
Here is an example for someone.
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net;
using System.IO;
using HtmlAgilityPack;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
//Enter the Quest ID and set it as a WoWHead link
Console.WriteLine("Enter quest ID");
string ID = Console.ReadLine();
Console.WriteLine("Gathering Quest information from: http://www.wowhead.com/quest=" + ID);
//Load WoWHead and search for the quest name in <h1>
HtmlWeb web = new HtmlWeb();
HtmlDocument doc = web.Load("http://wowhead.com/quest=" + ID);
HtmlNodeCollection Qname = doc.DocumentNode.SelectNodes("//h1");
//Set QuestName as the second <h1> tag
string QuestName = (Qname[1].InnerText);
//Display information recivied
Console.WriteLine("Quest ID: " + ID);
Console.WriteLine("Quest Name: " + QuestName);
Console.WriteLine("Quest Giver: " );
Console.WriteLine("Quest Giver ID: ");
Console.ReadLine();
}
}
I'm sure you would admit it would make creating questing profiles a lot more simple.
Reason for posting is I just found it in an old folder and thought someone might like it as a project.