swemoney.com

  • Random
  • Archive
  • RSS

So long Halo 3 Players…

Due to a general lack of interest (I’m assuming most players of Halo 3 have moved on to Halo: Reach by now) and a lack of resources, time and money, I’ve decided to discontinue Halo 3 Players in it’s present form. I would really love to rewrite the whole thing for Halo: Reach at some point in the future but I am not sure when I will be able to get this done so I’m not going to tease anyone by saying “soon”. I appreciate all the support from Halo 3 Players. We started out as the underdog and slowly but surely ended up being the most used Halo 3 stats app on Facebook. Halo 3 Players was my first “large” project and I had a lot of fun writing it. I hope to have just as much fun writing every else in my near and far future. I apologize for the lack of notice to the few active users Halo 3 Players still has.

Stay tuned here for more info on what I’m working on and if Halo: Reach Players ever does materialize, I’ll post about it here first.

It’s been a fun ride!

    • #my stuff
    • #haloplayers
    • #halo 3
    • #halo 3 players
    • #halo
  • 10 months ago
  • Comments
  • Permalink
  • Share
    Tweet

Halo 3 Players now watches you in the shower..

Halo 3 Players is now watching you! I’ve added a History tab to Halo 3 Players on Facebook now! I’ll be saving an archive of all your old stats once a day (after you update your stats, of course) and you will be able to look at the progress you’ve been making over a variable number of days in several different stat types. You can see how your Kill-to-Death ratio has been improving (or not) or how many Killing Sprees per Game you we’re averaging 2 weeks ago compared to today! All the good stats are there, as well as my own true score (or best score, which ever you know it as) that combines your social and ranked stats (giving more weight and points to your ranked games, of course) and spits out a fancy overall score that you can compare against your friends to see who really is the best.

If you’ve been a fan of Halo 3 Players, this update should work great for you because I have been keeping track of gamertags for almost 2 months now (which means, if you’ve been using Halo 3 Players, you should have some information ready to graph on the History tab!). If you haven’t heard of Halo 3 Players or aren’t a member yet, what are you waiting for?! Show off your stats to all your friends! Scream from the roof tops how much you love Halo 3 by putting a profile tab on your Facebook page! Slap a box on your main profile for some more Halo 3 love! Compare your own stats against all your friends who are also using Halo 3 Players! There’s lots to go, so go do it! Why are you still reading this?

    • #facebook
    • #halo 3 players
    • #ruby on rails
    • #halo 3
    • #xbox
    • #My Stuff
  • 3 years ago
  • 2
  • Comments
  • Permalink
  • Share
    Tweet

Cocos2D-iPhone Xcode Template

I’m still researching how to get started with some game development on the iPhone and one of the articles I came across was a short tutorial detailing how to setup and start an application/game on the iPhone using the free cocos2d-iphone engine. Being the anal person I am, I couldn’t just refer to the article every time I wanted to start a new project, so I decided to research how to put together my own template for Xcode that would do all the dirty work necessary automatically. It turns out it’s quite easy to put together an Xcode template and what kind of good natured developer would I be if I didn’t share with the rest of the world?? I went ahead and created a new git repository with the template. To grab it, go ahead and follow these quick instructions..

cd /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Project\ Templates/Application
git clone git://github.com/swemoney/xcode_cocos2d_iphone_app_template.git Cocos2D\ Based\ Application\ \(0.6.x\)

Do that in any terminal and next time you start up xcode and try and create a new project, you should see a Cocos2D-Based Application options there that will give you the basic starting blocks for using the cocos2d engine.. Enjoy!

UPDATE: Now includes version 0.6.3 of Cocos2d-iphone as well as a menu scene.

    • #iphone
    • #cocos2d
    • #xcode
    • #apple
    • #game dev
    • #code
    • #My Stuff
  • 3 years ago
  • 4
  • Comments
  • Permalink
  • Share
    Tweet

Halo 3 Players 2.x


Halo 3 Players was updated a few weeks ago. Most of the initial bugs have been squashed with only 1 main feature still left to be finished. I’m working on Challenges now and they should be back very shortly. The new 2.x version is a complete rewrite of the old Halo 3 Players. Since Halo 3 Players has been my first ‘real’ project, I did learn quite a bit from it and was able to improve a lot of things in the new version. So besides the nicer look and extra features, it also works better behind the scenes (and is even a little more modular so I can improve stuff even more without breaking other things). If your a Halo 3 Player and have a Facebook account, you should definitely check it out! It blows the other 2 or 3 Halo 3 applications out of the water and I’m not just saying it because I wrote this one. I promise you if you try out Halo 3 Service Record and Halo 3 Gamer Card and think they’re better than Halo 3 Players.. I don’t know. I’m confident enough that Halo 3 Players kicks them to the curb that I include links straight to their app right here..

    • #ruby on rails
    • #halo 3
    • #facebook
    • #halo 3 players
    • #xbox
    • #My Stuff
  • 3 years ago
  • Comments
  • Permalink
  • Share
    Tweet

AjaxyXML updated for Mephisto 0.8 (And, I’m back!)

For some reason, the last few months (no clue when this started, really), this blog has been running in a purely cached mode. Mephisto broke somehow and wasn’t even starting up anymore, so apache was just serving the static HTML pages. I just made the leap to 0.8 of Mephisto and cleaned everything up and I seem to be back up and running.. I had to update my AjaxyXML plugin for Mephisto to work with 0.8 so anyone who has been having problems getting it to work with the new version, it should work fine now. Nothing new was added, I just rearraged everything into the new plugin structure for Mephisto… So go grab that if your using Mephisto 0.8. If your still on 0.7, you’ll need an earlier revision.

    • #plugins
    • #mephisto
    • #ajaxyxml
    • #ruby on rails
    • #My Stuff
  • 3 years ago
  • Comments
  • Permalink
  • Share
    Tweet

Almost there!

It’s amazing what a whole day of work (with the occasional Halo 3 break) will do for you. Last night when I updated, I felt like I had so much to do to get my application cleaned up and ready for prime time again. Since I’ve been planning on this 1.5 release to be a larger release, I haven’t been very careful about breaking stuff. I’m pretty OK with that though. I broke things on purpose because I knew I could implement them better. The only problem with it, was that my brain KNEW a lot of things were out of order but didn’t know exactly what. So after a day of fixing everything up, I’m back on track. The challenges backend is pretty solid. A few tweaks here and there are going to be needed, but it definitely works. I still need to pretty it up a bit too. The biggest accomplishment of the day, though, was reworking the flash system. Since I drop things like updating gamertags to the background, the user doesn’t get to see what’s happening. I have to use memcached, and check to see if the process is done. I kind of wrote myself into a corner with the old code because it was pretty much ONLY used for updating the gamertag. Now that I have some extra methods (like creating and finishing challenges) that need to be done in the background too, I had to make the system more flexible. I feel like I did this really well and it should work for me in the future if I have to add some more functionality to it.

On today’s agenda, I’m hoping to finish up the loose ends of the Challenge backend and get the views to a nearly complete state. I’ll probably continue to test out everything as I go along to make sure I didn’t overlook anything that I thought I fixed up. Some of the things I changed for this release sounded like a huge task in my head, but ended up only taking me about 10-15 minutes to do. One thing I changed that I thought would take me a while was switching from @user.id to @user.facebook_uid for all my user stuff. I thought it looked kind of silly to have haloplayers/user/123 which would like to the facebook id or 137412794. Using the facebook id for EVERYTHING (except database associations because I couldn’t really figure out how to get away from the primary id on that) took away a lot of confusion. Lessons learned.

Anyways. That’s about all I got. I don’t know why I’ve gotten into the rambling mood the last couple of days. I think I’m going to try and get a couple hours of sleep before I wake up and start working some more. Good night, folks!

    • #ruby on rails
    • #facebook
    • #halo 3 players
    • #halo 3
    • #My Stuff
  • 4 years ago
  • Comments
  • Permalink
  • Share
    Tweet

Road to One Point Five

Halo 3 Players hasn’t been out for a month yet. I believe the first day it went live was November 20th. That doesn’t mean I’ve just been sitting back and watching the user count slowly grow for a few weeks now. Since it’s initial release, I don’t even recognize parts of the application any more, let alone the code! Anyways.. Since I don’t update here as often as I’d like, I’d like to ramble about my first large update to Halo 3 Players since it was released.. I don’t expect to make a whole lot of sense, but I just want to collect some of my thoughts here to better make sense out of them and if anyone happens to actually READ this, maybe they can offer some input.

The largest thing that users of Halo 3 Players will notice is the addition of Challenges. I have bigger ideas for challenges, but for the initial 1.5 release, the user will be able to challenge themselves in a speed game. You set the number of something you want to increase and see how fast you do it. If you want to see how quickly you gain 5 EXP points, set up the challenge and play. When your done, we’ll record your time and show your friends so they can take a stab at trying to beat your time. The concept is simple and I think it will add a lot more of a social aspect, not to mention, competition. I’ve got most of the back end roughly finished. It definitely needs a lot of polish, but it works. I intend on going through most of my code and refactoring some things to work a little better before this release and that should help me clean up the new challenges code too. One of the larger problems I’m running in to is that some of the tasks that require me to fetch information from bungie.net take a few seconds to complete if bungie.net is going slow. I implemented a system that spawns these update processes to the background and I use memcached to store information about what’s happening. This worked OK for updating the gamertags, but when since I’m moving it over to more aspects of the application, I’m definitely going to need to rewrite some of that code to be more flexible. I’d also LIKE to figure out some way to use AJAX to constantly check the status of the background updates and refresh some things automagically when it’s done. We’ll see if that makes the 1.5 release or I wait until 1.6 for that one. I hope I can get 1.5 out by the middle of the week. That would be great.

On a side note, I’m really enjoying working with the Facebook Platform. It didn’t take a whole lot of work to learn how things worked and my obsessive-compulsive nature really loves how clean things look when your application blends in with facebook so well..

I think I’m done rambling about this stuff. It’s 5am. Time for a little bit of sleep before I get back to work..

    • #facebook
    • #halo 3 players
    • #ruby on rails
    • #halo 3
    • #My Stuff
  • 4 years ago
  • Comments
  • Permalink
  • Share
    Tweet

Not my plugin’s fault!

So, originally, I had posted with little response asking if anyone knew of a weird caching mechanism that was preventing my mephisto_ajaxyxml plugin from updating twitter status right away. I swore I tested this before, but it was brought to my attention that the XML file itself (if you load it up on your browser) just doesn’t update. I’m not quite sure why this is and I’m going to see if I can find anything online about it, but at least I can rest a little easier about trying to fix that part of my plugin.

Besides that, I am going to be releasing a new version of mephisto_ajaxyxml in the near future though. I want to add support for other formats, like RSS, ATOM and possibly JSON. I’ll also be looking into what else I could add easily. If you have any suggestions for what you’d like to see in the ajaxyxml plugin, let me know.

    • #plugins
    • #ruby on rails
    • #mephisto
    • #ajaxyxml
    • #My Stuff
  • 4 years ago
  • Comments
  • Permalink
  • Share
    Tweet

A more real-time AjaxyXML

One of the reasons I created the AjaxyXML plugin for mephisto was to put more real-time data on your mephisto blog without killing your caches. AjaxyXML works pretty well, but it’s still not quite as ‘real time’ as I would like it. When I update my twitter status, it still takes a good amount of time to update on the blog even though it’s pulling in the XML file AFTER the entire page is loaded and just replacing the data in the div. I’m at a loss about why this happens and would love it if anyone wants to take a look at the source and give me any idea’s on how to fix this. I’m assuming there is some sort of caching that I’m not seeing that’s automatically caching the XML file, but I can’t seems to find this and am unsure how to fix it. If anyone has any ideas, please comment here. I would love to hear what you have to say. Thanks!

    • #plugins
    • #mephisto
    • #ajaxyxml
    • #ruby on rails
    • #My Stuff
  • 4 years ago
  • Comments
  • Permalink
  • Share
    Tweet

HowTo: has_many_friends

I’ve had a lot of requests for some sort of howto for my has_many_friends plugin for rails. I’m not wondrous at making howto’s, but I’ve been trying to rack my brain thinking of things I could demonstrate in a new post about how to use the has_many_friends plugin. So we’ll see what we can do. There won’t be any large code examples. I’ll just include a few snippets here and there, mainly because I wrote has_many_friends to have enough wiggle room so people can incorporate it in a few different ways. So let’s get started…

Read More

    • #plugins
    • #has_many_friends
    • #ruby on rails
    • #My Stuff
  • 4 years ago
  • 4
  • Comments
  • Permalink
  • Share
    Tweet

update for mephisto_ajaxyxml, now supports mootools!

I updated mephisto_ajaxyxml to support mootools for those of you who prefer to use the lighter weight mootools instead of prototype for your blog. As long as you have Ajax, XHR and Element support in your mootools download, you should be fine (If you select Ajax, it should automatically select a bunch of other stuff, the above included). To use mootools, just add the framework: ‘mootools’ option to the ajaxyxml tag.

{% ajaxyxml url: 'http://twitter.com/statuses/user_timeline/swemoney.xml', element: 'twitter', quantity: '1', framework: 'mootools' %}

I updated the 0.1 ‘release’ of the plugin to support mootools as well but I did not change the tag name or version number. Just make sure you have revision 20 or above and you should have mootools support for non-edge mephisto.

    • #plugins
    • #mephisto
    • #xml
    • #mootools
    • #ajaxyxml
    • #ruby on rails
    • #My Stuff
  • 5 years ago
  • 15
  • Comments
  • Permalink
  • Share
    Tweet

mephisto_relative_time :: Relative time in a liquid tag

When I signed up for twitter not too long ago, they had a nice item right in their xml file called relative_created_at that would return a time in relation to ‘now’ instead of the ugly ‘created_at’ which is a normal timestamp. The have since removed this item from their xml file (for caching reasons that are very understandable) so I went ahead and created a tiny plugin that provides you with a filter to use that form of time in any of your liquid plugins. You can pass any date as a string and this filter will convert the string to a Ruby date object and return the relative time from now that the date was. Check out the README or the source.

script/plugin install -x http://svn.dnite.org/mephisto_relative_time

The installation is quite easy. Just run the above and restart mephisto. To use the filter in your blog, do one of the following in any liquid template file.

Something happened {{ date_variable | relative_time_ago }} ago.
My birthday was {{ "2006-07-17" | relative_time_ago }} ago.
My birthday is coming up in {{ "2007-07-17" | relative_time_to }}

date_variable is just some liquid variable that contains a string with a date in it. The other 2 are examples that you can create any date in a string as long as Ruby can convert it correctly into a date object. The relative_time_ago function will return how long in the past from now said date happened, and the relative_time_to method will give you roughly how long until said date is reached. Piece of cake, eh? Now have fun with it!

    • #ruby on rails
    • #mephisto
    • #irc
    • #sounds
    • #fscript
    • #scripts
    • #My Stuff
  • 5 years ago
  • Comments
  • Permalink
  • Share
    Tweet

A couple fixes.. Some news..

I finally went ahead and whipped up a quick hack for mephisto to allow me to keep my twitter status and last.fm status updated without killing mephisto’s great caching features. Previously, I was using Dan Webb’s lastfm plugin for mephisto, and my recent modification to the same plugin to make it fetch twitter information instead of lastfm information. This works, to a degree, but the problem comes from the fact that this plugin uses a liquid tag that embeds the xml information on the page. What this means, is that mephisto will cache the page with the current status or lastfm list and recent updates won’t appear until the cache gets flushed. I know there’s a ‘setting’ in dan webb’s plugin that allows you to change the time in which mephisto will auto flush the cache and try to update the page, but it never worked for me.

What I did was create an Ajax request at the bottom of the page that updates the twitter and lastfm information on the fly. This means that the page that mephisto caches will always stay the same. The updates to twitter and lastfm will happen behind the scenes and update the page w/ javascript. Sucks for those of you who don’t have javascript enabled, but works for me. x=)

I want to whip up a versatile plugin for mephisto with this functionality, but that might take a little bit of time for me to pull off correctly and all. I just started a new job serving at a comedy club in the area, so that’s going to take some of my time in the near future, but I promise that as soon as I get some time and figure out how I want to do it, I’ll get this out in a plugin form. It won’t be a plugin just for twitter and mephisto. I want to make it so you can parse any xml file and update any element on your page with that information on the fly so you can keep dynamic content on your site without killing the caches. Stay tuned for more info on this.

    • #ruby on rails
    • #twitter
    • #mephisto
    • #life
    • #last.fm
    • #My Stuff
  • 5 years ago
  • Comments
  • Permalink
  • Share
    Tweet

Mephisto Plugin for Twitter

I’m late to the bus. I just found twitter yesterday and I think it’s a pretty cool concept. It’s nothing entirely useful, but it’s just fun. Don’t get me wrong, I’ve HEARD of twitter, just never tried it out until yesterday. Also, yesterday, I started screwing around with Dan Webb’s mephisto plugin for lastfm. What do these 2 things have in common you might be wondering? After looking at how easy it was to grab an xml file with users timelines from twitter via their api, I realized how easy it would be to modify Dan’s excellent lastfm plugin to work with twitter. So that’s what I did. I created a quick edit of the lastfm mephisto plugin to create my very own twitter mephisto plugin!

It seems to work pretty well. I’m actually intending on making it a little more feature packed in the future. There’s not a whole lot more you can do with it considering Twitter’s super duper simplicity, but I might take a stab at adding basic authentication so you can view ALL of your timelines with this plugin or maybe even come up with some way that you can edit create new status messages from your blog or your blogs admin page (when mephisto matures a little more to support admin plugins). Anyways, enough blabbing by me. Here’s the 411 on how to use it.

Install it like so from your mephisto root.

script/plugin install http://svn.dnite.org/mephisto_twitter

Restart your mephisto (I’m pretty sure this is necisary to load up the new plugin) and you can edit your layout page (or any of your liquid pages) to include your twitter status!

{% twittertimeline user: 'swemoney', type: 'user_timeline' as status %}
  {{ status.text }} - {{ status.relative_created_at }}
{% endtwittertimeline %}

If you want to know where your at in the loop, twittertimeline.index will return that for you. Any questions, post them here!

    • #ruby on rails
    • #twitter
    • #mephisto
    • #halo
    • #facebook
    • #haloplayers
    • #My Stuff
  • 5 years ago
  • Comments
  • Permalink
  • Share
    Tweet

New Trac Theme!

I’m not a huge fan of the default Trac theme and, as far as I could find, there aren’t many other themes in distribution. So I decided to throw together a theme that would go well with this blog. You are all more than welcome to give it a try if you’d like. Tell me what you think. Give me suggestions. Whatever you feel like. A lot of credit has to go to evil.che.lu for the excellent theme to work with. Try Me!

    • #trac
    • #halo
    • #campaign
    • #My Stuff
  • 5 years ago
  • 8
  • Comments
  • Permalink
  • Share
    Tweet
← Newer • Older →
Page 1 of 2
iOS application development, video games, random thoughts, apple. These are a few of the wonderful things you'll catch on my blog.

Pages

  • Projects
  • Apps
  • Secret Browser

Elsewhere

  • @swemoney on Twitter
  • Facebook Profile
  • tehdnite on Youtube
  • dnite on Digg
  • swemoney on Rdio
  • swemoney on github

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Mobile

Effector Theme by Carlo Franco.

Powered by Tumblr