Register    Login    Forum    Search    FAQ

Board index » Everything




Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post Posted: November 6th, 2013, 2:41 am 
User avatar

Joined: November 1st, 2013, 7:41 pm
Posts: 4
Location: U.S.A Streator,Il
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


Top 
 Profile  
Reply with quote  
 Post Posted: November 6th, 2013, 10:22 am 
User avatar

Joined: May 23rd, 2013, 3:52 pm
Posts: 1236
Location: USA
have you tried using the ghillie build? download/file.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.
irc://irc.freenode.net/#pchili alt -- join up if ever want real-time help or to just chat :mrgreen: --


Top 
 Profile  
Reply with quote  
 Post Posted: November 7th, 2013, 5:07 am 
User avatar

Joined: November 1st, 2013, 7:41 pm
Posts: 4
Location: U.S.A Streator,Il
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


Top 
 Profile  
Reply with quote  
 Post Posted: November 7th, 2013, 6:30 am 
User avatar

Joined: May 23rd, 2013, 3:52 pm
Posts: 1236
Location: USA
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.
irc://irc.freenode.net/#pchili alt -- join up if ever want real-time help or to just chat :mrgreen: --


Top 
 Profile  
Reply with quote  
 Post Posted: November 12th, 2013, 10:24 am 
User avatar

Joined: November 1st, 2013, 7:41 pm
Posts: 4
Location: U.S.A Streator,Il
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


Top 
 Profile  
Reply with quote  
 Post Posted: November 13th, 2013, 6:38 am 
User avatar

Joined: May 23rd, 2013, 3:52 pm
Posts: 1236
Location: USA
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.
irc://irc.freenode.net/#pchili alt -- join up if ever want real-time help or to just chat :mrgreen: --


Top 
 Profile  
Reply with quote  
 Post Posted: June 11th, 2017, 7:02 pm 
User avatar

Joined: September 14th, 2015, 10:58 pm
Posts: 33
Location: Jena
old but gold. Had a blast(literally) playing it.

_________________
Kraut


Top 
 Profile  
Reply with quote  
 Post Posted: June 15th, 2017, 10:54 am 
User avatar

Joined: November 14th, 2014, 2:03 am
Posts: 78
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


Top 
 Profile  
Reply with quote  
 Post Posted: June 15th, 2017, 2:02 pm 
User avatar

Joined: September 14th, 2015, 10:58 pm
Posts: 33
Location: Jena
cyboryxmen wrote:
So I made them explode into rockets that also explode into rockets...that also explode into rockets.

:D Can you post binary?

_________________
Kraut


Top 
 Profile  
Reply with quote  
 Post Posted: June 16th, 2017, 4:39 am 
User avatar

Joined: March 31st, 2015, 10:10 pm
Posts: 69
Location: Florida, United States of America
What a bump krauter :D

_________________
Broc W.

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


Top 
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 32 posts ]  Go to page Previous  1, 2, 3, 4  Next

Board index » Everything


 
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 post attachments in this forum

Search for:
cron