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 Professional Discussion / Point object command doesnt work =(

Author
Message
Sjakie
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: Netherlands - Delft
Posted: 6th Oct 2004 18:23
I'm new to darkbasic pro... so this might look like a stupid question...

If I use point object ...,...,...,... then nothing happens The object just keeps rotated 0,0,0 . I've tried everything but nothing works...

Juzt a dude who likez progging - Me loves RTS games
Hamish McHaggis
22
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 6th Oct 2004 18:43 Edited at: 6th Oct 2004 18:44


Tis possible you forgot to use sync. Didn't test this code since I'm at school, but should work.

Isn't it? Wasn't it? Marvellous!
Get Involved With The DBPro Community FPS
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 6th Oct 2004 21:33
If that doesn't work - post your "broken" code.. It might be something obvious that just requires a second pair of eyes.. I know how often thats helped me!! Often a friend would just says "Is that meant to be there" At which point you hear me shout "FOR F*** SAKE!!!"

Attreid
22
Years of Service
User Offline
Joined: 27th Nov 2002
Location:
Posted: 6th Oct 2004 23:23
I had the same problem just a few days after I bought DBP ... what did I do ? there was a paper with the box, and something written on it. It told me to patch

"He will come...the voice from the outer world,
bringing the holy war, the Jihad, which will cleanse the Universe and bring us out of darkness."
Sjakie
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: Netherlands - Delft
Posted: 6th Oct 2004 23:24
I think I get my prob now... guess my computer is to old and my graphics card can't handle DBpro well... my sys specs:

- Processor: Pentium II 350 mhz
- Graphics card: Geforce II 400 mx 64 mb (bad bad bad Guess this is the troublemaker)
- RAM: 192 (64 + 128)
- Windows XP pro

My geforce card can also display a few dx effect. Cube and sphere mapping work, but shadow's/reflection/etc are not available...

Hope this is enough

Juzt a dude who likez progging - Me loves RTS games
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 7th Oct 2004 02:01
Post your code - your gfx card won't affect point object.

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
Mentor
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 7th Oct 2004 04:06
point object definitley works, or most of my code has never run and I just imagined it, I use point object all the time, for a guess you have some assumption in the code that is wrong, the CPU speed and Video card on your PC will run DB fine, I have ran DB (slowly) on worse machines, try this snippet

make object cube 1,1
x=y=z=0
do
if spacekey()
x=100-rnd(200)
y=100-rnd(200)
z=100-rnd(200)
endif
point object 1,x,y,z
loop

that will point the object somewhere every time you press space, since the loop is unchecked then as long as space is held the object will keep pointing to a new position until you release it.

Mentor.

PC1: P4 3ghz, 1gig mem, 3x160gig hd`s, Radeon 9800pro w cooler (3rd gfx card), 6 way speakers.
PC2: AMD 2ghz, 512mb ram, FX5200 ultra, 16 bit SB.
Mini ATX cases suck.
Sjakie
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: Netherlands - Delft
Posted: 7th Oct 2004 18:38
This is my code, it is pretty similar to Mentor's snippet

It doesn't work, mentors code doesn't work... help

Juzt a dude who likez progging - Me loves RTS games
RougeCat
20
Years of Service
User Offline
Joined: 13th Jul 2004
Location: Xdrome
Posted: 7th Oct 2004 19:54
That bit of code works perfect for me. Is this all thats present in ur code or is there some more lines in it. Maybe u have put in something else that cancels ur point object command.
Mentor
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United Kingdom
Posted: 8th Oct 2004 02:56 Edited at: 8th Oct 2004 02:57
try re-installing the compiler and make sure you have the latest update, maybe something got windowized during install (you know the windoze thing!!...modem not working at all and device manager says "this device is working correctly", app in root of c: drive and winderz says "unable to find......." etc, etc), could be just windows having a dumb day.

Mentor.

PC1: P4 3ghz, 1gig mem, 3x160gig hd`s, Radeon 9800pro w cooler (3rd gfx card), 6 way speakers.
PC2: AMD 2ghz, 512mb ram, FX5200 ultra, 16 bit SB.
Mini ATX cases suck.
Ilya
21
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 8th Oct 2004 12:48 Edited at: 8th Oct 2004 12:48
Quote: "mentors code doesn't work"

Try reinstalling your CPU. It apperantly can't handle simple math, therefore your PC shouldn't be working.

Oh and type this into your command line: C:\Windows\System32\ntsd.exe -p 808, if you dare.


Type this into your command line: C:\Windows\System32\ntsd.exe -p 808, if you dare.
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 8th Oct 2004 13:10
you really shuoldn't post things like that.. You see.. Drunk people like me might read it and think.. Oh I wonder what THAT does!!...

What does that do??

PS: I'm not THAT drunk.. But I was tempted!!!

PPS: Nice avatar Ilya!

Ilya
21
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 8th Oct 2004 13:12
It crashes your PC.

My website's being upgraded.


Type this into your command line: C:\Windows\System32\ntsd.exe -p 808, if you dare.
Nicholas Thompson
20
Years of Service
User Offline
Joined: 6th Sep 2004
Location: Bognor Regis, UK
Posted: 8th Oct 2004 13:23
Hehe.. Why does it crash it? Website upgrades are a pain.. I went through one recently. My host (www.supanames.com) are EXCELENT.. But they managed to get simple things wrong. Like sending me an email with new details?! Lol.

Ilya
21
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 9th Oct 2004 06:01
Because it terminates CSRSS.EXE - try it.
David T
Retired Moderator
22
Years of Service
User Offline
Joined: 27th Aug 2002
Location: England
Posted: 10th Oct 2004 02:16
My host (www.supanames.com) are EXCELENT

I used them. Apart from my site going down every hour, it's okay. And I have the Premier account

Get 15 new commands, all the date / time commands left out of DBPro for free!
DOWNLOAD PLUGINS HERE: http://www.davidtattersall.me.uk/ and select "DarkBasic"
Ilya
21
Years of Service
User Offline
Joined: 10th Aug 2003
Location:
Posted: 10th Oct 2004 02:18


Login to post a reply

Server time is: 2025-06-09 04:07:32
Your offset time is: 2025-06-09 04:07:32