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 / DBPro Tutorial Error?

Author
Message
Shadow Legacy
13
Years of Service
User Offline
Joined: 20th Nov 2010
Location: Infront of my computer
Posted: 28th Nov 2010 20:55
ok I followed the fps tutorial that comes with dbpro, it's sketchy at best, but I think I put everything in the right places, but it doesn't work at all....



DBPro noob here
Skype = Shadow-Legacy
http://shadow-legacy-script.webs.com/
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 29th Nov 2010 10:52
What error do you get?

Shadow Legacy
13
Years of Service
User Offline
Joined: 20th Nov 2010
Location: Infront of my computer
Posted: 29th Nov 2010 12:59
compiler errors,

Command out of place at line 247.
Compilation Failed (Syntax Errors)

this is just the latest one

DBPro noob here
Skype = Shadow-Legacy
http://shadow-legacy-script.webs.com/
baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 29th Nov 2010 13:18 Edited at: 29th Nov 2010 13:21
Weird, that's on "Loop"...

I'm looking through it now.

EDIT:
Problem is here:


You didn't close the "IF" statement like this:


=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 29th Nov 2010 13:22 Edited at: 29th Nov 2010 13:23


This bit, needs another End if

I think thats whats causing the error


>Edit<
Ninja'd by Baxslash

baxslash
Valued Member
Bronze Codemaster
17
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 29th Nov 2010 13:34
Close one there prof!

Shadow Legacy
13
Years of Service
User Offline
Joined: 20th Nov 2010
Location: Infront of my computer
Posted: 29th Nov 2010 15:10 Edited at: 29th Nov 2010 15:17
testing now, then brb

EDIT:

Looks extremely bad, but it compiles fine now thanks

mind helping me with the code?



this code is wrong somehow, about 2/3 of the towers are quite a bit above the matrix level....


also for some reason its impossible for the player to shoot, which I can't figure out either

DBPro noob here
Skype = Shadow-Legacy
http://shadow-legacy-script.webs.com/
Indicium
16
Years of Service
User Offline
Joined: 26th May 2008
Location:
Posted: 29th Nov 2010 18:01
Quote: "End if"


Endif :p

Shadow Legacy
13
Years of Service
User Offline
Joined: 20th Nov 2010
Location: Infront of my computer
Posted: 29th Nov 2010 18:50
lol nightmare, never noticed that prof officially owned lol

DBPro noob here
Skype = Shadow-Legacy
http://shadow-legacy-script.webs.com/
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 29th Nov 2010 22:16
@Mad Nightmare:
You are right of course, my mistake.

Shadow Legacy
13
Years of Service
User Offline
Joined: 20th Nov 2010
Location: Infront of my computer
Posted: 30th Nov 2010 13:41
forgot to add, woot Mad Nightmare, Geordie Supremacy lol, I'm from Hexham, but I live in bulgaria now

DBPro noob here
Skype = Shadow-Legacy
http://shadow-legacy-script.webs.com/

Login to post a reply

Server time is: 2024-09-29 00:22:10
Your offset time is: 2024-09-29 00:22:10