Wednesday, March 30, 2011

Webcameras around the world

I'm currently working on a worldwide webcameras project. I made simple webpage that lets You browse my webcam database that mainly contains controlable java, panasonic MJPEG and axis MJPEG ones (soon to add more). First two can be controlled by java or controls on my site (as long as they are not locked in camera settings). Site picks one randomly when accessed without special parameters. The list displays all webcams currently available in database. There is also simple search mode based on camera description (mainly location and URL). Everyone of them has original webpage url included incase original owner wants people to access their sites (good when You are in charge of tourism or some kind of hotel).

There was a time when I didn't have job and was browsing internet all day long. Then I found webcameras, mainly java ones then. I found it very interesting and very soon I was sighseeing world sitting behind my computer desk ;D . This time I wanted to easly access it from one database instead of googling webpages on and on. Since I'm now playing with php+mysql it is now possible! So here is the webpage! Have fun:

http://krzy.eu/kam

Wednesday, February 16, 2011

Small project

For some time now I'm writing some kind of database that can be easly accessed and edited. It contains essential data I'm in charge of at work. It helps a lot, because there is no need to "move your ass" in order to verify things. All information necessary for us to work are kept in database and accessed through WWW.

Unfortunately due to it containing a lot of information that is not supposed to be public available I can't reveal any screenshot or similar information.

I can at least provide you with changelog.

v1.04
- Changed how the server reacts when textarea is left empty after clicking a button. It will now automatically asign '-' to it.
- Improved ajax function:
* Replace controls with text only when ajax is successful
* Button DISABLE'ing until ajax succedess or returns error. Error: re-enabled, Success: standard behaviour.
- Replaced input text with textarea
- Added support for ENTERs
- Added compare mode
- Changed 'Zatwierdz' button position to fix status div fully covering it

v1.03
- Added ability to change password
- Added permission to prevent view, view or view&modify specified data
- Added ability to logout
- Switched from hardcoded login to SQL login

v1.02
- Added jquery and AJAX to support editing directly on the webpage
- Added login and session timeout (set to 10 min)

v1.01
- New generation version with tree

v1.00
- First initial version to view database content of 3 columns in a table

Wednesday, January 19, 2011

Super BluKid renewed

Super BluKid by Fraser Ashworth from Bitwise Design now renewed! Extended Version v1.00.

I spend few days on this game in AMOS Basic (luckly it doesn't require deasembling tools and hexing to change the code). I was so into turning the cheats off that I even fixed few things and added a bit of extended functionality like m key.


Why did I do this?
My 7 years old sister were asking me to turn some game on my netbook connected to 42'' LED TV. I run Amiga emulator because games that were running on this computer were far better for kids this age in my opinion.


The Work:
I opened Super BluKid I downloaded from the net (please note that I owned such game on my R.I.P Amiga I had, not sure if it was original though). She started playing it but soon she discovered that SPACE KEY skips levels. What a shame... She could've played at least a bit fair (with hardcoded invinciblity).

The game was finished in no time and then I thought: "I'm going to find some hex editor and hex out that invinciblity mode, because there is too much cheating there...". I opened the disk with some binary viewer and then I started searching internet by the file tag at the beginning of binary data. I found out that it's AMOS and the file itself is sourcecode for it. Great!

After working for an hour I wiped the variable that was the culpit. The game now worked almost as original without modification. I didn't want to make it that way because it was the only version available on the internet, so I readded it by adding a title screen to switch it ON and OFF and that was it. The first version I wanted to release.

Then I started editing cracktro like intro to put message about how to re-enable disabled by default cheat mode. I couldn't get it to work though. I mean it worked but I wanted to leave original message inplace too. I wasted a day to find out that there are really 3 screens in the intro. One hidden behind that contains all text to display in scroll that is 2nd screen and 3rd is the "moving faces". So I was playing with the screen still with no full success. I could get other line of message to work but it still displayed only this one. Then I found out that coping function from 1st to 2nd screen contained X and Y pixels to copy. This was the key! By adding variable Z (btw. it was already there as Z=Rnd(100) but not used anywhere else there. I think cracktro autor wanted to use it for something but forgot to wipe it after failed attempt or something). This variable was added to Y telling it which line to fetch this time (after X - scroll - finishes scrolling turn). Bingo! This fixed everything and the cracktro was finished!

Editing game was actually quite easy. Full source reading was required thought to get familiar with it and know where every procedure lies and what it does. So then by adding additional key support, like "m" key to turn music on and off (essential!) was a piece of cake but wait... It didn't work the way I wanted it to... It worked only when pressing space and m or was very unresponsible to clicks. So then I found AMOS manual on the internet and found out that better way is to use it like this:

D$=Inkey$
While D$<>""
If D$="m" then .....
If D$=" " then ......
D$=""
Wend
This way it worked like a charm. It even fixed SPACE spam in BOSS LEVEL that could crash Your game when finishing 4th world! (I figured later - not 100% sure if that's the reason though ;P)

After that I sterted adding more options to title screen and playing with scroll to work the way I want. It was a lot easier than cracktro one because this one worked on a variable, not hidden screen. I split previous person idea from full invinciblity (energy+time+skip key) to energy only, time only, items only (YES! Now You can have unlimited baloons ;), ingame keys only (space, 1-6 keys) and even entering hidden time modifier and map maker! This is recent version. First worked on 3 keys only where first one enable invinciblity, 2nd space key and 3rd both - lame, wasn't it? ;D About hidden tools. Time modifier works, but it's a shame only one level can be modified at a time. Map Maker does work in a weird way. When run from title screen it doesn't display all textures and mouse. But if you run it before it, they show up properly. It's weird to use though and I don't have slightess idea how to save the friggin' map. Most likety it was some help tool for author, because all stages are really multicolor icons stored in the same file as resource banks. Oh well....

Ingame keys allow you to regenerate time, energy, lifes and tools by pressing a number from 1 to 6. Just look at your INFOBAR (energy, time etc), the number is the bar order, so 1 for time, 2 for energy and so on. Unfortunatelly adding lifes don't show up. It works but the graphic isn't there. I was trying to make it working but couldn't find proper Bob to paste there. Probably it's some bigger image and I don't have time to play with it all day long.

Last thing was to add ability to quit ending loop-screen. Well... We sometimes want to play the game again without resetting whole computer, don't we? xD
Then was the title screen scroll fixing to make it more beautiful and that's about it.

Few screens of code:





The full list of changes
  • Cheats turned off by default
  • Fully customizable cheating: unlimited energy, time, tools, ingame keys
  • Additional ingame keys: SPACE, M, 1, 2, 3, 4, 5, 6 (NO 1, 4-6 on BOSS LEVEL)
  • Fixed SPACE KEY breaking 4th WORLD boss (I think this was the bug)
  • Extended cracktro like intro scroll functionality
  • Added title screen scroll short stop without flash functionality ("-" character)
  • Ability to quit ENDING screen by pressing fire button
  • Few programs were removed like nuke, border etc
  • Few other fixes and various things I probably forgot


PLEASE NOTE: ALL THINGS DONE ARE ONLY FOR FUN. I DON'T INTEND TO MAKE ANY PROFIT FROM THIS DOING. THE GAME DOES NOT BELONG TO ME NOR DID THE IDEA AND THE CODE, FRASE ASHWORTH IS THE CREATOR. DOWNLOAD LINK IS PROVIDED FOR TESTING ONLY UNLESS YOU BOUGHT AND OWN/OWNED FULL GAME.


Download it here.

Sunday, December 12, 2010

Exone.pl hosting - not really 24h/d, 7d/w

UPDATE: They fixed their domain system so I changed this post text a bit to be less critical. Nevertheless it took them almost 70h to fix it (because nobody was on weekend)!

Why? Why I'm not satisfied with their hosting?

Everything started at 12:01pm friday. I was at work, there was a big problem with our entrance system so I was testing various things to get it again working like it should. Meantime I was talking with person sitting at information desk. I asked her to go to krzy.eu and check out my redirecting system I worked hard on. She opened it, first time it worked but when site got refreshed IT WENT DOWN! "What the hell" I said. There is something wrong with it. I really got mad at that time, I asked like 20 people there to check it out but it suddenly stopped working!!! So what I did? Because of not enough time at work I couldn't send them notice about this problem till 4:30pm. Something happened after that? Nope! They claim to monitor sites 24h/7day but that's not really true. They work from 8am-4pm on weekdays only!!! Nobody to help you past those hours or during weekends.

This hosting is NOT FREE! I paid for it and what did I get? After a week broken access to my website (FTP, mysql, mails work), broken admin panel to change domain/server settings (there is a workaround for it if you remember your domain ID)! All systems are automated that what it looks like, NOBODY really monitors anything!

I even put an AD on 1 Cent Mail and because of it I'm losing my valuable visitors!

I moved my site to free webhosting, cba.pl, for Sunday. Everything worked fine then. Now It's back at exone and I hope this problem never appears again or I'm really be mad then.

NO STATISTICS OR STORED URLS WERE LOST OR ALTERED! Everything is working as it was before 12:01pm Friday.

http://my.dnsfor.me

Wednesday, December 8, 2010

Target FOUR urls by country and pass it as ONE url

At least I finished my last script. I don't mean that I won't be writing scripts anymore. I think I need a little break for now. I was working on them four days stright, at work, at home. Nevermind.


What this one does? It let's You pick one or more of 200+ countries to target up to 4 URLs as one MASKed URL, for example, named http://krzy.eu/c1 . That's just 10 characters excluding http tag and You can hide there any urls You like! Well I think You need to check it out urself anyway. It's FREE!

http://krzy.eu

Tuesday, December 7, 2010

Free simple text counter?



Want to have a simple/text counter like this one you just saw? Go to krzy.eu and create one for Your sites.

Monday, December 6, 2010

Convert LOOOOONG urls into short ones

Shorter URL free of charge? Easy to remember? Special functions: Random redirect and Tier targetting? Is it even possible? YES! READ ON!

Yesterday I started working on my own PHP script that let's people "cut" long URLs into short one. For example any URL can be reduced to http://krzy.eu/1. First version took only 30 min to write and I did it at work on Sunday lol. Anyway till today I was writing 2 additional functionalities. The first one was random URL redirecting that lets visitor pick 3 URLs that short URL will randomly redirect to. Each of them has 33,(3)% chance to be picked and the URL looks like this http://krzy.eu/r1 where r stands for random. Second is Tier targetting. I think it's the hottest one because it lets you redirect people from specified countries to your website and the referring URL remains the same it was (krzy.eu DOES NOT count)! Tiers are based on 1centmail and world-wide cash PTP tiers. The URL always looks like this: http://krzy.eu/t1 where t stands for tiers or targetting (as You like ;).

Service is totally free of charge. Of course I accept donations and as a reward I can enable number at the beginning of URL or even a full name like http://5.krzy.eu or http://momis.krzy.eu. Of course You need to mail me after you donate - more info You will find after submitting URL to generate short one. There are NO ads involved in redirecting system and I hope there never will be one. Only ads I would want to show are banners shown on main URL submitting page. You can of course donate and get a banner on main site as well for a specified time (needs to be talked over by mail).

In the future i plan to ADD Statistics, Registerring, Logging in, editing URLs, targetting by countries someday. Don't know if that means SOON or not ;P

I urge You to try it. I will not use any information You submit against You or to profit from. I really don't care about what You submit but I DO ACCEPT ABUSE REPORTS incase someone does very bad thing ;)

http://krzy.eu (This link was accessed: times)