September 8th, 2007
Posted by pftq

Fort Wars is Dead

So it goes that the latest ES patch to Age of Empires III has caused the map to stop working. Units do not spawn or something of the sort. I was pretty sure that was going to happen, have quite a good idea of what caused it and how to fix it.

But I think it’s safe to call it a close for now. Given that the 2nd Expansion is due to be released soon, there is no point to create another version, just for it to be abandoned yet again as everyone leaves the 1st x-pack. Then again, I honestly do not feel up to following ES’s every little (but FW-fatal) change with a new version of the map. -_-

One nice thing about this though is the fact that this wipes out all FW clones as well, which were based on FW 1.x and caused OOS. Reason being is that FW 1.x never had its code scrambled or hidden - therefore anyone could freely edit it. Hence why I scrambled the code from 2.x onwards for those wondering or asking for the released source. If I were to release FW again, the modded versions would simply not work in the presence of patch 1.04, thus leaving only the real one standing. :P That’s a wishful thinking though as I do not even have the game anymore.

On the other hand, there are other maps you can try - from what I can tell in the ladder stats, Castle Blood seems to be taking off fine (it has no spawn or special triggers). AOE3Racer and Cannon Fodder are also not as “trigger-heavy” as Fort Wars and may not have taken the patch changes as hard. If anyone tries these maps on Patch 1.04 - let me know how it goes! :)

97 unique view(s)
August 30th, 2007
Posted by pftq

AOE3 Ladder Updates

Bah, I still can’t believe I bothered to do this.. haven’t done anything related to AOE3 for 6 months. Anyways, the ladder now skips over days without games (when using the Next and Previous buttons). Also available is the Skip to Last or Skip to Latest day with games. Hope someone out there finds it convenient.

98 unique view(s)
August 29th, 2007
Posted by pftq

pq Visitor Counter Update

Just another bugfix and some optimzing. I’ve found that the previous highest visitor counts did not update the record times. Timezones were also wrongly added and several redundant lines of code added only to subtract them again. Finally, record times are now timezone independent and do not shift when you change the timezone setting.

For those who are upgrading from 1.05, simply replace the tracker and pqcounter_core files. Rarely will you ever have to replace your settings file when upgrading. However, you will have to add the following line to your settings:

$iplength=4; // length of ip to check: is 4

Also add $iplength to the list of globals at the top.

I do not remember when I added this; if you already have it in your settings, then ignore this step. :)

83 unique view(s)
August 18th, 2007
Posted by pftq

Coppermine Anti-Copy Mod Update

A few people at coppermine galleries noted that the mod had no effect for them. Double-checked and it turns out the mod never considered other language characters (special characters in titles etc would disable the mod).

The mod has been fixed to 1.01 and can now be downloaded.

For those who already have the mod, just replace the imagix.php file with the new one.

93 unique view(s)
August 3rd, 2007
Posted by pftq

Coppermine Anti-Copy Mod

Not a plugin sorry :( I didn’t feel like reading up on how to make one :P It’s close enough to one however, you only directly modify two files. The rest is added on. Yes, yes, now what am I talking about?

If you visit the Gallery, you will notice that right-clicking any image will not allow you to save it. You end up with a blank image or worse… a VIRUS (just kidding :P). Along the way, each image has an automated caption, that even if you did manage to copy it, all would know you downloaded it from

Some may notice I’ve already had this feature on my site for some time. I just never got around to cleaning up the code (I want to remain presentable thank you! :P ) and packing it up into something I can upload. It’s also taken a while to get the bugs out (unlike PHP, Wordpress, Java, or any other language I know, I can’t find a code reference for Coppermine!! :( )

Anyways, enough talk… here’s the full list of features! :D

- Basic Protection: Overlay a blank image over all pictures (prevent right-click copying)

- Hiding Links: Pass all picture addresses through an image-generating file:
–* Requires random code from server to generate an image.
—-* Random code generated from timestamp + offset from any resource of your choosing
–* Optional caption on generated images.
–* Optional resizing on the fly.
–* Image-generator and its features usable independently from mod and gallery (see CUSTOMIZATION)

- For those with Apache: Deny access to files
–* Deny direct access to all image files (specify types in .htaccess file)
–* Forward those who find the images to a page of your choice.
–* Allow you to rename the image-generating file to any name and extension.

- Copying Permissions: Specify specific users and groups to allow copying
–* Enter the user id # or group name into the Gallery Description or Album Password Hint
–* Seperate with commas, no spaces (unless part of group name)
–* Place a negative in front to deny. ex -1, -banned
–* Denying has priority over allowing.
–* Optional removal of caption for those allowed to copy, see CUSTOMIZATION

- Extra features I added to my own gallery and am too lazy to undo:
–* Categories with no visible albums (to the user) and no thumbnail/description become hidden from view.
–* Videos default to 640×480 dimensions
–* Non-image files can now use custom intermediate images if uploaded (default normal_ prefix)

DOWNLOAD! And enjoy :D

91 unique view(s)