My Era not loading with no error message
Moderator: Forum Moderators
Forum rules
- Please use [code] BBCode tags in your posts for embedding WML snippets.
- To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
-
- Posts: 14
- Joined: May 29th, 2025, 6:39 pm
My Era not loading with no error message
Hi there,
I am making an era for myself because it's something I always wanted to do, but I'm running into a problem.
I loaded a local game, and it displayed a few error messages for abilities that I had misspelled. After fixing those problems, my game loads without any errors, but also without the ability to play my era.
I wasn't sure what to post along with this. I can provide the file with my era if that helps. I currently have it in the 'add-ons' folder of my computer (Windows 10).
Also, please let me know if this post should be in WML help. I'm fairly new and wasn't 100% where to ask for help, any help or guidance would be greatly appreciated! Thanks!
I am making an era for myself because it's something I always wanted to do, but I'm running into a problem.
I loaded a local game, and it displayed a few error messages for abilities that I had misspelled. After fixing those problems, my game loads without any errors, but also without the ability to play my era.
I wasn't sure what to post along with this. I can provide the file with my era if that helps. I currently have it in the 'add-ons' folder of my computer (Windows 10).
Also, please let me know if this post should be in WML help. I'm fairly new and wasn't 100% where to ask for help, any help or guidance would be greatly appreciated! Thanks!

Re: My Era not loading with no error message
Try delete all files in cache folder.
-
- Posts: 14
- Joined: May 29th, 2025, 6:39 pm
Re: My Era not loading with no error message
Will give this a try, I'll lyk how it goes
-
- Posts: 14
- Joined: May 29th, 2025, 6:39 pm
Re: My Era not loading with no error message
After deleting the cache, some new error messages were loaded (a few spelling mistakes or a case-sensitive file, etc)
But now I'm back to where I started. The game loads into local multiplayer with no errors of any kind, but my era is not selectable. I have tried relaunching the game after deleting cache files, but that no longer seems to have an effect.
But now I'm back to where I started. The game loads into local multiplayer with no errors of any kind, but my era is not selectable. I have tried relaunching the game after deleting cache files, but that no longer seems to have an effect.
- Pentarctagon
- Project Manager
- Posts: 5730
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: My Era not loading with no error message
Are there any errors in the log file?
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
-
- Posts: 580
- Joined: August 4th, 2019, 5:27 pm
- Contact:
Re: My Era not loading with no error message
With some kinds of errors, the game shows the error only the first time you encounter them. You can trigger re-processing of your addon by clearing the cache as you've done earlier or by editing any file in your addon (adding a random space or newline for example, I think just Ctrl-S to update the last update timestamp of a file may also work) when the game isn't launched. Would be great if you could screenshot or copypaste the errors you get.ArchMessenger wrote: ↑May 29th, 2025, 8:40 pm After deleting the cache, some new error messages were loaded (a few spelling mistakes or a case-sensitive file, etc)
But now I'm back to where I started. The game loads into local multiplayer with no errors of any kind, but my era is not selectable. I have tried relaunching the game after deleting cache files, but that no longer seems to have an effect.
You may also try searching for errors in the logs. To find them, launch the game, click i in the left bottom corner, go to the user data directory (by clicking the folder icon) and open the "logs" folder
Co-founder and current maintainer of IsarFoundation, Afterlife Rated and overall Wesnoth Autohost Project
MP versions of classical mainline campaigns: UtBS, TRoW, SotA
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
MP versions of classical mainline campaigns: UtBS, TRoW, SotA
Developer and maintainer of my fork of World Conquest, Invincibles Conquest II
Re: My Era not loading with no error message
Yes, I would recommend just attaching the file - there's a good chance someone will spot the issue(s) with it.
-
- Posts: 14
- Joined: May 29th, 2025, 6:39 pm
Re: My Era not loading with no error message
I just checked it, and it would appear that every unit in my era is listed twice and has 'invalid characters'. Is a " - " not a valid character? All my units are lowercase letters and " - " to separate words.
-
- Posts: 14
- Joined: May 29th, 2025, 6:39 pm
Re: My Era not loading with no error message
I would, the only thing is that the mod takes a lot of inspiration from another video game that I don't own the IP to, (for that reason I wasn't planning on posting the completed product, just keep it to myself) It would be okay if I shared it then on this forum though? It seemed like there were some pretty strict opinions on that in the guidelines..
- Pentarctagon
- Project Manager
- Posts: 5730
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: My Era not loading with no error message
As per https://wiki.wesnoth.org/UnitTypeWML:
An id must consist only of alphanumerics and spaces (or underscores).
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
Re: My Era not loading with no error message
Well, if it's really heavily copyright-infringing, you could post a simplified version of it here, with most of the content cut out...ArchMessenger wrote: ↑May 30th, 2025, 1:19 am I would, the only thing is that the mod takes a lot of inspiration from another video game that I don't own the IP to, (for that reason I wasn't planning on posting the completed product, just keep it to myself) It would be okay if I shared it then on this forum though? It seemed like there were some pretty strict opinions on that in the guidelines..
-
- Posts: 14
- Joined: May 29th, 2025, 6:39 pm
Re: My Era not loading with no error message
I'm such a goofball, I got hyphens and underscores confused >_<Pentarctagon wrote: ↑May 30th, 2025, 2:11 am As per https://wiki.wesnoth.org/UnitTypeWML:An id must consist only of alphanumerics and spaces (or underscores).
I've switched out all the unit ID's and all their references to be underscores where there were hyphens.
After those changes, I deleted my cache and relaunched the game. The game launches fine with no errors and my era is still not visable, and there are no mentions of it in my logs file
:(
-
- Posts: 14
- Joined: May 29th, 2025, 6:39 pm
Re: My Era not loading with no error message
Not a ton of names or proper nouns in it so I think it's fine, if I need to take it down just let me know, here's my file attached
- Attachments
-
Era_of_The_Frozen_Throne.zip
- (783.21 KiB) Downloaded 13 times
- Pentarctagon
- Project Manager
- Posts: 5730
- Joined: March 22nd, 2009, 10:50 pm
- Location: Earth (occasionally)
Re: My Era not loading with no error message
What is
Code: Select all
[include]
file=factions/alliance.cfg
[/include]
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
take one down, patch it around
-2,147,483,648 little bugs in the code
-
- Posts: 14
- Joined: May 29th, 2025, 6:39 pm
Re: My Era not loading with no error message
I'll be honest I'm not a seasoned coder, most of my stuff is copy-pasted with some renaming, so I don't remember where I took that from, it seemed like I needed a file that recognized I was attempting to load an era that would then call all the factions, I have another attempt at that file that looked something like this
But that didn't seem to be working
Code: Select all
[multiplayer_side]
id=alliance
name= _ "Alliance"
type=random_faction
{~add-ons/Era_of_The_Frozen_Throne/factions/alliance.cfg}
[/multiplayer_side]