Other Tab Complete

This has a been a busy week at work and that translates to a slow week at code. I've been wanting to get the Animations Tab complete, but since I need to get with UUICEO to help with it, I've just lagged it behind me. However, I got a chance to do some code work today and have successfully completed the Other Tab.

The current function of the Other Tab no longer pulls in the data when you first start the GUE. While I didn't think there was that much to be set in the Other Tab removing the on load read of the data did increase the speed of load up. Once you click to open the acctual tab it will pull the data from the database and update the display. This is both to ensure what you are looking at is the latest version of the data incase someone has updated it since the time you opened the GUE. I have also changed teh way that the system saves changes entered into the Other Tab. This did provide a small change in the speed.

Started on Combat Tab today. Didn't make it very far. Just starting documenting the way the original GUE read the data from the dat files. I should however have the databast table done later tonight and will knock out the functions of the Combat Tab shortly after that.

More updates this weekend. I hope to have a Beta ready for testers. This will be a closed Beta, so if your interested drop me a line, I'll only pick a few people, so hurry.

--Look at a brick and say, 'I can do that better.' Why? Because I can!--
Demotis Silvermoon

Quote
I am disappointed that my parents didn't give birth to a porn star.

-Rufus Wainwright

RCS:TE Optimizations

Spent a lot of time last night and today looking at the primary loop that controls all the functions, keystrokes and mouse clicks in the GUE. I really didn't like it. I can see that as features were added there were changes made that worked, but not the best that they could. While the changes I made are not what I would consider massive they did provide a small boost to performance. The mouse now tracks a little better in window mode and the system responds a little faster to events like key press and mouse click. Changing tabs is much faster also.

I'd like to point out that those of you with faster systems will not see that much of an improvement. My test machine, however, is a 2.4Ghz with a G'Force FX 5200. This is not what I consider to be a base, but it's a good bottom.

Working on the Animations. I have the list building dynamic now, in both the Animations Tab and the Actors Tab. So each time you go into a tab the list is built from the latest data. Still don't have any of the Animation "storage" functions working yet. I need to get my my Lead Blitz programmer and have him write up the code to retrieve the data from the strings passed back from the database. More on this later.

I just an image of changes that are being made to the Team Tab. The chat box has been cleaned up, and an Online Users has been added. In the Online Users box there is also a list of where the user is currently located. So that if a tab is locked you can easily find out who is using a certain tab.

This is all I have right now. I know it's not much but I wanted to keep everyone up to date as of the progress.

--Look at a brick and say, 'I can do that better.' Why? Because I can!--
Demotis Silvermoon

Quote
Everything I do, I feel is genius. Whether it is or it isn't.

-Rufus Wainwright

Reached a Mile Stone

In the last few weeks we have made some major progress on the RCS: Team Edition GUE. Lets look at some highlights:
  1. Enabled a User Account System with Login
  2. Enabled a Tab Locking system to "Limit" the users so to prevent two users in the same tab, and in effect preventing accidental over writes.
  3. Converted the Particles Tab to Database
  4. Added a Rename feature to the Particles Tab
  5. Converted the Media Tab to Database
  6. Added an Active (In GUE) Button to the Projects Tab that allows users to update their local store of assets, and the Media List
  7. Added FTP access to the Media Tab to allow for a central store of assets, a store that creates a random name for the file that has nothing in common with the original file name for limited security for public FTP sites.
I'd like to stop here and remind you that we are not encrypting the files at this point. We did make it so that a normal Internet user can not just look at the file and know what it is. However, security starts with you. Use a limited access user account with a strong password.

  1. Added File Compression to the upload and download of the files from the FTP server to save bandwidth and time
  2. Added File Checking and updating so that only files needed are downloaded.
  3. Added Media Asset Updating so that media and/or their related tags can be updated without risk of changing the Media ID
  4. Added a Team Tab that currently holds the first of the new team related features
  5. Added Team Chat that is based on Database, so that all users will receive messages that were posted while they were offline.
In all I'm proud of the work we have done so far. We have a great team that works together very well and I have no doubt that there will be some major changes, minor improvements and much much progress in the weeks ahead.

Thank you everyone that is coming to the site. I know you are here, but you have not made your presence known as of yet. So please post some comments, good or bad I'd like to know what you think.

To the Horizon...

Looking ahead I see that this week will hold some easy footholds for the team. We will be slashing through some easy jungle as we head to the Mystic and Mysterious "TAB OF ZONES". lol. I know that one is going to be the hardest and for good reason I plan on making some major, major changes to it. Not sure how those plans are going to be coded at this point, but we'll will see. In the meantime, Projectiles, Combat, Faction, Animation, Attributes and Other will be my next victims. These are mostly static data with no major rewrites needed to make them DB Ready. I will make them dynamic like all the other tabs, but not expecting it to be a major challenge.

And To leave you today I would like to display some screen shots. Nothing major, and owners of RC Standard will find most of them most familiar. But look close and you can see the small changes.

Media Tab: This file was added by another user. Downloaded automatically by my GUE and correctly displayed. You can see that I widened the Lists to allow the room needed to add the Update Asset Button. In case your wondering, folder upload is supported.

Team Tab: This is a completely new tab. As you can see we have added in the boxes needed for the Chat to function. Had there been any new messages since the last time I checked they would be in the Box. Also any real time messages will appear while I'm logged in. Will support Private messages as well.

Projectiles Tab: To the normal user this tab is almost the same. It functions the same, does all the normal same things like allowing you to edit your games particles. However, as it is completely Database driven you will see a small speed up and a more dynamic function. You can also see the new button. "Change Name" Something that always bothered one of our developers was the lack of a "Change Name" button. Well, now you have it.

Project Tab: Not much different here. Just a single button at the bottom of the list. That button carries great power, the power of Media Update. So that when your Modeler uploads the latest Actor, and your texture artists puts up 3 new skins for him, all you need to do is click on this little button and the entire Media Asset list and local cached files will be updated to the latest and greatest. No logging out, no manual downloads or Instant Messenger transfers.

Last we have the Login Prompt. When you first open the RCS:TE GUE you will be greeted with this little window asking for your user name and password. Without it you will not even be allowed to open the main window. Not a good thing for you, but it's a great thing when someone gets on your computer and can't leave things alone. You know who you are, and we are watching your every move. HAHAHAHAHA...... ummm...ok... moving on.

Well that is all I have for you today. Hope you enjoy what you see. I know it's not much, but it's proof that development is progressing and we are on track.

--Look at a brick and say, 'I can do that better.' Why? Because I can!--
Demotis Silvermoon

Quote
Unless you want to be counting the fingers you haven't got.....
-Barry "The Baptist"
from Lock, Stock and Two Smoking Barrels

Media Tab Progress

We were having a major issue with storing the asset files to Database BLOBs, ok not so much storing them there but getting the BLOB back to a file in Bliz3D was just killings us. Never fear we do have a work around, FTP. :)

Anywho...

We worked in a simple FTP function that allows us to automatically upload the files to an FTP server so that Team Members can have access to any media as it's made available. Don't worry about having to download the files manually, this will be handled by the internal update function of the RCS:TE GUE. I need to ask my Lead Blitz Programmer, but I think we will be adding in a zipping function to the upload/download of the files so that we can save as much space as possible, and in turn save the bandwidth to the server. More on that later.

Moving on...

I now have the media dialogs pulling from the database. They go much faster now than they ever did in the flat files. This alone has cut back the load time of the RCS:TE GUE considerably. The changing media types are much faster than they were before, also.

I have the ADD button working. I did see a small performance change here, but not so much that it's worth harping on. The original code did have a few loops that are no longer needed, so I think as more media is added to the project the speed performance over the old method will be appreciated.

Here was a major performance boost for the overall "Media Tab Experience". The REMOVE Button is working. The old way of removing a file was slow, and the more media you had total made it even slower. Sure we maybe talking in seconds here, but that is slow when almost everything else is measured in Milliseconds. The new method is almost instant.

I've started planning out the UPDATE feature. This will be a new feature of the RCS:TE that will allow you to update an asset, or anything about the asset, but keep it's original file ID. This will come in handy when changing out textures, as you will no longer need to update actors or rework scripts that rely on these IDs. Another good use of this feature will be the ability to update meshs without having to delete the ID. This will be helpful in play testing actors or updating animations.

Next Up...

I hope to have the Media Tab finished by the end of today (Sunday) and will be moving on to the Projectiles Tab. I think this one is going to be fun to do as it relies on data stored in the background variables of the Particles Tab. Since the Particles are 100% stored in the database now and all the lists are now dynamic I think it's going to be interesting to see how I can update the select lists in the Projectiles Tab. More on this later.

--Look at a brick and say, 'I can do that better.' Why? Because I can!--
Demotis Silvermoon

Quote
And I find it kind of funny
I find it kind of sad
The dreams in which I'm dying
Are the best I've ever had

-Mad World by Gary Jules

End of Yet Another Day

Not a lot went on today. Spent most of it figuring out how this site works and setting it up the way that I like. Based on the default stuff they give you I think it looks ok for now.

I did, however, get the chance to start on the Media Tab. The original method I was going to use to store the data in the database did not seem to fit well with the way the original code was written. And since I'm using as much of the original code as possible for version 1.0 I had to rethink the tables. As it would have it I came up with a better method that did not involve so many FOR loops. This will be a huge performance increase when adding or deleting media assets.

The effect is that I needed to pre-populate the database with place holders for each of the 4 media types. The 262,000 INSERT calls took a little while to complete. Somewhere in the range of 6 hours. But it's done and my initial tests show good promise.

I started the work on rewriting the MediaDialogs to use the database when building. Have not got very far on that but I have documented all the functions involved and have looked them over. Doesn't seem to be too complex and I hope to have that done tomorrow.

A big thorn, or so I thought, was going to be uploading and retrieving the binary of the media files to the Database.
I guess this would be a good time to explain that. When you add an asset to the GUE it will function like normal as that it copies the file (if it's not already in the correct folders) to the Data\Meshes folder in the project. Then it uploads the file to the database as a BLOB. This is so that once a user logs in, or uses the "Update Media" button in the RCS:TE they will check each asset, to see if they already have a copy, and update if they do not. This is so that all Team Members will have the same assets, and they use a local copy for loading speed.
Back to my little thorn. So I gave UUICEO the SQL calls to pull and add the BLOB. We were having some real issues with it. We could not seem to get the database to accept the file. But there is a ray of light. Just as UUICEO was going to bed, I had already got off Skype Call with him, he sends me an IM with the code that works. :) Words can not explain how happy I am. This was a major feature and I was getting to the point where I thought we was going to have to scrap it. But we are not out of the woods yet. It now seems that we can write to the Database, but getting the BLOB back to a file might be a little harder. We'll just have to wait to tomorrow to find out.

That's all I got for now. If you are reading this drop in a comment. I'd like to know that someone is reading it, even if you don't like the project.

--Look at a brick and say, 'I can do that better.' Why? Because I can!--
Demotis Silvermoon

Quote:
Your so much cooler, when you never pull it out.
You look so much cuter, with something in your mouth.
-Nickelback

Here's a Start

I've been keeping a few of my friends up to date on the progress of the Realm Crafter Standard: Team Edition that I'm working on when one of them said...
Man, You should create a blog about this and put it in your signature on the RC Forum.
You see there are two problems with that.
  1. No one on RC knows about me working on this, except Dragon as I got his permission first.
  2. I hate blogs and think that bloggers are a bread of mutants that have devolved to a lower state of human existence.
Of course I told him that. The second point, not the first, as I thought it would be my best argument. That's when he reminded me that Cre8tor, Dreamora and Mr. Bill all have their blogs about RC Development stuff. While I don't consider them to be any part of a lower state of human, I still stand behind my first impression. In fact just writing this opening post I feel my very DNA changing. Kind of tingly if I must say so myslef :) .

Anywho...

So here is where I start and give you a little idea of what I'm doing, what it is, what it does different (maybe even better), how it does it better and of course where we're at in the development. Lets get started.

What is Team Edition?
Realm Crafter Standard: Team Edition (RCS:TE), is a rewrite of the functions in the Realm Crafter Grand Unified Editor (GUE) that read and write data to the DAT files. If you don't know the DAT files are the core method that Realm Crafter Stardard (RCS) uses to store all the information entered into the GUE and is used by the Server and Client to "create" the game. The changes are to convert the normal use of the GUE to a Database back-end instead of the DAT Files. This will allow the members of a team work on a project in real-time over a network or internet. Something that is not easily done with the normal GUE. It will include fail-safe features so that users can not over-write anothers changes (at least limit this activity) and provide Project Administrators with the ability to limit access to certain areas of the GUE.

Where are we in the development process?
We started with what I felt was one of the more difficult tabs, Particles. Currently we have the ability to pull the particle list from the Database in real-time, pull the viewed particle config from the Database, Save, Create, Delete and have added the ability to Rename an existing particle. This has been tested in a multi-user environment and it's working 100% with no bugs (that we know of) at this point.

We have added the start of the tab locking function. This will lock out a tab once a user is in it. This is to prevent other users from entering a tab and making changes that could have the potential of over-writing each others changes. This will later progress to an item locking so that two people can be in a tab together, but not able to edit the same item. This will allow for a more multi-user experience.

Added a new Tab for Special Team only features. Currently we only have a chat in and working. but plan on adding other features like Active Users List and Private Message.

Right now we are only using MySQL as the back-end, but we will have the option to use other database engines; on the table is support for SQLite, but other might be considered later. We have been doing all our tests using a MySQL database on one of the online hosting services. While the host does have it's own issues with the server hosting many differnet websites and our program with two active users, there is very little lag. The calls to the Database is not a source of any problems at this time.

I encourge that you post a comment, I will check them and answer any questions, and will take suggestions into serious consideration.

--Look at a brick and say, 'I can do that better.' Why? Because I can!--
Demotis Silvermoon

Quote:
Never forget. You exist only because I allow it.
-Me :)