Loading...
  OR  Zero-K Name:    Password:   

Post edit history

Upload mod cooks server

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
3/31/2025 5:16:09 AMCNrankXNTWASD before revert after revert
3/30/2025 11:51:55 PMCNrankXNTWASD before revert after revert
3/30/2025 10:59:55 AMCNrankXNTWASD before revert after revert
Before After
1 what about 1 what about
2 \n 2 \n
3 {{{ 3 {{{
4 Mod mod; 4 Mod mod;
5 if (ae.Name.Contains("Silly Wars")) { 5 if (ae.Name.Contains("Silly Wars")) {
6 mod=new Mod(ae) 6 mod=new Mod(ae)
7 { 7 {
8 UnitDefs = [], 8 UnitDefs = [],
9 StartUnits = new SerializableDictionary<string, string>(GetStartUnits(out sides)), 9 StartUnits = new SerializableDictionary<string, string>(GetStartUnits(out sides)),
10 Sides = sides, 10 Sides = sides,
11 Options = GetModOptions().ToArray(), 11 Options = GetModOptions().ToArray(),
12 SideIcons = GetSideIcons(sides).ToArray(), 12 SideIcons = GetSideIcons(sides).ToArray(),
13 ModAis = GetAis().Where(ai => ai.IsLuaAi).ToArray() 13 ModAis = GetAis().Where(ai => ai.IsLuaAi).ToArray()
14 }; 14 };
15 }else {...} 15 }else {...}
16 }}} 16 }}}
17 \n 17 \n
18 :3 18 :3
19 \n 19 \n
20 \n 20 \n
21 \n 21 \n
22 And I had fixed some bug and really want to upload my mod. 22 And I had fixed some bug and really want to upload my mod.
23 \n 23 \n
24 \n 24 \n
25 I had changed smth that MAY works (custom_units will not be loaded without modoptions)... 25 I had changed smth that MAY works (custom_units will not be loaded without modoptions)...
26 Can you firstly capture C++ error ( like https://learn. microsoft. com/en-us/dotnet/csharp/how-to/how-to-catch-a-non-cls-exception or smth) to prevent server boom then I can try [s]throw[/s] 26 Can you firstly capture C++ error ( like https://learn. microsoft. com/en-us/dotnet/csharp/how-to/how-to-catch-a-non-cls-exception or smth I don't know alot) to prevent server boom then I can try [s]throw[/s]