TankZ - Invasion mode added (version 3.2 available)

The Partridge Family were neither partridges nor a family. Discuss.
User avatar
webspyder
Posts: 4
Joined: November 1st, 2013, 7:41 pm
Location: U.S.A Streator,Il

Re: TankZ - Invasion mode added (version 3.2 available)

Post by webspyder » November 6th, 2013, 2:41 am

I can't get it to compile on windows xp sp 3.

Unhandled exception at 0x78ab0a4a in Chili DirectX Framework.exe: 0xC0000005: Access violation writing location 0x0243c000.

here is where it breaks at
memcpy ( &((BYTE*)backRect.pBits) [ backRect.Pitch * y ], &pSysBuffer [ SCREENWIDTH * y ], sizeof ( D3DCOLOR ) * SCREENWIDTH );

is it because i'm still using windows xp?
would love to play it though.

my screen res is also set 1024x768 if this matters.
Registered Linux User # 447381

User avatar
LuisR14
Posts: 1248
Joined: May 23rd, 2013, 3:52 pm
Location: USA
Contact:

Re: TankZ - Invasion mode added (version 3.2 available)

Post by LuisR14 » November 6th, 2013, 10:22 am

have you tried using the ghillie build? http://www.planetchili.net/forum/downlo ... php?id=335
always available, always on, about ~10 years c/c++, java[script], win32/directx api, [x]html/css/php/some asp/sql experience. (all self taught)
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat :mrgreen: --

User avatar
webspyder
Posts: 4
Joined: November 1st, 2013, 7:41 pm
Location: U.S.A Streator,Il

Re: TankZ - Invasion mode added (version 3.2 available)

Post by webspyder » November 7th, 2013, 5:07 am

the framework works fine it's just when i try to compile the tank game it show's that.

i have compiled all of the frameworks without a problem but when i try to compile the tankz game it does that.

my video card is nvidia 6150 430

it's no biggie just wanted to play tankz to thats all
gives me something to work forward on.
Registered Linux User # 447381

User avatar
LuisR14
Posts: 1248
Joined: May 23rd, 2013, 3:52 pm
Location: USA
Contact:

Re: TankZ - Invasion mode added (version 3.2 available)

Post by LuisR14 » November 7th, 2013, 6:30 am

hm, oh i see nvm hehe :P, ... could be that either variable hasn't been initialized o.o (or just not properly)

edit: i just tried the game and it's really nice :) (but wasd keys, bleh)

(compiles fine, works fine here), could be related to your hardware maybe?
always available, always on, about ~10 years c/c++, java[script], win32/directx api, [x]html/css/php/some asp/sql experience. (all self taught)
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat :mrgreen: --

User avatar
webspyder
Posts: 4
Joined: November 1st, 2013, 7:41 pm
Location: U.S.A Streator,Il

Re: TankZ - Invasion mode added (version 3.2 available)

Post by webspyder » November 12th, 2013, 10:24 am

well today i decided to try and compile the tankz game again.
got it to compile and it started to play but as soon as the sound started it crashed.

when i first compiled it last week i was using a screen res of 1024x768
so i decided to see if changing the screen res to see if it would make a difference so i set it to 1280x1024 and wow the game started.
but as i stated earlier as soon as the sound started it crashed.

i'm one step closer to playing tankz now.

this is what i'm getting now.

Microsoft Visual Studio C Runtime Library has detected a fatal error in Chili DirectX Framework.exe.

Press Break to debug the program or Continue to terminate the program.

here's where it breaks now.

bufferDesc.dwBufferBytes = waveFileHeader.dataSize;


and

else if ( m_menuSelection == _sound ) // sound
{
m_useSound = !m_useSound;
setUseSoundEffects();
}
Registered Linux User # 447381

User avatar
LuisR14
Posts: 1248
Joined: May 23rd, 2013, 3:52 pm
Location: USA
Contact:

Re: TankZ - Invasion mode added (version 3.2 available)

Post by LuisR14 » November 13th, 2013, 6:38 am

ah, so it seems the game doesn't handle out of bounds pixels :)

that error you getting now must just be that you don't have the audio files in the same folder as exe :)
always available, always on, about ~10 years c/c++, java[script], win32/directx api, [x]html/css/php/some asp/sql experience. (all self taught)
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat :mrgreen: --

User avatar
krautersuppe
Posts: 91
Joined: September 14th, 2015, 10:58 pm
Location: Istanbul

Re: TankZ - Invasion mode added (version 3.2 available)

Post by krautersuppe » June 11th, 2017, 7:02 pm

old but gold. Had a blast(literally) playing it.
DSU
Discord: dsu1, GitHub: https://github.com/DSpUz

User avatar
cyboryxmen
Posts: 190
Joined: November 14th, 2014, 2:03 am

Re: TankZ - Invasion mode added (version 3.2 available)

Post by cyboryxmen » June 15th, 2017, 10:54 am

Game is too hard and missiles are too weak. So I made them explode into rockets that also explode into rockets...that also explode into rockets.

Runs pretty well surprisingly.
Zekilk

User avatar
krautersuppe
Posts: 91
Joined: September 14th, 2015, 10:58 pm
Location: Istanbul

Re: TankZ - Invasion mode added (version 3.2 available)

Post by krautersuppe » June 15th, 2017, 2:02 pm

cyboryxmen wrote:So I made them explode into rockets that also explode into rockets...that also explode into rockets.
:D Can you post binary?
DSU
Discord: dsu1, GitHub: https://github.com/DSpUz

User avatar
Battlefrog
Posts: 69
Joined: March 31st, 2015, 10:10 pm
Location: Florida, United States of America

Re: TankZ - Invasion mode added (version 3.2 available)

Post by Battlefrog » June 16th, 2017, 4:39 am

What a bump krauter :D
Broc W.

Sole Member of Sledgehog Software, trademark and LLC status pending.

Post Reply