this game basic problems and someone deleting my questions about making this better wtf

General feedback and discussion of the game.

Moderator: Forum Moderators

needmoreplayers
Posts: 67
Joined: November 17th, 2023, 7:33 pm

this game basic problems and someone deleting my questions about making this better wtf

Post by needmoreplayers »

deleted im the only one that cared
theres nobody that takes care of this project
and many people dont seem to care about making this game better
Last edited by needmoreplayers on January 9th, 2024, 8:06 pm, edited 11 times in total.
User avatar
Pentarctagon
Project Manager
Posts: 5567
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: bug: takes a really long time for a map / game to be created

Post by Pentarctagon »

If add-ons are not installing for you, then most likely that means its an issue with your system - not enough disk space available, antivirus is preventing Wesnoth from writing the files, etc.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
needmoreplayers
Posts: 67
Joined: November 17th, 2023, 7:33 pm

addons so broke, hopefully some genius coder fixing it

Post by needmoreplayers »

wesnoth + addons code problems never fixed yet

1 When you have a lot of add-ons reading and creating the cache can take quite some time,

2 also it can happen that a particular addon is slow to load (because it's written badly)

wesnoth code problems never fixed yet:

3 wesnoth code problems: usually it shouldn't try to reload the cache when joining a game (only when you join the sever) unless that game uses a custom #define so with which games does it happen when you try to join them?









hopefully some coders (or whoever are the main coders) of this game is on it with these addon related problems

these are commonly known and experienced problems by many people


addon problem #16 - "reading files and creating cache" shows forever after installed addons
  • related addon problems just now
    just now installed some addons for game someone was hosting
    closed and reopened wesnoth
    and it was on "reading files and creating cache" forever
    it took forever
    had to close and reopen wesnoth mutiple times
    dont know whats with this thing

    so then i let it wait just see what it does, and finally it loaded mp lobby
    dont know whats wrong with this thing that after you install an addon, it takes forever

    playing that addon someone hosted now tho

addon problem #17 - another addon problem in multiplayer is it often doesn't show all missing addons when hovering over 'i' icon

  • these related problems happened just the time

    definitely not computer, have space etc no problems with other games, many others have similar problems

    lots of people have these problems

    just happened other time also with some players

    someone also said they talked to some devs on some discord that make addons and they mentioned some of the related problems or causes of it


    in mp, when you hover 'icon'

    reading files and creating cache


wesnoth chat feature problem - also do all pms/whispers in game disappear if you close and open wesnoth agian?

happened just now also, happened other times in past also (i think cant remember)
Last edited by needmoreplayers on December 25th, 2023, 9:46 am, edited 3 times in total.
gfgtdf
Developer
Posts: 1432
Joined: February 10th, 2013, 2:25 pm

Re: bug: takes a really long time for a map / game to be created

Post by gfgtdf »

When you have a lot of add-ons reading and creating the cache can take quite some time, also it can happen that a particular addon is slow to load (because it's written badly)

But: usually it shouldn't try to reload the cache when joining a game (only when you join the sever) unless that game uses a custom #define so with which games does it happen when you try to join them?
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
gfgtdf
Developer
Posts: 1432
Joined: February 10th, 2013, 2:25 pm

Re: bug: takes a really long time for a map / game to be created

Post by gfgtdf »

Thinking about it, it would indeed be nice if the loading screen would show which addon is currently being loaded though.

Iirc the reason why it currently doesn't is that the loadingscreen::progress function doesn't take a string but only enum/int parameters (because those are atomic, and the loading screen is or at least used to use multithreading)
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
User avatar
Atreides
Posts: 1076
Joined: March 30th, 2019, 10:38 pm
Location: On the 2nd story of the centre village of Merwuerdigliebe turning the lights on and off

Re: bug: takes a really long time for a map / game to be created

Post by Atreides »

gfgtdf wrote: November 29th, 2023, 3:44 am When you have a lot of add-ons reading and creating the cache can take quite some time, also it can happen that a particular addon is slow to load (because it's written badly)
Yeah creating cache is a good time to go and have a snack. ; ) I do have a lot of addons but I was intrigued by the idea that it might get really slowed by a badly written one.

I'm wondering, is there something one can look for to identify such addons? Or was that just meant generally?
gfgtdf
Developer
Posts: 1432
Joined: February 10th, 2013, 2:25 pm

Re: bug: takes a really long time for a map / game to be created

Post by gfgtdf »

You can start Wesnoth with --log-debug=config and then search in the log file for lines like Loading add-on to check how long it took to load a certain addon. But be aware that logging itself might also Increase loading times (since it needs to write all of this stuff to a file, depending on how much it is)

By badly written addons I mostly meant addons that overuse macros (remember that macros are just text insertion at loading time) I'm pretty sure that there is also already a topic here somewhere.

Also be aware that some add-ons are just quite big, for example ageless era so they naturally take longer to load than smaller ones even if they aren't written badly.
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
User avatar
Ravana
Forum Moderator
Posts: 3018
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: bug: takes a really long time for a map / game to be created

Post by Ravana »

WIth example of ageless, loading speed depends a lot on disk speed. With ssd reading thousands of unit files is multiple times faster. Years ago I had to optimize ageless release to preprocessed wml, 20mb in one file, to make it fast enough for wmlunits.

I also noticed that 1.17 does preprocess/cache faster than 1.16.
User avatar
Atreides
Posts: 1076
Joined: March 30th, 2019, 10:38 pm
Location: On the 2nd story of the centre village of Merwuerdigliebe turning the lights on and off

Re: bug: takes a really long time for a map / game to be created

Post by Atreides »

I did run it with that parameter and it is quite an eye opener. Not sure why each addon is listed twice. I guess the first is to load the data and the second was to run the pre-processor (since that's where those warnings popup in). The times are peculiar in that they seem to be milliseconds but there's no way it took 2,046,740ms to load one addon. The timecodes also suggest otherwise. Oh wait, maybe they are microseconds, that works out.

If anyone is curious I filtered out the load times and they are in the section below.
Load Times
20231130 14:39:04 } END: Loading add-on '5WorldsSurvival' (took 2324ms)
20231130 14:39:04 } END: Loading add-on '7WorldsSurvival' (took 7543ms)
20231130 14:39:04 } END: Loading add-on 'AI_settings' (took 5839ms)
20231130 14:39:04 } END: Loading add-on 'ANLEra' (took 34961ms)
20231130 14:39:04 } END: Loading add-on 'A_Group_in_a_War' (took 11000ms)
20231130 14:39:04 } END: Loading add-on 'A_Neverending_Era' (took 8241ms)
20231130 14:39:04 } END: Loading add-on 'Aethaeryns_Maps' (took 3835ms)
20231130 14:39:04 } END: Loading add-on 'AgeOfTrials' (took 3070ms)
20231130 14:39:04 } END: Loading add-on 'Ageless_Era' (took 10173ms)
20231130 14:39:04 } END: Loading add-on 'Ageless_Resources' (took 4913ms)
20231130 14:39:04 } END: Loading add-on 'Ally_Village_Modification' (took 8004ms)
20231130 14:39:04 } END: Loading add-on 'An_Orcish_Incursion' (took 6250ms)
20231130 14:39:04 } END: Loading add-on 'Arabian_Nights_Era' (took 6556ms)
20231130 14:39:04 } END: Loading add-on 'Archaic_Era' (took 5233ms)
20231130 14:39:04 } END: Loading add-on 'Archaic_Sounds' (took 9654ms)
20231130 14:39:04 } END: Loading add-on 'ArchiveDC' (took 4417ms)
20231130 14:39:04 } END: Loading add-on 'Ardunynn' (took 10692ms)
20231130 14:39:04 } END: Loading add-on 'Ardunynn_Resources' (took 11702ms)
20231130 14:39:04 } END: Loading add-on 'Arena' (took 5991ms)
20231130 14:39:05 } END: Loading add-on 'Armies_of_Amberan' (took 11072ms)
20231130 14:39:05 } END: Loading add-on 'AtzMaps' (took 12693ms)
20231130 14:39:05 } END: Loading add-on 'BSH_Era' (took 9535ms)
20231130 14:39:05 } END: Loading add-on 'BS_Demons' (took 10350ms)
20231130 14:39:05 } END: Loading add-on 'Battle_for_Meridia' (took 6420ms)
20231130 14:39:05 } END: Loading add-on 'Battle_of_Kingdoms' (took 11060ms)
20231130 14:39:05 } END: Loading add-on 'Battleground_Europe' (took 14100ms)
20231130 14:39:05 } END: Loading add-on 'BftR' (took 11992ms)
20231130 14:39:05 } END: Loading add-on 'BomSite_Maps' (took 3252ms)
20231130 14:39:05 } END: Loading add-on 'CSC_Big_Battle_1' (took 14158ms)
20231130 14:39:05 } END: Loading add-on 'CSC_Big_Battle_2' (took 9974ms)
20231130 14:39:05 } END: Loading add-on 'Cancel_Goto_If_Attacked' (took 15528ms)
20231130 14:39:05 } END: Loading add-on 'Chess' (took 8741ms)
20231130 14:39:05 } END: Loading add-on 'Civil_War_Mod' (took 10603ms)
20231130 14:39:05 } END: Loading add-on 'Crossroads' (took 2744ms)
20231130 14:39:05 } END: Loading add-on 'Custom_Campaign' (took 8543ms)
20231130 14:39:05 } END: Loading add-on 'Dark_Siege' (took 5240ms)
20231130 14:39:05 } END: Loading add-on 'Deep_Elves' (took 3700ms)
20231130 14:39:05 } END: Loading add-on 'Default_Magical_Noob' (took 5871ms)
20231130 14:39:05 } END: Loading add-on 'Default_Rats' (took 6842ms)
20231130 14:39:05 } END: Loading add-on 'Diamond_Map_Pack' (took 6905ms)
20231130 14:39:05 } END: Loading add-on 'Dominus' (took 8850ms)
20231130 14:39:05 } END: Loading add-on 'Dovs_Maps_Mods' (took 2501ms)
20231130 14:39:05 } END: Loading add-on 'Dusan_maps' (took 2355ms)
20231130 14:39:05 } END: Loading add-on 'Dwarf_Dwarfson_Dwarvenminer' (took 8193ms)
20231130 14:39:05 } END: Loading add-on 'EoM_Maps' (took 10077ms)
20231130 14:39:05 } END: Loading add-on 'Era_of_Chaos' (took 2632ms)
20231130 14:39:05 } END: Loading add-on 'Era_of_Four_Moons' (took 10809ms)
20231130 14:39:06 } END: Loading add-on 'Era_of_High_Sorcery' (took 1685511ms)
20231130 14:39:06 } END: Loading add-on 'Era_of_Horrors' (took 7095ms)
20231130 14:39:06 } END: Loading add-on 'Era_of_Magic' (took 3841ms)
20231130 14:39:06 } END: Loading add-on 'Era_of_Magic_Resources' (took 9320ms)
20231130 14:39:06 } END: Loading add-on 'Era_of_Myths' (took 2050ms)
20231130 14:39:06 } END: Loading add-on 'Era_of_Second_Chances' (took 2826ms)
20231130 14:39:06 } END: Loading add-on 'Era_of_Shadows' (took 8934ms)
20231130 14:39:06 } END: Loading add-on 'Everfell_Faction' (took 2119ms)
20231130 14:39:06 } END: Loading add-on 'Evolves' (took 3895ms)
20231130 14:39:06 } END: Loading add-on 'Extended_Armies_Era' (took 2687ms)
20231130 14:39:06 } END: Loading add-on 'Extended_Era' (took 7522ms)
20231130 14:39:06 } END: Loading add-on 'Fall_of_the_Western_Roman_Empire' (took 7186ms)
20231130 14:39:06 } END: Loading add-on 'Feudal_Era' (took 4966ms)
20231130 14:39:06 } END: Loading add-on 'Flexalex' (took 2108ms)
20231130 14:39:07 } END: Loading add-on 'For_The_Gods' (took 7075ms)
20231130 14:39:07 } END: Loading add-on 'Forgotten_Legends' (took 9305ms)
20231130 14:39:07 } END: Loading add-on 'Frogfolk_Delivery_Service' (took 9580ms)
20231130 14:39:07 } END: Loading add-on 'Golden_Age_of_Kylandra' (took 12304ms)
20231130 14:39:07 } END: Loading add-on 'Imperial_Era' (took 7004ms)
20231130 14:39:07 } END: Loading add-on 'Improved_The_Wilderlands' (took 6497ms)
20231130 14:39:07 } END: Loading add-on 'In_Defense_of_Kharos' (took 6263ms)
20231130 14:39:07 } END: Loading add-on 'Infection' (took 5572ms)
20231130 14:39:07 } END: Loading add-on 'Isars_Cross_Original' (took 3434ms)
20231130 14:39:07 } END: Loading add-on 'Karatan' (took 5944ms)
20231130 14:39:07 } END: Loading add-on 'Khan_Maps' (took 2686ms)
20231130 14:39:07 } END: Loading add-on 'Kromire' (took 10223ms)
20231130 14:39:07 } END: Loading add-on 'Lonely_Era' (took 2536ms)
20231130 14:39:07 } END: Loading add-on 'MabeeMaps' (took 1821ms)
20231130 14:39:07 } END: Loading add-on 'Maps_by_Inanna' (took 4823ms)
20231130 14:39:07 } END: Loading add-on 'Merry_Christmas' (took 2937ms)
20231130 14:39:07 } END: Loading add-on 'Monster_Hunt' (took 3752ms)
20231130 14:39:07 } END: Loading add-on 'Non_Fatal_Wounds' (took 11334ms)
20231130 14:39:07 } END: Loading add-on 'PAUD' (took 4086ms)
20231130 14:39:07 } END: Loading add-on 'Pack_Sapient' (took 5713ms)
20231130 14:39:07 } END: Loading add-on 'PantherLord' (took 4399ms)
20231130 14:39:07 } END: Loading add-on 'Peninsula_Survival' (took 7276ms)
20231130 14:39:07 } END: Loading add-on 'QQ_Ultimate_Wesnoth_Survival' (took 57814ms)
20231130 14:39:07 } END: Loading add-on 'RandomRecruits' (took 7784ms)
20231130 14:39:07 } END: Loading add-on 'Rashy_Era' (took 3840ms)
20231130 14:39:07 } END: Loading add-on 'Red_MP_Maps' (took 1989ms)
20231130 14:39:07 } END: Loading add-on 'Reflection' (took 225399ms)
20231130 14:39:07 } END: Loading add-on 'Remove_Turn_Limits' (took 5773ms)
20231130 14:39:07 } END: Loading add-on 'Revolution_and_Civil_War' (took 6348ms)
20231130 14:39:07 } END: Loading add-on 'Road_Movement_Bonus' (took 5518ms)
20231130 14:39:07 } END: Loading add-on 'Salt_Wars' (took 6494ms)
20231130 14:39:07 } END: Loading add-on 'Season_Changer_Mod_PSR' (took 18923ms)
20231130 14:39:07 } END: Loading add-on 'Small_Healing_Halo' (took 6018ms)
20231130 14:39:07 } END: Loading add-on 'Soul_Order' (took 2940ms)
20231130 14:39:07 } END: Loading add-on 'Southern_Nations' (took 417236ms)
20231130 14:39:07 } END: Loading add-on 'Support_1_12_Core' (took 4839ms)
20231130 14:39:07 } END: Loading add-on 'Support_1_12_Core_Resources' (took 4381ms)
20231130 14:39:07 } END: Loading add-on 'Swamp_Witch_Curse' (took 5382ms)
20231130 14:39:07 } END: Loading add-on 'Swamplings' (took 2045ms)
20231130 14:39:07 } END: Loading add-on 'TBJ_Resources' (took 3476ms)
20231130 14:39:07 } END: Loading add-on 'Tale_of_Vaniyera' (took 5878ms)
20231130 14:39:07 } END: Loading add-on 'Tamanegi_Jukebox' (took 3982ms)
20231130 14:39:07 } END: Loading add-on 'Tester' (took 4569ms)
20231130 14:39:07 } END: Loading add-on 'Tez_custom_era' (took 4980ms)
20231130 14:39:07 } END: Loading add-on 'The_Bees_Journey' (took 4441ms)
20231130 14:39:07 } END: Loading add-on 'The_Bees_Journey_New_Edition' (took 3275ms)
20231130 14:39:07 } END: Loading add-on 'The_Final_Exam' (took 5654ms)
20231130 14:39:07 } END: Loading add-on 'The_High_Seas' (took 3607ms)
20231130 14:39:07 } END: Loading add-on 'The_Pool_of_Ek' (took 5490ms)
20231130 14:39:07 } END: Loading add-on 'The_Unnamed' (took 6328ms)
20231130 14:39:07 } END: Loading add-on 'Trials_of_Tyco' (took 6458ms)
20231130 14:39:07 } END: Loading add-on 'Ultimate_Random_Maps' (took 4538ms)
20231130 14:39:07 } END: Loading add-on 'Undead_Empire' (took 3508ms)
20231130 14:39:07 } END: Loading add-on 'Unite_the_Clans' (took 6458ms)
20231130 14:39:07 } END: Loading add-on 'Valley_of_the_Ancients' (took 4314ms)
20231130 14:39:08 } END: Loading add-on 'Vernum_MP_scenarios' (took 4851ms)
20231130 14:39:08 } END: Loading add-on 'Visionary_Era' (took 236551ms)
20231130 14:39:08 } END: Loading add-on 'WL_Mappack' (took 28897ms)
20231130 14:39:08 } END: Loading add-on 'War-Torn' (took 6562ms)
20231130 14:39:08 } END: Loading add-on 'War_of_Legends' (took 4250ms)
20231130 14:39:08 } END: Loading add-on 'War_of_the_Dragon' (took 6150ms)
20231130 14:39:08 } END: Loading add-on 'Warring_States_China' (took 4414ms)
20231130 14:39:08 } END: Loading add-on 'Werewolf_Era' (took 2073ms)
20231130 14:39:08 } END: Loading add-on 'WoL_Faction_Flags' (took 5195ms)
20231130 14:39:08 } END: Loading add-on 'add_creature_pack' (took 4920ms)
20231130 14:39:08 } END: Loading add-on 'afterlife_scenario' (took 29261ms)
20231130 14:39:08 } END: Loading add-on 'apple_sauce' (took 5930ms)
20231130 14:39:08 } END: Loading add-on 'draconian_era' (took 2743ms)
20231130 14:39:08 } END: Loading add-on 'female-orcish-shamans' (took 3899ms)
20231130 14:39:08 } END: Loading add-on 'full_music_playlist' (took 5906ms)
20231130 14:39:08 } END: Loading add-on 'lucas_underground_mappack' (took 2349ms)
20231130 14:39:08 } END: Loading add-on 'no_turn_limit' (took 4782ms)
20231130 14:39:08 } END: Loading add-on 'rps-units' (took 64598ms)
20231130 14:39:08 } END: Loading add-on 'td_maps' (took 6265ms)
20231130 14:39:08 } END: Loading add-on 'tournamentcustom' (took 3992ms)
20231130 14:39:16 } END: Loading add-on '5WorldsSurvival' (took 27418ms)
20231130 14:39:16 } END: Loading add-on '7WorldsSurvival' (took 42386ms)
20231130 14:39:16 } END: Loading add-on 'AI_settings' (took 13344ms)
20231130 14:39:16 } END: Loading add-on 'ANLEra' (took 336081ms)
20231130 14:39:16 } END: Loading add-on 'A_Group_in_a_War' (took 21245ms)
20231130 14:39:17 } END: Loading add-on 'A_Neverending_Era' (took 733224ms)
20231130 14:39:17 } END: Loading add-on 'Aethaeryns_Maps' (took 337939ms)
20231130 14:39:18 } END: Loading add-on 'AgeOfTrials' (took 1129626ms)
20231130 14:39:26 } END: Loading add-on 'Ageless_Era' (took 7813330ms)
20231130 14:39:26 } END: Loading add-on 'Ageless_Resources' (took 22651ms)
20231130 14:39:26 } END: Loading add-on 'Ally_Village_Modification' (took 13693ms)
20231130 14:39:26 } END: Loading add-on 'An_Orcish_Incursion' (took 13818ms)
20231130 14:39:26 } END: Loading add-on 'Arabian_Nights_Era' (took 58615ms)
20231130 14:39:27 } END: Loading add-on 'Archaic_Era' (took 805256ms)
20231130 14:39:27 } END: Loading add-on 'Archaic_Sounds' (took 14913ms)
20231130 14:39:27 } END: Loading add-on 'ArchiveDC' (took 8252ms)
20231130 14:39:27 } END: Loading add-on 'Ardunynn' (took 59724ms)
20231130 14:39:27 } END: Loading add-on 'Ardunynn_Resources' (took 14173ms)
20231130 14:39:27 } END: Loading add-on 'Arena' (took 88932ms)
20231130 14:39:28 } END: Loading add-on 'Armies_of_Amberan' (took 524007ms)
20231130 14:39:28 } END: Loading add-on 'AtzMaps' (took 32349ms)
20231130 14:39:29 } END: Loading add-on 'BSH_Era' (took 1062211ms)
20231130 14:39:29 } END: Loading add-on 'BS_Demons' (took 61628ms)
20231130 14:39:29 } END: Loading add-on 'Battle_for_Meridia' (took 119118ms)
20231130 14:39:29 } END: Loading add-on 'Battle_of_Kingdoms' (took 50916ms)
20231130 14:39:31 } END: Loading add-on 'Battleground_Europe' (took 1771269ms)
20231130 14:39:31 } END: Loading add-on 'BftR' (took 89745ms)
20231130 14:39:31 } END: Loading add-on 'BomSite_Maps' (took 81735ms)
20231130 14:39:31 } END: Loading add-on 'CSC_Big_Battle_1' (took 14808ms)
20231130 14:39:31 } END: Loading add-on 'CSC_Big_Battle_2' (took 14487ms)
20231130 14:39:31 } END: Loading add-on 'Cancel_Goto_If_Attacked' (took 16709ms)
20231130 14:39:31 } END: Loading add-on 'Chess' (took 98493ms)
20231130 14:39:31 } END: Loading add-on 'Civil_War_Mod' (took 184910ms)
20231130 14:39:31 } END: Loading add-on 'Crossroads' (took 30307ms)
20231130 14:39:31 } END: Loading add-on 'Custom_Campaign' (took 46707ms)
20231130 14:39:31 } END: Loading add-on 'Dark_Siege' (took 34306ms)
20231130 14:39:31 } END: Loading add-on 'Deep_Elves' (took 65034ms)
20231130 14:39:32 } END: Loading add-on 'Default_Magical_Noob' (took 205125ms)
20231130 14:39:32 } END: Loading add-on 'Default_Rats' (took 33532ms)
20231130 14:39:32 } END: Loading add-on 'Diamond_Map_Pack' (took 747888ms)
20231130 14:39:33 } END: Loading add-on 'Dominus' (took 260921ms)
20231130 14:39:33 } END: Loading add-on 'Dovs_Maps_Mods' (took 668984ms)
20231130 14:39:33 } END: Loading add-on 'Dusan_maps' (took 20939ms)
20231130 14:39:33 } END: Loading add-on 'Dwarf_Dwarfson_Dwarvenminer' (took 16077ms)
20231130 14:39:33 } END: Loading add-on 'EoM_Maps' (took 33495ms)
20231130 14:39:34 } END: Loading add-on 'Era_of_Chaos' (took 735448ms)
20231130 14:39:35 } END: Loading add-on 'Era_of_Four_Moons' (took 513298ms)
20231130 14:39:36 } END: Loading add-on 'Era_of_High_Sorcery' (took 1712210ms)
20231130 14:39:37 } END: Loading add-on 'Era_of_Horrors' (took 183051ms)
20231130 14:39:39 } END: Loading add-on 'Era_of_Magic' (took 2071867ms)
20231130 14:39:39 } END: Loading add-on 'Era_of_Magic_Resources' (took 22778ms)
20231130 14:39:39 } END: Loading add-on 'Era_of_Myths' (took 417385ms)
20231130 14:39:39 } END: Loading add-on 'Era_of_Second_Chances' (took 145244ms)
20231130 14:39:39 } END: Loading add-on 'Era_of_Shadows' (took 70929ms)
20231130 14:39:39 } END: Loading add-on 'Everfell_Faction' (took 168322ms)
20231130 14:39:39 } END: Loading add-on 'Evolves' (took 28859ms)
20231130 14:39:40 } END: Loading add-on 'Extended_Armies_Era' (took 470488ms)
20231130 14:39:40 } END: Loading add-on 'Extended_Era' (took 245517ms)
20231130 14:39:40 } END: Loading add-on 'Fall_of_the_Western_Roman_Empire' (took 33920ms)
20231130 14:39:41 } END: Loading add-on 'Feudal_Era' (took 401304ms)
20231130 14:39:41 } END: Loading add-on 'Flexalex' (took 21313ms)
20231130 14:39:41 } END: Loading add-on 'For_The_Gods' (took 21736ms)
20231130 14:39:41 } END: Loading add-on 'Forgotten_Legends' (took 274273ms)
20231130 14:39:41 } END: Loading add-on 'Frogfolk_Delivery_Service' (took 21644ms)
20231130 14:39:42 } END: Loading add-on 'Golden_Age_of_Kylandra' (took 1402120ms)
20231130 14:39:43 } END: Loading add-on 'Imperial_Era' (took 340348ms)
20231130 14:39:43 } END: Loading add-on 'Improved_The_Wilderlands' (took 111895ms)
20231130 14:39:43 } END: Loading add-on 'In_Defense_of_Kharos' (took 18583ms)
20231130 14:39:43 } END: Loading add-on 'Infection' (took 446635ms)
20231130 14:39:43 } END: Loading add-on 'Isars_Cross_Original' (took 23834ms)
20231130 14:39:43 } END: Loading add-on 'Karatan' (took 22495ms)
20231130 14:39:43 } END: Loading add-on 'Khan_Maps' (took 18278ms)
20231130 14:39:43 } END: Loading add-on 'Kromire' (took 21805ms)
20231130 14:39:44 } END: Loading add-on 'Lonely_Era' (took 267763ms)
20231130 14:39:44 } END: Loading add-on 'MabeeMaps' (took 26028ms)
20231130 14:39:44 } END: Loading add-on 'Maps_by_Inanna' (took 91544ms)
20231130 14:39:44 } END: Loading add-on 'Merry_Christmas' (took 12500ms)
20231130 14:39:44 } END: Loading add-on 'Monster_Hunt' (took 152584ms)
20231130 14:39:44 } END: Loading add-on 'Non_Fatal_Wounds' (took 20022ms)
20231130 14:39:44 } END: Loading add-on 'PAUD' (took 16007ms)
20231130 14:39:44 } END: Loading add-on 'Pack_Sapient' (took 61643ms)
20231130 14:39:44 } END: Loading add-on 'PantherLord' (took 28788ms)
20231130 14:39:44 } END: Loading add-on 'Peninsula_Survival' (took 32507ms)
20231130 14:39:46 } END: Loading add-on 'QQ_Ultimate_Wesnoth_Survival' (took 2046740ms)
20231130 14:39:46 } END: Loading add-on 'RandomRecruits' (took 24594ms)
20231130 14:39:47 } END: Loading add-on 'Rashy_Era' (took 912315ms)
20231130 14:39:47 } END: Loading add-on 'Red_MP_Maps' (took 54298ms)
20231130 14:39:47 } END: Loading add-on 'Reflection' (took 215082ms)
20231130 14:39:47 } END: Loading add-on 'Remove_Turn_Limits' (took 16909ms)
20231130 14:39:47 } END: Loading add-on 'Revolution_and_Civil_War' (took 22922ms)
20231130 14:39:47 } END: Loading add-on 'Road_Movement_Bonus' (took 9562ms)
20231130 14:39:47 } END: Loading add-on 'Salt_Wars' (took 16589ms)
20231130 14:39:47 } END: Loading add-on 'Season_Changer_Mod_PSR' (took 28007ms)
20231130 14:39:47 } END: Loading add-on 'Small_Healing_Halo' (took 16998ms)
20231130 14:39:47 } END: Loading add-on 'Soul_Order' (took 44779ms)
20231130 14:39:48 } END: Loading add-on 'Southern_Nations' (took 445897ms)
20231130 14:39:48 } END: Loading add-on 'Support_1_12_Core' (took 22731ms)
20231130 14:39:48 } END: Loading add-on 'Support_1_12_Core_Resources' (took 17538ms)
20231130 14:39:48 } END: Loading add-on 'Swamp_Witch_Curse' (took 18829ms)
20231130 14:39:48 } END: Loading add-on 'Swamplings' (took 7109ms)
20231130 14:39:48 } END: Loading add-on 'TBJ_Resources' (took 62787ms)
20231130 14:39:48 } END: Loading add-on 'Tale_of_Vaniyera' (took 19035ms)
20231130 14:39:48 } END: Loading add-on 'Tamanegi_Jukebox' (took 15892ms)
20231130 14:39:48 } END: Loading add-on 'Tester' (took 16005ms)
20231130 14:39:48 } END: Loading add-on 'Tez_custom_era' (took 146639ms)
20231130 14:39:48 } END: Loading add-on 'The_Bees_Journey' (took 16559ms)
20231130 14:39:48 } END: Loading add-on 'The_Bees_Journey_New_Edition' (took 10014ms)
20231130 14:39:48 } END: Loading add-on 'The_Final_Exam' (took 16631ms)
20231130 14:39:49 } END: Loading add-on 'The_High_Seas' (took 311217ms)
20231130 14:39:49 } END: Loading add-on 'The_Pool_of_Ek' (took 22133ms)
20231130 14:39:49 } END: Loading add-on 'The_Unnamed' (took 18121ms)
20231130 14:39:49 } END: Loading add-on 'Trials_of_Tyco' (took 18108ms)
20231130 14:39:49 } END: Loading add-on 'Ultimate_Random_Maps' (took 348121ms)
20231130 14:39:49 } END: Loading add-on 'Undead_Empire' (took 85960ms)
20231130 14:39:49 } END: Loading add-on 'Unite_the_Clans' (took 21527ms)
20231130 14:39:49 } END: Loading add-on 'Valley_of_the_Ancients' (took 340879ms)
20231130 14:39:50 } END: Loading add-on 'Vernum_MP_scenarios' (took 104332ms)
20231130 14:39:50 } END: Loading add-on 'Visionary_Era' (took 258775ms)
20231130 14:39:50 } END: Loading add-on 'WL_Mappack' (took 95002ms)
20231130 14:39:50 } END: Loading add-on 'War-Torn' (took 18953ms)
20231130 14:39:51 } END: Loading add-on 'War_of_Legends' (took 978911ms)
20231130 14:39:51 } END: Loading add-on 'War_of_the_Dragon' (took 16657ms)
20231130 14:39:51 } END: Loading add-on 'Warring_States_China' (took 73079ms)
20231130 14:39:51 } END: Loading add-on 'Werewolf_Era' (took 86677ms)
20231130 14:39:51 } END: Loading add-on 'WoL_Faction_Flags' (took 16917ms)
20231130 14:39:52 } END: Loading add-on 'add_creature_pack' (took 520466ms)
20231130 14:39:52 } END: Loading add-on 'afterlife_scenario' (took 42149ms)
20231130 14:39:52 } END: Loading add-on 'apple_sauce' (took 24586ms)
20231130 14:39:54 } END: Loading add-on 'draconian_era' (took 2151717ms)
20231130 14:39:54 } END: Loading add-on 'female-orcish-shamans' (took 17572ms)
20231130 14:39:54 } END: Loading add-on 'full_music_playlist' (took 16895ms)
20231130 14:39:54 } END: Loading add-on 'lucas_underground_mappack' (took 120982ms)
20231130 14:39:54 } END: Loading add-on 'no_turn_limit' (took 15946ms)
20231130 14:39:54 } END: Loading add-on 'rps-units' (took 71304ms)
20231130 14:39:54 } END: Loading add-on 'td_maps' (took 156219ms)
20231130 14:39:54 } END: Loading add-on 'tournamentcustom' (took 101019ms)
gfgtdf
Developer
Posts: 1432
Joined: February 10th, 2013, 2:25 pm

Re: bug: takes a really long time for a map / game to be created

Post by gfgtdf »

Hmm, quite interesting, some of these times are quite huge (I'm salso assuming ms means microseconds here since otherwise I'd be way to much), do you with the debug info think it took longer than usual ?

I think the reason why each addon is listed twice it because they are once loaded when you start the game, and then again after you go to the multiplayer section. (But it can always be something else)
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
gfgtdf
Developer
Posts: 1432
Joined: February 10th, 2013, 2:25 pm

Re: bug: takes a really long time for a map / game to be created

Post by gfgtdf »

Also are these normal times or did you clear the cache before doing this testing? Because if you cleared the cache before it woipd be less bad of course.
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
User avatar
Ravana
Forum Moderator
Posts: 3018
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: bug: takes a really long time for a map / game to be created

Post by Ravana »

That is most likely the reason. Entries I recognize as campaigns in second set are all under 30ms, as they are supposed to be in campaign ifdef.
User avatar
Atreides
Posts: 1076
Joined: March 30th, 2019, 10:38 pm
Location: On the 2nd story of the centre village of Merwuerdigliebe turning the lights on and off

Re: bug: takes a really long time for a map / game to be created

Post by Atreides »

I think it took about the same as usual when I ran it with the switch. I did not clear the cache beforehand. I suspect that the first loads are when you start the program, it shows a screen (quickly) and the second one was when I went to multiplayer and that's the one that takes a long time. A few eras take over 1 second to load but in general there are a lot of addons and it adds up.
I might mention that my other two installs of 12 and 14 also take a while. Especially 12! I should use the switch on that to see what's going on since I've removed a lot of addons from 12.
I should also mention that my computer is running slower these days than when I first bought it 5 years ago. Maybe the SSD is wearing out (limited number of rewrites or something), I'm not sure with this new tech I'm a bit clueless.
gfgtdf
Developer
Posts: 1432
Joined: February 10th, 2013, 2:25 pm

Re: bug: takes a really long time for a map / game to be created

Post by gfgtdf »

In your log ageless took 7 seconds, i checked on disk and the cache file for ageless is 20 mb and 2mb compressed, i checked on my machine and loading ageless took 0.5 seconds. Without cache it took 2 seconds.

7 seconds is quite a lot imo, especially since the io part should basically be reading that 2mb compressed cache file which is not that much. So i suspect the slowness comes from somewhere else, unfortunately

Or your imes were without caching too (sometimes wensoth clears the cache , when addonds are updated for example), if you still have that log: are there any lines like warning preprocessor: Redefining macro in it?
Scenario with Robots SP scenario (1.11/1.12), allows you to build your units with components, PYR No preperation turn 1.12 mp-mod that allows you to select your units immideately after the game begins.
User avatar
Atreides
Posts: 1076
Joined: March 30th, 2019, 10:38 pm
Location: On the 2nd story of the centre village of Merwuerdigliebe turning the lights on and off

Re: bug: takes a really long time for a map / game to be created

Post by Atreides »

gfgtdf wrote: December 2nd, 2023, 4:19 am In your log ageless took 7 seconds, i checked on disk and the cache file for ageless is 20 mb and 2mb compressed, i checked on my machine and loading ageless took 0.5 seconds. Without cache it took 2 seconds.

7 seconds is quite a lot imo, especially since the io part should basically be reading that 2mb compressed cache file which is not that much. So i suspect the slowness comes from somewhere else, unfortunately

Or your imes were without caching too (sometimes wensoth clears the cache , when addonds are updated for example), if you still have that log: are there any lines like warning preprocessor: Redefining macro in it?
Yes I've got loads of warning preprocessor: Redefining macro caused by various add-ons I've installed. I've had them always. I do know what causes them and how to get rid of them but since they're all in addons maintained by others any fix would only last until it got updated.

Do these cause the cache to be cleared right away? I also do purge the cache a lot (because of the note I read that it can be corrupted since 1.14) so I may not be getting much if any benefit from caching.

Update: How odd. I ran the debug config again and this time it loaded unusually quickly and the times are all much less. Ageless went from 7.8s to 1.1s. I looked at the cached files just before doing this and the ageless was indeed cached (about 2 MB). Maybe the cache was empty when I first tried it.
Post Reply