Programming up a storm

December 3, 2005 at 2:35 am

Note: I just erased the whole thing I typed out, so I have to start this over again. It was much better the first time 🙁

I’ve spent a lot of time coding lately. It’s probably because I want to procrastinate on my sociology assignment (read a book by final exam) and my philosophy assignment (write a 5-7 page paper on an “outside topic” in philosophy, and use a book as the source). Both of those are due in 2 weeks, so you might understand my want to procrastinate.

On Monday, I slept through my stats class (ya I know.. shame on me..) and decided to work on Fortress Forever. One thing lead to another, and I ended up working on it for about 10 hours writing code in c++ and using the tools and helping another team member get models into the game. One positive thing is I got a lot of stuff done. I guess I should hope so if I spent so much time on it :). The capture the flag rule set is completed and I got the sentry gun code to rotate 360 degrees, which is always a plus.

On Tuesday, I went to all of my classes and got home and chose to work on an addon for WoW for my guild to help distribute the items from bosses that we defeat in a more timely manner. This was my first decent-sized addon I made, so I decided to use the Ace framework to make it a bit simpler. The addon code is written in lua, so it’s nice to learn all the intracicies of another programming language. Lua is pretty nice because it treats functions as a base level object so it makes some stuff a little clearer than when doing the same type of things in other languages.

On Wednesday, my alarm woke me up so I made it to my stats class on time and went to my job and mainly worked on a PHP script that imports the phone numbers from a daily report we get emailed to us. I wrote it a long time ago, and apparently it stopped working. In the past, this usually meant that the server that ran it every day forgot to do it, or something like that. In which case, I can just restart the service or turn the scheduled program back on which is simple to do. However, the mail server got upgraded or something (that’s my best guess at least) and the format of the emails had changed. My strategy to get the data from the emails in the past had been to just blindly read the entire mail and grab the information I needed. However, the upgrade caused attachments to be encoded, so I actually needed to strip out the attachments from the email and read them properly. It was a pain to do, but I eventually figured out how to do that propery and I ended up making something pretty robust, so I was pretty proud of myself. Later that night when I got home, I did a bit of work on a side job in PHP which I had done some parsing stuff for as well. Tonight I worked on the user interface stuff for it and got a bit done.

Thursday, I actually decided to play some WoW with guild. We had some attendence problems early on, but we filled up a little bit towards the end. We had some good attempts at defeating the boss we were stuck on this week, but eventually we ran out of an item needed to beat him so we called it a night. Afterwards I remembered I had an assignment due for my computer science 139 class (operating systems), so I started that up. I had a lot of it already thought out in my head, so it was a simple matter of writing it out and getting it done… and remembering exactly how to compile shared objects in linux. I won’t bore you with the details, but it took me longer to realize I was trying to fix something that wasn’t broken, than to do the entire rest of the assignment. With that done, I submitted it via email and read some web pages and went to sleep.

Today was the exception though. I opened the fortress forever code up when I got home and poked around at it a little but didn’t really do anything. I also opened up Eclipse and looked at the java code for the game programming class I’m in, but didn’t get anything done there either. Afterwards, I signed onto wow and played a while. We were really having membership problems and after a few hours finally defeated a boss that we usually beat on the first or second try. We did it with 30 people, and we usually try to get 40. We were a bit demoralized (and the second boss is really difficult), so we decided to call it a night. I spent the rest of the night looking at web pages and such. I opened up the side job PHP stuff again and did a little bit of work, but not very much. I guess I was burnt out from doing so much coding during the rest of the week. If I had’ve worked on my game programming assignment, I could say I did significant work on projects in 5 different languages on 5 different days. Alas, I didn’t, so I can’t. I still did a lot of productive stuff, so I’m happy for that.

In other news, I found out that the next antweight robot event is in January at Andy’s place in Marin. I’m looking forward to finishing the new version of my robot and eating the incredibly good food they have at the event. Hopefully I’ll even do good in the tournament and not get my robot tore up like at the last event.

Recieve new post updates: Entries (RSS)
Recieve follow up comments updates: RSS 2.0


  1. Ecks
    December 3, 2005 at 4:30 am

    Lua is awesome. We’re using it inside of our game to handle all the UI features that we’re doing. We can actually have it do game or AI functions as well, we just don’t have it hooked up to do that yet. It’s a pretty nice language from what I’ve seen so far. I like that I can return multiple variables from functions, it’s just a shame I can’t hook that into C++ somehow.

    I’d love to see the code for fortress forever sometime. I’ve always been interested in making a mod, but I never got around to it and it wouldn’t make much sense to do it at the same time I have this hellish schedule.

    You want to get together sometime this upcoming vacation and hang out? I’d love to see the robots you build.

  2. Spike
    December 29, 2005 at 12:02 am

    hey i was in [AIM] with you for a little while way back when, i’ve been reading up on fortress forever, and got to thinking that you were an accomplished mapper and decided to stop by your website to see what you were up to, i’m glad to see your helping out with FF, its gonna be an amazing mod, hope fully bring this type of FPS into the mainstream (well internet mainstream), I’m also wondering if you could suggest a basic programing language (other than html) to start learning (i’ll be going to college soon and hope persue a computer science degree) and a good resource to learn it, i left my e-mail so just drop a line, heh i just noticed the banana thing, remence of armed and insane monkeys?

    August 13, 2006 at 5:28 pm

    I love how you talk about these mods must being useless and suck, ruining the problems that you edit to make them. You suck! Oh, and get some rims for that car =O.

  4. September 7, 2006 at 1:15 pm

    qad ea faef
    [URL=] dj equipment [/URL]
    bird cage

  5. themom
    December 23, 2006 at 12:32 am
  6. themom
    December 23, 2006 at 12:33 am

    update please….

The comments are closed.