Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Geek Culture / DdHelp illegal operation

Author
Message
comando 300
21
Years of Service
User Offline
Joined: 23rd Nov 2003
Location:
Posted: 5th Jan 2005 09:56
I'm making a game(puzzle) I made a routine to get rid of the pieces when you press "d". The code worked well for a while, but now when I press "d" the game and the darkbasic editor quit and, give me an illegal operation.

Quote: "
DDHELP caused an invalid page fault in
module <unknown> at 0000:b00e6ad2.
Registers:
EAX=00000000 CS=00c7 EIP=b00e6ad2 EFLGS=00010286
EBX=00000000 SS=00b7 ESP=80a99b68 EBP=80a99bbc
ECX=00000000 DS=00b7 ESI=850e8000 FS=4aa7
EDX=e47f7bb0 ES=00b7 EDI=849b0000 GS=0000
Bytes at CS:EIP:
8b 7f 14 83 c4 08 3b fb 75 ef 55 8d be 74 06 00
Stack dump:
850e8000 849b0000 b01d9440 b01d9440 00000100 b00b9536 850e8000 b01d9440 b00b8f3d b01d9440 80a89140 b01d9440 00000100 b00b903d b01d9440 80a99bbc
"


Here's the piece of code that suppose to get rid of the pieces.



I reinstalled darkbasic and the DX(DirectX 9.0c).

I'm here!
ionstream
20
Years of Service
User Offline
Joined: 4th Jul 2004
Location: Overweb
Posted: 5th Jan 2005 12:37
That's the most funk-matic error I've ever seen. What does the variable "i" do? I only see it once, and it's just being set to 0.

Make sure you have the most updated programs ever.


Karlos
22
Years of Service
User Offline
Joined: 18th Nov 2002
Location: United Kingdom
Posted: 5th Jan 2005 20:33
well that will only ever get rid of one sprite. and if that sprite doesn't exist then ...kaboom...

try:


hopefully sprite exist is a command - ain't got me manual on me.

All Hail the Glory of the HypnoToad
XP Pro - Radeon 9000 Mobility- P4 3.0ish
blanky
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: ./
Posted: 6th Jan 2005 01:35
DDHELP is something to do with DirectDraw (some kind of helper utility) and making sure your DirectX is current, etc., is a good idea.

Secondly, DBC does sometimes crash if your code does something wrong...

2005 - Year of cartoony red cubes (look! black outline!), for me at least.
Ali M Oldboy
20
Years of Service
User Offline
Joined: 6th Nov 2004
Location: England, UK
Posted: 6th Jan 2005 01:42
I would of thought you would have to re-install it!

Cheers,
Ali M - Nukesoft

[b]Nukesoft[b]
[b]The worst team on Earth![b]

Login to post a reply

Server time is: 2024-11-26 17:23:42
Your offset time is: 2024-11-26 17:23:42