Important alert: (current site time 7/16/2013 2:58:24 AM EDT)
 

winzip icon

BOTMATCH - * Updated 07/20 * 3D HIGH-SPEED COMBAT GAME! Build It! Battle It! MUST SEE *

Email
Submitted on: 7/20/2008 8:22:46 PM
By: (Tim Miron) yar-interactive software  
Level: Advanced
User Rating: By 79 Users
Compatibility: VB 5.0, VB 6.0
Views: 39845
author picture
(About the author)
 
     * UPDATED JULY 2008 - Many new features (see included whatsnew.txt), tweaks and optimizations, some reworking of ONLINE GAME LOBBY system (consider this public beta). Please come online and try out the game against others! BotMatch Secondary Protocal is the fully 3D, VB-GDI game! - The sequel to a 2D shooting game I released here in 2000. Build your BOT to be 100% customized, battle your BOT, upgrade it to face your next competator! The high-speed combat arena in this game only gets more intense as you advance through the matches!!! BMSP is simply an incredible game. Written entirely using GDI32 APIs, and some simple 3D math, BMSP was built on my 133MHz system, and runs smoothly on that system. In some odd cases, the GetTickCount function screws-up (we've found this to happen on SOME XP machines, but most run it very nicely). BMSP is everything we wanted the first BotMatch to be, but only now did we have the experience, knowledge, and vision to see the project through. The project includes ReadMe documentation which will help developers navigate the code, as well as giving a quick 3D math lesson. For game help, see HELP.txt. Special thanks goes out to my friend Josh Nixon who helped with the programming and some rather repetative-type graphics-editing that needed to be done! I am happy to share this code with everyone here on Planet Source Code, but be mindful of the copyright notifications! Any questions or comments about this amazing project are welcome! Another special thanks to Bradford, who provided the game's soundtrack! see WHATSNEW.TXT for details.

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 18 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments
9/10/2003 11:28:43 PMForge

thanks for the comments, i think ill learn something here :)
(If this comment was disrespectful, please report it.)

 
9/10/2003 11:35:26 PM(Tim Miron) yar-interactive software

Be sure to check out the included Readme.htm (its zipped), it has some important stuff for developers! :)
Happy Coding!
(If this comment was disrespectful, please report it.)

 
9/11/2003 8:53:51 AMMikey B

have you thought of using QueryPerformanceCounter to solve the GetTickCount problem?
(If this comment was disrespectful, please report it.)

 
9/11/2003 2:26:40 PMPhantom Man

All I Can Say Is - Very Nice!
Well Commented Code.

(If this comment was disrespectful, please report it.)

 
9/12/2003 7:12:31 AMGerd Moeller

works great, great design, in a total 5 * from me
(If this comment was disrespectful, please report it.)

 
9/12/2003 1:58:28 PMJohn Ripper

Today i can download the source code. But i can compile it because the function FormatCurrency$ its not available on VB5 (you had said that code its compatible with VB5, but here charses :( Anyway *****
(If this comment was disrespectful, please report it.)

 
9/12/2003 4:45:27 PM(Tim Miron) yar-interactive software

FormatCurrency was not on my list of
VB6-only functions.. My apologies :).
Happy Coding! Thanks for the support
guys! BTW in about a week we will be releasing a parts patch, which will increase the number of weapons and other hardware, that you can equipt your BOT with. No source-code changes needed as the game-engine's weapons-system is 'scripted'. I will post the URL to download that patch in the comments of this submission at that time!
(If this comment was disrespectful, please report it.)

 
9/13/2003 12:23:16 AMRecon Sniper

Very nicly done!
(If this comment was disrespectful, please report it.)

 
9/13/2003 5:09:28 PMFrank Maier

This code is great!!!!!!
The game makes really fun. But at the first time I've got really problems to find ot how this works.
In my opinion it would be nicer if there plays a music in the battle, too. And the CPU Usage is at 100%, nearly all the time, except at the waiting screen(which takes too long)
If the game has a story, it would be even more exiting.
But at all, it's a great game and a fast game and it's exciting, and and and.
5 * from me
(If this comment was disrespectful, please report it.)

 
9/13/2003 8:48:18 PM

Man...I would never think that the game would be this advanced from the beta I've played 2 years ago =)

Nicely done, my friend.

(If this comment was disrespectful, please report it.)

 
9/14/2003 2:27:01 PMJonathan D

Very professional game, great graphics, great sound, must have taken you a really long time. 5*'s
(If this comment was disrespectful, please report it.)

 
9/15/2003 1:17:46 AMCodeFester

Tim-
This is a really generous post. Obviously, you have put an enormous amount of effort into this. It it possible to still have any kind of life outside the time that you must have put in... Thanks alot for sharing and I look forward to seeing more from you... 5 nutz from me.
(If this comment was disrespectful, please report it.)

 
9/15/2003 7:32:43 AMMichael Bapst

Wow - This is an incredible piece of work! Great design and effects. 5 Round Thingies
(If this comment was disrespectful, please report it.)

 
9/15/2003 10:21:18 AMJimCamel

Really impressive guys. There were a couple of bugs though, like repairing doesn't appear to check if you have the money to do it, which means you can get into the negative, the Win/Lose screen always displays 6 or -6 (for a loss) credits gained, And it's really annoying how you have to go through the help screen everytime you go to the bot shop.

Otherwise, well done, I'm very impressed.
(If this comment was disrespectful, please report it.)

 
9/15/2003 2:26:28 PMPinoy Ako!

Intro is much better than the game.
some code are not indent properly. I'm saying this because you suppose to be advance. But you probably have the best intro animation in PSC. Excellent work.

(If this comment was disrespectful, please report it.)

 
9/15/2003 8:40:32 PMJosh Nixon

It really upsets Tim and I that the people that gave us 1's don't even have the guts to tell us why! Thats not cool guys...for those who talked down on our work we respect you and will try our best to improve what you think is wrong. Thanks for all the votes guys, we hope you are enjoying the game. Again we remind you, if you have any bots that are extremly powerful send them to us we'd love to test them out :D. Thanks

(If this comment was disrespectful, please report it.)

 
9/16/2003 12:42:54 AMBadman

Fragged my monitor resolution. Spent 20+ minutes trying to restore. The game engine is fine. Never use Full Screen
(If this comment was disrespectful, please report it.)

 
9/16/2003 3:58:59 PMWong Yat Seng

argh. after quiting the game, the thing crapped up my desktop. i've to arrange all my icons again. i dun think its monitor prob tho (mine is samsung sync master). oh yeah, u shud display the help screen once (i repeat ONCE), not everytime u got shopping. U should work on the in-game graphics. as most ppl oredi mentioned, the menu looks better than the game itself. i'm sure u can stretch some BG graphics on the black walls rite? rotate them around so that it'll look like u're battling in different galaxies. oh yeah, looks like u'll win this round. congrats to u. 5 golfballs for u. i think u can come up with something much better next round.
(If this comment was disrespectful, please report it.)

 
9/17/2003 1:54:45 PMWong Yat Seng

SUPPORT THE OPEN SOURCE COMMUNITY! hmm ... well, at least support game developers (like me!). they arent doing so great nowadays wif the economy n all.
(If this comment was disrespectful, please report it.)

 
9/23/2003 6:16:32 AMMerth

Very Impressive.
Respect and keep up the good work.
(If this comment was disrespectful, please report it.)

 
9/29/2003 9:37:21 PMEric Coleman

Awesome game, and very impressive with what you've done with pure GDI, I didn't believe that it was only GDI, so I looked through all of the code to make sure there weren't any directx or opengl code snippets, and wow wow wow. You should enter the vb gaming christmas contest this year. Sweet!
(If this comment was disrespectful, please report it.)

 
12/22/2003 7:15:46 PMJames Beer

Still I love the game, addictive!
(If this comment was disrespectful, please report it.)

 
12/22/2003 10:55:52 PM(Tim Miron) yar-interactive software

We are looking into this leak, and will soon be releasing a new version of this game, with improved gameplay, more weapons, better AI, and animated arena obstacles, look for it on PSC and our website!
(If this comment was disrespectful, please report it.)

 
12/22/2003 10:56:18 PM(Tim Miron) yar-interactive software

May I ask what are the specs of the system you tried our game on?
(If this comment was disrespectful, please report it.)

 
12/23/2003 3:54:39 AMJames Beer

These are my system specs on the computer which I ran it:
- Intel Celeron 566Mhz
- 64MB RAM - 11MB Shared Video Memory
- Windows 98 Second Edition
Those are probably the most relevant pieces of information I get obtain.
I'll investigate this myself to see if I can find the source of your game's problem and reply again if I succeed.
(If this comment was disrespectful, please report it.)

 
12/23/2003 4:48:25 AM(Tim Miron) yar-interactive software

That is VERY much appreciated! You have courage if your actually willing to look at the 4000+ lines of code that make up the main module of the game! Luckly we commented everything up the wazoo! Thanks for your cooperation!
(If this comment was disrespectful, please report it.)

 
12/23/2003 4:55:23 AMJames Beer

Well, I think I found the potential problem. Your game seems to erases any texture it's not using when going to the next interface/game screen, Which is causing a interesting fluxuation of physical memory. This may be causing waste allocated memory to build up in the Physical/Virtual Memory (Memory Leak obviously). Consider adding an option to pre-cache all the textures of the game and retain them throughout run-time. That might help a bit but I not sure if it will get rid of the leak entirely.

Hopefully that's of any help.
(If this comment was disrespectful, please report it.)

 
12/23/2003 5:01:14 AMJames Beer

Oops, I should say how I found this.
I looking at one of the GUI Modules "Src_BotShop" and at InitBotShop and CleanUpShop Procedures.
(If this comment was disrespectful, please report it.)

 
12/23/2003 12:29:12 PM(Tim Miron) yar-interactive software

I think you may be correct about this being the problem, the irony is that this more 'dynamic' cleanup of resources was meant to prevent memory leaks, and also keep resource usage at the lowest amount to make the game playable on systems with limited resources.
(If this comment was disrespectful, please report it.)

 
2/14/2004 8:56:22 PM

I can't figure out what in the world the fire key is. Can someone please tell me. Nothing seems to work.
(If this comment was disrespectful, please report it.)

 
2/15/2004 11:30:45 AM(Tim Miron) yar-interactive software

should check the help.txt...
The fire key is CTRL!
NOTE: You have to buy a gun in the shop part before you'll be able to shoot anything
(If this comment was disrespectful, please report it.)

 
2/29/2004 6:48:49 AM

Really inpressing indeed. And without DirectX or OpenGL or any of that stuff at all!
Congratulations.
5 ^^^^^ from me.
(If this comment was disrespectful, please report it.)

 
4/17/2004 10:30:52 PM(Tim Miron) yar-interactive software

APRIL 17th, 2004 - I just updated the zip file for this code to include the newest version of the game, there have been a few bug fixes, aswell as some new features added, improved AI, optimized performance, and an experimental version of 2-player mode *player 2 control scheme, use halflife controls (ASDW for directions), SPACEBAR to fire [might want to change because SPACEBAR is the same key used for P1's shields - oops, just realized that].. AI buys weapons more aggressively now, and is slightly smarter, uses shields more effectively aswell.
(If this comment was disrespectful, please report it.)

 
5/22/2004 10:10:20 AM(Tim Miron) yar-interactive software

PS - Check back for occasional updates, I have more features planned for this game, including multiplayer play, different arena's, particle systems, etc.
(If this comment was disrespectful, please report it.)

 
6/14/2004 6:58:07 PM

Really nice jobs..now i know what to do when i'm bored...and when i wanna learn somethings
(If this comment was disrespectful, please report it.)

 
7/28/2004 1:53:41 AM

I downloaded the source code zip file, but I cannot find the readme.zip inside it. Where can I look for it.
(If this comment was disrespectful, please report it.)

 
7/30/2004 3:19:26 AM(Tim Miron) yar-interactive software

The readme was accidentally removed last time this post was updated... But a copy of it is available on the web at the following address: http://yarsoft.com/yisoft/bmsp_tech.htm
(If this comment was disrespectful, please report it.)

 
8/2/2004 10:32:20 AM

by: Shawn Cox (my name tends to be invisible) Well, I never thought something 3d would EVER play on my computer, and this runs SUPERB! My only problem is no matter what weapons I use, the computer always kicks my a$$, his weapons do like 20% more damage than mine, and he always has what I have or better. (so it seems) too bad my computer "doesnt" support full screen.
(If this comment was disrespectful, please report it.)

 
8/3/2004 1:22:12 AM(Tim Miron) yar-interactive software

The computer's weapons do the same amount of damage as player weapons do... The computer does buy better weapons at an agressive rate, and if you are just starting to play the game, the computer is extremely challenging.. To help NOT get your butt kicked as badly when starting a new bot, I recommend buying the second engine (the one that has red exhaust), a 50 caliber chaingun, and then using the remaining credits on armor: I'd suggest getting Magnetic Integrity, and then Steel Plating for armor... this exact configuration will cost exactly 7400 credits and will leave 100 credits left over (to cover repairs?)... That might give you a bit more of a chance, as armored plating and magnetic integrity will soften the blow of the computer's weapons...

Can I ask, what are the specs of your computer system?
(If this comment was disrespectful, please report it.)

 
8/3/2004 1:24:08 AM(Tim Miron) yar-interactive software

You video card doesn't support full screen because full screen requires the resolution to be switched down to 400 X 300 =P... dont worry, it tends to mess up people's nicely arranged icons on their desktops (unless auto-arrange of desktop icons is used)
(If this comment was disrespectful, please report it.)

 
10/2/2004 7:29:53 AMChristopher Rouse

Brilliant Code,fast and reliable but one thing when you quit, it only restors the screen res but not the screen refresh rate
(If this comment was disrespectful, please report it.)

 
10/4/2004 12:58:00 PMZirro Tolerance

WARNING! Full screen mode moved my taskbar to the middle of my screen. I had to set it to autohide then regular mode to be able to get it back down to the bottom. Other then that it looks good and works good.
(If this comment was disrespectful, please report it.)

 
10/28/2004 7:23:44 AM

Truely AMAZING. Easy n Clear Source Code. simple, great, without DirectX,
waiting for all the update.
(If this comment was disrespectful, please report it.)

 
10/29/2004 11:09:29 PM

great.... 5/5
(If this comment was disrespectful, please report it.)

 
2/26/2005 1:25:26 PM(Tim Miron) yar-interactive software

Thanks for the feedback everyone, I am sad to announce that I probably wont finish the multiplayer functionality and some of the other goodies i wanted to add to this game - mostly due to a) a lack of time, and b) I'm doing most game-dev related stuff in C++ now.

If anyone is interested in adopting this project, please e-mail me at timbo_m45@hotmail.com.
(If this comment was disrespectful, please report it.)

 
3/28/2005 7:25:25 AMbammylove

my name is victoria and this game is wonderful,i am a female programmer and i give you 5 globes for this,pls can you send the compiled version of this code to me,i will like to have one on my computer,if it needs any OCX,you can as well send it to me through this email bammington@yahoo.com this is cool,keep it up i give you 5/5
(If this comment was disrespectful, please report it.)

 
1/9/2006 10:48:06 AMChiroz

hehehe nice game.... :P

(If this comment was disrespectful, please report it.)

 
3/13/2006 8:26:49 PM(Tim Miron) yar-interactive software

This will *probably* be the final update of this game to planet-source-code (though the EXE version may continue to evolve, downloadable from my website at http://www.yarsoft.com/yisoft)

I have updated this post after slowly working away to bring internet-play to life! This is the perfect game for anyone running very very old legacy systems (100MHz 486s anyone? =D), there are also some other goodies such as a new particle system, improved AI, and more optimized performance. Enjoy.
(If this comment was disrespectful, please report it.)

 
5/16/2006 5:04:56 AMkbhrx

5 letters for you AWESOME
well, not exactly 5 letters...
but you will get 5 globes from me
(If this comment was disrespectful, please report it.)

 
10/24/2007 6:43:02 AM¿À Àº¼®

WoW~ You Wonderful's!
(If this comment was disrespectful, please report it.)

 
4/17/2008 1:04:51 PM(Tim Miron) yar-interactive software

This project just keeps getting worked on little by little, I doubt anyone even has a system around that this thing was originally intended for (64mb ram, 200mhz cpu), but anyways, i work on it every now and then and in the past couple of years have added a bunch of features and improvements. Take a look at whatsnew.txt included in the zip for a list of updates.
(If this comment was disrespectful, please report it.)

 
4/18/2008 12:54:25 PMEd Wilk

On loading game it says BMP file was missing. On exit of full screen mode it rearranged all my desktop icons! :(

(If this comment was disrespectful, please report it.)

 
4/18/2008 8:09:06 PM(Tim Miron) yar-interactive software

You probably didn't buy an engine in the shop screen, and thus it tried to load a texture for the engine flare that doesnt exist. I should really make it not allow you to advance into the game without an engine so thats my fault.. As for the fullscreen, there is a warning about it when you attempt to run in fullscreen that the resolution gets cut down to 400x300 and thus might mess up icons.
(If this comment was disrespectful, please report it.)

 
5/16/2008 12:41:38 AM(Tim Miron) yar-interactive software

Alright, this is almost definately the final update to this project on planet-source-code. It has been a LONNNG time in the making, I hope everyone can learn a little something from this code, aswell as have a little fun too! There is an existing save-game included to show what a high-level player in this game might look like. Any feedback is appreciated!
(If this comment was disrespectful, please report it.)

 
5/18/2008 4:31:21 PMThePiper

Wow! This is the largest VB6-Project ever seen - and it works. Thanks and compliments!
(If this comment was disrespectful, please report it.)

 
6/22/2008 8:14:50 AMAlien

The program cannot find 1 of the .gif files... Where are they? It shuts down every time i start up...
(If this comment was disrespectful, please report it.)

 
6/22/2008 10:56:21 PM(Tim Miron) yar-interactive software

Of course, if you made an EXE please make sure it is in the same folder as the original project files or it wont be able to find some files it needs.

Otherwise, I wish more people would try out the MatchFinder multiplayer lobby - multiplayer is much funner.
(If this comment was disrespectful, please report it.)

 
7/24/2008 12:36:35 PMNebulaMods Software

Look up the timeBeginPeriod and timeGetTime APIs for a fix for the timing (getTickCount is buggy on dualcore systems)
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.