Web based content database

Information on new updates to the shard as well as what's to come
Locked
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Web based content database

Post by Red Squirrel »

I realized at the point we're at its essential that we have better documentation on the site on the custom stuff as well as non custom stuff, to make it easier to know what is available in terms of artifacts, pets, etc.

So for the next few weeks or however long it takes, I will be working on this system. Once complete, it will actually make it faster for staff to script, as I will make it so it generates the scripts for basic items like artifacts and pets. This will also ensure that documentation is consistent with the actual scripts.

Once done, I will need to populate the system, so this won't be an easy task, but once done, will be worth it.

Archived topic from AOV, old topic ID:2393, old post ID:15335
Honk if you love Jesus, text if you want to meet Him!
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Web based content database

Post by Red Squirrel »

Been working on this for past few days now. Theres still a lot left to do and I did not realize how big this was, but I hope to finish it by the end of next week, maybe before. Then I still have to populate it which may take a while but that part is not so bad.

Basically this system will replace the forum "information center" as I find that style of documentation kind of cluttered and hard to keep up to date.

Archived topic from AOV, old topic ID:2393, old post ID:15410
Honk if you love Jesus, text if you want to meet Him!
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Web based content database

Post by Red Squirrel »

Some good progress today. The arty part is pretty much done, need to start populating it to see if I missed any features. So far its good, it even generates code so when adding custom artys i just add it there first then it creates the shard code. Heres a sample. (still needs some work as you can see:P)

Code: Select all

/*
##############################
Official Age of Valor Script
http://www.uovalor.com

Generated by red squirrel using AoV ContentDB tool
##############################
*/
using System;
using Server;
using Server.Items;

namespace Server.Items
{
	
	public class  BlightGrippedLongbowRecipe : BaseRecipe
	{
	
		[Constructable]
		public BlightGrippedLongbowRecipe()
		{
		}		
		
		//overrides:		
		public override Type CraftedItem { get { return typeof(BlightGrippedLongbow); } }
		public override string artyname { get { return "Blight Gripped Longbow"; } }
		
		public override void InitRequirements()
		{
		base.InitRequirements(); //MUST be first! 
		
		//add required stuff
		
		RequiredSkills.Add(new ReqSkill(SkillName.Fletching,75));
		
		RareResources.Add(new ReqRes("Lard Of Paroxysmus",typeof(LardOfParoxysmus),1));
		
		CommonResources.Add(new ReqRes("Corruption",typeof(Corruption),10));
		
		CommonResources.Add(new ReqRes("Blight",typeof(Blight),10));
		}
			
		
		public BlightGrippedLongbow Recipe( Serial serial ) : base( serial )
		{
		}

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );		
			writer.Write( (int) 0 ); // version
		}

		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );
			int version = reader.ReadInt();
		}	
	}	
	


	public class BlightGrippedLongbow : ElvenCompositeLongbow 
	{
		
		//public override int LabelNumber{ get{ return 0; } } // Blight Gripped Longbow 

		[Constructable]
		public BlightGrippedLongbow()
		{
			Name=BlightGrippedLongbow 
			Hue = 0;
			
			Attributes.WeaponDamage=35;
			Attributes.RegenStam=3;
			Attributes.WeaponSpeed=20;
			WeaponAttributes.HitPoisonArea=20;
			 			
		}

		public BlightGrippedLongbow ( Serial serial ) : base( serial )
		{
		}

		public override void Serialize( GenericWriter writer )
		{
			base.Serialize( writer );
			writer.WriteEncodedInt( 0 ); // version
		}

		public override void Deserialize( GenericReader reader )
		{
			base.Deserialize( reader );
			int version = reader.ReadEncodedInt();
		}
	}
}




Archived topic from AOV, old topic ID:2393, old post ID:15441
Honk if you love Jesus, text if you want to meet Him!
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Web based content database

Post by Red Squirrel »

The system can now be found here:

http://www.uovalor.com/contentdb/

I also changed the home page links to reflect to that.

The system still needs to be populated with data so theres not much to see yet, but there is some content already.

Archived topic from AOV, old topic ID:2393, old post ID:15461
Honk if you love Jesus, text if you want to meet Him!
User avatar
Death
Posts: 7919
Joined: Thu Sep 30, 2004 10:12 pm

Web based content database

Post by Death »

Very very nice. I can see this being very useful.

Archived topic from AOV, old topic ID:2393, old post ID:15462
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Web based content database

Post by Red Squirrel »

Ya. I'll make you an admin account.


Once we populate everything I will retire the AoV Information Centre forum. What I'll probably do is just keep it as a dev info forum. So for those interested we'll post more in depth stuff/code on various systems, but the true accurate source of info will be the cms. Or I might just remove it completely.

Archived topic from AOV, old topic ID:2393, old post ID:15464
Honk if you love Jesus, text if you want to meet Him!
User avatar
Dumples
Posts: 484
Joined: Fri Jan 05, 2007 4:57 pm

Web based content database

Post by Dumples »

That is looking good so far. Good job.

Archived topic from AOV, old topic ID:2393, old post ID:15468
Image
User avatar
Red Squirrel
Posts: 29209
Joined: Wed Dec 18, 2002 12:14 am
Location: Northern Ontario
Contact:

Web based content database

Post by Red Squirrel »

I'm starting to populate the peerless artys.

Keep in mind the current up to date source of info is still AoV information center. Some stuff that will be added to content DB may not be obtainable, or is in a different category. (ex: there is no level 1 2 and 3 peerless artys at the moment)

Archived topic from AOV, old topic ID:2393, old post ID:15474
Honk if you love Jesus, text if you want to meet Him!
Locked