Results for "Author: irbme"
This is a DLL (full source included) written in pure assembly which will detect a collision between 2 sprites given their masks to the pixel. Because it is written in assembly, it is extremely fast. The fastest I got for 1 call on my 1.65 GHz was 2 milliseconds. The slowest being 11 milliseconds. You can use it outwith VB if you want (VB Calls to the DLL are slow). This is the second submission with some optmiization and also I fixed a bug whereby it raised an access violation when used with compiled exe's. If you like it, please vote and leave some feedback. ;)
Subclassing ofers great advantages to VB programmres. This article should teach you all about the message system Windows Uses, and how to implement it into your Visual Basic Programs.
This is a fully functioning server written without the use of the Winsock control. It uses API only. It can accept a theoretically unlimited number of clients and features an ICMP ping feature. This code uses my recently submitted Winsock API DLL. Download it here: http://www.pscode.com/vb/scripts/ShowCode.asp?txtCodeId=39858&lngWId=1 Your votes and comments are greatly appreciated ;)
Little API that will show you how to make a nifty little scrolling text picturebox using the rect and scrollDC API's. Check it out, and if you like it, leave some feedback.
This project is an attempt to create an easy to use DLL, which will allow your programs to connect to the Internet. It makes use of the Winsock API functions and the ICMP API functions, as well as various other Kernel32 API functions, to allow you to easily connect to other computers, and allow other computers to connect to you. Once a connection has been established, the DLL allows data to be sent and received and information about the local and the remote end of the connection to be gained. There is also a feature in the DLL that will allow your programs to send a PING, connected or not.
Every wanted to allow users to control certain aspects of your program...to make you programmes shorter and easier...this shows you how to add scripting to your apps using the VBScript control. It mostly focuses on the purpose and usage of it.
This will monitor all data being sent between an IRC client and server. Just run the program, press listen, then in IRC type /server 127.0.0.1 (6667) And it should work. Great if you want to write an IRC client/server/bot. I tried to comment the code a little. Its pretty easy code too, most of it is just UI stuff.
This is a tutorial which will show you how to load bitmaps, gifs, jpegs or whatever from a resource file into main memory and use them. Remember to download the ZIP it has some source you can use and an example. Also please vote and and give feedback.
This is a spinning 3D cube made using DirectX. It contains the following features: -Zoom In/Out -Change Textures -Rotate 2 ways -Turn on/off 3 different lights -Enumerate hardware, display modes and device -Change textures at runtime I spent a good bit of time commenting it. Any votes are appreciated but what I really want is some feedback telling me what you think. If it goes well, I may upload and make more stuff like this.
This activex dll makes using DirectSound as easy as can be. It lets you load unlimited amount of wave files. Then you can apply special effects such as Frequency change, Echo, Flange, Gargle and more, Play and Stop individual Files. And it even includes a special Sound manager which can optionally delete duplicate sounds, load sounds form resource files, and reuse empty "slots" where sounds used to be before being removed. The download includes full source code for hte dll, and a simple sample application to show how to use it. Ths source is commented. Please vote and leave feedback.
Do you have a game with too many pictureboxes for your graphics. Want to make your game really proffessional by loading them straight into RAM. Even returns all the properties of your bitmap. Can be used with 3 liones of code. This is to be used with bitblt. Not compatible with Windows NT due to the loadfromfile constant being restricted or something.
This state of the art 2D engine has loads of features including special lighting, and gamma correction. It has lots of extra helper libraries such as the brand new automatic logging capability for easy error pinpointing. The great error lookuo table allows you to look up any errors returned and get a description. With fast graphics blitting, and lots of special features, this engine will really help even the novice programmer to create blisteringly fast, smooth games. Remember to vote and give your feedback.
Every day I have to help people fix their code. I'm amazed every time at how easy the bugs usually are to find, and always learn that the person didn't even make an attempt at debugging their code, because they simply don't know how. So I wrote up this quick pdf file to try to explain some of the key debugging techniques to all the newbies out there.
This is more of a tutorial than a code submission. It shows you how the LONG variable is represented in memory by VB. It also shows you how data types are represented in memory and how to place custom bytes into longs without having to figure out what numeber all 4 bytes would be etc. It uses a simple function to domenstarte this which converts a dotted string IP address to it's long representation (they way it's represented in memory). And to prove it works, you can test it alongside the real API function used to do this. The tutorial is integrated into the commenting. Leave some feedback.
This is a tutorial which explains how to start off creating powerful network/internet applications using the Winsock API. The API allows far more control, power and speed in your application than the control ever would and is definetly something worth learning.
This is a DLL (full source included) written in pure assembly which will detect a collision between 2 sprites given their masks to the pixel. Because it is written in assembly, it is extremely fast. The fastest I got for 1 call on my 1.65 GHz was 2 milliseconds. The slowest being 11 milliseconds. You can use it outwith VB if you want (VB Calls to the DLL are slow). This is the second submission with some optmiization and also I fixed a bug whereby it raised an access violation when used with compiled exe's. If you like it, please vote and leave some feedback. ;)
This is an update to the first packet sniffer I submitted yestarday. It got alot of good feedback so I decided to resubmitt it with all the bugs fixed. It currently has support for 3 protocols (TCP, UDP and ICMP) and can very easily be expanded to include more. The packet sniffer itself is wrapped in a very object oriented fashoin allowing you to just plug it right into your own apps. NOTICE: This will only work on OS' with raw socket support (Windows XP/2000/NT) with root access (admin privilages).
AFter learning how to use the API call ReadProcessMemoy, I made this. It discoveres the locations of the hidden mine's in the game MineSweeper. Just load the game then run this program.
This is a little tile engine I made a few months back. It includes a map editor, the engine itself and a built in little example. The engine supports things like fadein/fadeout, collision detection, scrolling maps of unlimited size, ''Tile portals'' (Tiles which when stepped on lead to other tiles/maps. For example - try going inside the caves for a pleasant surprise). Be sure to read the readme file and if you plan on using the editor, read the help file. Comments/Suggestions welcome.
This is a tutorial whic will explain to you how to write maintainable, robust, efficient, reliable, portable, reusable software and will also give you some ideas and advice on how to go about this by giving you an understanding of coupling, cohesion, testing, code documentation and so on.