Jump to content

Tile Duplicative Information

java api peripheral

2 replies to this topic

#1 Russoul

  • Members
  • 14 posts

Posted 28 August 2013 - 05:48 AM

My goal is to coordinates free get a ComputerCraft pc via a peripheral that is connected to a player via username of a player .
my Peripheral - http://pastebin.com/W66mqwrE
my Tick handler - http://pastebin.com/43YfR7NZ
my mod - https://dl.dropboxus...s%20mod.zip(you will need a lot of external mods :

To launch mod drop this - https://dl.dropboxus...ToolModel.class to Powersuits jar/net/machinemuse/powersuits/client/render/item

all works fine BUT if i have 2 or more of these peripherals ComputerCraft event goes only to the first pc(that was activated before athers)
Any help ?

#2 Xfel

    Peripheral Designer

  • Members
  • 515 posts

Posted 29 August 2013 - 03:38 AM

you are using a static variable. it can only contain one value in the whole jvm.to solve this you will have to rewrite that completely.

#3 Russoul

  • Members
  • 14 posts

Posted 30 August 2013 - 01:24 PM

Thanks got it. SOLVED

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users