Monthly Archives: January 2014

Broken Spade

As explained in my previous Ace of Spades post, it takes a while to be able to record a full match. Mostly because of the current state of the kicking system, as it is unbalanced and favours griefers and other annoying people.

The video below is an example. It takes just over 5 minutes of gametime to receive a kick for “hacking”. It is initiated by the two green enemies I managed to kill first, mainly because of their inability to aim. You see them leave the match a few moments after, only to return roughly 2 minutes later, joining my team instead. They must hold a grudge, as it didn’t take long for the kickvote to be started. First one failed, and the second succeeded, quickly ending my gaming session on this map.

Weird part is that the second vote can be send seconds after the first vote towards the same person. This means that between the whole enemy team, initiating a votekick can be unending, ultimately resulting in a kick as interest in voting against the kick wears off quickly. Not to mention the weird balance between those in favor and those against it, as it seems it’s only based on the amount of votes given in favor of the kick.

I will be using this post in my feedback thread on the Ace of Spades forum aswell (haven’t created it yet), to hopefully be able to have the voting system changed or at least tweaked to create a fair balance between the ability to kick real griefers and hackers, while avoiding abuse.

Spade of glory

It took me a while to record a valid gaming session. Most of the time I’m not “allowed” to finish a round, as people are under the impression my gaming style can only be achieved by using hacks. As a result, I often get kicked from the server, which makes me unable to return to the match. But more on that topic in my next Ace of Spades post.

The following match was played on one of my favorite maps. I joined the match quickly on the blue team (go blue!) and managed to grab the intel quickly. Didn’t make it back into our base, but at least the intel was on our side of the map and very close to our base. It took a bit of convincing for our team to pick up the intel and secure it, while I sneaked towards the green base for another intel grab ‘n run attempt. Enjoy the video.

phpBB: Custom styles with AutoMOD

I’ve been receiving many questions about the possibility of using custom styles in phpBB while using my mod. The quick answer is Yes, you can use any Prosilver / Subsilver2 based style with my mod. This is explained in detail in the video (linked below) on how to set it up. Problem is however that most people for unknown reasons don’t watch the video, or if they do they tend to skip parts even though they are important. Skipping parts of the video, and in turn of the installation process, can lead to unexpected and glitchy forum behavior. Therefor I’d like to ask you to watch the full video properly (thus without skipping parts).


Here’s a little summary if you’ve finished watching the video.

  1. First you’ll need to know which style your style is based off. You can find this on the installation screen of the style you are trying to install. Screenshot.
  2. Once installed, go to the AutoMOD section and click on details for my mod. Screenshot.
  3. Scroll to the bottom, select the correct inheritance style on the left (as seen on step 1) and select the style on which you want to install the EVE API mod changes to on the right. Screenshot.
  4. Click submit, then install. Your changes should now be installed. Screenshot.
  5. Clear the forum cache to force the forum to use the newly installed changes.

Unfortunately there is a small chance that certain changes to the style might not install correctly. This happens because of the “freedom” certain style creators take, and sometimes by not obeying the style rules properly. If you come across an error in the installation process let me know, and I’ll let you know if it has any impact (errors because of the failing copyright line can be ignored for instance).

And yes, it is really this simple..

Jabber, the next step – OpenFire

One of the returning requests of new features for the EVE Online API for phpBB mod is the support for OpenFire. OpenFire, previously known as WildFire and Jive Messenger, is a JAVA based Jabber server. When comparing it to ejabberd, which is the only Jabber integration currently in my mod, OpenFire clearly stands out. Its ACP is easy to use, has tons of options that can be extended by plugins if needed.

An annoyance I found however is the need to maintain an administration twice. Unlike ejabberd, OpenFire doesn’t support external authentication, meaning that each forum account that requires access to its services needs to have a local OpenFire account. As a forum account already exists, creating and maintaining an OpenFire account seems unnecessary and should be avoided.

By default OpenFire doesn’t support an automated way of creating and maintaining its accounts either. Luckily there’s an official plugin that can help us out; User Service, which can be automatically installed using the built-in plugin manager. User Service is an HTTP listener that has the ability to add/update/remove accounts and set/unset groups to an user in realtime.

In the end I think OpenFire integration will be a good step forward for my mod. Not only tdealwithitbecause of its features, but also because it has been requested a couple of times already. I really thought ejabberd was a good alternative, but looking back at the feature difference it is clear I was wrong. OpenFire, if you behave, you shall be in version 6.3.1 of my mod.

A tale of spades

I’ve been playing a lot of Ace of Spades lately. A voxel based FPS with a few different game modes, and the key ability to destroy and place blocks yourself to create secret passageways into the enemy base or giant castles to defend against an enemy attack.

One of the game modes I enjoy most is Classic CTF. Each team has a suitcase they need to protect (otherwise known as ‘Intel’) with each player having the exact same gear; a rifle, a spade and multiple grenades. Restocking health, ammo and grenades can be done at your army tent (home base) in case you run out. First team to take the enemy intel and bring it back to your own base five times is declared the winner.

Below is a video of me playing on the Bridge-map with the middle (and only) bridge destroyed. I’ve cut out the boring parts (from respawn to respawn) to hopefully creatcryte a watchable video. No commentary or music, just the game itself. Quality is a bit low as I had chosen the wrong bitrate, but unfortunately I can’t re-encode it as I removed the original footage as soon as the rendering was complete. Enjoy the video, and let me know if you have any hints or tips.

My story of PHEAL

When I took over the “job” of maintaining the EVE API for phpBB mod back in 2010 there was much to be done. It only had the functionality to set a single forum group for either one corporation or one alliance. No TeamSpeak integration, no Jabber integration, and only based of a simple XML request without caching or error checking. Yes it was still working, but the increased popularity of the EVE Online API caused more strain on the API servers which became more and more unstable.

Simply put, I was in need of something that would obey the API’s rules of caching and error handling. I came up with two possibilities: Pheal and Yapeal. Pheal focussed more on grabbing the information and doing something with it straight away, while Yapeal had the ability to throw it in a database to look at it later. As I was only in need of smaller snippits of information that needed processing straight away, I ended up choosing for Pheal.

I changed the code to use Pheal where possible, increased the amount of features the mod had and added proper error checking to not spam the API servers when it’s not receiving the expected response. Pheal uses either cURL or url_fopen to request data from the EVE API servers. Where url_fopen is best used accessing local files, cURL allows for exotic options (like setting the user agent, adding timeouts, etc) which is perfect for accessing internet files and services. Not to mention that url_fopen is often blocked by hosters for security reasons. So cURL it is.

A problem with cURL however is that by default it doesn’t have any certificates installed. Without the proper certificates I would not be able to request/access secured content using cURL over SSL. As SSL was now mandatory for EVE Online API requests, this became a big problem. It wasn’t a simple fix of installing the certificate either, as it would have to be done to each webhosting server that uses my mod.

I decided on using a much simpler but more “hacky” solution; I added the required certificate to my mod and changed the cURL code within Pheal to use that certificate. Example below, where you can see I added the code just before the cURL connection was made, while I also had to add a simple path fix to be sure the certificate was properly loaded from the phpBB ACP.


EVE API 6.3.0 for phpBB 3.0.12

Happy New Year! :Grin:

Hereby I’m releasing version 6.3.0 of my EVE Online API for phpBB mod.
The following things have changed:

  • NOTE! Remember to update your Special Group permissions in each of the Group settings screen, as the main Special Group checks from the EVE API General tab are now removed!
  • Fix for Subsilver2 based templates; body belongs in overall_header, not in overall_footer
  • Faction Warfare integration should now work without errors again
  • Updated PHEAL to support the new way the EVE API handles its errors. It will return XML as body with HTTP statuscode on errors, after which PHEAL filters the errors and sends them back as PhealAPIException (in short: Back to semi-old method).
  • Updated the database to Rubicon 1.0.4.
  • Jabber authentication is now based on forum groups and EVE entities.
  • TeamSpeak groups are now able to be set by forum groups.
  • Improved TeamSpeak error handling. Users should now be able to see why their TS UID is not being saved.
  • Return of the Quick Reply on Prosilver themes.
  • Customizeble AccessMask using the ACP (new module).
  • Fix for ‘TeamSpeak3 class not found’ fatal error, which happened under certain rare configurations.
  • Updated TeamSpeak3 PHP Framework to 1.1.23 from 1.1.18. (Requires TeamSpeak3 Server 3.0.9 or newer.)

Version 6.3.0 requires phpBB 3.0.12.
In order to update from phpBB 3.0.11 to phpBB 3.0.12 while using my mod, please follow the following small guide.

  1. Upload the root/install folder from the 6.2.4 package to the root of your forum.
  2. Browse to and select to Uninstall.
  3. Once uninstalled, delete the install folder from your forum.
  4. Uninstall the 6.2.4 mod from AutoMOD using the ACP.
  5. Once uninstalled, delete the 6.2.4 package from AutoMOD.
  6. Clear forum cache!
  7. You can now upgrade your forum to 3.0.12, default phpBB upgrade procedure applies.
  8. Once phpBB 3.0.12 is installed, delete the install folder from your forum.
  9. Upload and install version 6.3.0 of the mod.
  10. Once installed, browse to and select Install to install the database part of the mod.
  11. Clear forum cache!
  12. Go to the new AccessMask module and set the requested AccessMask.
  13. Go to each Forum group (Users and Groups – Manage Groups) and set the correct Immunity, TeamSpeak and Jabber permissions to each group.
  14. Once done, clear the forum cache again, as you can’t do that enough!

If you’d like to have a bit more insight in this process, please watch the 6.2.0 Installation and Configuration video on Youtube as that video should explain a very similar process. The Youtube videos can be found here.

Please be aware that increasing the required AccessMask for users can cause users to have their accounts disabled, as their currently configured cgrazzAccessMask might not match your newly set AccessMask. To be on the safe side only select the bare minimum required, which is Public – CharacterInfo (and Public – FacWarStats if you use the Faction Warfare integration).
You have been warned!


EVE Online topic:
Original post: