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 / FPSCreator + darkbasic pro: Loading Issues

Author
Message
MONSTER MARK
13
Years of Service
User Offline
Joined: 3rd Sep 2010
Location:
Posted: 19th Jan 2012 15:15
I watched Daniel's video tutorial on how to import fps creator maps and character model packs into darkbasic.. but i ran into some problems...


I got an issue loading the level[.dbo] file into darkbasic.

the problem is that darkbasic cannot recognize 'Load Static Objects ' command..

when i tried to get into the debug menu, the pointer always stops at 'Universe=1


Also, i get a blank screen and when i debug in step mode, the compiler stops at the line ' Universe = 1'.

Why is this happening, do i have to install a 3rd party plugin.
The command 'Load Static Objects' is not high-lighted when i enter it into DBPro. [i cannot lookup help-F1 at this command]

Is 'Load Static Objects' a native DBpro command? If so, then there might be something wrong with my installation.


code:


Awaiting reply.

Judgment Day Can Wait !!
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 19th Jan 2012 16:52
Try to have the objects in the same folder... and try switching universe and thr map around... if that makes sense... I would look at the sample code that comes with Dark Physics but... on phone atm... will check it shortly... right after pizza time¡¡¡

=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 19th Jan 2012 17:46 Edited at: 19th Jan 2012 17:47
It sounds to me as though you are running an older version of DBP. (Current version shows as 1.0761 in the about box and is referred to on the forums as 7.61, I have a sneaky feeling that you are running 1.054 which is the version I have on the CD);

http://www.thegamecreators.com/?m=view_product&id=2000&page=upgrades

Follow the above link to download the latest version of DBP and try your snippet again once it's installed.

Hope that helps.

MONSTER MARK
13
Years of Service
User Offline
Joined: 3rd Sep 2010
Location:
Posted: 19th Jan 2012 17:57
Watch Daniel's tutorial:

http://www.youtube.com/watch?v=sOOty0yspmk&feature=g-user-u

I have the un-upgraded darkbasic pro version 1.69 on my PC
and upgraded version 1.75 on my laptop.

All my media files, .dss, .x files are in folder :
C:\The Game Creators\Dark Basic Professional\Projects\Mark\3rd person

while the fpsc level map is in folder:


Judgment Day Can Wait !!
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 19th Jan 2012 18:23 Edited at: 19th Jan 2012 18:25
Quote: "The command 'Load Static Objects' is not high-lighted when i enter it into DBPro. [i cannot lookup help-F1 at this command]
"


Sounds like your installation of DBP is borked then, the command highlights and provides help with F1 on my up to date DBP install.

>Edit<
Scouring the forums has revealed that command was added in v5.9, so both your DBP's should work with the command.

MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 19th Jan 2012 18:37
Hmm...

WickedX
15
Years of Service
User Offline
Joined: 8th Feb 2009
Location: A Mile High
Posted: 19th Jan 2012 18:37 Edited at: 19th Jan 2012 19:00
Is this the error your getting.



This is because the static object (universe.dbo) get it textures relative to its path. If you have copied the texturebank folder to the "C:\The Game Creators\Dark Basic Professional\Projects\Mark\3rd person\simple\Files" folder, with the project folders you given this should work, unless DBPro is missing some files. And here’s a little hint “never use absolute paths".



Edit: Did not notice the simple folder - corrected
MONSTER MARK
13
Years of Service
User Offline
Joined: 3rd Sep 2010
Location:
Posted: 19th Jan 2012 18:38
very strange.. see the uploaded image attached..

Judgment Day Can Wait !!

Attachments

Login to view attachments
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 19th Jan 2012 18:42 Edited at: 19th Jan 2012 18:42
It's not the 1st time on this forum that a problem like that has been fixed by a quick uninstall/reinstall of DBP. (Might be worth while re-downloading the installers for both as well, incase your stored versions are corrupt)

I'm fairly confident that this is the cause of your problems.

On a nostalgic note, the old editor is such a blast from the past I kinda miss it tho.

MONSTER MARK
13
Years of Service
User Offline
Joined: 3rd Sep 2010
Location:
Posted: 19th Jan 2012 19:31
yo bro there was a problem in the installation. but when i compile and run, i get ... see attachment

Judgment Day Can Wait !!

Attachments

Login to view attachments
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 19th Jan 2012 19:35 Edited at: 19th Jan 2012 19:36
Thats the error you get when you try and run a project written with an outdated DBP version under Windows 7 sp 1 I believe.

Update 7.61 fixes this issue.

MONSTER MARK
13
Years of Service
User Offline
Joined: 3rd Sep 2010
Location:
Posted: 19th Jan 2012 19:37
and in step debug mode i get:

Judgment Day Can Wait !!

Attachments

Login to view attachments
MONSTER MARK
13
Years of Service
User Offline
Joined: 3rd Sep 2010
Location:
Posted: 19th Jan 2012 19:47
so if i run the same code in window xp sp3, will it work.

if so then i have to migrate all my files to winxp. will do that tomorrow.

Will keep you posted.

If you find anything related to this issue: compiler stops at 'universe =1' as in my above post, please let me know..

Thanks you for your help.

Judgment Day Can Wait !!
=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 19th Jan 2012 20:09
Yes, it will (should, lol) work with XP sp3, but it would make more sense surely to update both you're DBP's to the latest version? To ensure compatability of your game on as wider range of OS's as possible.

MONSTER MARK
13
Years of Service
User Offline
Joined: 3rd Sep 2010
Location:
Posted: 20th Jan 2012 05:17
Even after upgrading i'm still stuck al line:

Universe=1



Judgment Day Can Wait !!

Attachments

Login to view attachments
MrValentine
AGK Backer
13
Years of Service
User Offline
Joined: 5th Dec 2010
Playing: FFVII
Posted: 20th Jan 2012 06:38
Try remming fog on out and see if that helps...

nonZero
12
Years of Service
User Offline
Joined: 10th Jul 2011
Location: Dark Empire HQ, Otherworld, Silent Hill
Posted: 20th Jan 2012 06:52
If you still have the old version of dvpro, please do this and try running your code:

1) Ensure you have a clean install of the OLD dbpro with the OLD editor.
2) Remove and reinstall the LATEST dbpro in a new folder (they should be as old install path was etc\dark basic software\etc and new dbpro is etc\the game creators\etc.)
3) Rename the folder called etc\compiler in your OLD dbpro to "compiler_old".
4) Copy the etc\compiler folder from you NEW dbpro into the folder containing "compiler_old" in your OLD dbpro.
5) If you did this correctly, you can start the OLD dbpro and still use the NEW dbpro commands. They will not be highlighted and linked to help tho unless you tinker with some files (will explain if require).
6) Attempt to run your source file.

Now if it runs, we've successfully proven an editor bug. If not then we know the problem is at compiler level.

Source(s): I had major issues with the new dbpro (I updated a few weeks ago). I figured it may be a editor bug and did this and it solved all my problems.

While this may not be ideal for you, it will provide usefull info as to whats wrong. Also, if it all works out and you're happy to keep using the old editor (I am) then I'll walk you through getting the new commands highlighted blue if required.

Good luck.

MONSTER MARK
13
Years of Service
User Offline
Joined: 3rd Sep 2010
Location:
Posted: 20th Jan 2012 07:07 Edited at: 20th Jan 2012 07:08
ok guys .. finally a break through.. after so many attempts an reinstalls, finally the thing worked.

i got this editor from the net i dont know whether its legal or what:
CodeSurge v0.9 build 4..


All the commands are highlighted and the code runs perfectly..




Final Working code


In the end it turned out to a faulty install, therefore i installed a fresh copy on the E drive and it worked perfectly.

Thank you guys.. you've been a great help.

Judgment Day Can Wait !!
MONSTER MARK
13
Years of Service
User Offline
Joined: 3rd Sep 2010
Location:
Posted: 20th Jan 2012 08:08
and here's how it works:

http://www.youtube.com/watch?v=fjL1PncdDRk&feature=youtu.be

Judgment Day Can Wait !!
nonZero
12
Years of Service
User Offline
Joined: 10th Jul 2011
Location: Dark Empire HQ, Otherworld, Silent Hill
Posted: 20th Jan 2012 09:40
...Had a feeling it was an editor bug. The new editor looks great but it does seem to be pretty buggy (lotsa complaints I've heard about)

Quote: "i got this editor from the net i dont know whether its legal or what:
CodeSurge v0.9 build 4.."

There's nothing wrong with using an alternate code editor so, as far as I know, Codesurge IS legal (What I did is far more likely illegal but potato, potâto ).
I've actually tried out CodeSurge before and it's a pretty decent editor actually but there was one issue of mine it didn't solve ;_; so I had to revert to my "custom" version of DBPro.
Anyways, if it works for you then great!

=PRoF=
21
Years of Service
User Offline
Joined: 17th Mar 2003
Location: Milton Keynes, UK
Posted: 20th Jan 2012 09:46
Glad you got it sorted.

I've been using Codesurge as my DBP editor for more years than I can remember.

>Here< is a link to the official Codesurge thread (Which also includes a download link to Codesurge v1.4c)

MONSTER MARK
13
Years of Service
User Offline
Joined: 3rd Sep 2010
Location:
Posted: 20th Jan 2012 14:21
Thanks to u guys i have the updated stuff.

Everything compiles with no issues.
I never used to bother about updates n all. But will get my system updated with the latest TGC releases.

Cheers \m/

Judgment Day Can Wait !!
MONSTER MARK
13
Years of Service
User Offline
Joined: 3rd Sep 2010
Location:
Posted: 12th Feb 2012 06:36
Quote: "
NonZero,
...........
5) If you did this correctly, you can start the OLD dbpro and still use the NEW dbpro commands. They will not be highlighted and linked to help tho unless you tinker with some files (will explain if require).
...........
"




cud u show me how to do the highlighting thing for Sparky's collision dll. i got the html help files.

I would appreciate it. Thanks

Judgment Day Can Wait !!
nonZero
12
Years of Service
User Offline
Joined: 10th Jul 2011
Location: Dark Empire HQ, Otherworld, Silent Hill
Posted: 12th Feb 2012 09:03
Quote: "cud u show me how to do the highlighting thing for Sparky's collision dll. i got the html help files."


This works for the old editor only. I don't know how Codesurge works. Anyway, here's how:



So you'd basically copy the html help files from sparky's into the relevant location and add the commands, linking them to the location as in the example.

MONSTER MARK
13
Years of Service
User Offline
Joined: 3rd Sep 2010
Location:
Posted: 12th Feb 2012 16:06 Edited at: 12th Feb 2012 16:07
thanks nonZero. works great with the old editor.

apart from codesurge, any other method for the new tgc editor..



Judgment Day Can Wait !!

Attachments

Login to view attachments
Brendy boy
18
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 15th Feb 2012 05:30
Quote: "apart from codesurge, any other method for the new tgc editor.."

tools -> rebuild keywords

Login to post a reply

Server time is: 2024-05-09 05:45:56
Your offset time is: 2024-05-09 05:45:56