Esempio n. 1
0
 public DatabaseBuilder(SQLite.SQLiteConnection libra, SaintCoinach.ARealmReversed realm)
 {
     _db       = GarlandDatabase.Instance;
     _libra    = libra;
     _realm    = realm;
     Localize  = new Localize(realm);
     _instance = this;
 }
Esempio n. 2
0
 public static void ApplyNpcZoneOverrides(GarlandDatabase db)
 {
     // Some NPC locations are wrong or ambiguous - this helps.
     db.NpcZoneByNpcId[1004418] = 698;
     db.NpcZoneByNpcId[1006747] = 698;
     db.NpcZoneByNpcId[1002299] = 698;
     db.NpcZoneByNpcId[1002281] = 698;
     db.NpcZoneByNpcId[1001766] = 698;
     db.NpcZoneByNpcId[1001945] = 698;
     db.NpcZoneByNpcId[1001821] = 698;
 }
Esempio n. 3
0
        public static void CreateDiademNodes(GarlandDatabase db)
        {
            //dynamic mining = new JObject();
            //mining.id = 10000;
            //mining.type = 0;
            //mining.lvl = 60;
            //mining.name = "Node";
            //mining.zoneid = -2;
            //mining.items = new JArray(CreateNodeItem(12534), CreateNodeItem(12537), CreateNodeItem(12535), CreateNodeItem(13750));
            //db.Nodes.Add(mining);

            //dynamic quarrying = new JObject();
            //quarrying.id = 10001;
            //quarrying.type = 1;
            //quarrying.lvl = 60;
            //quarrying.name = "Node";
            //quarrying.zoneid = -2;
            //quarrying.items = new JArray(CreateNodeItem(13751));
            //db.Nodes.Add(quarrying);

            //dynamic logging = new JObject();
            //logging.id = 10001;
            //logging.type = 2;
            //logging.lvl = 60;
            //logging.name = "Node";
            //logging.zoneid = -2;
            //logging.items = new JArray(CreateNodeItem(12586), CreateNodeItem(12891), CreateNodeItem(12579), CreateNodeItem(13752));
            //db.Nodes.Add(logging);

            //dynamic harvesting = new JObject();
            //harvesting.id = 10002;
            //harvesting.type = 3;
            //harvesting.lvl = 60;
            //harvesting.name = "Node";
            //harvesting.zoneid = -2;
            //harvesting.items = new JArray(CreateNodeItem(12879), CreateNodeItem(12878), CreateNodeItem(13753));
            //db.Nodes.Add(harvesting);
        }