Author Topic: What causes addon incompatibility?  (Read 969 times)

In Minecraft, issue's with block ID's can cause mod's to break each other. What about Blockland? The last addon that broke Blockland for me was years ago, but people still seem to have the problem. Are coders trying to avoid this? Is it an easy fix?

The variables are usually limited to the functions in which the add-ons are built in. Also you can package functions, can call the parent functions to prevent overwrites, but also add to the original function. Usually a default function in most cases.

Another thing is that servers tend not to have duplicate add-ons that do the same thing. For example:

A server should not have...
Server_Flashlight
Weapon_Flashlight

at the same time.

There are several ways add-ons can be incompatible with each other.

- They use datablocks with the same name.
- They use bricks with the same uiname.
- They both have a function with the same name, so only the last executed add-on works.
- Both add-ons try to change something, for example if both add-ons want to replace a gui then that will lead to problems.
- An add-on overwrites a default function that another add-on depends on.
- etc

issue's ID's mod's
god damn what the forget

Anyways, the thing that usually breaks add-ons is datablocks overlapping or things having similar filenames.

Overwriting datablocks is the primary cause for incompatabilities. However, in a rare case, a mod may overwrite a default function by mistake, which would essentially break everything that uses that function. One forgotten line of code and bam, almost every weapon will shoot the same projectile, if they even function at all.


However, in a rare case, a mod may overwrite a default function by mistake, which would essentially break everything that uses that function. One forgotten line of code and bam, almost every weapon will shoot the same projectile, if they even function at all.
Not always 'by mistake'. Sometimes default functions have to be replaced or removed for the purpose of an add-on. But if some other add-on depends on that function, then it won't work either.

Probably Obamacare. And same ID in datablocks