Comments (1)
I guess it could be a clash with dungeon index + deungeonLevel index when creating the filename.
See the dungeon indexes:
#define RANDOM 0
#define ELPURI_CAVE 1
#define ATTNAM 2
#define NEW_ATTNAM 3
#define UNDER_WATER_TUNNEL 4
#define EMPTY_AREA 5
#define XINROCH_TOMB 6
#define BLACK_MARKET 7
#define ASLONA_CASTLE 8
#define REBEL_CAMP 9
#define GOBLIN_FORT 10
#define FUNGAL_CAVE 11
#define PYRAMID 12
#define MONDEDR 13
#define IRINOX 14
#define DARK_FOREST 15
#define ELPURI_CAVE 1
GloomyCaves.dat, has 13 levels!
It will clash with:
#define GOBLIN_FORT 10
#define FUNGAL_CAVE 11
#define PYRAMID 12
Now some filenames will end with:
.111 # ELPURI_CAVE level 11
.111 # FUNGAL_CAVE level 1
!!!
A way to fix this would be to put some non numeric char between dungeon and level when creating the filenames, could be:
.1_11
.11_1
EDIT: it may be simple to patch:
./Main/Source/dungeon.cpp
void dungeon::SaveLevel(cfestring& SaveName, int Number, truth DeleteAfterwards)
{
outputfile SaveFile(SaveName + '.' + Index + '_' + Number);
level* dungeon::LoadLevel(cfestring& SaveName, int Number)
{
inputfile SaveFile(SaveName + '.' + Index + '_' + Number);
and do the same about bones files.
from ivan.
Related Issues (20)
- The message "You feel the cold breeze of death" doesn't appear HOT 1
- Wishing for wand of polymorph doesn't work
- Compiling in Ubuntu 20.04 with an SDL2 error HOT 2
- Make linux binaries HOT 1
- Infinite recursion with dummy sound system HOT 2
- Werewolf diet
- Add alternate graphics to main menu
- Flaming material spills
- Floodfill on Pangea HOT 1
- Vomiting during Sumo Wrestling HOT 1
- Building on postmarketOS (Alpine) on aarch64 hardware HOT 21
- GitHub Action for OSX HOT 3
- Multiple problems related to sound support HOT 1
- String question crash HOT 5
- XBRz multithread? HOT 1
- Crash after attacking with a weapon coated with raw liquefied magic
- Dismantling provides more material than what you started with HOT 1
- v0.59 Crash on start MacOS Big Sur 11.3.1 HOT 4
- Fix code scanning alert - Potentially overrunning write with float to string conversion
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ivan.