pboyd.org Patrick's Home on the Web

  • Skip to content
  • Jump to main navigation and login

Nav view search

Navigation

Search

You are here: Home

Main Menu

  • Home
  • Blog
  • Projects
  • LJ
  • Flickr
  • Login

Home

Wiki Spam Application

  • Print
  • Email

Over the past year or so I've been a wiki admin on burningflipside.com. As part of those duties I've had to spend a lot of time combating spam. To that end I created a Windows application that will connect to the Wiki's API interface and grab all the unpatrolled recent changes. Then it will allow the user to take several actions that basically mark the change good or bad. It's a lot easier than using the wiki's web interface to handle all of the changes.

You can find the source code here.

Rebuild2 Save Editor

  • Print
  • Email

I got bored with a game called Rebuild2. It's a pretty neat little Zombie game. It seems to be written in flash and runs in web browsers and Android via Adobe AIR. It also uses the standard AMF3 Shared Object format. Which I had to learn how to parse... so there is an AMF3 Shared Object parser in this code, it's somewhat specific to Rebuild2 because Rebuild2 uses a binary array to store data. Once I got to the binary array, I saw that the first two bytes were 0x78DA and since I am a huge dork I recognized that as zlib compressed format. Then the data started with 0x0b, a couple of seemingly random numbers then XML text. Then I saw that 0x0b was the type of XML String and the random numbers are AMF3's weird 29bit integer encoding. So I did a recursive parse of that data structure and then I had the ability to read and then recreate all the save data for Rebuild 2.


You can find the source code here.

They will all taste oblivion! Which tastes like Red Bull! Which is disgusting. -- O'Malley