Help with fixing fiery explosions

Everything about mods can be found here.

Help with fixing fiery explosions

Postby Diarr » 13 Jan 2018, 01:44

So since fiery explosions doesn't seem to work anymore with the current FAF(after loading the Commander doesn't spawn, only the unit selection is visible and every tech is unlocked), and the original mod author seems to be inactive, I tried to fix it but I'm currently stuck with this error: (more down below)
Code: Select all
WARNING: ...data\faforever\gamedata\lua.nx2\lua\system\class.lua(147): field 'OnTransportAttach' is ambiguous in class definition
WARNING: stack traceback:
WARNING:         [C]: in function `error'
WARNING:         ...data\faforever\gamedata\lua.nx2\lua\system\class.lua(147): in function <...data\faforever\gamedata\lua.nx2\lua\system\class.lua:125>
WARNING:         ...data\faforever\gamedata\lua.nx2\lua\system\class.lua(154): in function <...data\faforever\gamedata\lua.nx2\lua\system\class.lua:125>
WARNING:         ...data\faforever\gamedata\lua.nx2\lua\system\class.lua(165): in function <...data\faforever\gamedata\lua.nx2\lua\system\class.lua:160>
WARNING:         ...data\faforever\gamedata\lua.nx2\lua\system\class.lua(212): in function <...data\faforever\gamedata\lua.nx2\lua\system\class.lua:208>
WARNING:         ...data\faforever\gamedata\lua.nx2\lua\defaultunits.lua(1844): in main chunk
WARNING:         [C]: in function `doscript'
WARNING:         [C]: in function `pcall'
WARNING:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
WARNING:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
WARNING:         ...\gamedata\units.nx2\units\ual0001\ual0001_script.lua(11): in main chunk
WARNING:         [C]: in function `doscript'
WARNING:         [C]: in function `pcall'
WARNING:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
WARNING:         [C]: in function `CreateInitialArmyUnit'
WARNING:         ...rever\gamedata\lua.nx2\lua\sim\scenarioutilities.lua(334): in function `CreateInitialArmyGroup'
WARNING:         ...rever\gamedata\lua.nx2\lua\sim\scenarioutilities.lua(481): in function `InitializeArmies'
WARNING:         ...er forged alliance\maps\scmp_009\scmp_009_script.lua(4): in function `OnPopulate'
WARNING:         ...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua(232): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua:223>
WARNING:         ...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua(357): in function `BeginSession'
WARNING: ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): Error importing '/lua/defaultunits.lua'
WARNING: stack traceback:
WARNING:         [C]: in function `error'
WARNING:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
WARNING:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(37): in function `import'
WARNING:         ...\gamedata\units.nx2\units\ual0001\ual0001_script.lua(11): in main chunk
WARNING:         [C]: in function `doscript'
WARNING:         [C]: in function `pcall'
WARNING:         ...alliance\gamedata\mohodata.scd\lua\system\import.lua(48): in function `import'
WARNING:         [C]: in function `CreateInitialArmyUnit'
WARNING:         ...rever\gamedata\lua.nx2\lua\sim\scenarioutilities.lua(334): in function `CreateInitialArmyGroup'
WARNING:         ...rever\gamedata\lua.nx2\lua\sim\scenarioutilities.lua(481): in function `InitializeArmies'
WARNING:         ...er forged alliance\maps\scmp_009\scmp_009_script.lua(4): in function `OnPopulate'
WARNING:         ...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua(232): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua:223>
WARNING:         ...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua(357): in function `BeginSession'
WARNING: Error importing /units/ual0001/ual0001_script.lua:
         Error importing '/units/ual0001/ual0001_script.lua'
         stack traceback:
            [C]: in function `error'
            ...alliance\gamedata\mohodata.scd\lua\system\import.lua(52): in function `import'
            [C]: in function `CreateInitialArmyUnit'
            ...rever\gamedata\lua.nx2\lua\sim\scenarioutilities.lua(334): in function `CreateInitialArmyGroup'
            ...rever\gamedata\lua.nx2\lua\sim\scenarioutilities.lua(481): in function `InitializeArmies'
            ...er forged alliance\maps\scmp_009\scmp_009_script.lua(4): in function `OnPopulate'
            ...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua(232): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua:223>
            ...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua(357): in function `BeginSession'
INFO: Problems loading module '/units/ual0001/ual0001_script.lua'.  Falling back to 'Unit' in '/lua/sim/unit.lua'.
DEBUG: Loading module '\000/lua/sim/navigator.lua\000'
DEBUG: Loading module '\000/lua/sim/weapon.lua\000'
INFO: Hooked /lua/sim/weapon.lua with /schook/lua/sim/weapon.lua
DEBUG: Loading module '\000/lua/sim/nukedamage.lua\000'
DEBUG: Loading module '\000/lua/armordefinition.lua\000'
WARNING: BeginSession() failed: ...rever\gamedata\lua.nx2\lua\sim\scenarioutilities.lua(343): attempt to call method `RotateTowardsMid' (a nil value)
         stack traceback:
            ...rever\gamedata\lua.nx2\lua\sim\scenarioutilities.lua(343): in function `CreateInitialArmyGroup'
            ...rever\gamedata\lua.nx2\lua\sim\scenarioutilities.lua(481): in function `InitializeArmies'
            ...er forged alliance\maps\scmp_009\scmp_009_script.lua(4): in function `OnPopulate'
            ...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua(232): in function <...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua:223>
            ...ogramdata\faforever\gamedata\lua.nx2\lua\siminit.lua(357): in function `BeginSession'

So anybody here that knows what causes those warnings? I need those over the top effects
Diarr
 
Posts: 3
Joined: 13 Jan 2018, 01:31
Has liked: 0 time
Been liked: 0 time
FAF User Name: Diarr

Re: Help with fixing fiery explosions

Postby Sprouto » 13 Jan 2018, 01:51

I hate to be the bearer of bad news, but you have far more than one or two problems there.

You're generating all manner of class related errors, which at minimum, means your looking at some rather extensive editing just to get it near functional, let alone the missing methods. I"m not familiar with this mod, but I imagine it would need to be torn down, and rebuilt from the ground up.
Sprouto
Avatar-of-War
 
Posts: 267
Joined: 08 Sep 2012, 05:40
Has liked: 49 times
Been liked: 57 times
FAF User Name: Sprouto

Re: Help with fixing fiery explosions

Postby Diarr » 13 Jan 2018, 01:57

Sprouto wrote:I hate to be the bearer of bad news, but you have far more than one or two problems there.

You're generating all manner of class related errors, which at minimum, means your looking at some rather extensive editing just to get it near functional, let alone the missing methods. I"m not familiar with this mod, but I imagine it would need to be torn down, and rebuilt from the ground up.

Ah bummer, but that's weird because I spoke with the author once and when he tried it with FAF it worked fine for him, but alot of people have this error, that the commander doesn't spawn etc.
Diarr
 
Posts: 3
Joined: 13 Jan 2018, 01:31
Has liked: 0 time
Been liked: 0 time
FAF User Name: Diarr

Re: Help with fixing fiery explosions

Postby Diarr » 13 Jan 2018, 02:10

oh nvm I'm retarded, the author is still working on it. So this thing here can be closed
Diarr
 
Posts: 3
Joined: 13 Jan 2018, 01:31
Has liked: 0 time
Been liked: 0 time
FAF User Name: Diarr

Re: Help with fixing fiery explosions

Postby REPELLERCOM » 17 Jan 2018, 03:27

Hello i have my own mode and the part to do with the commander not spawning and having every tech level is in my mod and i wish to fix this but it appears to be a problem related with something that has relatively reluctantly been changed in the FAF lorncher as it wont work in any of the versions of FAF or any other lornch choice leading me to bleave its some spawning code change is on FAF's side but i dont know here to starts to fix this or how? if anyone can help me much appreciated i am in the FAF discord surver if you wish to contact me
REPELLERCOM
 
Posts: 5
Joined: 17 Jan 2018, 03:01
Has liked: 0 time
Been liked: 0 time
FAF User Name: REPELLERCOM


Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest