OpenMods / OpenPeripheral

https://openmods.info
MIT License
67 stars 25 forks source link

All peripherals identified as "openperipheral_ticketmachine" #208

Closed willwac closed 9 years ago

willwac commented 9 years ago

In the latest build for MC 1.7.10, all Open Peripheral peripherals are seen as "openperipheral_ticketmachine" when using peripheral.getType(side)

This does not apply to other peripherals.

boq commented 9 years ago

Can't reproduce. Also, what do you mean by latest build? Exact snapshot number of all involved mods (OpenPeripheralCore, OpenPeripheralAddons, OpenPeripheralIntegration) would be nice...

yenon commented 9 years ago

I can reproduce that, my versions are: ComputerCraft 1.65 OpenModsLib-1.7.10-0.6-snapshot-268 OpenPeripheralAddons-1.7.10-0.2.0-snapshot-139 OpenPeripheralCore-1.7.10-0.5.0-snapshot-172 OpenPeripheralIntegration-1.7.10-0.1.0-snapshot-17

boq commented 9 years ago

And I still can't reproduce it with exact versions and with or without Railcraft. I'm starting to think it's very weird interaction with some coremod.

If you can, please add -Dlegacy.debugClassLoading=true -Dlegacy.debugClassLoadingSave=true to JVM args, try to reproduce it and then post archive of newly generated folder CLASSLOADER_TEMP (should be in same directory as mods and config). It may be quite big for large modpacks, though 7Z/LZMA usually works good for that.

yenon commented 9 years ago

I'm sorry, but my upload is too slow to upload this in a reasonable amount of time. But i can provide you with a link to the modpack we're using. http://www.technicpack.net/modpack/details/yenpack.520905

boq commented 9 years ago

Sorry, still nothing, even with this modpack. BTW, file ProjectRed-Mechanical_beta-1.7.10-4.5.1.51.jar is corrupted.

Ok, next try: please describe in detail how do you reproduce it. Is it possible in empty world? On different computers?. Also, update Java if it's not latest one.

yenon commented 9 years ago

It is possible in a new world. Place a Computer and for example a "Terminal Glasses Bridge" next to it.

then type (in the computer): lua peripheral.getType("")

that should print "openperipheral_ticketmachine".

boq commented 9 years ago

... ... ... <quiet, slow, through clenched teeth> Well, it looks like I made small mistake. Yes, I named glasses bridge a ticket machine. Simple copy-paste mistake.

Buuuuut, you are claiming that, I quote title,

All peripherals identified as "openperipheral_ticketmachine"

Well, have you tried ANYTHING ELSE than glasses bridge? Chest? Sensor? Tank? Furnace? Anything, but NOT terminal glasses?

Really, it's basic logic. Don't do just SINGLE test and then claim EVERYTHING is broken. It's like claiming all cars are green, because you just saw single, green one.

yenon commented 9 years ago

I'm sorry, but i noticed this mistake when i was using my automounting program. I didn't really test everything and i would like to apologize for that mistake. I'm a programmer myself, so i can feel your pain and i'm feeling very stupid now.

boq commented 9 years ago

Anyway, fixed in OpenPeripheralAddons