SXC Development

Discussion of all aspects of multiplayer development: unit balancing, map development, server development, and so forth.

Moderator: Forum Moderators

Post Reply
User avatar
octalot
General Code Maintainer
Posts: 783
Joined: July 17th, 2010, 7:40 pm
Location: Austria

Re: SXC Development

Post by octalot »

Is there a publicly-readable version-control repo for SXC? (Git, SVN, etc)
User avatar
Ravana
Forum Moderator
Posts: 2949
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: SXC Development

Post by Ravana »

No. There is currently no coordination between ChaosRider who moved it to 1.12, and me who uploaded last 3 versions with fixes at ageless units ids.

I understand ChaosRider is not particularly active, so I believe if someone showed interest in developing this addon it would happen.
User avatar
octalot
General Code Maintainer
Posts: 783
Joined: July 17th, 2010, 7:40 pm
Location: Austria

Re: SXC Development

Post by octalot »

The history for the Wesnoth 1.6, 1.8 and 1.10 versions can be found in -stf-'s repo. This includes the SXCRemake too.

https://github.com/stf1/SXCollection

I've started a new repo, importing the source currently on the Wesnoth 1.12 add-ons server. It seemed a good time to start a new Git history, as all enemy units are now provided by a separate add-on (Ageless Era), and don't need to be in SXC.

https://github.com/TeamSurvivalXtreme/SXCollection
RichterAC
Posts: 1
Joined: May 18th, 2018, 11:00 pm

Re: SXC Development

Post by RichterAC »

Die folgende Erweiterung weist Fehler auf und konnte nicht geladen werden:
C:\Users\UserDocuments\My Games\Wesnoth1.14/data/add-ons/SXCollection/_main.cfg

Bitte meldet dies an den Autor bzw. Betreuer dieser Erweiterung.

Details:

Fehlende Abschlussmarkierung für Element [variable]
erwartet an Position ~add-ons/SXCollection/macros/SXCmacros.cfg:227
included from ~add-ons/SXCollection/_main.cfg:24
included from ~add-ons/SXCollection/macros/SXCmacros.cfg:5131
included from ~add-ons/SXCollection/_main.cfg:24
included from ~add-ons/SXCollection/macros/SXCmacros.cfg:5117
included from ~add-ons/SXCollection/_main.cfg:24
included from ~add-ons/SXCollection/macros/SXCmacros.cfg:5026
included from ~add-ons/SXCollection/_main.cfg:24
included from ~add-ons/SXCollection/macros/SXCmacros.cfg:2512
included from ~add-ons/SXCollection/_main.cfg:24
included from ~add-ons/SXCollection/macros/SXCmacros.cfg:1678
included from ~add-ons/SXCollection/_main.cfg:24
included from ~add-ons/SXCollection/macros/SXCmacros.cfg:1568
included from ~add-ons/SXCollection/_main.cfg:24
included from ~add-ons/SXCollection/scen_gol/SXC_Channels.cfg:56
included from ~add-ons/SXCollection/_main.cfg:32
geöffnet an Position ~add-ons/SXCollection/macros/SXCmacros.cfg:5131
included from ~add-ons/SXCollection/_main.cfg:24
included from ~add-ons/SXCollection/macros/SXCmacros.cfg:5117
included from ~add-ons/SXCollection/_main.cfg:24
included from ~add-ons/SXCollection/macros/SXCmacros.cfg:5026
included from ~add-ons/SXCollection/_main.cfg:24
included from ~add-ons/SXCollection/macros/SXCmacros.cfg:2512
included from ~add-ons/SXCollection/_main.cfg:24
included from <unknown>:167
User avatar
octalot
General Code Maintainer
Posts: 783
Joined: July 17th, 2010, 7:40 pm
Location: Austria

Re: SXC Development

Post by octalot »

Vielen Danke für Ihre Meldung, aber bitte probieren, ob es ein Cachefehler oder Downloadfehler sein können. Das akutelle Revision ist seit zwei Wochen unverändert, wenn es Defect ist, glaube ich das Fehler früher angemeldet wird. Bitte die Erweiterung entfernen, im Einstellung, Allgemein, Cache säuberen, und die Erweiterung noch einmal Hinterladen.

Thanks for the bug report, but please would you check if it could be local file corruption? The current version of the add-on was uploaded two weeks ago, so if it's broken then I'd expect it to have been detected earlier.

The line numbers would point to either the "precision" or "focus" weapon specials, and those are frequently-used options.
MasterFlash
Posts: 1
Joined: June 29th, 2018, 9:56 pm

Re: SXC Development SXC add-on causing problems on MP games

Post by MasterFlash »

[commit][/commit]I recently tried to install SXCollection add-on and had the following problem.
After installing SXC add-on i am unable to create local multiplayer games or connect to the multiplayer server, the game gets stuck on the Loading files and creating cache screen, after this i need to force the game to close and start it again.
After closing and restarting the game, i can connect to the multiplayer server but none of the SXC maps appear in the game, like SXC is not installed even though the game tells me it is, also, other add-ons that worked previously seem to stop working too (Plan Unit Advancement is one example). This only happens after installing SXCollection add-on.
I also found this post with a similar problem: https://forums.wesnoth.org/viewtopic.php?t=38830

I'm using windows 10, the game is set to english(US) language.
Log Report:
wesnoth-20181113-183441-8348.log
Log Report
(2.89 KiB) Downloaded 469 times

Can someone give me some tips? Thanks in advance.
User avatar
Ravana
Forum Moderator
Posts: 2949
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: SXC Development

Post by Ravana »

Manually deleting your cache folder might help.
User avatar
octalot
General Code Maintainer
Posts: 783
Joined: July 17th, 2010, 7:40 pm
Location: Austria

Re: SXC Development

Post by octalot »

A new version of SXC has been uploaded, which should hopefully be less likely to hit the cache-corruption bug. Thanks for the bug reports, both in the thread and in private messages. If anyone still gets cache corruption with 0.2.125 then please say, particularly if it only happens to SXC and no other add-on.
Technical details:
Wesnoth's cache contains WML after preprocessing, with all WML macros expanded. In the old version 0.2.124, every map included all of the macros, which meant each map included its own copy of the complete SXC code. The cached version was 3MB compressed, and 72MB uncompressed, and by far the largest file in Wesnoth's cache.

Version 0.2.125 uses a [resource] to have only one copy of most of the code. The code reduces to 1MB compressed, 17MB uncompressed. It's still large, but around the same size as Ageless Era.

Also, I refactored the on-recruit code to only include SXC_ENEMY_UPGRADE_WEAPON once, a macro which expands to 800 lines of preprocessed code. The old version's multiple uses of the macro added up to over 13000 lines, and that was per-map until the change to using a [resource] tag. It's also a block of code that runs every time the AI recruits, so hopefully this change may speed up the AI turns a bit.
User avatar
HonzaCZ
Posts: 38
Joined: August 7th, 2018, 2:23 pm
Location: doin your mom

Re: SXC Development

Post by HonzaCZ »

not working
User avatar
octalot
General Code Maintainer
Posts: 783
Joined: July 17th, 2010, 7:40 pm
Location: Austria

Re: SXC Development

Post by octalot »

Please would you give more details about what's wrong with it?

Note - SXC and SXRPG are separate things. If the bug is that the AI doesn't move, then please check that you're using SXC rather than SXRPG.
User avatar
HonzaCZ
Posts: 38
Joined: August 7th, 2018, 2:23 pm
Location: doin your mom

Re: SXC Development

Post by HonzaCZ »

octalot wrote: August 6th, 2020, 12:25 pm Please would you give more details about what's wrong with it?

Note - SXC and SXRPG are separate things. If the bug is that the AI doesn't move, then please check that you're using SXC rather than SXRPG.
Exactly the same problem as MasterFlash
User avatar
octalot
General Code Maintainer
Posts: 783
Joined: July 17th, 2010, 7:40 pm
Location: Austria

Re: SXC Development

Post by octalot »

Thanks for reporting it. Does purging the cache make it work again?

I don't think I can do more to avoid it in the add-on, but any details you can give may help with finding the root cause somewhere in the engine.
User avatar
nuorc
Forum Regular
Posts: 582
Joined: September 3rd, 2009, 2:25 pm
Location: Barag Gor

Re: SXC Development

Post by nuorc »

I just updated to BfW 1.16 and SCX 0.3.1. Megaregenerate and Megacure are broken: they only give +8 HP. :(
I have a cunning plan.
User avatar
octalot
General Code Maintainer
Posts: 783
Joined: July 17th, 2010, 7:40 pm
Location: Austria

Re: SXC Development

Post by octalot »

Oops, and thanks for the bug report.

Version 0.3.2 has now been uploaded with that fixed. The explanation of what happened is in #6305.
User avatar
nuorc
Forum Regular
Posts: 582
Joined: September 3rd, 2009, 2:25 pm
Location: Barag Gor

Re: SXC Development

Post by nuorc »

Thanks for the quick reaction!

Unfortunately I haven't been able to connect to the add-ons server since. Did you happen to kill it?
I have a cunning plan.
Post Reply