Jump to content




Quadracoptors 0.2.0 [MC 1.7.10 | CC 1.65+]


90 replies to this topic

#81 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 28 December 2015 - 04:40 PM

The second one would override the previous one. Sorry for the confusion.

I'll try to spin up Minecraft tonight and do some testing and fix the bugs with the filters. Thanks for checking it out!

#82 SquaredBytes

  • Members
  • 7 posts

Posted 28 December 2015 - 05:44 PM

Here's a stacktrace :
java.lang.NullPointerException:
Ticking entity
	at quadracoptors.common.actions.ActionSuck.suckItemsFromWorld(ActionSuck.java:52)
	at quadracoptors.common.actions.ActionSuck.performAction(ActionSuck.java:162)
	at quadracoptors.common.entity.QuadracoptorEntityBase.func_70619_bc(QuadracoptorEntityBase.java:246)
	at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:1774)
	at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:367)
	at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1611)
	at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:206)
	at quadracoptors.common.entity.QuadracoptorEntityBase.func_70071_h_(QuadracoptorEntityBase.java:190)
	at quadracoptors.common.entity.QuadracoptorEntityItems.func_70071_h_(QuadracoptorEntityItems.java:147)
	at net.minecraft.world.World.func_72866_a(World.java:2070)
	at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:648)
	at net.minecraft.world.World.func_72870_g(World.java:2034)
	at WorldServerOF.func_72870_g(WorldServerOF.java:347)
	at net.minecraft.world.World.func_72939_s(World.java:1887)
	at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:636)
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:547)
	at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:186)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:427)
	at net.minecraft.server.MinecraftServer$2.run(MinecraftServer.java:685)

Do you want a second pair of eyes ?

#83 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 29 December 2015 - 03:05 AM

Okay, I've fixed a couple bugs and have tested both container and world sucking, and they appear to work correctly. There's a new preview build available including these fixes. Let me know if you find any other issues and I'll push the update! :)

#84 SquaredBytes

  • Members
  • 7 posts

Posted 01 January 2016 - 02:55 PM

OK, the previous bugs have not showed up yet :)

However a new challenger appears !

The game freezes for half a second and crash when the filter is set to an item not present in the container.

I think the quaddy may be looping endlessly in the container slots. ( overflow bug ? )


-- Head --
Stacktrace:
	at quadracoptors.common.util.InventoryUtils.pullFromDirection(InventoryUtils.java:164)
	at quadracoptors.common.actions.ActionSuck.suckItemsFromInventory(ActionSuck.java:76)
	at quadracoptors.common.actions.ActionSuck.performAction(ActionSuck.java:162)
	at quadracoptors.common.entity.QuadracoptorEntityBase.func_70619_bc(QuadracoptorEntityBase.java:246)
	at net.minecraft.entity.EntityLivingBase.func_70636_d(EntityLivingBase.java:1774)
	at net.minecraft.entity.EntityLiving.func_70636_d(EntityLiving.java:367)
	at net.minecraft.entity.EntityLivingBase.func_70071_h_(EntityLivingBase.java:1611)
	at net.minecraft.entity.EntityLiving.func_70071_h_(EntityLiving.java:206)
	at quadracoptors.common.entity.QuadracoptorEntityBase.func_70071_h_(QuadracoptorEntityBase.java:190)
	at quadracoptors.common.entity.QuadracoptorEntityItems.func_70071_h_(QuadracoptorEntityItems.java:147)
	at net.minecraft.world.World.func_72866_a(World.java:2070)
	at net.minecraft.world.WorldServer.func_72866_a(WorldServer.java:648)
	at net.minecraft.world.World.func_72870_g(World.java:2034)
	at WorldServerOF.func_72870_g(WorldServerOF.java:347)

-- Entity being ticked --
Details:
	Entity Type: Quadracoptors.Items Quadracoptor (quadracoptors.common.entity.QuadracoptorEntityItems)
	Entity ID: 15068
	Entity Name: entity.Quadracoptors.Items Quadracoptor.name
	Entity's Exact location: 202,50, 76,81, 254,41
	Entity's Block location: World: (202,76,254), Chunk: (at 10,4,14 in 12,15; contains blocks 192,0,240 to 207,255,255), Region: (0,0; contains chunks 0,0 to 31,31, blocks 0,0,0 to 511,255,511)
	Entity's Momentum: 0,01, 0,01, 0,05
Stacktrace:
	at net.minecraft.world.World.func_72939_s(World.java:1887)
	at net.minecraft.world.WorldServer.func_72939_s(WorldServer.java:489)

Also, I often wanted to delay the actions of the drone; so I suggest to either remove the requirement of the "hover" command so it can be used everywhere, or introduce a "wait" command functioning similarly.

PS :
Happy new year everyone! :D

Edited by SquaredBytes, 01 January 2016 - 02:57 PM.


#85 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 05 January 2016 - 03:24 PM

That's odd. I had tested the item-not-present case and it worked fine. What was the filter you used, if you can remember?

I'll consider a wait command, but I'm a little reluctant to add it.

#86 SquaredBytes

  • Members
  • 7 posts

Posted 05 January 2016 - 05:51 PM

After some tests,

I filled a chest with stone ( 1 per slot ) and picked them up using
"filter",
"suck 1"
28 times ( number of slots + 1 )
No error.

I repeated this procedure using "filter minecraft:stone"
and ended with an error past the first slot.


View PostLyqyd, on 05 January 2016 - 03:24 PM, said:

I'll consider a wait command, but I'm a little reluctant to add it.
Why the reluctance ?
I don't see any issue with it, but my ideas about the mod may not be yours.

And 'thank you' for your work :)

#87 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 07 February 2016 - 07:31 PM

Yikes, hadn't realized it had been a whole month since I last put out a build. Here's what should be the final preview build for the filter feature. I've tested it, and it correctly handles empty slots in chests.

The reluctance on adding the wait command is that I'd rather not let the quads just hover indefinitely. I'm still thinking about it. Is there any particular use case where the ability to wait anywhere would be required?

#88 KnightMiner

  • Members
  • 61 posts
  • Locationattempt to index "location" (a nil value)

Posted 08 February 2016 - 05:51 PM

I've been working on a modpack and have had trouble finding an item/fluid transport system that is not tied to a large tech mod, and this mod is exactly what I was looking for! It perfectly fits the theme of automation using ComputerCraft, and those quadracoptors look so cool, so a big thanks for making this mod!

Do you have any plans to upload the mod to CurseForge? I've been using the CurseVoice client to make mod downloading and updating quite a bit easier on myself, and it only supports mods on the CurseForge website (plus, from my own mod and resource packs I can vouch that the website is very intuitive for mod creators)

Edited by KnightMiner, 08 February 2016 - 06:01 PM.


#89 Sebra

  • Members
  • 726 posts

Posted 06 March 2016 - 08:31 PM

If this addon ever updates, would it update to 1.8.9?

View PostLyqyd, on 30 September 2014 - 03:44 AM, said:

Fluids inside a fluid quadracoptor would be destroyed when knocked down, sadly (though I do plan on fixing this at some point).
If you give each liquid quadracoptor own bucket you can drop filled bucket and item version of coptor.

Also is it possible to make Quadracoptor to be the Peripheral for Pocket Computer it holds?

Edited by Sebra, 06 March 2016 - 08:31 PM.


#90 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 06 March 2016 - 08:52 PM

Dropping a filled bucket item isn't a bad idea. I'll look into what that would take. The next update (which I need to get around to uploading and publishing) is for 1.7.10, and adds the filtering feature discussed above. At some point, I will be updating my mods to 1.8.9, but I haven't gotten to a point yet where I'm ready to buckle down and get them updated.

As for the pocket computer idea, I'm not sure ComputerCraft's API would allow for that to happen. I don't think there's a way to add peripheral interfaces to the pocket computers, nor is there a way to make them run outside of player inventories, as far as I'm aware.

#91 flaunting

  • Members
  • 15 posts

Posted 25 April 2016 - 12:22 PM

Is there any chance of this being updated to 1.8.9 as I am doing a lets play with just cc and cc addons and I would like better item transport
Edit: sorry just read previous

Edited by flaunting, 25 April 2016 - 12:22 PM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users