Jump to content




printer peripheral [CC 1.48/1.481][MC 1.4.6/1.4.7] ccPrinter is back (need bukkit porter)

peripheral

130 replies to this topic

#81 FuzzyPurp

    Part-Time Ninja

  • Members
  • 510 posts
  • LocationHarlem, NY

Posted 09 August 2012 - 08:56 PM

Awesome addon!

#82 DerrikeG

  • New Members
  • 11 posts

Posted 12 August 2012 - 09:35 AM

When I wrap the peripheral, it doesn't seem to expose all of the methods that the peripheral has available. I set up a printer next to a computer and wrapping it only exposed: getCapacity, getContent, draw, eject, getInkLevels, and scan. It's possible that my config is messed up but those are terribly strange default behaviors if that's the case.

#83 Lionblaze

  • New Members
  • 2 posts

Posted 15 August 2012 - 04:54 AM

when I try to print like charactersand text, it says either or Bad argument string expected, got nil and I typed it in right. Can you post an example of each function so that we know how to use them correctly? The ones you have provided are not working correctly for me. I did what you said, and thats the error I got. Pleas respond ASAP.

#84 Lionblaze

  • New Members
  • 2 posts

Posted 16 August 2012 - 07:18 PM

Nvm I fixed it I was just doin it wrong.

#85 FuzzyPurp

    Part-Time Ninja

  • Members
  • 510 posts
  • LocationHarlem, NY

Posted 16 August 2012 - 09:20 PM

I made sphax textures for this, not final yet.
Posted Image

#86 FuzzyPurp

    Part-Time Ninja

  • Members
  • 510 posts
  • LocationHarlem, NY

Posted 18 August 2012 - 12:14 AM

I made Sphax support for this addon
http://www.mediafire...9o51v9d889ib46t

image above

#87 johnbanq

  • Members
  • 12 posts
  • LocationHongkong

Posted 20 August 2012 - 12:21 PM

may i ask for a update? :D/>
[computercraft1.4 is out,and i think it didnt update)

#88 Xfel

    Peripheral Designer

  • Members
  • 515 posts

Posted 20 August 2012 - 02:52 PM

cc 1.4 will work if cc 1.3 did work

#89 johnbanq

  • Members
  • 12 posts
  • LocationHongkong

Posted 20 August 2012 - 04:02 PM

View PostXfel, on 20 August 2012 - 02:52 PM, said:

cc 1.4 will work if cc 1.3 did work
uh,what did u mean?

#90 Xfel

    Peripheral Designer

  • Members
  • 515 posts

Posted 20 August 2012 - 04:45 PM

You say that this should be updated to cc 1.4. I say that it's not necessairy, as the api is backward-compatible.

#91 ETHANATOR360

  • Members
  • 423 posts
  • Locationyour hardrive

Posted 24 August 2012 - 11:41 PM

View PostFuzzyPurp, on 18 August 2012 - 12:14 AM, said:

I made Sphax support for this addon
http://www.mediafire...9o51v9d889ib46t

image above
nice work i love your texture i wish i was artistic like you
and great addon i use it to print receipts in my store

#92 ETHANATOR360

  • Members
  • 423 posts
  • Locationyour hardrive

Posted 28 August 2012 - 10:13 PM

found a strange bug this happend while shift clicking to get the printed paper out of the printer
Spoiler


#93 immibis

    Lua God

  • Members
  • 1,033 posts
  • LocationWellington, New Zealand

Posted 01 September 2012 - 02:59 AM

Shift-clicking on dyes in SSP crashed the client with a stack overflow. You need to override Container.transferStackInSlot.

Edit: Also, printers stop attached computers from shutting down or rebooting:
ComputerCraft: Error running task.
java.lang.RuntimeException: You didn't mount this location
        at dan200.computer.core.Computer$PeripheralWrapper.unmount(Computer.java:259)
        at TileEntityPrinter.detach(TileEntityPrinter.java:504)
        at dan200.computer.core.Computer$PeripheralWrapper.detach(Computer.java:119)
        at dan200.computer.core.Computer$63.execute(Computer.java:2080)
        at dan200.computer.core.ComputerThread$1$1.run(ComputerThread.java:68)
        at java.lang.Thread.run(Unknown Source)


#94 FuzzyPurp

    Part-Time Ninja

  • Members
  • 510 posts
  • LocationHarlem, NY

Posted 01 September 2012 - 05:38 AM

View Postimmibis, on 01 September 2012 - 02:59 AM, said:

Edit: Also, printers stop attached computers from shutting down or rebooting:
ComputerCraft: Error running task.
java.lang.RuntimeException: You didn't mount this location
		at dan200.computer.core.Computer$PeripheralWrapper.unmount(Computer.java:259)
		at TileEntityPrinter.detach(TileEntityPrinter.java:504)
		at dan200.computer.core.Computer$PeripheralWrapper.detach(Computer.java:119)
		at dan200.computer.core.Computer$63.execute(Computer.java:2080)
		at dan200.computer.core.ComputerThread$1$1.run(ComputerThread.java:68)
		at java.lang.Thread.run(Unknown Source)

Same bug with ccPortable. IS this a CC bug or the makers of both peripherals doing something wrong? I'm guessing the latter.

#95 Xfel

    Peripheral Designer

  • Members
  • 515 posts

Posted 01 September 2012 - 11:32 AM

Did you attach multiple peripherals of the same type? If you did, than that's the problem. Likely your api mount code looks like
public void attach(...){
  computer.mountStaticFile("/rom/apis/myapi","path/to/myapi");
}
public void detach(...){
  computer.unmount("/rom/apis/myapi");
}

Problem is, when a second peripheral tries to mount the same api, the file is mounted again to "/rom/apis/myapi2". This is returned by the mount method, and this is the location you had to unmount. (That's how you get a disk and a disk2 folder)

#96 immibis

    Lua God

  • Members
  • 1,033 posts
  • LocationWellington, New Zealand

Posted 01 September 2012 - 02:40 PM

The first time I tried it I had one printer and one scanner attached. The second time I had just one printer.

#97 PoLoMoTo

  • New Members
  • 21 posts

Posted 03 September 2012 - 01:15 AM

I get a nullPointException error when I start MC with this mod, suggestions?

#98 immibis

    Lua God

  • Members
  • 1,033 posts
  • LocationWellington, New Zealand

Posted 03 September 2012 - 08:08 AM

View PostPoLoMoTo, on 03 September 2012 - 01:15 AM, said:

I get a nullPointException error when I start MC with this mod, suggestions?
What's the exact error you get?

#99 PoLoMoTo

  • New Members
  • 21 posts

Posted 03 September 2012 - 01:39 PM

View Postimmibis, on 03 September 2012 - 08:08 AM, said:

View PostPoLoMoTo, on 03 September 2012 - 01:15 AM, said:

I get a nullPointException error when I start MC with this mod, suggestions?
What's the exact error you get?

Sorry probably should've included that,

java.lang.NullPointerException
at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:356)
at cpw.mods.fml.common.Loader.modInit(Loader.java:273)
at cpw.mods.fml.common.Loader.initializeMods(Loader.java:628)
at cpw.mods.fml.client.FMLClientHandler.onLoadComplete(FMLClientHandler.java:223)
at net.minecraft.client.Minecraft.a(Minecraft.java:429)
at net.minecraft.client.Minecraft.run(Minecraft.java:738)
at java.lang.Thread.run(Unknown Source)


#100 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 03 September 2012 - 04:56 PM

ForgeModLoader log please.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users