Search found 203 matches

by LordAwsomeness
March 1st, 2020, 6:11 pm
Forum: WML Workshop
Topic: Option limit?
Replies: 36
Views: 2923

Re: Option limit?

Does the error occur if you clear the cache between each attempt? yes and no. that's the weird thing. sometimes it does and some times it doesn't. sometimes it will let me get all of the way into the game and then one of my menus just wont work. that's why Im so desperate to fix it because that spe...
by LordAwsomeness
March 1st, 2020, 6:01 pm
Forum: WML Workshop
Topic: Option limit?
Replies: 36
Views: 2923

Re: Option limit?

Ok some weird stuff is going on... I do a little something to test and see if stuff is working; ill make one very small change and see if it fixes the crash. then ill go onto the next minor change and see how the game reacts. its a very long and tedious process of going to the cfg, making such a sma...
by LordAwsomeness
March 1st, 2020, 5:25 pm
Forum: WML Workshop
Topic: Option limit?
Replies: 36
Views: 2923

Re: Option limit?

https://github.com/ProditorMagnus/Hide_Faction_Choice/blob/master/_main.cfg#L41-L61 is most basic case of [insert_tag] I can show. [set_variables] creates array containing key "message" - display for option. Then loop adds [command][set_variable] with "name" and "value"...
by LordAwsomeness
March 1st, 2020, 5:22 pm
Forum: WML Workshop
Topic: Clutter in cfgs Slow Down the engine?
Replies: 13
Views: 963

Re: Clutter in cfgs Slow Down the engine?

Ravana wrote: March 1st, 2020, 5:19 pm Save it before it gets that large, 4-10MB should be enough to find repeating patterns.
like cut the file down? and what am I looking for exactly?
by LordAwsomeness
March 1st, 2020, 4:49 pm
Forum: WML Workshop
Topic: Clutter in cfgs Slow Down the engine?
Replies: 13
Views: 963

Re: Clutter in cfgs Slow Down the engine?

You can also open one of these savefiles with a text editor and see why they are so big ( the time really depends nails on the size of these (uncompressed) files), it's probably just a handful, macros that are expanded too often that you could then replace with something more efficient. Before doin...
by LordAwsomeness
March 1st, 2020, 4:43 pm
Forum: WML Workshop
Topic: Option limit?
Replies: 36
Views: 2923

Re: Option limit?

Without checking the code, I'd guess the limit is when the rich-text area for the message reaches 65535 pixels high (and hits the 16-bit limits of Pango's interface). If they're all displayed at the same time, that's probably beyond the player's patience to scroll through too. Dont worry it only sh...
by LordAwsomeness
March 1st, 2020, 5:02 am
Forum: WML Workshop
Topic: Option limit?
Replies: 36
Views: 2923

Option limit?

Hello! So I was just wondering if there is a limit to how many options ([option] tags) you can have in a message. Currently I have over 1000 from what im guessing and everytime I try and add another set of them, it doesn't allow me to do so. each one of the macros below accounts for 16 [option] tags...
by LordAwsomeness
March 1st, 2020, 5:01 am
Forum: WML Workshop
Topic: Clutter in cfgs Slow Down the engine?
Replies: 13
Views: 963

Re: Clutter in cfgs Slow Down the engine?

Pentarctagon wrote: March 1st, 2020, 12:36 am Using lua instead of (I'm assuming) boatloads of WML macros would help.
guess after 9 years of fiddling with wml I should actually try and learn lua...
by LordAwsomeness
March 1st, 2020, 12:31 am
Forum: WML Workshop
Topic: Clutter in cfgs Slow Down the engine?
Replies: 13
Views: 963

Re: Clutter in cfgs Slow Down the engine?

What could I do to speed up how fast it loads into the multiplayer lobby? it takes a whole minute or 2 to do that. My add-on is currently at 32 MB... is there something I could do to make it load after clearing the cache faster?
by LordAwsomeness
March 1st, 2020, 12:28 am
Forum: WML Workshop
Topic: Clutter in cfgs Slow Down the engine?
Replies: 13
Views: 963

Re: Clutter in cfgs Slow Down the engine?

gnombat wrote: March 1st, 2020, 12:25 am It sounds like it could be taking 15-20 seconds to create the auto-save?
how would I disable it? just slide it to 0? or do I need to toggle something so that it doesn't take forever?

EDIT: OMG it was the autosaves!!! It literally goes next turn immediately now!
by LordAwsomeness
March 1st, 2020, 12:16 am
Forum: WML Workshop
Topic: Clutter in cfgs Slow Down the engine?
Replies: 13
Views: 963

Re: Clutter in cfgs Slow Down the engine?

what could be causing such obscene waittimes then? Could it be all of the variables that I am setting? Would they potentially slow the game down?
by LordAwsomeness
February 29th, 2020, 11:44 pm
Forum: WML Workshop
Topic: Disabling Terrain
Replies: 1
Views: 301

Disabling Terrain

Hey so I was just wondering if theres a better way of disabling certain set_menu_items on specific terrain than actually going in and typing in every single code. For example, I know that you can disable the menu item from showing up on terrain that follows Ww^* or *^Bw|r, but I was just wondering i...
by LordAwsomeness
February 29th, 2020, 11:21 pm
Forum: WML Workshop
Topic: Clutter in cfgs Slow Down the engine?
Replies: 13
Views: 963

Clutter in cfgs Slow Down the engine?

Hi I was just wondering if leaving text that the engine wont read slows the game down. Ive been experiencing exponential amounts of engine slowdown and I know it's not my computer since I can run games like pubg and ark at full graphical settings and have 0 issues. But I was wondering if things such...
by LordAwsomeness
February 29th, 2020, 10:24 pm
Forum: WML Workshop
Topic: Teleport Units
Replies: 3
Views: 374

Re: Teleport Units

so do it using a foreach? since im trying to do it for all of the units?
by LordAwsomeness
February 29th, 2020, 8:26 pm
Forum: WML Workshop
Topic: Teleport Units
Replies: 3
Views: 374

Teleport Units

Hello! I am currently trying to figure out what code I will need to make units teleport from anywhere on the map to another location without having to be in a specific location. My goal is to be able to have all of the units from sides 1-4 to be able to teleport to a new location together at the sam...