Took me quite a while to write this block of code: (Note: You will want to compare this chuck of code with the screenshot of yesterday’s source code – otherwise it wouldn’t make sense.) do { if (abs($id – $center) < = $r['sight']) { $ccx = $coordx + ($id - $center); $ccy = $coordy; }… Continue reading Coordinates, Coordinates, Coordinates
Tag: PHP
The beginnings
I finally worked out how to display a table with individual cell IDs representing the coordinates for my current project (It’s called Kingdom of Might – cliché, but then again it’s just a project name for now). And now it is just a simple matter of displaying the content in each individual cell using an… Continue reading The beginnings
When I am bored
I was feeling a little bored and so I challenged myself to fix get Project Extension running (in some functional sense at least), and I surprised myself at how quickly I managed to patch together some hacks to get it online again. As you can see, it is not fully functional – the character stats… Continue reading When I am bored
Advanced Login System – Available for download
I have finally found sometime to update the code for Advanced Login System, bringing the version build up to 20091220. I have also removed the password salt (since I figured they don’t really do much), so there is only 1 standard version and you should be able to upgrade from any previous version of ALS… Continue reading Advanced Login System – Available for download
Modular Development
I am really glad I used modular development for ALS now. It makes it so easy to reuse code from ALS in my Integrated Contact Form. I am currently using the update module (by the way, I just realized the fgetcsv() function requires a length parameter in PHP 4 (optional in PHP 5) – eg.… Continue reading Modular Development