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.

DarkBASIC Discussion / Problem with sample .dba files

Author
Message
Gangsta Gamesta
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location:
Posted: 24th Feb 2007 06:59
Hello,
I'm experincing some blotchy black spots on the example .dba files when I run them as an exe. I'm hoping this is a normal bug for the sample .dba files (I attached a jpeg image of what iced.dba looks like when I run it as an exe). The version of my DBC is 1.12, but then I changed it to 1.13 to see if the problem would still occur and it does.

PS
Is the only thing that 1.13 does is take away?
Version 1.1.3 ( ** / JAN / 2002 )
* EPU Disabled for Public Online Patch

I have no clue what EPU is, but if its the thing that some MMOs use to update the game before launching then I seriously need that.

- G 2x

Attachments

Login to view attachments
Gangsta Gamesta
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location:
Posted: 24th Feb 2007 20:11
bump

- G 2x
Lucifer
19
Years of Service
User Offline
Joined: 26th Dec 2005
Location:
Posted: 24th Feb 2007 20:26
uh, what 3d card do you have?


i like pancakes..
Gangsta Gamesta
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location:
Posted: 24th Feb 2007 20:37 Edited at: 24th Feb 2007 20:37
Oh come on my pc isnt this out of date. I have a Windows XP home edition service pack 2 with 768mb ram and 240gig hd, I have no clue where to check the video card but I know my video card is a 64mb one and I have directX 9.0c installed.

- G 2x
Jack
20
Years of Service
User Offline
Joined: 4th Oct 2004
Location: [Germany]
Posted: 25th Feb 2007 01:56
Execute: dxdiag

[/center]
Gangsta Gamesta
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location:
Posted: 25th Feb 2007 02:29 Edited at: 25th Feb 2007 08:17
Whhhat? I tryed executing dxdiag and it said the command wasn't reconized.


EDIT: Also I have a new problem. I have no clue on how to find the object number so I can import it >.> little help please.

- G 2x
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 25th Feb 2007 10:17 Edited at: 25th Feb 2007 10:41
@Gangsta

Just to be sure you weren't trying to execute dxdiag under DarkBASIC:

Jack was suggesting that you see what version of direct x windows thinks is installed on your system by running dxdiag under your windows environment. Start > Run > dxdiag [OK] You can also do some directx trouble shooting from this app.

Enjoy your day.
NanoGamez guy
18
Years of Service
User Offline
Joined: 13th Jan 2007
Location: Closer than you think...
Posted: 25th Feb 2007 14:24
Quote: "EDIT: Also I have a new problem. I have no clue on how to find the object number so I can import it >.> little help please."


Do you mean import it froma file into the game? If you do, then the answer is simple:

An object number is the number that you assign to an object when you load/create it. You can use later if you want to do someing with the object (e.g.move it). You can assign any number to an object but it's always best to do it 1,2,3...etc. Remeber you can't have 2 objects with the same number.

If you mean you can't get the number of an object if you want to do soming with it(e.g.move it) then, basically, just remeber the number of the object when you first load/create it!

I can see you...
Gangsta Gamesta
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location:
Posted: 25th Feb 2007 22:03
Ok I looked through the pages on dxdiag and it said there weren't any problems found. And on the importing, I can't even find the number from the start its on the models that came with the game that I'm wanting to try out and I can't load it if I don't have the number and I didn't create it. Can someone give me a step by step way to get a model in the game? I tryed using the media toolbar but I still couldn't find the number. Are you trying to saying that when I type LOAD OBJECT "whatever.x", MYRANDOMNUMBERHERE? And the next object in my script has to be something else like 2-65535 meaning I assign the numbers?

- G 2x
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 26th Feb 2007 00:06
Quote: "meaning I assign the numbers?"


Correct!

TDK_Man

Gangsta Gamesta
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location:
Posted: 26th Feb 2007 01:11 Edited at: 26th Feb 2007 04:07
Ah thank you I have finally learned something not that I have had it long, this is my third day. Do you know why the sample game projects have black splotches?(see picture on first post)

EDIT:


Ok I just tryed to load an oject I saw after looking in media browser. I typed LOAD OBJECT "MAN2.x", 1
and it said the file didn't exist. Which makes me think I need to place objects I want to load in a certain file. What am I doing wrong?

- G 2x
NanoGamez guy
18
Years of Service
User Offline
Joined: 13th Jan 2007
Location: Closer than you think...
Posted: 26th Feb 2007 17:40
Quote: "Ok I just tryed to load an oject I saw after looking in media browser. I typed LOAD OBJECT "MAN2.x", 1
and it said the file didn't exist. Which makes me think I need to place objects I want to load in a certain file. What am I doing wrong"


If you want to load a file you either have to have it in the directory that you save your game in(the current directory) or you have to type out the full path of the file e.g. 'C:/My Documents and settings/abc/my documents/games/whatever.x'

I would recomend having the file in the current directory because it's alot easier.

If you want to get the file in the current directory all you have to do is copy and paste it to there.

I can see you...
Gangsta Gamesta
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location:
Posted: 26th Feb 2007 23:38
Sweeet thanks alot guys. Too bad no one knows about the glitchy sample dba files.

<-tater tot+=linux

- G 2x
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 27th Feb 2007 00:41 Edited at: 27th Feb 2007 00:46
Without actually seeing your program run, it's difficult to say. A single snapshot doesn't tell us much.

It's unlikely to be a DirectX problem as DBC 1.13 only needs DX8 (DX7 for versions prior to 1.10 if I remember correctly).

If I had to wager money on it, I'd say it's more likely to be a graphics card issue.

Is it using old drivers? See if you can find a more up-to-date driver for it. What make is it? You need to find this out as it could be important.

Also, have you tried the exe's on another machine?

You say it happens with exe's - are you saying that they are all OK when run as DBA files from the editor?

TDK_Man

Gangsta Gamesta
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location:
Posted: 1st Mar 2007 04:02
It was only the pre made games like iced,room,swarm,tank,etc. that had glitchyness in the exe. I think its something wrong with the code.

My pc is a Dell pentium 4 2.66GHz windows xp home edition service pack 2 with 768mb ram 240gig hd the rest of the parts are stock, I know the video card(graphics card right?) is 64mb.

Sorry for the late reply, I've been busy and lazy lately.
PS: I learned how to import models as soon as I placed the files in my project folder. I pittled around with darkbasic 1-2 days ago and tryed out the matrix stuff.<-I need work with that.

- G 2x
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 1st Mar 2007 10:27
I suppose there's a chance that you could have demos that were written for an earlier version of DB, but unlikely.

Also, if it's any help, I have a comprehensive tutorial on matrices in the sticky on the Newcomers board.

TDK_Man

Gangsta Gamesta
19
Years of Service
User Offline
Joined: 23rd Mar 2006
Location:
Posted: 2nd Mar 2007 04:18
Ok sounds like a good explanation to me. And i'll check out the matrix tutorial . Thanks

- G 2x

Login to post a reply

Server time is: 2025-05-29 03:44:51
Your offset time is: 2025-05-29 03:44:51