Commit graph

330 commits

Author SHA1 Message Date
LemADEC
55519c4eb1 Code cleanup 2014-09-11 02:49:15 +02:00
LemADEC
7689e3b68c Fixed controller script showing ratio instead of % 2014-09-07 18:17:23 +02:00
LemADEC
2f887cd8c5 Reformating 2014-09-07 18:10:38 +02:00
LemADEC
95cbc782a4 Code cleanup
Removing dead code (remains from untested features or not wanted in main
branch)
2014-09-07 17:47:13 +02:00
LemADEC
3d1125175b Merge pull request #10 from Cr0s/beta
preparing next pull request
2014-09-07 17:34:47 +02:00
LemADEC
91f90f0526 Removed copy-paste mistake from mcmod.info 2014-09-07 17:26:08 +02:00
LemADEC
492fb6f18e Fixed protocol controller with invalid texture
Fixed protocol controller APIs to check parameters range
Updated protocol controller API to return current values instead of -1
when out of range (making easier LUA scripts)
2014-09-07 17:12:04 +02:00
LemADEC
c81e6ce89c Radar API fix
Fixed radar getResultsCountto return -1 while scanning so we can
actually poll for scan progression
2014-09-07 17:09:27 +02:00
LemADEC
69a01f00e6 Fixed energy exploit
Fixed energy gain when using negative distance in jump core
2014-09-06 19:32:52 +02:00
LemADEC
43653c9edd Warp sound synchronisation fix
Fixed warp sound playing out of sync when toggling long/short jumps (and
other side effects)
Removed debug logs for that investigation
Fixed short jump warmup improperly divided by 3
Code cleanup
2014-09-05 01:56:47 +02:00
LemADEC
8b2a9499cb Radar isolation revamp
Improved radar scan speed slightly on server side
Added configuration for radar isolation feature
Refactored isolation blocks handling
Updated isolation blocks scan to center 1 block above core (for better
buildings)
Added isolation level to right click on warpdrive core (and made it more
robust)
Removed isolation during warpdrive core cooldown
Reduced log spam in debug mode
2014-09-04 03:39:36 +02:00
LemADEC
1a01d877fa Logs cleanup 2014-09-03 02:18:21 +02:00
LemADEC
f0a21c2ff1 Camera registry fixes
Fixed camera registering 60s late
Fixed frequency packets spam
Refactored camera network sending
2014-09-03 01:09:39 +02:00
LemADEC
53082abc1e Stabilisation fixes
Fixed lasercam failing to return result to Computer
Added particle booster fail safe mode on right click and jump when
invalid tile entity found
Added a few logs to investigate jump client/server desync
2014-09-02 00:28:53 +02:00
Cr0s
e958db34f2 Removed copy-paste mistake from mcmod.info 2014-08-30 03:41:10 +04:00
LemADEC
5c595e39b1 Integrated last changes 2014-08-29 19:22:39 +02:00
LemADEC
c73f68569f Disabling get_energy_max to keep client/server sync 2014-08-29 18:10:33 +02:00
LemADEC
cdb2d3badd Better support for core max energy
Added get_energy_max method to protocol to support related configuration
option
Code cleanup (magic numbers)
2014-08-29 16:09:43 +02:00
LemADEC
3ff59754d4 Fix crash with CC accessing registry during jump
Fixed a concurrent access to cores registry between CC and an ongoing
jump
Code cleanup
2014-08-29 16:08:32 +02:00
LemADEC
ddf25d308d Fixed RF energy handling
Improved energy handling readability
Fixed RF energy receiving storing ~16x too much power
Fixed RF energy output consumming ~4x too much power
2014-08-29 04:39:45 +02:00
LemADEC
36544fa1d5 Removing cloaking logs 2014-08-28 21:43:33 +02:00
Cr0s
ce3b6cca7f Merge pull request #41 from LemADEC/master
IC2 reactor dup bug fix, more cloaking fixes
2014-08-28 17:16:03 +04:00
LemADEC
e1afb2822d Fixing lost client proxy 2014-08-28 15:15:35 +02:00
LemADEC
de24ae7f7c Cloaking fixes
Fixed cloak transitions between 2 cloaks
Fixed (un)cloaking placing block above/below world limit
Code cleanup
2014-08-28 15:07:20 +02:00
LemADEC
ce6aa1e99a Another dup bug gone
Fixed dup bug with IC2 reactor chambers
Code cleanup
2014-08-27 22:10:21 +02:00
Cr0s
fa7c6dedd6 Removed experimental stuff: fixed NPE on launch
java.lang.NullPointerException
        at net.minecraft.item.ItemStack.<init>(ItemStack.java:86)
        at net.minecraft.item.ItemStack.<init>(ItemStack.java:81)
        at cr0s.WarpDrive.WarpDrive.initIC2Recipes(WarpDrive.java:573)
        at cr0s.WarpDrive.WarpDrive.postInit(WarpDrive.java:324)
2014-08-27 23:57:06 +04:00
Cr0s
5181537059 Merge pull request #40 from LemADEC/master
All fixes and stable/tested stuff
2014-08-27 20:20:07 +04:00
LemADEC
b76ec1d361 Removing experimental/unstable/untested/debug stuff 2014-08-27 17:36:43 +02:00
LemADEC
a026367d3c Let's merge... 2014-08-27 16:40:13 +02:00
LemADEC
ebd2f81ac6 Merge branch 'Cr0s-master2' 2014-08-27 16:30:22 +02:00
LemADEC
37b0141393 Merge branch 'master' of https://github.com/Cr0s/WarpDrive into Cr0s-master2
Initial merge

Conflicts:
	client/ClientProxy.java
	src/assets/warpdrive/lang/en_US.lang
	src/assets/warpdrive/lua/cloakingdevicecore/cloak1
	src/assets/warpdrive/lua/cloakingdevicecore/cloak2
	src/assets/warpdrive/lua/radar/ping
	src/assets/warpdrive/lua/radar/scan
	src/assets/warpdrive/textures/blocks/transporterTop.png
	src/cr0s/WarpDrive/BlockAirGenerator.java
	src/cr0s/WarpDrive/BlockLift.java
	src/cr0s/WarpDrive/BlockRadar.java
	src/cr0s/WarpDrive/BlockReactor.java
	src/cr0s/WarpDrive/CloakChunkWatcher.java
	src/cr0s/WarpDrive/EntityJump.java
	src/cr0s/WarpDrive/GravityManager.java
	src/cr0s/WarpDrive/PacketHandler.java
	src/cr0s/WarpDrive/SpaceEventHandler.java
	src/cr0s/WarpDrive/TileEntityLaser.java
	src/cr0s/WarpDrive/TileEntityShipScanner.java
	src/cr0s/WarpDrive/WarpDrive.java
	src/cr0s/WarpDrive/WarpDriveConfig.java
	src/cr0s/WarpDrive/WorldGenStation.java
	src/cr0s/WarpDrive/api/IBreathingHelmet.java
	src/cr0s/WarpDrive/block/BlockAir.java
	src/cr0s/WarpDrive/block/BlockGas.java
	src/cr0s/WarpDrive/command/DebugCommand.java
	src/cr0s/WarpDrive/command/GenerateCommand.java
	src/cr0s/WarpDrive/command/JumpgateCommand.java
	src/cr0s/WarpDrive/data/CamRegistry.java
	src/cr0s/WarpDrive/data/CloakManager.java
	src/cr0s/WarpDrive/data/JumpgatesRegistry.java
	src/cr0s/WarpDrive/data/TransitionPlane.java
	src/cr0s/WarpDrive/data/WarpCoresRegistry.java
	src/cr0s/WarpDrive/item/ItemWarpComponent.java
	src/cr0s/WarpDrive/machines/BlockCamera.java
	src/cr0s/WarpDrive/machines/BlockCloakingCoil.java
	src/cr0s/WarpDrive/machines/BlockCloakingDeviceCore.java
	src/cr0s/WarpDrive/machines/BlockLaserCam.java
	src/cr0s/WarpDrive/machines/BlockMonitor.java
	src/cr0s/WarpDrive/machines/BlockParticleBooster.java
	src/cr0s/WarpDrive/machines/BlockPowerLaser.java
	src/cr0s/WarpDrive/machines/BlockPowerReactor.java
	src/cr0s/WarpDrive/machines/BlockShipScanner.java
	src/cr0s/WarpDrive/machines/BlockTransporter.java
	src/cr0s/WarpDrive/machines/TileEntityAbstractMiner.java
	src/cr0s/WarpDrive/machines/TileEntityAirGenerator.java
	src/cr0s/WarpDrive/machines/TileEntityCamera.java
	src/cr0s/WarpDrive/machines/TileEntityCloakingDeviceCore.java
	src/cr0s/WarpDrive/machines/TileEntityLaserReactorMonitor.java
	src/cr0s/WarpDrive/machines/TileEntityLaserTreeFarm.java
	src/cr0s/WarpDrive/machines/TileEntityLift.java
	src/cr0s/WarpDrive/machines/TileEntityMiningLaser.java
	src/cr0s/WarpDrive/machines/TileEntityParticleBooster.java
	src/cr0s/WarpDrive/machines/TileEntityPowerLaser.java
	src/cr0s/WarpDrive/machines/TileEntityPowerReactor.java
	src/cr0s/WarpDrive/machines/TileEntityProtocol.java
	src/cr0s/WarpDrive/machines/TileEntityRadar.java
	src/cr0s/WarpDrive/machines/TileEntityReactor.java
	src/cr0s/WarpDrive/machines/TileEntityTransporter.java
	src/cr0s/WarpDrive/machines/WarpChunkTE.java
	src/cr0s/WarpDrive/machines/WarpEnergyTE.java
	src/cr0s/WarpDrive/machines/WarpTE.java
	src/cr0s/WarpDrive/render/CameraOverlay.java
	src/cr0s/WarpDrive/render/ClientCameraUtils.java
	src/cr0s/WarpDrive/render/EntityCamera.java
	src/cr0s/WarpDrive/world/EntitySphereGen.java
	src/cr0s/WarpDrive/world/HyperSpaceWorldGenerator.java
	src/cr0s/WarpDrive/world/SpaceProvider.java
	src/cr0s/WarpDrive/world/SpaceWorldGenerator.java
	src/cr0s/WarpDrive/world/WorldGenStructure.java
2014-08-27 16:29:30 +02:00
LemADEC
060b907b44 Reactor fix at chunloading
Updated Reactor script to restore its parameters at boot
Updated Reactor script to support warpcore (partial)
2014-08-27 15:34:57 +02:00
Cr0s
97df0feb29 Fixed regression that broke IC2 reactors and some machines
IC2 reactors was fixed in 86e96a43ee but fix is regressed by last pull-requests.
2014-08-27 16:53:59 +04:00
LemADEC
da93b5c2b2 Reactor recipe fix 2014-08-26 22:10:51 +02:00
LemADEC
72ed352b89 Code cleanup 2014-08-26 22:10:39 +02:00
LemADEC
84546c2984 Reactor monitor handling
Integrated default LUA script for monitor handling
2014-08-25 03:13:44 +02:00
LemADEC
29a16fc42d One less dup bug
Fixing a dup bug in the mining laser introduced with the merge
Code cleanup
2014-08-25 03:12:43 +02:00
LemADEC
1290e6f61b Workaround for coil state
Added quick & dirty workaround for cloaking coil not showing as enabled
when resizing field
2014-08-23 17:54:32 +02:00
LemADEC
e7f08e09b1 Mining laser balance pass
Adjusted mining laser default costs in relation to Buildcraft's quarry
2014-08-23 17:07:33 +02:00
LemADEC
8b97caf650 Adding monitor & redstone support 2014-08-23 15:32:45 +02:00
LemADEC
315853551e Missing reactor script
Added missing reactor startup script
Added updater in other supported blocks
2014-08-23 15:10:53 +02:00
LemADEC
9712ff88b0 Merge branch 'master' of https://github.com/YuRaNnNzZZ/WarpDrive
Conflicts:
	src/cr0s/WarpDrive/SpaceEventHandler.java
	src/cr0s/WarpDrive/WarpDrive.java
	src/cr0s/WarpDrive/machines/TileEntityProtocol.java
	src/cr0s/WarpDrive/world/SpaceWorldGenerator.java
2014-08-23 15:04:02 +02:00
LemADEC
1d5e56478e Refactoring configuration, optional LUA scripts
Refactored configuration categories
Fixed duplicated default configuration values
Added configuration to adjust LUA scripts preloaded
Removed dead code
Added a couple missing configuration (laser lift notably)
2014-08-23 14:20:27 +02:00
LemADEC
0b9d2a7cb9 Version bump 2014-08-23 13:22:13 +02:00
LemADEC
781388a59c Missing transportBeacon texture & recipe 2014-08-23 13:17:19 +02:00
LemADEC
1c3f8c7807 Bug fixes & core version bump
Bumped core version due to interfaces changes
Fixed cloaking lua script due to cleanup (frequency isn't needed)
Fixed radar ping script (it would never find anything)
Improved radar scripts to accept any radar connection
Fixed laser lift pushing down entities already on the ground
Fixed laser lift laser effect
2014-08-23 13:04:29 +02:00
LemADEC
c908bd03f5 Items aren't blocks... 2014-08-23 12:57:16 +02:00
LemADEC
c290a7da9c Cleanup 2014-08-23 12:29:51 +02:00
LemADEC
93a3c8087e Adding laserSend event
Adding a 'laserSend' event to the laser
2014-08-23 12:29:35 +02:00
LemADEC
2a88825542 Updated registries to static (?) 2014-08-23 12:28:48 +02:00