Quicklinks: Login - OCRacing - VG/DB - IrcPictures - Files - Uptimes - UO: 3


Tutorials

Tutorials

Tutorials
  Matches

Hi,peps wondering if it isnt time too start playing some matches/tournaments on dod,We had a match scheduled in december but the tlo backed out at last moment.Just wanted too start a diskussion on the subjekt.


[Overminds]Loke - 24/01-2009 kl.11:28 - Blog (1) Comments

  New version coming up!

As some of you may have noticed i have started work on the new version of ocracing, this will be a complete rebuild on a new platform. I will keep everybody posted and release an early beta when i can. Cheers!


Yell0w - 27/12-2008 kl.12:18 - Blog (3) Comments

  Oppdateringer

Hei og snart godt nytt år folkens, Nils Olai har nå fått tilgang til å legge ut nyheter på denne siden så vi håper at det snart blir litt flere oppdateringer. Dersom det er andre som har lyst å legge ut noe her får de ta kontakt på mail ( werner @ overminds . org) så skal jeg lage brukere for dem.


Yell0w - 27/12-2008 kl.12:14 - raamund (0) Comments

  watchboy hacked Yell0w Account?

I use to play OCRacing and was glad with it, but lately weird things have happened. Some new cars with insane qualities ( 210902 WHP. ) and cheaper than all the others (1000whp cars for 1 credit), people getting 800millons from nowhere (I did, and still don't know how), people with less than 500 races with a class 1 license and a 120million car.

Even stranger: Yell0w appears suddenly from nowhere and asks people in the tagwall to send his password to an email at yahoo, for example:

(11:20) Yell0w: XXXX there is something wrong with your account
(11:20) XXXX: am not cheating
(11:21) Yell0w: its saying your password is out dated send it to my email daniellesin@yahoo.com
(11:21) Yell0w: and i will reset it
(11:22) Yell0w: i will be back in 1 minute
(11:25) XXXX: oke my pasword i send you a email
(11:26) Yell0w: ok thank you for your help this will be fixed as soon as possible which is now
(11:27) XXXX: oke thanks
(11:27) Yell0w: i am logging of for 5 minutes XXXX i recived email please log off

(11:47) Yell0w: YYYY just a note if you do quit send your password to danielesin@yahoo.com it is required of all players who quit.

(obviously XXXX and YYYY are not real player names, I've hidden them for privacy)

Shouldn't Yell0w have an overminds e-mail? Then says them to log-off as he can enter it's account. Next to see is the (probably hacked?) account with a brand new car, more money and with the same IP as a user called watchboy12345. No more news of the account unless watchboy12345 was online a minutes before.

So I'm asking ¿Has watchboy hacked Yell0w account and it's using it to hack other accounts? If so ¿is planning Yell0w something about it?

Don't know if it's something temporary or if it's going to last forever, but this has ruined an amazing browser game, and this it's always sad.

I hope this gets to someone who might find it as important as I think it should be and forward it to Yell0w.

Thanks.

EDIT: Well I see it has gone to the front page, didn't wanted to appear there, but now my desperate attempt to contact Yell0w after being unable to find Yell0w email anywhere else will surely be read.

EDIT 2: I understand I have not been given permission to post this here, so Yell0w if you feel like banning my accounts here at the blog and in the game i'll understand, but please, PLEASE, make everything a little more secure, thanks.

 


LiTuNi - 09/12-2008 kl.13:40 - blog (3) Comments

  Tech Ed 2008 - Day 1

The first day of teched there werent really any good things going on before the Keynote had started, the only thing that was available was basically the only thing we could do waas attend the hands on labs at the top floor. There was alot of computers there, and also alot of people sitting on them. The first thing me and Svein Even tried to do was to work on a Winforms HOL. But after logging on and getting our system up and running, we got an error message when booting up visual basic. The trial version had ended... A big disappointment that they apparently couldnt fix on their virtual server before the next day. So we found another HOL, i think it was I/O on embedded devices. We were supposed to make an LCD display show some text and connect to the lcd. Well we managed to get it to work, but it wasaint really that hard. All we were required to do was uncomment code along the way. Not a very good way of learning stuff.

In the keynote we heard about the new microsoft products, especially visual studio and windows 7. And i have to say that I was impressed and that im now officially looking forward to a new build of vista (because thats basically what it is) Visual Basic 10 also has alot of nice new features that everybody will love :D

After the keynote we attended an F# session, and being into scripted languages i must say i was looking forward to that, the session did not disappoint at all and i picked up some good ways of doing things, but most importantly what F# does well, and that is calculations. Its also a good language to write dll files in, if i got the guy correctly. And with its .NET support there shouldnt be too much hassle getting it to work and getting familiarized with the language.

You can see the LCD Display in this picture

 

 

 

 

 

 

 

 

 

 

 

 

 


Yell0w - 13/11-2008 kl.22:17 - Blog (0) Comments

  TechEd in Barcelona 2008 - Prologue

On saturday i departed for Haugesund to meet up with Vidar who was the one who made me go to TechEd, not that he had to force me or anything like that, we picked up Kai in aksdal and so began our decent to the southern of Europe. At the airport we met up with some of the other guys that were traveling, but we didnt really got to talk before we got to Amsterdam. Vidar got connections (diners card) so we got into the vip lounge at the airport in Amsterdam, i havent been in one before so it was kinda nice to be able to tap my own beer. We spendt about an hour there waiting for our next flight to Barcelona. In barcelona Kai didnt get her luggage so we had to wait, in the meantime Georgij got hijacked by a pirate-taxi driver so we followed him to the parking lot, ending up in a car with no visibility out the front window and a guy who didnt know how to drive in a calm way (gas,brake, gas, brake ... ) When we got there he wanted to have 40€ but we had agreed on 30 before we got in. Later we learned that the other taxis charged 27€ for the same ride, and that were the legal ones with good comfort etc. Anyway i like to think we paid for a good experience.

e

Upon arriving at the hotel we had a 3 minute break in our rooms before heading out to La Rambla, Barcelonas longest street, there we got offered hookers, cocaine, beer and ganja on the street. Ofcourse we didnt accept, but the experience told us that we were no longer in Ølensvåg. We found a place to sit, an australian tavern, yes i know very international of us ... I didnt like it so i managed to get Svein Even to walk back with me to the hotel, walking alone was not an option there and then.

Sunday the only thing we had to do was get registered at the event, and the place was kinda dead except for registering and getting a nice bag and some other loot (yay microsoft drinking bottle!). We didnt really get an idea of the scope of the place at that time. So we went back and decided to discover Barcelona, we hooked up with Stian and Jon Kristian and had a long and nice walk through the streets, and i got them to go into the sidestreets as i find that much more fun than walking the mainstreet packed with tourists.


Yell0w - 11/11-2008 kl.18:51 - Blog (0) Comments

  Flash Cookies - A Security Threat!

I read an article at slashdot today regarding flash and how it stores cookies, it appears that the cookies take a default of 100kb per page, cant be deleted by your browser, has infinite lifespan and last but not least; has the capability of storing and sending out your browsing history! To remove the cookies you can use adobes own tool for it, alltho who knows what they might be putting onto your computer, or taking out of. Anyway here is the link: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html 

You can read the original post at this link: http://www.imasuper.com/66/technology/flash-cookies-the-silent-privacy-killer/ 


Yell0w - 15/10-2008 kl.10:00 - Blog (0) Comments

  Magic The Gathering in Haugesund!

Started at around 10.45 this morning sitting at a cafe with little people, was a nice place to play with decent prices on drinks.

We played with a total of 3 boosters each where we picked out one card in a round robin system to build a deck, then we added land and played with the cards we had selected. I ended up playing red and green (mainly red) rune ended up with a blue deck and nils used a white. Rune totally whooped our asses with masses of merfolk and the most i got him down to was 4 hp. I played much more evenly against nils but eventually lost against him too. Was a great event tho, played magic about 4 hours, and when i left the cafe was crowded with people!

for 120 nok i ended up with lots of nice cards to build on my new rogue deck, and best of all, it was only 15.00 when we were finished = lots of daytime left to spend ;D

Also, they play every tuesday in haugesund, and Rune was very eager to come out here and play with us when he heard about the tournament, but i said it was probably only for omega employees (and he definately is abit over our skill level :)


Yell0w - 06/10-2008 kl.9:43 - Blog (0) Comments

  Ole og Vivian sitt bryllup!

Tok endel bilder fra bryllupet til Ole og Vivian og har lastet dem opp her, de ligger i fullformat så de er ca 3-4 mb i størrelse :D

Bildene kan du se ver å klikkke her 


Yell0w - 27/08-2008 kl.18:35 - main (0) Comments

  Adventur Deluxe!!

Jebus!! Sitter på jobb og kommer plutselig på adventur og hvor gøy det var, surfer innpå sidene deres og ser at det har vært prat om å gi ut nytt spill i august 2007, og så leser jeg at dehar planlagt å gi ut spillet igjen til helga ;D Gleder meg virkelig, kommer til å gjørehverdagen mye bedre for alle. Dette spillet bor definitivt sjekkes ut! 5 aar siden spillet sist var spillbart.


Yell0w - 05/08-2008 kl.9:11 - main (0) Comments

  Refering using meta tags and php

Why would you want to use meta tags and all this scripting just to make a hyperlink? Well because you can program more things into the hyperlink than just a _BLANK and send them away. The reason i used it is so that i can have a counter for every click on a link. Now i send the user to a new php page, that page selects some information from the DB based on the ID of the record. and does a simple update +1 on the link. Then i have added a function to check if http exists in the string because a simple www.test.com wouldnt work, it has to be http://www.test.com for the meta tag. Hope this helps abit.

<?session_start()?>
<title>:: Overminds :: Redirection</title>
<body bgcolor="#6666FF" text="#FFFFFF">
<center>
<?php
include"../config.php";
$result = mysql_query ("SELECT * FROM links
                         WHERE id LIKE '$id'
                       ");
if ($row = mysql_fetch_array($result)) {
 
do {
$idnumber = $row["id"];
$linkurl = $row["url"];
$nhits = $row["hits"];
}while($row = mysql_fetch_array($result));
mysql_query("UPDATE links SET hits=hits+1 WHERE id = '$idnumber'");
echo("Overminds.org is redirecting to: $linkurl");
}
else {
	echo("you made a boo boo");
	$linkurl = "http://www.overminds.org";
}
if(stristr($linkurl, 'http') === FALSE) {
$linkurl = "http://$linkurl";
}
 
?>
<META HTTP-EQUIV="REFRESH" CONTENT="2; URL=<?=$linkurl?>">
<br><br><br>Cant wait? Click the hyperlink: <a href="<?=$linkurl?>"><?=$linkurl?></a>

Yell0w - 20/07-2008 kl.18:03 - Blog (0) Comments

  Fancy music mapping!

I was surfing around this evening and then i stumbled upon a very cool page for finding music that is similar to other music you like. The site is called www.music-map.com, just type in an artist and it will find music that resembles it, and so on, with a nice overview. Must have when youre searching for new music. Cardamar worked, but didnt return any results when searching for Binærpilot :\ Oh well ;D


Yell0w - 20/07-2008 kl.0:48 - Blog (0) Comments

  Using cursors in t-sql
	DECLARE TEST_CURSOR CURSOR FOR  
SELECT GM.[login]
 FROM stbl_System_Groups AS G WITH (NOLOCK)
 INNER JOIN stbl_System_GroupsMembers AS GM WITH (NOLOCK) ON GM.GroupRef = G.PrimKey
 WHERE G.GroupID = 'Developers'
 
 
OPEN TEST_CURSOR
FETCH NEXT FROM TEST_CURSOR
WHILE @@FETCH_STATUS <> -1
 BEGIN
 FETCH NEXT FROM TEST_CURSOR
 END
CLOSE TEST_CURSOR
DEALLOCATE TEST_CURSOR
 

Yell0w - 03/07-2008 kl.12:56 - Blog (0) Comments

  Executing a stored procedure in VB

Here is an example how to execute a stored procedure with appframe in vb.net

#Region "Imports statements"
Imports CR3 = Appframe3.Win.CR3
Imports CR3Data = Appframe3.Common.Data
Imports UserSession = Appframe3.Common.UserSession
Imports Appframe3.Common.Utils
Imports Appframe3.Common.Data.afAccessLayer
Imports Appframe3.Common.Data
#End Region
 
        Dim myProc As New afProcedureCall("astp_Personnel_Timekeeping_ImportDoimport")
 
        afAccessLayer.ExecProcedure(myProc)

Yell0w - 30/06-2008 kl.15:36 - Blog (0) Comments

  Syntax highlighting!

Added support for syntax highlighting in the newspost, hope it works as intended, you can add sourcecode to the textbox on the add news forms. I use a script called Geshi to parse the highlighting, and it supports several languages :D

Just a test here:
<? if(isset($editnews)) { echo"<option selected>$ny_kat</option>"; } 
 
$query = "select * from gen_categorys WHERE maincat LIKE 'news' AND level <= $axx";
$resultat = mysql_query($query);
if ($resultat)
	{
		for ($i=0; $i<mysql_num_rows($resultat); $i++)
		{
			$row = mysql_fetch_Array($resultat);
			$id = $row["Id"];
			$owner = $row["owner"];
			$maincat = $row["maincat"];
			$subcat = $row["subcat"];
			$notes = $row["notes"];
			{
echo"<option>$subcat</option>";
 
	}}}
?>

Yell0w - 26/06-2008 kl.21:49 - overminds (0) Comments

  Substring and Trimstart in vb .net

Dim tests As String = "EM00000000000001234"
/substring on char 2 (after char 2)

tests = tests.Substring(2)

/Trim away all 0 in a char set
tests = tests.TrimStart("0"c)

/Show the result
MessageBox.Show(tests)

Dim tests As String = "EM00000000000001234"
/substring on char 2 (after char 2)
 
tests = tests.Substring(2)
 
/Trim away all 0 in a char set
tests = tests.TrimStart("0"c)
 
/Show the result
MessageBox.Show(tests)

Yell0w - 19/06-2008 kl.14:48 - main (0) Comments

  Creating a new stored procedure

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: Werner
-- Create date:
-- Description:
-- =============================================
CREATE PROCEDURE someprocedurenamehere
--<@Param2, sysname, @p2> <Datatype_For_Param2, , int> = <Default_Value_For_Param2, , 0>
AS
BEGIN
SET NOCOUNT ON;
-- Insert statements for procedure here
-- SELECT <@Param1, sysname, @p1>, <@Param2, sysname, @p2>

END
GO


Yell0w - 16/06-2008 kl.10:07 - main (0) Comments

  Oh happy days!

With my bank account showing -2000 in the early days of may and i had quite a few exams to take, my life didnt look very good, but then thanks to Vidar everything changed a late sunday night. He wanted me to attend a course in MSSQL and appframe basics, sadly this was in my last week of school and with two exams to take... of course i said yes! So i attendet the course as much as i could and also i read for my exams in the evenings. The end of this story couldnt have been better, both exams passed, with good grades, and i got a job working at Omega in Ølensvåg, as a programmer! A very nice turn of events in my life, and ill try to post some more updates in the near future.


Yell0w - 14/06-2008 kl.17:02 - blog (0) Comments

  Oh hi all!
I havent been online in a while now, havent been motivated to do much here since im trying to learn VB .net instead. Well, ive got 1 month left of my bachelor studies YAY! and then i might do some work here again. If you guys need to contact me you can do it on my email (not ingame) it is werner ( at ) overminds.org
Yell0w - 10/05-2008 kl.11:33 - OCRacing (0) Comments

  Xbox 360 status code 80169d94 fix

When i tried adding points to my account, and tried upgrading back to xbox gold i got this error. So i tried clearing up harddisk space, deleting profiles and doing the stuff that people on the xbox.com forums recommended, but nothing worked. What i did in the end was making a new account, on another email, got a month free gold membership and added points to that account and bought fable <3

so it seems that when my normal account went from gold to silver it got blocked on the market place, i dont know why microsoft would do that but there it is ...


Yell0w - 13/04-2008 kl.17:48 - blog (0) Comments


Tutorials

Tutorials

Tutorials
  Matches

Hi,peps wondering if it isnt time too start playing some matches/tournaments on dod,We had a match scheduled in december but the tlo backed out at last moment.Just wanted too start a diskussion on the subjekt.


[Overminds]Loke - 24/01-2009 kl.11:28 - Blog (1) Comments

  New version coming up!

As some of you may have noticed i have started work on the new version of ocracing, this will be a complete rebuild on a new platform. I will keep everybody posted and release an early beta when i can. Cheers!


Yell0w - 27/12-2008 kl.12:18 - Blog (3) Comments

  Oppdateringer

Hei og snart godt nytt år folkens, Nils Olai har nå fått tilgang til å legge ut nyheter på denne siden så vi håper at det snart blir litt flere oppdateringer. Dersom det er andre som har lyst å legge ut noe her får de ta kontakt på mail ( werner @ overminds . org) så skal jeg lage brukere for dem.


Yell0w - 27/12-2008 kl.12:14 - raamund (0) Comments

  watchboy hacked Yell0w Account?

I use to play OCRacing and was glad with it, but lately weird things have happened. Some new cars with insane qualities ( 210902 WHP. ) and cheaper than all the others (1000whp cars for 1 credit), people getting 800millons from nowhere (I did, and still don't know how), people with less than 500 races with a class 1 license and a 120million car.

Even stranger: Yell0w appears suddenly from nowhere and asks people in the tagwall to send his password to an email at yahoo, for example:

(11:20) Yell0w: XXXX there is something wrong with your account
(11:20) XXXX: am not cheating
(11:21) Yell0w: its saying your password is out dated send it to my email daniellesin@yahoo.com
(11:21) Yell0w: and i will reset it
(11:22) Yell0w: i will be back in 1 minute
(11:25) XXXX: oke my pasword i send you a email
(11:26) Yell0w: ok thank you for your help this will be fixed as soon as possible which is now
(11:27) XXXX: oke thanks
(11:27) Yell0w: i am logging of for 5 minutes XXXX i recived email please log off

(11:47) Yell0w: YYYY just a note if you do quit send your password to danielesin@yahoo.com it is required of all players who quit.

(obviously XXXX and YYYY are not real player names, I've hidden them for privacy)

Shouldn't Yell0w have an overminds e-mail? Then says them to log-off as he can enter it's account. Next to see is the (probably hacked?) account with a brand new car, more money and with the same IP as a user called watchboy12345. No more news of the account unless watchboy12345 was online a minutes before.

So I'm asking ¿Has watchboy hacked Yell0w account and it's using it to hack other accounts? If so ¿is planning Yell0w something about it?

Don't know if it's something temporary or if it's going to last forever, but this has ruined an amazing browser game, and this it's always sad.

I hope this gets to someone who might find it as important as I think it should be and forward it to Yell0w.

Thanks.

EDIT: Well I see it has gone to the front page, didn't wanted to appear there, but now my desperate attempt to contact Yell0w after being unable to find Yell0w email anywhere else will surely be read.

EDIT 2: I understand I have not been given permission to post this here, so Yell0w if you feel like banning my accounts here at the blog and in the game i'll understand, but please, PLEASE, make everything a little more secure, thanks.

 


LiTuNi - 09/12-2008 kl.13:40 - blog (3) Comments

  Tech Ed 2008 - Day 1

The first day of teched there werent really any good things going on before the Keynote had started, the only thing that was available was basically the only thing we could do waas attend the hands on labs at the top floor. There was alot of computers there, and also alot of people sitting on them. The first thing me and Svein Even tried to do was to work on a Winforms HOL. But after logging on and getting our system up and running, we got an error message when booting up visual basic. The trial version had ended... A big disappointment that they apparently couldnt fix on their virtual server before the next day. So we found another HOL, i think it was I/O on embedded devices. We were supposed to make an LCD display show some text and connect to the lcd. Well we managed to get it to work, but it wasaint really that hard. All we were required to do was uncomment code along the way. Not a very good way of learning stuff.

In the keynote we heard about the new microsoft products, especially visual studio and windows 7. And i have to say that I was impressed and that im now officially looking forward to a new build of vista (because thats basically what it is) Visual Basic 10 also has alot of nice new features that everybody will love :D

After the keynote we attended an F# session, and being into scripted languages i must say i was looking forward to that, the session did not disappoint at all and i picked up some good ways of doing things, but most importantly what F# does well, and that is calculations. Its also a good language to write dll files in, if i got the guy correctly. And with its .NET support there shouldnt be too much hassle getting it to work and getting familiarized with the language.

You can see the LCD Display in this picture

 

 

 

 

 

 

 

 

 

 

 

 

 


Yell0w - 13/11-2008 kl.22:17 - Blog (0) Comments

  TechEd in Barcelona 2008 - Prologue

On saturday i departed for Haugesund to meet up with Vidar who was the one who made me go to TechEd, not that he had to force me or anything like that, we picked up Kai in aksdal and so began our decent to the southern of Europe. At the airport we met up with some of the other guys that were traveling, but we didnt really got to talk before we got to Amsterdam. Vidar got connections (diners card) so we got into the vip lounge at the airport in Amsterdam, i havent been in one before so it was kinda nice to be able to tap my own beer. We spendt about an hour there waiting for our next flight to Barcelona. In barcelona Kai didnt get her luggage so we had to wait, in the meantime Georgij got hijacked by a pirate-taxi driver so we followed him to the parking lot, ending up in a car with no visibility out the front window and a guy who didnt know how to drive in a calm way (gas,brake, gas, brake ... ) When we got there he wanted to have 40€ but we had agreed on 30 before we got in. Later we learned that the other taxis charged 27€ for the same ride, and that were the legal ones with good comfort etc. Anyway i like to think we paid for a good experience.

e

Upon arriving at the hotel we had a 3 minute break in our rooms before heading out to La Rambla, Barcelonas longest street, there we got offered hookers, cocaine, beer and ganja on the street. Ofcourse we didnt accept, but the experience told us that we were no longer in Ølensvåg. We found a place to sit, an australian tavern, yes i know very international of us ... I didnt like it so i managed to get Svein Even to walk back with me to the hotel, walking alone was not an option there and then.

Sunday the only thing we had to do was get registered at the event, and the place was kinda dead except for registering and getting a nice bag and some other loot (yay microsoft drinking bottle!). We didnt really get an idea of the scope of the place at that time. So we went back and decided to discover Barcelona, we hooked up with Stian and Jon Kristian and had a long and nice walk through the streets, and i got them to go into the sidestreets as i find that much more fun than walking the mainstreet packed with tourists.


Yell0w - 11/11-2008 kl.18:51 - Blog (0) Comments

  Flash Cookies - A Security Threat!

I read an article at slashdot today regarding flash and how it stores cookies, it appears that the cookies take a default of 100kb per page, cant be deleted by your browser, has infinite lifespan and last but not least; has the capability of storing and sending out your browsing history! To remove the cookies you can use adobes own tool for it, alltho who knows what they might be putting onto your computer, or taking out of. Anyway here is the link: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html 

You can read the original post at this link: http://www.imasuper.com/66/technology/flash-cookies-the-silent-privacy-killer/ 


Yell0w - 15/10-2008 kl.10:00 - Blog (0) Comments

  Magic The Gathering in Haugesund!

Started at around 10.45 this morning sitting at a cafe with little people, was a nice place to play with decent prices on drinks.

We played with a total of 3 boosters each where we picked out one card in a round robin system to build a deck, then we added land and played with the cards we had selected. I ended up playing red and green (mainly red) rune ended up with a blue deck and nils used a white. Rune totally whooped our asses with masses of merfolk and the most i got him down to was 4 hp. I played much more evenly against nils but eventually lost against him too. Was a great event tho, played magic about 4 hours, and when i left the cafe was crowded with people!

for 120 nok i ended up with lots of nice cards to build on my new rogue deck, and best of all, it was only 15.00 when we were finished = lots of daytime left to spend ;D

Also, they play every tuesday in haugesund, and Rune was very eager to come out here and play with us when he heard about the tournament, but i said it was probably only for omega employees (and he definately is abit over our skill level :)


Yell0w - 06/10-2008 kl.9:43 - Blog (0) Comments

  Ole og Vivian sitt bryllup!

Tok endel bilder fra bryllupet til Ole og Vivian og har lastet dem opp her, de ligger i fullformat så de er ca 3-4 mb i størrelse :D

Bildene kan du se ver å klikkke her 


Yell0w - 27/08-2008 kl.18:35 - main (0) Comments

  Adventur Deluxe!!

Jebus!! Sitter på jobb og kommer plutselig på adventur og hvor gøy det var, surfer innpå sidene deres og ser at det har vært prat om å gi ut nytt spill i august 2007, og så leser jeg at dehar planlagt å gi ut spillet igjen til helga ;D Gleder meg virkelig, kommer til å gjørehverdagen mye bedre for alle. Dette spillet bor definitivt sjekkes ut! 5 aar siden spillet sist var spillbart.


Yell0w - 05/08-2008 kl.9:11 - main (0) Comments

  Refering using meta tags and php

Why would you want to use meta tags and all this scripting just to make a hyperlink? Well because you can program more things into the hyperlink than just a _BLANK and send them away. The reason i used it is so that i can have a counter for every click on a link. Now i send the user to a new php page, that page selects some information from the DB based on the ID of the record. and does a simple update +1 on the link. Then i have added a function to check if http exists in the string because a simple www.test.com wouldnt work, it has to be http://www.test.com for the meta tag. Hope this helps abit.

<?session_start()?>
<title>:: Overminds :: Redirection</title>
<body bgcolor="#6666FF" text="#FFFFFF">
<center>
<?php
include"../config.php";
$result = mysql_query ("SELECT * FROM links
                         WHERE id LIKE '$id'
                       ");
if ($row = mysql_fetch_array($result)) {
 
do {
$idnumber = $row["id"];
$linkurl = $row["url"];
$nhits = $row["hits"];
}while($row = mysql_fetch_array($result));
mysql_query("UPDATE links SET hits=hits+1 WHERE id = '$idnumber'");
echo("Overminds.org is redirecting to: $linkurl");
}
else {
	echo("you made a boo boo");
	$linkurl = "http://www.overminds.org";
}
if(stristr($linkurl, 'http') === FALSE) {
$linkurl = "http://$linkurl";
}
 
?>
<META HTTP-EQUIV="REFRESH" CONTENT="2; URL=<?=$linkurl?>">
<br><br><br>Cant wait? Click the hyperlink: <a href="<?=$linkurl?>"><?=$linkurl?></a>

Yell0w - 20/07-2008 kl.18:03 - Blog (0) Comments

  Fancy music mapping!

I was surfing around this evening and then i stumbled upon a very cool page for finding music that is similar to other music you like. The site is called www.music-map.com, just type in an artist and it will find music that resembles it, and so on, with a nice overview. Must have when youre searching for new music. Cardamar worked, but didnt return any results when searching for Binærpilot :\ Oh well ;D


Yell0w - 20/07-2008 kl.0:48 - Blog (0) Comments

  Using cursors in t-sql
	DECLARE TEST_CURSOR CURSOR FOR  
SELECT GM.[login]
 FROM stbl_System_Groups AS G WITH (NOLOCK)
 INNER JOIN stbl_System_GroupsMembers AS GM WITH (NOLOCK) ON GM.GroupRef = G.PrimKey
 WHERE G.GroupID = 'Developers'
 
 
OPEN TEST_CURSOR
FETCH NEXT FROM TEST_CURSOR
WHILE @@FETCH_STATUS <> -1
 BEGIN
 FETCH NEXT FROM TEST_CURSOR
 END
CLOSE TEST_CURSOR
DEALLOCATE TEST_CURSOR
 

Yell0w - 03/07-2008 kl.12:56 - Blog (0) Comments

  Executing a stored procedure in VB

Here is an example how to execute a stored procedure with appframe in vb.net

#Region "Imports statements"
Imports CR3 = Appframe3.Win.CR3
Imports CR3Data = Appframe3.Common.Data
Imports UserSession = Appframe3.Common.UserSession
Imports Appframe3.Common.Utils
Imports Appframe3.Common.Data.afAccessLayer
Imports Appframe3.Common.Data
#End Region
 
        Dim myProc As New afProcedureCall("astp_Personnel_Timekeeping_ImportDoimport")
 
        afAccessLayer.ExecProcedure(myProc)

Yell0w - 30/06-2008 kl.15:36 - Blog (0) Comments

  Syntax highlighting!

Added support for syntax highlighting in the newspost, hope it works as intended, you can add sourcecode to the textbox on the add news forms. I use a script called Geshi to parse the highlighting, and it supports several languages :D

Just a test here:
<? if(isset($editnews)) { echo"<option selected>$ny_kat</option>"; } 
 
$query = "select * from gen_categorys WHERE maincat LIKE 'news' AND level <= $axx";
$resultat = mysql_query($query);
if ($resultat)
	{
		for ($i=0; $i<mysql_num_rows($resultat); $i++)
		{
			$row = mysql_fetch_Array($resultat);
			$id = $row["Id"];
			$owner = $row["owner"];
			$maincat = $row["maincat"];
			$subcat = $row["subcat"];
			$notes = $row["notes"];
			{
echo"<option>$subcat</option>";
 
	}}}
?>

Yell0w - 26/06-2008 kl.21:49 - overminds (0) Comments

  Substring and Trimstart in vb .net

Dim tests As String = "EM00000000000001234"
/substring on char 2 (after char 2)

tests = tests.Substring(2)

/Trim away all 0 in a char set
tests = tests.TrimStart("0"c)

/Show the result
MessageBox.Show(tests)

Dim tests As String = "EM00000000000001234"
/substring on char 2 (after char 2)
 
tests = tests.Substring(2)
 
/Trim away all 0 in a char set
tests = tests.TrimStart("0"c)
 
/Show the result
MessageBox.Show(tests)

Yell0w - 19/06-2008 kl.14:48 - main (0) Comments

  Creating a new stored procedure

SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
-- =============================================
-- Author: Werner
-- Create date:
-- Description:
-- =============================================
CREATE PROCEDURE someprocedurenamehere
--<@Param2, sysname, @p2> <Datatype_For_Param2, , int> = <Default_Value_For_Param2, , 0>
AS
BEGIN
SET NOCOUNT ON;
-- Insert statements for procedure here
-- SELECT <@Param1, sysname, @p1>, <@Param2, sysname, @p2>

END
GO


Yell0w - 16/06-2008 kl.10:07 - main (0) Comments

  Oh happy days!

With my bank account showing -2000 in the early days of may and i had quite a few exams to take, my life didnt look very good, but then thanks to Vidar everything changed a late sunday night. He wanted me to attend a course in MSSQL and appframe basics, sadly this was in my last week of school and with two exams to take... of course i said yes! So i attendet the course as much as i could and also i read for my exams in the evenings. The end of this story couldnt have been better, both exams passed, with good grades, and i got a job working at Omega in Ølensvåg, as a programmer! A very nice turn of events in my life, and ill try to post some more updates in the near future.


Yell0w - 14/06-2008 kl.17:02 - blog (0) Comments

  Oh hi all!
I havent been online in a while now, havent been motivated to do much here since im trying to learn VB .net instead. Well, ive got 1 month left of my bachelor studies YAY! and then i might do some work here again. If you guys need to contact me you can do it on my email (not ingame) it is werner ( at ) overminds.org
Yell0w - 10/05-2008 kl.11:33 - OCRacing (0) Comments

  Xbox 360 status code 80169d94 fix

When i tried adding points to my account, and tried upgrading back to xbox gold i got this error. So i tried clearing up harddisk space, deleting profiles and doing the stuff that people on the xbox.com forums recommended, but nothing worked. What i did in the end was making a new account, on another email, got a month free gold membership and added points to that account and bought fable <3

so it seems that when my normal account went from gold to silver it got blocked on the market place, i dont know why microsoft would do that but there it is ...


Yell0w - 13/04-2008 kl.17:48 - blog (0) Comments