Page 3 of 4

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

Posted: November 6th, 2013, 2:41 am
by webspyder
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.

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

Posted: November 6th, 2013, 10:22 am
by LuisR14
have you tried using the ghillie build? http://www.planetchili.net/forum/downlo ... php?id=335

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

Posted: November 7th, 2013, 5:07 am
by webspyder
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.

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

Posted: November 7th, 2013, 6:30 am
by LuisR14
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?

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

Posted: November 12th, 2013, 10:24 am
by webspyder
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();
}

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

Posted: November 13th, 2013, 6:38 am
by LuisR14
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 :)

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

Posted: June 11th, 2017, 7:02 pm
by krautersuppe
old but gold. Had a blast(literally) playing it.

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

Posted: June 15th, 2017, 10:54 am
by cyboryxmen
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.

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

Posted: June 15th, 2017, 2:02 pm
by krautersuppe
cyboryxmen wrote:So I made them explode into rockets that also explode into rockets...that also explode into rockets.
:D Can you post binary?

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

Posted: June 16th, 2017, 4:39 am
by Battlefrog
What a bump krauter :D