This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
francogp's profile picture

CONFLICT error log

Started by francogp, 01 March 2012 - 02:44 AM
francogp #1
Posted 01 March 2012 - 03:44 AM
[1.3][SMP/SSP]

I have some problem, when i load all my mods, they work fine without errors in the log, but when I use computercraft 1.3, in some point of the starting log i get:

ComputerCraft: turtleBlockID 212
CONFLICT @ -44
ComputerCraft: Searching for RedPowerLib...
ComputerCraft: RedPowerLib and methods located.
ModLoaderMP 1.0.0 Initialized
Mod Initialized: mod_CCTurtle 1.3
Loading ComputerCraft: To change block IDs, modify config/mod_ComputerCraft.cfg
ComputerCraft: computerBlockID 210
ComputerCraft: diskDriveBlockID 211
ComputerCraft: diskItemID 4000
CONFLICT @ -46
CONFLICT @ -45

what are those conflicts? the mod work "fine" but it show conflicts and I dont know if they are interfering normal gaming.
Hawk777 #2
Posted 01 March 2012 - 04:15 AM
I get those too and haven't noticed any trouble.
Casper7526 #3
Posted 01 March 2012 - 04:30 AM


 /**
     * Instantiates a new item.
     *
     * @param i the i
     */
    protected Item(int i)
    {
        maxStackSize = 64;
        maxDamage = 0;
        bFull3D = false;
        hasSubtypes = false;
        containerItem = null;
        potionEffect = null;
        shiftedIndex = 256 + i;
        if (itemsList[256 + i] != null)
        {
            System.out.println((new StringBuilder()).append("CONFLICT @ ").append(i).toString());
        }
        itemsList[256 + i] = this;
    }

I didn't dig very deep into it all, but it's called when a new item is created. I've seen them forever and never experienced issues, someone else is welcome to dig more though.
Hawk777 #4
Posted 01 March 2012 - 05:21 AM
If that's the code in question, and if it's printing out numbers -44, -45, and -46, then those correspond to array elements 256-{44,45,46} which are 210, 211, and 212, which being less than 256 should be block IDs. Personally, I get them at -47, -48, and -49, corresponding to 207, 208, and 209, which for me are the ComputerCraft blocks (computer, disk drive, and turtle respectively). None of my other mods are using those IDs for anything, so this must be something purely internal to ComputerCraft, thus explaining why it doesn't seem to cause any problems (perhaps the items are being registered more than once, so only the last instance works but since they're all the same item it doesn't matter).
francogp #5
Posted 01 March 2012 - 05:58 AM
I change the block ID exclusively to avoid ID collisions with other mods… so computercraft 1.3 is the "problem" (1.2 don't show that conflict)
Casper7526 #6
Posted 01 March 2012 - 04:47 PM
In 1.3 Dan added item versions of the computer and turtle so that they can be labeled and stored.