TotalVeterancy broken - what can I do to fix?

Everything about mods can be found here.

Moderator: Morax

TotalVeterancy broken - what can I do to fix?

Postby Hexus_One » 24 Oct 2016, 02:42

Hi guys,
Moderately capable programmer here - I've noticed that all versions of Total Veterancy no longer work in FAF (last working game I played was 7th Oct 2015, so patches 3652-3660?)

Are there any API changes I should be aware of? What can I do to fix it?
Hexus_One
Crusader
 
Posts: 10
Joined: 07 Oct 2015, 03:26
Has liked: 5 times
Been liked: 2 times
FAF User Name: Hexus_One

Re: TotalVeterancy broken - what can I do to fix?

Postby Exotic_Retard » 24 Oct 2016, 08:42

lovely to hear from you - our development happens on github
you are interested in this repo most: https://github.com/FAForever/fa
ingame code is all lua.

total veterancy was outdated when something in here changed, so you can figure out what it was and fix the mod, that would be great actually, you should also talk to Uveso since he fixed a bunch of mods as well

also check your pm. i sent you an invite link to our slack channel, its where the devs hang out.

bottom line is, we need all the help we can get, and we would love to have you abroad.
User avatar
Exotic_Retard
Contributor
 
Posts: 1470
Joined: 21 Mar 2013, 22:51
Has liked: 557 times
Been liked: 626 times
FAF User Name: Exotic_Retard

Re: TotalVeterancy broken - what can I do to fix?

Postby Cuddles » 24 Oct 2016, 10:50

Many people will be happy for this fix. Loved playing with the mod
Turinturambar defended very valiantly
User avatar
Cuddles
Contributor
 
Posts: 692
Joined: 29 Mar 2013, 14:19
Has liked: 132 times
Been liked: 118 times
FAF User Name: Scoot

Re: TotalVeterancy broken - what can I do to fix?

Postby speed2 » 24 Oct 2016, 11:33

User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: TotalVeterancy broken - what can I do to fix?

Postby Hexus_One » 26 Oct 2016, 13:20

Thanks for the tips :)

To narrow down the cause of the problem, I'd like to be able to test the mod in different patches of the game - obviously I have access to the latest as well as Steam 3601 but is there a way I can access other versions of the .exe? Are there modified resource files that I need?
Hexus_One
Crusader
 
Posts: 10
Joined: 07 Oct 2015, 03:26
Has liked: 5 times
Been liked: 2 times
FAF User Name: Hexus_One

Re: TotalVeterancy broken - what can I do to fix?

Postby speed2 » 26 Oct 2016, 13:23

User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: TotalVeterancy broken - what can I do to fix?

Postby Exotic_Retard » 26 Oct 2016, 16:33

if you get github setup you can preview and run the code in any state since its history began being recorded a few years ago.
check out http://wiki.faforever.com/index.php?title=Modding
and http://wiki.faforever.com/index.php?tit ... fficiently

these are related to modding but since you are trying to fix a mod they should be quite relevant
User avatar
Exotic_Retard
Contributor
 
Posts: 1470
Joined: 21 Mar 2013, 22:51
Has liked: 557 times
Been liked: 626 times
FAF User Name: Exotic_Retard

Re: TotalVeterancy broken - what can I do to fix?

Postby Hexus_One » 27 Oct 2016, 04:56

@speed2, how can I compile the source code into a playable version?
Hexus_One
Crusader
 
Posts: 10
Joined: 07 Oct 2015, 03:26
Has liked: 5 times
Been liked: 2 times
FAF User Name: Hexus_One

Re: TotalVeterancy broken - what can I do to fix?

Postby speed2 » 27 Oct 2016, 09:55

User avatar
speed2
Contributor
 
Posts: 3189
Joined: 05 Jan 2013, 15:11
Has liked: 636 times
Been liked: 1119 times
FAF User Name: speed2

Re: TotalVeterancy broken - what can I do to fix?

Postby Hexus_One » 27 Oct 2016, 15:28

Thanks speed2 :)

I'm able to get versions 3640 and above (no mods) working, I'm unable to get 3639 working as it hangs in the lobby (irrelevant errors since we're not dealing with that version at all :P).

3640 works with the basic version of TotalVet ("TVg b8 TotalVeterancy v1.19 beta 8") which only features the levelling and stat boosts - none of the levelled unit construction, jumping. Some errors get thrown in the background, I'll paste the relevant log below.

Code: Select all
WARNING: Evaluating LazyVar failed: error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(34): error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(36): circular dependency in lazy evaluation for variable [Set lazyvar.ExtendedErrorMessages for extra trace info]
         stack traceback:
            [C]: in function `error'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(21): in function `Left'
            ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(36): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:36>
            [C]: in function `pcall'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function `Right'
            ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(34): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:34>
            [C]: in function `pcall'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
         Stack trace from definition: [Set lazyvar.ExtendedErrorMessages for extra trace info]
         
         stack traceback:
            [C]: in function `error'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(37): in function `Right'
            ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(34): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:34>
            [C]: in function `pcall'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
         Stack trace from definition: [Set lazyvar.ExtendedErrorMessages for extra trace info]
         
         stack traceback:
            [C]: in function `error'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(37): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
WARNING: Evaluating LazyVar failed: error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(35): error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(37): circular dependency in lazy evaluation for variable [Set lazyvar.ExtendedErrorMessages for extra trace info]
         stack traceback:
            [C]: in function `error'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(21): in function `Top'
            ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(37): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:37>
            [C]: in function `pcall'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function `Bottom'
            ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(35): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:35>
            [C]: in function `pcall'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
         Stack trace from definition: [Set lazyvar.ExtendedErrorMessages for extra trace info]
         
         stack traceback:
            [C]: in function `error'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(37): in function `Bottom'
            ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(35): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:35>
            [C]: in function `pcall'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
         Stack trace from definition: [Set lazyvar.ExtendedErrorMessages for extra trace info]
         
         stack traceback:
            [C]: in function `error'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(37): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
WARNING: Evaluating LazyVar failed: error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(34): error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(36): circular dependency in lazy evaluation for variable [Set lazyvar.ExtendedErrorMessages for extra trace info]
         stack traceback:
            [C]: in function `error'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(21): in function `Left'
            ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(36): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:36>
            [C]: in function `pcall'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function `Right'
            ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(34): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:34>
            [C]: in function `pcall'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
         Stack trace from definition: [Set lazyvar.ExtendedErrorMessages for extra trace info]
         
         stack traceback:
            [C]: in function `error'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(37): in function `Right'
            ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(34): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:34>
            [C]: in function `pcall'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
         Stack trace from definition: [Set lazyvar.ExtendedErrorMessages for extra trace info]
         
         stack traceback:
            [C]: in function `error'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(37): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
WARNING: Evaluating LazyVar failed: error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(35): error evaluating lazy variable: ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(37): circular dependency in lazy evaluation for variable [Set lazyvar.ExtendedErrorMessages for extra trace info]
         stack traceback:
            [C]: in function `error'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(21): in function `Top'
            ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(37): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:37>
            [C]: in function `pcall'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function `Bottom'
            ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(35): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:35>
            [C]: in function `pcall'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
         Stack trace from definition: [Set lazyvar.ExtendedErrorMessages for extra trace info]
         
         stack traceback:
            [C]: in function `error'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(37): in function `Bottom'
            ... alliance\gamedata\mohodata.scd\lua\maui\control.lua(35): in function <... alliance\gamedata\mohodata.scd\lua\maui\control.lua:35>
            [C]: in function `pcall'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(31): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>
         Stack trace from definition: [Set lazyvar.ExtendedErrorMessages for extra trace info]
         
         stack traceback:
            [C]: in function `error'
            ...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua(37): in function <...orged alliance\gamedata\mohodata.scd\lua\lazyvar.lua:18>


That's all for today, I'll post more progress as I go along.

I've tried v4.86 in some versions, jumping works in singleplayer but the ACU's tech level gets stuffed up, the build menu doesn't show, also the actions menu overlaps the info menu. I saw in the logs that some code was attempting to declare nil functions, so it may be a naming change. I'll record my progress more rigorously next time :)
Hexus_One
Crusader
 
Posts: 10
Joined: 07 Oct 2015, 03:26
Has liked: 5 times
Been liked: 2 times
FAF User Name: Hexus_One

Next

Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest