Jump to content




[MC 1.7.10 | CC 1.65] OpenCCSensors

lua

  • You cannot reply to this topic
1334 replies to this topic

#641 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 03 February 2013 - 12:46 PM

View PostMrGraphic, on 03 February 2013 - 12:21 PM, said:

Hello Mikeemoo.
Just stop to report that we noticed huge fps drop with gauages placed on mfsus.
Normally it is around 100 fps after placing two of them fps drops to around 14-19 in area nearby.
We are using last version on server with forge .516 and ic2 .212.
Thanks

Thanks for letting me know! I'll try optimise them ready for the next version :)

Sorry if it's causing issues on your server!

#642 MrGraphic

  • Members
  • 7 posts

Posted 03 February 2013 - 12:54 PM

No problem. Will be waiting for fix for this cool little devices :D
Thanks

#643 loki2001

  • Members
  • 9 posts

Posted 03 February 2013 - 03:00 PM

any chance you'll update this mod for mc 1.4.7? if not then i'll roll back to 1.4.6 for my client and server. i don't mind losing the modular power armor if we can use these sensors :)

#644 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 03 February 2013 - 03:15 PM

Mods for 1.4.6 work on 1.4.7...

#645 sirolf2009

  • New Members
  • 1 posts

Posted 03 February 2013 - 11:57 PM

i'm having problem with getTargets(), it seems to return a number rather than a table. here's the snippet i use
os.loadAPI("ocs/apis/sensor")

local prox = peripheral.wrap("top")
local targets = prox.getTargets()
for name, details in pairs(targets) do
  print("entity" .. name)
end
and my error:
harvest:5: bad arguments #1 to pairs (table expected, got number) 


#646 loki2001

  • Members
  • 9 posts

Posted 04 February 2013 - 12:50 AM

Ok cheers cloudy, i wasnt too sure. It keeps crashing the client whether its tekkit lite or a custom mod pack

#647 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 04 February 2013 - 12:40 PM

View Postsirolf2009, on 03 February 2013 - 11:57 PM, said:

i'm having problem with getTargets(), it seems to return a number rather than a table. here's the snippet i use
os.loadAPI("ocs/apis/sensor")

local prox = peripheral.wrap("top")
local targets = prox.getTargets()
for name, details in pairs(targets) do
  print("entity" .. name)
end
and my error:
harvest:5: bad arguments #1 to pairs (table expected, got number) 

You're calling peripheral.wrap(), you should be calling sensor.wrap()

View Postloki2001, on 04 February 2013 - 12:50 AM, said:

Ok cheers cloudy, i wasnt too sure. It keeps crashing the client whether its tekkit lite or a custom mod pack

What keeps crashing the server? OCS? Please supply an error log and we'll be able to look into it for you.

#648 loki2001

  • Members
  • 9 posts

Posted 04 February 2013 - 01:31 PM

Shall do first thing in the morning

#649 loki2001

  • Members
  • 9 posts

Posted 04 February 2013 - 07:05 PM

OK that's weird...after I dropped thaumcraft 3 into the mods folder openccsensors stopped crashing the client. However I did kinda move openccsensors into coremods instead. No problems thus far *confused*

#650 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 05 February 2013 - 12:58 AM

View Postloki2001, on 04 February 2013 - 07:05 PM, said:

OK that's weird...after I dropped thaumcraft 3 into the mods folder openccsensors stopped crashing the client. However I did kinda move openccsensors into coremods instead. No problems thus far *confused*

Hmm - OCS really shouldnt crash if thaumcraft isnt available..
I'll take a look into it.

#651 loki2001

  • Members
  • 9 posts

Posted 05 February 2013 - 06:19 AM

i've double checked the mods and coremods folder, openccsensors isn't in there yet its in the game :S

edit: no they're not, i mistook sensor tokens from IC2. i'll try adding again and seeing if theres the same error

here you go:
Spoiler


#652 Tiin57

    Java Lunatic

  • Members
  • 1,412 posts
  • LocationIndiana, United States

Posted 05 February 2013 - 08:35 AM

It's an id conflict (id 4095) with Mystcraft, as anyone who can read could tell you. Seriously, what is this thing with people not reading one line of the error? :/

#653 Cranium

    Ninja Scripter

  • Moderators
  • 4,031 posts
  • LocationLincoln, Nebraska

Posted 05 February 2013 - 08:40 AM

View Posttiin57, on 05 February 2013 - 08:35 AM, said:

It's an id conflict (id 4095) with Mystcraft, as anyone who can read could tell you. Seriously, what is this thing with people not reading one line of the error? :/
Indeed. It says so right here:

Quote

java.lang.IllegalArgumentException: Slot 4095 is already occupied by [email protected] when adding [email protected]


#654 loki2001

  • Members
  • 9 posts

Posted 05 February 2013 - 09:01 AM

Gotcha. I kinda switched off halfway down the page, sorry...
I'll remove mystcraft, we don't even use it on the server anyways

#655 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 05 February 2013 - 09:19 AM

View Postloki2001, on 05 February 2013 - 09:01 AM, said:

Gotcha. I kinda switched off halfway down the page, sorry...
I'll remove mystcraft, we don't even use it on the server anyways

No need to remove it! Ids can be configured in the config files in /config/

#656 loki2001

  • Members
  • 9 posts

Posted 05 February 2013 - 12:38 PM

View PostMikeemoo, on 05 February 2013 - 09:19 AM, said:

View Postloki2001, on 05 February 2013 - 09:01 AM, said:

Gotcha. I kinda switched off halfway down the page, sorry...
I'll remove mystcraft, we don't even use it on the server anyways

No need to remove it! Ids can be configured in the config files in /config/

It's cool, I didn't remove it. Removed thaumcraft then changed the ids. Thaumcraft kept breaking the server, and sensors on my primary relay is more important lol

#657 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 07 February 2013 - 12:24 AM

It'd be nice if we could get a few translations in there for the next release.

If anyone can translate some stuff for us, that'd be really handy. Any languages you know..


openccsensors.tile.sensorblock.name=Sensor Peripheral
openccsensors.tile.gaugeblock.name=Gauge

openccsensors.item.inventorysensor.name=Inventory Sensor Card
openccsensors.item.proximitysensor.name=Proximity Sensor Card
openccsensors.item.industrialcraftsensor.name=IndustrialCraft 2 Sensor Card
openccsensors.item.buildcraftsensor.name=BuildCraft Sensor Card
openccsensors.item.tanksensor.name=Tank Sensor Card
openccsensors.item.worldsensor.name=World Sensor Card
openccsensors.item.droppeditemsensor.name=Dropped Item Sensor Card
openccsensors.item.thaumcraftsensor.name=Thaumcraft Sensor Card
openccsensors.item.signsensor.name=Sign Sensor Card
openccsensors.item.minecartsensor.name=Minecart Sensor Card
openccsensors.item.sonicsensor.name=Sonic Sensor Card
openccsensors.item.devsensor.name=Dev Sensor Card

openccsensors.item.rangeextensionantenna.name=Range Extension Antenna
openccsensors.item.signalamplifier.name=Signal Amplifier
openccsensors.item.advancedamplifier.name=Advanced Amplifier

openccsensors.item.extension_antenna.name=Sensor Extension Antenna
openccsensors.item.signal_amplifier.name=Sensor Signal Amplifier
openccsensors.item.advanced_amplifier.name=Advanced Sensor Amplifier

openccsensors.gui.sensor=Sensor
openccsensors.upgrade.adjective=Sensor


#658 thiele

  • Members
  • 6 posts

Posted 07 February 2013 - 12:54 AM

Why do you want translations? Isnt everyone using the english Version in MC?

anyway here's my quick german translation:

openccsensors.tile.sensorblock.name=Sensorstation
openccsensors.tile.gaugeblock.name=Messgerät

openccsensors.item.inventorysensor.name=Sensor Inventarkarte
openccsensors.item.proximitysensor.name=Sensor Umgebungskarte
openccsensors.item.industrialcraftsensor.name=Sensor IndustrialCraft 2-Karte
openccsensors.item.buildcraftsensor.name=Sensor BuildCraft-Karte
openccsensors.item.tanksensor.name=Sensor Tankkarte
openccsensors.item.worldsensor.name=Sensor Weltkarte
openccsensors.item.droppeditemsensor.name=Sensor DroppedItem-Karte
openccsensors.item.thaumcraftsensor.name=Sensor Thaumcraft-Karte
openccsensors.item.signsensor.name=Sensor Schildkarte
openccsensors.item.minecartsensor.name=Sensor Minecart-Karte
openccsensors.item.sonicsensor.name=Sensor Schallkarte
openccsensors.item.devsensor.name=Sensor Dev-Karte

openccsensors.item.rangeextensionantenna.name=Bereichserweiterungsantenne
openccsensors.item.signalamplifier.name=Signalverstärker
openccsensors.item.advancedamplifier.name=Erweiterter Verstärker

openccsensors.item.extension_antenna.name=Sensorerweiterungsantenne
openccsensors.item.signal_amplifier.name=Sensorsignalverstärker
openccsensors.item.advanced_amplifier.name=Erweiterter Sensorverstärker

openccsensors.gui.sensor=Sensor
openccsensors.upgrade.adjective=Sensor


#659 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 07 February 2013 - 01:07 AM

Thanks! :)

I'm not sure how many people use the different language settings - I see quite a few videos on youtube where people have changed their settings (however, it's mostly vanilla players)

#660 Fledo

  • Members
  • 3 posts

Posted 07 February 2013 - 07:19 AM

A somewhat comprehensible swedish translation. Feel free to improve it anyone. :)

openccsensors.tile.sensorblock.name=Sensorenhet
openccsensors.tile.gaugeblock.name=Mätare

openccsensors.item.inventorysensor.name=Innehållskort
openccsensors.item.proximitysensor.name=Omgivningskort
openccsensors.item.industrialcraftsensor.name=IndustrialCraft 2-kort
openccsensors.item.buildcraftsensor.name=BuildCraft-kort
openccsensors.item.tanksensor.name=Tankkort
openccsensors.item.worldsensor.name=Världskort
openccsensors.item.droppeditemsensor.name=Utkastade-sakerkort
openccsensors.item.thaumcraftsensor.name=Thaumcraft-kort
openccsensors.item.signsensor.name=Skyltkort
openccsensors.item.minecartsensor.name=Gruvvagnskort
openccsensors.item.sonicsensor.name=Ljudkort
openccsensors.item.devsensor.name=Utvecklingskort

openccsensors.item.rangeextensionantenna.name=Räckviddförlängningsantenn
openccsensors.item.signalamplifier.name=Signalförstärkare
openccsensors.item.advancedamplifier.name=Avancerad förstärkare

openccsensors.item.extension_antenna.name=Sensorförlängsningsantenn
openccsensors.item.signal_amplifier.name=Sensorsignalförstärkare
openccsensors.item.advanced_amplifier.name=Avancerad sensorförstärkare

openccsensors.gui.sensor=Sensor
openccsensors.upgrade.adjective=Sensor






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users