No description
Find a file
kouteiheika 1ec990d0c8 Bulletproof the Box class against accidental world corruption and bugs.
In some rare cases the Box's initialize() may be supplied with
coordinates equal to INT_MAX while theoretically being initialized.
Normally this would be harmless, as with every coordinate being
INT_MAX the resulting box's dimensions are zero, however anywhere
where one of the coordinates is actually used in a loop with a
"i <= coord" condition the loop counter will overflow and bad things
will happen, e.g. in FillerFlattener.iteratePattern, where
I encountered this bug, an array will overflow and take down the
whole game with it resulting in a corrupted world. (As broken INT_MAX
coordinates will get saved in NBT tags.)
2013-02-23 17:07:44 +01:00
buildcraft_resources 3.4.2 build. 2013-01-26 17:28:20 +01:00
common/buildcraft Bulletproof the Box class against accidental world corruption and bugs. 2013-02-23 17:07:44 +01:00
.classpath Item Facades now use the IMC comms system to know about custom facade 2012-10-24 21:57:31 -04:00
.gitattributes Cached Orientations arrays for perf improvements 2012-10-27 22:50:03 -07:00
.gitignore Updated /build.xml for 1.4.7, allows recompiling without full forge setup. 2013-01-04 02:21:25 +00:00
.project Item Facades now use the IMC comms system to know about custom facade 2012-10-24 21:57:31 -04:00
build.xml Update project version in /build.xml 2013-02-09 20:31:40 +00:00
README.md Typos fixed. 2013-02-14 12:45:40 +01:00

Welcome to Buildcraft on GitHub

Contributing

If you wish to submit a pull request to fix bugs or broken behaviour feel free to do so. If you would like to add features or change existing behaviour or balance, please discuss it with Sengir or Krapht before submiting the pull request.

Compiling and packaging Buildcraft

  1. Ensure that Apache Ant (found here) is installed correctly on your system.
  • Linux users will need the latest version of astyle installed as well.
  1. Create a base directory for the build
  2. Clone the Buildcraft repository into basedir/BuildCraft/
  • Optional: Copy BuildCraft localization repository into basedir/BuildCraft-Localization
  1. Copy the minecraft bin dir and minecraft_server.jar into basedir/jars/
  2. Navigate to basedir/Buildcraft in a shell and run ant (this will take 2-5 minutes)
  3. The compiled and obfuscated jar will be in basedir/build/dist

Your directory structure should look like this:


basedir
\- jars
 |- minecraft_server.jar
 \- bin
  |- minecraft.jar
  |- ...
\- BuildCraft
 |- buildcraft_resources
 |- common
 |- ...
\- BuildCraft-Localization
 |- lang

Localizations

Localizations can be submitted here. Localization PRs against this repository will have to be rejected.