Category Archives: My Programs - Page 2

Orbit Simulator (v 1.1)

Second release of my Orbit Simulator. This requires the latest version of the .NET framework (basically, if it doesn’t run – try updating).

Orbit Simulator Version 1.1.0

You may want to view the help document here or click Help from the menu bar in the program.

Orbit Simulator Released (v1)

Outdated.

First release of my Orbit Simulator. This requires the latest version of the .NET framework (basically, if it doesn’t run – try updating). Press F1 to view the help – press F3 to open the basic orbit config file that’s included – press Enter to start the simulation.

Download Now! – OUTDATED

[Update]

I’ve written a help document for the next version of the simulator so that you can get a better idea on how to use it. Just note – it’s for the next version so some of the commands are different but the idea is still the same.

Orbit Simulator

I’m writing an Orbit Simulator in C# with .NET 3.0 to get myself to learn .NET and to get myself in the programming mood for other projects I need to do.

I started a few hours ago (3?) and it’s coming along nicely – about 1,200 lines in and I’ve finished basic rendering, render objects, and object settings. All that’s left is tieing it all together and the actual math… and maybe making it a tad more user-friendly.

It should turn out nicely. My friend Machello made a similar program in Py but it was not this advanced – and mine will execute faster as it’s not done in Py. I wonder where his program went…

[Update]

Screenshot!

[Update]

Fully functional now! Release soon?

WhippingBot – Ported to Windows

I spend most of my time on Windows now (for a verity of reasons – none very good) so I decided to port WhippingBot over.

I recently finished and now he’s much much better.

Check him out in irc.freenode.net in channel #WhippingBot or just PM him @lsChannels to see what channels he’s in.

MAYBE… MAYBE I’ll release him. :P

WhippingBot – Update

Well, I was less lazy than I originally thought I’d be and I added scripting support. It’s not done YET but I’m making progress. This is the userscript.py file (must be called that; directory can be changed via the bot’s settings file); it contains the bot command “HelloWorld” so if I typed “@HelloWorld” (@ being the bot prefix) it would return in a Private Message or in the channel “MY_NICK: Hello World; this was coded with Python scripting!”:

# Python Functions for Mr. Pig’s IRC Bot
# Python Scripting Interface (Actual
# Functions)
# ————————————–
# Code the function, have it return a
# value. Value returned will be sent to
# channel/user.
# ————————————–
# Functions prefixes:
# mpCmd_All_NAME() – Both Private Msg and Channel
# mpCmd_Priv_NAME() – Private Msg ONLY
# mpCmd_Chan_NAME() – Channel Msg ONLY
# ————————————–

# Import C++ to Python Interface and related functions
import MPIRC_INTERFACE
from MPIRC_INTERFACE import *

def mpCmd_All_HelloWorld(sData):

sCaller = MPIRC_INTERFACE.mpirc_getCallerNick(sData)
return sCaller + “: Hello World; this was coded with Python scripting!”

All you need to do to add a new function is add a new function define! Maybe I’ll get around to releasing it…

More info here.

WhippingBot – FreeNode IRC Bot

In order to remind myself of all the Linux API’s and create a decent program to use for the testing of some networking classes I had to code, I developed an IRC bot in C++ for Linux. I kinda got carried away with the original purpose as just testing and added some cool useless functions to the bot. Beyond the fact that I can remotely control him, he supports the following commands:

@spell word – Checks spelling using aspell API

@define word – Defines a word via google

@defineUrban word – Defines a word via UrbanDictionary

@speak topic – Quotes something; unless you know the topics don’t enter one

@time – Tells you the time in EST

He’ll respond to those in a channel or in a private message (both require the commands to be prefixed with @). Within irc.freenode.net you can message him with a nick of WhippingBot. If you want him in your channel message me with a nick of Mr_Pig and I’ll add him to your channel.

He’s rather useless but fun to mess around with.

Depending how lazy I am I may add scripting support so more commands can be scripted in. If this happens I may release him (source and all). This remains to be seen.

(Currently Executing Release: 0.2.0)

Merc Zboard “Driver” Version 0.2.0

Small update to my “driver” for the MERC Zboard on Linux. Updated due to some changes requested by “Craig”.
READ THE README – and anything the shell scripts say.

Changelog:

==============================================
Zboard Config Changelog
Copyright (C) 2007 Matt Razza
==============================================

Version 0.1.1 – Version 0.2.0

Added:
-Added support for -f
-Added a new settings file (zboard-sys.conf)
-Added support for “loadkeys” and not xmodmap

Changed:
-Verbose error reporting off by default

Fixed:

Removed:

Download Source (tar.bz2) MD5: 39cde7a58e40847abf1c8cb6b159dd7b

Gentoo ebuild (provided by Ken (changed file name – which should make it use 0.2.0)).

License

New Teamspeak Spammer

Here is a link to download a new TeamSpeak spammer (an actual one vs the sendkey based one before). This one is only limited by your bandwidth and can connect an unlimited fake clients at a time.

For aggressive distributed version of this program (managed remotely) contact me directly for pricing and information.

Download TeamSpeak Spammer: Here

Special thanks to Tasky for spending the few minutes to grab the protocol. Source code will not be released. Just enter the TeamSpeak IP and Port when prompted (SEPARATELY).

Broadcast to Unicast Translator

I made a broadcast to unicast translator (UDP) so me and my friends can play C and C 3 (one of my pals is on Linux). It can be used for a bunch of stuff (like getting people to show up in the network browser for C and C 3/Generals on Linux; as well as generic packet forwarding).
The read-me explains the settings needed to play C and C 3 over a network with a Linux computer. Other games may require some basic scanning from a packet sniffer (I recommend Wireshark) to determine the target packet size (otherwise you may be sending overflows to the target; not fun).

Current Version: 1.1.2 (Released on 11/25/07 @ 13:10 EST/EDT)

Supports:

  • More than one unicast target
  • File exec
  • Per-target port setting
  • Expected packet size filtering
  • Allow/Disallow Broadcast to Unicast Overlap (Allow/Disallow resending of broadcasts back to broadcaster)

What’s to come:

  • Packet header editing; IP Spoofing – Unicast looks like it came from broadcaster
  • Full IPv4 Packet Support (TCP, ICMP, etc; currently only supports UDP)

Download latest stable version: Here

Feel free to leave comments/source code requests.

Well, I made a a Facebook version of HCSchedules

If you have a facebook go to the link below to add HCCS to your profile! You can see who’s in your classes and post your schedule on your profile!

http://hs.facebook.com/apps/application.php?id=5690835763