Sunday, December 30, 2007

Tax Example/ Mail Example

I have been working through some of the samples in this book.

The first one was a tax example:
First link is the final tax form in english, second in swedish chef.
http://76.16.47.80/js/dojoroot/bookOfDojo/samples/taxform/my_finished.html
http://76.16.47.80/js/dojoroot/bookOfDojo/samples/taxform/my_finished_swchef.html
http://76.16.47.80/js/dojoroot/bookOfDojo/samples/taxform/original_form.html

The last link is the original form before any changes. I'd like to update the tool tip on the swchef example to have swedish chef instead of english, as the tool tip is still is in english.

Based on an earlier discussion I had today I have done just that. When discussing how to change the content of the inside of a tag, I looked into the innerHTML function. It was done in the example, but for all fields except the tooltip. I had to install and use Firebug to debug as well, because I'm multitasking. =) Here is the result:

http://76.16.47.80/js/dojoroot/bookOfDojo/samples/taxform/my_finished_swchef_tooltip.html

So that is the same example from above, but I have added the tooltip done in swedish chef as well.

The second was a mail reader:

http://76.16.47.80/js/dojoroot/bookOfDojo/samples/mail/mail.html


This one is not finished, but I seen tons of potential for changing various things and adding functionality, so I will be revisiting this.

Code is here:
http://76.16.47.80/js/dojoroot/bookOfDojo/samples/mailTax.tar

Wednesday, December 26, 2007

Playing with Dojo

Christmas has passed and New Year's is almost here, so I can finally get around to playing with some web stuff.

I started out by doing a quick install of dojo:
and moved on to a rousing Hello World example:

For my next example I will have to think of something more creative and interactive to do.








My web server has a fresh copy of dojo installed at http://76.16.47.80/js/dojoroot.

The two examples above are here:
http://76.16.47.80/js/dojoroot/dijit/themes/themeTester.html
http://76.16.47.80/js/dojoroot/helloWorld.html

The files are located here: http://76.16.47.80/js/dojoroot/helloWorldFiles.tar

Wednesday, December 12, 2007

Upgrading to 1.1

Tonight I'm upgrading my local machine to version 1.1. This weekend I will upgrade our main server as well.

So far I have:
  • Downloaded all the new assests, tools and server
  • Installed all the new tools
  • Now installing the software required for the server (mysql, jdk, etc.)
  • Setup cygwin, mysql, and Java
  • Started the server
  • Ran the sample world to test.
So my home machine is ready with 1.1 now!

Sunday, December 02, 2007

FI Planning

Today I updated all of our tasks. We are moving steadily toward our 1/7 deadline. At this point we need to wrap up our tasks in progress and concentrate on making the best show possible for the folks over at Multiverse, in hopes that we get one of six slots and get floor space at GDC.

This morning I updated our meeting minutes, our dotProject deadlines, and created manual backups of all existing assets.

Assets:
/var/www/manual_backups/fi_alpha_assets.2007.12.02.tar

World File:
/usr/multiverse/config/manual_backups/iw_a0_1.2007.12.02.tar

Server Config:
/usr/multiverse/manual_backups/bin.server.cfg.2007.12.02.tar

I also moved all of these to our local FTP server just in case:
ftp:\\home\data\Manual Backup

Saturday, November 17, 2007

Modifying Our Client

Now as the deadline for the MV submission to GDC is coming up, so I'm ramping up as much as possible. Today I put up a preliminary patch and loading screen. I will detail the steps I went through to do this, so they can be updated by our art team.

I created a patcher screen 640x480 @ 72 DPI in jpg format. Then created a 1024x1024 load screen in dds format. I copied these files to their proper places (/patcher_images/tempImg.jpg) and (/Textures/loadimage.dds).

I then built the manifest file:
valerie@starscream:/usr/multiverse/bin$ sudo ./build_manifest.py /home/valerie/fi_alpha_assets

Then I removed the old asset repo:
valerie@starscream:/var/www$ sudo rm -rf fi_alpha_assets

Then copied the new asset repo to the webserver:
valerie@starscream:/var/www$ sudo cp -r /home/valerie/fi_alpha_assets .

Then I backed up the asset repo:
valerie@starscream:/var/www$ sudo tar cvf fi_alpha_assets.tar fi_alpha_assets

Then when you start up the mv client on your local machine, you will see the new files.

I also updated the world_patcher.html:
body { background-image: url(http://76.16.47.80/fi_alpha_assets/patcher_images/tempImg.jpg); font-family: arial,sans-serif }
td,div,p,a,font,span {font-family: arial,sans-serif }

.tl {padding: 0; width: 4; text-align: left; vertical-align: top}
.tr {padding: 0; width: 4; text-align: right; vertical-align: top}
.bl {padding: 0; width: 4; text-align: left; vertical-align: bottom}
.br {padding: 0; width: 4; text-align: right; vertical-align: bottom}

.caption {color:#000000; white-space:nowrap; text-align:center}

.form-noindent { border: #C3D9FF 1px solid}

.mv.label { font-family: Arial, Helvetica, sans-serif; font-size: smaller; }
.mv.value { font-family: Arial, Helvetica, sans-serif; font-size: smaller; }
.mv.button { font-family: Arial, Helvetica, sans-serif; font-size: smaller; }
.mv.remember { font-family: Arial, Helvetica, sans-serif; font-size: smaller; }

.errormsg { color: red; font-size: smaller; font-family:arial,sans-serif; }
.statusmsg { color: white; font-size: smaller; font-family:arial,sans-serif; }

.h3-header-text-color { color: green; }

Future Items for Research:
phpBBCode
Creating a Launch Pad
Load Screen Name
Splash Screen
Theme Music
Photoshop Plugins from Nvidia




Friday, November 09, 2007

With the move and everything going on in the last 2 months, things have been hectic, but it has not stopped progress!

Last weekend I configured apache and set up the multiverse asset repository to allow external access to our new alpha world. Foxman created the alpha world, and we have it up and running on the server. I had a few routers die in the last two weeks, so that caused some mayhem as well.

Now our job is to make the alpha world look like the playable demo we want for January!

Saturday, November 03, 2007

Crazy

Things have been crazy here, so I'm just getting back into things.

Today I set up apache on our server so that we have our assets and world going. As usual I need to change a local variable with t he following command:

export DEFAULT_MV_PROPERTYFILE="fiMultiverse.properties"

Sunday, September 23, 2007

MV Sample World

I started a sample world on our server, and connected to it from my desktop. My next step will be to create a world using our art, then register it with MV in a private fashion so the team can work on it.

List of items to do:
1) Add our custom art to the Asset Repo
2) Create world using world editor
3) Move to server and restart using the new world.
4) Connect to and test client.
5) Register world for external use.

Friday, August 24, 2007

Multiverse 1.0 Linux Install


This will be our first install of Multiverse (MV) on the Forever Interactive server. I started out by installing Bitvise Tunnelier and cygwin on my windows desktop so that I could work comfortably on the server in my office. I typically use Tunnelier at work, so I'm comfortable with it, and will use it for the time being. I used cygwin a long time ago, but I have forgotten most of it so it will be a renewal process.

The first step in the MV server install process is to install a current version of the JDK. I also used he linux based MV instructions as well as a reference. They seem to be using a Redhat based distro, and we are using Ubuntu, so I had to modify accordingly. As usual, I use apt-get.

I downloaded the MV install and mysql, and edited a few configuration files. MV also has special notes just for Ubuntu users.


And here is the server up and running.

Couple of useful commands:
./multiverse.sh -v start
./multiverse.sh status
./multiverse.sh stop

cd $MV_HOME/logs/
grep ERROR *.out

Additional good forum links:

Trouble with Ubuntu 1
Trouble with Ubuntu 2

Sunday, August 12, 2007

FI Server Setup

Forever Interactive

Now that the OS is installed, I need to set up the computer for use. Over the next few days, I will go through my notes of things that need to take place to better improve the server.

Items done or noted:
  • Control + Alt + F1 = Switch to text mode
  • Adding new users
  • Setting up SSH
  • ifconfig to find IP address
  • Ensuring the system clock stays on time with a cron job
I have set up an IRC server for internal use. I had to read quite a few sites to fully/learn understand what I needed to do. I still have a few ToDo's here, but the basics should be ok. I was also able to test the IRC server internally and externally.

Links Used:
IRC help
Tutorial on setting up identd/dcc
XChat
IRCD-Hybrid
Ubuntu IRC server instructions
Ubuntu Classroom
Ubuntu server setup information
Ubuntu feisty fawn information

Saturday, August 04, 2007

Catch Up Time

I just went out of town on business for WaMu in Seattle, and due to the wonderful world of flying I effectively lost three days of time. So now I have a pile of work to do to catch up, and on top of it all we are knee deep in the middle of a move.

After catching up on WaMu emails, I am going to work on Uberworlds. The project is quiet at the moment, and once I catch up on all of my duties, I should have one less project to deal with. Next I'll work on the FI server, but since there are a ton of boxes and what not in the living room, I'll need to work on that first.

Uberworlds

Since it has been a bit of time when I last worked on this I am figuring out where I left off. I left notes to myself, but I'm not as organized as I would like.

Silversage Quest Implementation
I started off by creating a new druid for testing, Hawte, I leveled her to 10 using /imm gimme PLEVEL 10. She has no quests so I need to pick those up. After that I'm going to check the spacing and new lines in the quest dialogs and clean that up. Each time I enter the game I have to switch to Hawte's character. I'm using my new immortal commands CmdListQuestObjectives (/imm LISTQUEST) and CmdFillQuestObjective (/imm FILLQUEST). I need to also add a command to selectively fill quest objectives and possibly delete or un-fill them.

To improve the output of /imm LISTQUEST I have added a new color for game text in the UI.


Enabling Developer Mode - Once in the game client, hit Ctrl-Tilde and type: $pref::developer = 1; *Note: You only have to do this once, the preference will be saved. Ctrl-F10 opens the GUI Editor and Ctrl-F11 opens the realtime Zone Editor.

For Visiting the Camp, I need to fully check out the entire quest because when I implemented it, it was the first time I have ever done quest implementation in MMOWorkshop, and there may be issues. I also need to add all the cross zone quest implementations. For the quest completion portion on another NPC, I'm using A Quick Tour to compare getting objectives from other NPCs.
This one is slightly different since it ends in an escort quest objective, but I will look into that later. For now I will make sure the quest works by talking to and getting an update from Scout Theon in the other zone.


I was able to complete and test the Scout Theon portion of "Visiting the Camp", and place Scout Theon in The Silver Plateau. The next update I will finish up the Captain Rodkim quests.

Quests worked on:
Captain Rodkim - Life of a Soldier
Captain Rodkim - Visiting the Camp

Sunday, July 22, 2007

Forever Interactive Server 3

I have a temporary RAID 1+0 setup using Ubuntu Linux. I am waiting on the last hard drive to come in to fully set up the server, but I have documented the install progress at the FI Wiki.

Below are pictures of me in our new Ubuntu setup using GNOME.


Next steps are detailed in the "To Do" section of the wiki, but basically when the final hard drive gets here, I will install it, redo the install steps, configure the server (setting up processes, security, etc), install backup services, install Multiverse and get all users set up for use.

Saturday, July 07, 2007

Forever Interactive Server Part 2

For the past week I have been reading several books (see below), and just getting up to date knowledge on this Linux server. My goal is to have this be well done enough to last us for a while, provide good data security and integrity and save us costs.

Here are shots of the partitioning:

Next I will set up the software raid array.

Books used:
Ubuntu Linux Bible
Beginning Ubuntu Linux: From Novice to Professional
Hacking Ubuntu
Linux All-in-One Desk Reference For Dummies, 2nd Edition
Degunking Linux
Configuring and Administering Linux ReferencePoint Suite

I will use information from this book for some of our teammates:
Ubuntu Linux for Non-Geeks: A Pain-Free, Project-Based, Get-Things-Done Guidebook
Ubuntu Linux for Non-Geeks: A Pain-Free, Project-Based, Get-Things-Done Guidebook

Sunday, July 01, 2007

Forever Interactive Server Part 1

For our first server, we decided just to buy the parts and build it ourselves. Before I came on the team they discussed purchasing a server from Dell or one of the other pre-made companies, but I can build a similar PC for a lot less so we can use the money to do other things. We were able to build this system for around ~$1600.

Here are the pictures in progress:





I put a basic version of Ubuntu Linux on the server to make sure the hardware was properly configured. Now the next task will be to design the partitions and prep the server for raid configuration. The current config just has all four drives mounted serially. Once thats complete I will have to secure Linux, patch any existing software, and add new software.

Sunday, June 10, 2007

Spawn Timers Part 2

This weekend I completed my EQ2 guide (yay!). Then I revisited my spawn timer code. This is because all of it seemed to not be accurate. During my testing I hardcoded delay values in mob.py and tested them. (The test results are in the uberworlds wiki). Basically below about 3 minutes or so, the way MMOkit does it's time update, it is very difficult to track accurately completely in its default form. There may be some way to improve this. I am also adding some flags to not check if mobs are already up and if it has the same name as the existing.

Next task for UW will be implementing some quests for Silversage Forest (http://wiki.uberworlds.com/index.php/Quests:_Silversage).

Links Used:
============
http://en.wikipedia.org/wiki/Wikipedia:How_to_use_tables
http://www.w3schools.com/html/html_tables.asp
http://en.wikipedia.org/wiki/Table_%28HTML%29#Tables

Monday, May 28, 2007

Friday, May 18, 2007

Changing spawns for Uberworlds

This assignment is to change the spawn function to have more discreet increments. Currently here are examples of how spawns work:

mob1 = DBSpawnInfo(spawn="Radothe",startTime=20, endTime=6)
mob2 = DBSpawnInfo(spawn="Wild Wolf",frequency=RPG_FREQ_ALWAYS)

The new function should allow
mob3 = RPGSpawnInfo(spawn="Wild Wolf",startTime=20.13.56,endTime=6.24.24)

Allowing detail to the second to be used.

Python:
Install Win32Api Extensions and PythonWin packages.
To exit the interpeter, use Ctrl+Z on Windows, On Unix or IDLE Ctrl D.

To run a Python program in Unix as an executable, use chmod to make your script executable. (chmod +x script.py). Add a line to the top of the program for the location of your python executable. (ex. #!/usr/bin/env python)

Links used on this project:
http://www.mmoworkshop.com/trac/mom/wiki/PopulatorGroups
http://www.mmoworkshop.com/trac/mom/phpbb?page=viewtopic.php&t=262&highlight=spawn+group
http://wiki.uberworlds.com/index.php/Spawn_times
http://www.python.org
http://www.vex.net/parnassus

Interesting Links:
http://www.3dtotal.com/ffa/tutorials/max/joanofarc/joanmenu.asp
^ Full model tutorial.

Wednesday, May 16, 2007

Monday, May 07, 2007

Completing MMOkit Tutorials

Everything is going much smoother now that I know where most things are. I did run into a few issues though, so I'll record them here in case I forget later.

= Make sure object names do not have spaces in them. If they do the game won't load. It can be fixed by editing the *.mis file and adding a "_" where the space is.
= For the Spells tutorial, there is a missing icon (STUFF/2). Found this by searching for STUFF after I realized things were erroring once I tried to use the spell object and the inventory Icon had no icon.

http://www.mmoworkshop.com/trac/mom/wiki/Administration
http://www.mmoworkshop.com/trac/mom/wiki/Tutorials
http://www.mmoworkshop.com/trac/mom/wiki/ServerSetup
http://www.mmoworkshop.com/trac/mom/phpbb?page=viewtopic.php&t=8&postdays=0&postorder=asc&start=30
http://www.mmoworkshop.com/trac/mom/wiki/DevEnvironmentSetupWindows

http://stage6.divx.com/PixelPerfect

Sunday, May 06, 2007

Placing Animated Model in MV

I took one of our first models from our Technical Art Director from a COLLADA file, and converted it to MV mesh, skeleton and material files. The material file has to be edited because the current incarnation of MV conversion tool does not generate a complete OGRE mesh file. Once the files are converted, I place them in the repository using the Asset Importer. I create one asset for the mesh and another for the materials. Then I view the model using the MV Model viewer. I'm still having trouble with the materials so I'll continue this later.

Update: Everything works now. Each material needed to be explicitly named in Max. Once that was done, the material file worked and everything loaded into MV properly.


http://update.multiverse.net/wiki/index.php/Creating_Material_Scripts
http://update.multiverse.net/wiki/index.php/Platform_Tutorial_Editing_Material_Files
http://update.multiverse.net/wiki/index.php/Model_Conversion_Tool

Monday, April 30, 2007

Quarterly Meeting

Today I had my first quarterly meeting with Forever Interactive. We met up at Dave and Buster's and had a great time meeting everyone.

For work I ended up doing mainly administrative items since we got home late. I updated the new forums from phpBB, since we were getting bombarded by the spammers.

Friday, April 27, 2007

Creating a New Zone in MMOKit

oday, doing the Creating a New Zone tutorial. I have an old version of Photoshop, but I'm going to try and download/use GIMP instead.

So far I noticed that the first time the character wasn't placed properly, so I need to fix that.

Links:
====
http://www.mmoworkshop.com/trac/mom/wiki/Administration
http://wiki.uberworlds.com/index.php/Newbie_World
http://bugs.uberworlds.com/
http://www.uberworlds.com/distro/
http://quark.planetquake.gamespy.com/gamepaks.php3

Wednesday, April 25, 2007

Uberworlds Tutorial

Prairie Games' MMOKit Homework Assignment
1-2 Weeks

After talking with Faille at length about the project, our first goal is to create a very small "newbieworld" with many of the mmo basics you are familiar with. As a community, we will work together to create all of the elements required to bring this world to life and make it fully playable from an mmo standpoint. This includes, new models, zones, quests, npcs, classes, races, spells, skills, and more. After doing this, we should have the personel and skills in place to expand the world or create another one.

Before we can work on newbie world, we need to learn how to use the tools available to us. Therefore, allow me to introduce the MMOKit, complete with a juicy set of tutorials. When you have completed this assignment, you will have experience setting up your development environment, hosting and connecting to your own mmo server, spawning npcs, creating zones, linking zones, and creating content including: quests, weapons, loot, spells, and skills.

Step One - Getting Started

First, familiarize yourself with the MMOKit by reading the following pages:
Documentation - MMOWorkshop - Trac

Afterwards, we need to setup our development environment (in Windows). Follow the steps listed here:

DevEnvironmentSetupWindows - MMOWorkshop - Trac

*Note - For Step B1 - After installing TortiseSVN, go into your new directory, right click and select CheckoutSVN. Put your URL in here and hit OK to grab the latest mmokit code.

For part B, you may use option One or Two. I recommend Option One I only recommend Option Two for coders who care about debugging and project management. You will get a full blown IDE with debugging capabilities very similar to Visual Studio.

Verify you can run around in the single player mode after following the steps.

After your environment is setup, follow these steps to create your own version of the game files
NewGame - MMOWorkshop - Trac

After confirming you can again run around in the single player you are ready for the next step.

Step Two - The Tutorials

The listing of tutorials can be found here:
Tutorials - MMOWorkshop - Trac

You will need to enable developer mode to work on these tutorials:

Once in the game client, hit Ctrl-Tilde and type: $pref::developer = 1; Exit the game normally.
*Note: You only have to do this once, the preference will be saved. Ctrl-F10 opens the GUI Editor and Ctrl-F11 opens the realtime Zone Editor.

These are the tutorials you are responsible for doing. Please do them in the order listed here as each one builds on the previous:

1. Creating a New Zone - step 8+ is optional, especially if you have no experience creating Interiors or using Quark.
* Note - in step 7, the SpawnSphere doesn't exist in the default mission. You can Create one in creator mode by looking under "Shapes->Misc". Putting one in the world will get it into your mission.
2. Linking Zones
3. Bindstones
4. NPCs and Monsters - once complete, try creating multiple spawns in your zone and tie them to waypoints.
5. Items and Loot
6. Dialog and Quests
7. Interactive Objects
8. Spells
9. Skills
10. Vendors
11. Factions
12. Points of Interest
*Optional - Epic Battles (large scripted encounter)

After you have completed your tutorials you should be ready to move onto the final step.

Step Three - Your MMO Server

Follow the steps listed here to host and launch your own MMO server, you may skip step 1.
ServerSetup - MMOWorkshop - Trac

Make sure you can connect to your own game.

Step Four - Judgement

If you make it this far, let me know. I will then log into your game and test out what you have done in your tutorials.

========
http://www.mmoworkshop.com/trac/mom/wiki/DevEnvironmentSetupWindows
http://subclipse.tigris.org/install.html
http://www.eclipse.org/downloads/
http://www.eclipse.org/downloads/
http://www.eclipse.org/mylar/
http://pydev.sourceforge.net/download.html
http://www.mmoworkshop.com/trac/mom/wiki/NewGame
http://www.conitec.net/english/gstudio/

http://www.uberguilds.org/worlds/wiki/index.php/Main_Page


Sunday, April 22, 2007

Uberworlds, Multiverse and Forever Interactive

Recently I started working MMO development. I have accepted a Lead Programmer position at Forever Interactive. Our first project will be Infernal World, working with the Multiverse engine.

A second project to further increase my skills has also started. This is Uberworlds, a community developed MMO project. Initially they were going to use Multiverse also, but now they are going to use the Torque based MMO Workshop Kit.

Links used in this project:
http://www.mmoworkshop.com/trac/mom/wiki/DevEnvironmentSetupWindows
http://www.mmoworkshop.com/trac/mom/wiki/Administration

Thursday, February 22, 2007

CSS and vBulletin

I am helping my guild develop a XML feed for our roster from the vgplayers site. I haven't done this before even though I often fool around with HTML and XML.

CSS info
RGB/Hex Color Calculator
How to create your own custom modules.
How to create your own custom pages.
vBulletin manual.
Borrowed parser.
About.com info on php.

And here is the finished product:

WSDLs

On my job I'm regularly required to learn as I go. While I have college degrees in my field, it is so broad and the knowledge is always rapidly changing. Today I have to modify an existing WDSL file. I have created my own many times, but this time I'm taking time to read up so I do not mess up any other services. It's a big difference when I own the service vs. messing with someone else's work.

Here are some of the links I used on this project:
http://builder.com.com/5100-6389-1045080.html
http://searchwebservices.techtarget.com/originalContent/0,289142,sid26_gci915766,00.html