Global Node Database menu

User Tag List

Results 1 to 9 of 9
  1. #1
    SwInY's Avatar Member
    Reputation
    29
    Join Date
    Jul 2009
    Posts
    97
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Global Node Database

    Hey Guys,


    about a month ago i started to create a global database with nodes XYZ in it.
    ive decided im going to release to community and to try build up this database?

    your prob thinking, So what a database with node locations?
    there is alot you can do with this information.

    the website for the database is this
    http://botdata.wowgather.com/getlist.php

    i really dont care if there is other ones out there,
    and YES i do know there is wowhead and all them others....



    Code:
    internal static void InitRetreive()
            {
                try
                {
                    HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(sWebsite + "getlist.php");
                    myRequest.Method = "GET";
                    WebResponse myResponse = myRequest.GetResponse();
                    StreamReader sr = new StreamReader(myResponse.GetResponseStream(), System.Text.Encoding.UTF8);
    
                    string Type;
                    string Name;
                    float X;
                    float Y;
                    float Z;
                    int ZoneID;
                    int BlackList;
    
                    while (true)
                    {
                        string Line = sr.ReadLine();
                        string[] SplitLine = Line.Split(';');
    
                        Type = SplitLine[0];
                        if (Type == "END") break;
                        Name = SplitLine[1];
                        X = float.Parse(SplitLine[2]);
                        Y = float.Parse(SplitLine[3]);
                        Z = float.Parse(SplitLine[4]);
                        ZoneID = int.Parse(SplitLine[5]);
                        BlackList = int.Parse(SplitLine[6]);
    
                        if (NodeManager.DBExists(Type, Name, X, Y, Z, ZoneID) == false)
                        {
                            Utils.WriteDebug("WebManager Node Added - [{0}]   {1}, {2}, {3}", Name, X, Y, Z);
                            NodeManager.DBInsert(Type, Name, X, Y, Z, ZoneID, BlackList);
                        }
                    }
    
                    myResponse.Close();
                }
                catch (Exception e)
                {
                    Utils.WriteDebug("WebManager - Init Error - Could not retrieve Global node list [Check Debug Log]");
                    Utils.WriteDebug("WebManager - Init Error - " + e.Message);
                }
            }



    i will be making this DB bigger over time as i need to,
    if you would like the logging program to do a zone let me know
    Last edited by SwInY; 01-27-2012 at 09:21 PM.

    Global Node Database
  2. #2
    lanman92's Avatar Active Member
    Reputation
    50
    Join Date
    Mar 2007
    Posts
    1,033
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This is a brilliant idea. Thank you for making this public.

    My only recommendation would be to make the web interface more efficient. (i.e. use a binary format as opposed to string based)

  3. #3
    SwInY's Avatar Member
    Reputation
    29
    Join Date
    Jul 2009
    Posts
    97
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this will also be getting very populated in next coming couple of days. me and like 10 other people will be running the log tool and exploring.

    this is a little stats thing we have atm
    http://www.wowgather.com/

  4. #4
    miceiken's Avatar Contributor Authenticator enabled
    Reputation
    209
    Join Date
    Dec 2007
    Posts
    401
    Thanks G/R
    7/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You could throw in some work to make it more parsable, like encoding it with json?

  5. #5
    TOM_RUS's Avatar Legendary
    Reputation
    914
    Join Date
    May 2008
    Posts
    699
    Thanks G/R
    0/52
    Trade Feedback
    0 (0%)
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Yeah, XML or JSON would be nice, so me can use Serializers, something like this:
    Code:
    public enum NodeType
    {
        Herb,
        Mine
    }
    
    public class Node
    {
        public NodeType NodeType { get; private set; }
        public string Name { get; private set; }
        public float X { get; private set; }
        public float Y { get; private set; }
        public float Z { get; private set; }
        public int Zone { get; private set; }
        public int Blacklist { get; private set; }
    }
    
    class Nodes
    {
        public List<Node> MineNodes { get; private set; }
        public List<Node> HerbNodes { get; private set; }
    }
    Also, it's bad idea to store Name of the node as string because it's locale dependent and won't work on clients other then English.

  6. #6
    SwInY's Avatar Member
    Reputation
    29
    Join Date
    Jul 2009
    Posts
    97
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by TOM_RUS View Post
    Yeah, XML or JSON would be nice, so me can use Serializers, something like this:
    Code:
    public enum NodeType
    {
        Herb,
        Mine
    }
    
    public class Node
    {
        public NodeType NodeType { get; private set; }
        public string Name { get; private set; }
        public float X { get; private set; }
        public float Y { get; private set; }
        public float Z { get; private set; }
        public int Zone { get; private set; }
        public int Blacklist { get; private set; }
    }
    
    class Nodes
    {
        public List<Node> MineNodes { get; private set; }
        public List<Node> HerbNodes { get; private set; }
    }
    Also, it's bad idea to store Name of the node as string because it's locale dependent and won't work on clients other then English.
    very good idea,
    i will do this in next couple of days..

    if you could link me some info on how to export on PHP how you would like it,
    would be helpful just a push in right direction as i have never exported as such in PHP

    and yeah, we learnt the hard way about english only, had a logger who was using german lanuage package. caused problems.
    his now using english haha we found out german use "," instead of "."

    the database has went from 2.5k to 5k nodes in around 4 hours.
    so keep a eye out on it its growing fast.

    also if you would like to help be a logger let me know.
    Last edited by SwInY; 01-28-2012 at 10:08 AM.

  7. #7
    SwInY's Avatar Member
    Reputation
    29
    Join Date
    Jul 2009
    Posts
    97
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    2.5k nodes to 8.5k nodes overnight
    Last edited by SwInY; 01-28-2012 at 07:15 PM.

  8. #8
    jimmy06's Avatar Banned
    Reputation
    1
    Join Date
    Jul 2008
    Posts
    4
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you mean something like this ?

    http://www.retro-hosting.co.uk/test.php

  9. #9
    SwInY's Avatar Member
    Reputation
    29
    Join Date
    Jul 2009
    Posts
    97
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    15k nodes.

Similar Threads

  1. Quest Database
    By Soulafein in forum World of Warcraft General
    Replies: 4
    Last Post: 04-13-2007, 03:44 AM
  2. MMowned is going... evern more global!
    By Deamie in forum Community Chat
    Replies: 5
    Last Post: 04-04-2007, 10:50 PM
  3. WoW - Legends ! Guide and Database!
    By wow_pwner in forum World of Warcraft General
    Replies: 1
    Last Post: 03-18-2007, 03:27 PM
  4. Quests database for horde
    By sabotage3d in forum World of Warcraft Guides
    Replies: 2
    Last Post: 02-13-2007, 05:01 PM
  5. AB: Easy Node capping.
    By Ednasil in forum World of Warcraft Exploits
    Replies: 5
    Last Post: 09-05-2006, 10:31 PM
All times are GMT -5. The time now is 04:56 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