Saturday, August 28, 2010

TF2 Level Design Tutorials and New Level Coming

In addition to setting up a TF2 server I have decided to try creating some custom maps to play on it.  Like with the server tutorial I will be documenting how things go and the steps to take upon completion.

This announcement is to serve as a notice to anyone who reads this, but mainly as a method to actually get me to follow through on it.

Wednesday, August 18, 2010

Setting Up a TF2 Server: Managing Kicks and Bans

This tutorial will go into how to manage kicking and banning players.  Kicking often needs to be done simply to make room in a crowded server for the regulars and sponsors.  Banning is often required for cheaters not yet permanently banned by VAC security and players who harass the players with obnoxious mic spam.

Banning can help keep servers healthy because one person can easily ruin the game for everyone else.

The Ban Hammer

There are a number of simple console commands which can be used in the administrative console in order to manage bans and kicks.

In console, use the command status to get a list of all players and their SteamIDs and IP addresses.

In all cases, time specifies the duration of the ban or kick in minutes.  To ban a player permanently use a time of 0 minutes.

Kicking


kick time steamID - Where  SteamID is the unique SteamID of the player.
kick time playername - Where playername is the name currently being used of the player on the server.

Banning


banid time steamID - Where  SteamID is the unique SteamID of the player.
banid time steamID kick - Where  SteamID is the unique SteamID of the player.  This will ban and kick a player in one action.

If a player has multiple accounts but only one IP then you can do an IP ban.  I recommend sticking to typical bans except in select specific cases.

filterban status - Turns IP bans on or off.  Status can be set to 1 for on or 0 for off.  Unless you are too worried about rampant moderators there is no reason to set it to off.
addip time IPaddress - Where IPaddress is the IP address of the player.


Removing a Ban

removeid steamID - Removes a ban.  steamID represents the players Steam ID.
removeip IPaddress - Removes a ban.  IPaddress represents the players IP address.

As far as I can tell, there is no method to reduce a kick or ban so be careful when handing them out.

Saturday, August 14, 2010

Setting Up HLDJ

Ever been playing TF2 when that one douche joins the server and decides to put his mic next to his speaker playing really low quality and staticy rap music?  And yes, it is always rap music.

Don't be that guy.  If you are going to spam people in games, make sure you do it right.

HLDJ is a rising star and becoming a popular alternative to HLSS.  I already did a quick tutorial on HLSS with the promise of putting up an HLDJ tutorial later.

HLDJ is very similar to HLSS in its function, but HLDJ adds a good bit more to the mixture.  The primary function is to allow the user to play amusing sound clips or just music from their library.  Sometimes it is used to heckle or even harass other players, but in an ideal world it is to have fun times with people who try not to take the game too seriously.  It does share a key problem with HLSS and that is the inflexibility of audio files, forcing conversion to WAV files. 



Set Up


  1. Go to the hldj downloader page here and simply download the file most suited for you.
  2. Run the set up, creating a folder somewhere you'll remember to hold onto files.
  3. Set up a hotkey you know you wont use.  A lot of servers these days use all the Function keys to browse their music library and vote for new maps.  Just use the Delete key since it wont be used for anything else.  
Straightforward right?  Much easier to use than the somewhat contrived method HLSS uses that requires you to modify it for each game, and to modify settings within the games themselves.

The program should now look something like this:


The program interface is rather simple and you should be able to figure it out by just playing around with it.  The fourth button down on the right is what manages audio conversions.  That's right, the program natively has the ability to convert audio.  Just a word of warning hitting the play button will also boot up the game.


Audio Conversions

Maybe you never had to use HLSS but audio conversion was incredibly annoying.  It required booting up and running a separate program to convert every audio file.  With HLDJ, you have the ability to convert whole directories.  Thats right, instead of booting up dBpowerAMP for each file you can easily convert whole folders.  

In Game

In game you can still interact with HLDJ.  Just enable the console, triggered by the tilde "~" key.  

Enter "la" or "listaudio" in the console to bring up the audio list.  Now simply navigate and then hit the Play Audio Key to get things started.

There are additional basic commands that can be used.  These are all ripped from the manual that comes with the game but I'll post them for reference.

Basic Commands:

  • "hldjn", "hldjp", "hldjr" - loads the next / previous / random audio file.
  • "hldjca", "hldjcd" - displays the current audio file / directory in console and on-screen.
  • "hldjsca", "hldjstca" - displays the current audio file in public / team chat.
  • "hldjsq", "hldjqa" - stops HLDJ and quits the current game / quits both.
  • "hldj", "hldj1", "hldj2", "hldj3" - displays quick-start guide / commands list / help / advanced help
These let you navigate quick and easily.

Summary

As a long time user of HLSS, after playing around with HLDJ just a little I was instantly converted.  HLDJ is pretty easy and lets you put in a whole lot more without having to worry about running out of free keys to bind .

Speaking of key bindings, I do plan to do a quick tutorial on managing key bindings and shortcuts later but for now you can just use the useful tutorial that is part of the current manual. 

Grabbing Expired Domain Names

I recently lost a domain that I had held onto for quite some time.  I had expected the registration to have been lost quite some time ago but it managed to stay active for much longer than I expected.  This is chiefly because domains do not expire quite when they are set to.

I am now considering grabbing a domain which is already owned.  Before I just placed a backorder for it I looked up the technicalities behind it and found that I could save a lot of money for not jumping on the domain right when it was supposed to expire.

A brief visit to Whois will let you know who controls the domain and when it is set to expire.  Check here first for some basic information.


How Domains Expire

Domains simply do not expire when they claim to, instead their expiration date is is the start of their expired status.  Typically there is a 40 day grace during which the current owner can simply renew the domain as per usual.  Now after this grace period the domain enters into a redemption period.  

At this point the initial owner will incur a fee in order to renew the domain.  The length of the redemption period and the fee associated with it will vary from host to host.  If there is no renewal in this phase, then the domain will  go into the deletion phase.  At this point the domain cannot be renewed and will be up for grabs at the end of deletion. 

Grabbing the Domain

Now then, after all that time, lasting in total about 75 days, the domain will be put up for grabs.  Now, when exactly the domain becomes available again cannot be certain and there is no guarantee that you will be the one to grab the domain.  If the domain is desirable enough, then other people will likely want it as well.  

A number services can can allow you to go into the race for the domain.  It is possible to snag the domain on your own, but if other people want it and are using services like GoDaddy, then they will get it.  There are a few popular services that are all worth looking at.  The more you try the better your chances will get, but the more expensive the process will get.  


The Services

Snapnames is one to look into for sure.  The benefit to Snapnames is that they have an exclusive partnership with Network Solutions, which is a rather popular service.  The partnership allows Snapnames to have first say on newly available domains hosted by Network Solutions.  If the domain was is held by Network Solutions, then it is a pretty safe bet to use Snapnames.

Snapnames will charge you $60 flat for the domain, but if multiple people are competing then this can cause a bidding war to begin.  In all honesty, this is the trend that I hope will continue with some of the more popular domain hosts, wherein they allow people to bid on the domain instead of trying to randomly pick it up by chance by investing in a large number of services.  

Pool is presently the most popular service and considered by many to have the best success rate.  Pool also charges $60 as an opening bid for the domain.  After they successfully grab the domain Pool moves onto a second phase of the purchase even if no one else was initially interested in the domain.  

Pools second phase involves a secret bidding war that lasts three days.  In this stage you wont even know how many people you are competing against.  You could simply be bidding against yourself.  If there are multiple bidders, the top two, as well as everyone involved in the bidding war who was within 30% of the top bidder enter phase three of the bidding war.  Each party in phase three has a one day open bid over the domain.  

Pools method is a little bit shady, but because of how reliable they are, and how popular they are, they can get away with it.  The method makes them a lot of extra money, but is unreasonably frustrating for the buyers.

Enom is another popular service which only charges $30.  The twist with them is that they will devote more resources the more that an individual pays.  How much more likely you are to grab the domain, and how much more resources they devote is hidden.   The way it functions, its essentially like the bidding war begins even before they manage to grab the domain.

Cross Your Fingers

At this stage in the chase all most people can do is hope that they get the domain and to hope that if they do get it, that they will not have to deal with Pool.  Aside from using all three services, there is not really anything that can be done to help your chances.  You can try investing in less popular services but they will likely not help your odds too much.  

If you do end up having to deal with Pool remember that typical eBay rules apply during the final stage so go ahead and wait until the last moments of the auction to try to outbid your opponent.  



Monday, August 9, 2010

Setting Up a TF2 Server: The Basics


This is part one of a series of tutorials I plan to make involving creating a dedicated Team Fortress 2 server. I plan on using an obsoleted machine to run this myself and hopefully by the end I will have a fun and creative server.

The following tutorial will help you set up a strict vanilla server. That is to say, this is what setting up a bare bones basic server is like.

Installation

1) Download Steam's HLDSTOOLUPDATE tool from the Steam page here.

Install the program to wherever is most desirable.  Personally, I feel that just sticking to the root C drive is easiest since it is easy to find and shortens the length of the commands you need to run.  

2) Now you need to obtain all the files for the dedicated TF2 server.  To do this, you need to create a .bat file containing one short line.  Let's assume you installed HLDSTOOLUPDATE to c:\tf2server, the line would look like:
c:\tf2server\hldsupdatetool -command update -game tf -dir c:\tf2server
If you put the updater somewhere else then just change the two path names.

Now just run the .bat file and wait.  It will start downloading the 1.8 Gb file so sit back since it will take awhile.  

If the update tool fails just run it again and again until it seems there is nothing left to download.  This may seem frustrating but it is the easiest way to make sure you get everything. 

Set Up

Now you need to configure all of the files for use.  To do, download this very small server.cfg file I put together.  It only contains the basics for running a server.  If you want to edit it or just check it out you can easily boot it up in notepad or as I always prefer, notepad++ and check everything out.  Most of the settings have a short description with them.

There are a more complete list of server commands here in case you want to add anything, but it may require a little digging because there are a lot of them.

Execution

To start your server you just need to know how many players you want and what map you want to use.  Keep in mind that in vanilla TF2 the max players possible is 24.  

Now just run the command: 
c:\tf2server\orangebox\srcds.exe -console -game tf -hostport 27015 +maxplayers 24 +map cp_dustbowl
Go ahead and change the bold parts to suit your preference.  Just make sure that you only use official maps for now as those are the only ones you will have.  Also remember to change the file location if you used a different path.

Saturday, July 24, 2010

Blogspots Updated Editor is Great

After finding out about Blogspot's updated editor I had to delete one of my old posts ranting about how terrible the WYSIWYG editor.  The greatest thing about the new editor is that you can actually stretch the whitespace being used to compose, a feature once reserved oddly enough for just the HTML editor.

Now they just need to start using color tags and I might have to stop writing all my posts in Notepad ++.

You can find the updated editor in settings towards the bottom of the Basic tab.  The feature is so useful I cannot see how it is not set as the default.  Even putting in pictures becomes much easier.  And even better, changing picture sizes actually changes what size they are.  A novel concept I know.  Of course you still cannot resize objects to an exact pixel width and height, or change the borders or padding.

My favorite part of it though, and the part most useful to me, is that the Preview button gives a real preview.  Before I had problems with images being too big and not realizing it until after I had posted it.  That meant that after I thought I had finished a post, I would have to go back and resize all the images.

Time to resize some images.

Hopefully Blogspot continues to make useful improvements for the future.  It is nice to have free bandwidth, so hopefully the restrictions become less of a bother. 


Self Righteous E-Peen post

What things matter most to nerds?

Games:

http://www.steamcalculator.com/id/iam413x

Music:






















Am I missing anything?

Still One of My Favorite Videos

This is still one of my favorite vids.



For those of you that don't get it, the video is parodying this speed test video done by Google.

Fun with Images in Blogspot



Blogspot has the ability to insert images through a GUI rather than just putting in a simple line of HTML. The only redeeming feature of this is how hysterically bad it is. Let's check it out.

Images can be imported in three different sizes. These are as follows.

Small

Medium

Large



Blogspot also has the nifty feature of always putting the image at the top and making it unreasonably hard to drag down to the bottom of the post give then default tiny little frame for actually writing blogposts. I consider myself a fairly competent human being, and it actually took me multiple tries to drag the three images above to where I wanted them to be.



Why are you so tiny?

Just to add insult to injury its super easy to stretch in the HTML editor.



Blogspot trolling us
Blogspot: top tier trolls.

Now of course you could just forget about blogspot and write everything in notepad anyway or as I prefer, notepad ++. Embedding an image in HTML is super easy and simply entails writing the single line. W3 schools already have excellent tutorials on how to embed images so I recommend visiting them.





Friday, July 23, 2010

How to Mic Spam in Video Games with HLSS

Mic spamming is so even a kid could do it. HLSS, despite being highly popular is not often talked about due to the first few rules of HLSS:

1. Do not talk about HLSS
2. Do NOT talk about HLSS
3. User friendly is for chumps

I might do an hldj tutorial later but for now lets focus on HLSS.

There are already great tutorials on how to download and install it on the HLSS website and since you need to do different things for every game, I wont bother going into too much detail. Just be sure to check the tutorials for whichever games you intend on using here.

Now the problem becomes finding the sounds to use. A lot of good spam can be found on Youtube. To rip the audio just use this simple audio ripper.

Other than that there is not much to it. Be sure not to use sound buttons that might conflict with FRAPS or any other program you want to be running. Also keep in mind that the num pad buttons are viewed as different buttons and make for good keys to bind,

Setting Up Virtual Audio Cable Tutorial

There are some cases where you would want the audio coming out of your computer to be mirrored through your microphone. This is useful for streaming audio on sites such as Justin.tv or for trolling people in online games by letting them listen along with the full discography of Captain Beefheart. A lot of people also use it to record Skype calls so that they can record both themselves and the people they are talking to.

One of the best services for this is Virtual Audio Cable. I found the tutorial on their site to be quite lacking. Getting the basics to work is quite simple though.

After installing the program you want to open its control panel which you can simply find in the program files directory.


If your control panel doesn't look like this, you've done something horribly wrong.


In the control panel, you are going to need to set up at least two Cables in the top left. You can set up more but to get the basics done you only need two. Most of the other fields you can leave defaulted as they are not that important.

Next you need to adjust your audio outputs and inputs. Right click on the speaker button in the bottom right of your computer and bring up playback devices. Set up the default playback as Line 1. Next go to recording and set the default microphone line as Line 2. For the time being you will be unable to hear audio or record from your mic.

Now you will need to boot three instances of the Audio Repeater. You want Line 2 going into Line 1 to allow audio to go through your mic. You will also want Line 1 going into your speakers or headphones. You also need to have your mic going into Line 2 so that both your voice and the computer sound will go through Line 2.

What everything should look like.

You will of course need to hit start on everything to get things going. Go ahead and play around with some of the other values. In particular try playing with the priority. Depending on what you are running, and the quality of your computer you may be able to run on better priority and better audio.

Loading Unsigned Drivers in Windows 7


Windows 7, as well as Vista, restrict your ability to install unsigned drivers. After spending so many years on XP and loving its freedom, transitioning to Win7 was quite a bother.

If I want to install shady software and probably get infected with large amounts of Trojans then I better be able to. Having security in place to prevent the ignorant from accidentally installing malware is nice, but at some point there needs to be a work around for people who want it and know what they are doing.


Guys this looks legit.

Well thankfully Win7 did put in a work around, although its a little bit of a bother to use. Just hit F8 a couple times until eventually you get to the advance boot options that look like this:


Now if that seems like a bit of a bother to you, well that's because it is. The best option is to use a program like the Driver Signature Enforcement Override found here.

To use the program, just boot it up with "Enable Test Mode" checked and hit next. Open the window back up and click "Sign a System File" and find the exact path to the unsigned system file.

The benefit to this is that it removes false positives and gives you a bit more freedom. Just be careful what you put on your computer.

Monday, June 14, 2010

Removing Default Navbar in Blogspot


Every blogspot blog initially has an ugly navbar at the top that I never wanted there in the first place. So of course I needed some way to kill it. Using this method, you will not remove th navbar from the pages of history entirely, as it will still haunt
your HTML template for the rest of your life, but you can make it disappear forever which is good enough.

What is this I don't even know.

This again makes the blog more personal and less like a
generic blogspot blog. Also it makes it harder to report abuse, so sweet bonus there. By just adding a little bit of CSS the navbar will be gone. Go to the Edit HTML under the design tab in the blog editor.



At the location specified by the arrow above, add the following CSS definition.

#navbar-ifram {
display: none !imprtant;
}

Save the changes and bye bye navbar. If for some reason you want to display it again later just remove the code.


Changing Favicon on Blogspot




Before I go about changing the template too much, I have to get rid of my initial pet peeves with the blog.

I don't like the default favicon for a number of reasons. It makes the website feel less personal to me and makes viewers instantly know that it is a blogspot blog. Additionally, anyone using mass tabs like I do, will have a hard time finding it amongst other blogspot blogs open.


I made mine an "A" because I am unoriginal and did not want to make my own logo yet. Ideally you should use a ico file but a png will probably work fine. Unfortunately you cannot use animated gifs or scalable vectors because browsers that aren't Opera are rubbish.



Anyway, the change is rather simple.

First, ind the image you want to use and make sure the resolution is no larger than 36x36. Next upload it somewhere like imgur or another image hosting site and copy the image url.



Now a simple line of HTML needs to be added, but first you need to find where to put it. Go to your Edit HTML page in your dashbord and find the following line:

<title><data:blog.pagetitle/></title>

Finally, insert below it the following HTML: <link href='Image URL here' rel='shortcut icon' type='image/vnd.microsoft.icon'/> replacing "Image URL here" with the URL of your image.

Now just save the template and you are done.