Jump to content

[1.6.2] Redstone Code being buggy?


sci4me

Recommended Posts

Hey guys! I am adding basic logic gates to my mod and I have them working, but they're buggy as crap. There may be other bugs besides this one, but I have noticed that if I place something like this:

 

(topdown view)

AIR, REDSTONE, GATE

AIR, GATE, AIR

 

The redstone in front and the gates all get screwed up and do things they shouldnt... I am working on this but I REALLY need some help wtih this.. I cant figure out whats causing this. I know that my code is a bit overcomplicated right now and I intend to fix it, but I don't think thats whats causing this... The gates do work.. but when you do things like what I showed above, they break. Here is the source:

https://github.com/sci4me/InstaRedstone

 

If anyone can help, PLEASE reply asap! I really need to fix these bugs! Thanks!

 

Edit: it seems that the code that is detecting whether an input is on or not is returning true and false flipping back and forth even though im only running it on the server... ideas?

 

So, i only set my blocks metadata when its placed, so HOW THE HELL is it changing?!?!? dafuq?

Link to comment
Share on other sites

Okay guys, so I have everything working BUT, my output wire .. well.. i have to manually cause a block update on it to get it to update and ive tried just about every single update method i could find but nothing is working... ideas?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.