Archive

Archive for the ‘Retarded code’ Category

Limit function in MSSQL 2000

November 28th, 2009

Since there is no real limit functionality in MSSQL 2000 , getting a selection of records can be somewhat difficult. Well, here’s a solution to get a number of records that works like the “limit” function that can be found in MsSQL

SELECT col FROM (
   SELECT top 50 * FROM (
      SELECT top 200 * FROM tbl1
      WHERE col > 1 ) ORDER BY col
   ) AS newtbl1 ORDER BY coldesc
) AS newtbl2 ORDER BY col ASC

Note that there is a similiar limit function in MSSQL 2k5 called “rownumber” which makes returning the desired results a lot easier. ;/

HappyFace Retarded code , , , , , ,

EveMonitor, see what your scout sees.

September 23rd, 2009

As a fleet commander how many times do you rely on scout info about a system or where the wt’s are and in what ships? The answer is:  everytime!

As a fleet commander you not only need scouts but also the most up to date info to make the right decisions at that moment, so for example when a scout jumps into a system and then typing all the shiptypes etc or communicate through ventrilo/ teamspeak etc you have a small delay in information.

With EveMonitor you can see whatever your scout is seeing in realtime, and best of all, not only you can see whats going on but ALL of your fleet members can see whats the scout is seeing so that everyone in your fleet knows what to expect.

How does EveMonitor works?
The assigned scout(s) runs the application as a server and anyone that wants to see what the scout is seeing on his Eve Online window runs the client and connects to the server (the scout). To prevent spies, the server guy can password protect his broadcast or kick anyone from the stream so that spies can’t see whats going on.

Another feature that EveMonitor supports is to play the game from anywhere you want, for example  at work. EveMonitor can act like a remote control server/client that can stream Eve Online at full speed (30+fps) depending on the connection speed and computer specs.

These are just few examples how the EveMonitor can be useful to enhance your overall Eve Online experience.

Release date?
Before we release the application however we still need to test some more so we can optimize it before release. If you want to be part of helping us to test or are just interested in the project you can join me in the ingame channel at eve online or hit me for a convo, ingame name is “ArkieParkiet”

Any beta versions online?
Sure, the old build can be found here but be warned, it doesn’t look pretty and it’ has limited features. http://www.uitstekendeaccu.nl/tmp/

Currently working on
EveMonitor is still in beta after almost a year of development but i’m currently implementing  vo-ip so that you don’t need a 3rd party application to run seperatly with EveMonitor, apart from that i’ve partially implemented a “tabbed window” feature in the new build so that a fleet with multiple scouts can watch all their scouts in a tabbed window or view all the scouts at the same time in smaller screen in one window and click on one of the scouts broadcast to enlarge the window. Awesome! yes it is ; )

This way it is possible to watch everything all at once,  just what a fleet commander needs to gain an edge in battle and suprise the enemy fleet(s) or tactically run away when outnumbered.

Can I ask for new features etc?
Sure, make a comment here or at our forums which I prefer.

Blablablah, got anything you want to ask?
See above.

Video example?
a video might tell you more than some screenshots, so here it is: http://www.uitstekendeaccu.nl/tmp/clientToServer.rar

Screenshots?
Unfortunately i don’t have a recent screenshot because i’m too lazy to make a screenshot of the current build of EveMonitor but there are some older screenshots available for those that are interested to see them. The current build looks a bit different so that it’s easier to use and the application is more user friendly. I’ve made the logo smaller because who the fuck wants to see that big ass logo each time they start the application?


Read more…

HappyFace Retarded Eve Online, Retarded code ,

[MSSQL] Updating a column with values from another column

September 22nd, 2009
UPDATE Table1
SET columnToUpdate = columnToUpdateFrom

HappyFace Retarded code

[Java] Url to IP converter

September 21st, 2009
/*--------------------------------------------------------------------------
UrlToIP.java
 *****************
By: HappyFace  http://www.engineeringserver.com
Contact:    info [@] engineeringserver.com
Version:    05/may/2009
"*****************
Note: shows the IP address that belong to the domain name
//----------------------------------------------------------------------*/

import java.net.InetAddress;
import java.net.UnknownHostException;

public class UrlToIP {
   public static void main(String[] args){
      String hostName ="www.retardedweblogger.com";
      try {
         System.out.println("Url:   " + InetAddress.getByName(hostName).getHostName());
         System.out.println("IP: " + InetAddress.getByName(hostName).getHostAddress());
      } catch (UnknownHostException e) {
         e.printStackTrace();
      }
   }
}

HappyFace Retarded code

TopicList Board Generator a plugin for SMF

September 21st, 2009

An application I wrote some time ago that generates the TopicList board for the TopicList Board generator by T@by

Just specifiy which board(s) you want to include in the index and the application will generate the code that you can copy & paste on your forums to make it work, easy as that.

If you found any errors in the application or want to request a new feature just let me know and i’ll see what i can do.

Demo
http://www.javaforums.net/forum/javaforumsnet/index_the_big_java_index-t3468.0.html

Screenshot

Download link
http://www.javaforums.net/Topics list generator1.1.jar

HappyFace Retarded code , ,