Jump to content




== WiRe == (Redstone Master Control for your base)

lua wireless utility

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

#101 Sniper_killshot

  • Members
  • 12 posts
  • LocationThe Internet Hub, Oslo, Norway

Posted 09 April 2017 - 03:37 AM

Hey dog, me again,

When trying to setup the server, I get a index nil value error on line 143, and that line is the bit operations for AES encryption, specifically the not operator. Im on version 2.0

Sk

#102 Dog

  • Members
  • 1,179 posts
  • LocationEarth orbit

Posted 09 April 2017 - 04:08 AM

What version of CC and MC are you using?

#103 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 10 April 2017 - 12:33 AM

Less a version issue and more a mod configuration issue; there's a debug setting which disables as much Lua 5.1 functionality as it can. There's no good reason to use it on a regular basis (or in most cases, at all), but for who knows what reason, one of the Tekkit modpacks has it set by default.

Take a look in ComputerCraft.cfg.

#104 Dog

  • Members
  • 1,179 posts
  • LocationEarth orbit

Posted 10 April 2017 - 12:39 AM

That wouldn't have occurred to me - thank you, BB!

#105 Sniper_killshot

  • Members
  • 12 posts
  • LocationThe Internet Hub, Oslo, Norway

Posted 11 April 2017 - 04:34 AM

This hopefully fixed it, and thanks for that insight BB, nice to see a fellow Australian proving their worth to some American that think we are nothing.




Don't mind my rambling, thanks for the insight

#106 OfficialFlareon

  • New Members
  • 2 posts

Posted 26 April 2017 - 10:29 PM

Hey Dog,
I get an error after I complete the setup process for the server computer. You can see the screenshot I have attatched. I'm running ComputerCraft 1.75 on an Advanced Computer with a modem on top. The client program is working completely fine but I just need the server program to work.

Thanks

Edited by OfficialFlareon, 27 April 2017 - 10:28 PM.


#107 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 27 April 2017 - 12:30 AM

View PostOfficialFlareon, on 26 April 2017 - 10:29 PM, said:

You can see the screenshot I have attatched.

Nope.

#108 Dog

  • Members
  • 1,179 posts
  • LocationEarth orbit

Posted 27 April 2017 - 01:58 AM

Hey OfficialFlareon - Welcome to the CC forums. As Bomb Bloke noted, there is no screenshot. What is the error you receive after going through server setup?

#109 OfficialFlareon

  • New Members
  • 2 posts

Posted 27 April 2017 - 10:28 PM

Sorry about that lol, I forgot to upload the picture.

https://imgur.com/a/R7uLz

#110 Dog

  • Members
  • 1,179 posts
  • LocationEarth orbit

Posted 28 April 2017 - 12:29 AM

Guh, that error is due to a typo - my fault. I've fixed the error and re-uploaded the server. Please re-download the server and you shouldn't run into that problem again. And if you run into any other issues, please let me know.

#111 Squatch_

  • New Members
  • 2 posts

Posted 20 December 2017 - 07:52 AM

Hey Dog,

I noticed the last change log talked about replacing the "mysteriously disappearing buttons" but, thats exactly what is wrong with 2 of my 4 networks. (Yes I need four, i'm a mad man.)

I want there to be 6 buttons but after a short delay 4 of the buttons are turned off at random, (same happens on the other network, all but 2 buttons are removed.) the computers are on, no errors in the computers that I have noted.
As far as I understand the server isn't sending a command through correctly or something as when I go to the local buttons and toggle the doors open / closed they reappear on the server monitor, to then shortly disappear.
The full network is comprised of 4 Standard and 2 Advanced Computers (Not including the server which is also advanced) as I don't need buttons at all the doors.
Yesterday, I updated and redownloaded wire on all my computers throughout the base and the issue persists.

FYI, Its a multiplayer server
Things I have tried:
1. Reinstalling on a new Computer
2. Rebooting All machines on the network (and reinstalling.)
3. Changing Network Colours (Did this alongside the mass reinstall)

I have made a imgur collection which may aid in explaining the situation, its brief and I can add anything you may need extra.
https://imgur.com/a/mAVuL
I believe that just about sums up everything.

Thanks,
Squatch_

P.S You WiRe program is the best thing in terms of "mad man redstoning" (as it has been described by my server mates) and this is the first major inconvenience I have encountered.

#112 Dog

  • Members
  • 1,179 posts
  • LocationEarth orbit

Posted 20 December 2017 - 04:35 PM

Hey Squatch_!

Welcome to the CC forums :)/>/> I'm sorry to hear you're having issues with WiRE, but thank you for such a complete report with screenshots - that helps a LOT.

First, let me say you are definitely a madman - and that's a good thing...it's a big part of the reason I wrote WiRe, just for these sorts of mad projects.

FWIW, I recently uploaded a change that I didn't document that *should* have improved the drop-off issue. Judging by the screenshots it appears you have the latest copy so I may have more work to do. I've been testing with a network of 20 and another of 2 and it's been stable for me, but it's being testing in SP - I have a feeling the additional latency of MP is causing some problems.

If you aren't worried about computers being maliciously removed from your network, I recommend you leave your hack in place - everything should work just fine - that's all the removal count is really there for anyway. Another thing you could try is upping the quietCount slowly to 3 then 4, etc. until the buttons no longer drop off - but again, only worry about that if you feel your computers are at risk of tampering.

Ultimately I will probably end up removing that bit of code since it's causing so many problems. Until then, leave your hack in place - when I get around to removing that code (probably by this w/e) I'll update the OP and PM you to let you know when it's ready so you can download at your leisure.


EDIT: I had some time and eliminated the data polling in the server - this means clients won't drop off the list unless they are gracefully exited at the client machine (by pressing 'q').

EDIT2: Squatch_ - since your account is new, I can't PM you - my bad, I should have known that. The latest version will fix the client drop problem - you should only need to grab the server as there are no significant changes to the client.

Edited by Dog, 20 December 2017 - 08:51 PM.


#113 Squatch_

  • New Members
  • 2 posts

Posted 21 December 2017 - 05:45 AM

Hey Dog,

Thanks for the response (made me laugh a little.)
Ill update soonish to the latest server.

I wish to a bit more active on here and with such a friendly community ill be able to settle in :D

Thanks for your work and keep up that great program.
Squatch_

#114 noah6644

  • New Members
  • 1 posts

Posted 11 January 2018 - 09:33 PM

My Server doesn't find any client. I tried different Network colors and tried multiple times to re-setup the system but nothing works unfortunately.
The server says:
Last State: Noise
Success: false

The client says:
Success: true

Im using the latest Tekkit legends modpack on technic platform and on a tekkie legends server

#115 Dog

  • Members
  • 1,179 posts
  • LocationEarth orbit

Posted 12 January 2018 - 02:11 AM

Hi, noah6644! Welcome to the CC forums :)

Unfortunately, as stated in the OP, WiRe is not compatible with Tekkit Legends because it uses ComputerCraft 1.74. The only MP fix is to update the install of ComputerCraft on both the server and all the clients. The only SP fix is to update the install of CC on the client. The combined CC/CCEdu 1.74 package must be replaced with separate CC 1.75 and CCEdu 1.74 packages - in testing this is the only fix that has worked.

I wish I had another answer for you, but Tekkit Legends uses a version of CC that has a bug I don't know how to write around. Please accept my apologies - if I ever figure out how to write around that bug I'll update WiRe accordingly.

#116 EveryOS

  • Members
  • 570 posts
  • LocationOver there ->

Posted 12 January 2018 - 12:20 PM

View PostDog, on 21 May 2014 - 12:20 AM, said:

Please note: WiRe is NOT compatible with ComputerCraft 1.74 or ComputerCraftEdu 1.74 or the combined CC/CCEdu 1.74 jar. This includes modpacks that use these versions [e.g. Tekkit Legends]
What about CC 1.75?

Edit: Just saw your last comment.

Edited by EveryOS, 12 January 2018 - 12:21 PM.


#117 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 13 January 2018 - 12:55 AM

Hrm. Does WiRE rely on colours.subtract at all, or any commands in the bit API? Pretty sure that's broken in CC1.74, and requires workarounds for that one build.

#118 Dog

  • Members
  • 1,179 posts
  • LocationEarth orbit

Posted 13 January 2018 - 01:34 AM

View PostBomb Bloke, on 13 January 2018 - 12:55 AM, said:

Hrm. Does WiRE rely on colours.subtract at all, or any commands in the bit API? Pretty sure that's broken in CC1.74, and requires workarounds for that one build.

Yes - I'm using SquidDev's AES implementation which relies on the bit API. Time permitting, I'll sit down this weekend and look into workarounds.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users