Mod Merg help

+
Mod Merg help

I keep getting this after merging w3ee and autoloot configurable all-in-one. When merging there was a confict but I set it to give it to autoloot.

Error [mod0000_mergedfiles]game\gameplay\containers\container.ws(1092): Found unexpected '}'
 
I just looked at the scripts, and you'll need to merge them manually.

KDiff3 is not merging correctly.

KDiff3 is producing this:

Code:
public final function ShowLoot()
    {
        var lootData : W3LootPopupData;

        // AeroHD -- AutoLootMenu++
        if( GetWitcherPlayer().GetAutoLootConfig().GetActions().ProcessContainer(this) )
        // W3EE - Begin
        if( (W3Herb)this )
        {
            Alchemy().PerformLootingAnimation(this);
            return;
        }
        // W3EE - End

            lootData = new W3LootPopupData in this;

            lootData.targetContainer = this;

            if(!mergeNotification)
                theGame.RequestPopup('LootPopup', lootData);
        }
        // AeroHD -- AutoLootMenu--
    }

Whereas it should be this:

Code:
public final function ShowLoot()
    {
        var lootData : W3LootPopupData;

        // W3EE - Begin
        if( (W3Herb)this )
        {
            Alchemy().PerformLootingAnimation(this);
            return;
        }
        // W3EE - End

        // AeroHD -- AutoLootMenu++
        if( GetWitcherPlayer().GetAutoLootConfig().GetActions().ProcessContainer(this) )


            lootData = new W3LootPopupData in this;

            lootData.targetContainer = this;

            if(!mergeNotification)
                theGame.RequestPopup('LootPopup', lootData);
        }
        // AeroHD -- AutoLootMenu--
    }

Hope this helps
 
Now it says Error [mod0000_mergedfiles]game\gameplay\containers\container.ws(1096): Found unexpected '}'

It says 1096 instead of 1092.

I copied your code exactly.
 

Attachments

  • Screenshot (1).png.jpg
    Screenshot (1).png.jpg
    119.9 KB · Views: 231
ah, whoops, you also need to also add an open curly bracket for the if statement.

Code:
if( GetWitcherPlayer().GetAutoLootConfig().GetActions().ProcessContainer(this) )
{
 
Top Bottom