| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Dune Messiah
Join Date: Apr 2010
Location: Katy, TX
Posts: 1,179
|
BUG/BULL/BBAI? source code error
Specifics: Vista 64 bit OS; Visual Studio 2008 Express; have successfully compiled the vanilla SDK and other Mods
I am trying to compile a SDK which uses BUG DLL makefile. I can compile it using the 2003 C++ Toolkit fine but I get CTD running the Debug DLL. I then switched to the tools that come with VS 2008 to make the Debug DLL. I have fixed the errors revealed so far (most of which were undeclared identifiers in For loops) but get these errors... Spoiler:
Code:
div_r = div(y + dlineup, 8); |
|
|
|
|
|
#2 | |
|
Deity
Join Date: Apr 2008
Location: California
Posts: 4,728
|
Quote:
What is the specific problem that happens with your VS 2003 debug dll? Are you able to attach the debugger? Are you able to start a game?
__________________
Come see the Fury Road sub-forum! Everybody wants post-apocalyptic desert warfare with crossbows! |
|
|
|
|
|
|
#3 |
|
Dune Messiah
Join Date: Apr 2010
Location: Katy, TX
Posts: 1,179
|
I get an XML error...
Spoiler:
Spoiler:
|
|
|
|
|
|
#4 |
|
Deity
Join Date: Apr 2008
Location: California
Posts: 4,728
|
I don't think the xml error is due to the way you built the dll.
When you build in "final release" and "debug" you should get the same xml error. Is that correct? Once you get this xml error all bets are off and a crash is highly likely. When you change only to use the dll which is distributed in the release, then you do not get any xml error. Is that also correct? Then the source code you are building from must not be the same as what was built to make dll in the release. If that is the problem, we should go back to the DW sub-forum and discuss there.
__________________
Come see the Fury Road sub-forum! Everybody wants post-apocalyptic desert warfare with crossbows! |
|
|
|
|
|
#5 |
|
Dune Messiah
Join Date: Apr 2010
Location: Katy, TX
Posts: 1,179
|
No. I only get the XML using the debug DLL. The Final_Release and original DLLs work.
|
|
|
|
|
|
#6 |
|
Deity
Join Date: Apr 2008
Location: California
Posts: 4,728
|
I cannot think of any reason why that should happen. Anybody?
__________________
Come see the Fury Road sub-forum! Everybody wants post-apocalyptic desert warfare with crossbows! |
|
|
|
|
|
#7 |
|
The White Wizard
|
Uh... that happens when you create an array of size -1 or 0...
__________________
"A Witty Saying Proves Nothing" -Voltaire Civilization 4 Mods: Rise of Mankind - A New Dawn 1.75 Civilization 5 Mods: Active City Defense, Tech Diffusion Minecraft Mods: Spout & Spoutcraft Lead Developer |
|
|
|
|
|
#8 |
|
Deity
Join Date: Mar 2007
Location: Mountain View, California
Posts: 9,625
|
Are you using the original BTS XML files, or are they modded as well?
__________________
Monkeys killing monkeys killing monkeys over pieces of the ground. Silly monkeys, give them thumbs they make a club and beat their brother down. BUG Mod - BTS Unaltered Gameplay [ Forum | Download | FAQ | Known Issues | Troubleshooting | Modding Tutorial ] |
|
|
|
|
|
#9 |
|
Dune Messiah
Join Date: Apr 2010
Location: Katy, TX
Posts: 1,179
|
Unfortunately they are modded as well (and parts of other mods are embedded in the source code as well). I'll try compiling a debug dll with just BUG/BULL. If that works at least I will know the problem is not caused by BUG/BULL.
|
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Source Code | Gamemaster77 | Civ3 - Creation & Customization | 17 | May 22, 2013 04:20 AM |
| BUG shared file with BBAI | entwood | Civ4 - BTS Unaltered Gameplay (BUG, BAT and BULL) | 3 | Aug 18, 2009 11:07 PM |
| source code? | Nemo | Civ4 - Sevomod | 6 | Oct 27, 2007 08:00 AM |
| Source-Code | imporator | Civ4 - Rhye's and Fall of Civilization | 3 | Jun 26, 2007 08:05 AM |
| Source code | SCC2 | Civ2 - General Discussions | 1 | Jul 05, 2004 11:31 PM |