Cyberdemon
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Doom Builder > Making New Configurations
 
Author
All times are GMT. The time now is 19:57. Post New Thread    Post A Reply
Ichor
The Mysterious Red Square


Posts: 6506
Registered: 07-02


I want to make a new game configuration, but when I try to load a map, I get this error:
code:
Error 457 in LoadMapConfiguration: This key is already associated with an element of this collection Game configuration: C:\Program Files\Doom Builder\Fury.cfg

Also, how do I get it to show up in that list of configuration files to choose from?

Old Post 05-22-05 22:28 #
Ichor is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
CodeImp
Moderator


Posts: 1102
Registered: 12-03


Did you change the "game" setting in the configuration? You must give it a unique name.

__________________
Doom Builder 2 is coming!

Old Post 05-22-05 22:40 #
CodeImp is offline Profile || Blog || PM || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Ichor
The Mysterious Red Square


Posts: 6506
Registered: 07-02


No I didn't. I figured it had to be that name (Hexen in this case) for it to work.


Ok, I changed the name and it appears on the list now, but I still get that error message when I load a map.

Old Post 05-22-05 22:50 #
Ichor is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
CodeImp
Moderator


Posts: 1102
Registered: 12-03


Then I cant tell what it is. You must be missing a " or a ; somewhere or you have put a { where a } should be. Or you are just missing a whole structure that it is expecting to find (if you dont have the generalized linedefs, set the "generalizedlinedefs" setting to 0, same for generalized sectors). Compare your config with another to see if you have every required structure. WinDiff is a good tool to compare text files and show you the differences.

__________________
Doom Builder 2 is coming!

Old Post 05-23-05 08:17 #
CodeImp is offline Profile || Blog || PM || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Ichor
The Mysterious Red Square


Posts: 6506
Registered: 07-02


I've looked through the whole file and I still can't find what the problem is. You'd think that the error checker would have found the problem like it did with missing quotation marks or semicolons, but I guess not.

What would normally cause that error anyway?

Old Post 05-27-05 16:15 #
Ichor is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Nuxius
Member


Posts: 490
Registered: 02-05


Maybe it might be a good idea to start over again. Something you've done somewhere else in the file might be messing that up.

Just copy the hexen.cfg file, rename it to fury.cfg or whatever.

Then open it and change this only
code:
// This is the title to show for this game game = "Hexen";
to
code:
// This is the title to show for this game game = "Fury";


Save it, make sure that works properly in DB (which if it doesn't, something has gone awry with your copy of DB).

Only after you've made sure it worked should you go on adding things. Make sure every once in a while you check it in DB; that way if something does go wrong while you're doing it, you can localize the problem a lot easier.

Old Post 05-28-05 05:50 #
Nuxius is offline Profile || Blog || PM || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Ichor
The Mysterious Red Square


Posts: 6506
Registered: 07-02


You know, I tried doing that already. I started having problems in the monsters section. Oddly enough, I could add another } and it would load just fine. However, every sprite beyond that would have a ? as if they didn't exist.

Old Post 05-28-05 05:53 #
Ichor is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Vermil
Junior Member


Posts: 211
Registered: 03-04



Ichor said:
I want to make a new game configuration, but when I try to load a map, I get this error:
code:
Error 457 in LoadMapConfiguration: This key is already associated with an element of this collection Game configuration: C:\Program Files\Doom Builder\Fury.cfg

Also, how do I get it to show up in that list of configuration files to choose from?



Sounds like at least two things, linetypes or sector effects have the same ID numbers in the cfg. I get that error when I accidently do that.

Old Post 05-28-05 10:24 #
Vermil is online now Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Ichor
The Mysterious Red Square


Posts: 6506
Registered: 07-02


I didn't touch either one of those sections, so I guess it's possible that I have more than one of the same thing number.


Yeah, that was the problem. I had two cases of two things with the same number (well three actually, but I fixed that one earlier and I didn't think there were any more). Now it's loading just fine.

Old Post 05-28-05 12:38 #
Ichor is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Lobo
Forum Regular


Posts: 970
Registered: 12-01


This is a typical error in VB when you try to add the SAME element to a collection MORE than once.
Make sure you're not duplicating anything in your config file.

Old Post 05-28-05 21:11 #
Lobo is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
All times are GMT. The time now is 19:57. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Doom Builder > Making New Configurations

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory