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 / Dark lights keeps crashing

Author
Message
Levanthus
23
Years of Service
User Offline
Joined: 17th Apr 2003
Location: Cumbria, UK
Posted: 26th Apr 2010 14:31 Edited at: 26th Apr 2010 23:14
I just got my grubby little mitts on a copy of darklights having played with the demo and liking how it worked i thought it'd be great, however having installed the full version and everything, every time i try and Lightmap or Save the program just crashes out and doesn't save anything. The Demo i downloaded from this site worked fine, but having paid for and downloading the full version, it doesn't work... Any ideas as to why? I looked on the windows 7 compatibility thread and dark lights isn't mentioned but it doesn't make sense that the demo would work but the full version doesn't

Windows 7 64 bit, AMD Phenom II x4 Black edition, 4 GB Ram, Radeon HD 4650, 540 GB HDD

I can see from your smile, you're not here for the sunset.
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 27th Apr 2010 19:11
Maybe you could post your code?

Levanthus
23
Years of Service
User Offline
Joined: 17th Apr 2003
Location: Cumbria, UK
Posted: 28th Apr 2010 00:55 Edited at: 28th Apr 2010 00:58
i was using the graphic interface thing where you load in your model and then use like the mouse to position lights and stuff... as far as i knew that was how it worked?

i was using the C:\Dark Basic Pro\Projects\Dark Lights\Tools\LightmapperIDE-FULL\LightmapperIDE.exe application thing.

Windows 7 64 bit, AMD Phenom II x4 Black edition, 4 GB Ram, Radeon HD 4650, 540 GB HDD

I can see from your smile, you're not here for the sunset.
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 28th Apr 2010 10:21
Aaah, you mean the IDE that comes with it... I think I had a problem with that too. Try loading the project in that folder and compile it, I think there was a problem with that I had to solve.

If you have the full version I would suggest trying the demos and loading your model into them. Get to grips with the commands and you'll have much more control...

Levanthus
23
Years of Service
User Offline
Joined: 17th Apr 2003
Location: Cumbria, UK
Posted: 28th Apr 2010 14:28 Edited at: 28th Apr 2010 14:30
When i try and compile the project i get

Compliation Failed. Could not determine parameter type of 'OPEN FILE DIALOG( root$+"\MyScenes\", "*.dbo;*.x", "Load a model to lightmap")' at line 530

and sometimes on the other file it says the same but for line 401

Windows 7 64 bit, AMD Phenom II x4 Black edition, 4 GB Ram, Radeon HD 4650, 540 GB HDD

I can see from your smile, you're not here for the sunset.
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 28th Apr 2010 14:45 Edited at: 28th Apr 2010 14:46
Try compiling my version as this works OK for me (attached)...

Levanthus
23
Years of Service
User Offline
Joined: 17th Apr 2003
Location: Cumbria, UK
Posted: 29th Apr 2010 00:51
Ok with your version i get

Compilation failed. Could not understand command at line 772

Line 772 LM START

is there maybe something that I might have missed when installing Darklights? all idid was install it straight from the setup.exe after downloading it

Windows 7 64 bit, AMD Phenom II x4 Black edition, 4 GB Ram, Radeon HD 4650, 540 GB HDD

I can see from your smile, you're not here for the sunset.
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 29th Apr 2010 10:57
Maybe you have DBP installed somewhere other than "...Program Files/The Game Creators/Dark Basic Professional Online/"?

If so try reinstalling and make sure you point it at your DBP installation folder before you set it going.

It's not recognising the keywords so maybe double check that your "/Compiler/plugins - licensed/" folder contains "Lightmapper.dll" and that your "/Editor/Keywords/" folder contains "keywordsDL.ini"...

Levanthus
23
Years of Service
User Offline
Joined: 17th Apr 2003
Location: Cumbria, UK
Posted: 29th Apr 2010 11:53
Ok when i installed Darklights it put the program into Dark basic pro/projects/.... I have Lightmapper.dll however i don't seem to have keywordsDL.ini, i have Keywords 100, 107 ,AT ,DP ,MP and ODE but no DL, where might I find it?

Windows 7 64 bit, AMD Phenom II x4 Black edition, 4 GB Ram, Radeon HD 4650, 540 GB HDD

I can see from your smile, you're not here for the sunset.
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 29th Apr 2010 12:02
Hi there.
I´m in the same boat as Levanthus...I bought original Darklights four years ago, and from the main Gui, it works fine, but when I want to compile all examples that come with darklight, it fails saying

Compilation failed. Could not understand command at line xxx...so wherever it founds the comand LM Start ....it crash.

I´v got the .dll in its folder and it doesn`t work....I have given up trying.

cheers.

I'm not a grumpy grandpa
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 29th Apr 2010 12:18
I don't think it's a problem to post the keywords as it's useless without the dll so it's attached here.

Try that and see if it helps?

Levanthus
23
Years of Service
User Offline
Joined: 17th Apr 2003
Location: Cumbria, UK
Posted: 29th Apr 2010 12:24 Edited at: 29th Apr 2010 12:26
I'm not about to give up on this since i spent money on the damned thing i want it to bloody work and i am getting increasingly annoyed at the fact that i seem to have been sold something that doesn't do what it is meant to, Having uninstalled Darklights and re-installed (for a third time) i can compile the IDE that Baxslash put in, but now it's saying that directories and paths don't exist eg:

could not find path at line 1073 :

1073 set dir backedupdir$

Windows 7 64 bit, AMD Phenom II x4 Black edition, 4 GB Ram, Radeon HD 4650, 540 GB HDD

I can see from your smile, you're not here for the sunset.
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 29th Apr 2010 12:37
Looks like you used my code in a 'new' or blank project. Rename your old IDE file and stick mine in it's place. It's looking for the default model (with the statues and stuff in it) but not finding it...

Levanthus
23
Years of Service
User Offline
Joined: 17th Apr 2003
Location: Cumbria, UK
Posted: 29th Apr 2010 12:54
I renamed the original and i linked your one with the
fpsc-entityelement-loader.dba file and it's setup as a DBPRO file

Windows 7 64 bit, AMD Phenom II x4 Black edition, 4 GB Ram, Radeon HD 4650, 540 GB HDD

I can see from your smile, you're not here for the sunset.
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 29th Apr 2010 13:08
Does "\workspace\defaultscene\levelbank\testlevel\universe.dbo" exist in the IDE folder? As it is this (or part of this) path that it cannot find.

Levanthus
23
Years of Service
User Offline
Joined: 17th Apr 2003
Location: Cumbria, UK
Posted: 29th Apr 2010 13:21
yup, it's all there. I've checked, re-checked and checked again over and over to make sure all the paths exist, i quite frankly just can't understand WHY it's doing this, it doesn't seem to make any sense, i've not altered the file in any way, all i did was add it to the project file remove the old version and try and run it

Windows 7 64 bit, AMD Phenom II x4 Black edition, 4 GB Ram, Radeon HD 4650, 540 GB HDD

I can see from your smile, you're not here for the sunset.
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 29th Apr 2010 13:56
Have you got the latest version of DBP? I seem to remember that might have been the problem with my installation!

Green Gandalf
VIP Member
21
Years of Service
User Offline
Joined: 3rd Jan 2005
Playing: Malevolence:Sword of Ahkranox, Skyrim, Civ6.
Posted: 29th Apr 2010 14:16
Does Dark Lights require an activation code?
chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 29th Apr 2010 14:18 Edited at: 29th Apr 2010 14:20
@baxslash
I have given up trying with darklights as I use Gile[s], but....do I have to unistall every file of darklights to make a new instalation?....or just install over again ?...I`m fed up having paid for darklights, and the only thing I can do is work from the main Gui that comes with Darklights.If it works correctly from the main Gui...shouldn´t it have to work all examples included??....I bought it time ago...and I´v got the lates version of Dbpro...My Darklights installer is 12,9MB....is there another one nowaday?

cheers.

I'm not a grumpy grandpa
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 29th Apr 2010 14:20
Quote: "Does Dark Lights require an activation code?"

Yes. Another possibility! Don't know why I didn't think of that one thanks GG...

chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 29th Apr 2010 14:22 Edited at: 29th Apr 2010 14:26
I remember the first time I had to introduce the CD...but last time it doesn´t ask for CD.


RE-EDIT I thought it was a program prolem,and every time I hear that it works to someone I get very irritated.

cheers

I'm not a grumpy grandpa
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 29th Apr 2010 15:01
Quote: "I have given up trying with darklights as I use Gile[s]"

That's a shame as I prefer the results from DL...

Quote: "do I have to unistall every file of darklights to make a new instalation?...."

I would just to be sure but I don't know why it's so complicated!

Quote: "If it works correctly from the main Gui...shouldn´t it have to work all examples included??...."

It only helps compile. Any pre-compiled programs will work for anyone.

Quote: "My Darklights installer is 12,9MB....is there another one nowaday?"

From the installer properties dialog
Quote: "
File version 4.0.100.1190
Size 12.7MB
"

So maybe you need to update?

chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 29th Apr 2010 15:19
Quote: "So maybe you need to update?"

OK... so is it possible to update ? ...I`ll try

chs.

I'm not a grumpy grandpa
Levanthus
23
Years of Service
User Offline
Joined: 17th Apr 2003
Location: Cumbria, UK
Posted: 29th Apr 2010 15:34 Edited at: 29th Apr 2010 15:42
How exactly would one go about updating the installer? on my downloads page it says the file was updated in jan 2010 but in the installer properties i have :

File Version 4.0.100.1190

size 12.7 mb

date modified 28/11/2008

And when you download the demo it says Darklights demo V. 1.2?

Windows 7 64 bit, AMD Phenom II x4 Black edition, 4 GB Ram, Radeon HD 4650, 540 GB HDD

I can see from your smile, you're not here for the sunset.
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 29th Apr 2010 15:52 Edited at: 29th Apr 2010 15:54
Quote: "How exactly would one go about updating the installer?"

You already have the same version as me but I would assume that the download page has the latest version on it...?

I think @chafari may have a different problem to you though @Levanthus but I'm running out of ideas. Have you tried contacting TGC yet? They helped me to get DL running.

EDIT (OFF TOPIC): This probably isn't the best place to post this query (considering it's a thread about problems with the product) but I now have two licenses for DarkLights (as well as several other plugins) and wondered if it was possible to sell my additional ones on?

chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 29th Apr 2010 16:33 Edited at: 29th Apr 2010 16:37
I have uninstall the Darklights program completly, and install it again....nearly to the end, it asks for key....When I bought it time ago, I was told that my original CD of Dbpro was ok for activation,but I have my original CD and I can´t ativate it...but the strange thing, is that the main programs works perfect....and not like the demo deleting random faces of the object.

Note: baxslash ...I would buy your second license for DarkLights if I was sure it was going to work...for sure !!

I´m gonna use map-scape

cheers.

I'm not a grumpy grandpa
baxslash
Valued Member
Bronze Codemaster
19
Years of Service
User Offline
Joined: 26th Dec 2006
Location: Duffield
Posted: 29th Apr 2010 16:38
Quote: "Note: baxslash ...I would buy your second license for DarkLights if I was sure it was going to work...for sure !!"

If I could guarantee it I'd sell it to you!



chafari
Valued Member
20
Years of Service
User Offline
Joined: 2nd May 2006
Location: Canary Islands
Posted: 29th Apr 2010 17:56
@baxslash
Thanks any way !!. I just odered a new license...it`s much more cheaper than four years ago

cheers.

I'm not a grumpy grandpa

Login to post a reply

Server time is: 2026-07-26 04:27:28
Your offset time is: 2026-07-26 04:27:28