forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


VDS "battleship" type game - freeware
Goto page 1, 2  Next
 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements
View previous topic :: View next topic  
Author Message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Wed Apr 28, 2004 10:54 pm    Post subject: VDS "battleship" type game - freeware Reply with quote

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. Wink

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... Wink

Cheers, Mac Smile

_________________
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
View user's profile Send private message Send e-mail
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Thu Apr 29, 2004 10:16 am    Post subject: Reply with quote

Another retro thing? Wink

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
View user's profile Send private message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Thu Apr 29, 2004 7:38 pm    Post subject: Reply with quote

Heya Dread, Smile

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? Confused

Does it give errors for anyone else?

Cheers, Mac Smile

_________________
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
View user's profile Send private message Send e-mail
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Fri Apr 30, 2004 12:46 am    Post subject: Reply with quote

Hey Mac

Sure could sound like a decimal thingie. But if you have specified a point as dec-sep then it should
be fine. Confused
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
View user's profile Send private message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Fri Apr 30, 2004 3:16 am    Post subject: Reply with quote

Hey Dread, Smile

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. Confused

Anyone else have any ideas?

Cheers, Mac Smile

_________________
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
View user's profile Send private message Send e-mail
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Fri Apr 30, 2004 5:31 am    Post subject: Reply with quote

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
View user's profile Send private message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Fri Apr 30, 2004 6:44 am    Post subject: Reply with quote

Check yer mail. Wink

Cheers, Mac Smile

_________________
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
View user's profile Send private message Send e-mail
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Fri Apr 30, 2004 6:59 am    Post subject: Reply with quote

Thnx. I will.

Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Fri Apr 30, 2004 7:20 am    Post subject: Reply with quote

Thanks Dread for finding the problem. Wink

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. Embarassed

Cheers, Mac Smile

_________________
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
View user's profile Send private message Send e-mail
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Fri Apr 30, 2004 7:45 am    Post subject: Reply with quote

Works fine now!

Great little game. Cool sounds. Way to go, Mac Thumbs Up

Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Fri Apr 30, 2004 10:14 am    Post subject: Reply with quote

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" Wink

Like any respectable game it has a cheat Laughing 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
View user's profile Send private message
Vic D'Elfant
Past Contributor
Past Contributor


Joined: 26 Jun 2002
Posts: 673
Location: The Netherlands

PostPosted: Fri Apr 30, 2004 10:35 am    Post subject: Reply with quote

Hehehe.... I really like this game Wink And so does my younger brother.
But that moterboat is really hard to hit Wink

Regards,
Vic

_________________
phpBB Development Team
Back to top
View user's profile Send private message Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Fri Apr 30, 2004 6:34 pm    Post subject: Reply with quote

Thanks guys. Smile

I'll look into those Dread. Wink

Cheers, Mac Smile

_________________
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
View user's profile Send private message Send e-mail
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Fri Apr 30, 2004 8:25 pm    Post subject: Reply with quote

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. Wink

Cheers, Mac Smile

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. Wink

_________________
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
View user's profile Send private message Send e-mail
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Fri Apr 30, 2004 10:41 pm    Post subject: Reply with quote

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. Wink

Cheers, Mac Smile


[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
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Other Product Support/Announcements All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group