This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Russoul's profile picture

Tile Duplicative Information

Started by Russoul, 28 August 2013 - 04:48 AM
Russoul #1
Posted 28 August 2013 - 06: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.dropboxusercontent.com/u/90281575/Rs%20mod.zip(you will need a lot of external mods :

required-after:powersuits;required-after:complexmachines;required-after:Mekanism;after:PowersuitAddons;required-after:ComputerCraft;required-after:OpenPeripheral"
To launch mod drop this - https://dl.dropboxusercontent.com/u/90281575/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 ?
Xfel #2
Posted 29 August 2013 - 04: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.
Russoul #3
Posted 30 August 2013 - 02:24 PM
Thanks got it. SOLVED