Jump to content




[CC1.53][MC1.5.2] MiscPeripherals 3.3

turtle peripheral help peripheral

  • This topic is locked This topic is locked
1238 replies to this topic

#801 ZeePal

  • Members
  • 12 posts

Posted 28 March 2013 - 06:35 PM

Another note is it possible to be able to have events trigger if a pipe,machine etc adds more onto the stack already in the sorting machine? (eg 1 dirt in then pipe adds another then another then another (in this case u currently only get 1 event with the incorrect amount (starts correct but then is wrong in the next server tick)))

If not could you please add a command so you can check if there is anything in the sorting machine without having to use an event to get the details or putting it in a buffer check and back out again?

#802 grand_mind1

  • Members
  • 207 posts

Posted 29 March 2013 - 04:30 PM

Hey, any chance we could get a Portable Hole Turtle?

#803 ScruffyRules

  • Members
  • 98 posts

Posted 29 March 2013 - 08:20 PM

View Postgrand_mind1, on 29 March 2013 - 04:30 PM, said:

Hey, any chance we could get a Portable Hole Turtle?
Would it work on its own with turtle.place()?

#804 koekje00

  • Members
  • 2 posts

Posted 30 March 2013 - 01:45 AM

Also, there seems to be an issue with MiscPeripherals 3.2b1 and The Barrels Mod.
Only up to 3 stacks can be stored in a barrel when using the interactive sorter; the rest just drops onto the ground.
This doesn't happen when using other means of transportation like pipes or hoppers (BuildCraft/Vanilla).

#805 MindenCucc

  • Members
  • 179 posts
  • Location/home/marcus/

Posted 30 March 2013 - 01:46 AM

Hello! I have a problem with iron note blocks. If i run my clock, it throws an error:
clk2:92: too many notes ( over 5 per tick )
Here is my code snippet:
note=peripheral.wrap("top")

function n(...)
note.playNote(...)
end


for k=18,6,-1 do
n(0,k)
n(4,k)
end

EDIT: Can i configure this somehow?

#806 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 30 March 2013 - 04:33 AM

View PostMindenCucc, on 30 March 2013 - 01:46 AM, said:

Hello! I have a problem with iron note blocks. If i run my clock, it throws an error:
-snip-
EDIT: Can i configure this somehow?
you need some sort of deley betweeen those n calls
use:
sleep(0.2)
after all of them

#807 MindenCucc

  • Members
  • 179 posts
  • Location/home/marcus/

Posted 30 March 2013 - 05:58 AM

View PostPixelToast, on 30 March 2013 - 04:33 AM, said:

you need some sort of deley betweeen those n calls
use:
sleep(0.2)
after all of them

Thanks, but i really need to somehow disable this limitation.

#808 MrFaul

  • Members
  • 4 posts

Posted 31 March 2013 - 05:18 AM

MindenCucc your code snipped tries to play 12 notes with two different instruments at once, witch resembles 24 different sounds in one tick.
1st: that has to sound awful
2nd: if you trying that on a server with moody admins who care about performance... well just don't....
3rd: i don't think that you actually want to play them simultaneously

so just add the "sleep(0.2)" before the "end" and it will work like PixelToast suggested.

I wrote a poor half ass midi player witch uses five Iron Note Blocks (25 possible n/t) and let me tell you, i restricted it to 5 notes simultaneously because it starts (besides cords) to be annoying if you use more.

#809 Ville Saari

  • Members
  • 14 posts

Posted 31 March 2013 - 07:07 AM

I made a video that demonstrates the inventory module item dupe exploit I described a few days ago.



I try to suck() a stack of two diamonds from the chest without supplying the 'amount' parameter. Function returns true, but nothing will appear in turtle inventory. Only one diamond is left in the chest, but this is not a normal diamond. I try to add another to the stack and the stack size suddenly explodes to over two billion. The slot holds only 64, so the rest will hang in my mouse.

This stack is too big to fit in any inventory, so the only way to get rid of it is to throw it out into the world. In the world it will completely fill any player's inventory who enters the item pickup range, so I can repeatedly empty my full inventory of diamonds into an extradimensional barrel and it gets full very quickly.

#810 ilgazzi

  • Members
  • 12 posts

Posted 31 March 2013 - 10:42 AM

hey richard can you add a shield upgrade that makes the turtle blastproof

#811 Nathan1852

  • Members
  • 30 posts

Posted 31 March 2013 - 10:47 AM

@ ilgazzi
There is one already in this mod...


View PostRichardG867, on 30 September 2012 - 01:30 PM, said:

Shield Upgrade (coremod only)
Craft a Turtle alongside one of the blocks listed below to get a Shielded Turtle. Shields work as blast-proofing for the turtle, inheriting the blast resistance of the block.
The blocks are:
  • Obsidian (REMOVED when IC2 is installed)
  • Reinforced Stone (IC2)
  • Iridium Block (GregTech)
  • Tungsten Steel Block (GregTech)
  • Iridium-Reinforced Tungsten Steel Block (GregTech)

Edited by Nathan1852, 31 March 2013 - 10:50 AM.


#812 ilgazzi

  • Members
  • 12 posts

Posted 31 March 2013 - 11:25 AM

ı didnt know thAt

#813 ilgazzi

  • Members
  • 12 posts

Posted 31 March 2013 - 11:32 AM

thanks

#814 schilcote

  • Members
  • 9 posts

Posted 31 March 2013 - 04:54 PM

Having a chair peripheral that lets you ride the turtle would be awesome.

#815 grand_mind1

  • Members
  • 207 posts

Posted 31 March 2013 - 08:42 PM

View PostVille Saari, on 31 March 2013 - 07:07 AM, said:

I made a video that demonstrates the inventory module item dupe exploit I described a few days ago.

--snip--

I try to suck() a stack of two diamonds from the chest without supplying the 'amount' parameter. Function returns true, but nothing will appear in turtle inventory. Only one diamond is left in the chest, but this is not a normal diamond. I try to add another to the stack and the stack size suddenly explodes to over two billion. The slot holds only 64, so the rest will hang in my mouse.

This stack is too big to fit in any inventory, so the only way to get rid of it is to throw it out into the world. In the world it will completely fill any player's inventory who enters the item pickup range, so I can repeatedly empty my full inventory of diamonds into an extradimensional barrel and it gets full very quickly.
I... I don't understand... I.. I have infinite diamonds for ever!!!!! But, on topic, I tested this as well and it does seem to behave the same. I honestly don't understand how something like that could even happen...

#816 Ville Saari

  • Members
  • 14 posts

Posted 31 March 2013 - 10:09 PM

View Postgrand_mind1, on 31 March 2013 - 08:42 PM, said:

I... I don't understand... I.. I have infinite diamonds for ever!!!!! But, on topic, I tested this as well and it does seem to behave the same. I honestly don't understand how something like that could even happen...
I guess what actually happens is that the suck() without amount parameter is causing miscperipherals to try to extract invalid number of items from the chest (like a negative value or more than there is), which messes up the size of the item stack in the chest. And then this invalid stack size in the chest causes weird results when the player interacts with it.

Edit: I did some experiments and apparently the 'charged' diamond stack in the chest that looks like a single item is actually a stack of -2147483646 diamonds. That's the original stack size (2) with the sign bit flipped. If I try to suck() it again, the bit flips again and it becomes a regular stack of two diamonds. Also if I exit and reload the world, the bit gets reset and it becomes a regular stack.

#817 RichardG867

  • Members
  • 196 posts

Posted 02 April 2013 - 05:57 AM

BEFORE REPORTING INTERACTIVE SORTER ISSUES, MAKE SURE THEY STILL EXIST IN THE BETA FOR 1.5.

Thank you.

#818 Ville Saari

  • Members
  • 14 posts

Posted 02 April 2013 - 08:22 AM

View PostRichardG867, on 02 April 2013 - 05:57 AM, said:

BEFORE REPORTING INTERACTIVE SORTER ISSUES, MAKE SURE THEY STILL EXIST IN THE BETA FOR 1.5.
Thank you.

Do you intend to backport your bug fixes to 1.4.7 version?

#819 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 02 April 2013 - 09:01 AM

That would be unlikely. That would require maintaining two versions. Ain't nobody got time for that!

#820 kurokuno

  • New Members
  • 2 posts

Posted 02 April 2013 - 04:56 PM

small issue with the new beta build not sure the cause!

2013-04-02 14:59:59 [INFO] [STDERR] Exception in thread "Minecraft main thread" java.lang.NoClassDefFoundError: miscperipherals/item/ItemMulti
2013-04-02 14:59:59 [INFO] [STDERR] at java.lang.Class.forName0(Native Method)
2013-04-02 14:59:59 [INFO] [STDERR] at java.lang.Class.forName(Unknown Source)
2013-04-02 14:59:59 [INFO] [STDERR] at cpw.mods.fml.common.FMLModContainer.constructMod(FMLModContainer.java:446)
2013-04-02 14:59:59 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-04-02 14:59:59 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-04-02 14:59:59 [INFO] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-04-02 14:59:59 [INFO] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
2013-04-02 14:59:59 [INFO] [STDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-04-02 14:59:59 [INFO] [STDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-04-02 14:59:59 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
2013-04-02 14:59:59 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-04-02 14:59:59 [INFO] [STDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-04-02 14:59:59 [INFO] [STDERR] at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:165)
2013-04-02 14:59:59 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2013-04-02 14:59:59 [INFO] [STDERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2013-04-02 14:59:59 [INFO] [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2013-04-02 14:59:59 [INFO] [STDERR] at java.lang.reflect.Method.invoke(Unknown Source)
2013-04-02 14:59:59 [INFO] [STDERR] at com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:74)
2013-04-02 14:59:59 [INFO] [STDERR] at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45)
2013-04-02 14:59:59 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatch(EventBus.java:314)
2013-04-02 14:59:59 [INFO] [STDERR] at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:296)
2013-04-02 14:59:59 [INFO] [STDERR] at com.google.common.eventbus.EventBus.post(EventBus.java:267)
2013-04-02 14:59:59 [INFO] [STDERR] at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:98)
2013-04-02 14:59:59 [INFO] [STDERR] at cpw.mods.fml.common.Loader.loadMods(Loader.java:503)
2013-04-02 14:59:59 [INFO] [STDERR] at cpw.mods.fml.client.FMLClientHandler.beginMinecraftLoading(FMLClientHandler.java:160)
2013-04-02 14:59:59 [INFO] [STDERR] at net.minecraft.client.Minecraft.func_71384_a(Minecraft.java:407)
2013-04-02 14:59:59 [INFO] [STDERR] at net.minecraft.client.MinecraftAppletImpl.func_71384_a(SourceFile:56)
2013-04-02 14:59:59 [INFO] [STDERR] at net.minecraft.client.Minecraft.run(Minecraft.java:729)
2013-04-02 14:59:59 [INFO] [STDERR] at java.lang.Thread.run(Unknown Source)
2013-04-02 14:59:59 [INFO] [STDERR] Caused by: java.lang.ClassNotFoundException: miscperipherals.item.ItemMulti
2013-04-02 14:59:59 [INFO] [STDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:211)
2013-04-02 14:59:59 [INFO] [STDERR] at java.lang.ClassLoader.loadClass(Unknown Source)
2013-04-02 14:59:59 [INFO] [STDERR] at java.lang.ClassLoader.loadClass(Unknown Source)
2013-04-02 14:59:59 [INFO] [STDERR] ... 29 more
2013-04-02 14:59:59 [INFO] [STDERR] Caused by: java.lang.VerifyError: Cannot inherit from final class
2013-04-02 14:59:59 [INFO] [STDERR] at java.lang.ClassLoader.defineClass1(Native Method)
2013-04-02 14:59:59 [INFO] [STDERR] at java.lang.ClassLoader.defineClassCond(Unknown Source)
2013-04-02 14:59:59 [INFO] [STDERR] at java.lang.ClassLoader.defineClass(Unknown Source)
2013-04-02 14:59:59 [INFO] [STDERR] at java.security.SecureClassLoader.defineClass(Unknown Source)
2013-04-02 14:59:59 [INFO] [STDERR] at cpw.mods.fml.relauncher.RelaunchClassLoader.findClass(RelaunchClassLoader.java:200)
2013-04-02 14:59:59 [INFO] [STDERR] ... 31 more





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users