Five Fates 1.11, Dungeon crawler

Discussion and development of scenarios and campaigns for the game.

Moderator: Forum Moderators

Post Reply
lu_zero
Posts: 196
Joined: April 16th, 2005, 10:25 am

Re: Five Fates 1.02, Dungeoncrawl

Post by lu_zero »

Here two saves, btw the orcish warlord side-quest seems broken, no orcs at all in the map
Attachments
saves.zip
One working and the one broken the turn after.
(2.23 MiB) Downloaded 385 times
lu_zero
Posts: 196
Joined: April 16th, 2005, 10:25 am

Re: Five Fates 1.02, Dungeoncrawl

Post by lu_zero »

in [variables] you have something like

1="detected.x" and such that for some reason do not upset wesnoth, then they become -999="detected.x" and that causes the problem.
User avatar
Heindal
Posts: 1343
Joined: August 11th, 2011, 9:25 pm
Location: Germany, Karlsruhe
Contact:

Re: Five Fates 1.02, Dungeoncrawl

Post by Heindal »

This was the corrupt variable I found yesterday, too. But I did not believed that this would cause a problem.
I will check the warlords side. Thank you for your help lu_zero.
The future belongs to those, who believe in the beauty of their dreams.
Developer of: Trapped, Five Fates, Strange Legacy, Epical, UR Epic Era
Dungeonmasters of Wesnoth, Wild Peasants vs Devouring Corpses, Dwarf Dwarfson Dwarvenminer
mpolo
Posts: 113
Joined: June 15th, 2004, 8:18 pm

Re: Five Fates 1.02, Dungeoncrawl

Post by mpolo »

Just to confirm that I also am getting corrupt saves on Linux. An example is attached.
Attachments
FFa-Light,_when_least_expe..._Turn_1.gz
(1.06 MiB) Downloaded 357 times
User avatar
Heindal
Posts: 1343
Joined: August 11th, 2011, 9:25 pm
Location: Germany, Karlsruhe
Contact:

Re: Five Fates 1.02, Dungeoncrawl

Post by Heindal »

Seems to be the same problem with variable -999="detected.x". It should work when this is replaced by 1="detected.y" - but a test did not work. As I don't have linux I can not really test that.

I suppose that the problem could be connected to my "Detect Spell". It creates variables with the same name :/.
I will see what I can do.
The future belongs to those, who believe in the beauty of their dreams.
Developer of: Trapped, Five Fates, Strange Legacy, Epical, UR Epic Era
Dungeonmasters of Wesnoth, Wild Peasants vs Devouring Corpses, Dwarf Dwarfson Dwarvenminer
User avatar
Dugi
Posts: 4961
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: Five Fates 1.02, Dungeoncrawl

Post by Dugi »

I think that variables can't have plain numbers as names or they'll cause some issues, but I am not sure about that (maybe negative ones cause trouble, because of the - sign in their name). I have seen save files getting corrupted on Windows for having an empty string as name, maybe numbers as variable names cause corruption on Linux.

I think that variables with the same name aren't a problem (supposing you mean variable arrays, I don't know how you can set a single variable twice without overwriting the first value by the second one).
User avatar
Heindal
Posts: 1343
Joined: August 11th, 2011, 9:25 pm
Location: Germany, Karlsruhe
Contact:

Re: Five Fates 1.02, Dungeoncrawl

Post by Heindal »

Thats exactly what I assume. I think that the detect.x and detect.y, which are used by my detect spell overwrite the original detect.x / detect.y .
By clearing the variable at the end, they might end up as -999. Its however hard to code an addon with (real) new content, that works on every os.
The future belongs to those, who believe in the beauty of their dreams.
Developer of: Trapped, Five Fates, Strange Legacy, Epical, UR Epic Era
Dungeonmasters of Wesnoth, Wild Peasants vs Devouring Corpses, Dwarf Dwarfson Dwarvenminer
User avatar
Dugi
Posts: 4961
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: Five Fates 1.02, Dungeoncrawl

Post by Dugi »

It isn't hard to write codes that work on all operating systems, in my opinion. There are just a few exotic things that you should avoid, and one of them can be using numbers as variable names. If you clear a variable, it should vanish instead of being renamed somehow. If you need numbers to be in variable names, you can name them like s_1 or s_234 et cetera.
ydcl
Posts: 259
Joined: December 22nd, 2008, 2:10 pm

Re: Five Fates 1.02, Dungeoncrawl

Post by ydcl »

I advise you I can't load on 1.11, with main.cfg error
User avatar
Heindal
Posts: 1343
Joined: August 11th, 2011, 9:25 pm
Location: Germany, Karlsruhe
Contact:

Re: Five Fates 1.02, Dungeoncrawl

Post by Heindal »

Thanks ydcl. What OS do you use? (just if you want to tell)

I so far tested it on windows 7 without problems :/.
The future belongs to those, who believe in the beauty of their dreams.
Developer of: Trapped, Five Fates, Strange Legacy, Epical, UR Epic Era
Dungeonmasters of Wesnoth, Wild Peasants vs Devouring Corpses, Dwarf Dwarfson Dwarvenminer
ydcl
Posts: 259
Joined: December 22nd, 2008, 2:10 pm

Re: Five Fates 1.02, Dungeoncrawl

Post by ydcl »

I use windows xp
User avatar
Dugi
Posts: 4961
Joined: July 22nd, 2010, 10:29 am
Location: Carpathian Mountains
Contact:

Re: Five Fates 1.02, Dungeoncrawl

Post by Dugi »

@Heindal
You might need to know that 1.11.7 brings changes to some macros, like bullet missile frame (that dwarvish gunmen use). It renders all add-ons using that macro impossible to load both 1.11.7 and previous version unless you use some #ifver blocks. I recommend you to install wesnoth 1.11.7, it adds hotkeys for campaign-specific menu items, that makes it much more comfortable to access spells and inventory.
User avatar
Heindal
Posts: 1343
Joined: August 11th, 2011, 9:25 pm
Location: Germany, Karlsruhe
Contact:

Re: Five Fates 1.02, Dungeoncrawl

Post by Heindal »

If I had time to look into that, I'd create some campaigns for World of Wesnoth, too. But I don't have time for that beside 11.7 isn't the stable branch.
I don't see much sense in making complicated bugfixes just for such an unstable branch. Its annoying enough that they change entire map and terrain definition, making it much harder to exchange between too different version. There are more recently more important things to do in my life.
The future belongs to those, who believe in the beauty of their dreams.
Developer of: Trapped, Five Fates, Strange Legacy, Epical, UR Epic Era
Dungeonmasters of Wesnoth, Wild Peasants vs Devouring Corpses, Dwarf Dwarfson Dwarvenminer
User avatar
Heindal
Posts: 1343
Joined: August 11th, 2011, 9:25 pm
Location: Germany, Karlsruhe
Contact:

Re: Five Fates 1.02, Dungeoncrawl

Post by Heindal »

I've uploaded a version with some bugfix for 10 and 11 version. So far it seemed to work. The new version features an overworked randomdungeon system, which contains different guards and different randomgenerated treasures.
The future belongs to those, who believe in the beauty of their dreams.
Developer of: Trapped, Five Fates, Strange Legacy, Epical, UR Epic Era
Dungeonmasters of Wesnoth, Wild Peasants vs Devouring Corpses, Dwarf Dwarfson Dwarvenminer
User avatar
Dirtshifter
Posts: 33
Joined: May 17th, 2009, 1:57 pm
Location: South Asia ( ITS HOT )

Re: Five Fates 1.03, Dungeoncrawl

Post by Dirtshifter »

Sorry but can't reload any saves, so if you mess up or god forbid die one has to start from scratch. ( windows 7)
description.txt
(1.53 KiB) Downloaded 310 times
Some changes and spelling you may want to look at.
Post Reply