Recurring Invoices

recurring-invoices-paynowI was hired by a company to retrofit the popular open source invoice software Bamboo Invoice with a recurring invoice feature. While working on it I noticed the demand for that specific feature was high so I decided to release the mod publicly.

The mod allows the user to set a recurring interval for their invoices. When the interval is reached a duplicate invoice is created with the new date and invoice number. With the PayNow feature you can enter in your Google Merchant ID or PayPal e-mail into the Bamboo Invoice settings page to allow your customers to pay you via these services (a button will be added the PDFs generated).

Check out the Recurring Invoices + Pay Now tag for the latest release.

AMT’s Puzzle v1.0.0 Released

The first version of my first Portal map is now available.

Let me know what you think in the comments section!

Using Simple Admin

This post aims to help server operators install and learn the basics of using Simple Admin.

Installation
Extract the zip to the following directory on your hard-drive:

<Steam-directory>/steamapps/<Steam-username>/garrysmod/garrysmod/addons/

Adding Admins
Simply edit the users.txt file that is located in your Garry’s Mod settings directory. Garry has already included instructions and examples in the users.txt file.

Adding VIP’s
Admins can already use reserved slots, but if you want other players to be able to use reserved slots you need to create a VIP group in your users.txt file:

"Users"
{
	"superadmin"
	{
		"AMT"			"STEAM_0:1:10187637"
	}

	"admin"
	{
	}

	"vip"
	{
		"garry"			"STEAM_0:1:7099"
	}
}

Configuring Simple Admin
To configure Simple Admin browse to the below directory and edit sa_config.lua to your liking.

<Garry’s Mod install dir>/addons/simple-admin/lua/

Binding the Admin Menu
Open up console ([~]), type in the following, and press [Enter].

bind x "+sa_menu"

Now, just press [X] at any time to bring up the admin menu.

Using the Admin Menu
Using Simple Admin (SA) is pretty straightforward. In the Players tab you can select players and then apply actions to them using the buttons below the player list. You can select more than one player using your [Ctrl] and [Shift] keys.

In the Event tab you can select the weapons you want, choose whether or not to include admins, and then start the event. You can create an Event Spawn Point (Entities tab – Simple Admin) where you want players to spawn during the event.

In the Server tab you can start votes and run rcon commands without the need for an rcon password.

Running a Prop Hunt Server

This post aims to help users who want to run listen or dedicated servers setup Prop Hunt correctly. If you just want to play Prop-Hunt, but don’t want to host a game, you can just join an existing server and all required files will be cached on your computer.

General Installation
Extract the zip to the following directory on your hard-drive:

<Steam-directory>/steamapps/<Username>/garrysmod/garrysmod/gamemodes/

Running a Listen Server
Browse to the below directory and edit the sh_config.lua file to your liking.

<Steam-directory>/steamapps/<Username>/garrysmod/garrysmod/gamemodes/prop_hunt/gamemode

Lastly, start up Garry’s Mod and click Create Multiplayer at the main menu. Select the map of your choice and then click the Options tab. Set the Default Gamemode option to prop-hunt. Set any other options you’d like and then click the Start Game button at the bottom.

Running a Dedicated Server
Browse to the below directory and edit the sh_config.lua file to your liking.

<Steam-directory>/steamapps/<Username>/garrysmod/garrysmod/gamemodes/prop_hunt/gamemode

Once your done, upload the entire prop-hunt folder to the following location on your server.

<SRCDS directory>/orangebox/garrysmod/gamemodes/

Next you’ll need to set the default gamemode to run when your server starts up. Browse to the following directory and open up the game.cfg file with NotePad.

<SRCDS directory>/orangebox/garrysmod/cfg/

Add the following console command to the cfg file:

sv_defaultgamemode "prop_hunt"

Alternatively, you can leave the default gamemode as sandbox and switch to Prop Hunt on the fly with this console command:

rcon changegamemode [map] prop_hunt

You can switch back to sandbox anytime with this command:

rcon changegamemode [map] sandbox

You’ll need to restart your server before the above commands/changes will work. Don’t forget to run “scriptenforce_createmanifest” and “sv_scriptenforcerenabled 1″ to prevent against Lua cheats/hacks.

Half-Life 2 Campaign FAQ

I’ve gotten a lot of questions about Half-Life 2 Campaign, many of them being very similar to one another so I figured it was time for an FAQ. I’ll update this post as more FAQ questions present themselves.

Can you add [some stupid feature from Sandbox]?
No. This isn’t sandbox, it’s HL2.

Do the citadel levels work in HL2?
For the most part, yes.

Does this work with Episode 1 and 2?
Sort of (see question below).

The episodic games are horribly broken! Why?
Most, if not all, of the problems with Episode 1 and 2 Garry has to fix.

Will you be adding a Lua version of the super gravity gun?
No.

Will you add a spectator mode to players that have completed the level?
No.

« Previous Entries Next Entries »
DJ'ing Half-Life 2 Campaign iOS maps php programming Prop Hunt random Recurring Invoices + PayNow Ruby on Rails Simple Admin taunts