| View previous topic :: View next topic |
| Author |
Message |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Wed Apr 28, 2004 10:54 pm Post subject: VDS "battleship" type game - freeware |
|
|
Here's a game I wrote called "Ocean Warfare" - similiar
to the old "Battleship" game some of us played as kids.
You play this one against the computer.
There is no setup, just unzip to a folder of your choice.
Zipped - includes graphics and sound files:
http://www.trinex.net/users/mac/vdsfiles/ocean_war.zip
It requires VDSrun30.dll, you can get it here:
http://www.trinex.net/users/mac/vdsfiles/vdsrun30.zip
Unzip vdsrun30.zip to the game folder, or to your
Windows/System folder.
Have fun...
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361

Last edited by Mac on Sat May 01, 2004 2:45 pm; edited 2 times in total |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Thu Apr 29, 2004 10:16 am Post subject: |
|
|
Another retro thing?
Runtime error 14 at line 1407..
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Thu Apr 29, 2004 7:38 pm Post subject: |
|
|
Heya Dread,
Hmmm.... decimal prob? It uses OPTION DECIMALSEP, "."
but here's line 1407:
WAIT ".1"
Error 14 is "invalid parameter to command".
It's been tested on 95 and XP in the U.S. - what do ya use to
wait 1/10 of a second over there?
Does it give errors for anyone else?
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Fri Apr 30, 2004 12:46 am Post subject: |
|
|
Hey Mac
Sure could sound like a decimal thingie. But if you have specified a point as dec-sep then it should
be fine.
Error consistent on W2K + WXP (Danish editions).
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Apr 30, 2004 3:16 am Post subject: |
|
|
Hey Dread,
Did ya dload the VDSrun30.dll or use yer own? The
zipped one is version 3.51.
Don't really know what else to try at this point.
Anyone else have any ideas?
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Fri Apr 30, 2004 5:31 am Post subject: |
|
|
I use my own runtime DLL of course - which is also 3.51...
Dunno if your script is kinda secret but if not feel free to mail it to me - then I'll try to run through the IDE...
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Apr 30, 2004 6:44 am Post subject: |
|
|
Check yer mail.
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Apr 30, 2004 7:20 am Post subject: |
|
|
Thanks Dread for finding the problem.
Users should download the file (ocean_war.zip) again,
it has been fixed and re-compiled.
For those who are interested - there was a GOSUB
command above OPTION DECIMALSEP, "." which called
a routine with the decimal WAIT.
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Fri Apr 30, 2004 7:45 am Post subject: |
|
|
Works fine now!
Great little game. Cool sounds. Way to go, Mac
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Dr. Dread Professional Member


Joined: 03 Aug 2001 Posts: 1065 Location: Copenhagen, Denmark
|
Posted: Fri Apr 30, 2004 10:14 am Post subject: |
|
|
Took a couple of rounds with it...
Two comments:
Human player's last hit at an enemy unit doesn't make an explosion, just a "woop"
Like any respectable game it has a cheat If you place a horizontal unit in the top right corner of
the matrix, it will be invulnerable so you win every time..
Greetz
Dread _________________ ~~ Alcohol and calculus don't mix... Don't drink and derive! ~~
String.DLL * advanced string processing |
|
| Back to top |
|
 |
Vic D'Elfant Past Contributor


Joined: 26 Jun 2002 Posts: 673 Location: The Netherlands
|
Posted: Fri Apr 30, 2004 10:35 am Post subject: |
|
|
Hehehe.... I really like this game And so does my younger brother.
But that moterboat is really hard to hit
Regards,
Vic _________________ phpBB Development Team |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Apr 30, 2004 6:34 pm Post subject: |
|
|
Thanks guys.
I'll look into those Dread.
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Apr 30, 2004 8:25 pm Post subject: |
|
|
Fixed the lack of explosion on player's last hit at an
enemy unit. It's re-compiled and uploaded.
Looking into the "top right corner" glitch.
Cheers, Mac
EDIT 1 - Found/fixed another bug. When you play with less
than have 5 ships, the computer would previously NOT win
when it sank your last one. This is fixed and re-uploaded.  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Apr 30, 2004 10:41 pm Post subject: |
|
|
Got the "top right corner" glitch fixed (I think) and
uploaded again...
Let me know how it works - or if anyone finds any
more bugs.
Cheers, Mac
[EDIT] - Fixed grid coordinates bug - uploaded 05-01-04
. _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361

Last edited by Mac on Sat May 01, 2004 3:00 pm; edited 1 time in total |
|
| Back to top |
|
 |
|