Too Cool for Internet Explorer

Well, i was bored again, and here is the outcome: A snow effect for Flash AS 2, which uses very less CPU power.

It is extremely simple to use:
1. Create a new empty movieclip on the top layer of your (root) movie.
2. Move the new movieclip at the x and y position 0 Pixel.
3. Copy the following code to the first frame in your new movieclip: Flash Snow Script

Read the rest of this entry »

This Code isn’t working any more since twitter changed their authentication method. i have no intend to adapt this code and hereby declare it obsolete.

You know the dilemma, you want to write a simple tweeting PHP script and have to mess around with the Twitter API.
With the following small script you can tweet with a simple function call. It IS that simple (And SSL secured!!!).

Here’s the function:

Read the rest of this entry »

When you create a div layer with 100% width and height, the height is always only the height of the browser window, not of the page content (which can be much higher).

To solve this, give the layer div an id and use the following JS code inside the layer div:

<script type="text/javascript">document.getElementById("yourlayerid").style.height = document.getElementsByTagName("body")[0].offsetHeight + "px";</script>

The code is very simple, it gets the height of the content (the body element) and gives it the layer div.

Tested in Opera, Firefox and *barf* MSIE (8).

To swap or reload a picture on the fly is easy with Javascript. Just give the img tag a unique id and execute the following command in javascript:

document.getElementById("picture").src = "/img/cool-picture.jpg";

Now comes the glitch in (guess where) Internet Explorer: If you want to reload a picture that has changed on the server (let’s say you have overwritten the picture with a php gd-lib script in the background), the Internet Explorer (i call him msie, spoken “emsy”) always keeps the cached picture instead of reloading the picture from the server like opera and firefox do.
You can fix this behaviour with a simple cache-avoiding technique: Add a random number as a parameter, as shown in the following code, that’s it.

document.getElementById("picture").src = "/img/cool-picture.jpg?r=" + Math.floor(Math.random() * 1000);
Since i do not care anymore about CS:S Scripting, this code is hereby declared obsolete, but could still run.

TimeWaster’s Banking Script is an advanced bank based on Eventscripts v1.5 and a SQLite database which makes it incredibly fast.
There’s an converter included to convert and copy “EternalBank” bank accounts for your easy switching pleasure.

Read the rest of this entry »

Since i do not care anymore about CS:S Scripting, this code is hereby declared obsolete, and it will not run anymore.

TimeWaster’s Happy Hour Script v1.0 for Counter Strike Source

This script will give every player weapons and equipment for free at the period you define.

Read the rest of this entry »

ClickForYou   September 27th, 2008

ClickForYou is a nifty little tool i wrote to be able to cheat in the game Insaniquarium, a game made by the PopCap guys.

 

How does it work?
That’s Easy: After you ran the executable and pressed the “Pause” button on your keyboard, it emulates a left click on your mouse every 20 milliseconds. This means you are clicking the left button on your mouse 50 times a second without moving your finger. To stop clicking, simply press your “Pause” key again.

Read the rest of this entry »