It's fixed, I think. I left a few scattered ')' characters around.
frustrating crash bug
Collapse
X
-
You need two more open parenthesis at the beginning. (I don't really know how to write original code, but I know how to count parenthesis..).
Now your 'in_bounds_fully' works.
ThanksWill_Asher
aka LibraryAdventurer
My old variant DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)Comment
-
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.Comment
-
Sometimes I think it's more important that code is easy to understand than efficient. Of course "easy to understand" depends heavily on the person looking at it.Currently turning (Angband) Japanese.Comment
-
I've quickly gotten to like this Visual C++ debugger a lot. When it finds a bug, it actually lets you know whats wrong, unlike my old compiler.Will_Asher
aka LibraryAdventurer
My old variant DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)Comment
-
So I was about to send DJA1098 to pav to post on oook, but I copied DaJAngband to my other computer and it wouldn't run. It gave me a message that said, "The application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."
anyone know what this means?Will_Asher
aka LibraryAdventurer
My old variant DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)Comment
-
See here for how to do a release compile.
(You just need to notice the "Set 'configuration' to "Release"." and optionally "Type "/DWINDOWS /DNDEBUG" into the Command line. " bits)Currently turning (Angband) Japanese.Comment
-
..oops, okay thanksLast edited by will_asher; May 25, 2009, 22:40.Will_Asher
aka LibraryAdventurer
My old variant DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)Comment
-
I set configuration to release, but it still gives me the same error when I copy it to my other computer.
EDIT: nevermind, I just re-compiled with my old compiler. I guess it's still good for something.
unrelated PS: the rephial wiki isn't workingLast edited by will_asher; May 25, 2009, 23:25.Will_Asher
aka LibraryAdventurer
My old variant DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)Comment
-
Just a minute ago I found a copy of my DaJAngband debug folder in my "My Documents" folder. I guess for some reason Visual C++ must've created a copy there and was putting the new executible in a completely unexpected place. That's probably what was wrong.
(It does say winmm.lib in the linker options).Will_Asher
aka LibraryAdventurer
My old variant DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)Comment
-
<serious thread necromancy>
I finally got VC++ to install on this computer. yay.
I am reusing this thread because I'm using Paul Blay's instructions on page 2 of this thread for compiling in VC++ (and I'm also trying to fix a crash bug again)
When compiling the game (after getting rid of my errors in the code which didn't comply with VC++ standards), I'm getting these errors which I don't know what they mean, any help?
fatal error CVT1100: duplicate resource. type:MENU, name:ANGBAND, language:0x0409 CVTRES
fatal error LNK1123: failure during conversion to COFF: file invalid or corrupt DaJAngband130Will_Asher
aka LibraryAdventurer
My old variant DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)Comment
-
Okay got it to build. I had included the .rc file which was created by DevC++, so I had two .rc files and that apparently messed things up.
PS: This is weird. I found a bug that happens when compiling with VC++, but completely dissapears if I compile with DEVC++Last edited by will_asher; January 23, 2011, 04:46.Will_Asher
aka LibraryAdventurer
My old variant DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)Comment
Comment