Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help me solve this!! pls!

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
ShurikeN
Advanced Cheater
Reputation: 0

Joined: 09 Jan 2008
Posts: 84

PostPosted: Fri Dec 05, 2008 11:00 pm    Post subject: Help me solve this!! pls! Reply with quote

im currently creating my first win32 gdi game but im having a problem with it. When i run the game it runs well but after a while (3min or 4) it then crashes.

pls help me solve this problem..

btw, some parts of the codes are taken from my old CD GameTutorials, particularly the TransparentBlit() function, fmod source and sound, and ofcourse the win32 template is from codeblocks IDE . Other than those are mine. This is still unfinished and i got a lot more to add.



The Extension 'zip' was deactivated by an board admin, therefore this Attachment is not displayed.


_________________
Code:
XXXXXX      XXXXXX
   XXXXX  XXXXX
     XXXXXXXX
    D I R E C T
     XXXXXXXX
   XXXXX  XXXXX
XXXXXX      XXXXXX
      GameDev


Last edited by ShurikeN on Sat Dec 06, 2008 8:00 am; edited 4 times in total
Back to top
View user's profile Send private message
AlbanainRetard
Master Cheater
Reputation: 0

Joined: 02 Nov 2008
Posts: 494
Location: Canada eh?

PostPosted: Fri Dec 05, 2008 11:26 pm    Post subject: Reply with quote

Sorry cant see source, thanks to rapidshare
_________________
Back to top
View user's profile Send private message Send e-mail
ShurikeN
Advanced Cheater
Reputation: 0

Joined: 09 Jan 2008
Posts: 84

PostPosted: Sat Dec 06, 2008 7:57 am    Post subject: Reply with quote

there you go, i uploaded it here. in my first post.
_________________
Code:
XXXXXX      XXXXXX
   XXXXX  XXXXX
     XXXXXXXX
    D I R E C T
     XXXXXXXX
   XXXXX  XXXXX
XXXXXX      XXXXXX
      GameDev
Back to top
View user's profile Send private message
DoomsDay
Grandmaster Cheater
Reputation: 0

Joined: 06 Jan 2007
Posts: 768
Location: %HomePath%

PostPosted: Sat Dec 06, 2008 8:35 am    Post subject: Reply with quote

First things first: you have a memory leak (run the application and monitor the memory usege on the task manager).

-EDIT-
Found a crash cause:
Code:
File: CEngine.cpp
Line: 140
Invalid pointer: pBackBits(0x00000000)
Back to top
View user's profile Send private message
AlbanainRetard
Master Cheater
Reputation: 0

Joined: 02 Nov 2008
Posts: 494
Location: Canada eh?

PostPosted: Sat Dec 06, 2008 12:16 pm    Post subject: Reply with quote

Time to make a dev c++ project and see whats wrong, will update my post when I am done.
_________________
Back to top
View user's profile Send private message Send e-mail
ShurikeN
Advanced Cheater
Reputation: 0

Joined: 09 Jan 2008
Posts: 84

PostPosted: Sat Dec 06, 2008 10:09 pm    Post subject: Reply with quote

wtf! CPU usage is really high! why is that?
_________________
Code:
XXXXXX      XXXXXX
   XXXXX  XXXXX
     XXXXXXXX
    D I R E C T
     XXXXXXXX
   XXXXX  XXXXX
XXXXXX      XXXXXX
      GameDev
Back to top
View user's profile Send private message
Sora
Grandmaster Cheater Supreme
Reputation: 0

Joined: 14 May 2008
Posts: 1471

PostPosted: Sat Dec 06, 2008 11:11 pm    Post subject: Reply with quote

ShurikeN wrote:
wtf! CPU usage is really high! why is that?

Include the sleep(seconds) function?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
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 cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites