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.

Newcomers DBPro Corner / Strange Problem. I Need A Favour Here.

Author
Message
Deleted
20
Years of Service
User Offline
Joined: 26th May 2004
Location:
Posted: 13th Aug 2004 03:02
I seem to be getting an illegal operation from my code! Can Someone Try It Out? It May (will) Need A Slight Bit Of Editing To Work - Redirecting To Folders and textures That Exist On Your Computer For Instance.
The Bit Throwing Up The Illegal Operation Seems To Be The Gravity Part...

Totally
[img]"http://www.geocities.com/preview_ff/wedge.jpg"[/img]
Physics coder
20
Years of Service
User Offline
Joined: 25th May 2004
Location: United States
Posted: 13th Aug 2004 03:23 Edited at: 13th Aug 2004 03:32
I took out the images and ran the program without textures, the problem was you never called the Objects sub routine, try this:



All I did (besides remming out the textures) was call the Objects sub routine. Before, in the gravity sub routine you had objectstat(n).fly, but the objectstat() array was never created because you didn't call the Objects sub routine, where you make the array.

-----------------------------------
To delete the bug, delete the code.
Specs: Sony VAIO Laptop, Windows XP, P4 2.8Ghz, 512MB RAM, ATI Radeon 64MB video memory, DBP Upgrade 5.3.
Deleted
20
Years of Service
User Offline
Joined: 26th May 2004
Location:
Posted: 13th Aug 2004 03:45
Ok Thanks For The Help - I'll See If That Works

Totally
[img]"http://www.geocities.com/preview_ff/wedge.jpg"[/img]
Hansie
20
Years of Service
User Offline
Joined: 3rd Aug 2004
Location: California
Posted: 13th Aug 2004 03:53
forgetting to call subroutines is auch ...
Deleted
20
Years of Service
User Offline
Joined: 26th May 2004
Location:
Posted: 13th Aug 2004 04:01
It Works! Thanks, Man. Although I feel a bit of an eejit now for asking something so simple.
Ah Well, Eejit is as Eejit does or so they say...
Hrm...
I Don't even know what that means...... I think I have a talent at being eejiotic

Totally
[img]"http://www.geocities.com/preview_ff/wedge.jpg"[/img]

Login to post a reply

Server time is: 2024-11-27 06:46:19
Your offset time is: 2024-11-27 06:46:19